Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/evince/, profiles/base/
Date: Wed, 21 Sep 2022 22:28:54
Message-Id: 1663799299.a8c3be9801db69fa1791f50a415d65f7dbda0bf5.mattst88@gentoo
1 commit: a8c3be9801db69fa1791f50a415d65f7dbda0bf5
2 Author: Pascal Jäger <pascal.jaeger <AT> leimstift <DOT> de>
3 AuthorDate: Wed Sep 21 19:52:47 2022 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 21 22:28:19 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8c3be98
7
8 app-text/evince: version bump to 43.0
9
10 Closes: https://github.com/gentoo/gentoo/pull/27382
11 Signed-off-by: Pascal Jäger <pascal.jaeger <AT> leimstift.de>
12 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
13
14 app-text/evince/Manifest | 1 +
15 app-text/evince/evince-43.0.ebuild | 122 +++++++++++++++++++++++++++++++++++++
16 profiles/base/package.use.mask | 5 ++
17 3 files changed, 128 insertions(+)
18
19 diff --git a/app-text/evince/Manifest b/app-text/evince/Manifest
20 index b4f593097b00..60881c518262 100644
21 --- a/app-text/evince/Manifest
22 +++ b/app-text/evince/Manifest
23 @@ -1 +1,2 @@
24 DIST evince-42.3.tar.xz 2856080 BLAKE2B 55711dd1869e9cce783845683093bb621b416de66f1d53f901353f6f66ff97ec80ce45e0d32e346b2b37d18285568d01ee96cfe851b09f893565d277651d837c SHA512 4ec212e90c3fd259a2afe191592c135938766b11c6891297a10dc34152f69bba9350a467c394ec6cacde5bd16ced02d0c38b7a112dd7d676f53b12fd1b29a62e
25 +DIST evince-43.0.tar.xz 2908508 BLAKE2B 5f1a9a697693a64c2b54ae5d5499ae8993b02f2df0b1706d0335770037285bb13e2af5254d7ff65ae4abb5a0c8ed6e338c61306f47e121de8c6546407c8968d5 SHA512 dd50ba45c4eb56f8af1df38f7a12c3c13747a1053bb97c8600d85cbc398e340d7bc5db73f441b68cfb8294ab985be361e48605cdc5e3dccb051d917869a12ba9
26
27 diff --git a/app-text/evince/evince-43.0.ebuild b/app-text/evince/evince-43.0.ebuild
28 new file mode 100644
29 index 000000000000..0dc935d74b76
30 --- /dev/null
31 +++ b/app-text/evince/evince-43.0.ebuild
32 @@ -0,0 +1,122 @@
33 +# Copyright 1999-2022 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=8
37 +
38 +inherit gnome.org gnome2-utils meson systemd xdg
39 +
40 +DESCRIPTION="Simple document viewer for GNOME"
41 +HOMEPAGE="https://wiki.gnome.org/Apps/Evince"
42 +
43 +LICENSE="GPL-2+ CC-BY-SA-3.0"
44 +# subslot = evd3.(suffix of libevdocument3)-evv3.(suffix of libevview3)
45 +SLOT="0/evd3.4-evv3.3"
46 +IUSE="cups djvu dvi gstreamer gnome gnome-keyring gtk-doc +introspection nautilus postscript spell tiff xps"
47 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris"
48 +
49 +# atk used in libview
50 +# bundles unarr
51 +DEPEND="
52 + dev-libs/atk
53 + >=dev-libs/glib-2.44.0:2
54 + >=gui-libs/libhandy-1.5.0:1=
55 + >=dev-libs/libxml2-2.5:2
56 + sys-libs/zlib:=
57 + >=x11-libs/gdk-pixbuf-2.40:2
58 + >=x11-libs/gtk+-3.22.0:3[cups?,introspection?]
59 + gnome-base/gsettings-desktop-schemas
60 + >=x11-libs/cairo-1.10:=
61 + >=app-text/poppler-22.02.0[cairo]
62 + >=app-arch/libarchive-3.6.0
63 + djvu? ( >=app-text/djvu-3.5.22:= )
64 + dvi? (
65 + >=app-text/libspectre-0.2:=
66 + dev-libs/kpathsea:=
67 + )
68 + gstreamer? (
69 + media-libs/gstreamer:1.0
70 + media-libs/gst-plugins-base:1.0
71 + media-libs/gst-plugins-good:1.0 )
72 + gnome? ( gnome-base/gnome-desktop:3= )
73 + gnome-keyring? ( >=app-crypt/libsecret-0.5 )
74 + introspection? ( >=dev-libs/gobject-introspection-1:= )
75 + nautilus? ( >=gnome-base/nautilus-3.28.0 <gnome-base/nautilus-42.20 )
76 + postscript? ( >=app-text/libspectre-0.2:= )
77 + spell? ( >=app-text/gspell-1.6.0:= )
78 + tiff? ( >=media-libs/tiff-4.0:0= )
79 + xps? ( >=app-text/libgxps-0.2.1:= )
80 +"
81 +RDEPEND="${DEPEND}
82 + gnome-base/gvfs
83 + gnome-base/librsvg
84 + || (
85 + >=x11-themes/adwaita-icon-theme-2.17.1
86 + >=x11-themes/hicolor-icon-theme-0.10
87 + )
88 +"
89 +BDEPEND="
90 + gtk-doc? (
91 + >=dev-util/gi-docgen-2021.1
92 + app-text/docbook-xml-dtd:4.3
93 + )
94 + dev-libs/appstream-glib
95 + dev-util/gdbus-codegen
96 + dev-util/glib-utils
97 + dev-util/itstool
98 + >=sys-devel/gettext-0.19.8
99 + virtual/pkgconfig
100 +"
101 +
102 +src_prepare() {
103 + default
104 + xdg_environment_reset
105 +
106 + # Do not depend on adwaita-icon-theme, bug #326855, #391859
107 + # https://gitlab.freedesktop.org/xdg/default-icon-theme/issues/7
108 + sed -i '/adwaita_icon_theme_dep/d' meson.build shell/meson.build || die
109 +}
110 +
111 +src_configure() {
112 + local emesonargs=(
113 + -Ddevelopment=false
114 + -Dplatform=gnome
115 +
116 + -Dviewer=true
117 + -Dpreviewer=true
118 + -Dthumbnailer=true
119 + $(meson_use nautilus)
120 +
121 + -Dcomics=enabled
122 + $(meson_feature djvu)
123 + $(meson_feature dvi)
124 + -Dpdf=enabled
125 + $(meson_feature postscript ps)
126 + $(meson_feature tiff)
127 + $(meson_feature xps)
128 +
129 + $(meson_use gtk-doc gtk_doc)
130 + -Duser_doc=true
131 + $(meson_use introspection)
132 + -Ddbus=true
133 + $(meson_feature gnome-keyring keyring)
134 + $(meson_feature cups gtk_unix_print)
135 + $(meson_feature gnome thumbnail_cache)
136 + $(meson_feature gstreamer multimedia)
137 + $(meson_feature spell gspell)
138 +
139 + -Dinternal_synctex=true
140 +
141 + -Dsystemduserunitdir="$(systemd_get_userunitdir)"
142 + )
143 + meson_src_configure
144 +}
145 +
146 +pkg_postinst() {
147 + xdg_pkg_postinst
148 + gnome2_schemas_update
149 +}
150 +
151 +pkg_postrm() {
152 + xdg_pkg_postrm
153 + gnome2_schemas_update
154 +}
155
156 diff --git a/profiles/base/package.use.mask b/profiles/base/package.use.mask
157 index ab2d36ce0217..39c17ccff6de 100644
158 --- a/profiles/base/package.use.mask
159 +++ b/profiles/base/package.use.mask
160 @@ -6,6 +6,11 @@
161 # This file is only for generic masks. For arch-specific masks (i.e.
162 # mask everywhere, unmask on arch/*) use arch/base.
163
164 +# Pascal Jaeger <pascal.jaeger@×××××××××.de> (2022-09-21)
165 +# Versions >=43.0 of evince only work with <gnome-base/nautilus-42.2.
166 +# Allowing that use flag for >=43.0 would stop users from updating nautilus
167 +>=app-text/evince-43.0 nautilus
168 +
169 # Georgy Yakovlev <gyakovlev@g.o> (2022-09-17)
170 # po4a crashes while translating
171 # mask for now