--- screenlets-0.1.2.orig/debian/screenletsd.1 +++ screenlets-0.1.2/debian/screenletsd.1 @@ -0,0 +1,34 @@ +.TH SCREENLETSD 1 "February 2, 2008" + +.SH NAME +screenletsd \- A command line interface for Screenlets +.SH SYNOPSIS +.B screenletsd +[\fICOMMAND \fR] [\fIOPTIONS\fR] [\fISCREENLETS_NAME\fR] + +.SH COMMAND +.TP +.B \-\-gui +Open up the Graphical Interface +.TP +.B \-\-cli +Use the Command Line interface + +.SH OPTIONS (for command --cli only) +.TP +.B run +Run the Screenlet +.TP +.B au +Add the Screenlet to your autostart list + +.SH DESCRIPTION +\fBscreenletsd\fP is command line interface for Screenlets, Widget-like +mini-applications for GNOME. You can interact with Screenlets like launch one, +or add one to your autostart list. It can also start the graphical interface. + +.SH AUTHOR +screenletsd was written by Rico Pfaus . +.PP +This manual page was written by Julien Lavergne , +for the Debian project (but may be used by others). --- screenlets-0.1.2.orig/debian/screenlets-daemon.1 +++ screenlets-0.1.2/debian/screenlets-daemon.1 @@ -0,0 +1,16 @@ +.TH SCREENLETS-DAEMON 1 "June 5, 2008" + +.SH NAME +screenlets-daemon \- An application to track activity of Screenlets + +.SH SYNOPSIS +.B screenlets-daemon + +.SH DESCRIPTION +\fBscreenlets-daemon\fP is a program which tracks Screenlets activity. + +.SH AUTHOR +screenlets-manager was written by Rico Pfaus . +.PP +This manual page was written by Julien Lavergne , +for the Debian project (but may be used by others). --- screenlets-0.1.2.orig/debian/screenlets-doc.doc-base.screenlets +++ screenlets-0.1.2/debian/screenlets-doc.doc-base.screenlets @@ -0,0 +1,16 @@ +Document: screenlets +Title: Screenlets API Reference +Author: Rico Pfaus +Abstract: Screenlets are small owner-drawn applications (written in Python) that can be + described as "the virtual representation of things lying/standing around on + your desk". Sticknotes, clocks, rulers, ... the possibilities are endless. + The goal of the Screenlets base-classes is to simplify the creation of fully + themable mini-apps that each solve basic desktop-work-related needs and + generally improve the usability and eye-candy of the modern composited + Linux-desktop. + This manual describe the API to create new screenlets. +Section: Games/Toys + +Format: HTML +Index: /usr/share/doc/screenlets/API/index.html +Files: /usr/share/doc/screenlets/API/*.html --- screenlets-0.1.2.orig/debian/compat +++ screenlets-0.1.2/debian/compat @@ -0,0 +1 @@ +5 --- screenlets-0.1.2.orig/debian/screenlets.install +++ screenlets-0.1.2/debian/screenlets.install @@ -0,0 +1,11 @@ +debian/tmp/usr/bin +debian/tmp/usr/share/screenlets +debian/tmp/usr/lib +debian/tmp/usr/share/screenlets-manager +debian/tmp/usr/share/locale +/desktop-menu/screenlets.svg /usr/share/icons/hicolor/scalable/apps/ +/desktop-menu/screenlets-manager.desktop /usr/share/applications +/desktop-menu/desktop-directories/* /usr/share/desktop-directories +/desktop-menu/screenlets-daemon.desktop /usr/share/desktop-directories +/debian/org.screenlets.ScreenletsDaemon.service /usr/share/dbus-1/services/ +debian/prefix /etc/screenlets/ --- screenlets-0.1.2.orig/debian/rules +++ screenlets-0.1.2/debian/rules @@ -0,0 +1,37 @@ +#!/usr/bin/make -f +#export DH_VERBOSE=1 +include /usr/share/cdbs/1/rules/debhelper.mk + +DEB_PYTHON_SYSTEM=pysupport + +include /usr/share/cdbs/1/class/python-distutils.mk +include /usr/share/quilt/quilt.make + +DEB_PYTHON_MODULE_PACKAGE := screenlets +DEB_PYTHON_PRIVATE_MODULES_DIRS := debian/tmp/usr/share/screenlets +DEB_PYTHON_SETUP_CMD := setup.py + +DEB_INSTALL_MANPAGES_screenlets := debian/screenlets-manager.1 debian/screenlets-packager.1 debian/screenletsd.1 debian/screenlets.1 debian/screenlets-daemon.1 +DEB_INSTALL_CHANGELOGS_ALL := CHANGELOG + +build/screenlets:: $(QUILT_STAMPFN) + +#Build docs in docs/html +#build/screenlets:: +# PYTHONPATH=build/lib/ epydoc --html --output=docs/html --name="Screenlets 0.0.14" screenlets screenlets.backend screenlets.options screenlets.utils screenlets.session screenlets.services screenlets.sensors + +install/screenlets:: + rm debian/tmp/usr/share/screenlets/ClearRss/feedparser.py + rm debian/tmp/usr/share/screenlets/FeedReader/feedparser.py + rmdir debian/tmp/usr/share/screenlets/WallpaperClock/wallpapers + +binary-predeb/screenlets:: + find debian/screenlets/usr/share/screenlets-manager/ -name "*.png" -perm 755 | xargs chmod 644 + +clean:: unpatch +# rm -fR docs/html + rm -fR build/locale + +get-orig-source: + dh_testdir + uscan --force-download --verbose --repack --- screenlets-0.1.2.orig/debian/control +++ screenlets-0.1.2/debian/control @@ -0,0 +1,76 @@ +Source: screenlets +Section: gnome +Priority: optional +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Julien Lavergne +Uploaders: Python Applications Packaging Team +Build-Depends: debhelper (>= 5), + cdbs, + quilt, + python-dev (>= 2.3.5-11) +Build-Depends-Indep: python-support (>= 0.6.0), + doc-base +Standards-Version: 3.8.2 +Homepage: http://screenlets.org +Vcs-Svn: svn://svn.debian.org/python-apps/packages/screenlets/trunk +Vcs-Browser: http://svn.debian.org/viewsvn/python-apps/packages/screenlets/trunk/ + +Package: screenlets +Architecture: all +Depends: ${misc:Depends}, + ${python:Depends}, + python-gtk2, + python-gnome2, + python-dbus, + python-xdg, + python-rsvg | python-gnome2-desktop, + python-wnck | python-gnome2-desktop +Recommends: gnome-keyring, + python-feedparser, + python-gmenu, + python-gtkmozembed | python-gnome2-extras (<< 2.19), + iceweasel | firefox, + python-imaging, + python-evolution | python-gnome2-desktop, + python-gnomekeyring | python-gnome2-desktop, + metacity (>= 2.21.4) | xcompmgr | compiz | xfwm4 (>= 4.2) +Suggests: evolution, + tomboy, + gnome-orca, + xfconf (>= 4.5.93) +Description: Widget-like mini-applications for GNOME + Screenlets are small owner-drawn applications (written in Python) that can be + described as "the virtual representation of things lying/standing around on + your desk". Sticky notes, clocks, rulers, ... the possibilities are endless. + . + The goal of the Screenlets base-classes is to simplify the creation of fully + themable mini-apps that each solve basic desktop-work-related needs and + generally improve the usability and eye-candy of the modern composited + Linux-desktop. + . + Features: + * Real applications, no HTML-"widgets" + * Easy to use, easy to develop + * Full compositing support + * Works with any composited X desktop (compiz, xfce4, ...) + * Works also on non-composited desktop + * Included ability to apply themes (SVG, PNG or mixed) + * Fully scalable when using SVGs + * Embedded drag&drop-support + * Automated storing of options (using ini or GConf) + * Controllable through customizable D-Bus service + * Can be used together with compiz' widget-plugin to create a + Dashboard-like feature as seen on OS X + * Uses Cairo and GTK2 for drawing and windowing + +Package: screenlets-doc +Section: doc +Architecture: all +Depends: screenlets, + ${misc:Depends} +Description: Widget-like mini-applications for GNOME - Documentation package + Screenlets are small owner-drawn applications (written in Python) that can be + described as "the virtual representation of things lying/standing around on + your desk". Sticky notes, clocks, rulers, ... the possibilities are endless. + . + This package contains the API documentation. --- screenlets-0.1.2.orig/debian/screenlets-packager.1 +++ screenlets-0.1.2/debian/screenlets-packager.1 @@ -0,0 +1,17 @@ +.TH SCREENLETS-PACKAGER 1 "July 16, 2007" + +.SH NAME +screenlets-packager \- An application to package Screenlets +.SH SYNOPSIS +.B screenlets-packager + +.SH DESCRIPTION +\fBscreenlets-packager\fP is a program for packaging Screenlets, Widget-like +mini-applications for GNOME. You can launch it with the directory of your +screenlets to release it. + +.SH AUTHOR +screenlets-packager was written by Rico Pfaus . +.PP +This manual page was written by Julien Lavergne , +for the Debian project (but may be used by others). --- screenlets-0.1.2.orig/debian/screenlets.links +++ screenlets-0.1.2/debian/screenlets.links @@ -0,0 +1 @@ +/usr/share/icons/hicolor/scalable/apps/screenlets.svg /usr/share/icons/screenlets.svg --- screenlets-0.1.2.orig/debian/screenlets-manager.1 +++ screenlets-0.1.2/debian/screenlets-manager.1 @@ -0,0 +1,18 @@ +.TH SCREENLETS-MANAGER 1 "July 16, 2007" + +.SH NAME +screenlets-manager \- An application to manage Screenlets + +.SH SYNOPSIS +.B screenlets-manager + +.SH DESCRIPTION +\fBscreenlets-manager\fP is a preferences GUI for managing Screenlets, +Widget-like mini-applications for GNOME. You can launch or stop one, make them +start on login, install or uninstall others screenlets. + +.SH AUTHOR +screenlets-manager was written by Rico Pfaus . +.PP +This manual page was written by Julien Lavergne , +for the Debian project (but may be used by others). --- screenlets-0.1.2.orig/debian/screenlets.1 +++ screenlets-0.1.2/debian/screenlets.1 @@ -0,0 +1,20 @@ +.TH SCREENLETS 1 "June 5, 2008" + +.SH NAME +screenlets \- Widget-like mini-applications for GNOME + +.SH SYNOPSIS +.B screenlets + +.SH DESCRIPTION +\fBscreenlets\fP are small owner-drawn applications that can be described as +"the virtual representation of things lying/standing around on your desk" : +sticky notes, clocks, rulers, .... +screenlets actually starts screenlets-manager, the GUI to manage all +screenlets (see man screenlets-manager). + +.SH AUTHOR +screenlets was written by Rico Pfaus . +.PP +This manual page was written by Julien Lavergne , +for the Debian project (but may be used by others). --- screenlets-0.1.2.orig/debian/prefix +++ screenlets-0.1.2/debian/prefix @@ -0,0 +1 @@ +/usr --- screenlets-0.1.2.orig/debian/copyright +++ screenlets-0.1.2/debian/copyright @@ -0,0 +1,548 @@ +This package was debianized for Debian by Julien Lavergne on +Mon, 16 Jul 2007 19:35:18 +0000. + +It was downloaded from + +Upstream Authors: + + Rico Pfaus . + Helder Fraga. + Natan Yellin (Aantn) + + +License for *.svg and *.png + + All artwork is licensed under the Creative Commons Attribution-Noncommercial-Share + Alike 3.0 Unported. + + See also http://creativecommons.org/licenses/by-nc-sa/3.0/ . A copy of the licence is + include at the end for this file. + + +Licence for src/lib/plugins/iCal.py, + src/share/screenlets/ClearRSS/feedparser.py + + Copyright (c) Jiva DeVoe + Copyright (c) 2002-2006, Mark Pilgrim + + This files are licenced under the BSD Licence. See `/usr/share/common-licenses/BSD' + for the complete licence. + + +License for src/share/screenlets/Gmail/pyDes.py, + src/share/screenlets/MainMenuScreenlet.py + src/share/screenlets/Trash/TrashScreenlet.py + src/share/screenlets/Netmonitor/NetmonitorScreenlet.py + src/lib/plugins/AmazonCoverArtSearch.py + src/lib/plugins/Loader.py + + Copyright (C) follower@myrealbox.com + Copyright (C) Todd Whiteman + Copyright (C) magicrobomonkey + Copyright (C) 2006 - Jonathan Matthew + Copyright (C) 2006 - Gareth Murphy, Martin Szulecki + Copyright (C) Helder Fraga + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + + See `/usr/share/common-licenses/GPL-2' for the complete licence. + + +Licence for src/share/screenlets/mimemu.py + + Copyright (c) 2007 Randal Barlow + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the + Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, + Boston, MA 02110-1301 USA. + + +Licence for src/lib/plugins/mpdclient2.py + + Copyright (C) 2005 - Nick Welch . + This files are licenced under the Public Domain licence. See above for the + complete licence. + +License for other files: + + Copyright (C) 2007 Rico Pfaus for + src/share/examples/* + src/lib/backend.py + src/lib/menu.py + src/lib/options.py + src/lib/services.py + src/lib/session.py + src/share/screenlets/Clock/ClockScreenlet.py + src/share/screenlets/Control/ControlScreenlet.py + src/share/screenlets/CopyStack/CopyStackScreenle*.py + src/share/screenlets/CPUMeter/CPUMeterScreenlet.py + src/share/screenlets/Example/ExampleScreenlet.py + src/share/screenlets/Flower/FlowerScreenlet.py + src/share/screenlets/Launcher/LauncherScreenlet.py + src/share/screenlets/MailCheck/keyring-test.py + src/share/screenlets/MailCheck/MailCheckScreenlet.py + src/share/screenlets/Notes/NotesScreenlet.py + src/share/screenlets/Ruler/RulerScreenlet.py + src/share/screenlets/Storage/StorageScreenlet.py + src/share/screenlets/Test/TestScreenlet.py + src/share/screenlets/Windowlist/WindowlistScreenlet.py + + Copyright (C) JMDK 2007 for src/share/screenlets/ACPI/ACPIBatteryScreenlet.py + + Copyright (C) Cobra for src/share/screenlets/Calc/CalcScreenlet.py + + Copyright (C) Helder Fraga for + src/share/screenlets/ClearCalendar/ClearCalendarScreenlet.py + src/share/screenlets/ClearRSS/ClearRssScreenlet.py + src/share/screenlets/ClearWeather/ClearWeatherScreenlet.py + src/share/screenlets/Diskusage/DiskusageScreenlet.py + src/share/screenlets/Gmail/GmailScreenlet.py + src/share/screenlets/MyIp/MyIpScreenlet.py + src/share/screenlets/Radio/RadioScreenlet.py + src/share/screenlets/Search/SearchScreenlet.py + src/share/screenlets/Sensors/SensorScreenlet.py + src/share/screenlets/Slideshow/SlideshowScreenlet.py + src/share/screenlets/Sysmonitor/SysmonitorScreenlet.py + src/share/screenlets/Kclock/KclockScreenlet.py + src/share/screenlets-manager/KarambaScreenlet.py + src/share/screenlets-manager/WebappScreenlet.py + src/share/screenlets-manager/WidgetScreenlet.py + src/share/screenlets/RingSensors/RingSensorsScreenlet.py + src/share/screenlets/Youtube/YoutubeScreenlet.py + src/share/screenlets/Pager/PagerScreenlet.py + src/share/screenlets/Picframe/PicframeScreenlet.py + src/share/screenlets-manager/screenlets-manager.py + src/share/screenlets/AppMenu/AppMenuScreenlet.py + src/share/screenlets/Brightness/BrightnessScreenlet.py + src/share/screenlets/CompositeToggler/CompositeTogglerScreenlet.py + src/share/screenlets/DigiClock/DigiClockScreenlet.py + src/share/screenlets/EvolutionContacts/EvolutionContactsScreenlet.py + src/share/screenlets/Mount/MountScreenlet.py + src/share/screenlets/Places/PlacesScreenlet.py + src/share/screenlets/Sidebar/SidebarScreenlet.py + src/share/screenlets/Speech/SpeechScreenlet.py + src/share/screenlets/Tomboy/TomboyScreenlet.py + src/lib/sensors.py + src/lib/drawing.py + src/lib/install.py + src/share/screenlets/Calendar/CalendarScreenlet.py + src/lib/plugins/Amarok.py + src/lib/plugins/Audacious.py + src/lib/plugins/Banshee.py + src/lib/plugins/CoverSearch.py + src/lib/plugins/Evolution.py + src/lib/plugins/Exaile.py + src/lib/plugins/Flickr.py + src/lib/plugins/GenericPlayer.py + src/lib/plugins/Juk.py + src/lib/plugins/Kaffeine.py + src/lib/plugins/LastFMProxy.py + src/lib/plugins/Listen.py + src/lib/plugins/Mplayer.py + src/lib/plugins/Proxy.py + src/lib/plugins/Quodlibet.py + src/lib/plugins/Sonata.py + src/lib/plugins/Songbird.py + src/share/screenlets/Meter/MeterScreenlet.py + src/share/screenlets/Output/OutputScreenlet.py + + Copyright (C) Helder Fraga & + Rico Pfaus 2007 + src/lib/__init__.py + src/lib/utils.py + src/share/screenlets-manager/screenlets-*.py + + Copyright (c) Vasek Potocek 2007 for + src/share/screenlets/Convert/ConvertScreenlet.py + src/lib/plugins/BaseConverter.py + src/lib/plugins/Convert.py + src/lib/plugins/LenghtConverter.py + src/lib/plugins/SizeConverter.py + src/lib/plugins/TemperatureConvert.py + + Copyright (c) 2007 DeathCarrot for + src/share/screenlets/VolumeControl/VolumeControlScreenlet.py + + Copyright (c) Patrik Kullman 2007 for + src/share/screenlets/Stocks/StocksScreenlet.py + + Copyright (c) 2008 Pavel Panchekha for + src/lib/plugins/keyring.py + + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 3 dated June, 2007. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the + Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, + Boston, MA 02110-1301, USA. + +The Debian packaging is © 2007, Julien Lavergne and +is licensed under the GPL, see `/usr/share/common-licenses/GPL-3'. + + +============= COMPLETE LICENCES ========================= +Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported : + + THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE COMMONS + PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY COPYRIGHT AND/OR + OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS AUTHORIZED UNDER THIS + LICENSE OR COPYRIGHT LAW IS PROHIBITED. + + BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO BE + BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE MAY BE CONSIDERED + TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED HERE IN + CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS. + + 1. Definitions + + 1. "Adaptation" means a work based upon the Work, or upon the Work and other + pre-existing works, such as a translation, adaptation, derivative work, arrangement + of music or other alterations of a literary or artistic work, or phonogram or performance + and includes cinematographic adaptations or any other form in which the Work may be + recast, transformed, or adapted including in any form recognizably derived from the + original, except that a work that constitutes a Collection will not be considered an + Adaptation for the purpose of this License. For the avoidance of doubt, where the Work + is a musical work, performance or phonogram, the synchronization of the Work in + timed-relation with a moving image ("synching") will be considered an Adaptation for + the purpose of this License. + + 2. "Collection" means a collection of literary or artistic works, such as encyclopedias + and anthologies, or performances, phonograms or broadcasts, or other works or subject + matter other than works listed in Section 1(f) below, which, by reason of the selection + and arrangement of their contents, constitute intellectual creations, in which the Work + is included in its entirety in unmodified form along with one or more other contributions, + each constituting separate and independent works in themselves, which together are + assembled into a collective whole. A work that constitutes a Collection will not be + considered an Adaptation (as defined below) for the purposes of this License. + + 3. "Creative Commons Compatible License" means a license that is listed at + http://creativecommons.org/compatiblelicenses that has been approved by Creative + Commons as being essentially equivalent to this License, including, at a minimum, because + that license: (i) contains terms that have the same purpose, meaning and effect as the + License Elements of this License; and, (ii) explicitly permits the relicensing of + adaptations of works made available under that license under this License or a Creative + Commons jurisdiction license with the same License Elements as this License. + + 4. "Distribute" means to make available to the public the original and copies of the Work + or Adaptation, as appropriate, through sale or other transfer of ownership. + + 5. "License Elements" means the following high-level license attributes as selected by + Licensor and indicated in the title of this License: Attribution, ShareAlike. + + 6. "Licensor" means the individual, individuals, entity or entities that offer(s) + the Work under the terms of this License. + + 7. "Original Author" means, in the case of a literary or artistic work, the individual, + individuals, entity or entities who created the Work or if no individual or entity can + be identified, the publisher; and in addition + (i) in the case of a performance the actors, singers, musicians, dancers, and other + persons who act, sing, deliver, declaim, play in, interpret or otherwise perform literary + or artistic works or expressions of folklore; + (ii) in the case of a phonogram the producer being the person or legal entity who first + fixes the sounds of a performance or other sounds; and, + (iii) in the case of broadcasts, the organization that transmits the broadcast. + + 8. "Work" means the literary and/or artistic work offered under the terms of this License + including without limitation any production in the literary, scientific and artistic + domain, whatever may be the mode or form of its expression including digital form, + such as a book, pamphlet and other writing; a lecture, address, sermon or other work of + the same nature; a dramatic or dramatico-musical work; a choreographic work or entertainment + in dumb show; a musical composition with or without words; a cinematographic work to which + are assimilated works expressed by a process analogous to cinematography; a work of drawing, + painting, architecture, sculpture, engraving or lithography; a photographic work to which + are assimilated works expressed by a process analogous to photography; a work of applied art; + an illustration, map, plan, sketch or three-dimensional work relative to geography, + topography, architecture or science; a performance; a broadcast; a phonogram; a compilation + of data to the extent it is protected as a copyrightable work; or a work performed by a + variety or circus performer to the extent it is not otherwise considered a literary or + artistic work. + + 9. "You" means an individual or entity exercising rights under this License who has not + previously violated the terms of this License with respect to the Work, or who has received + express permission from the Licensor to exercise rights under this License despite a + previous violation. + + 10. "Publicly Perform" means to perform public recitations of the Work and to communicate + to the public those public recitations, by any means or process, including by wire or + wireless means or public digital performances; to make available to the public Works in + such a way that members of the public may access these Works from a place and at a place + individually chosen by them; to perform the Work to the public by any means or process + and the communication to the public of the performances of the Work, including by public + digital performance; to broadcast and rebroadcast the Work by any means including signs, + sounds or images. + + 11. "Reproduce" means to make copies of the Work by any means including without limitation + by sound or visual recordings and the right of fixation and reproducing fixations of the + Work, including storage of a protected performance or phonogram in digital form or other + electronic medium. + + 2. Fair Dealing Rights. Nothing in this License is intended to reduce, limit, or restrict + any uses free from copyright or rights arising from limitations or exceptions that are + provided for in connection with the copyright protection under copyright law or other + applicable laws. + + 3. License Grant. Subject to the terms and conditions of this License, Licensor hereby + grants You a worldwide, royalty-free, non-exclusive, perpetual (for the duration of the + applicable copyright) license to exercise the rights in the Work as stated below: + + 1. to Reproduce the Work, to incorporate the Work into one or more Collections, and to + Reproduce the Work as incorporated in the Collections; + + 2. to create and Reproduce Adaptations provided that any such Adaptation, including any + translation in any medium, takes reasonable steps to clearly label, demarcate or otherwise + identify that changes were made to the original Work. For example, a translation could be + marked "The original work was translated from English to Spanish," or a modification could + indicate "The original work has been modified."; + + 3. to Distribute and Publicly Perform the Work including as incorporated in Collections; and, + 4. to Distribute and Publicly Perform Adaptations. + 5. For the avoidance of doubt: + 1. Non-waivable Compulsory License Schemes. In those jurisdictions in which the right + to collect royalties through any statutory or compulsory licensing scheme cannot be waived, + the Licensor reserves the exclusive right to collect such royalties for any exercise by + You of the rights granted under this License; + 2. Waivable Compulsory License Schemes. In those jurisdictions in which the right + to collect royalties through any statutory or compulsory licensing scheme can be waived, + the Licensor waives the exclusive right to collect such royalties for any exercise by + You of the rights granted under this License; and, + 3. Voluntary License Schemes. The Licensor waives the right to collect royalties, + whether individually or, in the event that the Licensor is a member of a collecting society + that administers voluntary licensing schemes, via that society, from any exercise by You of + the rights granted under this License. + + The above rights may be exercised in all media and formats whether now known or hereafter + devised. The above rights include the right to make such modifications as are technically + necessary to exercise the rights in other media and formats. Subject to Section 8(f), + all rights not expressly granted by Licensor are hereby reserved. + + 4. Restrictions. The license granted in Section 3 above is expressly made subject to + and limited by the following restrictions: + + 1. You may Distribute or Publicly Perform the Work only under the terms of this License. + You must include a copy of, or the Uniform Resource Identifier (URI) for, this License + with every copy of the Work You Distribute or Publicly Perform. You may not offer or + impose any terms on the Work that restrict the terms of this License or the ability of + the recipient of the Work to exercise the rights granted to that recipient under the terms + of the License. You may not sublicense the Work. You must keep intact all notices that + refer to this License and to the disclaimer of warranties with every copy of the Work + You Distribute or Publicly Perform. When You Distribute or Publicly Perform the Work, + You may not impose any effective technological measures on the Work that restrict the + ability of a recipient of the Work from You to exercise the rights granted to that + recipient under the terms of the License. This Section 4(a) applies to the Work as + incorporated in a Collection, but this does not require the Collection apart from the + Work itself to be made subject to the terms of this License. If You create a Collection, + upon notice from any Licensor You must, to the extent practicable, remove from the + Collection any credit as required by Section 4(c), as requested. If You create an + Adaptation, upon notice from any Licensor You must, to the extent practicable, remove + from the Adaptation any credit as required by Section 4(c), as requested. + + 2. You may Distribute or Publicly Perform an Adaptation only under the terms of: + (i) this License; + (ii) a later version of this License with the same License Elements as this License; + (iii) a Creative Commons jurisdiction license (either this or a later license version) + that contains the same License Elements as this License (e.g., Attribution-ShareAlike + 3.0 US)); + (iv) a Creative Commons Compatible License. If you license the Adaptation under one of + the licenses mentioned in (iv), you must comply with the terms of that license. + If you license the Adaptation under the terms of any of the licenses mentioned in (i), + (ii) or (iii) (the "Applicable License"), you must comply with the terms of the + Applicable License generally and the following provisions: + (I) You must include a copy of, or the URI for, the Applicable License with every copy + of each Adaptation You Distribute or Publicly Perform; + (II) You may not offer or impose any terms on the Adaptation that restrict the terms + of the Applicable License or the ability of the recipient of the Adaptation to exercise + the rights granted to that recipient under the terms of the Applicable License; + (III) You must keep intact all notices that refer to the Applicable License and to + the disclaimer of warranties with every copy of the Work as included in the Adaptation + You Distribute or Publicly Perform; + (IV) when You Distribute or Publicly Perform the Adaptation, You may not impose any + effective technological measures on the Adaptation that restrict the ability of a + recipient of the Adaptation from You to exercise the rights granted to that recipient + under the terms of the Applicable License. This Section 4(b) applies to the Adaptation as + incorporated in a Collection, but this does not require the Collection apart from the + Adaptation itself to be made subject to the terms of the Applicable License. + + 3. If You Distribute, or Publicly Perform the Work or any Adaptations or Collections, + You must, unless a request has been made pursuant to Section 4(a), keep intact all copyright + notices for the Work and provide, reasonable to the medium or means You are utilizing: + (i) the name of the Original Author (or pseudonym, if applicable) if supplied, and/or if + the Original Author and/or Licensor designate another party or parties (e.g., a sponsor + institute, publishing entity, journal) for attribution ("Attribution Parties") in + Licensor's copyright notice, terms of service or by other reasonable means, the name of + such party or parties; + (ii) the title of the Work if supplied; + (iii) to the extent reasonably practicable, the URI, if any, that Licensor specifies + to be associated with the Work, unless such URI does not refer to the copyright notice + or licensing information for the Work; and + (iv) , consistent with Ssection 3(b), in the case of an Adaptation, a credit identifying + the use of the Work in the Adaptation (e.g., "French translation of the Work by Original + Author," or "Screenplay based on original Work by Original Author"). The credit required + by this Section 4(c) may be implemented in any reasonable manner; provided, however, + that in the case of a Adaptation or Collection, at a minimum such credit will appear, + if a credit for all contributing authors of the Adaptation or Collection appears, then + as part of these credits and in a manner at least as prominent as the credits for the + other contributing authors. For the avoidance of doubt, You may only use the credit + required by this Section for the purpose of attribution in the manner set out above and, + by exercising Your rights under this License, You may not implicitly or explicitly assert + or imply any connection with, sponsorship or endorsement by the Original Author, Licensor + and/or Attribution Parties, as appropriate, of You or Your use of the Work, without the + separate, express prior written permission of the Original Author, Licensor and/or + Attribution Parties. + + 4. Except as otherwise agreed in writing by the Licensor or as may be otherwise permitted + by applicable law, if You Reproduce, Distribute or Publicly Perform the Work either by + itself or as part of any Adaptations or Collections, You must not distort, mutilate, + modify or take other derogatory action in relation to the Work which would be prejudicial + to the Original Author's honor or reputation. Licensor agrees that in those jurisdictions + (e.g. Japan), in which any exercise of the right granted in Section 3(b) of this License + (the right to make Adaptations) would be deemed to be a distortion, mutilation, + modification or other derogatory action prejudicial to the Original Author's honor and + reputation, the Licensor will waive or not assert, as appropriate, this Section, to the + fullest extent permitted by the applicable national law, to enable You to reasonably + exercise Your right under Section 3(b) of this License (right to make Adaptations) but + not otherwise. + + 5. Representations, Warranties and Disclaimer + + UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING, LICENSOR OFFERS THE WORK + AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND CONCERNING THE WORK, EXPRESS, + IMPLIED, STATUTORY OR OTHERWISE, INCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, + MERCHANTIBILITY, FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF + LATENT OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS, WHETHER OR NOT + DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES, SO + SUCH EXCLUSION MAY NOT APPLY TO YOU. + + 6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE LAW, IN NO EVENT + WILL LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR ANY SPECIAL, INCIDENTAL, + CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES ARISING OUT OF THIS LICENSE OR THE USE + OF THE WORK, EVEN IF LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + + 7. Termination + + 1. This License and the rights granted hereunder will terminate automatically upon any + breach by You of the terms of this License. Individuals or entities who have received + Adaptations or Collections from You under this License, however, will not have their + licenses terminated provided such individuals or entities remain in full compliance with + those licenses. Sections 1, 2, 5, 6, 7, and 8 will survive any termination of this License. + + 2. Subject to the above terms and conditions, the license granted here is perpetual + (for the duration of the applicable copyright in the Work). Notwithstanding the above, + Licensor reserves the right to release the Work under different license terms or to stop + distributing the Work at any time; provided, however that any such election will not serve + to withdraw this License (or any other license that has been, or is required to be, granted + under the terms of this License), and this License will continue in full force and effect + unless terminated as stated above. + + 8. Miscellaneous + + 1. Each time You Distribute or Publicly Perform the Work or a Collection, the Licensor + offers to the recipient a license to the Work on the same terms and conditions as the + license granted to You under this License. + + 2. Each time You Distribute or Publicly Perform an Adaptation, Licensor offers to the + recipient a license to the original Work on the same terms and conditions as the license + granted to You under this License. + + 3. If any provision of this License is invalid or unenforceable under applicable law, + it shall not affect the validity or enforceability of the remainder of the terms of this + License, and without further action by the parties to this agreement, such provision + shall be reformed to the minimum extent necessary to make such provision valid and + enforceable. + + 4. No term or provision of this License shall be deemed waived and no breach consented + to unless such waiver or consent shall be in writing and signed by the party to be charged + with such waiver or consent. + + 5. This License constitutes the entire agreement between the parties with respect to the + Work licensed here. There are no understandings, agreements or representations with respect + to the Work not specified here. Licensor shall not be bound by any additional provisions + that may appear in any communication from You. This License may not be modified without + the mutual written agreement of the Licensor and You. + + 6. The rights granted under, and the subject matter referenced, in this License were + drafted utilizing the terminology of the Berne Convention for the Protection of Literary + and Artistic Works (as amended on September 28, 1979), the Rome Convention of 1961, the + WIPO Copyright Treaty of 1996, the WIPO Performances and Phonograms Treaty of 1996 and + the Universal Copyright Convention (as revised on July 24, 1971). These rights and subject + matter take effect in the relevant jurisdiction in which the License terms are sought to + be enforced according to the corresponding provisions of the implementation of those + treaty provisions in the applicable national law. If the standard suite of rights granted + under applicable copyright law includes additional rights not granted under this License, + such additional rights are deemed to be included in the License; this License is not intended + to restrict the license of any rights under applicable law. + + Creative Commons Notice + + Creative Commons is not a party to this License, and makes no warranty whatsoever in + connection with the Work. Creative Commons will not be liable to You or any party on any + legal theory for any damages whatsoever, including without limitation any general, + special, incidental or consequential damages arising in connection to this license. + Notwithstanding the foregoing two (2) sentences, if Creative Commons has expressly + identified itself as the Licensor hereunder, it shall have all rights and obligations + of Licensor. + + Except for the limited purpose of indicating to the public that the Work is licensed + under the CCPL, Creative Commons does not authorize the use by either party of the + trademark "Creative Commons" or any related trademark or logo of Creative Commons + without the prior written consent of Creative Commons. Any permitted use will be in + compliance with Creative Commons' then-current trademark usage guidelines, as may be + published on its website or otherwise made available upon request from time to time. + For the avoidance of doubt, this trademark restriction does not form part of the License. + + + + * Public Domain + + The person or persons who have associated work with this document (the "Dedicator" or + "Certifier") hereby either (a) certifies that, to the best of his knowledge, the work + of authorship identified is in the public domain of the country from which the work is + published, or (b) hereby dedicates whatever copyright the dedicators holds in the work + of authorship identified below (the "Work") to the public domain. A certifier, moreover, + dedicates any copyright interest he may have in the associated work, and for these purposes, + is described as a "dedicator" below. + + A certifier has taken reasonable steps to verify the copyright status of this work. + Certifier recognizes that his good faith efforts may not shield him from liability if + in fact the work certified is not in the public domain. + + Dedicator makes this dedication for the benefit of the public at large and to the detriment + of the Dedicator's heirs and successors. Dedicator intends this dedication to be an overt act + of relinquishment in perpetuity of all present and future rights under copyright law, whether + vested or contingent, in the Work. Dedicator understands that such relinquishment of all + rights includes the relinquishment of all rights to enforce (by lawsuit or otherwise) those + copyrights in the Work. + + Dedicator recognizes that, once placed in the public domain, the Work may be freely + reproduced, distributed, transmitted, used, modified, built upon, or otherwise exploited + by anyone for any purpose, commercial or non-commercial, and in any way, including by methods + that have not yet been invented or conceived. --- screenlets-0.1.2.orig/debian/pycompat +++ screenlets-0.1.2/debian/pycompat @@ -0,0 +1 @@ +2 --- screenlets-0.1.2.orig/debian/menu +++ screenlets-0.1.2/debian/menu @@ -0,0 +1,6 @@ +?package(screenlets):\ + needs="X11"\ + section="Games/Toys"\ + title="Screenlets"\ + command="screenlets-manager"\ + hints="Gnome" --- screenlets-0.1.2.orig/debian/changelog +++ screenlets-0.1.2/debian/changelog @@ -0,0 +1,349 @@ +screenlets (0.1.2-7ubuntu2) maverick; urgency=low + + * debian/patches/21-return-ip-address.patch: + - Fix screenlets.sensors.net_get_ip() to get the IP address. Thanks + Michel Leunen for the patch. (LP: #618868) + + -- Julien Lavergne Sat, 21 Aug 2010 18:01:52 +0200 + +screenlets (0.1.2-7ubuntu1) lucid; urgency=low + + * Updated tomboy notes folder path. (LP: #477017) + + -- Frank Cheung Sun, 08 Nov 2009 13:18:33 +0000 + +screenlets (0.1.2-7) unstable; urgency=medium + + * Urgency to medium to fix RC bug. + * debian/rules: Really apply patches to fix the segfaults again. + (Closes: #536392) + + -- Julien Lavergne Fri, 07 Aug 2009 23:53:44 +0200 + +screenlets (0.1.2-6) unstable; urgency=low + + [ Julien Lavergne ] + * debian/rules: Replace simple-patchsys by quilt. + * debian/control: + - Build-depends on quilt. + - Remove X{B,S}-Python-Version. + - Bump Standards-Version to 3.8.2 (no change needed). + * debian/pyversions : Add compatible versions. + * debian/patches: + - 13-opacity-option.patch: Disable the opacity option if the screen + is not composited (Closes: #518179). + - 14-configuration-save.patch: From Ubuntu, save and restore the + configuration file in some cases. (LP: #345359) + - 15-nowplaying-mpd-try.patch: Try to connect to mpd instead of forcing + the connection. (LP: #269256) + - 16-clearweather-catch-connection-error.patch: From Ubuntu, catch + connection error on update (thanks Kjell Braden for the patch). + (LP: #264809) + - 17-nowplaying-disable-amarok.patch: Disable Amarok 1.X support. + - 18-nowplaying-rb-playing.patch: Avoid Dbus exception when checking + if the player is playing. + - 19-remove-autostart-output.patch: Remove output when screenlets are + autostarted. (LP: #318248) + - Update patches to apply with quilt. + * debian/README.source: Replace by the quilt one. + + [ Siegfried-Angel Gevatter Pujals ] + * debian/screenlets.install: + - Install the available translations (usr/share/locale) (LP: #386878). + + -- Julien Lavergne Sat, 20 Jun 2009 16:33:51 +0200 + +screenlets (0.1.2-5) unstable; urgency=medium + + * Urgency to medium to fix RC bug. + * debian/patches: Update description for all patches. + * debian/patches/12-new-class-creation.patch: + - Use new-style class creation. This should avoid some segfaults + (Closes: #519664). + * debian/control: + - Remove python-dcop from suggests. + - Bump the need of a compositor to recommends, because it's needed to deal + with transparency. + - Following python-gnome2-desktop split. + + Remove depends on python-gnome2-desktop + + Add python-rsvg as depends. + + Add python-wnck as depends, needed by screenlets-manager. + + Add python-evolution as recommends, only needed by the + EvolutionContacts Screenlets. + + Add python-gnomekeyring as recommends, as it's an optional feature. + - Bump Standards-Version to 3.8.1 (no change needed). + + -- Julien Lavergne Mon, 13 Apr 2009 21:48:26 +0200 + +screenlets (0.1.2-4) unstable; urgency=low + + [ Julien Lavergne ] + * debian/10-ImageMenuItem-update.patch + - Replace get_children() by get_child() and get_image() following pygtk + modifications. + * debian/11-xfce-wallpaper-setting.patch + - Add a xfconf-query call to update desktop wallpaper (Closes: #497222). + * debian/control + - Suggest xfconf for WallpaperClock under XFCE, require for + 11-xfce-wallpaper-setting.patch. + - Switch from python-central to python-support. + - Set XS-Python-Version to >= 2.4 + - Remove duplicated section in binary. + * debian/copyright + - Replace (C) by ©. + * debian/pycompat: Remove. + * debian/rules: Switch from pycentral to pysupport. + + [ Sandro Tosi ] + * debian/control + - switch Vcs-Browser field to viewsvn + + -- Julien Lavergne Thu, 12 Mar 2009 00:24:34 +0100 + +screenlets (0.1.2-3) unstable; urgency=low + + * debian/patches + - 04-install-wallclock-in-home.patch : install WallpaperClock in + ~/.screenlets instead of /usr/share (Closes: #497127). + - 05-places-no-bookmark.patch : don't crash Places Screenlets if there is + no bookmark. + - 06-main-menu-no-bookmark.patch : don't crash Main Menu Screenlets if + there is no bookmark. + * debian/rules + - Remove feedparser.py in FeedReader Screenlet, already in + python-feedparser. + + -- Julien Lavergne Sun, 28 Sep 2008 01:29:35 +0200 + +screenlets (0.1.2-2) unstable; urgency=low + + * debian/install + - Install prefix in /etc/screenlets/ (Closes: #488953) + * debian/patches/01-scripts-cleanup.patch + - Use "\n" to print correctly script output (Closes: #488952) + * debian/rules + - Only use uscan in get-orig-source. + + -- Julien Lavergne Thu, 03 Jul 2008 23:21:09 +0200 + +screenlets (0.1.2-1) unstable; urgency=low + + * New upstream release. + * debian/control + - Add python-imaging as Recommends for WallpaperClockScreenlet Screenlets. + - Bump Standards-Version to 3.8.0 (no change needed). + - Replace python-gnome2-extras with python-gtkmozembed, screenlets only use + this module. (Closes: #485296) + * debian/patches + - 01-scripts-cleanup.patch: Update. + - 02-fix-acpi-crash.patch: Add exception in ACPI Screenlets when there is + no battery. + - 03-fix-wallpaperclock-location.patch: Test WallpaperClock location before + assignation. + - 02_RSS_fix_import.patch: removed, merged upstream. + - 03-sticky-on-XFCE.patch: removed, merged upstream. + - 04-fix-clock-offset.patch: removed, merged upstream. + - 05-disable-Numeric-import.patch: removed, merged upstream. + * debian/rules + - Don't remove empty directory, fixed upstream. + - Install screenlets.1 and screenlets-daemon.1 man pages. + - Add a get-orig-source to repack the tarball. + - Delete empty directory in WallpaperClockScreenlet. + * debian/copyright + - Update Authors and Copyright. + * debian/watch + - Update to upload bz2 tarball. + * Add screenlets.1 and screenlets-daemon.1 man pages. + * Improve screenletsd.1, screenlets-manager.1 and screenlets-packager.1 + + -- Julien Lavergne Wed, 04 Jun 2008 21:39:02 +0200 + +screenlets (0.1.1-2) unstable; urgency=low + + * debian/patches + - 02_RSS_fix_import.patch : Don't crash the manager if python-feedparser + is not installed. + - 03-sticky-on-XFCE.patch : Keep sticky mode on restart for XFCE. + Thanks Luca Niccoli for the patch (Closes: #480672) + - 04-fix-clock-offset.patch : From upstream, update date of Clock + Screenlet at midnight, even if there is an offset. (Closes: + #458788) + - 05-disable-Numeric-import.patch : From upstream, disable import + Numeric, not necessary (Closes: #478462) + * debian/control + - Drop Depends on python-numeric. + + -- Julien Lavergne Wed, 28 May 2008 00:01:13 +0200 + +screenlets (0.1.1-1) unstable; urgency=low + + * New upstream release (Closes: #477313) + * debian/control + - Add evolution as Suggests for EvolutionContacts Screenlet. + - Add tomboy as Suggests for Tomboy Screenlet. + - Add gnome-orca as Suggests for Speech Screenlets. + * debian/copyright + - Update with new Screenlets. + * debian/rules + - Remove binary-predeb rules for *.conf and RadioScreenlet.py, fixed + upstream. + * debian/patches/01-scipts-cleanup.patch + - Update. + + -- Julien Lavergne Thu, 08 May 2008 11:34:56 +0200 + +screenlets (0.1-1) unstable; urgency=low + + * New upstream release (Closes: #474510) + * debian/patches + - 02-Clean-Desktop.patch: removed, merged upstream. + - 03-fix-menu-icon.patch: removed, merged upstream. + - 05-clean-shebang.patch: removed, merged upstream. + - 06-use-default-browser.patch: removed, merged upstream. + - 01-scripts-cleanup.patch: Updated. + * debian/control + - Drop Build-Depends for the documentation. + - Add python-gnome2-extras and iceweasel as Recommends for Web Screenlets. + * debian/rules + - Don't build documentation, included upstream. + - Clean locale directory. + - Fix 755 mode for png files. + * debian/screenlets-doc.install + - Update location of the documentation. + * debian/copyright + - Update to new Copyright for some screenlets. + + -- Julien Lavergne Wed, 02 Apr 2008 19:42:37 +0200 + +screenlets (0.0.14-1) unstable; urgency=medium + + * New upstream release + * Urgency to medium to fix RC bug (472024) + * debian/rules + - Remove rmdir for usr/lib, fixed with python-central 0.6 (Closes: #472024) + - Move rm for feedparser.py to install/screenlets. + - Add PYTHONPATH to build the documentation. + * debian/patches + - 01-scripts-cleanup.patch: delete bashism (Closes: #472897) + - 05-clean-shebang.patch: remove useless shebang. + - 06-use-default-browser.patch: Use default browser instead of Firefox. + - 04-fix-crash-acpi.patch: removed, merged upstream. + - 10-problem-on-create-tmpfile.patch: removed, merged upstream. + * debian/control + - Bump python-central Build-Depends to >= 0.6 + - Remove screenlets Build-Depends. + - Add screenlets binary Depends to Build-Depends for the documentation. + - Remove python-imaging as Recommends, SlideShow now doesn't use it. + * debian/copyright + - Update Copyright with new screenlets. + * debian/watch + - Switch to http, require by Launchpad. + + -- Julien Lavergne Tue, 01 Apr 2008 20:38:48 +0200 + +screenlets (0.0.12-1) unstable; urgency=low + + * New upstream release. + * debian/control + - Add screenlets-doc binary. + - 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 as Recommends for SlideShow Screenlets. + - Add python-feedparser as Recommends for ClearRSS Screenlets. + - Add python-gmenu as Recommends for MainMenu Screenlet. + - Add python-numeric as Recommends for CleanWeather Screenlet. + - Add python-chardet as Recommends for ClearRSS Screenlet. + - Wrap Build Depends and Depends. + - Add Suggest metacity (>= 2.21.4) which support composite. + - Add Suggest python-dcop for the NowPlaying Screenlets. + - Mention in the description that Screenlets work also on non-composited + desktop. + * debian/copyright + - Update upstream authors. + - Update Copyright and Licences. + * debian/screenlets-doc.doc-base.screenlets + - Add doc-base install file. + * debian/rules + - Build API docs. + - Add a binary-predeb rule to delete empty /usr/lib folder and bad + theme folder. + - Remove feedparser.py in ClearRSS Screenlet, already in python-feedparser. + - Remove other rm and rmdir commands, handle by *.install files. + - Fix 755 mode for conf files. + - Add screenletsd.1 in man pages. + * debian/screenlets.install + - Rename install to screenlets.install to add screenlets-doc package. + - Install D-Bus service properly. + * debian/screenlets-doc.install + - Install docs files. + * debian/screenlets.link + - Rename links to screenlets.links. + * debian/patches + - Drop 09-delete-example-files.patch, handle by *.install files. + - Drop 01-Install-to-usr-directory.patch, merged upstream. + - Drop 04-Fix-python-heritage-empaty.patch, merged upstream. + - Drop 05-Test-in-home-dir.patch, merged upstream. + - Drop 06-Fix-error-type-pager-windowslist.patch, merged upstream. + - Drop 07-Add-python-to-autostart-files.patch, merged upstream. + - Drop 03-Clean-hashbang-shebang.patch: merged upstream. + - 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. + * debian/watch + - Update to the new location of upstream tarball. + * Debian/README + - Update with the non-composite support. + + -- Julien Lavergne Wed, 12 Mar 2008 22:00:30 +0100 + +screenlets (0.0.10-3) unstable; urgency=low + + [Marco Rodrigues] + * Update Standards-Version to 3.7.3. + + [Julien Lavergne] + * debian/patches: + - 10-Import-screenlets-before-gtk.patch : Fix crash on startup with import + gtk module after screenlets module (Closes: #455219) + * debian/rules: + - Delete empty /usr/lib directory + + -- Julien Lavergne Mon, 17 Dec 2007 00:14:20 +0100 + +screenlets (0.0.10-2) unstable; urgency=low + + * debian/control : change priority to optional + * debian/install + - add dbus service for screenlets-daemon (Thanks Niv Sardi) + - install svg image in /usr/share/icons/hicolor/scalable/apps/ + * debian/screenlets.links : add link for the new icon path + * debian/rules : add upstream changelog + * debian/patches + - 08-add_timezone_support.patch : Add timezone support for ClockScreenlets (Thanks Niv Sardi) + - 09-delete-example-files.patch : Delete examples until copyright fix + * debian/screenlets-manager.1 & debian/screenlets-packager.1 : Clean man pages + + -- Julien Lavergne Mon, 26 Nov 2007 23:50:01 +0100 + +screenlets (0.0.10-1) unstable; urgency=low + + [ Julien Lavergne ] + * Initial release (Closes: #446783) + * debian/patches/01-Install-to-usr-directory.patch : Install in /usr instead of /usr/local + * debian/patches/02-Clean-Desktop.patch : Delete "Encoding", Exec screenlets-manager bin, + add Type=Application to screenlets.daemon, move screenlets-manager to Utility. + * debian/patches/04-Fix-python-heritage-empaty.patch : Delete the () in python class. + * debian/patches/05-Test-in-home-dir.patch : test if $HOME/.config/Screenlets exit + or create it, and create autostart file. + * debian/patches/06-Fix-error-type-pager-windowslist.patch : Fix TypeError in + active_window_changed() when Pager and Windowlist screenlets are running, and fix crash with + __setattr__ + * debian/patches/07-Add-python-to-autostart-files.patch : add "python" to autostart + files to make sure they start at login. + + [ Kumar Appaiah ] + * debian/patches/03-Clean-hashbang-shebang.patch : Remove shebang and use #!/bin/sh. + + -- Julien Lavergne Fri, 19 Oct 2007 16:52:50 +0200 --- screenlets-0.1.2.orig/debian/README.source +++ screenlets-0.1.2/debian/README.source @@ -0,0 +1,57 @@ +This package uses quilt to manage all modifications to the upstream +source. Changes are stored in the source package as diffs in +debian/patches and applied during the build. + +To configure quilt to use debian/patches instead of patches, you want +either to export QUILT_PATCHES=debian/patches in your environment +or use this snippet in your ~/.quiltrc: + + for where in ./ ../ ../../ ../../../ ../../../../ ../../../../../; do + if [ -e ${where}debian/rules -a -d ${where}debian/patches ]; then + export QUILT_PATCHES=debian/patches + fi + done + +To get the fully patched source after unpacking the source package, cd to +the root level of the source package and run: + + quilt push -a + +The last patch listed in debian/patches/series will become the current +patch. + +To add a new set of changes, first run quilt push -a, and then run: + + quilt new + +where is a descriptive name for the patch, used as the filename in +debian/patches. Then, for every file that will be modified by this patch, +run: + + quilt add + +before editing those files. You must tell quilt with quilt add what files +will be part of the patch before making changes or quilt will not work +properly. After editing the files, run: + + quilt refresh + +to save the results as a patch. + +Alternately, if you already have an external patch and you just want to +add it to the build system, run quilt push -a and then: + + quilt import -P /path/to/patch + quilt push -a + +(add -p 0 to quilt import if needed). as above is the filename to +use in debian/patches. The last quilt push -a will apply the patch to +make sure it works properly. + +To remove an existing patch from the list of patches that will be applied, +run: + + quilt delete + +You may need to run quilt pop -a to unapply patches first before running +this command. --- screenlets-0.1.2.orig/debian/screenlets-doc.install +++ screenlets-0.1.2/debian/screenlets-doc.install @@ -0,0 +1 @@ +/docs/epydoc/* /usr/share/doc/screenlets/API --- screenlets-0.1.2.orig/debian/pyversions +++ screenlets-0.1.2/debian/pyversions @@ -0,0 +1 @@ +2.4- --- screenlets-0.1.2.orig/debian/README.Debian +++ screenlets-0.1.2/debian/README.Debian @@ -0,0 +1,10 @@ +screenlets +========== + +Screenlets is an application which works better with real transparency. +You can obtain this using a composite manager like : + +- xcompmgr +- xfwm4 (>= 4.2.0) +- compiz +- metacity (>= 2.21.4) --- screenlets-0.1.2.orig/debian/watch +++ screenlets-0.1.2/debian/watch @@ -0,0 +1,2 @@ +version=3 +https://launchpad.net/screenlets/+download http://launchpad.net/screenlets/.*/screenlets-(.+).tar.bz2 --- screenlets-0.1.2.orig/debian/org.screenlets.ScreenletsDaemon.service +++ screenlets-0.1.2/debian/org.screenlets.ScreenletsDaemon.service @@ -0,0 +1,3 @@ +[D-BUS Service] +Name=org.screenlets.ScreenletsDaemon +Exec=/usr/share/screenlets-manager/screenlets-daemon.py --- screenlets-0.1.2.orig/debian/patches/16-clearweather-catch-connection-error.patch +++ screenlets-0.1.2/debian/patches/16-clearweather-catch-connection-error.patch @@ -0,0 +1,64 @@ +#Upstream https://bugs.launchpad.net/ubuntu/+source/screenlets/+bug/264809 + +Index: trunk/src/share/screenlets/ClearWeather/ClearWeatherScreenlet.py +=================================================================== +--- trunk.orig/src/share/screenlets/ClearWeather/ClearWeatherScreenlet.py 2009-04-28 01:03:15.000000000 +0200 ++++ trunk/src/share/screenlets/ClearWeather/ClearWeatherScreenlet.py 2009-04-28 01:04:54.000000000 +0200 +@@ -11,6 +11,7 @@ + + import re + from urllib import urlopen ++import socket # for socket.error + import screenlets + from screenlets.options import StringOption, BoolOption, ColorOption, FontOption + import pygtk +@@ -164,8 +165,9 @@ + dcstop = data.find('',dcstart) #####10-day forecast + day = data[dcstart:dcstop] + forecast.append(self.tokenizeForecast(day)) +- except: +- pass ++ except (IOError, socket.error), e: ++ print "Error retrieving weather data", e ++ self.show_error(("Error retrieving weather data", e)) + + return forecast + +@@ -186,8 +188,9 @@ + dcstop = data.find('',dcstart) ####hourly forecast + hour = data[dcstart:dcstop] + hforecast.append(self.tokenizeForecastHourly(hour)) +- except IOError, e: ++ except (IOError, socket.error), e: + print "Error retrieving weather data", e ++ self.show_error(("Error retrieving weather data", e)) + + return hforecast + +@@ -513,7 +516,7 @@ + + + if y >= 75 and x <= 132 and x >= 110: +- os.system('xdg-open weather.com') ++ os.system('xdg-open http://weather.com') + + def on_draw_shape(self,ctx): + if self.theme: +@@ -553,13 +556,15 @@ + + + +- def show_error(self): ++ def show_error(self, reason=None): + + dialog = gtk.Dialog("Zip Code", self.window) + dialog.resize(300, 100) + dialog.add_buttons(gtk.STOCK_OK, gtk.RESPONSE_OK) + +- label = gtk.Label("Could not reach weather.com. Check your internet connection and location and try again.") ++ reasonstr = "\nReason: %s" % reason if reason is not None else "" ++ ++ label = gtk.Label("Could not reach weather.com. Check your internet connection and location and try again."+reasonstr) + dialog.vbox.add(label) + check = gtk.CheckButton("Do not show this again") + dialog.vbox.add(check) --- screenlets-0.1.2.orig/debian/patches/21-return-ip-address.patch +++ screenlets-0.1.2/debian/patches/21-return-ip-address.patch @@ -0,0 +1,15 @@ +Index: screenlets-0.1.2/src/lib/sensors.py +=================================================================== +--- screenlets-0.1.2.orig/src/lib/sensors.py 2010-08-19 23:15:16.000000000 +0200 ++++ screenlets-0.1.2/src/lib/sensors.py 2010-08-19 23:16:34.000000000 +0200 +@@ -518,8 +518,8 @@ + ip = commands.getoutput("ifconfig") + x = 0 + while True: +- ip = ip[ip.find("inet addr:"):] +- ip = ip[10:] ++ ip = ip[ip.find("inet adr:"):] ++ ip = ip[9:] + ipc = ip[:ip.find(chr(32))] + if ipc != '127.0.0.1' and ipc != None and ipc !='1': + --- screenlets-0.1.2.orig/debian/patches/series +++ screenlets-0.1.2/debian/patches/series @@ -0,0 +1,18 @@ +01-scripts-cleanup.patch +02-fix-acpi-crash.patch +03-fix-wallpaperclock-location.patch +04-install-wallclock-in-home.patch +05-places-no-bookmark.patch +06-main-menu-no-bookmark.patch +10-ImageMenuItem-update.patch +11-xfce-wallpaper-setting.patch +12-new-class-creation.patch +13-opacity-option.patch +14-configuration-save.patch +15-nowplaying-mpd-try.patch +16-clearweather-catch-connection-error.patch +17-nowplaying-amarok.patch +18-nowplaying-rb-playing.patch +19-remove-autostart-output.patch +20-tomboy-update-path.patch +21-return-ip-address.patch --- screenlets-0.1.2.orig/debian/patches/11-xfce-wallpaper-setting.patch +++ screenlets-0.1.2/debian/patches/11-xfce-wallpaper-setting.patch @@ -0,0 +1,19 @@ +#Debian bug : #497222 +#Upstream bug : https://bugs.launchpad.net/screenlets/+bug/263310 +=== modified file 'src/share/screenlets/WallpaperClock/WallpaperClockScreenlet.py' +--- screenlets/src/share/screenlets/WallpaperClock/WallpaperClockScreenlet.py 2008-08-30 09:22:46 +0000 ++++ screenlets/src/share/screenlets/WallpaperClock/WallpaperClockScreenlet.py 2009-02-21 15:33:34 +0000 +@@ -431,6 +431,12 @@ + except: + pass + try: ++ os.system("xfconf-query -c xfce4-desktop -p /backdrop/screen0/monitor0/image-path -s "+ self.imagepath + 'wallpaper.png') ++ os.system("xfconf-query -c xfce4-desktop -p /backdrop/screen0/monitor0/image-show -s true") ++ os.system("xfconf-query -c xfce4-desktop -p /backdrop/screen0/monitor0/image-style -s 0") ++ except: ++ pass ++ try: + if self.gnome_wallpaper_option == 'stretched': + kde_wall = 6 + else: + --- screenlets-0.1.2.orig/debian/patches/13-opacity-option.patch +++ screenlets-0.1.2/debian/patches/13-opacity-option.patch @@ -0,0 +1,50 @@ +#Debian : http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=518179 +#Upstream : https://bugs.launchpad.net/screenlets/+bug/340197 + +Index: trunk/src/lib/__init__.py +=================================================================== +--- trunk.orig/src/lib/__init__.py 2009-04-28 00:15:03.000000000 +0200 ++++ trunk/src/lib/__init__.py 2009-04-28 00:17:37.000000000 +0200 +@@ -865,6 +865,10 @@ + self.first_run = True + self.window.hide() + ++ #Make opacity available only when composite is enabled ++ if not self.window.is_composited () : ++ self.disable_option('opacity') ++ + def __setattr__ (self, name, value): + # set the value in GObject (ESSENTIAL!!!!) + self.on_before_set_atribute(name, value) +@@ -1726,7 +1730,11 @@ + + if not self.window.is_composited () : + self.show_buttons = False +- # print _('Warning - Buttons will not be shown until screenlet is restarted') ++ self.disable_option("opacity") ++ # print _('Warning - Buttons will not be shown until screenlet is restarted') ++ ++ if self.window.is_composited () : ++ self.enable_option("opacity") + + self.is_sticky = self.is_sticky #and again ... + self.keep_above= self.keep_above +Index: trunk/src/lib/options.py +=================================================================== +--- trunk.orig/src/lib/options.py 2009-04-28 00:15:12.000000000 +0200 ++++ trunk/src/lib/options.py 2009-04-28 00:18:08.000000000 +0200 +@@ -423,6 +423,14 @@ + o.disabled = True + return True + return False ++ ++ def enable_option(self, name): ++ """Enable the inputs for a certain Option.""" ++ for o in self.__options__: ++ if o.name == name: ++ o.disabled = False ++ return True ++ return False + + def export_options_as_list (self): + """Returns all editable options within a list (without groups) --- screenlets-0.1.2.orig/debian/patches/04-install-wallclock-in-home.patch +++ screenlets-0.1.2/debian/patches/04-install-wallclock-in-home.patch @@ -0,0 +1,17 @@ +#Upstream bugtracker entry: https://bugs.launchpad.net/screenlets/+bug/275301 +#Copyright: Julien Lavergne +=== modified file 'src/share/screenlets/WallpaperClock/WallpaperClockScreenlet.py' +--- screenlets/src/share/screenlets/WallpaperClock/WallpaperClockScreenlet.py 2008-08-30 08:46:17 +0000 ++++ screenlets/src/share/screenlets/WallpaperClock/WallpaperClockScreenlet.py 2008-08-30 09:10:52 +0000 +@@ -160,8 +160,8 @@ + tar_opts = '-o' + + if extension == 'Wcz' or extension == 'wcz' or extension == 'WCZ': +- if not os.path.isdir(self.mypath + '/wallpapers/' + basename): +- os.mkdir(self.mypath + '/wallpapers/' + basename) ++ if not os.path.exists(os.path.expanduser('~/.screenlets/WallpaperClock/wallpapers')): ++ os.mkdir(os.path.expanduser('~/.screenlets/WallpaperClock/wallpapers')) + os.system('unzip %s %s -d %s' % (tar_opts,chr(34) + filename + chr(34),os.environ['HOME'] + '/.screenlets/WallpaperClock' + '/wallpapers/' + basename)) + screenlets.show_message(self,"Wallpaper clock has been succesfully installed. if not please install unzip" ) + result = True + --- screenlets-0.1.2.orig/debian/patches/02-fix-acpi-crash.patch +++ screenlets-0.1.2/debian/patches/02-fix-acpi-crash.patch @@ -0,0 +1,19 @@ +#Upstream: https://bugs.launchpad.net/screenlets/+bug/245311 +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-06-05 22:09:02.000000000 +0200 ++++ screenlets/src/share/screenlets/ACPIBattery/ACPIBatteryScreenlet.py 2008-06-06 17:24:10.000000000 +0200 +@@ -103,7 +103,11 @@ + self.__dict__['update_interval'] = 1 + elif name == "file_auto": + if value: +- dirs=listdir('/proc/acpi/battery/'); ++ try: ++ dirs=listdir('/proc/acpi/battery/'); ++ except OSError: ++ dirs=[]; ++ pass + dirs.sort(); + try: + self.__dict__['file_path']='/proc/acpi/battery/'+dirs[0]+'/' +Seulement dans screenlets/src/share/screenlets/ACPIBattery: ACPIBatteryScreenlet.py~ + --- screenlets-0.1.2.orig/debian/patches/17-nowplaying-amarok.patch +++ screenlets-0.1.2/debian/patches/17-nowplaying-amarok.patch @@ -0,0 +1,25 @@ +#Upstream : https://bugs.launchpad.net/ubuntu/+source/screenlets/+bug/269256 + +Index: trunk/src/share/screenlets/NowPlaying/NowPlayingScreenlet.py +=================================================================== +--- trunk.orig/src/share/screenlets/NowPlaying/NowPlayingScreenlet.py 2009-04-29 23:20:25.000000000 +0200 ++++ trunk/src/share/screenlets/NowPlaying/NowPlayingScreenlet.py 2009-04-29 23:21:47.000000000 +0200 +@@ -58,7 +58,8 @@ + PLAYER_LIST = {'Rhythmbox':'RhythmboxAPI', + 'Listen':'ListenAPI', + 'Banshee':'BansheeAPI', +- 'Amarok':'AmarokAPI', ++#TODO Port to Amarok 2.X API ++# 'Amarok':'AmarokAPI', + 'Exaile':'ExaileAPI', + 'Sonata':'SonataAPI', + 'Kaffeine':'KaffeineAPI', +@@ -68,7 +69,7 @@ + 'LastFMProxy':'LastFMProxyAPI', + 'Songbird':'SongbirdAPI',} + +-PLAYER_LIST_LAUNCH = ['amarok','audacious','banshee','exaile','juk','kaffeine','listen','quodlibet','rhythmbox','sonata','songbird'] ++PLAYER_LIST_LAUNCH = ['audacious','banshee','exaile','juk','kaffeine','listen','quodlibet','rhythmbox','sonata','songbird'] + # The Screenlet + class NowPlayingScreenlet(screenlets.Screenlet): + """Shows Song Info""" --- screenlets-0.1.2.orig/debian/patches/10-ImageMenuItem-update.patch +++ screenlets-0.1.2/debian/patches/10-ImageMenuItem-update.patch @@ -0,0 +1,16 @@ +#Upstream : https://bugs.launchpad.net/screenlets/+bug/256329 +diff -Nur -x '*.orig' -x '*~' screenlets-0.1.2/src/lib/menu.py screenlets-0.1.2.new/src/lib/menu.py +--- screenlets-0.1.2/src/lib/menu.py 2008-06-04 14:31:25.000000000 +0200 ++++ screenlets-0.1.2.new/src/lib/menu.py 2008-10-21 21:18:17.000000000 +0200 +@@ -321,9 +321,8 @@ + super(ImageMenuItem, self).__init__(stock) + + # get the label and image for later +- children = self.get_children() +- self.label = children[0] +- self.image = children[1] ++ self.label = self.get_child() ++ self.image = self.get_image() + + # set the label to custom text + if label is not None: --- screenlets-0.1.2.orig/debian/patches/19-remove-autostart-output.patch +++ screenlets-0.1.2/debian/patches/19-remove-autostart-output.patch @@ -0,0 +1,15 @@ +#Upstream: https://bugs.launchpad.net/ubuntu/+source/screenlets/+bug/318248 + +Index: trunk/src/share/screenlets-manager/screenlets-manager.py +=================================================================== +--- trunk.orig/src/share/screenlets-manager/screenlets-manager.py 2009-04-30 12:10:30.000000000 +0200 ++++ trunk/src/share/screenlets-manager/screenlets-manager.py 2009-04-30 12:10:57.000000000 +0200 +@@ -863,7 +863,7 @@ + elif os.path.exists('%s/icon.png' % path): + code.append('Icon=%s/icon.png' % path) + code.append('Type=Application') +- code.append('Exec= python -u %s/%sScreenlet.py' % (path, name)) ++ code.append('Exec= python -u %s/%sScreenlet.py > /dev/null' % (path, name)) + code.append('X-GNOME-Autostart-enabled=true') + #print code + f = open(starter, 'w') --- screenlets-0.1.2.orig/debian/patches/05-places-no-bookmark.patch +++ screenlets-0.1.2/debian/patches/05-places-no-bookmark.patch @@ -0,0 +1,20 @@ +#Upstream bugtracker entry: https://bugs.launchpad.net/screenlets/+bug/270648 +#Comment: Partial patch from revision 102 of Universal-Applets branch (https://code.edge.launchpad.net/~screenlets-extras-team/universal-applets/universal-applets-extras). +#Copyright: Julien Lavergne (Original patch by Natan Yellin) +diff -ur screenlets-0.1.2.orig/src/share/screenlets/Places/PlacesScreenlet.py screenlets-0.1.2/src/share/screenlets/Places/PlacesScreenlet.py +--- screenlets-0.1.2.orig/src/share/screenlets/Places/PlacesScreenlet.py 2008-06-04 14:31:27.000000000 +0200 ++++ screenlets-0.1.2/src/share/screenlets/Places/PlacesScreenlet.py 2008-09-17 01:15:40.000000000 +0200 +@@ -110,7 +110,11 @@ + + + +- self.places = [(os.environ['HOME'],'Home')]+ [(utils.get_desktop_dir(),'Desktop')] + utils.LoadBookmarks() ++ self.places = [(os.environ['HOME'], 'Home'), ++ (utils.get_desktop_dir(),'Desktop')] ++ bookmarks = utils.LoadBookmarks() ++ if bookmarks: ++ self.places.extend(bookmarks) + #self.mounts = utils.readMountFile('/proc/mounts') + + if self.height != 20 + (len(self.places)*20) +20: +Seulement dans screenlets-0.1.2/src/share/screenlets/Places: PlacesScreenlet.py~ --- screenlets-0.1.2.orig/debian/patches/06-main-menu-no-bookmark.patch +++ screenlets-0.1.2/debian/patches/06-main-menu-no-bookmark.patch @@ -0,0 +1,18 @@ +#Upstream bugtracker entry : https://bugs.edge.launchpad.net/screenlets/+bug/270647 +#Copyright: Julien Lavergne +diff -ur screenlets-0.1.2.orig/src/share/screenlets/MainMenu/menus.py screenlets-0.1.2/src/share/screenlets/MainMenu/menus.py +--- screenlets-0.1.2.orig/src/share/screenlets/MainMenu/menus.py 2008-06-04 14:31:27.000000000 +0200 ++++ screenlets-0.1.2/src/share/screenlets/MainMenu/menus.py 2008-09-17 00:52:30.000000000 +0200 +@@ -19,7 +19,10 @@ + """ + model = gtk.ListStore(gtk.gdk.Pixbuf, gobject.TYPE_STRING) + book_loc = os.path.expanduser("~") + "/.gtk-bookmarks" +- bookmark_list = open(book_loc,"r") ++ if os.path.exists(book_loc): ++ bookmark_list = open(book_loc,"r") ++ else: ++ bookmark_list =[] + bookmarks = {} + model_list = [] + home = [theme.load_icon('user-home',24,0),"Home"] +Seulement dans screenlets-0.1.2/src/share/screenlets/MainMenu: menus.py~ --- screenlets-0.1.2.orig/debian/patches/14-configuration-save.patch +++ screenlets-0.1.2/debian/patches/14-configuration-save.patch @@ -0,0 +1,66 @@ +#upstream: https://bugs.launchpad.net/screenlets/+bug/345359 + +Index: trunk/src/lib/backend.py +=================================================================== +--- trunk.orig/src/lib/backend.py 2009-04-28 00:34:32.000000000 +0200 ++++ trunk/src/lib/backend.py 2009-04-28 00:36:41.000000000 +0200 +@@ -217,30 +217,38 @@ + lst.append([oname, self.__instances[id][oname]]) + # and save them (if any) + if len(lst) > 0: +- backup = '' +- try: +- backup = open(self.path + id + '.ini', 'r') +- backup.close() +- except:pass +- try: +- # In here something strage appends , sometimes it opens the file , then it cant write to it so it writes and empty file reseting all settings +- +- f = open(self.path + id + '.ini', 'w') +- for el in lst: +- f.write(el[0] + '=' + el[1] + "\n") +- f.close() +- print "OK" +- except: +- if backup != '' and os.path.exists(self.path + id + '.ini'): +- try: +- backup_restore = open(self.path + id + '.ini', 'w') +- backup_restore.write(backup) +- backup_restore.close() +- except:pass +- print _("error while saving config: %s %s") % ( oname , self.path) ++ self.__save_settings (self.path + id + '.ini', lst) + # clear queue + self.__queue = [] + # NOT continue the timeout-function (!!!!!) + return False + ++ def __save_settings (self, filename, lst): ++ """ Try to save settings in a file, first save this to a temporal file avoid encodings a disk full errors """ ++ filenametmp = filename + '.tmp' ++ isOk = True ++ newini = '' ++ try: ++ # Is posible to fail with encoding error? ++ for el in lst: ++ newini += "%s=%s\n" % (el[0], el[1]) ++ except: ++ isOk = False ++ print _("error while convert config to string (encoding error?), I lose your last changes :'(") ++ ++ if isOk: ++ # Write the new settings to a temporal file, disk full, encoding, rights may fails at this point. ++ try: ++ open(filenametmp, 'w').write(newini) ++ except: ++ isOk = False ++ print _("error while saving configuration to a temporal file %s, disk full?") % filenametmp ++ ++ if isOk: ++ # Move saved settings to definitive configuration file, disk error o incorrect rights may fails at this point. ++ try: ++ import shutil ++ shutil.move(filenametmp, filename) ++ except: ++ print _("error while moving temporal file to configuration file, %s > %s, sorry, I lose your settings. :'(") % (filenametmp, filename) + --- screenlets-0.1.2.orig/debian/patches/20-tomboy-update-path.patch +++ screenlets-0.1.2/debian/patches/20-tomboy-update-path.patch @@ -0,0 +1,13 @@ +Index: screenlets-0.1.2/src/share/screenlets/Tomboy/TomboyScreenlet.py +=================================================================== +--- screenlets-0.1.2.orig/src/share/screenlets/Tomboy/TomboyScreenlet.py 2009-11-08 13:17:33.710931288 +0000 ++++ screenlets-0.1.2/src/share/screenlets/Tomboy/TomboyScreenlet.py 2009-11-08 13:18:08.816900688 +0000 +@@ -58,7 +58,7 @@ + if os.environ.has_key("TOMBOY_PATH"): + note_path = os.environ["TOMBOY_PATH"] + else: +- note_path = "~/.tomboy" ++ note_path = "~/.local/share/tomboy" + note_path = os.path.expanduser(note_path) + + # constructor --- screenlets-0.1.2.orig/debian/patches/01-scripts-cleanup.patch +++ screenlets-0.1.2/debian/patches/01-scripts-cleanup.patch @@ -0,0 +1,104 @@ +#Upstream : https://bugs.launchpad.net/screenlets/+bug/245314 +#Debian : #488952 #472897 +diff -ur screenlets.orig/src/bin/screenletsd screenlets/src/bin/screenletsd +--- screenlets.orig/src/bin/screenletsd 2008-06-05 22:09:02.000000000 +0200 ++++ screenlets/src/bin/screenletsd 2008-06-05 22:12:00.000000000 +0200 +@@ -1,4 +1,4 @@ +-#!/bin/bash ++#!/bin/sh + # This application is released under the GNU General Public License + # v3 (or, at your option, any later version). You can find the full + # text of the license under [url]http://www.gnu.org/licenses/gpl.txt[/url]. +@@ -17,10 +17,10 @@ + runDaemon() + { + if [ -z "`ps -f -C python | grep screenlets-daemon`" ]; then #Check if Daemon is running +- echo "Loading Daemon" #Load Daemon ++ printf "Loading Daemon" #Load Daemon + $PREFIX/share/screenlets-manager/screenlets-daemon.py > /dev/null & + else +- echo "Daemon is already running" ++ printf "Daemon is already running" + fi + } + +@@ -32,7 +32,7 @@ + if [ -d $l/$d ]; then + screenletpy="$l/$d/${d}Screenlet.py" + if [ -e $screenletpy ]; then +- echo -e $d ++ printf "$d\n" + fi + fi + done +@@ -56,7 +56,7 @@ + fi + done + if [ -z $location ]; then +- echo -e "There is no screenlet named $screenlet" ++ printf "There is no screenlet named $screenlet" + exit 1 + fi + } +@@ -64,11 +64,11 @@ + auScreenlet() + { + AU_DIR="$HOME/.config/autostart" #Autostart folder +-echo -e "[Desktop Entry]" > $AU_DIR/${1}Screenlet.desktop #Make a .desktop entry to autostart the screenlet +-echo -e "Name=${1}Screenlet" >> $AU_DIR/${1}Screenlet.desktop +-echo -e "Version=1.0" >> $AU_DIR/${1}Screenlet.desktop +-echo -e "Exec=python -u $location > /dev/null" >> $AU_DIR/${1}Screenlet.desktop +-echo -e "X-GNOME-Autostart-enabled=true" >> $AU_DIR/${1}Screenlet.desktop ++printf "[Desktop Entry]\n" > $AU_DIR/${1}Screenlet.desktop #Make a .desktop entry to autostart the screenlet ++printf "Name=${1}Screenlet\n" >> $AU_DIR/${1}Screenlet.desktop ++printf "Version=1.0\n" >> $AU_DIR/${1}Screenlet.desktop ++printf "Exec=python -u $location > /dev/null\n" >> $AU_DIR/${1}Screenlet.desktop ++printf "X-GNOME-Autostart-enabled=true\n" >> $AU_DIR/${1}Screenlet.desktop + } + + runScreenlet() +@@ -78,30 +78,30 @@ + + help_me() #Help + { +-echo -e " Options:" +-echo -e "\t --gui \t\t\t Open up the Graphical Interface" +-echo -e "\t --cli \t\t\t Use the Command Line interface" +-echo -e " Cli Options (only use one at a time):" +-echo -e "\t run \t\t\t Run the Screenlet" +-echo -e "\t au \t\t\t Add the Screenlet to your autostart list" +-echo -e "\t list \t\t\t List all installed screenlets" ++printf " Options:\n" ++printf "\t --gui \t\t\t Open up the Graphical Interface\n" ++printf "\t --cli \t\t\t Use the Command Line interface\n" ++printf " Cli Options (only use one at a time):\n" ++printf "\t run \t\t\t Run the Screenlet\n" ++printf "\t au \t\t\t Add the Screenlet to your autostart list\n" ++printf "\t list \t\t\t List all installed screenlets\n" + } + +-if [ x$1 == x"--gui" ]; then #Decide what to do ++if [ x$1 = x"--gui" ]; then #Decide what to do + runDaemon +- MANAGER_OPTIONS=`echo $@ | sed -e s/$1//` ++ MANAGER_OPTIONS=`printf $@ | sed -e s/$1//` + startgui $MANAGER_OPTIONS + exit 0 +-elif [ x$1 == x"--cli" ]; then +- if [ x$2 == x"run" ]; then ++elif [ x$1 = x"--cli" ]; then ++ if [ x$2 = x"run" ]; then + findScreenlet $3 + runScreenlet + exit 0 +- elif [ x$2 == x"au" ]; then ++ elif [ x$2 = x"au" ]; then + findScreenlet $3 + auScreenlet $3 + exit 0 +- elif [ x$2 == x"list" ]; then ++ elif [ x$2 = x"list" ]; then + listScreenlets + exit 0 + else +Seulement dans screenlets/src/bin: screenletsd~ --- screenlets-0.1.2.orig/debian/patches/18-nowplaying-rb-playing.patch +++ screenlets-0.1.2/debian/patches/18-nowplaying-rb-playing.patch @@ -0,0 +1,21 @@ +#Upstream : https://bugs.edge.launchpad.net/screenlets/+bug/369565 + +Index: trunk/src/lib/plugins/Rhythmbox.py +=================================================================== +--- trunk.orig/src/lib/plugins/Rhythmbox.py 2009-04-29 23:58:39.000000000 +0200 ++++ trunk/src/lib/plugins/Rhythmbox.py 2009-04-29 23:58:45.000000000 +0200 +@@ -74,8 +74,12 @@ + + + def is_playing(self): +- if self.playerAPI.getPlaying() == 1: return True +- else: return False ++ try: ++ test_playing = self.playerAPI.getPlaying() ++ if self.playerAPI.getPlaying() == 1: return True ++ else: return False ++ except DBusException: ++ return False + + def play_pause(self): + if self.is_playing: --- screenlets-0.1.2.orig/debian/patches/15-nowplaying-mpd-try.patch +++ screenlets-0.1.2/debian/patches/15-nowplaying-mpd-try.patch @@ -0,0 +1,23 @@ +#Upstream : https://bugs.launchpad.net/ubuntu/+source/screenlets/+bug/269256 + +Index: trunk/src/lib/plugins/mpdclient2.py +=================================================================== +--- trunk.orig/src/lib/plugins/mpdclient2.py 2009-04-29 23:26:50.000000000 +0200 ++++ trunk/src/lib/plugins/mpdclient2.py 2009-04-29 23:46:35.000000000 +0200 +@@ -325,9 +325,10 @@ + password = kw_password + if kw_host: + host = kw_host +- +- conn = mpd_connection(host, port) +- if password: +- conn.password(password) +- return conn +- ++ try: ++ conn = mpd_connection(host, port) ++ if password: ++ conn.password(password) ++ return conn ++ except: ++ return False --- screenlets-0.1.2.orig/debian/patches/12-new-class-creation.patch +++ screenlets-0.1.2/debian/patches/12-new-class-creation.patch @@ -0,0 +1,410 @@ +#Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=519664 +#Upstream: https://bugs.launchpad.net/screenlets/+bug/360599 +diff -Nur screenlets-0.1.2/src/lib/backend.py screenlets-0.1.2-new/src/lib/backend.py +--- screenlets-0.1.2/src/lib/backend.py 2008-06-04 14:31:25.000000000 +0200 ++++ screenlets-0.1.2-new/src/lib/backend.py 2009-04-10 17:22:33.000000000 +0200 +@@ -33,7 +33,7 @@ + print _("GConf python module not found. GConf settings backend is disabled.") + + +-class ScreenletsBackend: ++class ScreenletsBackend(object): + """The backend performs the loading/saving of the 'key=value'-strings. + Extend this superclass to implement different saving-backends.""" + +diff -Nur screenlets-0.1.2/src/lib/drawing.py screenlets-0.1.2-new/src/lib/drawing.py +--- screenlets-0.1.2/src/lib/drawing.py 2008-06-04 14:31:25.000000000 +0200 ++++ screenlets-0.1.2-new/src/lib/drawing.py 2009-04-10 17:05:49.000000000 +0200 +@@ -10,7 +10,7 @@ + + import gtk, cairo, pango, math + +-class Drawing: ++class Drawing(object): + """Contains static drawing functions.""" + + # ---------------------------------------------------------------------- +diff -Nur screenlets-0.1.2/src/lib/__init__.py screenlets-0.1.2-new/src/lib/__init__.py +--- screenlets-0.1.2/src/lib/__init__.py 2008-06-04 14:31:25.000000000 +0200 ++++ screenlets-0.1.2-new/src/lib/__init__.py 2009-04-10 17:05:17.000000000 +0200 +@@ -135,7 +135,7 @@ + # CLASSES + #------------------------------------------------------------------------------- + +-class DefaultMenuItem: ++class DefaultMenuItem(object): + """A container with constants for the default menuitems""" + + # default menuitem constants (is it right to increase like this?) +@@ -2081,7 +2081,7 @@ + del ctx + return False + +-class Tooltip: ++class Tooltip(object): + """A window that displays a text and serves as Tooltip (very basic yet).""" + + # internals +@@ -2194,7 +2194,7 @@ + ctx.set_source_rgba(0, 0, 0, 0.7) + ctx.stroke() + +-class Notify: ++class Notify(object): + """A window that displays a text and serves as Notification (very basic yet).""" + + # internals +diff -Nur screenlets-0.1.2/src/lib/install.py screenlets-0.1.2-new/src/lib/install.py +--- screenlets-0.1.2/src/lib/install.py 2008-06-04 14:31:25.000000000 +0200 ++++ screenlets-0.1.2-new/src/lib/install.py 2009-04-10 17:20:59.000000000 +0200 +@@ -33,7 +33,7 @@ + DIR_USER = screenlets.DIR_USER + DIR_AUTOSTART = utils.get_autostart_dir() + +-class ScreenletInstaller: ++class ScreenletInstaller(object): + """A simple utility to install screenlets into the current user's directory + (so either into $HOME/.screenlets/ for normal users or, if run as root, + into screenlets.INSTALL_PREFIX/share/screenlets/).""" +diff -Nur screenlets-0.1.2/src/lib/menu.py screenlets-0.1.2-new/src/lib/menu.py +--- screenlets-0.1.2/src/lib/menu.py 2008-06-04 14:31:25.000000000 +0200 ++++ screenlets-0.1.2-new/src/lib/menu.py 2009-04-10 17:20:33.000000000 +0200 +@@ -216,7 +216,7 @@ + # Classes + #----------------------------------------------- + +-class ApplicationMenu: ++class ApplicationMenu(object): + """A utility-class to simplify the creation of gtk.Menus from directories with + desktop-files. Reads all files in one or multiple directories into its internal list + and offers an easy way to create entire categories as complete gtk.Menu +@@ -287,7 +287,7 @@ + # return menu + return menu + +-class DefaultMenuItem: ++class DefaultMenuItem(object): + """A container with constants for the default menuitems""" + + # default menuitem constants (is it right to increase like this?) +diff -Nur screenlets-0.1.2/src/lib/options.py screenlets-0.1.2-new/src/lib/options.py +--- screenlets-0.1.2/src/lib/options.py 2008-06-04 14:31:25.000000000 +0200 ++++ screenlets-0.1.2-new/src/lib/options.py 2009-04-10 17:23:59.000000000 +0200 +@@ -371,7 +371,7 @@ + return None + + +-class EditableOptions: ++class EditableOptions(object): + """The EditableOptions can be inherited from to allow objects to export + editable options for editing them with the OptionsEditor-class. + NOTE: This could use some improvement and is very poorly coded :) ...""" +diff -Nur screenlets-0.1.2/src/lib/plugins/AmazonCoverArtSearch.py screenlets-0.1.2-new/src/lib/plugins/AmazonCoverArtSearch.py +--- screenlets-0.1.2/src/lib/plugins/AmazonCoverArtSearch.py 2008-06-04 14:31:25.000000000 +0200 ++++ screenlets-0.1.2-new/src/lib/plugins/AmazonCoverArtSearch.py 2009-04-10 17:18:50.000000000 +0200 +@@ -26,7 +26,7 @@ + ASSOCIATE = "webservices-20" + + +-class Bag: pass ++class Bag(object): pass + + class AmazonCoverArtSearch (object): + def __init__ (self, loader): +diff -Nur screenlets-0.1.2/src/lib/plugins/Convert.py screenlets-0.1.2-new/src/lib/plugins/Convert.py +--- screenlets-0.1.2/src/lib/plugins/Convert.py 2008-06-04 14:31:25.000000000 +0200 ++++ screenlets-0.1.2-new/src/lib/plugins/Convert.py 2009-04-10 17:16:21.000000000 +0200 +@@ -3,7 +3,7 @@ + # file BaseConverter.py. But first, please, read below if a RatioConverter isn't + # well suitable for your desired task. + +-class Converter: ++class Converter(object): + """The base class for the converters. The converters look after maintaining + the list of currently shown values - initialising, accepting keyboard input, + etc..""" +diff -Nur screenlets-0.1.2/src/lib/plugins/Flickr.py screenlets-0.1.2-new/src/lib/plugins/Flickr.py +--- screenlets-0.1.2/src/lib/plugins/Flickr.py 2008-06-04 14:31:25.000000000 +0200 ++++ screenlets-0.1.2-new/src/lib/plugins/Flickr.py 2009-04-10 17:15:47.000000000 +0200 +@@ -11,7 +11,7 @@ + from urllib import urlopen + import Proxy + +-class Flickr: ++class Flickr(object): + + url_list = {} + +diff -Nur screenlets-0.1.2/src/lib/plugins/GenericPlayer.py screenlets-0.1.2-new/src/lib/plugins/GenericPlayer.py +--- screenlets-0.1.2/src/lib/plugins/GenericPlayer.py 2008-06-04 14:31:25.000000000 +0200 ++++ screenlets-0.1.2-new/src/lib/plugins/GenericPlayer.py 2009-04-10 17:17:47.000000000 +0200 +@@ -9,7 +9,7 @@ + # A Generic API to a Music Player by vrunner + # All Players must extend this class + +-class GenericAPI: ++class GenericAPI(object): + __name__ = 'GenericAPI' + __version__ = '0.0' + __author__ = 'vrunner' +diff -Nur screenlets-0.1.2/src/lib/plugins/Gstreamer.py screenlets-0.1.2-new/src/lib/plugins/Gstreamer.py +--- screenlets-0.1.2/src/lib/plugins/Gstreamer.py 2008-06-04 14:31:25.000000000 +0200 ++++ screenlets-0.1.2-new/src/lib/plugins/Gstreamer.py 2009-04-10 17:19:13.000000000 +0200 +@@ -3,7 +3,7 @@ + pygst.require("0.10") + import gst + +-class gstreamer: ++class gstreamer(object): + + def __init__(self): + self.player = gst.element_factory_make("playbin", "player") +diff -Nur screenlets-0.1.2/src/lib/plugins/iCal.py screenlets-0.1.2-new/src/lib/plugins/iCal.py +--- screenlets-0.1.2/src/lib/plugins/iCal.py 2008-06-04 14:31:25.000000000 +0200 ++++ screenlets-0.1.2-new/src/lib/plugins/iCal.py 2009-04-10 17:14:58.000000000 +0200 +@@ -45,7 +45,7 @@ + import datetime + import time + +-class ICalReader: ++class ICalReader(object): + def __init__(self, dataLines = None): + ''' + iCal.ICalReader([dataList]) +@@ -215,7 +215,7 @@ + hour = 0 + minute = 0 + +-class ICalEvent: ++class ICalEvent(object): + def __init__(self): + self.exceptionDates = [] + self.dateSet = None +@@ -260,10 +260,10 @@ + def startTime(self): + return self.startDate + +-#class ICalTodo: ++#class ICalTodo(object): + + #strange... +-#class DateParser: ++#class DateParser(object): + def parse(dateStr): + year = int(dateStr[0:4]) + if year < 1970: +@@ -280,7 +280,7 @@ + return datetime.datetime(year, month, day, hour, minute) + + +-class DateSet: ++class DateSet(object): + def __init__(self, startDate, endDate, rule): + self.startDate = startDate + self.endDate = endDate +diff -Nur screenlets-0.1.2/src/lib/plugins/keyring.py screenlets-0.1.2-new/src/lib/plugins/keyring.py +--- screenlets-0.1.2/src/lib/plugins/keyring.py 2008-06-04 14:31:25.000000000 +0200 ++++ screenlets-0.1.2-new/src/lib/plugins/keyring.py 2009-04-10 17:06:19.000000000 +0200 +@@ -7,7 +7,7 @@ + + # pavpanchekha + +-class KeyRing: ++class KeyRing(object): + def __init__(self): + import keyring + self.keyring = keyring +diff -Nur screenlets-0.1.2/src/lib/plugins/Mail.py screenlets-0.1.2-new/src/lib/plugins/Mail.py +--- screenlets-0.1.2/src/lib/plugins/Mail.py 2008-06-04 14:31:25.000000000 +0200 ++++ screenlets-0.1.2-new/src/lib/plugins/Mail.py 2009-04-10 17:17:18.000000000 +0200 +@@ -84,14 +84,14 @@ + may block connections for a certain interval before allowing reconnects.""" + + # the current operational status of the mailcheck +-class MailboxStatus: ++class MailboxStatus(object): + UNKNOWN = 0 + ALL_READ = 1 + UNREAD_MAIL = 2 + NEW_MAIL = 3 + + # the mailcheck status +-class MailCheckStatus: ++class MailCheckStatus(object): + REFRESH = 1 + IDLE = 2 + ERROR = 3 +@@ -210,7 +210,7 @@ + self.thread.join() + self.thread = None + +-class Mailer: ++class Mailer(object): + """ + Class that retrieve the information from an Imap, Pop or mbox account + +diff -Nur screenlets-0.1.2/src/lib/plugins/Mplayer.py screenlets-0.1.2-new/src/lib/plugins/Mplayer.py +--- screenlets-0.1.2/src/lib/plugins/Mplayer.py 2008-06-04 14:31:25.000000000 +0200 ++++ screenlets-0.1.2-new/src/lib/plugins/Mplayer.py 2009-04-10 17:19:51.000000000 +0200 +@@ -15,7 +15,7 @@ + # + # Provides simple piped I/O to an mplayer process. + # +-class Mplayer: ++class Mplayer(object): + + pymp, mplayerIn, mplayerOut = None, None, None + inputHandler, eofHandler, statusQuery = 0, 0, 0 +diff -Nur screenlets-0.1.2/src/lib/plugins/Proxy.py screenlets-0.1.2-new/src/lib/plugins/Proxy.py +--- screenlets-0.1.2/src/lib/plugins/Proxy.py 2008-06-04 14:31:25.000000000 +0200 ++++ screenlets-0.1.2-new/src/lib/plugins/Proxy.py 2009-04-10 17:13:57.000000000 +0200 +@@ -10,7 +10,7 @@ + import gconf + + +-class Proxy: ++class Proxy(object): + + def __init__(self): + try: +diff -Nur screenlets-0.1.2/src/lib/utils.py screenlets-0.1.2-new/src/lib/utils.py +--- screenlets-0.1.2/src/lib/utils.py 2008-06-04 14:31:25.000000000 +0200 ++++ screenlets-0.1.2-new/src/lib/utils.py 2009-04-10 17:22:03.000000000 +0200 +@@ -544,7 +544,7 @@ + # CLASSES + # ------------------------------------------------------------------------------ + +-class ScreenletInfo: ++class ScreenletInfo(object): + """A container with info about a screenlet.""" + + def __init__ (self, name, lname, info, author, version, icon): +@@ -632,7 +632,7 @@ + return False + + +-class IniReader: ++class IniReader(object): + """A simple config/ini-reader class. This is only used for reading the + theme.conf files yet, thus it only uses string-values. + TODO: add writing-functions and let backend use this, too""" +@@ -709,7 +709,7 @@ + + + +-class Notifier: ++class Notifier(object): + """A simple and conveniet wrapper for the notification-service. Allows + screenlets to easily pop up notes with their own icon (if any).""" + +diff -Nur screenlets-0.1.2/src/share/examples/empty-test-window.py screenlets-0.1.2-new/src/share/examples/empty-test-window.py +--- screenlets-0.1.2/src/share/examples/empty-test-window.py 2008-06-04 14:31:25.000000000 +0200 ++++ screenlets-0.1.2-new/src/share/examples/empty-test-window.py 2009-04-10 16:51:57.000000000 +0200 +@@ -19,7 +19,7 @@ + + + # testing app class +-class TestApp: ++class TestApp(object): + + def __init__ (self): + self.win = gtk.Window() +diff -Nur screenlets-0.1.2/src/share/screenlets/ClearRss/feedparser.py screenlets-0.1.2-new/src/share/screenlets/ClearRss/feedparser.py +--- screenlets-0.1.2/src/share/screenlets/ClearRss/feedparser.py 2008-06-04 14:31:26.000000000 +0200 ++++ screenlets-0.1.2-new/src/share/screenlets/ClearRss/feedparser.py 2009-04-10 16:56:33.000000000 +0200 +@@ -284,7 +284,7 @@ + uri = _urifixer.sub(r'\1\3', uri) + return urlparse.urljoin(base, uri) + +-class _FeedParserMixin: ++class _FeedParserMixin(object): + namespaces = {'': '', + 'http://backend.userland.com/rss': '', + 'http://blogs.law.harvard.edu/tech/rss': '', +diff -Nur screenlets-0.1.2/src/share/screenlets/CopyStack/CopyStackScreenlet.py screenlets-0.1.2-new/src/share/screenlets/CopyStack/CopyStackScreenlet.py +--- screenlets-0.1.2/src/share/screenlets/CopyStack/CopyStackScreenlet.py 2008-06-04 14:31:26.000000000 +0200 ++++ screenlets-0.1.2-new/src/share/screenlets/CopyStack/CopyStackScreenlet.py 2009-04-10 16:55:11.000000000 +0200 +@@ -383,7 +383,7 @@ + + + # TODO: put in screenlets.ui +-class Tooltip: ++class Tooltip(object): + """A window that displays a text and serves as Tooltip (very basic yet).""" + + # internals +@@ -490,7 +490,7 @@ + ctx.stroke() + + +-class Element: ++class Element(object): + """Abstract superclass for an element on the stack.""" + + def __init__ (self, desc, data): +diff -Nur screenlets-0.1.2/src/share/screenlets/FeedReader/feedparser.py screenlets-0.1.2-new/src/share/screenlets/FeedReader/feedparser.py +--- screenlets-0.1.2/src/share/screenlets/FeedReader/feedparser.py 2008-06-04 14:31:26.000000000 +0200 ++++ screenlets-0.1.2-new/src/share/screenlets/FeedReader/feedparser.py 2009-04-10 17:03:20.000000000 +0200 +@@ -284,7 +284,7 @@ + uri = _urifixer.sub(r'\1\3', uri) + return urlparse.urljoin(base, uri) + +-class _FeedParserMixin: ++class _FeedParserMixin(object): + namespaces = {'': '', + 'http://backend.userland.com/rss': '', + 'http://blogs.law.harvard.edu/tech/rss': '', +diff -Nur screenlets-0.1.2/src/share/screenlets/MainMenu/menus.py screenlets-0.1.2-new/src/share/screenlets/MainMenu/menus.py +--- screenlets-0.1.2/src/share/screenlets/MainMenu/menus.py 2008-06-04 14:31:27.000000000 +0200 ++++ screenlets-0.1.2-new/src/share/screenlets/MainMenu/menus.py 2009-04-10 17:01:37.000000000 +0200 +@@ -7,7 +7,7 @@ + from gtk import gdk + import string + import gmenu +-class MenuDateStore: ++class MenuDateStore(object): + MENUCORE = gmenu.lookup_tree('applications.menu') + MENUROOT = MENUCORE.get_root_directory() + SYSTEMMENUCORE = gmenu.lookup_tree('settings.menu') +diff -Nur screenlets-0.1.2/src/share/screenlets/NowPlaying/UI/Theme.py screenlets-0.1.2-new/src/share/screenlets/NowPlaying/UI/Theme.py +--- screenlets-0.1.2/src/share/screenlets/NowPlaying/UI/Theme.py 2008-06-04 14:31:27.000000000 +0200 ++++ screenlets-0.1.2-new/src/share/screenlets/NowPlaying/UI/Theme.py 2009-04-10 17:00:34.000000000 +0200 +@@ -9,7 +9,7 @@ + # The Main Skin Class + # It parses the xml and creates various UI items + +-class Skin: ++class Skin(object): + items = [] + width = 500 + height = 200 +@@ -110,7 +110,7 @@ + + + # A Generic UI Item +-class GenericItem: ++class GenericItem(object): + type = "" + x = 0 + y = 0 +@@ -407,7 +407,7 @@ + ctx.paint() + + +-class PlayerControls: ++class PlayerControls(object): + type = "playercontrols" + + box = False +diff -Nur screenlets-0.1.2/src/share/screenlets-manager/screenlets-manager.py screenlets-0.1.2-new/src/share/screenlets-manager/screenlets-manager.py +--- screenlets-0.1.2/src/share/screenlets-manager/screenlets-manager.py 2008-06-04 14:31:27.000000000 +0200 ++++ screenlets-0.1.2-new/src/share/screenlets-manager/screenlets-manager.py 2009-04-10 16:53:40.000000000 +0200 +@@ -78,7 +78,7 @@ + # /TEST + + +-class ScreenletsManager: ++class ScreenletsManager(object): + """The main application class.""" + + daemon_iface = None --- screenlets-0.1.2.orig/debian/patches/03-fix-wallpaperclock-location.patch +++ screenlets-0.1.2/debian/patches/03-fix-wallpaperclock-location.patch @@ -0,0 +1,20 @@ +#upstream: https://bugs.launchpad.net/screenlets/+bug/245312 +diff -ur screenlets.orig/src/share/screenlets/WallpaperClock/WallpaperClockScreenlet.py screenlets/src/share/screenlets/WallpaperClock/WallpaperClockScreenlet.py +--- screenlets.orig/src/share/screenlets/WallpaperClock/WallpaperClockScreenlet.py 2008-06-05 22:09:02.000000000 +0200 ++++ screenlets/src/share/screenlets/WallpaperClock/WallpaperClockScreenlet.py 2008-06-06 17:29:36.000000000 +0200 +@@ -78,12 +78,12 @@ + p_layout = None + home = getoutput("echo $HOME") + xfce_workarround = False +- wall_sel = os.listdir(os.environ['HOME'] + '/.screenlets/WallpaperClock/' + 'wallpapers') +- imagepath = os.environ['HOME'] + '/.screenlets/WallpaperClock/' + if not os.path.exists(os.environ['HOME'] + '/.screenlets/WallpaperClock'): + os.system('mkdir ' + os.environ['HOME'] + '/.screenlets/WallpaperClock') + if not os.path.exists(os.environ['HOME'] + '/.screenlets/WallpaperClock/wallpapers'): + os.system('mkdir ' + os.environ['HOME'] + '/.screenlets/WallpaperClock/wallpapers') ++ wall_sel = os.listdir(os.environ['HOME'] + '/.screenlets/WallpaperClock/' + 'wallpapers') ++ imagepath = os.environ['HOME'] + '/.screenlets/WallpaperClock/' + # -------------------------------------------------------------------------- + # constructor and internals + # -------------------------------------------------------------------------- +Seulement dans screenlets/src/share/screenlets/WallpaperClock: WallpaperClockScreenlet.py~