1 |
commit: 857fbc1c4fa45712d4565bdd0b4892e010941157 |
2 |
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Feb 23 19:32:05 2019 +0000 |
4 |
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Feb 23 19:38:27 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=857fbc1c |
7 |
|
8 |
app-text/evince: bump to 3.30.2 |
9 |
|
10 |
Package-Manager: Portage-2.3.52, Repoman-2.3.12 |
11 |
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org> |
12 |
|
13 |
app-text/evince/Manifest | 1 + |
14 |
app-text/evince/evince-3.30.2.ebuild | 107 +++++++++++++++++++++ |
15 |
.../evince/files/3.30.2-internal-synctex.patch | 28 ++++++ |
16 |
app-text/evince/metadata.xml | 1 + |
17 |
profiles/arch/arm64/package.use.mask | 4 + |
18 |
profiles/arch/ia64/package.use.mask | 1 + |
19 |
profiles/package.mask | 1 + |
20 |
7 files changed, 143 insertions(+) |
21 |
|
22 |
diff --git a/app-text/evince/Manifest b/app-text/evince/Manifest |
23 |
index 5694a99e25d..a5fbfa85e11 100644 |
24 |
--- a/app-text/evince/Manifest |
25 |
+++ b/app-text/evince/Manifest |
26 |
@@ -1 +1,2 @@ |
27 |
DIST evince-3.28.5.tar.xz 2196432 BLAKE2B 992e37ad3cb82934efbdcd83afa89dc7589104045e828c6516650ee0a3fc89b99dff3fe0a723691e95adba9a5cf767a95ec18690697df15310437c7980ccbf55 SHA512 42fcf1396546f62910966b31bc657e5d3532a6bf32e87590b057efded1597de5765ed5c17ae98208a5dafca54da9c8e81f451e4133df656aaf4a9966da457bc3 |
28 |
+DIST evince-3.30.2.tar.xz 2288868 BLAKE2B dd0423b7ec51daf897bfbc45afb298f9ee23b28ada3dfe5d5d2808b4515bdc7077a7e0ae46541876bb2fbfd8aa9ec44abc7aabcb3cb10b6e52912f0ac1358eeb SHA512 dfffcf15547d0720bd2379054d7b9bee02f8bea7113562162cbab62d77cf84c04f70dcc87a3e6b1ba62db38783df8f481d801854d8f0767f60e9cfabd9efc646 |
29 |
|
30 |
diff --git a/app-text/evince/evince-3.30.2.ebuild b/app-text/evince/evince-3.30.2.ebuild |
31 |
new file mode 100644 |
32 |
index 00000000000..c6623539c8a |
33 |
--- /dev/null |
34 |
+++ b/app-text/evince/evince-3.30.2.ebuild |
35 |
@@ -0,0 +1,107 @@ |
36 |
+# Copyright 1999-2019 Gentoo Authors |
37 |
+# Distributed under the terms of the GNU General Public License v2 |
38 |
+ |
39 |
+EAPI=6 |
40 |
+GNOME2_LA_PUNT="yes" |
41 |
+GNOME2_EAUTORECONF="yes" |
42 |
+ |
43 |
+inherit gnome2 systemd |
44 |
+ |
45 |
+DESCRIPTION="Simple document viewer for GNOME" |
46 |
+HOMEPAGE="https://wiki.gnome.org/Apps/Evince" |
47 |
+ |
48 |
+LICENSE="GPL-2+ CC-BY-SA-3.0" |
49 |
+# subslot = evd3.(suffix of libevdocument3)-evv3.(suffix of libevview3) |
50 |
+SLOT="0/evd3.4-evv3.3" |
51 |
+IUSE="djvu dvi gstreamer gnome gnome-keyring +introspection nautilus nsplugin postscript spell t1lib tiff xps" |
52 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x64-solaris" |
53 |
+ |
54 |
+# atk used in libview |
55 |
+# bundles unarr |
56 |
+COMMON_DEPEND=" |
57 |
+ dev-libs/atk |
58 |
+ >=dev-libs/glib-2.36:2[dbus] |
59 |
+ >=dev-libs/libxml2-2.5:2 |
60 |
+ sys-libs/zlib:= |
61 |
+ >=x11-libs/gdk-pixbuf-2.36.5:2 |
62 |
+ >=x11-libs/gtk+-3.16.0:3[introspection?] |
63 |
+ gnome-base/gsettings-desktop-schemas |
64 |
+ >=x11-libs/cairo-1.10:= |
65 |
+ >=app-text/poppler-0.33[cairo] |
66 |
+ >=app-arch/libarchive-3.2.0 |
67 |
+ djvu? ( >=app-text/djvu-3.5.22:= ) |
68 |
+ dvi? ( |
69 |
+ virtual/tex-base |
70 |
+ dev-libs/kpathsea:= |
71 |
+ t1lib? ( >=media-libs/t1lib-5:= ) ) |
72 |
+ gstreamer? ( |
73 |
+ media-libs/gstreamer:1.0 |
74 |
+ media-libs/gst-plugins-base:1.0 |
75 |
+ media-libs/gst-plugins-good:1.0 ) |
76 |
+ gnome? ( gnome-base/gnome-desktop:3= ) |
77 |
+ gnome-keyring? ( >=app-crypt/libsecret-0.5 ) |
78 |
+ introspection? ( >=dev-libs/gobject-introspection-1:= ) |
79 |
+ nautilus? ( >=gnome-base/nautilus-2.91.4 ) |
80 |
+ postscript? ( >=app-text/libspectre-0.2:= ) |
81 |
+ spell? ( >=app-text/gspell-1.6.0:= ) |
82 |
+ tiff? ( >=media-libs/tiff-3.6:0= ) |
83 |
+ xps? ( >=app-text/libgxps-0.2.1:= ) |
84 |
+" |
85 |
+RDEPEND="${COMMON_DEPEND} |
86 |
+ gnome-base/gvfs |
87 |
+ gnome-base/librsvg |
88 |
+ || ( |
89 |
+ >=x11-themes/adwaita-icon-theme-2.17.1 |
90 |
+ >=x11-themes/hicolor-icon-theme-0.10 ) |
91 |
+" |
92 |
+DEPEND="${COMMON_DEPEND} |
93 |
+ app-text/docbook-xml-dtd:4.3 |
94 |
+ dev-util/gdbus-codegen |
95 |
+ dev-util/glib-utils |
96 |
+ >=dev-util/gtk-doc-am-1.13 |
97 |
+ >=dev-util/intltool-0.35 |
98 |
+ dev-util/itstool |
99 |
+ sys-devel/gettext |
100 |
+ virtual/pkgconfig |
101 |
+ app-text/yelp-tools |
102 |
+" |
103 |
+# eautoreconf needs: |
104 |
+# app-text/yelp-tools |
105 |
+ |
106 |
+PATCHES=( |
107 |
+ "${FILESDIR}"/${PV}-internal-synctex.patch # don't automagically link to synctex from texlive-core - always use internal copy of this small parser for now; requires eautoreconf |
108 |
+) |
109 |
+ |
110 |
+src_prepare() { |
111 |
+ gnome2_src_prepare |
112 |
+ |
113 |
+ # Do not depend on adwaita-icon-theme, bug #326855, #391859 |
114 |
+ # https://bugs.freedesktop.org/show_bug.cgi?id=29942 |
115 |
+ sed -e 's/adwaita-icon-theme >= $ADWAITA_ICON_THEME_REQUIRED//g' \ |
116 |
+ -i configure || die "sed failed" |
117 |
+} |
118 |
+ |
119 |
+src_configure() { |
120 |
+ gnome2_src_configure \ |
121 |
+ --disable-static \ |
122 |
+ --enable-pdf \ |
123 |
+ --enable-comics \ |
124 |
+ --enable-thumbnailer \ |
125 |
+ --with-platform=gnome \ |
126 |
+ --enable-dbus \ |
127 |
+ $(use_enable djvu) \ |
128 |
+ $(use_enable dvi) \ |
129 |
+ $(use_enable gstreamer multimedia) \ |
130 |
+ $(use_enable gnome libgnome-desktop) \ |
131 |
+ $(use_with gnome-keyring keyring) \ |
132 |
+ $(use_enable introspection) \ |
133 |
+ $(use_enable nautilus) \ |
134 |
+ $(use_enable nsplugin browser-plugin) \ |
135 |
+ $(use_enable postscript ps) \ |
136 |
+ $(use_with spell gspell) \ |
137 |
+ $(use_enable t1lib) \ |
138 |
+ $(use_enable tiff) \ |
139 |
+ $(use_enable xps) \ |
140 |
+ BROWSER_PLUGIN_DIR="${EPREFIX}"/usr/$(get_libdir)/nsbrowser/plugins \ |
141 |
+ --with-systemduserunitdir="$(systemd_get_userunitdir)" |
142 |
+} |
143 |
|
144 |
diff --git a/app-text/evince/files/3.30.2-internal-synctex.patch b/app-text/evince/files/3.30.2-internal-synctex.patch |
145 |
new file mode 100644 |
146 |
index 00000000000..16ef50ecd60 |
147 |
--- /dev/null |
148 |
+++ b/app-text/evince/files/3.30.2-internal-synctex.patch |
149 |
@@ -0,0 +1,28 @@ |
150 |
+From a4a831f998d513c6d01394d9b106aa42faf60dd3 Mon Sep 17 00:00:00 2001 |
151 |
+From: Mart Raudsepp <leio@g.o> |
152 |
+Date: Sat, 23 Feb 2019 21:05:28 +0200 |
153 |
+Subject: [PATCH] build: always use internal synctex instead of automagically |
154 |
+ |
155 |
+We don't have a separate synctex package and would have to pull in |
156 |
+all of texlive-core; so instead of fixing the automagic use of it, |
157 |
+just remove support for external synctex, as that's easier. |
158 |
+--- |
159 |
+ configure.ac | 2 +- |
160 |
+ 1 file changed, 1 insertion(+), 1 deletion(-) |
161 |
+ |
162 |
+diff --git a/configure.ac b/configure.ac |
163 |
+index 13bdd600..e5334319 100644 |
164 |
+--- a/configure.ac |
165 |
++++ b/configure.ac |
166 |
+@@ -539,7 +539,7 @@ GOBJECT_INTROSPECTION_CHECK([1.0]) |
167 |
+ |
168 |
+ dnl ================== libsynctex =========================================== |
169 |
+ |
170 |
+-PKG_CHECK_MODULES(SYNCTEX, [synctex >= $SYNCTEX_REQUIRED], has_synctex=system, has_synctex=internal) |
171 |
++has_synctex=internal |
172 |
+ |
173 |
+ dnl not found? use internal code copy. |
174 |
+ if test "x$has_synctex" = "xinternal"; then |
175 |
+-- |
176 |
+2.17.0 |
177 |
+ |
178 |
|
179 |
diff --git a/app-text/evince/metadata.xml b/app-text/evince/metadata.xml |
180 |
index 464a1318167..12e56453922 100644 |
181 |
--- a/app-text/evince/metadata.xml |
182 |
+++ b/app-text/evince/metadata.xml |
183 |
@@ -9,6 +9,7 @@ |
184 |
<flag name="dvi">Enable the built-in DVI viewer</flag> |
185 |
<flag name="nautilus">Enable property page extension in <pkg>gnome-base/nautilus</pkg></flag> |
186 |
<flag name="postscript" restrict=">=app-text/evince-3.26">Enable support for PostScript and Adobe Illustrator documents with <pkg>app-text/libspectre</pkg></flag> |
187 |
+ <flag name="spell">Enable inline spell check for annotations via <pkg>app-text/gspell</pkg></flag> |
188 |
<flag name="t1lib">Enable the Type-1 fonts for the built-in DVI viewer |
189 |
(<pkg>media-libs/t1lib</pkg>)</flag> |
190 |
<flag name="xps">Enable XPS viewer using <pkg>app-text/libgxps</pkg></flag> |
191 |
|
192 |
diff --git a/profiles/arch/arm64/package.use.mask b/profiles/arch/arm64/package.use.mask |
193 |
index ea353381a6e..54d30299be5 100644 |
194 |
--- a/profiles/arch/arm64/package.use.mask |
195 |
+++ b/profiles/arch/arm64/package.use.mask |
196 |
@@ -1,6 +1,10 @@ |
197 |
# Copyright 1999-2019 Gentoo Authors |
198 |
# Distributed under the terms of the GNU General Public License v2 |
199 |
|
200 |
+# Mart Raudsepp <leio@g.o> (23 Feb 2019) |
201 |
+# app-text/gspell not keyworded yet |
202 |
+app-text/evince spell |
203 |
+ |
204 |
# Davide Pesavento <pesa@g.o> (27 Dec 2018) |
205 |
# The corresponding Qt5 modules are not keyworded on arm64, and we don't want to |
206 |
# keyword them solely because of PyQt5 while there are no other in-tree users. |
207 |
|
208 |
diff --git a/profiles/arch/ia64/package.use.mask b/profiles/arch/ia64/package.use.mask |
209 |
index 9ff4314238c..335bbb7b5e0 100644 |
210 |
--- a/profiles/arch/ia64/package.use.mask |
211 |
+++ b/profiles/arch/ia64/package.use.mask |
212 |
@@ -136,6 +136,7 @@ media-sound/rhythmbox upnp-av |
213 |
# Alexandre Rostovtsev <tetromino@g.o> (28 Jun 2016) |
214 |
# Missing keywords on app-text/gspell - bug #587368 |
215 |
>=app-editors/gedit-3.20 spell |
216 |
+>=app-text/evince-3.30 spell |
217 |
|
218 |
# Justin Lecher <jlec@g.o> (22 Feb 2016) |
219 |
# Missing test deps keyword #575366 |
220 |
|
221 |
diff --git a/profiles/package.mask b/profiles/package.mask |
222 |
index 92fd751d954..fff1a3b3dd9 100644 |
223 |
--- a/profiles/package.mask |
224 |
+++ b/profiles/package.mask |
225 |
@@ -40,6 +40,7 @@ |
226 |
>=gnome-extra/gnome-clocks-3.30.1 |
227 |
=gnome-base/gnome-control-center-3.26.2-r2 |
228 |
=gnome-extra/gnome-contacts-3.30.2 |
229 |
+=app-text/evince-3.30.2 |
230 |
|
231 |
# Michał Górny <mgorny@g.o> (13 Feb 2019) |
232 |
# Release candidate, masked for testing. |