Have configure.py modify internal variables depending on the --qml-plugindir configure option. diff -u PyQt-gpl-5.4.alt/configure.py PyQt-gpl-5.4/configure.py --- PyQt-gpl-5.4.alt/configure.py 2015-01-25 17:27:50.000000000 +0100 +++ PyQt-gpl-5.4/configure.py 2015-01-25 17:56:41.000000000 +0100 @@ -904,6 +904,9 @@ if opts.pyuicinterpreter is not None: self.pyuic_interpreter = opts.pyuicinterpreter + if opts.qmlplugindir is not None: + self.qml_plugin_dir = opts.qmlplugindir + if opts.qsciapidir is not None: self.qsci_api_dir = opts.qsciapidir type='hidden' name='id' value='1ccc5cfc387d14fa3ebe864e16c0637994819b0f'/> Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/nix/libutil/hash.cc
AgeCommit message (Expand)Author
2020-06-27daemon: Recognize SHA3 and BLAKE2s....* nix/libutil/hash.hh (HashType): Add htSHA3_256, htSHA3_512, and htBLAKE2s_256. * nix/libutil/hash.cc (parseHashType, printHashType): Recognize them. * tests/store.scm ("add-to-store"): Test these algorithms. Ludovic Courtès
2020-06-27daemon: Remove OpenSSL hash compatibility wrappers....* nix/libutil/hash.cc (struct Ctx): Copy from gcrypt-hash.hh. (start, update, finish): Use gcrypt functions directly instead of OpenSSL-like wrappers. * nix/libutil/gcrypt-hash.cc, nix/libutil/gcrypt-hash.hh, nix/libutil/md5.h, nix/libutil/sha1.h, nix/libutil/sha256.h, nix/libutil/sha512.h: Remove. * nix/local.mk (libutil_a_SOURCES, libutil_headers): Adjust accordingly. Ludovic Courtès
2020-06-27daemon: Map directly to gcrypt hash functions....* nix/libutil/hash.hh (HashType): Map directly to GCRY_MD_ values. (md5HashSize, sha1HashSize, sha256HashSize, sha512HashSize): Remove. * nix/libutil/hash.cc (Hash::Hash): Use 'gcry_md_get_algo_dlen'. Ludovic Courtès