openmoko-panel-plugin: patch and bug

Joachim Breitner nomeata at debian.org
Mon Nov 3 15:22:34 CET 2008


Hi,

Am Montag, den 03.11.2008, 10:54 +0100 schrieb arne anka:
> the new package you linked to misses at least most of the gsm-icons, took  
> me some time to figure out why the signal strength was not displayed  
> anymore.
> donwloaded the src-tar.gz and copied all icons over from pixmaps/.

Sebastian, did you see my changes in 0.4-1.2? This patch should make
sure that all files in pixmaps/ are shipped in the tarball created
by ./setup.py sdist:

--- openmoko-panel-plugin-0.4.orig/setup.py
+++ openmoko-panel-plugin-0.4/setup.py
@@ -21,6 +21,8 @@
 
 from distutils.core import setup
 import os
+from glob import glob
+
 
 setup(name='openmoko-panel-plugin',
         description='Panel Plugin to display the openmoko FR powerstates',
@@ -29,9 +31,14 @@
         version='0.4',
         license='GPL_v2',
         scripts=['openmoko-panel-plugin'],
-        data_files=[('/usr/share/pixmaps/openmoko-panel-plugin', ['pixmaps/battery_000.png', 'pixmaps/battery_000_charging.png', 'pixmaps/battery_010.png', 'pixmaps/battery_010_charging.png', 'pixmaps/battery_020.png', 'pixmaps/battery_020_charging.png', 'pixmaps/battery_030.png', 'pixmaps/battery_030_charging.png', 'pixmaps/battery_040.png', 'pixmaps/battery_040_charging.png', 'pixmaps/battery_050.png', 'pixmaps/battery_050_charging.png', 'pixmaps/battery_060.png', 'pixmaps/battery_060_charging.png', 'pixmaps/battery_070.png', 'pixmaps/battery_070_charging.png', 'pixmaps/battery_080.png', 'pixmaps/battery_080_charging.png', 'pixmaps/battery_090.png', 'pixmaps/battery_090_charging.png', 'pixmaps/battery_100.png', 'pixmaps/battery_100_charging.png', 'pixmaps/bt_0.png', 'pixmaps/bt_1.png', 'pixmaps/gps_0.png', 'pixmaps/gps_1.png', 'pixmaps/gsm_0.png', 'pixmaps/gsm_1.png', 'pixmaps/matchbox-keyboard_0.png', 'pixmaps/matchbox-keyboard_1.png', 'pixmaps/wifi_0.png', 'pixmaps/wifi_1.png',]),
-                    ('/usr/share/applications', ['openmoko-panel-plugin.desktop']),
-                    ],
+        data_files=[
+                ('/usr/share/pixmaps/openmoko-panel-plugin',
+                        glob('pixmaps/*.png')
+                ),
+                ('/usr/share/applications',
+                        ['openmoko-panel-plugin.desktop']
+                ),
+        ],
     )

Greetings,
Joachim

-- 
Joachim "nomeata" Breitner
Debian Developer
  nomeata at debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: nomeata at joachim-breitner.de | http://people.debian.org/~nomeata
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : http://lists.openmoko.org/pipermail/community/attachments/20081103/68e80503/attachment.pgp 


More information about the community mailing list