debian/0000775000000000000000000000000012064660546007201 5ustar debian/control0000664000000000000000000000160212064660466010604 0ustar Source: gbirthday Section: gnome Priority: extra Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Rolf Leggewie DM-Upload-Allowed: yes Build-Depends: debhelper (>= 7), python-nose, python-coverage, python-gtk2, intltool, python X-Python-Version: >= 2.6 Standards-Version: 3.9.3 Homepage: http://gbirthday.sf.net/ Vcs-Browser: http://git.debian.org/?p=collab-maint/gbirthday.git Vcs-Git: git://git.debian.org/collab-maint/gbirthday.git Package: gbirthday Architecture: all Depends: ${shlibs:Depends}, ${misc:Depends}, python, python-gtk2 (>= 2.10), ${python:Depends} Description: birthday reminder applet GBirthday is an applet to help you remember your friends' and contacts' birthdays. It uses the notifcation area for alerts. Data can be stored in a number of address book formats, flat file CSV and MySQL database. debian/dirs0000664000000000000000000000003712064656036010064 0ustar usr/bin usr/share/applications debian/patches/0000775000000000000000000000000012064660546010630 5ustar debian/patches/03_disable_evo_database.patch0000664000000000000000000000764512064660325016262 0ustar From: Mathieu Trudel-Lapierre Subject: Disable the Evolution database backend, it does not work. --- src/gbirthday/databases.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/src/gbirthday/databases/evolution.py +++ /dev/null @@ -1,62 +0,0 @@ -# vim: foldmethod=marker -#{{{ License header: GPLv2+ -# 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 of the License, 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 Library General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, see . -#}}} -from __future__ import absolute_import -import gtk -import os -import re -from gbirthday.databases import DataBase -from gbirthday.gtk_funcs import show_error_msg - -class Evolution(DataBase): - '''data import from the Evolution address book''' - def __init__(self): - super(Evolution, self).__init__(title='Evolution', can_save=False, - has_config=False) - self._split_re = re.compile(r'\r?\n') - - def parse(self, addressbook=None, conf=None): - '''load and parse parse Evolution data files''' - # XXX: set addressbook in __init__? - self.ab = addressbook - try: - import evolution - # When there is no evolution addressbook, silently abort - # parsing. - if not evolution.ebook: - return - except ImportError: - show_error_msg(_("You need to install python-evolution to use the evolution module")) - return - - for book in evolution.ebook.list_addressbooks(): - ebook = evolution.ebook.open_addressbook(book[1]) - if not ebook: - continue - for contact in ebook.get_all_contacts(): - # contact.props.birth_date{.year, .month, .day} non-existing - # -> using vcard - vcard = contact.get_vcard_string() - self.parse_birthday((contact.props.full_name, vcard), addressbook) - - def parse_birthday(self, data, addressbook): - '''parse evolution addressbook. the file is in VCard format.''' - # TODO change to contact.props.birth_date, no vcard would be needed - full_name, vcard = data - lines = self._split_re.split(vcard) - for line in lines: - # if BDAY is in vcard, use this as birthday - if line.startswith('BDAY'): - addressbook.add(full_name, line.split(':', 1)[1]) --- a/src/gbirthday/databases/__init__.py +++ b/src/gbirthday/databases/__init__.py @@ -17,7 +17,6 @@ 'DataBase' from which everything inherits: - CSV -- Evolution - Lightning - MySQL - Sunbird @@ -60,10 +59,9 @@ pass from csv import CSV -from evolution import Evolution from lightning import Lightning from mysql import MySQL from sunbird import Sunbird mysql_db = MySQL() -DATABASES = [CSV(), Evolution(), Lightning(), mysql_db, Sunbird()] +DATABASES = [CSV(), Lightning(), mysql_db, Sunbird()] --- a/src/gbirthday/__init__.py +++ b/src/gbirthday/__init__.py @@ -19,7 +19,6 @@ data servers: - CSV-file (comma-seperated value) - MySQL - - Evolution - Thunderbird/Icedove Lightning - Sunbrid / IceOwl @@ -126,7 +125,6 @@ return changed changed = False - changed = replace('evolution', 'Evolution', changed) changed = replace('mysql', 'MySQL', changed) changed = replace('csv', 'CSV', changed) changed = replace('lightning', 'Lightning', changed) debian/patches/01_deactivate-nosetests.patch0000664000000000000000000000117412064656036016311 0ustar Description: the current nosetests have a number of issues deactivate them until those have been resoled upstream . https://sourceforge.net/tracker/?func=detail&aid=3414256&group_id=210152&atid=1012585 https://sourceforge.net/tracker/?func=detail&aid=3411777&group_id=210152&atid=1012585 Author: Rolf Leggewie Upstream: not needed --- gbirthday-0.6.5.orig/Makefile +++ gbirthday-0.6.5/Makefile @@ -52,9 +52,6 @@ tar.gz: clean tar.xz: clean $(tar) -Jcf gbirthday-$(version).tar.xz * -test: - nosetests -v --with-coverage --cover-package=gbirthday - pot: cd po && intltool-update --pot -g gbirthday debian/patches/series0000664000000000000000000000012612064656035012042 0ustar 01_deactivate-nosetests.patch 02_fix_install_path.patch 03_disable_evo_database.patch debian/patches/02_fix_install_path.patch0000664000000000000000000000034012064657450015477 0ustar --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ bindir = /usr/bin datadir = /usr/share -sitelib = /usr/lib/python2.6/site-packages +sitelib = /usr/lib/python2.7/dist-packages pixmaps = $(datadir)/pixmaps version = 0.6.6 debian/watch0000664000000000000000000000033612064656035010232 0ustar version=3 opts=uversionmangle=s/\.(tar.*|tgz|zip|gz|bz2)$//i,dversionmangle=s/[-.+~]?(cvs|svn|git|snapshot|pre|hg)(.*)$//i,pasv \ http://sf.net/gbirthday/gbirthday-?_?([\d+\.]+|\d+)\.(tar.*|tgz|zip|gz|bz2|) debian uupdate debian/rules0000775000000000000000000000005412064660427010256 0ustar #!/usr/bin/make -f %: dh $@ --with python2 debian/changelog0000664000000000000000000000752512064657410011060 0ustar gbirthday (0.6.6-2ubuntu1) raring; urgency=low Merge from Debian, remaining changes: * debian/patches/03_disable_evo_database.patch: disable the Evolution database support: it will not work now that python-evolution cannot be built, and unnecessarily prompts users when the other databases are usable. * debian/control: drop python-evolution from Recommends and drop evolution-data-server from Depends; not needed with the Evo database disabled. * debian/patches/02_fix_install_path.patch: - Fix FTBFS by adjusting the hardcoded Makefile install path to what precise uses (python2.7/dist-packages) -- Dmitrijs Ledkovs Thu, 20 Dec 2012 18:53:48 +0000 gbirthday (0.6.6-2) unstable; urgency=low * Imported new upstream release version 0.6.6 - drop evolution-data-server from depends to recommends for run-time - rebase nosetest patch to latest upstream code * debian/dirs: drop empty directory usr/share/gbirthday from the list * debian/copyright: update my copyright claim * debian/control: bump to 3.9.3 standard -- Rolf Leggewie Thu, 28 Jun 2012 15:49:44 +0800 gbirthday (0.6.5-1ubuntu2) quantal; urgency=low * debian/patches/03_disable_evo_database.patch: disable the Evolution database support: it will not work now that python-evolution cannot be built, and unnecessarily prompts users when the other databases are usable. * debian/control: drop python-evolution from Recommends and drop evolution-data-server from Depends; not needed with the Evo database disabled. -- Mathieu Trudel-Lapierre Fri, 14 Sep 2012 11:56:32 -0400 gbirthday (0.6.5-1ubuntu1) precise; urgency=low * debian/patches/02_fix_install_path.patch: - Fix FTBFS by adjusting the hardcoded Makefile install path to what precise uses (python2.7/dist-packages) -- Michael Terry Mon, 21 Nov 2011 15:12:18 -0500 gbirthday (0.6.5-1) unstable; urgency=low * new upstream release 0.6.5 * debian/control: - update to Standard version 3.9.2. No further changes. - s/mysql/MySQL/ * temporarily deactivate nosetests. (Closes: #642811) * debian/copyright: update my copyright * debian/dirs: drop some unused directories -- Rolf Leggewie Tue, 27 Sep 2011 12:12:43 +0800 gbirthday (0.6.4-4) unstable; urgency=low * debian/control: add python-support to build dependencies. Closes: #633900 Many Thanks to Jakub Wilk. -- Rolf Leggewie Sat, 16 Jul 2011 00:38:12 +0900 gbirthday (0.6.4-3) unstable; urgency=low [Jakub Wilk] * debian/control: set XS-Python-Version to a minimum of 2.6. Closes:#617835 [Rolf Leggewie] * debian/control: update long description -- Rolf Leggewie Sat, 12 Mar 2011 21:14:26 +0800 gbirthday (0.6.4-2) unstable; urgency=low * debian/control: add python-evolution to run-time dependencies. -- Rolf Leggewie Sun, 20 Feb 2011 16:29:36 +0800 gbirthday (0.6.4-1) experimental; urgency=low * release upstream version 0.6.4 to experimental. Closes: #564456 * debian/control: - allow uploads by Debian Maintainers - add a couple of build-time dependencies the new upstream requires - update to standard 3.9.1 - add Vcs-* fields - add Homepage entry * debian/watch: add watch file * debian/copyright: update upstream and my copyright information * radically simplify debian/rules with dh7's rules.tiny * switch to DebSrc3.0 format. Closes: #600608 * add simple manpage provided by Braulio Valdivielso Martínez Closes: #605979 -- Rolf Leggewie Mon, 06 Dec 2010 15:17:38 +0800 gbirthday (0.4.1-2) unstable; urgency=low * Initial release. (Closes: #511640) -- Rolf Leggewie Tue, 13 Jan 2009 00:39:47 +0100 debian/source/0000775000000000000000000000000012064660546010501 5ustar debian/source/format0000664000000000000000000000001412064656035011705 0ustar 3.0 (quilt) debian/gbirthday.10000664000000000000000000000140112064656035011232 0ustar .TH gbirthday 1 "12/2/2010" "0.6.5" "gbirthday Man Page" .SH NAME .B gbirthday - a birthday reminder application that helps you to remember your contacts' birthdays .SH OPTIONS .B gbirthday does not have parameters for the command line interface. .SH DESCRIPTION .B gbirthday is a birthday reminder application that helps you to remember your contacts' birthdays. It can be used with Evolution Contacts, CVS files, MySQL databases, Thunderbird/Icedove Lightning and Sunbird/Iceowl events. Notification of upcoming and today's birthdays is done via the GNOME notification area. .SH VERSION .SH AUTHORS This man page has been written for .B gbirthday version 0.6.5 by Braulio Valdivielso Martínez with some modifications by Rolf Leggewie. debian/compat0000664000000000000000000000000212064656035010375 0ustar 7 debian/gbirthday.manpages0000664000000000000000000000002312064656035012664 0ustar debian/gbirthday.1 debian/copyright0000664000000000000000000000225112064656036011133 0ustar This package was debianized by Rolf Leggewie on Sunday, Feb 1st 2009. It was downloaded from http://gbirthday.sourceforge.net/ Upstream Authors: Alex Mallo Thomas Spura and Andres Bresser Copyright: Copyright © 2007 Alex Mallo Copyright © 2009 Thomas Spura Copyright © 2009 Andreas Bresser 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. 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 and derived distributions refer to /usr/share/common-licenses/ The Debian packaging is © 2009-2012 Rolf Leggewie and is licensed under the GPL, see above.