Fix check for dmenu (open file mode, dependency on which). See . --- quickswitch-i3-2.2/quickswitch.py 2016-09-18 19:59:10.257765542 +0200 +++ quickswitch-i3-2.2/quickswitch.py 2016-09-21 10:43:01.277577819 +0200 @@ -24,9 +24,10 @@ import argparse import subprocess -import os import re +from distutils.spawn import find_executable + try: import i3 except ImportError: @@ -37,11 +38,8 @@ def check_dmenu(): '''Check if dmenu is available.''' - devnull = open(os.devnull) - retcode = subprocess.call(["which", "dmenu"], - stdout=devnull, - stderr=devnull) - return True if retcode == 0 else False + executable = find_executable("dmenu") + return executable != None def dmenu(options, dmenu): ue='koszko-scripts'>koszko-scripts Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/patches/vorbis-tools-CVE-2014-9640.patch
/th>
AgeCommit message (Expand)Author
2020-08-27gnu: vcflib: Use shared libraries....* gnu/packages/bioinformatics.scm (vcflib)[source]: Add patch. Add snippet to adjust files for new locations. [inputs]: Add fastahack, smithwaterman, tabixpp, xz. [native-inputs]: Add pkg-config. Remove the package-source of fastahack, fsom, smithwaterman, tabixpp. [arguments]: Remove make-flags. Add custom phase to add the output lib directory to the rpath. Adjust custom 'unpack-submodule-sources for the change in native-inputs. Adjust custom 'install phase to also install libraries and headers. * gnu/packages/patches/vcflib-use-shared-libraries.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it. Efraim Flashner