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/, gnome-base/gnome-settings-daemon/files/
Date: Tue, 30 Oct 2012 21:29:06
Message-Id: 1351632473.cb8b7ec2d79adae9e5be0ae831d4d9ade627f22f.eva@gentoo
1 commit: cb8b7ec2d79adae9e5be0ae831d4d9ade627f22f
2 Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
3 AuthorDate: Tue Oct 30 21:24:10 2012 +0000
4 Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
5 CommitDate: Tue Oct 30 21:27:53 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=cb8b7ec2
7
8 gnome-base/gnome-settings-daemon: 3.6.0-r1 → 3.6.1
9
10 Drop dconf varible env.d creation since it is handled by dconf ebuild.
11
12 ---
13 .../gnome-settings-daemon-3.6.0-crashfix.patch | 29 --------------------
14 ...1.ebuild => gnome-settings-daemon-3.6.1.ebuild} | 26 ++++++-----------
15 .../gnome-settings-daemon-9999.ebuild | 23 ++++++---------
16 gnome-base/gnome-settings-daemon/metadata.xml | 19 +++++++++++++
17 4 files changed, 37 insertions(+), 60 deletions(-)
18
19 diff --git a/gnome-base/gnome-settings-daemon/files/gnome-settings-daemon-3.6.0-crashfix.patch b/gnome-base/gnome-settings-daemon/files/gnome-settings-daemon-3.6.0-crashfix.patch
20 deleted file mode 100644
21 index 3980fbd..0000000
22 --- a/gnome-base/gnome-settings-daemon/files/gnome-settings-daemon-3.6.0-crashfix.patch
23 +++ /dev/null
24 @@ -1,29 +0,0 @@
25 -From dcfe290500e0d68a71f09e576e28c09f7572cef6 Mon Sep 17 00:00:00 2001
26 -From: Bastien Nocera <hadess@××××××.net>
27 -Date: Fri, 21 Sep 2012 11:46:34 +0000
28 -Subject: housekeeping: Don't crash on exit
29 -
30 -If a notification popup was shown, and then dismissed, notification
31 -wouldn't have been reset, and we would crash on exit trying to
32 -dismiss it.
33 -
34 -https://bugzilla.redhat.com/show_bug.cgi?id=859383
35 -https://bugzilla.gnome.org/show_bug.cgi?id=684548
36 -
37 -Also includes 63b8c025d446b1a8d7c5fdee92d624dd604f3a24 (typo fix)
38 -
39 ----
40 -diff --git a/plugins/housekeeping/gsd-disk-space.c b/plugins/housekeeping/gsd-disk-space.c
41 -index 4c6b3c5..51e4a8e 100644
42 ---- a/plugins/housekeeping/gsd-disk-space.c
43 -+++ b/plugins/housekeeping/gsd-disk-space.c
44 -@@ -294,6 +294,7 @@ static void
45 - on_notification_closed (NotifyNotification *notification)
46 - {
47 - g_object_unref (notification);
48 -+ notification = NULL;
49 - }
50 -
51 - static gboolean
52 ---
53 -cgit v0.9.0.2
54
55 diff --git a/gnome-base/gnome-settings-daemon/gnome-settings-daemon-3.6.0-r1.ebuild b/gnome-base/gnome-settings-daemon/gnome-settings-daemon-3.6.1.ebuild
56 similarity index 90%
57 rename from gnome-base/gnome-settings-daemon/gnome-settings-daemon-3.6.0-r1.ebuild
58 rename to gnome-base/gnome-settings-daemon/gnome-settings-daemon-3.6.1.ebuild
59 index 016f92b..b7f5c48 100644
60 --- a/gnome-base/gnome-settings-daemon/gnome-settings-daemon-3.6.0-r1.ebuild
61 +++ b/gnome-base/gnome-settings-daemon/gnome-settings-daemon-3.6.1.ebuild
62 @@ -58,8 +58,10 @@ COMMON_DEPEND="
63 >=dev-libs/nss-3.11.2 )
64 systemd? ( >=sys-apps/systemd-31 )
65 udev? ( sys-fs/udev[gudev] )
66 - wacom? ( >=dev-libs/libwacom-0.6
67 - x11-drivers/xf86-input-wacom )"
68 + wacom? (
69 + >=dev-libs/libwacom-0.6
70 + x11-drivers/xf86-input-wacom )
71 +"
72 # Themes needed by g-s-d, gnome-shell, gtk+:3 apps to work properly
73 # <gnome-color-manager-3.1.1 has file collisions with g-s-d-3.1.x
74 # <gnome-power-manager-3.1.3 has file collisions with g-s-d-3.1.x
75 @@ -72,7 +74,8 @@ RDEPEND="${COMMON_DEPEND}
76 !<gnome-extra/gnome-color-manager-3.1.1
77 !<gnome-extra/gnome-power-manager-3.1.3
78
79 - !systemd? ( sys-auth/consolekit )"
80 + !systemd? ( sys-auth/consolekit )
81 +"
82 # xproto-7.0.15 needed for power plugin
83 DEPEND="${COMMON_DEPEND}
84 cups? ( sys-apps/sed )
85 @@ -82,9 +85,10 @@ DEPEND="${COMMON_DEPEND}
86 virtual/pkgconfig
87 x11-proto/inputproto
88 x11-proto/xf86miscproto
89 - >=x11-proto/xproto-7.0.15"
90 + >=x11-proto/xproto-7.0.15
91 +"
92
93 -pkg_setup() {
94 +src_prepare() {
95 # README is empty
96 DOCS="AUTHORS NEWS ChangeLog MAINTAINERS"
97 G2CONF="${G2CONF}
98 @@ -101,9 +105,7 @@ pkg_setup() {
99 $(use_enable systemd)
100 $(use_enable udev gudev)
101 $(use_enable wacom)"
102 -}
103
104 -src_prepare() {
105 # https://bugzilla.gnome.org/show_bug.cgi?id=621836
106 # Apparently this change severely affects touchpad usability for some
107 # people, so revert it if USE=short-touchpad-timeout.
108 @@ -114,9 +116,6 @@ src_prepare() {
109 # Make colord and wacom optional; requires eautoreconf
110 epatch "${FILESDIR}/${PN}-3.5.91-optional-color-wacom.patch"
111
112 - # Fixes crash; in next release
113 - epatch "${FILESDIR}/${P}-crashfix.patch"
114 -
115 [[ ${PV} != 9999 ]] && eautoreconf
116
117 gnome2_src_prepare
118 @@ -125,10 +124,3 @@ src_prepare() {
119 src_test() {
120 Xemake check
121 }
122 -
123 -src_install() {
124 - gnome2_src_install
125 -
126 - echo 'GSETTINGS_BACKEND="dconf"' >> 51gsettings-dconf
127 - doenvd 51gsettings-dconf
128 -}
129
130 diff --git a/gnome-base/gnome-settings-daemon/gnome-settings-daemon-9999.ebuild b/gnome-base/gnome-settings-daemon/gnome-settings-daemon-9999.ebuild
131 index 162a4de..b7f5c48 100644
132 --- a/gnome-base/gnome-settings-daemon/gnome-settings-daemon-9999.ebuild
133 +++ b/gnome-base/gnome-settings-daemon/gnome-settings-daemon-9999.ebuild
134 @@ -58,8 +58,10 @@ COMMON_DEPEND="
135 >=dev-libs/nss-3.11.2 )
136 systemd? ( >=sys-apps/systemd-31 )
137 udev? ( sys-fs/udev[gudev] )
138 - wacom? ( >=dev-libs/libwacom-0.6
139 - x11-drivers/xf86-input-wacom )"
140 + wacom? (
141 + >=dev-libs/libwacom-0.6
142 + x11-drivers/xf86-input-wacom )
143 +"
144 # Themes needed by g-s-d, gnome-shell, gtk+:3 apps to work properly
145 # <gnome-color-manager-3.1.1 has file collisions with g-s-d-3.1.x
146 # <gnome-power-manager-3.1.3 has file collisions with g-s-d-3.1.x
147 @@ -72,7 +74,8 @@ RDEPEND="${COMMON_DEPEND}
148 !<gnome-extra/gnome-color-manager-3.1.1
149 !<gnome-extra/gnome-power-manager-3.1.3
150
151 - !systemd? ( sys-auth/consolekit )"
152 + !systemd? ( sys-auth/consolekit )
153 +"
154 # xproto-7.0.15 needed for power plugin
155 DEPEND="${COMMON_DEPEND}
156 cups? ( sys-apps/sed )
157 @@ -82,9 +85,10 @@ DEPEND="${COMMON_DEPEND}
158 virtual/pkgconfig
159 x11-proto/inputproto
160 x11-proto/xf86miscproto
161 - >=x11-proto/xproto-7.0.15"
162 + >=x11-proto/xproto-7.0.15
163 +"
164
165 -pkg_setup() {
166 +src_prepare() {
167 # README is empty
168 DOCS="AUTHORS NEWS ChangeLog MAINTAINERS"
169 G2CONF="${G2CONF}
170 @@ -101,9 +105,7 @@ pkg_setup() {
171 $(use_enable systemd)
172 $(use_enable udev gudev)
173 $(use_enable wacom)"
174 -}
175
176 -src_prepare() {
177 # https://bugzilla.gnome.org/show_bug.cgi?id=621836
178 # Apparently this change severely affects touchpad usability for some
179 # people, so revert it if USE=short-touchpad-timeout.
180 @@ -122,10 +124,3 @@ src_prepare() {
181 src_test() {
182 Xemake check
183 }
184 -
185 -src_install() {
186 - gnome2_src_install
187 -
188 - echo 'GSETTINGS_BACKEND="dconf"' >> 51gsettings-dconf
189 - doenvd 51gsettings-dconf
190 -}
191
192 diff --git a/gnome-base/gnome-settings-daemon/metadata.xml b/gnome-base/gnome-settings-daemon/metadata.xml
193 new file mode 100644
194 index 0000000..7e1cb01
195 --- /dev/null
196 +++ b/gnome-base/gnome-settings-daemon/metadata.xml
197 @@ -0,0 +1,19 @@
198 +<?xml version="1.0" encoding="UTF-8"?>
199 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
200 +<pkgmetadata>
201 + <herd>gnome</herd>
202 + <use>
203 + <flag name="colord">Support color management using
204 + <pkg>x11-misc/colord</pkg></flag>
205 + <flag name="i18n">Enable support for enhanced input methods through
206 + <pkg>app-i18n/ibus</pkg></flag>
207 + <flag name="packagekit">Enable support for the distro-neutral package
208 + manager GUI <pkg>app-admin/packagekit</pkg></flag>
209 + <flag name="short-touchpad-timeout">Change the touchpad timeout so that
210 + it's effective for fast typists</flag>
211 + <flag name="systemd">Use <pkg>sys-apps/systemd</pkg> instead of
212 + <pkg>sys-auth/consolekit</pkg> for session tracking</flag>
213 + <flag name="wacom">Enable support for Wacom tablets and drawing
214 + devices</flag>
215 + </use>
216 +</pkgmetadata>