mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 21:21:57 +03:00
librsvg: fix thumbnailer path
librsvg hooks itself into gdk-pixbuf and then uses gdk-pixbuf-thumbnailer as the thumbnailer, extending its supported MIME type list. Unfortunately, librsvg assumes the thumbnailer will be located in the same bindir as librsvg binaries would, which is not true on Nix-powered systems. This commit corrects the bindir path of the thumbnailer to the gdk_pixbuf derivation.
This commit is contained in:
parent
9824ca6975
commit
dd200f8197
@ -47,6 +47,10 @@ stdenv.mkDerivation rec {
|
|||||||
-i gdk-pixbuf-loader/Makefile
|
-i gdk-pixbuf-loader/Makefile
|
||||||
sed -e "s#\$(GDK_PIXBUF_QUERYLOADERS)#GDK_PIXBUF_MODULEDIR=$GDK_PIXBUF/loaders \$(GDK_PIXBUF_QUERYLOADERS)#" \
|
sed -e "s#\$(GDK_PIXBUF_QUERYLOADERS)#GDK_PIXBUF_MODULEDIR=$GDK_PIXBUF/loaders \$(GDK_PIXBUF_QUERYLOADERS)#" \
|
||||||
-i gdk-pixbuf-loader/Makefile
|
-i gdk-pixbuf-loader/Makefile
|
||||||
|
|
||||||
|
# Fix thumbnailer path
|
||||||
|
sed -e "s#@bindir@\(/gdk-pixbuf-thumbnailer\)#${gdk_pixbuf}/bin\1#g" \
|
||||||
|
-i gdk-pixbuf-loader/librsvg.thumbnailer.in
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# Merge gdkpixbuf and librsvg loaders
|
# Merge gdkpixbuf and librsvg loaders
|
||||||
|
Loading…
Reference in New Issue
Block a user