1 |
commit: ba69b80f09dd451f7a6a427db401524b327f867e |
2 |
Author: Nirbheek Chauhan <nirbheek <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Oct 28 17:04:03 2011 +0000 |
4 |
Commit: Nirbheek Chauhan <nirbheek <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Oct 28 17:04:03 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=dev/nirbheek.git;a=commit;h=ba69b80f |
7 |
|
8 |
Revert "Remove obsolete packages" |
9 |
|
10 |
This reverts commit f578d94eed23cc311211f3b5993f7f4bf27edc07. |
11 |
|
12 |
--- |
13 |
sys-power/upower/Manifest | 7 + |
14 |
.../files/upower-0.9.6-introspection-2.patch | 168 ++++++++++++++++++++ |
15 |
.../upower/files/upower-0.9.6-introspection.patch | 30 ++++ |
16 |
.../upower/files/upower-0.9.7-linux-2.6.36.patch | 26 +++ |
17 |
.../upower-dell-samsung-sdi-battery-quirk.patch | 78 +++++++++ |
18 |
sys-power/upower/metadata.xml | 11 ++ |
19 |
sys-power/upower/upower-0.9.12.ebuild | 84 ++++++++++ |
20 |
x11-themes/gtk-engines-moblin/Manifest | 2 + |
21 |
.../gtk-engines-moblin-0.4.1.ebuild | 34 ++++ |
22 |
x11-themes/moblin-cursor-theme/Manifest | 2 + |
23 |
.../moblin-cursor-theme-0.3.ebuild | 50 ++++++ |
24 |
x11-themes/moblin-icon-theme/Manifest | 2 + |
25 |
.../moblin-icon-theme/moblin-icon-theme-0.7.ebuild | 47 ++++++ |
26 |
13 files changed, 541 insertions(+), 0 deletions(-) |
27 |
|
28 |
diff --git a/sys-power/upower/Manifest b/sys-power/upower/Manifest |
29 |
new file mode 100644 |
30 |
index 0000000..5ba57bb |
31 |
--- /dev/null |
32 |
+++ b/sys-power/upower/Manifest |
33 |
@@ -0,0 +1,7 @@ |
34 |
+AUX upower-0.9.6-introspection-2.patch 4913 RMD160 8c564657c46ed8fb462ac897662b2f0dff085662 SHA1 4ecce4e42b977bd06d44dc81357019afbcab7359 SHA256 1bbb8272c3eb7fd377857a60804a97fa8f93c1b41ed474eaece4b30118197937 |
35 |
+AUX upower-0.9.6-introspection.patch 1211 RMD160 1c5f68cd72181e7e98b43e847add7054d7372dd2 SHA1 9fbf83d4a6226e9c5eb9059ac4b907043e70c344 SHA256 4325436699554dae5cc5c3ac4768d40a44f4a708f2f4d3e90ee896c341f72dad |
36 |
+AUX upower-0.9.7-linux-2.6.36.patch 871 RMD160 79aacb81bd413ac92016c6e46cc4415c5ee6b6dd SHA1 4d553a05c3e907f6da2d021d9f6c011aecff3ed9 SHA256 f3a806575c9bffde8bcd8df982c4a8cf57f204a85b40d9cb1851fe01a32911b5 |
37 |
+AUX upower-dell-samsung-sdi-battery-quirk.patch 2689 RMD160 8766aafffd5a8ce8ca58c6eb7fbe03231878c963 SHA1 54a59e0ca780125518f251e41728f0fe72733f33 SHA256 160d05b1da8a67cad5807c61a7da1aa2229a29d1ccc87b5a035f8bcf4267f5e6 |
38 |
+DIST upower-0.9.12.tar.xz 389372 RMD160 2f3de1c13ad9faeef014a67fa378888910c68055 SHA1 d8983042347b4f8f84e27000d64d1418593a7b65 SHA256 06e7bb323c93a8e377a3cc5000b8deafdd22c92f3d2f3ef7f1a1f74d8e134bb0 |
39 |
+EBUILD upower-0.9.12.ebuild 2146 RMD160 ebbf82fe95cce0a05fcc1b6ac5a6f2cfef01dc43 SHA1 49e1f341abf4a550702eee82d5cdb5bef53081e9 SHA256 1e00f7dd8d60522d8dc9bdd268b4b8a0bbd1c6541831cc39d76839a484867fb2 |
40 |
+MISC metadata.xml 363 RMD160 7210445bae10f2ddf76edaa8e7144227a03c5de1 SHA1 76f5af45c1a11584d24878ee65e6773757cfa014 SHA256 b24b22d2e371b3ee7165cd9ae1ca6fac72aee10e107c192a4e94686ba95b9093 |
41 |
|
42 |
diff --git a/sys-power/upower/files/upower-0.9.6-introspection-2.patch b/sys-power/upower/files/upower-0.9.6-introspection-2.patch |
43 |
new file mode 100644 |
44 |
index 0000000..7bdf577 |
45 |
--- /dev/null |
46 |
+++ b/sys-power/upower/files/upower-0.9.6-introspection-2.patch |
47 |
@@ -0,0 +1,168 @@ |
48 |
+From 58f3d9fbdff88173276f05e0d6da2cf864758381 Mon Sep 17 00:00:00 2001 |
49 |
+From: Richard Hughes <richard@×××××××.com> |
50 |
+Date: Tue, 05 Oct 2010 10:13:09 +0000 |
51 |
+Subject: Fix up all the warnings when building with new versions of gobject-introspection |
52 |
+ |
53 |
+--- |
54 |
+diff --git a/libupower-glib/up-client.c b/libupower-glib/up-client.c |
55 |
+index 13d5bf7..01ceeb8 100644 |
56 |
+--- a/libupower-glib/up-client.c |
57 |
++++ b/libupower-glib/up-client.c |
58 |
+@@ -120,7 +120,7 @@ up_client_get_device (UpClient *client, const gchar *object_path) |
59 |
+ * You must have called up_client_enumerate_devices_sync() before calling this |
60 |
+ * function. |
61 |
+ * |
62 |
+- * Return value: an array of #UpDevice objects, free with g_ptr_array_unref() |
63 |
++ * Return value: (transfer full): an array of #UpDevice objects, free with g_ptr_array_unref() |
64 |
+ * |
65 |
+ * Since: 0.9.0 |
66 |
+ **/ |
67 |
+diff --git a/libupower-glib/up-device.c b/libupower-glib/up-device.c |
68 |
+index 41097b2..999f25b 100644 |
69 |
+--- a/libupower-glib/up-device.c |
70 |
++++ b/libupower-glib/up-device.c |
71 |
+@@ -568,7 +568,7 @@ out: |
72 |
+ * |
73 |
+ * Gets the device history. |
74 |
+ * |
75 |
+- * Return value: an array of #UpHistoryItem's, else #NULL and @error is used |
76 |
++ * Return value: (transfer full): an array of #UpHistoryItem's, else #NULL and @error is used |
77 |
+ * |
78 |
+ * Since: 0.9.0 |
79 |
+ **/ |
80 |
+@@ -653,7 +653,7 @@ out: |
81 |
+ * |
82 |
+ * Gets the device current statistics. |
83 |
+ * |
84 |
+- * Return value: an array of #UpStatsItem's, else #NULL and @error is used |
85 |
++ * Return value: (transfer full): an array of #UpStatsItem's, else #NULL and @error is used |
86 |
+ * |
87 |
+ * Since: 0.9.0 |
88 |
+ **/ |
89 |
+diff --git a/libupower-glib/up-wakeup-item.c b/libupower-glib/up-wakeup-item.c |
90 |
+index 776473b..7060a3d 100644 |
91 |
+--- a/libupower-glib/up-wakeup-item.c |
92 |
++++ b/libupower-glib/up-wakeup-item.c |
93 |
+@@ -66,7 +66,7 @@ G_DEFINE_TYPE (UpWakeupItem, up_wakeup_item, G_TYPE_OBJECT) |
94 |
+ |
95 |
+ /** |
96 |
+ * up_wakeup_item_get_is_userspace: |
97 |
+- * @history_item: #UpWakeupItem |
98 |
++ * @wakeup_item: #UpWakeupItem |
99 |
+ * |
100 |
+ * Gets if the item is userspace. |
101 |
+ * |
102 |
+@@ -83,7 +83,7 @@ up_wakeup_item_get_is_userspace (UpWakeupItem *wakeup_item) |
103 |
+ |
104 |
+ /** |
105 |
+ * up_wakeup_item_set_is_userspace: |
106 |
+- * @history_item: #UpWakeupItem |
107 |
++ * @wakeup_item: #UpWakeupItem |
108 |
+ * @is_userspace: the new value |
109 |
+ * |
110 |
+ * Sets if the item is userspace. |
111 |
+@@ -100,7 +100,7 @@ up_wakeup_item_set_is_userspace (UpWakeupItem *wakeup_item, gboolean is_userspac |
112 |
+ |
113 |
+ /** |
114 |
+ * up_wakeup_item_get_id: |
115 |
+- * @history_item: #UpWakeupItem |
116 |
++ * @wakeup_item: #UpWakeupItem |
117 |
+ * |
118 |
+ * Gets the item id. |
119 |
+ * |
120 |
+@@ -117,7 +117,7 @@ up_wakeup_item_get_id (UpWakeupItem *wakeup_item) |
121 |
+ |
122 |
+ /** |
123 |
+ * up_wakeup_item_set_id: |
124 |
+- * @history_item: #UpWakeupItem |
125 |
++ * @wakeup_item: #UpWakeupItem |
126 |
+ * @id: the new value |
127 |
+ * |
128 |
+ * Sets the item id. |
129 |
+@@ -134,7 +134,7 @@ up_wakeup_item_set_id (UpWakeupItem *wakeup_item, guint id) |
130 |
+ |
131 |
+ /** |
132 |
+ * up_wakeup_item_get_old: |
133 |
+- * @history_item: #UpWakeupItem |
134 |
++ * @wakeup_item: #UpWakeupItem |
135 |
+ * |
136 |
+ * Gets the item old. |
137 |
+ * |
138 |
+@@ -151,7 +151,7 @@ up_wakeup_item_get_old (UpWakeupItem *wakeup_item) |
139 |
+ |
140 |
+ /** |
141 |
+ * up_wakeup_item_set_old: |
142 |
+- * @history_item: #UpWakeupItem |
143 |
++ * @wakeup_item: #UpWakeupItem |
144 |
+ * @old: the new value |
145 |
+ * |
146 |
+ * Sets the item old. |
147 |
+@@ -168,7 +168,7 @@ up_wakeup_item_set_old (UpWakeupItem *wakeup_item, guint old) |
148 |
+ |
149 |
+ /** |
150 |
+ * up_wakeup_item_get_value: |
151 |
+- * @history_item: #UpWakeupItem |
152 |
++ * @wakeup_item: #UpWakeupItem |
153 |
+ * |
154 |
+ * Gets the item value. |
155 |
+ * |
156 |
+@@ -185,7 +185,7 @@ up_wakeup_item_get_value (UpWakeupItem *wakeup_item) |
157 |
+ |
158 |
+ /** |
159 |
+ * up_wakeup_item_set_value: |
160 |
+- * @history_item: #UpWakeupItem |
161 |
++ * @wakeup_item: #UpWakeupItem |
162 |
+ * @value: the new value |
163 |
+ * |
164 |
+ * Sets the item value. |
165 |
+@@ -202,7 +202,7 @@ up_wakeup_item_set_value (UpWakeupItem *wakeup_item, gdouble value) |
166 |
+ |
167 |
+ /** |
168 |
+ * up_wakeup_item_get_cmdline: |
169 |
+- * @history_item: #UpWakeupItem |
170 |
++ * @wakeup_item: #UpWakeupItem |
171 |
+ * |
172 |
+ * Gets the item cmdline. |
173 |
+ * |
174 |
+@@ -219,7 +219,7 @@ up_wakeup_item_get_cmdline (UpWakeupItem *wakeup_item) |
175 |
+ |
176 |
+ /** |
177 |
+ * up_wakeup_item_set_cmdline: |
178 |
+- * @history_item: #UpWakeupItem |
179 |
++ * @wakeup_item: #UpWakeupItem |
180 |
+ * @cmdline: the new value |
181 |
+ * |
182 |
+ * Sets the item cmdline. |
183 |
+@@ -237,7 +237,7 @@ up_wakeup_item_set_cmdline (UpWakeupItem *wakeup_item, const gchar *cmdline) |
184 |
+ |
185 |
+ /** |
186 |
+ * up_wakeup_item_get_details: |
187 |
+- * @history_item: #UpWakeupItem |
188 |
++ * @wakeup_item: #UpWakeupItem |
189 |
+ * |
190 |
+ * Gets the item details. |
191 |
+ * |
192 |
+@@ -254,7 +254,7 @@ up_wakeup_item_get_details (UpWakeupItem *wakeup_item) |
193 |
+ |
194 |
+ /** |
195 |
+ * up_wakeup_item_set_details: |
196 |
+- * @history_item: #UpWakeupItem |
197 |
++ * @wakeup_item: #UpWakeupItem |
198 |
+ * @details: the new value |
199 |
+ * |
200 |
+ * Sets the item details. |
201 |
+diff --git a/libupower-glib/up-wakeups.c b/libupower-glib/up-wakeups.c |
202 |
+index 1388eab..2843891 100644 |
203 |
+--- a/libupower-glib/up-wakeups.c |
204 |
++++ b/libupower-glib/up-wakeups.c |
205 |
+@@ -95,7 +95,7 @@ up_wakeups_get_total_sync (UpWakeups *wakeups, GCancellable *cancellable, GError |
206 |
+ * |
207 |
+ * Gets the wakeups data from the daemon. |
208 |
+ * |
209 |
+- * Return value: an array of %UpWakeupItem's |
210 |
++ * Return value: (transfer full): an array of %UpWakeupItem's |
211 |
+ * |
212 |
+ * Since: 0.9.1 |
213 |
+ **/ |
214 |
+-- |
215 |
+cgit v0.8.3-6-g21f6 |
216 |
|
217 |
diff --git a/sys-power/upower/files/upower-0.9.6-introspection.patch b/sys-power/upower/files/upower-0.9.6-introspection.patch |
218 |
new file mode 100644 |
219 |
index 0000000..53dbe03 |
220 |
--- /dev/null |
221 |
+++ b/sys-power/upower/files/upower-0.9.6-introspection.patch |
222 |
@@ -0,0 +1,30 @@ |
223 |
+From cfd3641501b23ae68beb9656489e8c3077c3dad5 Mon Sep 17 00:00:00 2001 |
224 |
+From: Edward Sheldrake <ejsheldrake@×××××.com> |
225 |
+Date: Tue, 05 Oct 2010 10:03:42 +0000 |
226 |
+Subject: Fix building with gobject-introspection 0.9.10 |
227 |
+ |
228 |
+--- |
229 |
+diff --git a/libupower-glib/Makefile.am b/libupower-glib/Makefile.am |
230 |
+index 83322c4..652f2de 100644 |
231 |
+--- a/libupower-glib/Makefile.am |
232 |
++++ b/libupower-glib/Makefile.am |
233 |
+@@ -60,14 +60,15 @@ EXTRA_DIST = \ |
234 |
+ CLEANFILES = $(BUILT_SOURCES) |
235 |
+ |
236 |
+ if HAVE_INTROSPECTION |
237 |
+-introspection_sources = $(libupower_glib_la_SOURCES) |
238 |
++introspection_sources = $(libupower_glib_include_HEADERS) $(libupower_glib_la_SOURCES) |
239 |
+ |
240 |
+ UPowerGlib-1.0.gir: libupower-glib.la |
241 |
+ UPowerGlib_1_0_gir_INCLUDES = GObject-2.0 Gio-2.0 |
242 |
+ UPowerGlib_1_0_gir_CFLAGS = $(INCLUDES) |
243 |
+-PackageKitGlib_1_0_gir_SCANNERFLAGS = --identifier-prefix=Up --warn-all --add-include-path=$(srcdir) |
244 |
++UPowerGlib_1_0_gir_SCANNERFLAGS = --identifier-prefix=Up --symbol-prefix=up_ --warn-all --add-include-path=$(srcdir) |
245 |
+ UPowerGlib_1_0_gir_LIBS = libupower-glib.la |
246 |
+ UPowerGlib_1_0_gir_FILES = $(introspection_sources) |
247 |
++UPowerGlib_1_0_gir_NAMESPACE = UPowerGlib |
248 |
+ INTROSPECTION_GIRS += UPowerGlib-1.0.gir |
249 |
+ |
250 |
+ girdir = $(datadir)/gir-1.0 |
251 |
+-- |
252 |
+cgit v0.8.3-6-g21f6 |
253 |
|
254 |
diff --git a/sys-power/upower/files/upower-0.9.7-linux-2.6.36.patch b/sys-power/upower/files/upower-0.9.7-linux-2.6.36.patch |
255 |
new file mode 100644 |
256 |
index 0000000..7510276 |
257 |
--- /dev/null |
258 |
+++ b/sys-power/upower/files/upower-0.9.7-linux-2.6.36.patch |
259 |
@@ -0,0 +1,26 @@ |
260 |
+From 04dd349103ac1db8660d5c4fd86e91e3b488650c Mon Sep 17 00:00:00 2001 |
261 |
+From: Martin Pitt <martin.pitt@××××××.com> |
262 |
+Date: Thu, 04 Nov 2010 22:45:10 +0000 |
263 |
+Subject: Fix compilation eror against Linux 2.6.36 |
264 |
+ |
265 |
+Include <stdint.h> so that <linux/fs.h> can use uint64_t. Arguably a bug in the |
266 |
+kernel headers, but it costs us nothing to safeguard against it. |
267 |
+ |
268 |
+ CC libupshared_la-up-device-idevice.lo |
269 |
+In file included from sysfs-utils.c:39:0: |
270 |
+/usr/include/linux/fs.h:37:2: error: expected specifier-qualifier-list before ‘uint64_t’ |
271 |
+--- |
272 |
+diff --git a/src/linux/sysfs-utils.c b/src/linux/sysfs-utils.c |
273 |
+index 01c3623..efba253 100644 |
274 |
+--- a/src/linux/sysfs-utils.c |
275 |
++++ b/src/linux/sysfs-utils.c |
276 |
+@@ -36,6 +36,7 @@ |
277 |
+ #include <fcntl.h> |
278 |
+ #include <pwd.h> |
279 |
+ #include <grp.h> |
280 |
++#include <stdint.h> |
281 |
+ #include <linux/fs.h> |
282 |
+ #include <sys/ioctl.h> |
283 |
+ #include <glib.h> |
284 |
+-- |
285 |
+cgit v0.8.3-6-g21f6 |
286 |
|
287 |
diff --git a/sys-power/upower/files/upower-dell-samsung-sdi-battery-quirk.patch b/sys-power/upower/files/upower-dell-samsung-sdi-battery-quirk.patch |
288 |
new file mode 100644 |
289 |
index 0000000..24fb764 |
290 |
--- /dev/null |
291 |
+++ b/sys-power/upower/files/upower-dell-samsung-sdi-battery-quirk.patch |
292 |
@@ -0,0 +1,78 @@ |
293 |
+From 7849ca66af7f74bfdba968e979c4596c9e99ff3d Mon Sep 17 00:00:00 2001 |
294 |
+From: Nirbheek Chauhan <nirbheek@g.o> |
295 |
+Date: Sub, 29 May 2011 15:43:22 +0530 |
296 |
+Subject: [PATCH] Add Dell laptop battery always-discharging quirk |
297 |
+ |
298 |
+Once full, some Dell laptop batteries show battery state as "fully-charged" for |
299 |
+a second, and then set battery state as "Discharging". However, the "on-battery" |
300 |
+status is correct. Try to do some guesswork for this case. |
301 |
+ |
302 |
+Was observed with the following battery: |
303 |
+ |
304 |
+vendor: SAMSUNG SDI |
305 |
+model: DELL U600P04 |
306 |
+serial: 0000 |
307 |
+technology: lithium-ion |
308 |
+ |
309 |
+https://bugs.freedesktop.org/show_bug.cgi?id=31196 |
310 |
+--- |
311 |
+ src/linux/up-device-supply.c | 37 ++++++++++++++++++++++++++++++++++++++++ |
312 |
+ 1 files changed, 37 insertions(+), 0 deletions(-) |
313 |
+ |
314 |
+diff --git a/src/linux/up-device-supply.c b/src/linux/up-device-supply.c |
315 |
+index 341f5df..4294e04 100644 |
316 |
+--- a/src/linux/up-device-supply.c |
317 |
++++ b/src/linux/up-device-supply.c |
318 |
+@@ -402,6 +402,8 @@ up_device_supply_refresh_battery (UpDeviceSupply *supply) |
319 |
+ UpDeviceState old_state; |
320 |
+ UpDeviceState state; |
321 |
+ UpDevice *device = UP_DEVICE (supply); |
322 |
++ UpDevice *device_tmp; |
323 |
++ UpDeviceKind type; |
324 |
+ const gchar *native_path; |
325 |
+ GUdevDevice *native; |
326 |
+ gboolean is_present; |
327 |
+@@ -599,6 +604,40 @@ up_device_supply_refresh_battery (UpDeviceSupply *supply) |
328 |
+ if (percentage > 100.0f) |
329 |
+ percentage = 100.0f; |
330 |
+ } |
331 |
++ /* some batteries show themselves as 'discharging' once they're full */ |
332 |
++ if (state == UP_DEVICE_STATE_DISCHARGING && percentage == 100.0f) { |
333 |
++ state = UP_DEVICE_STATE_FULLY_CHARGED; |
334 |
++ daemon = up_device_get_daemon (device); |
335 |
++ /* get states of AC power supplies */ |
336 |
++ devices = up_device_list_get_array (up_daemon_get_device_list(daemon)); |
337 |
++ for (i = 0; i < devices->len; i++) { |
338 |
++ device_tmp = (UpDevice *) g_ptr_array_index (devices, i); |
339 |
++ g_object_get (device_tmp, |
340 |
++ "type", &type, |
341 |
++ NULL); |
342 |
++ if (type != UP_DEVICE_KIND_LINE_POWER) |
343 |
++ continue; |
344 |
++ ret = up_device_supply_get_online (device_tmp, &online); |
345 |
++ if (!ret) |
346 |
++ continue; |
347 |
++ |
348 |
++ /* print what we're trying */ |
349 |
++ g_debug ("guessing battery state using power supply status:%i", |
350 |
++ online); |
351 |
++ |
352 |
++ /* If any of the power supplies is not online, |
353 |
++ * assume it's discharging, and break */ |
354 |
++ if (!online) { |
355 |
++ state = UP_DEVICE_STATE_DISCHARGING; |
356 |
++ break; |
357 |
++ } |
358 |
++ } |
359 |
++ /* print what we did */ |
360 |
++ g_debug ("guessed battery state as '%s' using power supply status", |
361 |
++ up_device_state_to_string (state)); |
362 |
++ |
363 |
++ g_ptr_array_unref (devices); |
364 |
++ } |
365 |
+ |
366 |
+ /* the battery isn't charging or discharging, it's just |
367 |
+ * sitting there half full doing nothing: try to guess a state */ |
368 |
+-- |
369 |
+1.7.2.2 |
370 |
+ |
371 |
|
372 |
diff --git a/sys-power/upower/metadata.xml b/sys-power/upower/metadata.xml |
373 |
new file mode 100644 |
374 |
index 0000000..1d2462d |
375 |
--- /dev/null |
376 |
+++ b/sys-power/upower/metadata.xml |
377 |
@@ -0,0 +1,11 @@ |
378 |
+<?xml version="1.0" encoding="UTF-8"?> |
379 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
380 |
+<pkgmetadata> |
381 |
+ <herd>freedesktop</herd> |
382 |
+ <maintainer> |
383 |
+ <email>freedesktop-bugs@g.o</email> |
384 |
+ </maintainer> |
385 |
+ <use> |
386 |
+ <flag name="introspection">Use <pkg>dev-libs/gobject-introspection</pkg> for introspection</flag> |
387 |
+ </use> |
388 |
+</pkgmetadata> |
389 |
|
390 |
diff --git a/sys-power/upower/upower-0.9.12.ebuild b/sys-power/upower/upower-0.9.12.ebuild |
391 |
new file mode 100644 |
392 |
index 0000000..ce85701 |
393 |
--- /dev/null |
394 |
+++ b/sys-power/upower/upower-0.9.12.ebuild |
395 |
@@ -0,0 +1,84 @@ |
396 |
+# Copyright 1999-2011 Gentoo Foundation |
397 |
+# Distributed under the terms of the GNU General Public License v2 |
398 |
+# $Header: /var/cvsroot/gentoo-x86/sys-power/upower/upower-0.9.12.ebuild,v 1.2 2011/07/10 16:11:39 hwoarang Exp $ |
399 |
+ |
400 |
+EAPI=4 |
401 |
+inherit linux-info |
402 |
+ |
403 |
+DESCRIPTION="D-Bus abstraction for enumerating power devices and querying history and statistics" |
404 |
+HOMEPAGE="http://upower.freedesktop.org/" |
405 |
+SRC_URI="http://upower.freedesktop.org/releases/${P}.tar.xz" |
406 |
+ |
407 |
+LICENSE="GPL-2" |
408 |
+SLOT="0" |
409 |
+KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
410 |
+IUSE="debug doc +introspection ios kernel_FreeBSD kernel_linux" |
411 |
+ |
412 |
+COMMON_DEPEND=">=dev-libs/dbus-glib-0.88 |
413 |
+ >=dev-libs/glib-2.21.5:2 |
414 |
+ sys-apps/dbus |
415 |
+ >=sys-auth/polkit-0.101-r1 |
416 |
+ introspection? ( dev-libs/gobject-introspection ) |
417 |
+ kernel_linux? ( |
418 |
+ || ( >=sys-fs/udev-171[gudev] >=sys-fs/udev-151[extras] ) |
419 |
+ virtual/libusb:1 |
420 |
+ ios? ( >=app-pda/libimobiledevice-0.9.7 |
421 |
+ >=app-pda/libplist-0.12 ) ) |
422 |
+ !sys-apps/hal" |
423 |
+RDEPEND="${COMMON_DEPEND} |
424 |
+ kernel_linux? ( >=sys-power/pm-utils-1.4.1 )" |
425 |
+DEPEND="${COMMON_DEPEND} |
426 |
+ dev-libs/libxslt |
427 |
+ app-text/docbook-xsl-stylesheets |
428 |
+ >=dev-util/intltool-0.40.0 |
429 |
+ dev-util/pkgconfig |
430 |
+ doc? ( dev-util/gtk-doc |
431 |
+ app-text/docbook-xml-dtd:4.1.2 )" |
432 |
+ |
433 |
+RESTRICT="test" |
434 |
+ |
435 |
+DOCS=( AUTHORS HACKING NEWS README ) |
436 |
+ |
437 |
+pkg_setup() { |
438 |
+ if use kernel_linux && kernel_is lt 2 6 37; then |
439 |
+ if use amd64 || use x86; then |
440 |
+ CONFIG_CHECK="~ACPI_SYSFS_POWER" |
441 |
+ linux-info_pkg_setup |
442 |
+ fi |
443 |
+ fi |
444 |
+} |
445 |
+ |
446 |
+src_prepare() { |
447 |
+ # Battery weirdness |
448 |
+ epatch "${FILESDIR}/${PN}-dell-samsung-sdi-battery-quirk.patch" |
449 |
+ sed -i -e '/DISABLE_DEPRECATED/d' configure || die |
450 |
+} |
451 |
+ |
452 |
+src_configure() { |
453 |
+ local backend |
454 |
+ |
455 |
+ if use kernel_linux; then |
456 |
+ backend=linux |
457 |
+ elif use kernel_FreeBSD; then |
458 |
+ backend=freebsd |
459 |
+ else |
460 |
+ backend=dummy |
461 |
+ fi |
462 |
+ |
463 |
+ econf \ |
464 |
+ --localstatedir="${EPREFIX}"/var \ |
465 |
+ $(use_enable introspection) \ |
466 |
+ --disable-static \ |
467 |
+ $(use_enable debug verbose-mode) \ |
468 |
+ --enable-man-pages \ |
469 |
+ $(use_enable doc gtk-doc) \ |
470 |
+ --disable-tests \ |
471 |
+ --with-html-dir="${EPREFIX}"/usr/share/doc/${PF}/html \ |
472 |
+ --with-backend=${backend} \ |
473 |
+ $(use_with ios idevice) |
474 |
+} |
475 |
+ |
476 |
+src_install() { |
477 |
+ default |
478 |
+ find "${ED}" -name '*.la' -exec rm -f {} + |
479 |
+} |
480 |
|
481 |
diff --git a/x11-themes/gtk-engines-moblin/Manifest b/x11-themes/gtk-engines-moblin/Manifest |
482 |
new file mode 100644 |
483 |
index 0000000..01a4cab |
484 |
--- /dev/null |
485 |
+++ b/x11-themes/gtk-engines-moblin/Manifest |
486 |
@@ -0,0 +1,2 @@ |
487 |
+DIST moblin-gtk-engine-0.4.1.tar.bz2 26032 RMD160 ba3a47bc0ee5e89f9b4b5642675c413b18718290 SHA1 2ce0e4beb0bfda56fe8120608bb35d489db8020e SHA256 9f962368c8d946901a46c25883f290e29898619a7280ca8a33e3d1dfccfc18a4 |
488 |
+EBUILD gtk-engines-moblin-0.4.1.ebuild 645 RMD160 98112ae2667229f8fc7f30d82fe4689cbb1e699e SHA1 ebab445d516c17df12785fd9ed20bbb960b80484 SHA256 fac1b177ee99ed5819a26fab96619e611783886ceaae68bad97f46fcfcd82fb7 |
489 |
|
490 |
diff --git a/x11-themes/gtk-engines-moblin/gtk-engines-moblin-0.4.1.ebuild b/x11-themes/gtk-engines-moblin/gtk-engines-moblin-0.4.1.ebuild |
491 |
new file mode 100644 |
492 |
index 0000000..93fbea8 |
493 |
--- /dev/null |
494 |
+++ b/x11-themes/gtk-engines-moblin/gtk-engines-moblin-0.4.1.ebuild |
495 |
@@ -0,0 +1,34 @@ |
496 |
+# Copyright 1999-2009 Gentoo Foundation |
497 |
+# Distributed under the terms of the GNU General Public License v2 |
498 |
+# $Header: $ |
499 |
+ |
500 |
+EAPI="2" |
501 |
+ |
502 |
+inherit autotools |
503 |
+ |
504 |
+MY_PN="moblin-gtk-engine" |
505 |
+ |
506 |
+DESCRIPTION="Mobline GTK+ Cairo Engine" |
507 |
+HOMEPAGE="http://www.moblin.org/" |
508 |
+SRC_URI="http://git.moblin.org/cgit.cgi/${MY_PN}/snapshot/${MY_PN}-${PV}.tar.bz2" |
509 |
+ |
510 |
+LICENSE="LGPL-2.1" |
511 |
+SLOT="0" |
512 |
+KEYWORDS="~amd64 ~x86" |
513 |
+IUSE="" |
514 |
+ |
515 |
+RDEPEND=">=x11-libs/gtk+-2.8.0" |
516 |
+DEPEND="${RDEPEND} |
517 |
+dev-util/pkgconfig" |
518 |
+ |
519 |
+S="${WORKDIR}/${MY_PN}-${PV}" |
520 |
+ |
521 |
+src_prepare() { |
522 |
+ eautoreconf |
523 |
+} |
524 |
+ |
525 |
+src_install() { |
526 |
+ emake DESTDIR="${D}" install || die "emake install failed" |
527 |
+ |
528 |
+ dodoc AUTHORS ChangeLog README NEWS |
529 |
+} |
530 |
|
531 |
diff --git a/x11-themes/moblin-cursor-theme/Manifest b/x11-themes/moblin-cursor-theme/Manifest |
532 |
new file mode 100644 |
533 |
index 0000000..39dad03 |
534 |
--- /dev/null |
535 |
+++ b/x11-themes/moblin-cursor-theme/Manifest |
536 |
@@ -0,0 +1,2 @@ |
537 |
+DIST moblin-cursor-theme-0.3.tar.bz2 139056 RMD160 6cad9670a364ebda1c2f375f3ebca953b81b3057 SHA1 bc88dd41f82d0a2022d6bd34261c56e17be5a577 SHA256 f5e9a85677ae1312482bd03dfcaa4451832ef0fe3c40fc9d56393248ea74b1f5 |
538 |
+EBUILD moblin-cursor-theme-0.3.ebuild 1300 RMD160 19341fd8cee30b739b416ae871fb2426787eeac2 SHA1 cc96ec2cbc32a21e9e9be27f2c5353743269ebca SHA256 5797324666c57fd1ab354c36cfe2f13f83659d8334dcb26e7055a231ecb23529 |
539 |
|
540 |
diff --git a/x11-themes/moblin-cursor-theme/moblin-cursor-theme-0.3.ebuild b/x11-themes/moblin-cursor-theme/moblin-cursor-theme-0.3.ebuild |
541 |
new file mode 100644 |
542 |
index 0000000..f66cf36 |
543 |
--- /dev/null |
544 |
+++ b/x11-themes/moblin-cursor-theme/moblin-cursor-theme-0.3.ebuild |
545 |
@@ -0,0 +1,50 @@ |
546 |
+# Copyright 1999-2009 Gentoo Foundation |
547 |
+# Distributed under the terms of the GNU General Public License v2 |
548 |
+# $Header: $ |
549 |
+ |
550 |
+EAPI="2" |
551 |
+ |
552 |
+DESCRIPTION="Mobline cursor theme" |
553 |
+HOMEPAGE="http://git.moblin.org/cgit.cgi/moblin-icon-theme/" |
554 |
+SRC_URI="http://git.moblin.org/cgit.cgi/${PN}/snapshot/${P}.tar.bz2" |
555 |
+ |
556 |
+LICENSE="CCPL-Attribution-ShareAlike-3.0" |
557 |
+SLOT="0" |
558 |
+KEYWORDS="~amd64 ~x86" |
559 |
+IUSE="" |
560 |
+ |
561 |
+RDEPEND="" |
562 |
+DEPEND="${RDEPEND} |
563 |
+x11-apps/xcursorgen" |
564 |
+ |
565 |
+src_compile() { |
566 |
+ cd pngs && ./make.sh |
567 |
+} |
568 |
+ |
569 |
+src_install() { |
570 |
+ cd "${S}" |
571 |
+ insinto /usr/share/cursors/xorg-x11/${PN} |
572 |
+ doins -r xcursors |
573 |
+} |
574 |
+ |
575 |
+pkg_postinst() { |
576 |
+ elog "To use this set of cursors, edit or create the file ~/.Xdefaults" |
577 |
+ elog "and add the following line:" |
578 |
+ elog "Xcursor.theme: ${PN}" |
579 |
+ elog |
580 |
+ elog "You can change the size by adding a line like:" |
581 |
+ elog "Xcursor.size: 48" |
582 |
+ elog |
583 |
+ elog "Also, to globally use this set of mouse cursors edit the file:" |
584 |
+ elog " /usr/share/cursors/xorg-x11/default/index.theme" |
585 |
+ elog "and change the line:" |
586 |
+ elog " Inherits=[current setting]" |
587 |
+ elog "to" |
588 |
+ elog " Inherits=${PN}" |
589 |
+ elog |
590 |
+ elog "Note this will be overruled by a user's ~/.Xdefaults file." |
591 |
+ elog |
592 |
+ ewarn "If you experience flickering, try setting the following line in" |
593 |
+ ewarn "the Device section of your xorg.conf file:" |
594 |
+ ewarn " Option \"HWCursor\" \"false\"" |
595 |
+} |
596 |
|
597 |
diff --git a/x11-themes/moblin-icon-theme/Manifest b/x11-themes/moblin-icon-theme/Manifest |
598 |
new file mode 100644 |
599 |
index 0000000..caaaf1c |
600 |
--- /dev/null |
601 |
+++ b/x11-themes/moblin-icon-theme/Manifest |
602 |
@@ -0,0 +1,2 @@ |
603 |
+DIST moblin-icon-theme-0.7.tar.bz2 555109 RMD160 afc63b2b22cc6504831cda68a2a95f730590fad5 SHA1 9357bcbc1a2e9a4e13157504b56e9ca5058295da SHA256 59745ed1f3fa88114cd0551c2257c248a03c388b659bcdc74db98c82718a313f |
604 |
+EBUILD moblin-icon-theme-0.7.ebuild 1020 RMD160 1bcb9cb2707b37663ea2cd9772ae459be88446a3 SHA1 54e29fb25d0d78b347614d715c5bf41c882061b6 SHA256 b0180f0e69aee17183874adbe77f9b3b4cfea675b10ff96937a2762997f54be7 |
605 |
|
606 |
diff --git a/x11-themes/moblin-icon-theme/moblin-icon-theme-0.7.ebuild b/x11-themes/moblin-icon-theme/moblin-icon-theme-0.7.ebuild |
607 |
new file mode 100644 |
608 |
index 0000000..d8debb7 |
609 |
--- /dev/null |
610 |
+++ b/x11-themes/moblin-icon-theme/moblin-icon-theme-0.7.ebuild |
611 |
@@ -0,0 +1,47 @@ |
612 |
+# Copyright 1999-2009 Gentoo Foundation |
613 |
+# Distributed under the terms of the GNU General Public License v2 |
614 |
+# $Header: $ |
615 |
+ |
616 |
+EAPI="2" |
617 |
+ |
618 |
+inherit autotools gnome2-utils |
619 |
+ |
620 |
+DESCRIPTION="SVG and PNG icon theme from the Moblin project" |
621 |
+HOMEPAGE="http://git.moblin.org/cgit.cgi/moblin-icon-theme/" |
622 |
+SRC_URI="http://git.moblin.org/cgit.cgi/${PN}/snapshot/${P}.tar.bz2" |
623 |
+ |
624 |
+LICENSE="CCPL-Attribution-ShareAlike-3.0" |
625 |
+SLOT="0" |
626 |
+KEYWORDS="~amd64 ~x86" |
627 |
+IUSE="" |
628 |
+ |
629 |
+RDEPEND=">=x11-misc/icon-naming-utils-0.8.7" |
630 |
+DEPEND="${RDEPEND} |
631 |
+dev-util/pkgconfig" |
632 |
+ |
633 |
+src_prepare() { |
634 |
+ ./create-icon-theme.sh moblin || die "create-icon-theme failed!" |
635 |
+ cd output/moblin |
636 |
+ eautoreconf |
637 |
+} |
638 |
+ |
639 |
+src_configure() { |
640 |
+ cd output/moblin |
641 |
+ default_src_configure |
642 |
+} |
643 |
+ |
644 |
+src_compile() { |
645 |
+ cd output/moblin |
646 |
+ default_src_compile |
647 |
+} |
648 |
+ |
649 |
+src_install() { |
650 |
+ cd output/moblin |
651 |
+ emake DESTDIR="${D}" install || die "emake install failed" |
652 |
+ cd "${S}" |
653 |
+ dodoc AUTHORS ChangeLog |
654 |
+} |
655 |
+ |
656 |
+pkg_preinst() { gnome2_icon_savelist; } |
657 |
+pkg_postinst() { gnome2_icon_cache_update; } |
658 |
+pkg_postrm() { gnome2_icon_cache_update; } |