nixpkgs-suyu/pkgs/development
Jan Tojnar e468c04383
gobjectIntrospection: fix incorrect GIR shared library paths
When a library path contained the library name it was eagerly matched

    libfwupd.so.2 => /build/fwupd-1.0.5/build/libfwupd/libfwupd.so.2 (0x00007ffff7bbd000)
                                              ^^^^^^^^^^^^^^^^^^^^^^
    libgweather-3.so.15 => /build/libgweather-3.28.0/build/libgweather/libgweather-3.so.15 (0x00007ffff7bae000)
                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

which lead to a broken shared library path in the generated GIR file.

This patch allows the soname on the left-hand side of the arrow to
be matched to avoid the trap of the right-hand side. A negative
lookahead had to be added to select the store path, since only
the first match is taken into account.

    libglib-2.0.so.0 => /nix/store/dqlc8y4phlg1hmdbwkhqfwhnxcac88d1-glib-2.56.0/lib/libglib-2.0.so.0 (0x00007ffff6400000)

This will not fix non-GNU platforms, where the soname is not printed
first, but we cannot do much without structured ldd output.

Closes: https://github.com/NixOS/nixpkgs/issues/34988
2018-03-22 07:46:00 +01:00
..
arduino
beam-modules
bower-modules/generic
compilers edk2, OVMF: Build on aarch64 2018-03-21 23:19:26 +02:00
coq-modules coqPackages.contribs.containers: make available for Coq 8.7 2018-03-21 09:27:50 +01:00
dotnet-modules/patches
eclipse/ecj
em-modules/generic Emscripten 1.37.16 to 1.37.36 (#37291) 2018-03-18 13:34:46 +01:00
go-modules
guile-modules
haskell-modules Merge pull request #37509 from pikajude/darwin-hs-dynamic 2018-03-21 14:36:08 -07:00
idris-modules idrisPackages: add packages 2018-03-20 07:16:21 +01:00
interpreters Renpy and pygame_sdl2 update - 6.99.14 (#33943) 2018-03-21 21:26:29 -05:00
java-modules jogl: temporary workaround for openjdk8 2018-03-19 08:44:21 +00:00
libraries gobjectIntrospection: fix incorrect GIR shared library paths 2018-03-22 07:46:00 +01:00
lisp-modules
lua-modules
misc
mobile titaniumenv: fix renaming strategy 2018-03-21 16:08:56 +01:00
node-packages
ocaml-modules Merge pull request #37385 from coreyoconnor/google-drive-ocamlfuse-update 2018-03-20 00:17:43 +00:00
perl-modules
pharo
pure-modules
python-modules Renpy and pygame_sdl2 update - 6.99.14 (#33943) 2018-03-21 21:26:29 -05:00
qtcreator
r-modules R: fix evaluation errors 2018-03-15 21:14:29 +01:00
ruby-modules
stm32/betaflight
tools meson: set multiple output dirs in setup hook 2018-03-22 07:33:49 +01:00
web kore: fix clang build 2018-03-20 00:00:42 +01:00