Gentoo Archives: gentoo-commits

From: Mart Raudsepp <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: gnome-base/gnome-settings-daemon/files/, gnome-base/gnome-settings-daemon/
Date: Mon, 25 Sep 2017 16:56:48
Message-Id: 1506358458.6da92d43fd40ccf450ad0687a8ee7d719834e28b.leio@gentoo
1 commit: 6da92d43fd40ccf450ad0687a8ee7d719834e28b
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Mon Sep 25 16:54:18 2017 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Mon Sep 25 16:54:18 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6da92d43
7
8 gnome-base/gnome-settings-daemon: remove old
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.2
11
12 gnome-base/gnome-settings-daemon/Manifest | 1 -
13 .../files/3.24.2-fix-color-tests.patch | 85 -----------
14 .../gnome-settings-daemon-3.22.2.ebuild | 149 -------------------
15 .../gnome-settings-daemon-3.24.2.ebuild | 160 ---------------------
16 4 files changed, 395 deletions(-)
17
18 diff --git a/gnome-base/gnome-settings-daemon/Manifest b/gnome-base/gnome-settings-daemon/Manifest
19 index bff715e5361..b185d4f051b 100644
20 --- a/gnome-base/gnome-settings-daemon/Manifest
21 +++ b/gnome-base/gnome-settings-daemon/Manifest
22 @@ -1,3 +1,2 @@
23 DIST gnome-settings-daemon-3.22.2.tar.xz 1657132 SHA256 0a1c1f9bce59a86617c45f77bd9cb99c6db38b96678a89d7ad2ab6b7bc6a1a01 SHA512 7bbeb0b50d178bf951f5a8375703f3e2e88b7c5082ec7394df1f277dd08059e616118e003db23dcc175b92d803924b3927326d10a2101b7923dfb0e980d277e3 WHIRLPOOL edae1afc97a314f3d90c7d77d9a456e74e9fe9059353e15a5a9b8318c32d2ebad792e7c9b7acaf54a8f3ea11a5de629f06d7bdb9cb3d5bff4f0621fe6a50683a
24 -DIST gnome-settings-daemon-3.24.2.tar.xz 1621368 SHA256 4aa9d72644e3ee8a30096a38986b0e9543fca92f586c561f6c8a11fb8148dcca SHA512 fa75a499750c9e8f8fd2c1af44d033e55f90f97ef39c4159fa58a2957aeae036b4ae505dede6333b640b0dfcd0400eacd3715aeb184fc021c1d787230b1a1f12 WHIRLPOOL 305f16567488b54be4f7ec359f4a1249c18de74e967a410e18fd4bc8b84748bd5146a3bd2b86852d9e6a37bc829b281e79a38c7a3cfcece5f80ae516d062780f
25 DIST gnome-settings-daemon-3.24.3.tar.xz 1583044 SHA256 68c46038bc32b7cbe933cc24fa9f1eb96127d9900c07627767ab0a802f948593 SHA512 2450c3bb31746fe4883f194094cf79e94207e74d39c992107244d89f36c3ea373a33a2dca4a55af138f03fb4abd8733da4bacb215e2202bbc0976b566f8529a6 WHIRLPOOL 90fa96f9e1c641a63ba4eac2160f6fbc141f31009eaa93be7a4d3737d086553bb5f3fec7a75c32c2e9a364071216a36c578948f60d89867b6e12f8d12948dab4
26
27 diff --git a/gnome-base/gnome-settings-daemon/files/3.24.2-fix-color-tests.patch b/gnome-base/gnome-settings-daemon/files/3.24.2-fix-color-tests.patch
28 deleted file mode 100644
29 index 70069589dae..00000000000
30 --- a/gnome-base/gnome-settings-daemon/files/3.24.2-fix-color-tests.patch
31 +++ /dev/null
32 @@ -1,85 +0,0 @@
33 -From 63b73af23efd97de34a9dde58938c5c772040974 Mon Sep 17 00:00:00 2001
34 -From: Iain Lane <iain@××××××××××××××××.uk>
35 -Date: Fri, 19 May 2017 16:38:07 +0100
36 -Subject: [PATCH] color: Make the testcase able to run uninstalled
37 -
38 -Distributions might want to be able to run their tests during package
39 -builds, for example.
40 -
41 -Compile the schema and set GSETTINGS_SCHEMA_DIR to the build dir.
42 -
43 -https://bugzilla.gnome.org/show_bug.cgi?id=782170
44 ----
45 - Makefile.am | 2 +-
46 - plugins/color/Makefile.am | 11 ++++++++++-
47 - plugins/color/gcm-self-test.c | 6 ++++++
48 - 3 files changed, 17 insertions(+), 2 deletions(-)
49 -
50 -diff --git a/Makefile.am b/Makefile.am
51 -index 0a32954..096c245 100644
52 ---- a/Makefile.am
53 -+++ b/Makefile.am
54 -@@ -2,8 +2,8 @@ NULL =
55 -
56 - SUBDIRS = \
57 - gnome-settings-daemon \
58 -- plugins \
59 - data \
60 -+ plugins \
61 - po \
62 - tests \
63 - $(NULL)
64 -diff --git a/plugins/color/Makefile.am b/plugins/color/Makefile.am
65 -index a280ba8..35dcad4 100644
66 ---- a/plugins/color/Makefile.am
67 -+++ b/plugins/color/Makefile.am
68 -@@ -30,6 +30,15 @@ gcm_self_test_LDADD = \
69 -
70 - TESTS = gcm-self-test
71 -
72 -+BUILT_SOURCES = gschemas.compiled
73 -+
74 -+CLEANFILES = gschemas.compiled
75 -+
76 -+gschemas.compiled: $(top_builddir)/data/org.gnome.settings-daemon.plugins.color.gschema.xml
77 -+ $(AM_V_GEN) $(GLIB_COMPILE_SCHEMAS) --schema-file=$< --targetdir=$(builddir)
78 -+
79 -+all-am: gschemas.compiled
80 -+
81 - libexec_PROGRAMS = gsd-color
82 - gsd_color_SOURCES = \
83 - main.c \
84 -@@ -80,7 +89,7 @@ EXTRA_DIST = \
85 - test-data/Lenovo-T61-Internal.bin \
86 - test-data/LG-L225W-External.bin
87 -
88 --CLEANFILES = \
89 -+CLEANFILES += \
90 - $(desktop_DATA)
91 -
92 - DISTCLEANFILES = \
93 -diff --git a/plugins/color/gcm-self-test.c b/plugins/color/gcm-self-test.c
94 -index 83c06c5..3f00b60 100644
95 ---- a/plugins/color/gcm-self-test.c
96 -+++ b/plugins/color/gcm-self-test.c
97 -@@ -281,11 +281,17 @@ gcm_test_frac_day (void)
98 - int
99 - main (int argc, char **argv)
100 - {
101 -+ char *schema_dir;
102 -+
103 - g_setenv ("GSETTINGS_BACKEND", "memory", TRUE);
104 -
105 - gtk_init (&argc, &argv);
106 - g_test_init (&argc, &argv, NULL);
107 -
108 -+ schema_dir = g_test_build_filename (G_TEST_BUILT, "", NULL);
109 -+ g_setenv("GSETTINGS_SCHEMA_DIR", schema_dir, TRUE);
110 -+ g_free (schema_dir);
111 -+
112 - g_test_add_func ("/color/edid", gcm_test_edid_func);
113 - g_test_add_func ("/color/sunset-sunrise", gcm_test_sunset_sunrise);
114 - g_test_add_func ("/color/sunset-sunrise/fractional-timezone", gcm_test_sunset_sunrise_fractional_timezone);
115 ---
116 -2.10.2
117 -
118
119 diff --git a/gnome-base/gnome-settings-daemon/gnome-settings-daemon-3.22.2.ebuild b/gnome-base/gnome-settings-daemon/gnome-settings-daemon-3.22.2.ebuild
120 deleted file mode 100644
121 index b748cd5fa44..00000000000
122 --- a/gnome-base/gnome-settings-daemon/gnome-settings-daemon-3.22.2.ebuild
123 +++ /dev/null
124 @@ -1,149 +0,0 @@
125 -# Copyright 1999-2017 Gentoo Foundation
126 -# Distributed under the terms of the GNU General Public License v2
127 -
128 -EAPI=6
129 -GNOME2_EAUTORECONF="yes"
130 -GNOME2_LA_PUNT="yes"
131 -PYTHON_COMPAT=( python{2_7,3_4,3_5} )
132 -
133 -inherit gnome2 python-any-r1 systemd udev virtualx
134 -
135 -DESCRIPTION="Gnome Settings Daemon"
136 -HOMEPAGE="https://git.gnome.org/browse/gnome-settings-daemon"
137 -
138 -LICENSE="GPL-2+"
139 -SLOT="0"
140 -IUSE="+colord +cups debug input_devices_wacom -openrc-force networkmanager policykit smartcard test +udev wayland"
141 -REQUIRED_USE="
142 - input_devices_wacom? ( udev )
143 - smartcard? ( udev )
144 -"
145 -KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-solaris"
146 -
147 -COMMON_DEPEND="
148 - >=dev-libs/glib-2.37.7:2[dbus]
149 - >=x11-libs/gtk+-3.15.3:3
150 - >=gnome-base/gnome-desktop-3.11.1:3=
151 - >=gnome-base/gsettings-desktop-schemas-3.20
152 - >=gnome-base/librsvg-2.36.2:2
153 - media-fonts/cantarell
154 - media-libs/alsa-lib
155 - media-libs/fontconfig
156 - media-libs/libcanberra[gtk3]
157 - >=media-sound/pulseaudio-2
158 - >=sys-power/upower-0.99:=
159 - x11-libs/cairo
160 - x11-libs/gdk-pixbuf:2
161 - >=x11-libs/libnotify-0.7.3:=
162 - x11-libs/libX11
163 - x11-libs/libxkbfile
164 - x11-libs/libXi
165 - x11-libs/libXext
166 - x11-libs/libXfixes
167 - x11-libs/libXtst
168 - x11-libs/libXxf86misc
169 - x11-misc/xkeyboard-config
170 -
171 - >=app-misc/geoclue-2.3.1:2.0
172 - >=dev-libs/libgweather-3.9.5:2=
173 - >=sci-geosciences/geocode-glib-3.10
174 - >=sys-auth/polkit-0.103
175 -
176 - colord? (
177 - >=media-libs/lcms-2.2:2
178 - >=x11-misc/colord-1.0.2:= )
179 - cups? ( >=net-print/cups-1.4[dbus] )
180 - input_devices_wacom? (
181 - >=dev-libs/libwacom-0.7
182 - >=x11-libs/pango-1.20
183 - x11-drivers/xf86-input-wacom
184 - virtual/libgudev:= )
185 - networkmanager? ( >=net-misc/networkmanager-1.0 )
186 - smartcard? ( >=dev-libs/nss-3.11.2 )
187 - udev? ( virtual/libgudev:= )
188 - wayland? ( dev-libs/wayland )
189 -"
190 -# Themes needed by g-s-d, gnome-shell, gtk+:3 apps to work properly
191 -# <gnome-color-manager-3.1.1 has file collisions with g-s-d-3.1.x
192 -# <gnome-power-manager-3.1.3 has file collisions with g-s-d-3.1.x
193 -# systemd needed for power and session management, bug #464944
194 -RDEPEND="${COMMON_DEPEND}
195 - gnome-base/dconf
196 - !openrc-force? ( sys-apps/systemd )
197 - !<gnome-base/gnome-control-center-2.22
198 - !<gnome-extra/gnome-color-manager-3.1.1
199 - !<gnome-extra/gnome-power-manager-3.1.3
200 -"
201 -# xproto-7.0.15 needed for power plugin
202 -# FIXME: tests require dbus-mock
203 -DEPEND="${COMMON_DEPEND}
204 - cups? ( sys-apps/sed )
205 - test? (
206 - ${PYTHON_DEPS}
207 - $(python_gen_any_dep 'dev-python/pygobject:3[${PYTHON_USEDEP}]')
208 - gnome-base/gnome-session )
209 - app-text/docbook-xsl-stylesheets
210 - dev-libs/libxml2:2
211 - dev-libs/libxslt
212 - sys-devel/gettext
213 - >=dev-util/intltool-0.40
214 - virtual/pkgconfig
215 - x11-proto/inputproto
216 - x11-proto/xf86miscproto
217 - >=x11-proto/xproto-7.0.15
218 -"
219 -
220 -PATCHES=(
221 - # Make colord and wacom optional; requires eautoreconf
222 - "${FILESDIR}"/${PN}-3.22.0-optional.patch
223 - # Allow specifying udevrulesdir via configure, bug 509484; requires eautoreconf
224 - "${FILESDIR}"/${PV}-udevrulesdir-configure.patch
225 -)
226 -
227 -python_check_deps() {
228 - if use test; then
229 - has_version "dev-python/pygobject:3[${PYTHON_USEDEP}]"
230 - fi
231 -}
232 -
233 -pkg_setup() {
234 - use test && python-any-r1_pkg_setup
235 -}
236 -
237 -src_configure() {
238 - gnome2_src_configure \
239 - --disable-static \
240 - --enable-man \
241 - --with-udevrulesdir="$(get_udevdir)"/rules.d \
242 - $(use_enable colord color) \
243 - $(use_enable cups) \
244 - $(use_enable debug) \
245 - $(use_enable debug more-warnings) \
246 - $(use_enable networkmanager network-manager) \
247 - $(use_enable smartcard smartcard-support) \
248 - $(use_enable udev gudev) \
249 - $(use_enable input_devices_wacom wacom) \
250 - $(use_enable wayland)
251 -}
252 -
253 -src_test() {
254 - virtx emake check
255 -}
256 -
257 -pkg_postinst() {
258 - gnome2_pkg_postinst
259 -
260 - if ! systemd_is_booted; then
261 - ewarn "${PN} needs Systemd to be *running* for working"
262 - ewarn "properly. Please follow the this guide to migrate:"
263 - ewarn "https://wiki.gentoo.org/wiki/Systemd"
264 - fi
265 -
266 - if use openrc-force; then
267 - ewarn "You are enabling 'openrc-force' USE flag to skip systemd requirement,"
268 - ewarn "this can lead to unexpected problems and is not supported neither by"
269 - ewarn "upstream neither by Gnome Gentoo maintainers. If you suffer any problem,"
270 - ewarn "you will need to disable this USE flag system wide and retest before"
271 - ewarn "opening any bug report."
272 - fi
273 -}
274
275 diff --git a/gnome-base/gnome-settings-daemon/gnome-settings-daemon-3.24.2.ebuild b/gnome-base/gnome-settings-daemon/gnome-settings-daemon-3.24.2.ebuild
276 deleted file mode 100644
277 index 2b68c5d1b65..00000000000
278 --- a/gnome-base/gnome-settings-daemon/gnome-settings-daemon-3.24.2.ebuild
279 +++ /dev/null
280 @@ -1,160 +0,0 @@
281 -# Copyright 1999-2017 Gentoo Foundation
282 -# Distributed under the terms of the GNU General Public License v2
283 -
284 -EAPI=6
285 -GNOME2_EAUTORECONF="yes"
286 -GNOME2_LA_PUNT="yes"
287 -#PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) # https://bugzilla.gnome.org/show_bug.cgi?id=783186
288 -PYTHON_COMPAT=( python2_7 )
289 -
290 -inherit gnome2 python-any-r1 systemd udev virtualx
291 -
292 -DESCRIPTION="Gnome Settings Daemon"
293 -HOMEPAGE="https://git.gnome.org/browse/gnome-settings-daemon"
294 -
295 -LICENSE="GPL-2+"
296 -SLOT="0"
297 -IUSE="+colord +cups debug input_devices_wacom -openrc-force networkmanager policykit smartcard test +udev wayland"
298 -REQUIRED_USE="
299 - input_devices_wacom? ( udev )
300 - smartcard? ( udev )
301 -"
302 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-solaris"
303 -
304 -COMMON_DEPEND="
305 - >=dev-libs/glib-2.44.0:2[dbus]
306 - >=x11-libs/gtk+-3.15.3:3[X]
307 - >=gnome-base/gnome-desktop-3.11.1:3=
308 - >=gnome-base/gsettings-desktop-schemas-3.23.3
309 - >=gnome-base/librsvg-2.36.2:2
310 - media-fonts/cantarell
311 - media-libs/alsa-lib
312 - media-libs/fontconfig
313 - media-libs/libcanberra[gtk3]
314 - >=media-sound/pulseaudio-2
315 - >=sys-power/upower-0.99:=
316 - x11-libs/cairo
317 - x11-libs/gdk-pixbuf:2
318 - >=x11-libs/libnotify-0.7.3:=
319 - x11-libs/libX11
320 - x11-libs/libxkbfile
321 - x11-libs/libXi
322 - x11-libs/libXext
323 - x11-libs/libXfixes
324 - x11-libs/libXtst
325 - x11-libs/libXxf86misc
326 - x11-misc/xkeyboard-config
327 -
328 - >=app-misc/geoclue-2.3.1:2.0
329 - >=dev-libs/libgweather-3.9.5:2=
330 - >=sci-geosciences/geocode-glib-3.10
331 - >=sys-auth/polkit-0.103
332 -
333 - colord? (
334 - >=media-libs/lcms-2.2:2
335 - >=x11-misc/colord-1.0.2:= )
336 - cups? ( >=net-print/cups-1.4[dbus] )
337 - input_devices_wacom? (
338 - >=dev-libs/libwacom-0.7
339 - >=x11-libs/pango-1.20
340 - x11-drivers/xf86-input-wacom
341 - virtual/libgudev:= )
342 - networkmanager? ( >=net-misc/networkmanager-1.0 )
343 - smartcard? ( >=dev-libs/nss-3.11.2 )
344 - udev? ( virtual/libgudev:= )
345 - wayland? ( dev-libs/wayland )
346 -"
347 -# Themes needed by g-s-d, gnome-shell, gtk+:3 apps to work properly
348 -# <gnome-color-manager-3.1.1 has file collisions with g-s-d-3.1.x
349 -# <gnome-power-manager-3.1.3 has file collisions with g-s-d-3.1.x
350 -# systemd needed for power and session management, bug #464944
351 -RDEPEND="${COMMON_DEPEND}
352 - gnome-base/dconf
353 - !openrc-force? ( sys-apps/systemd )
354 - !<gnome-base/gnome-control-center-2.22
355 - !<gnome-extra/gnome-color-manager-3.1.1
356 - !<gnome-extra/gnome-power-manager-3.1.3
357 - !<gnome-base/gnome-session-3.23.2
358 -"
359 -# xproto-7.0.15 needed for power plugin
360 -DEPEND="${COMMON_DEPEND}
361 - cups? ( sys-apps/sed )
362 - test? (
363 - ${PYTHON_DEPS}
364 - $(python_gen_any_dep 'dev-python/pygobject:3[${PYTHON_USEDEP}]')
365 - $(python_gen_any_dep 'dev-python/dbusmock[${PYTHON_USEDEP}]')
366 - gnome-base/gnome-session )
367 - dev-libs/libxml2:2
368 - sys-devel/gettext
369 - >=dev-util/intltool-0.40
370 - virtual/pkgconfig
371 - x11-proto/inputproto
372 - x11-proto/xf86miscproto
373 - x11-proto/kbproto
374 - >=x11-proto/xproto-7.0.15
375 -"
376 -
377 -# TypeErrors with python3; weird test errors with python2; all in power component that was made required now
378 -RESTRICT="test"
379 -# RESTRICT="!test? ( test )"
380 -
381 -PATCHES=(
382 - # Make colord and wacom optional; requires eautoreconf
383 - "${FILESDIR}"/${PV}-optional.patch
384 - # Allow specifying udevrulesdir via configure, bug 509484; requires eautoreconf
385 - "${FILESDIR}"/${PV}-udevrulesdir-configure.patch
386 - # Fix uninstalled (during build) color plugin test run
387 - "${FILESDIR}"/${PV}-fix-color-tests.patch
388 - # Reduce memory usage by not initing GTK+ where not needed
389 - "${FILESDIR}"/${PV}-remove-unneeded-gtk-init.patch
390 - # Reduce memory usage by using a fake CSS theme instead of full Adwaita for GTK+ needing plugins; requires eautoreconf
391 - "${FILESDIR}"/${PV}-reduce-memory-usage.patch
392 -)
393 -
394 -python_check_deps() {
395 - if use test; then
396 - has_version "dev-python/pygobject:3[${PYTHON_USEDEP}]" &&
397 - has_version "dev-python/dbusmock[${PYTHON_USEDEP}]"
398 - fi
399 -}
400 -
401 -pkg_setup() {
402 - use test && python-any-r1_pkg_setup
403 -}
404 -
405 -src_configure() {
406 - gnome2_src_configure \
407 - --disable-static \
408 - --with-udevrulesdir="$(get_udevdir)"/rules.d \
409 - $(use_enable colord color) \
410 - $(use_enable cups) \
411 - $(use_enable debug) \
412 - $(use_enable debug more-warnings) \
413 - $(use_enable networkmanager network-manager) \
414 - $(use_enable smartcard smartcard-support) \
415 - $(use_enable udev gudev) \
416 - $(use_enable input_devices_wacom wacom) \
417 - $(use_enable wayland)
418 -}
419 -
420 -src_test() {
421 - virtx emake check
422 -}
423 -
424 -pkg_postinst() {
425 - gnome2_pkg_postinst
426 -
427 - if ! systemd_is_booted; then
428 - ewarn "${PN} needs Systemd to be *running* for working"
429 - ewarn "properly. Please follow the this guide to migrate:"
430 - ewarn "https://wiki.gentoo.org/wiki/Systemd"
431 - fi
432 -
433 - if use openrc-force; then
434 - ewarn "You are enabling 'openrc-force' USE flag to skip systemd requirement,"
435 - ewarn "this can lead to unexpected problems and is not supported neither by"
436 - ewarn "upstream neither by Gnome Gentoo maintainers. If you suffer any problem,"
437 - ewarn "you will need to disable this USE flag system wide and retest before"
438 - ewarn "opening any bug report."
439 - fi
440 -}