--- cgmail-0.6.1.orig/debian/rules +++ cgmail-0.6.1/debian/rules @@ -0,0 +1,30 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk + +DEB_COMPRESS_EXCLUDE := .py +DEB_INSTALL_CHANGELOGS_ALL += NEWS + +WAF = ./waf + +common-configure-indep:: configure-stamp +configure-stamp: + $(WAF) configure --prefix=/usr + $(WAF) + touch $@ + +common-build-indep:: build-stamp +build-stamp: + $(WAF) build + +common-install-indep:: + $(WAF) install --nopyc --nopyo --destdir=$(DEB_DESTDIR) --bindir=/usr/share/cGmail + +clean:: + rm -f build-stamp + -$(WAF) distclean + +binary-install/cgmail:: + dh_gconf -pcgmail + dh_pysupport /usr/share/cGmail --- cgmail-0.6.1.orig/debian/links +++ cgmail-0.6.1/debian/links @@ -0,0 +1,2 @@ +usr/share/cGmail/cgmail usr/bin/cgmail +usr/share/cGmail/cgmailservice usr/bin/cgmailservice --- cgmail-0.6.1.orig/debian/watch +++ cgmail-0.6.1/debian/watch @@ -0,0 +1,5 @@ +version=3 +https://launchpad.net/cgmail/+download http://launchpad.net/cgmail/.*/cgmail-([0-9\.]*)\.tar\.gz + + + --- cgmail-0.6.1.orig/debian/compat +++ cgmail-0.6.1/debian/compat @@ -0,0 +1 @@ +7 --- cgmail-0.6.1.orig/debian/control +++ cgmail-0.6.1/debian/control @@ -0,0 +1,27 @@ +Source: cgmail +Section: net +Priority: extra +Maintainer: Andrea Veri +Uploaders: Luca Falavigna +Build-Depends: debhelper (>= 7), cdbs, intltool +Build-Depends-Indep: python-support (>= 0.90.0), python, python-gnome2, python-gnomekeyring, python-feedparser, python-dbus, python-gst0.10, python-notify, python-xdg, python-wnck +Homepage: http://launchpad.net/cgmail +Standards-Version: 3.8.4 +XS-Python-Version: all +Vcs-Bzr: https://code.launchpad.net/~cgmail-packaging-team/cgmail/debian.source +Vcs-Browser: https://code.launchpad.net/~cgmail-packaging-team/cgmail/debian.source + +Package: cgmail +Architecture: all +Depends: ${python:Depends}, ${misc:Depends}, python-gtk2 (>= 2.10), python-gnome2, python-gconf, python-gobject, python-dbus, python-gnomekeyring, python-gst0.10, python-feedparser, python-notify, python-xdg, python-wnck +Description: mail checker for the GNOME desktop + This application intends to replace old mail checkers getting + integrated correctly inside GNOME desktops. It requires D-Bus and + notification-daemon support (org.freedesktop.Notifications service) + for any kind of notifications and the GNOME keyring to store + user's credentials. gGmail will pop-up on the top right side of + your desktop and after providing every information requested for + accessing each of your email accounts, it will start up sending + notifications when a new mail hits one of your mailboxes. This + package is similar to xbiff but has some more features like + pop3 and GMail account's support. --- cgmail-0.6.1.orig/debian/copyright +++ cgmail-0.6.1/debian/copyright @@ -0,0 +1,75 @@ +This package was debianized by Andrea Veri on +Sun, 04 Nov 2007 12:47:37 +0100. + +It was downloaded from http://launchpad.net/cgmail + +Upstream Author: + + Marco Ferragina + Francesco Marella + Patrick Ulbrich + +Copyright Holders: + + Copyright © 2006-2007, Marco Ferragina + Copyright © 2009 Francesco Marella + Copyright © 2009 Patrick Ulbrich + Copyright © 2009 cGmail Core Team + +License: + + 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; either version 2 of the License, or + (at your option) any later version. + + 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 + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL-2'. + + +Copyright and licensing information for waf: + +Copyright: + + Copyright © 2005-2009, Thomas Nagy + +License: + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + 3. The name of the author may not be used to endorse or promote products + derived from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR + IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, + STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING + IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + + +The Debian packaging is © 2007-2009, Andrea Veri and +is licensed under the GPL, see above. --- cgmail-0.6.1.orig/debian/changelog +++ cgmail-0.6.1/debian/changelog @@ -0,0 +1,189 @@ +cgmail (0.6.1-2) unstable; urgency=low + + * Use internal copy of waf to build the package (Closes: #571706). + * Update Andrea email address. + * Remove DM-Upload-Allowed field. + * Bump Standards-Version to 3.8.4, no changes required. + + -- Luca Falavigna Sat, 27 Feb 2010 18:34:05 +0100 + +cgmail (0.6.1-1) unstable; urgency=low + + * New upstream release. + * debian/control: + - removed python-webkit B-D / Depends, it's no more + needed according to wscript. + - homepage updated with a new value. + - added python-wnck B-D / Depends, according to wscript + requirements. + * debian/copyright: + - added a new upstream author plus missing copyright + holders. + * debian/rules: + - fixed a typo, comon --> common. + + -- Andrea Veri Sat, 03 Oct 2009 12:03:34 +0200 + +cgmail (0.6-1) unstable; urgency=low + + [ Andrea Veri ] + * New upstream release. + * debian/patches: + - 01_desktop_file.patch, removed, adopted upstream + - 02_feedparser.patch, removed, adopted upstream + - 03_BASE_DATA_PATH.patch, removed, adopted upstream + * debian/rules: + - upstream now uses waf, so I've added some dirty hacks + to make it working together with cdbs. + - removed DEB_PYTHON_INSTALL_ARGS_ALL, waf will install + everything on the right dirs without having this option. + - python-distutils.mk include removed, it's no more needed + with waf. + * debian/control: + - bumped Standards-version to 3.8.3 + - python moved from B-D to Build-Depends-Indep + - python-setuptools and python-distutils-extra removed from the + Build-Depends-Indep field, they are no more needed. + - added a B-D on waf. + - added DM-Upload-Allowed: field. I'll be a DM really soon. + - added a B-D on intltool, now needed for the build to work. + - added a B-D on python-gnome2, now needed for the build to work. + - added a B-D on python-gnomekeyring, python-feedparser, python-dbus, + python-gst0.10 and python-notify, now needed for the build to work. + - added a Depends on python-notify, as far as notifications are now handled + with this python module. + - removed notification-daemon for the reason explained above here. + - removed a Depends on python-glade2, it's no more needed now. + - added a Depends on python-webkit, needed from cgmailservice to work + properly with this new release. + - added a B-D / Depends on python-xdg, as far as this module is needed + for both the build and cgmail to work properly. + + [ Luca Falavigna ] + * debian/control: + - Update my e-mail address. + - Build-depend on python-webkit. + - Depend on python-gconf and python-gobject. + * debian/copyright: + - Adjust copyright informations for new upstream release. + * debian/watch: + - Adjust links to new download location. + * debian/patches/private_directory.patch: + - Adjust installation path to follow Python policy. + + -- Luca Falavigna Thu, 27 Aug 2009 23:07:41 +0200 + +cgmail (0.5-2) unstable; urgency=low + + [ Luca Falavigna ] + * debian/patches/03_BASE_DATA_PATH.patch: + - Adjust BASE_DATA_PATH to follow Python policy (Closes: #537390). + * debian/control: + - Adjust dependencies to match current state of the package. + - Adjust Vcs-* fields to match new branch location. + * debian/rules: + - Invoke dh_gconf in binary-install to register GConf schemas, this + replaces manual editing of postinst/prerm maintainer scripts. + - Pass /usr/share/cGmail to DEB_PYTHON_PRIVATE_MODULES_DIRS to let + python-support know where private directory is located. + * debian/postinst, debian/prerm: + - Remove them, dh_gconf will register GConf schemas now. + + [ Andrea Veri ] + * debian/control: added a dep on python-glade2, cgmail needs it for + running well. + + -- Andrea Veri Mon, 20 Jul 2009 16:08:34 +0200 + +cgmail (0.5-1) unstable; urgency=low + + [ Andrea Veri ] + * The "I'm back" release. (Closes: #515539) + * New upstream release. (Closes: #461477) + - New build system: Now using python setuptools and distutils-extra + - New plugin like system: Each checker now is fully independent. Third + party plugins could be implemented. + - Labels support in Gmail: Gmail checker now support labels checking + - Dropped awn support: awn notification support is dropped becouse + unmaintained. + - Pertinent actions: Only pertinent actions will be displayed on + notification bubbles. No more "go to gmail account" for pop3 or imap + accounts. + * debian/rules: + - upstream now builds the package using python setuptools + and distutils-extra, so converting the package to cdbs, which will be + easier for me to maintain it. + - Added an install target to remove feedparser.py, which is + reported as an embedded lib from lintian. + * debian/control: + - Added B-D on python setuptools, distutils-extra and cdbs + - Changed my mail address. + - Bumped debhelper to level 7 + - Bumped Standards-version to 3.8.2 + - Changed "Gnome" to "GNOME" and "dbus" to "D-Bus" into file + description, so lintian will stop complaining about them. + - Added Luca Falavigna as co-maintainer. + - Added a dep on python-feedparser. + + [ Luca Falavigna ] + * debian/compat: + - Bump compat level to 7. + * debian/control: + - Switch to python-support. + - Remove python-all-dev, use python instead. + - Move some dependencies to Build-Depends-Indep as per policy. + - Add Vcs-Browser field to browse files with a browser. + - Depends on ${python:Depends} and ${misc:Depends}, also drop + hardcoded python dependency, will be added using substvars. + - Remove XB-Python-Version field, useless with python-support. + - Fix some typos in the long description. + * debian/changelog: + - Licensed under GPLv2, adjust common-license path accorgingly. + - Replace (C) with ©, the latter has legal validity. + * debian/dirs: + - Removed, useless. + * debian/links: + - We install executables in a private directory, not accessible from + global namespace, provide a link for them in /usr/bin so they can + be executed normally. + * debian/rules: + - Install executables and module in a private directory to avoid + useless global namespace pollution. + - Add simple-patchsys support. + - Delete temporary directories created during build. + * debian/README.source: + - Document simple-patchsys usage, as per policy. + * debian/patches/01_desktop_file.patch: + - .desktop files to adhere to Freedesktop.org specifications. + * debian/patches/02_feedparser.patch: + - Use common feedparser module from python-feedparser package, this + way we no longer duplicate module codebase. + + -- Andrea Veri Mon, 13 Jul 2009 18:27:49 +0200 + +cgmail (0.4.1-1) unstable; urgency=low + + * New upstream release. + - fixed autostart bug: Now autostart option in config dialog should + always work. + - fixed POP3 Bug: Now all mails should be always notified. + (https://bugs.launchpad.net/cgmail/+bug/145301 for more informations) + - fixed sound bug: Disabled gnome play engine in lib/utils.py. + - upstream's Debian dir got *finally* removed. Now the diff file will + look cleaner. Thanks Marco for the fast response on this. + * debian/copyright: + - download URL updated and now pointing directly to the upstream's file + archive, so I won't need to change it at every new release launch. + * debian/rules: + - upstream won't ship a debian/ dir into the source anymore, so we can safely + remove every upstream-related clean rule pointing to debian/ dir files. (.EX files, + REAMDE.Debian and so on previously added erroneously by upstream). + + -- Andrea Veri Wed, 28 Nov 2007 20:19:16 +0100 + +cgmail (0.4-1) unstable; urgency=low + + * Initial release. (Closes: #449281) + + -- Andrea Veri Sun, 04 Nov 2007 12:47:37 +0100 + --- cgmail-0.6.1.orig/debian/pycompat +++ cgmail-0.6.1/debian/pycompat @@ -0,0 +1 @@ +2 --- cgmail-0.6.1.orig/debian/docs +++ cgmail-0.6.1/debian/docs @@ -0,0 +1,3 @@ +AUTHORS +README +TODO --- cgmail-0.6.1.orig/debian/README.source +++ cgmail-0.6.1/debian/README.source @@ -0,0 +1,35 @@ +This package uses CDBS (and therefore simple-patchsys.mk) in order to +apply patches to the upstream source. Patches are stored in +debian/patches and their filenames usually end in .patch or .diff . +For further details, see the man page for cdbs-edit-patch. + +All commands described below should be run from the top directory of the +package source tree, unless otherwise stated. + + * To generate the fully patched source, in a form ready for + editing, that would be built to create Debian packages, run: + + make -f debian/rules apply-patches + + Note: It has been proposed that, in future, this should happen + automatically when you run dpkg-source -x on a CDBS + simple-patchsys.mk source package. However, this proposal has + apparently not yet been implemented, so for now you have to do + it yourself like this. + + * To modify the source and save those modifications so that + they will be applied when building the package, pick a + suitably informative patch file name, for example + 01_add_README.source_file.patch, and then run: + + cdbs-edit-patch 01_add_README.source_file.patch + + This will place you in a new shell in a temporary copy of the + source tree. Make your desired modifications to it, and then + exit the shell to create the patch file containing them (this + file will appear in debian/patches). + + * To remove source modifications that are currently being + applied when building the package, run: + + make -f debian/rules reverse-patches --- cgmail-0.6.1.orig/debian/patches/private_directory.patch +++ cgmail-0.6.1/debian/patches/private_directory.patch @@ -0,0 +1,27 @@ +Description: Adjust installation path to follow Python policy +Origin: Debian +Forwarded: not-needed + +diff -Nur -x '*.orig' -x '*~' cgmail-0.6/wscript cgmail-0.6.new/wscript +--- cgmail-0.6/wscript 2009-08-26 13:17:54.000000000 +0200 ++++ cgmail-0.6.new/wscript 2009-08-27 22:58:04.000000000 +0200 +@@ -83,7 +83,7 @@ + if not sources: sources = name + obj = bld.new_task_gen("py") + obj.find_sources_in_dirs(sources) +- obj.install_path = "${PYTHONDIR}/%s" % name ++ obj.install_path = "/usr/share/cGmail/%s" % name + return obj + + +@@ -96,8 +96,8 @@ + new_module(bld, "cGmail/manager", "cGmail/manager") + new_module(bld, "cGmail/service", "cGmail/service") + +- bld.install_files("${BINDIR}", "cgmail", chmod=0775) +- bld.install_files("${BINDIR}", "cgmailservice", chmod=0775) ++ bld.install_files("/usr/share/cGmail", "cgmail", chmod=0775) ++ bld.install_files("/usr/share/cGmail", "cgmailservice", chmod=0775) + + bld.add_subdirs("po data") +