{"action":"created","issue":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/12558","repository_url":"https://api.github.com/repos/NixOS/nixpkgs","labels_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/12558/labels{/name}","comments_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/12558/comments","events_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/12558/events","html_url":"https://github.com/NixOS/nixpkgs/pull/12558","id":128256210,"number":12558,"title":"gobject-introspection: Use absolute shared library paths","user":{"login":"aszlig","id":192147,"avatar_url":"https://avatars.githubusercontent.com/u/192147?v=3","gravatar_id":"","url":"https://api.github.com/users/aszlig","html_url":"https://github.com/aszlig","followers_url":"https://api.github.com/users/aszlig/followers","following_url":"https://api.github.com/users/aszlig/following{/other_user}","gists_url":"https://api.github.com/users/aszlig/gists{/gist_id}","starred_url":"https://api.github.com/users/aszlig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aszlig/subscriptions","organizations_url":"https://api.github.com/users/aszlig/orgs","repos_url":"https://api.github.com/users/aszlig/repos","events_url":"https://api.github.com/users/aszlig/events{/privacy}","received_events_url":"https://api.github.com/users/aszlig/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/NixOS/nixpkgs/labels/0.kind:%20enhancement","name":"0.kind: enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/NixOS/nixpkgs/labels/6.topic:%20darwin","name":"6.topic: darwin","color":"fef2c0"},{"url":"https://api.github.com/repos/NixOS/nixpkgs/labels/6.topic:%20gnome3","name":"6.topic: gnome3","color":"fef2c0"},{"url":"https://api.github.com/repos/NixOS/nixpkgs/labels/9.needs:%20feedback","name":"9.needs: feedback","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2016-01-22T21:57:41Z","updated_at":"2016-02-07T14:50:01Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/NixOS/nixpkgs/pulls/12558","html_url":"https://github.com/NixOS/nixpkgs/pull/12558","diff_url":"https://github.com/NixOS/nixpkgs/pull/12558.diff","patch_url":"https://github.com/NixOS/nixpkgs/pull/12558.patch"},"body":"So far only `.la` files get correctly converted to absolute paths in the GIR file. However if there are `.so` files which depend on a particular library using GI, they still get only the basename of the `.so` file.\r\n\r\nThis improves on the existing `absolute_shlib_path.patch` not only figuring out the absolute path of `.so` files but also falling back on the absolute path of `$out/lib` (or `$lib/lib` with multiple outputs) of the current build.\r\n\r\nWith this, we should no longer need to resort to setting `LD_LIBRARY_PATH` for all programs that use GI libraries.\r\n\r\nI have only done very limited testing and I'm not using Gnome, nor do I use OS X, so I don't know whether this will cause problems on any of these environments.\r\n\r\nCc: @lethalman and anyone who can test on Darwin :-)"},"comment":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/comments/181026458","html_url":"https://github.com/NixOS/nixpkgs/pull/12558#issuecomment-181026458","issue_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/12558","id":181026458,"user":{"login":"lethalman","id":480920,"avatar_url":"https://avatars.githubusercontent.com/u/480920?v=3","gravatar_id":"","url":"https://api.github.com/users/lethalman","html_url":"https://github.com/lethalman","followers_url":"https://api.github.com/users/lethalman/followers","following_url":"https://api.github.com/users/lethalman/following{/other_user}","gists_url":"https://api.github.com/users/lethalman/gists{/gist_id}","starred_url":"https://api.github.com/users/lethalman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lethalman/subscriptions","organizations_url":"https://api.github.com/users/lethalman/orgs","repos_url":"https://api.github.com/users/lethalman/repos","events_url":"https://api.github.com/users/lethalman/events{/privacy}","received_events_url":"https://api.github.com/users/lethalman/received_events","type":"User","site_admin":false},"created_at":"2016-02-07T14:50:01Z","updated_at":"2016-02-07T14:50:01Z","body":"@aszlig as long as most gnome apps are able to open (like gnome-tweak-tool, music, photos, clocks), it's ok."}}