File tree 2 files changed +17
-4
lines changed
pkgs/desktops/gnome-3/3.22/core/evince
2 files changed +17
-4
lines changed Original file line number Diff line number Diff line change 4
4
, librsvg , gobjectIntrospection
5
5
, recentListSize ? null # 5 is not enough, allow passing a different number
6
6
, supportXPS ? false # Open XML Paper Specification via libgxps
7
+ , fetchpatch , autoreconfHook
7
8
} :
8
9
9
10
stdenv . mkDerivation rec {
10
11
inherit ( import ./src.nix fetchurl ) name src ;
11
12
12
- nativeBuildInputs = [ pkgconfig wrapGAppsHook ] ;
13
+ patches = [
14
+ ( fetchpatch {
15
+ name = "CVE-2017-1000083" ; # https://bugzilla.gnome.org/show_bug.cgi?id=784630
16
+ url = "https://git.gnome.org/browse/evince/patch/?id=fa072dbbfd96" ;
17
+ sha256 = "12xg00jvbsh54dr2dyq2ha5a05x2bpzd1lh2k3sppq3h7a02lsjy" ;
18
+ } )
19
+ ] ;
20
+ # missing help for now; fixing the autogen phase seemed too difficult
21
+ postPatch = "sed '/@YELP_HELP_RULES@/d' -i help/Makefile.am" ;
22
+
23
+ nativeBuildInputs = [ pkgconfig wrapGAppsHook autoreconfHook /*for patches*/ ] ;
13
24
14
25
buildInputs = [
15
26
intltool perl perlXMLParser libxml2
@@ -43,6 +54,8 @@ stdenv.mkDerivation rec {
43
54
gappsWrapperArgs+=(--prefix XDG_DATA_DIRS : "${ shared_mime_info } /share")
44
55
'' ;
45
56
57
+ enableParallelBuilding = true ;
58
+
46
59
doCheck = false ; # would need pythonPackages.dogTail, which is missing
47
60
48
61
meta = with stdenv . lib ; {
Original file line number Diff line number Diff line change 1
1
# Autogenerated by maintainers/scripts/gnome.sh update
2
2
3
3
fetchurl : {
4
- name = "evince-3.22.0 " ;
4
+ name = "evince-3.22.1 " ;
5
5
6
6
src = fetchurl {
7
- url = mirror://gnome/sources/evince/3.22/evince-3.22.0 .tar.xz ;
8
- sha256 = "22ebabf890057e8b43020ffdebdbb57d6a586beba031838f0f0c8a596c479d46 " ;
7
+ url = mirror://gnome/sources/evince/3.22/evince-3.22.1 .tar.xz ;
8
+ sha256 = "f3d439db3b5a5745d26175d615a71dffa1535235b1e3aa0b85d397ea33ab231c " ;
9
9
} ;
10
10
}
You can’t perform that action at this time.
0 commit comments