gnome3.evince: 3.32.0 -> 3.34.0
This commit is contained in:
parent
7543b25e37
commit
04b726c032
@ -1,6 +1,5 @@
|
|||||||
{ fetchFromGitLab
|
{ stdenv
|
||||||
, stdenv
|
, fetchFromGitLab
|
||||||
, fetchpatch
|
|
||||||
, meson
|
, meson
|
||||||
, ninja
|
, ninja
|
||||||
, pkgconfig
|
, pkgconfig
|
||||||
@ -34,6 +33,9 @@
|
|||||||
, texlive
|
, texlive
|
||||||
, t1lib
|
, t1lib
|
||||||
, gst_all_1
|
, gst_all_1
|
||||||
|
, gtk-doc
|
||||||
|
, docbook-xsl-nons
|
||||||
|
, docbook_xml_dtd_43
|
||||||
, supportMultimedia ? true # PDF multimedia
|
, supportMultimedia ? true # PDF multimedia
|
||||||
, libgxps
|
, libgxps
|
||||||
, supportXPS ? true # Open XML Paper Specification via libgxps
|
, supportXPS ? true # Open XML Paper Specification via libgxps
|
||||||
@ -41,64 +43,62 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "evince";
|
pname = "evince";
|
||||||
version = "3.32.0";
|
version = "3.34.0";
|
||||||
|
|
||||||
|
outputs = [ "out" "dev" "devdoc" ];
|
||||||
|
|
||||||
|
# meson.build not distributed
|
||||||
|
# See: https://gitlab.gnome.org/GNOME/evince/issues/1270
|
||||||
src = fetchFromGitLab {
|
src = fetchFromGitLab {
|
||||||
domain = "gitlab.gnome.org";
|
domain = "gitlab.gnome.org";
|
||||||
owner = "GNOME";
|
owner = "GNOME";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "1klq8j70q8r8hyqv1wi6jcx8g76yh46bh8614y82zzggn4cx6y3r";
|
sha256 = "0kjylhlkadi89w3p9afzl69jpd9gryk21sm1g89a0y2pkwz181qr";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
patches = [
|
|
||||||
(fetchpatch {
|
|
||||||
name = "CVE-2019-11459.patch";
|
|
||||||
url = "https://gitlab.gnome.org/GNOME/evince/commit/3e38d5ad724a042eebadcba8c2d57b0f48b7a8c7.patch";
|
|
||||||
sha256 = "1ds6iwr2r9i86nwrly8cx7p1kbvf1gljjplcffa67znxqmwx4n74";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
chmod +x meson_post_install.py
|
chmod +x meson_post_install.py
|
||||||
patchShebangs meson_post_install.py
|
patchShebangs meson_post_install.py
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
appstream
|
||||||
|
docbook-xsl-nons
|
||||||
|
docbook_xml_dtd_43
|
||||||
|
gettext
|
||||||
|
gobject-introspection
|
||||||
|
gtk-doc
|
||||||
|
itstool
|
||||||
meson
|
meson
|
||||||
ninja
|
ninja
|
||||||
pkgconfig
|
pkgconfig
|
||||||
gobject-introspection
|
|
||||||
gettext
|
|
||||||
itstool
|
|
||||||
yelp-tools
|
|
||||||
appstream
|
|
||||||
wrapGAppsHook
|
|
||||||
python3
|
python3
|
||||||
|
wrapGAppsHook
|
||||||
|
yelp-tools
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
glib
|
|
||||||
gtk3
|
|
||||||
pango
|
|
||||||
atk
|
|
||||||
gdk-pixbuf
|
|
||||||
libxml2
|
|
||||||
gsettings-desktop-schemas
|
|
||||||
poppler
|
|
||||||
ghostscriptX
|
|
||||||
djvulibre
|
|
||||||
libspectre
|
|
||||||
libarchive
|
|
||||||
libsecret
|
|
||||||
librsvg
|
|
||||||
adwaita-icon-theme
|
adwaita-icon-theme
|
||||||
gspell
|
atk
|
||||||
gnome-desktop
|
|
||||||
dbus # only needed to find the service directory
|
dbus # only needed to find the service directory
|
||||||
texlive.bin.core # kpathsea for DVI support
|
djvulibre
|
||||||
|
gdk-pixbuf
|
||||||
|
ghostscriptX
|
||||||
|
glib
|
||||||
|
gnome-desktop
|
||||||
|
gsettings-desktop-schemas
|
||||||
|
gspell
|
||||||
|
gtk3
|
||||||
|
libarchive
|
||||||
|
librsvg
|
||||||
|
libsecret
|
||||||
|
libspectre
|
||||||
|
libxml2
|
||||||
|
pango
|
||||||
|
poppler
|
||||||
t1lib
|
t1lib
|
||||||
|
texlive.bin.core # kpathsea for DVI support
|
||||||
] ++ stdenv.lib.optional supportXPS libgxps
|
] ++ stdenv.lib.optional supportXPS libgxps
|
||||||
++ stdenv.lib.optionals supportMultimedia (with gst_all_1; [
|
++ stdenv.lib.optionals supportMultimedia (with gst_all_1; [
|
||||||
gstreamer gst-plugins-base gst-plugins-good gst-plugins-bad gst-plugins-ugly gst-libav ]);
|
gstreamer gst-plugins-base gst-plugins-good gst-plugins-bad gst-plugins-ugly gst-libav ]);
|
||||||
@ -106,7 +106,6 @@ stdenv.mkDerivation rec {
|
|||||||
mesonFlags = [
|
mesonFlags = [
|
||||||
"-Dnautilus=false"
|
"-Dnautilus=false"
|
||||||
"-Dps=enabled"
|
"-Dps=enabled"
|
||||||
"-Dgtk_doc=false"
|
|
||||||
];
|
];
|
||||||
|
|
||||||
NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0";
|
NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user