Gentoo Archives: gentoo-commits

From: Gilles Dartiguelongue <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gnome:master commit in: gnome-base/nautilus/
Date: Fri, 11 Aug 2017 07:19:26
Message-Id: 1502433441.e8ea8e6e9e6f6392977095e30f0a7414df7984f9.eva@gentoo
1 commit: e8ea8e6e9e6f6392977095e30f0a7414df7984f9
2 Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
3 AuthorDate: Fri Aug 11 06:37:21 2017 +0000
4 Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
5 CommitDate: Fri Aug 11 06:37:21 2017 +0000
6 URL: https://gitweb.gentoo.org/proj/gnome.git/commit/?id=e8ea8e6e
7
8 gnome-base/nautilus: sync with gentoo repository
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.3
11 Manifest-Sign-Key: 0x5A56C8CD0C13248A
12
13 gnome-base/nautilus/metadata.xml | 1 +
14 gnome-base/nautilus/nautilus-3.20.0.ebuild | 121 -----------------------------
15 gnome-base/nautilus/nautilus-9999.ebuild | 39 ++++------
16 3 files changed, 15 insertions(+), 146 deletions(-)
17
18 diff --git a/gnome-base/nautilus/metadata.xml b/gnome-base/nautilus/metadata.xml
19 index 4e3c7a33..71760b9a 100644
20 --- a/gnome-base/nautilus/metadata.xml
21 +++ b/gnome-base/nautilus/metadata.xml
22 @@ -13,5 +13,6 @@
23 <flag name="sendto">Enable the nautilus-sendto extension to send files to
24 various locations/devices</flag>
25 <flag name="tracker">Add support for <pkg>app-misc/tracker</pkg> search</flag>
26 + <flag restrict="&gt;=gnome-base/nautilus-3.22" name="tracker">Add support for <pkg>app-misc/tracker</pkg> search and batch rename</flag>
27 </use>
28 </pkgmetadata>
29
30 diff --git a/gnome-base/nautilus/nautilus-3.20.0.ebuild b/gnome-base/nautilus/nautilus-3.20.0.ebuild
31 deleted file mode 100644
32 index c70dc4f1..00000000
33 --- a/gnome-base/nautilus/nautilus-3.20.0.ebuild
34 +++ /dev/null
35 @@ -1,121 +0,0 @@
36 -# Copyright 1999-2016 Gentoo Foundation
37 -# Distributed under the terms of the GNU General Public License v2
38 -# $Id$
39 -
40 -EAPI="5"
41 -GCONF_DEBUG="no"
42 -GNOME2_LA_PUNT="yes" # Needed with USE 'sendto'
43 -
44 -inherit gnome2 readme.gentoo virtualx
45 -
46 -DESCRIPTION="A file manager for the GNOME desktop"
47 -HOMEPAGE="https://wiki.gnome.org/Apps/Nautilus"
48 -
49 -LICENSE="GPL-2+ LGPL-2+ FDL-1.1"
50 -SLOT="0"
51 -
52 -IUSE="exif gnome +introspection packagekit +previewer selinux sendto tracker xmp"
53 -KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux"
54 -
55 -# FIXME: tests fails under Xvfb, but pass when building manually
56 -# "FAIL: check failed in nautilus-file.c, line 8307"
57 -# need org.gnome.SessionManager service (aka gnome-session) but cannot find it
58 -RESTRICT="test"
59 -
60 -# Require {glib,gdbus-codegen}-2.30.0 due to GDBus API changes between 2.29.92
61 -# and 2.30.0
62 -COMMON_DEPEND="
63 - >=dev-libs/glib-2.45.7:2[dbus]
64 - >=x11-libs/pango-1.28.3
65 - >=x11-libs/gtk+-3.19.12:3[introspection?]
66 - >=dev-libs/libxml2-2.7.8:2
67 - >=gnome-base/gnome-desktop-3:3=
68 -
69 - gnome-base/dconf
70 - >=gnome-base/gsettings-desktop-schemas-3.8.0
71 - x11-libs/libX11
72 - x11-libs/libXext
73 - x11-libs/libXrender
74 -
75 - exif? ( >=media-libs/libexif-0.6.20 )
76 - introspection? ( >=dev-libs/gobject-introspection-0.6.4:= )
77 - selinux? ( >=sys-libs/libselinux-2 )
78 - tracker? ( >=app-misc/tracker-0.16:= )
79 - xmp? ( >=media-libs/exempi-2.1.0 )
80 -"
81 -DEPEND="${COMMON_DEPEND}
82 - >=dev-lang/perl-5
83 - >=dev-util/gdbus-codegen-2.33
84 - >=dev-util/gtk-doc-am-1.10
85 - >=dev-util/intltool-0.50
86 - sys-devel/gettext
87 - virtual/pkgconfig
88 - x11-proto/xproto
89 -"
90 -RDEPEND="${COMMON_DEPEND}
91 - packagekit? ( app-admin/packagekit-base )
92 - sendto? ( !<gnome-extra/nautilus-sendto-3.0.1 )
93 -"
94 -
95 -# For eautoreconf
96 -# gnome-base/gnome-common
97 -# dev-util/gtk-doc-am"
98 -
99 -PDEPEND="
100 - gnome? (
101 - >=x11-themes/gnome-icon-theme-1.1.91
102 - x11-themes/gnome-icon-theme-symbolic )
103 - tracker? ( >=gnome-extra/nautilus-tracker-tags-0.12 )
104 - previewer? ( >=gnome-extra/sushi-0.1.9 )
105 - sendto? ( >=gnome-extra/nautilus-sendto-3.0.1 )
106 - >=gnome-base/gvfs-1.14[gtk]
107 -"
108 -# Need gvfs[gtk] for recent:/// support
109 -
110 -src_prepare() {
111 - if use previewer; then
112 - DOC_CONTENTS="nautilus uses gnome-extra/sushi to preview media files.
113 - To activate the previewer, select a file and press space; to
114 - close the previewer, press space again."
115 - fi
116 -
117 - # Remove -D*DEPRECATED flags. Don't leave this for eclass! (bug #448822)
118 - sed -e 's/DISABLE_DEPRECATED_CFLAGS=.*/DISABLE_DEPRECATED_CFLAGS=/' \
119 - -i configure || die "sed failed"
120 -
121 - gnome2_src_prepare
122 -}
123 -
124 -src_configure() {
125 - DOCS="AUTHORS HACKING MAINTAINERS NEWS README* THANKS"
126 - gnome2_src_configure \
127 - --disable-profiling \
128 - --disable-update-mimedb \
129 - $(use_enable exif libexif) \
130 - $(use_enable introspection) \
131 - $(use_enable packagekit) \
132 - $(use_enable sendto nst-extension) \
133 - $(use_enable selinux) \
134 - $(use_enable tracker) \
135 - $(use_enable xmp)
136 -}
137 -
138 -src_test() {
139 - gnome2_environment_reset
140 - Xemake check
141 -}
142 -
143 -src_install() {
144 - use previewer && readme.gentoo_create_doc
145 - gnome2_src_install
146 -}
147 -
148 -pkg_postinst() {
149 - gnome2_pkg_postinst
150 -
151 - if use previewer; then
152 - readme.gentoo_print_elog
153 - else
154 - elog "To preview media files, emerge nautilus with USE=previewer"
155 - fi
156 -}
157
158 diff --git a/gnome-base/nautilus/nautilus-9999.ebuild b/gnome-base/nautilus/nautilus-9999.ebuild
159 index 9e8e3454..9264faf7 100644
160 --- a/gnome-base/nautilus/nautilus-9999.ebuild
161 +++ b/gnome-base/nautilus/nautilus-9999.ebuild
162 @@ -1,12 +1,10 @@
163 -# Copyright 1999-2016 Gentoo Foundation
164 +# Copyright 1999-2017 Gentoo Foundation
165 # Distributed under the terms of the GNU General Public License v2
166 -# $Id$
167
168 -EAPI="5"
169 -GCONF_DEBUG="no"
170 +EAPI=6
171 GNOME2_LA_PUNT="yes" # Needed with USE 'sendto'
172
173 -inherit gnome2 readme.gentoo virtualx
174 +inherit gnome2 readme.gentoo-r1 virtualx
175 if [[ ${PV} = 9999 ]]; then
176 inherit gnome2-live
177 fi
178 @@ -16,27 +14,27 @@ HOMEPAGE="https://wiki.gnome.org/Apps/Nautilus"
179
180 LICENSE="GPL-2+ LGPL-2+ FDL-1.1"
181 SLOT="0"
182 -
183 -# profiling?
184 IUSE="exif gnome +introspection packagekit +previewer selinux sendto tracker xmp"
185 +
186 if [[ ${PV} = 9999 ]]; then
187 IUSE="${IUSE} doc"
188 KEYWORDS=""
189 else
190 - KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux"
191 + KEYWORDS="~amd64 ~arm64 ~ia64 ~x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux"
192 fi
193
194 # FIXME: tests fails under Xvfb, but pass when building manually
195 # "FAIL: check failed in nautilus-file.c, line 8307"
196 +# need org.gnome.SessionManager service (aka gnome-session) but cannot find it
197 RESTRICT="test"
198
199 -# FIXME: selinux support is automagic
200 # Require {glib,gdbus-codegen}-2.30.0 due to GDBus API changes between 2.29.92
201 # and 2.30.0
202 COMMON_DEPEND="
203 - >=dev-libs/glib-2.45.7:2[dbus]
204 + >=app-arch/gnome-autoar-0.1
205 + >=dev-libs/glib-2.49.1:2[dbus]
206 >=x11-libs/pango-1.28.3
207 - >=x11-libs/gtk+-3.19.12:3[introspection?]
208 + >=x11-libs/gtk+-3.21.6:3[introspection?]
209 >=dev-libs/libxml2-2.7.8:2
210 >=gnome-base/gnome-desktop-3:3=
211
212 @@ -50,14 +48,13 @@ COMMON_DEPEND="
213 introspection? ( >=dev-libs/gobject-introspection-0.6.4:= )
214 selinux? ( >=sys-libs/libselinux-2 )
215 tracker? ( >=app-misc/tracker-0.16:= )
216 - xmp? ( >=media-libs/exempi-2.1.0 )
217 + xmp? ( >=media-libs/exempi-2.1.0:2 )
218 "
219 DEPEND="${COMMON_DEPEND}
220 >=dev-lang/perl-5
221 >=dev-util/gdbus-codegen-2.33
222 >=dev-util/gtk-doc-am-1.10
223 - >=dev-util/intltool-0.50
224 - sys-devel/gettext
225 + >=sys-devel/gettext-0.19.7
226 virtual/pkgconfig
227 x11-proto/xproto
228 "
229 @@ -71,9 +68,7 @@ RDEPEND="${COMMON_DEPEND}
230 # dev-util/gtk-doc-am"
231
232 PDEPEND="
233 - gnome? (
234 - >=x11-themes/gnome-icon-theme-1.1.91
235 - x11-themes/gnome-icon-theme-symbolic )
236 + gnome? ( x11-themes/adwaita-icon-theme )
237 tracker? ( >=gnome-extra/nautilus-tracker-tags-0.12 )
238 previewer? ( >=gnome-extra/sushi-0.1.9 )
239 sendto? ( >=gnome-extra/nautilus-sendto-3.0.1 )
240 @@ -92,17 +87,12 @@ src_prepare() {
241 To activate the previewer, select a file and press space; to
242 close the previewer, press space again."
243 fi
244 -
245 - # Remove -D*DEPRECATED flags. Don't leave this for eclass! (bug #448822)
246 - sed -e 's/DISABLE_DEPRECATED_CFLAGS=.*/DISABLE_DEPRECATED_CFLAGS=/' \
247 - -i configure || die "sed failed"
248 -
249 gnome2_src_prepare
250 }
251
252 src_configure() {
253 - DOCS="AUTHORS HACKING MAINTAINERS NEWS README* THANKS"
254 gnome2_src_configure \
255 + --enable-desktop \
256 --disable-profiling \
257 --disable-update-mimedb \
258 $(use_enable exif libexif) \
259 @@ -115,8 +105,7 @@ src_configure() {
260 }
261
262 src_test() {
263 - gnome2_environment_reset
264 - Xemake check
265 + virtx emake check
266 }
267
268 src_install() {