# Names of libraries included in typelib files are opened by dlopen. Here we # add the full path. # # This patch was provided by Luca Bruno for # 'gobject-introspection' 1.40.0 in Nix. --- ./giscanner/utils.py.orig 2014-08-14 22:05:05.055334080 +0200 +++ ./giscanner/utils.py 2014-08-14 22:05:24.687497334 +0200 @@ -110,17 +110,11 @@ if dlname is None: return None - # Darwin uses absolute paths where possible; since the libtool files never - # contain absolute paths, use the libdir field - if platform.system() == 'Darwin': - dlbasename = os.path.basename(dlname) - libdir = _extract_libdir_field(la_file) - if libdir is None: - return dlbasename - return libdir + '/' + dlbasename - # From the comments in extract_libtool(), older libtools had - # a path rather than the raw dlname - return os.path.basename(dlname) + dlbasename = os.path.basename(dlname) + libdir = _extract_libdir_field(la_file) + if libdir is None: + return dlbasename + return libdir + '/' + dlbasename def extract_libtool(la_file): >refslogtreecommitdiff
path: root/build-aux/update-guix-package.scm
AgeCommit message (Expand)Author
2020-05-28update-guix-package: Use 'origin-hash'....* gnu/packages/package-management.scm (main): Use 'origin-hash' instead of 'origin-sha256'. Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr> Vincent Legoll
2018-12-07maint: update-guix-package: Really register GC roots....Previously we'd pass a relative file name to 'add-indirect-root', which the daemon would interpret as relative to "/". Consequently, checkouts were not protected from GC. * build-aux/update-guix-package.scm (main): Pass an absolute file name to 'add-indirect-root'. Ludovic Courtès
2017-05-09maint: update-guix-package: Protect the checkout from GC....* build-aux/update-guix-package.scm (main): Define 'root', and call 'add-indirect-root' to protect SOURCE from GC. Ludovic Courtès
2017-05-07maint: Add 'update-guix-package' target....* build-aux/update-guix-package.scm: New file. * Makefile.am (EXTRA_DIST): Add it. (update-guix-package): New target. (.PHONY): Add it. * gnu/packages/package-management.scm (guix): Mention it. Ludovic Courtès