mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 21:33:03 +03:00
gnome3.evince: 3.6 -> 3.11
This commit is contained in:
parent
523aa4338b
commit
6cada7f0c1
@ -1,17 +1,17 @@
|
|||||||
{ fetchurl, stdenv, pkgconfig, intltool, perl, perlXMLParser, libxml2
|
{ fetchurl, stdenv, pkgconfig, intltool, perl, perlXMLParser, libxml2
|
||||||
, glib, gtk3, pango, atk, gdk_pixbuf, shared_mime_info
|
, glib, gtk3, pango, atk, gdk_pixbuf, shared_mime_info
|
||||||
, itstool, gnome_icon_theme, libgnome_keyring, gsettings_desktop_schemas
|
, itstool, gnome_icon_theme, libgnome_keyring, gsettings_desktop_schemas
|
||||||
, poppler, ghostscriptX, djvulibre, libspectre
|
, poppler, ghostscriptX, djvulibre, libspectre, libsecret
|
||||||
, makeWrapper #, python /*just for tests*/
|
, makeWrapper #, python /*just for tests*/
|
||||||
, recentListSize ? null # 5 is not enough, allow passing a different number
|
, recentListSize ? null # 5 is not enough, allow passing a different number
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "evince-3.6.1";
|
name = "evince-3.11.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/evince/3.6/${name}.tar.xz";
|
url = "mirror://gnome/sources/evince/3.11/${name}.tar.xz";
|
||||||
sha256 = "1da1pij030dh8mb0pr0jnyszgsbjnh8lc17rj5ii52j3kmbv51qv";
|
sha256 = "0qflxvvvqn1khyk93isjhp6v719pvmn3vpfxnrsh63f1a6h0j5r8";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
@ -19,9 +19,10 @@ stdenv.mkDerivation rec {
|
|||||||
glib gtk3 pango atk gdk_pixbuf
|
glib gtk3 pango atk gdk_pixbuf
|
||||||
itstool gnome_icon_theme libgnome_keyring gsettings_desktop_schemas
|
itstool gnome_icon_theme libgnome_keyring gsettings_desktop_schemas
|
||||||
poppler ghostscriptX djvulibre libspectre
|
poppler ghostscriptX djvulibre libspectre
|
||||||
makeWrapper
|
makeWrapper libsecret
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
preFixup = "rm $out/share/icons/hicolor/icon-theme.cache";
|
preFixup = "rm $out/share/icons/hicolor/icon-theme.cache";
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
@ -45,7 +46,7 @@ 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" \
|
||||||
--prefix XDG_DATA_DIRS : "${shared_mime_info}/share:$out/share"
|
--prefix XDG_DATA_DIRS : "${shared_mime_info}/share:$out/share"
|
||||||
'' + gsettings_desktop_schemas.doCompileSchemas;
|
'';
|
||||||
doCheck = false; # would need pythonPackages.dogTail, which is missing
|
doCheck = false; # would need pythonPackages.dogTail, which is missing
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
Loading…
Reference in New Issue
Block a user