evince: fix crash with open-file dialog, maintain
The gtk3 schema dir was missing for that. I see no icons, as evince is searching for hicolor theme, and I fear that theme selection is user-configurable :-/
This commit is contained in:
parent
a2b8ede2c7
commit
b631cf1327
@ -44,8 +44,9 @@ stdenv.mkDerivation rec {
|
|||||||
# by `g_file_info_get_content_type ()'.
|
# by `g_file_info_get_content_type ()'.
|
||||||
wrapProgram "$out/bin/evince" \
|
wrapProgram "$out/bin/evince" \
|
||||||
--set GDK_PIXBUF_MODULE_FILE ${librsvg}/lib/gdk-pixbuf/loaders.cache \
|
--set GDK_PIXBUF_MODULE_FILE ${librsvg}/lib/gdk-pixbuf/loaders.cache \
|
||||||
--prefix XDG_DATA_DIRS : "${gnome3.gnome_icon_theme}/share:${gnome3.gsettings_desktop_schemas}/share:${shared_mime_info}/share:$out/share"
|
--prefix XDG_DATA_DIRS : "${gnome3.gnome_icon_theme}/share:${gnome3.gsettings_desktop_schemas}/share:${gtk3}/share:${shared_mime_info}/share:$out/share"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
doCheck = false; # would need pythonPackages.dogTail, which is missing
|
doCheck = false; # would need pythonPackages.dogTail, which is missing
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
@ -61,5 +62,6 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
license = "GPLv2+";
|
license = "GPLv2+";
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
|
maintainers = [ maintainers.vcunat ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user