debian/0000755000000000000000000000000011632102301007153 5ustar debian/menu0000644000000000000000000000026211305504233010051 0ustar ?package(pycocuma):needs="x11" section="Applications/Data Management" \ title="PyCoCuMa" \ longtitle="Pythonic Contact and Customer Management" \ command="/usr/bin/pycocuma" debian/install0000644000000000000000000000005111632100603010543 0ustar templates/* usr/share/pycocuma/templates debian/README.source0000644000000000000000000000353511324077574011365 0ustar 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 break 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. debian/pycocuma.10000644000000000000000000000331711305504233011070 0ustar .TH "pycocuma" "1" "0.4.5-5" "Debian" "Addressbook" .SH "NAME" .LP pycocuma \- Pythonic Contact and Customer Management .SH "SYNTAX" .LP pycocuma [\fIoptions\fR] [\fIconnection-string\fR] .SH "DESCRIPTION" .LP PyCoCuMa (Pythonic Contact and Customer Management) provides a personal information system for addresses, telephone numbers and other data associated with personal contacts (also supports photographic pictures). PyCoCuMa is purely written in Python with a Tk graphical interface. PyCoCuMa is based on an XML-RPC client-server architecture. The server stores its data in compatible vCard (ver. 3.0) files (*.vcf) which can be read by all modern address programs (Evolution, KAddressbook, Outlook, GnomeCard, etc). This manpage documents the PyCoCuMa client (which can also run standalone). .SH "OPTIONS" .TP \fIconnection-string\fR addressbook filename / server url .TP \fB\-h\fR \fB\-\-help\fR show help .TP \fB\-c\fR \fB\-\-config\fR location of configuration file (default: ~/.pycocuma) .TP \fB\-\-noconf\fR do not save configuration / preferences .TP \fB\-t\fR \fB\-\-type\fR connection type: xmlrpc or file (default: file) .TP \fB\-\-finder\fR open QuickFinder .TP \fB\-\-import\fR import from file/stdin (-) (e.g. vcard:/tmp/John.vcf) .TP \fB\-\-export\fR export to file or stdout (e.g. latex:-) .SH "EXAMPLES" .LP .TP pycocuma \-\-type=xmlrpc http://localhost:8810 .TP pycocuma \-\-config=/tmp/pycocumatest.conf \-\-type=file ./addressbook.vcf .SH "AUTHORS" .LP PyCoCuMa was written by Henning Jacobs. This manpage was written by Christoph Berg for the Debian GNU/Linux distribution (but may be used by others). .SH "SEE ALSO" .LP .TP PyCoCuMa home page http://www.srcco.de/pycocuma/ .LP pycocuma-server(1) debian/pycocuma.lintian-overrides0000644000000000000000000000004711624474542014400 0ustar pycocuma binary: script-not-executable debian/pycocuma.manpages0000644000000000000000000000005311624474130012523 0ustar debian/pycocuma-server.1 debian/pycocuma.1 debian/README.Debian0000644000000000000000000000055611324077574011247 0ustar pycocuma for Debian ------------------- To see photos embedded in vcards, the python-imaging-tk package is needed. pycocuma only Recommends: it, since it is usable without it. To enable the pdf viewing/printing of contacts, install the suggested texlive-latex-extra and xpdf-reader packages. -- Kumar Appaiah , Tue, 8 Dec 2009 20:47:43 -0600 debian/dirs0000644000000000000000000000004411305504233010044 0ustar usr/bin usr/share/lintian/overrides debian/patches/0000755000000000000000000000000011632102147010612 5ustar debian/patches/558449-longitude-range0000644000000000000000000000072211324077574014417 0ustar --- a/pycocumalib/ContactEditWidget.py +++ b/pycocumalib/ContactEditWidget.py @@ -114,7 +114,7 @@ class LatLongPropEdit(InputWidgets.Abstr entry_justify = LEFT, value = "0.0", validate = {'validator' : 'real', - 'min':-90.0,'max':90.0}, + 'min':-180.0,'max':180.0}, modifiedcommand=self.save) ToolTip.ToolTip(self.edtLon.component('entry'), "Longitude as Float (10.0)") debian/patches/631471-DelContact0000644000000000000000000000053111632102147013317 0ustar --- a/pycocumalib/CoCuMa_Server.py +++ b/pycocumalib/CoCuMa_Server.py @@ -166,7 +166,7 @@ return self._vcalendar.add(jour) def DelJournal(self, handle): "Delete Calendar Entry" - self._cards_modified = True + self._cal_modified = True return self._vcalendar.delete(handle) class LogFile: debian/patches/mailto_program0000644000000000000000000000113011324077574013561 0ustar --- pycocuma-0.4.5-6.orig/pycocumalib/Preferences.py +++ pycocuma-0.4.5-6/pycocumalib/Preferences.py @@ -37,7 +37,7 @@ _config = { "client.connection_type": "xmlrpc", "client.connection_string": "http://localhost:8810", - "client.mailto_program": "x-terminal-emulator -e pine %1", + "client.mailto_program": "x-terminal-emulator -e mutt %1", "client.url_viewer": "", "client.autostart_server": "yes", "client.topbar": "newContact, delContact, saveContact, SEP, duplicateContact, exportContact", debian/patches/508367-SimpleXMLRPCServer0000644000000000000000000000245511324077643014675 0ustar #508367 From: Bernd Zeimetz Date: Sat, 28 Nov 2009 18:44:32 +0100 Subject: [PATCH] Work around some breakage in Python 2.5 and later. See http://bugs.python.org/issue2703 for details. --- pycocumalib/CoCuMa_Server.py | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/pycocumalib/CoCuMa_Server.py b/pycocumalib/CoCuMa_Server.py index e257949..90aa813 100644 --- a/pycocumalib/CoCuMa_Server.py +++ b/pycocumalib/CoCuMa_Server.py @@ -19,6 +19,7 @@ import sys, signal import Preferences import debug import broadcaster +import sys class XMLRPCServer(SocketServer.TCPServer, SimpleXMLRPCServer.SimpleXMLRPCDispatcher): """Overridden SimpleXMLRPCServer @@ -29,7 +30,12 @@ class XMLRPCServer(SocketServer.TCPServer, SimpleXMLRPCServer.SimpleXMLRPCDispat self.logRequests = logRequests self.allow_reuse_address = 1 - SimpleXMLRPCServer.SimpleXMLRPCDispatcher.__init__(self) + # work around some breackage in Python 2.5 and later versions + if sys.version_info [1] > 4: + SimpleXMLRPCServer.SimpleXMLRPCDispatcher.__init__(self, False, None) + else: + SimpleXMLRPCServer.SimpleXMLRPCDispatcher.__init__(self) + SocketServer.TCPServer.__init__(self, addr, requestHandler) class CoCuMa_Server: debian/patches/395867-LC_NUMERIC0000644000000000000000000000103511324077574013014 0ustar This is actually a python-tk bug. Fix it here, though... #395867: python-tk breaks with LC_NUMERIC != C #395892: pycocuma doesn't work with python-pmw built for python2.4 --- pycocuma-0.4.5-6.orig/pycocumalib/MainController.py +++ pycocuma-0.4.5-6/pycocumalib/MainController.py @@ -66,6 +66,7 @@ self.splash.show() import locale locale.setlocale(locale.LC_ALL, '') + locale.setlocale(locale.LC_NUMERIC, 'C') self.model = MainModel() if not self.nogui: tkroot = None debian/patches/no-chdir0000644000000000000000000000335411324077574012262 0ustar The chdir calls would make the latex write try to write to /usr/bin or something. --- pycocuma-0.4.5-6.orig/pycocumalib/CalendarWindow.py +++ pycocuma-0.4.5-6/pycocumalib/CalendarWindow.py @@ -64,7 +64,7 @@ top.title('Calendar') top.iconname('PyCoCuMa') try: - os.chdir(os.path.dirname(sys.argv[0])) + #os.chdir(os.path.dirname(sys.argv[0])) if sys.platform == "win32": top.iconbitmap("pycocuma.ico") else: --- pycocuma-0.4.5-6.orig/pycocumalib/MainView.py +++ pycocuma-0.4.5-6/pycocumalib/MainView.py @@ -200,7 +200,7 @@ top.title('PyCoCuMa %s' % self.__version) top.iconname('PyCoCuMa') try: - os.chdir(os.path.dirname(sys.argv[0])) + #os.chdir(os.path.dirname(sys.argv[0])) if sys.platform == "win32": top.iconbitmap("pycocuma.ico") else: --- pycocuma-0.4.5-6.orig/pycocumalib/JournalWindow.py +++ pycocuma-0.4.5-6/pycocumalib/JournalWindow.py @@ -63,7 +63,7 @@ top.title('Journal') top.iconname('PyCoCuMa') try: - os.chdir(os.path.dirname(sys.argv[0])) + #os.chdir(os.path.dirname(sys.argv[0])) if sys.platform == "win32": top.iconbitmap("pycocuma.ico") else: --- pycocuma-0.4.5-6.orig/pycocumalib/QuickFinder.py +++ pycocuma-0.4.5-6/pycocumalib/QuickFinder.py @@ -96,7 +96,7 @@ top.title('PyCoCuMa %s' % self.__version) top.iconname('PyCoCuMa') try: - os.chdir(os.path.dirname(sys.argv[0])) + #os.chdir(os.path.dirname(sys.argv[0])) if sys.platform == "win32": top.iconbitmap("pycocuma.ico") else: debian/patches/series0000644000000000000000000000015511632102102012017 0ustar mailto_program no-chdir 395867-LC_NUMERIC 508367-SimpleXMLRPCServer 558449-longitude-range 631471-DelContact debian/pycompat0000644000000000000000000000000211305504233010731 0ustar 2 debian/docs0000644000000000000000000000001411305504233010030 0ustar README TODO debian/source/0000755000000000000000000000000011624474303010472 5ustar debian/source/format0000644000000000000000000000001411624474303011700 0ustar 3.0 (quilt) debian/copyright0000644000000000000000000000115211305504233011114 0ustar This package was debianized by Christoph Berg on Sat, 23 Jul 2005 13:04:28 +0200. It was downloaded from: http://www.srcco.de/pycocuma/index.html Copyright: Copyright (C) 2004 Henning Jacobs License: 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. On Debian systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL'. debian/watch0000644000000000000000000000014411305504233010212 0ustar version=3 http://www.srcco.de/pycocuma/index.html http://www.srcco.de/packages/PyCoCuMa-(.*).tar.gz debian/pycocuma-server.10000644000000000000000000000254511305504233012376 0ustar .TH "pycocuma-server" "1" "0.4.5-5" "Debian" "Addressbook" .SH "NAME" .LP pycocuma-server \- Pythonic Contact and Customer Management .SH "SYNTAX" .LP pycocuma-server [\fB-p\fR \fIport\fR] [\fB-h\fR \fIhost\fR] [\fB-f\fR \fIaddressbook\fR] [\fB-j\fR \fIcalendar\fR] .SH "DESCRIPTION" .LP PyCoCuMa (Pythonic Contact and Customer Management) provides a personal information system for addresses, telephone numbers and other data associated with personal contacts (also supports photographic pictures). PyCoCuMa is purely written in Python with a Tk graphical interface. PyCoCuMa is based on an XML-RPC client-server architecture. The server stores its data in compatible vCard (ver. 3.0) files (*.vcf) which can be read by all modern address programs (Evolution, KAddressbook, Outlook, GnomeCard, etc). This manpage documents the PyCoCuMa server. .SH "OPTIONS" .TP \fB\-p\fR Port to listen on (default: 8810) .TP \fB\-h\fR Host (interface) to listen on (default: localhost) .TP \fB\-f\fR Addressbook filename to use (default: ~/addressbook.vcf) .TP \fB\-j\fR Calendar filename to use (default: ~/addressbook.ics) .SH "AUTHORS" .LP PyCoCuMa was written by Henning Jacobs. This manpage was written by Christoph Berg for the Debian GNU/Linux distribution (but may be used by others). .SH "SEE ALSO" .LP .TP PyCoCuMa home page http://www.srcco.de/pycocuma/ .LP pycocuma(1) debian/control0000644000000000000000000000203611632101114010560 0ustar Source: pycocuma Section: mail Priority: optional Maintainer: Christoph Berg Build-Depends: debhelper (>= 7) Build-Depends-Indep: python-all (>= 2.6.6-3~) Standards-Version: 3.9.2 Homepage: http://www.srcco.de/pycocuma/index.html Vcs-Svn: http://svn.df7cb.de/debian/pycocuma/trunk/ Package: pycocuma Architecture: all Depends: ${python:Depends}, python-tk, python-pmw, ${misc:Depends} Recommends: python-imaging-tk Suggests: texlive-latex-extra, xpdf-reader Description: Pythonic Contact and Customer Management PyCoCuMa (Pythonic Contact and Customer Management) provides a personal information system for addresses, telephone numbers and other data associated with personal contacts (also supports photographic pictures). . PyCoCuMa is purely written in Python with a Tk graphical interface. PyCoCuMa is based on an XML-RPC client-server architecture. The server stores its data in compatible vCard (ver. 3.0) files (*.vcf) which can be read by all modern address programs (Evolution, KAddressbook, Outlook, GnomeCard, etc). debian/rules0000755000000000000000000000005511624474232010253 0ustar #!/usr/bin/make -f %: dh $@ --with python2 debian/compat0000644000000000000000000000000211624474161010372 0ustar 7 debian/changelog0000644000000000000000000000470411632102220011032 0ustar pycocuma (0.4.5-6-7) unstable; urgency=low * Convert to dh_python2 and 3.0 (quilt). * Fix DelJournal, spotted by Nico Latzer. Closes: #631471. -- Christoph Berg Thu, 08 Sep 2011 10:55:10 +0200 pycocuma (0.4.5-6-6) unstable; urgency=low * The Python SimpleXMLRPCServer interface changed. Work around by adding a version check. By Tiago Saboga and Bernd Zeimetz. (Closes: #508367) * Fix longitude coordinate range. (Closes: #558449) * Bumping Standards-Version et al. * Thanks to Kumar Appaiah for the NMU. -- Christoph Berg Mon, 14 Dec 2009 21:41:58 +0100 pycocuma (0.4.5-6-5.1) unstable; urgency=low * Non-maintainer upload. * Add --prefix=/usr to fix file locations with Python 2.6. (Closes: #557919) * Suggest texlive-latex-extra instead of the deprecated tetex-extra. Update README.Debian to reflect this. -- Kumar Appaiah Tue, 08 Dec 2009 20:48:02 -0600 pycocuma (0.4.5-6-5) unstable; urgency=low * Update watch file, bump Standards-Version, add Homepage and Vcs-Svn. * Move menu entry to Applications/Data Management. -- Christoph Berg Sun, 11 May 2008 00:09:23 +0200 pycocuma (0.4.5-6-4) unstable; urgency=low * Revert to using the default python version (Closes: #395443). + Work around python-tk bug #395892 by explicitely setting LC_NUMERIC=C. + Thanks to Andreas Barth for the moral support while debugging this. -- Christoph Berg Mon, 4 Dec 2006 16:12:59 +0100 pycocuma (0.4.5-6-3) unstable; urgency=low * Depend on python2.3, using 2.4 it interacts badly with python-pmw. * Bump python-central dependency to >= 0.5. -- Christoph Berg Fri, 6 Oct 2006 20:14:22 +0200 pycocuma (0.4.5-6-2) unstable; urgency=low * Rebuild for python transition: + Use debhelper >= 5.0.37.2. + Use python-central. * Add watch file. * Use Build-Depends-Indep. -- Christoph Berg Thu, 29 Jun 2006 19:24:19 +0200 pycocuma (0.4.5-6-1) unstable; urgency=low * New upstream version. + Depends on python-pmw. + New --import/export options. -- Christoph Berg Wed, 12 Oct 2005 13:15:25 +0200 pycocuma (0.4.5-5-1) unstable; urgency=low * Initial Release (Closes: #319609). * Removed chdir() calls. * mailto_program defaults to mutt. * Wrote manpages. * Added lintian override. -- Christoph Berg Wed, 7 Sep 2005 00:03:39 +0200