Commit graph

8 commits

Author SHA1 Message Date
Matthew Bauer 6c5983a291 gdk-pixbuf: make target env hook
Unfortunately, we need to emulate the system to get a real cache.
Native version doesn’t know the right paths.
2020-04-06 16:36:22 -04:00
Jan Tojnar d4b4bcd416 gdk-pixbuf: fix setup hook
b78e84097f tried to make the script better but used the wrong test
syntax: [[ 113 > 99 ]] is false. This caused the librsvg not being added
to $GDK_PIXBUF_MODULE_FILE.

Fixes: https://github.com/NixOS/nixpkgs/pull/73586#issuecomment-560106317
2019-12-01 18:55:40 +01:00
John Ericson b78e84097f gdk-pixbuf setup hook: GDK_PIXBUF_MODULE_FILE might not be defined
Also switch to [[ ... ]] because it is more robust w.r.t. empty
arguments.
2019-11-08 13:24:20 -05:00
John Ericson 046f091e0d treewide: Don't use envHook anymore
This commits needs a MAJOR audit as I oftentimes just guessed which of
`$hostOffset`, `$targetOffset`, or a fixed offset should be used.
2017-12-30 22:04:22 -05:00
Luca Bruno 4982143324 gdkpixbuf: simplify setup hook, don't create per-package loaders.cache 2015-06-15 09:57:05 +02:00
Luca Bruno 421ce6439c gdk-pixbuf: check for empty $out in setup-hook.sh. Closes #2818 2014-07-02 20:16:55 +02:00
Luca Bruno 4a3508ad1a gdk-pixbuf: check for writable $out/.., closes #2115 2014-04-22 21:10:16 +02:00
Luca Bruno 53fbbe3262 gnome3: Setup hook for gdk-pixbuf and gnome-icon-theme
Add necessary paths to the environment so that
applications can find icons.
2014-02-28 01:40:21 +01:00