gobject-introspection: 1.60.0 -> 1.60.1

Updated the shlib patches:

- Upstream now forces basename in sanitize_shlib_path(lib) if the system isn't
  darwin. We patch the function to always prefer absolute paths
- Due to the above we no longer need the macos patch
- `sanitize_shlib_path` is applied after `resolve_from_ldd_output` so we need to
  apply `fallback_libpath` afterwards too (else we get stuff like
  `/nix/store/...@rpath/foo.dylib` on darwin)
- Note that the `fallback_path` no longer have any unit tests

https://gitlab.gnome.org/GNOME/gobject-introspection/blob/1.60.1/NEWS
This commit is contained in:
Tor Hedin Brønner
2019-04-27 07:09:47 +02:00
committed by Frederik Rietdijk
parent ee3729938d
commit d747f1602d
4 changed files with 43 additions and 79 deletions
@@ -9,7 +9,7 @@
let
pname = "gobject-introspection";
version = "1.60.0";
version = "1.60.1";
in
with stdenv.lib;
stdenv.mkDerivation rec {
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
sha256 = "0pgk9lcvz3i79m6g2ynlp00ghws7g0p0d5qyf0k72warrf841zly";
sha256 = "1cr4r3lh5alrks9q2ycs1kn2crnkhrhn2wrmibng6dndkr4x2i6q";
};
outputs = [ "out" "dev" "man" ];
@@ -40,7 +40,6 @@ stdenv.mkDerivation rec {
setupHook = ./setup-hook.sh;
patches = [
./macos-shared-library.patch
(substituteAll {
src = ./test_shlibs.patch;
inherit nixStoreDir;