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/gnome-settings-daemon/
Date: Tue, 25 Dec 2012 21:46:08
Message-Id: 1356471869.d452e6ffcbca7f285f8b568a5e813bcc3d9d2ecd.eva@gentoo
1 commit: d452e6ffcbca7f285f8b568a5e813bcc3d9d2ecd
2 Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
3 AuthorDate: Tue Dec 25 21:44:29 2012 +0000
4 Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
5 CommitDate: Tue Dec 25 21:44:29 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=d452e6ff
7
8 gnome-base/gnome-settings-daemon: moved to gx86
9
10 * Sync live ebuild with gx86 changes.
11
12 ---
13 .../gnome-settings-daemon-3.6.3.ebuild | 126 --------------------
14 .../gnome-settings-daemon-9999.ebuild | 55 +++++----
15 2 files changed, 28 insertions(+), 153 deletions(-)
16
17 diff --git a/gnome-base/gnome-settings-daemon/gnome-settings-daemon-3.6.3.ebuild b/gnome-base/gnome-settings-daemon/gnome-settings-daemon-3.6.3.ebuild
18 deleted file mode 100644
19 index 9512c1d..0000000
20 --- a/gnome-base/gnome-settings-daemon/gnome-settings-daemon-3.6.3.ebuild
21 +++ /dev/null
22 @@ -1,126 +0,0 @@
23 -# Copyright 1999-2012 Gentoo Foundation
24 -# Distributed under the terms of the GNU General Public License v2
25 -# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-settings-daemon/gnome-settings-daemon-3.4.2.ebuild,v 1.2 2012/08/07 08:59:55 tetromino Exp $
26 -
27 -EAPI="4"
28 -GCONF_DEBUG="no"
29 -GNOME2_LA_PUNT="yes"
30 -
31 -inherit autotools eutils gnome2 virtualx
32 -if [[ ${PV} = 9999 ]]; then
33 - inherit gnome2-live
34 -fi
35 -
36 -DESCRIPTION="Gnome Settings Daemon"
37 -HOMEPAGE="http://www.gnome.org"
38 -
39 -LICENSE="GPL-2"
40 -SLOT="0"
41 -IUSE="+colord +cups debug +i18n packagekit policykit +short-touchpad-timeout smartcard systemd +udev wacom"
42 -if [[ ${PV} = 9999 ]]; then
43 - KEYWORDS=""
44 -else
45 - KEYWORDS="~amd64 ~arm ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris"
46 -fi
47 -
48 -# colord-0.1.13 needed to avoid polkit errors in CreateProfile and CreateDevice
49 -COMMON_DEPEND="
50 - >=dev-libs/glib-2.31.0:2
51 - >=x11-libs/gtk+-3.3.4:3
52 - >=gnome-base/gnome-desktop-3.5.3:3
53 - >=gnome-base/gsettings-desktop-schemas-3.5.90
54 - media-fonts/cantarell
55 - media-libs/fontconfig
56 - >=media-libs/lcms-2.2:2
57 - media-libs/libcanberra[gtk3]
58 - >=media-sound/pulseaudio-0.9.16
59 - >=sys-power/upower-0.9.11
60 - x11-libs/cairo
61 - x11-libs/gdk-pixbuf:2
62 - >=x11-libs/libnotify-0.7.3
63 - x11-libs/libX11
64 - x11-libs/libxkbfile
65 - x11-libs/libXi
66 - x11-libs/libXext
67 - x11-libs/libXfixes
68 - x11-libs/libXtst
69 - x11-libs/libXxf86misc
70 - >=media-sound/pulseaudio-0.9.16
71 -
72 - colord? ( >=x11-misc/colord-0.1.13 )
73 - cups? ( >=net-print/cups-1.4[dbus] )
74 - i18n? ( >=app-i18n/ibus-1.4.99 )
75 - packagekit? (
76 - virtual/udev[gudev]
77 - >=app-admin/packagekit-base-0.7.4 )
78 - smartcard? (
79 - virtual/udev[gudev]
80 - >=dev-libs/nss-3.11.2 )
81 - systemd? ( >=sys-apps/systemd-31 )
82 - udev? ( virtual/udev[gudev] )
83 - wacom? (
84 - >=dev-libs/libwacom-0.6
85 - x11-drivers/xf86-input-wacom )
86 -"
87 -# Themes needed by g-s-d, gnome-shell, gtk+:3 apps to work properly
88 -# <gnome-color-manager-3.1.1 has file collisions with g-s-d-3.1.x
89 -# <gnome-power-manager-3.1.3 has file collisions with g-s-d-3.1.x
90 -RDEPEND="${COMMON_DEPEND}
91 - gnome-base/dconf
92 - >=x11-themes/gnome-themes-standard-2.91
93 - >=x11-themes/gnome-icon-theme-2.91
94 - >=x11-themes/gnome-icon-theme-symbolic-2.91
95 - !<gnome-base/gnome-control-center-2.22
96 - !<gnome-extra/gnome-color-manager-3.1.1
97 - !<gnome-extra/gnome-power-manager-3.1.3
98 -
99 - !systemd? ( sys-auth/consolekit )
100 -"
101 -# xproto-7.0.15 needed for power plugin
102 -DEPEND="${COMMON_DEPEND}
103 - cups? ( sys-apps/sed )
104 - dev-libs/libxml2:2
105 - sys-devel/gettext
106 - >=dev-util/intltool-0.40
107 - virtual/pkgconfig
108 - x11-proto/inputproto
109 - x11-proto/xf86miscproto
110 - >=x11-proto/xproto-7.0.15
111 -"
112 -
113 -src_prepare() {
114 - # README is empty
115 - DOCS="AUTHORS NEWS ChangeLog MAINTAINERS"
116 - G2CONF="${G2CONF}
117 - --disable-static
118 - --disable-schemas-compile
119 - --enable-man
120 - $(use_enable colord color)
121 - $(use_enable cups)
122 - $(use_enable debug)
123 - $(use_enable debug more-warnings)
124 - $(use_enable i18n ibus)
125 - $(use_enable packagekit)
126 - $(use_enable smartcard smartcard-support)
127 - $(use_enable systemd)
128 - $(use_enable udev gudev)
129 - $(use_enable wacom)"
130 -
131 - # https://bugzilla.gnome.org/show_bug.cgi?id=621836
132 - # Apparently this change severely affects touchpad usability for some
133 - # people, so revert it if USE=short-touchpad-timeout.
134 - # Revisit if/when upstream adds a setting for customizing the timeout.
135 - use short-touchpad-timeout &&
136 - epatch "${FILESDIR}/${PN}-3.5.91-short-touchpad-timeout.patch"
137 -
138 - # Make colord and wacom optional; requires eautoreconf
139 - epatch "${FILESDIR}/${PN}-3.5.91-optional-color-wacom.patch"
140 -
141 - [[ ${PV} != 9999 ]] && eautoreconf
142 -
143 - gnome2_src_prepare
144 -}
145 -
146 -src_test() {
147 - Xemake check
148 -}
149
150 diff --git a/gnome-base/gnome-settings-daemon/gnome-settings-daemon-9999.ebuild b/gnome-base/gnome-settings-daemon/gnome-settings-daemon-9999.ebuild
151 index 9512c1d..15ad767 100644
152 --- a/gnome-base/gnome-settings-daemon/gnome-settings-daemon-9999.ebuild
153 +++ b/gnome-base/gnome-settings-daemon/gnome-settings-daemon-9999.ebuild
154 @@ -1,8 +1,8 @@
155 # Copyright 1999-2012 Gentoo Foundation
156 # Distributed under the terms of the GNU General Public License v2
157 -# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-settings-daemon/gnome-settings-daemon-3.4.2.ebuild,v 1.2 2012/08/07 08:59:55 tetromino Exp $
158 +# $Header: $
159
160 -EAPI="4"
161 +EAPI="5"
162 GCONF_DEBUG="no"
163 GNOME2_LA_PUNT="yes"
164
165 @@ -20,14 +20,18 @@ IUSE="+colord +cups debug +i18n packagekit policykit +short-touchpad-timeout sma
166 if [[ ${PV} = 9999 ]]; then
167 KEYWORDS=""
168 else
169 - KEYWORDS="~amd64 ~arm ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris"
170 + KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris"
171 fi
172 +REQUIRED_USE="
173 + packagekit? ( udev )
174 + smartcard? ( udev )
175 +"
176
177 # colord-0.1.13 needed to avoid polkit errors in CreateProfile and CreateDevice
178 COMMON_DEPEND="
179 >=dev-libs/glib-2.31.0:2
180 >=x11-libs/gtk+-3.3.4:3
181 - >=gnome-base/gnome-desktop-3.5.3:3
182 + >=gnome-base/gnome-desktop-3.5.3:3=
183 >=gnome-base/gsettings-desktop-schemas-3.5.90
184 media-fonts/cantarell
185 media-libs/fontconfig
186 @@ -37,7 +41,7 @@ COMMON_DEPEND="
187 >=sys-power/upower-0.9.11
188 x11-libs/cairo
189 x11-libs/gdk-pixbuf:2
190 - >=x11-libs/libnotify-0.7.3
191 + >=x11-libs/libnotify-0.7.3:=
192 x11-libs/libX11
193 x11-libs/libxkbfile
194 x11-libs/libXi
195 @@ -45,17 +49,12 @@ COMMON_DEPEND="
196 x11-libs/libXfixes
197 x11-libs/libXtst
198 x11-libs/libXxf86misc
199 - >=media-sound/pulseaudio-0.9.16
200
201 colord? ( >=x11-misc/colord-0.1.13 )
202 cups? ( >=net-print/cups-1.4[dbus] )
203 i18n? ( >=app-i18n/ibus-1.4.99 )
204 - packagekit? (
205 - virtual/udev[gudev]
206 - >=app-admin/packagekit-base-0.7.4 )
207 - smartcard? (
208 - virtual/udev[gudev]
209 - >=dev-libs/nss-3.11.2 )
210 + packagekit? ( >=app-admin/packagekit-base-0.7.4 )
211 + smartcard? ( >=dev-libs/nss-3.11.2 )
212 systemd? ( >=sys-apps/systemd-31 )
213 udev? ( virtual/udev[gudev] )
214 wacom? (
215 @@ -89,11 +88,26 @@ DEPEND="${COMMON_DEPEND}
216 "
217
218 src_prepare() {
219 + # https://bugzilla.gnome.org/show_bug.cgi?id=621836
220 + # Apparently this change severely affects touchpad usability for some
221 + # people, so revert it if USE=short-touchpad-timeout.
222 + # Revisit if/when upstream adds a setting for customizing the timeout.
223 + use short-touchpad-timeout &&
224 + epatch "${FILESDIR}/${PN}-3.5.91-short-touchpad-timeout.patch"
225 +
226 + # Make colord and wacom optional; requires eautoreconf
227 + epatch "${FILESDIR}/${PN}-3.5.91-optional-color-wacom.patch"
228 +
229 + [[ ${PV} != 9999 ]] && eautoreconf
230 +
231 + gnome2_src_prepare
232 +}
233 +
234 +src_configure() {
235 # README is empty
236 DOCS="AUTHORS NEWS ChangeLog MAINTAINERS"
237 G2CONF="${G2CONF}
238 --disable-static
239 - --disable-schemas-compile
240 --enable-man
241 $(use_enable colord color)
242 $(use_enable cups)
243 @@ -105,20 +119,7 @@ src_prepare() {
244 $(use_enable systemd)
245 $(use_enable udev gudev)
246 $(use_enable wacom)"
247 -
248 - # https://bugzilla.gnome.org/show_bug.cgi?id=621836
249 - # Apparently this change severely affects touchpad usability for some
250 - # people, so revert it if USE=short-touchpad-timeout.
251 - # Revisit if/when upstream adds a setting for customizing the timeout.
252 - use short-touchpad-timeout &&
253 - epatch "${FILESDIR}/${PN}-3.5.91-short-touchpad-timeout.patch"
254 -
255 - # Make colord and wacom optional; requires eautoreconf
256 - epatch "${FILESDIR}/${PN}-3.5.91-optional-color-wacom.patch"
257 -
258 - [[ ${PV} != 9999 ]] && eautoreconf
259 -
260 - gnome2_src_prepare
261 + gnome2_src_configure
262 }
263
264 src_test() {