[Python-apps-commits] r800 - in packages/screenlets/trunk/debian (5 files)
gilir-guest at users.alioth.debian.org
gilir-guest at users.alioth.debian.org
Wed Mar 12 19:59:21 UTC 2008
Date: Wednesday, March 12, 2008 @ 19:59:20
Author: gilir-guest
Revision: 800
Add 2 patch to prevent crash
Minor fixes
Added:
packages/screenlets/trunk/debian/patches/04-fix-crash-acpi.patch
packages/screenlets/trunk/debian/patches/10-problem-on-create-tmpfile.patch
Modified:
packages/screenlets/trunk/debian/changelog
packages/screenlets/trunk/debian/control
packages/screenlets/trunk/debian/screenlets-doc.doc-base.screenlets
Modified: packages/screenlets/trunk/debian/changelog
===================================================================
--- packages/screenlets/trunk/debian/changelog 2008-03-12 14:01:01 UTC (rev 799)
+++ packages/screenlets/trunk/debian/changelog 2008-03-12 19:59:20 UTC (rev 800)
@@ -1,14 +1,14 @@
screenlets (0.0.12-1) UNRELEASED; urgency=low
- * New upstream release
+ * New upstream release.
* debian/control
- Add screenlets-doc binary.
- Change python-dev to python-all-dev in Build Depends.
- Move python-central to Build-Depends-Indep.
- Add python-epydoc, doc-base, python-docutils and screenlets
Build-Depends-Indep to build API documentation.
- - Add python-imaging Recommends for SlideShow Screenlets.
- - Add python-feedparser Recommends for ClearRSS Screenlets.
+ - Add python-imaging as Recommends for SlideShow Screenlets.
+ - Add python-feedparser as Recommends for ClearRSS Screenlets.
- Wrap Build Depends and Depends.
- Add Suggest metacity (>= 2.21.4) which support composite.
- Add Suggest python-dcop for the NowPlaying Screenlets.
@@ -44,7 +44,9 @@
- 01-scripts-cleanup.patch: Replace bash by sh, add exec and python in
some commands.
- 02-Clean-Desktop.patch: Updated.
- - 03-fix-menu-icon.patch : Fix "non icon" bug in contextual menu.
+ - 03-fix-menu-icon.patch: Fix "non icon" bug in contextual menu.
+ - 04-fix-crash-acpi.patch: Fix crash for ACPI screenlets.
+ - 10-problem-on-create-tmpfile.patch: Launch screenlets with python -u.
* debian/watch
- Update to the new location of upstream tarball.
* Debian/README
Modified: packages/screenlets/trunk/debian/control
===================================================================
--- packages/screenlets/trunk/debian/control 2008-03-12 14:01:01 UTC (rev 799)
+++ packages/screenlets/trunk/debian/control 2008-03-12 19:59:20 UTC (rev 800)
@@ -68,4 +68,4 @@
described as "the virtual representation of things lying/standing around on
your desk". Sticknotes, clocks, rulers, ... the possibilities are endless.
.
- This package contain the API documentation.
+ This package contains the API documentation.
Added: packages/screenlets/trunk/debian/patches/04-fix-crash-acpi.patch
===================================================================
--- packages/screenlets/trunk/debian/patches/04-fix-crash-acpi.patch (rev 0)
+++ packages/screenlets/trunk/debian/patches/04-fix-crash-acpi.patch 2008-03-12 19:59:20 UTC (rev 800)
@@ -0,0 +1,16 @@
+diff -ur screenlets.orig/src/share/screenlets/ACPIBattery/ACPIBatteryScreenlet.py screenlets/src/share/screenlets/ACPIBattery/ACPIBatteryScreenlet.py
+--- screenlets.orig/src/share/screenlets/ACPIBattery/ACPIBatteryScreenlet.py 2008-02-08 03:46:21.000000000 +0100
++++ screenlets/src/share/screenlets/ACPIBattery/ACPIBatteryScreenlet.py 2008-03-02 23:55:18.000000000 +0100
+@@ -104,7 +104,10 @@
+ if value:
+ dirs=listdir('/proc/acpi/battery/');
+ dirs.sort();
+- self.__dict__['file_path']='/proc/acpi/battery/'+dirs[0]+'/'
++ try:
++ self.__dict__['file_path']='/proc/acpi/battery/'+dirs[0]+'/'
++ except IndexError:
++ pass
+ elif name == "file_path":
+ if self.__flag>0:
+ self.__dict__['file_auto']=0
+Seulement dans screenlets/src/share/screenlets/ACPIBattery: ACPIBatteryScreenlet.py~
Property changes on: packages/screenlets/trunk/debian/patches/04-fix-crash-acpi.patch
___________________________________________________________________
Name: svn:executable
+ *
Added: packages/screenlets/trunk/debian/patches/10-problem-on-create-tmpfile.patch
===================================================================
--- packages/screenlets/trunk/debian/patches/10-problem-on-create-tmpfile.patch (rev 0)
+++ packages/screenlets/trunk/debian/patches/10-problem-on-create-tmpfile.patch 2008-03-12 19:59:20 UTC (rev 800)
@@ -0,0 +1,13 @@
+diff -ur screenlets.orig/src/share/screenlets-manager/screenlets-manager.py screenlets/src/share/screenlets-manager/screenlets-manager.py
+--- screenlets.orig/src/share/screenlets-manager/screenlets-manager.py 2008-02-08 03:46:23.000000000 +0100
++++ screenlets/src/share/screenlets-manager/screenlets-manager.py 2008-03-04 01:20:06.000000000 +0100
+@@ -394,7 +394,7 @@
+ code.append('Encoding=UTF-8')
+ code.append('Version=1.0')
+ code.append('Type=Application')
+- code.append('Exec= python %s/%sScreenlet.py > /dev/null' % (path, name))
++ code.append('Exec= python -u %s/%sScreenlet.py' % (path, name))
+ code.append('X-GNOME-Autostart-enabled=true')
+ #print code
+ f = open(starter, 'w')
+Seulement dans screenlets/src/share/screenlets-manager: screenlets-manager.py~
Property changes on: packages/screenlets/trunk/debian/patches/10-problem-on-create-tmpfile.patch
___________________________________________________________________
Name: svn:executable
+ *
Modified: packages/screenlets/trunk/debian/screenlets-doc.doc-base.screenlets
===================================================================
--- packages/screenlets/trunk/debian/screenlets-doc.doc-base.screenlets 2008-03-12 14:01:01 UTC (rev 799)
+++ packages/screenlets/trunk/debian/screenlets-doc.doc-base.screenlets 2008-03-12 19:59:20 UTC (rev 800)
@@ -9,7 +9,7 @@
generally improve the usability and eye-candy of the modern composited
Linux-desktop.
This manual describe the API to create new screenlets.
-Section: Apps/Programming
+Section: Games/Toys
Format: HTML
Index: /usr/share/doc/screenlets/API/index.html
More information about the Python-apps-commits
mailing list