--- 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/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/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 --- 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/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", --- 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: --- pycocuma-0.4.5-6.orig/debian/pycompat +++ pycocuma-0.4.5-6/debian/pycompat @@ -0,0 +1 @@ +2 --- pycocuma-0.4.5-6.orig/debian/lintian-override +++ pycocuma-0.4.5-6/debian/lintian-override @@ -0,0 +1 @@ +pycocuma binary: script-not-executable --- pycocuma-0.4.5-6.orig/debian/pycocuma-server.1 +++ pycocuma-0.4.5-6/debian/pycocuma-server.1 @@ -0,0 +1,49 @@ +.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) --- pycocuma-0.4.5-6.orig/debian/compat +++ pycocuma-0.4.5-6/debian/compat @@ -0,0 +1 @@ +5 --- pycocuma-0.4.5-6.orig/debian/dirs +++ pycocuma-0.4.5-6/debian/dirs @@ -0,0 +1,2 @@ +usr/bin +usr/share/lintian/overrides --- pycocuma-0.4.5-6.orig/debian/README.Debian +++ pycocuma-0.4.5-6/debian/README.Debian @@ -0,0 +1,11 @@ +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 +tetex-extra and xpdf-reader packages. + + -- Christoph Berg Sat, 23 Jul 2005 13:58:17 +0200 + --- pycocuma-0.4.5-6.orig/debian/install +++ pycocuma-0.4.5-6/debian/install @@ -0,0 +1 @@ +templates usr/share/pycocuma --- pycocuma-0.4.5-6.orig/debian/pycocuma.1 +++ pycocuma-0.4.5-6/debian/pycocuma.1 @@ -0,0 +1,63 @@ +.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) --- pycocuma-0.4.5-6.orig/debian/rules +++ pycocuma-0.4.5-6/debian/rules @@ -0,0 +1,49 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +-include /usr/share/python/python.mk + +D=$(CURDIR)/debian/pycocuma + +clean: + dh_testdir + dh_testroot + rm -rf pycocumalib/*.pyc build + rm -f build-stamp configure-stamp + dh_clean + +build: + +install: + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + dh_install + python setup.py install --root $D ${py_setup_install_args} + for d in `find $D -name .svn` ; do rm -r $$d ; done + +binary-indep: build install + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs + cp debian/lintian-override $D/usr/share/lintian/overrides/pycocuma + dh_installexamples + dh_installmenu + dh_installman debian/pycocuma*.1 + dh_compress + dh_pycentral + dh_installdeb + dh_shlibdeps + dh_fixperms + dh_gencontrol + dh_md5sums + dh_builddeb + +binary-arch: + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- pycocuma-0.4.5-6.orig/debian/watch +++ pycocuma-0.4.5-6/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://www.srcco.de/pycocuma/index.html http://www.srcco.de/packages/PyCoCuMa-(.*).tar.gz --- pycocuma-0.4.5-6.orig/debian/changelog +++ pycocuma-0.4.5-6/debian/changelog @@ -0,0 +1,56 @@ +pycocuma (0.4.5-6-5ubuntu1) karmic; urgency=low + + * Fix FTBFS with Python 2.6. + + -- Luca Falavigna Sun, 25 Oct 2009 14:42:11 +0000 + +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 + --- pycocuma-0.4.5-6.orig/debian/menu +++ pycocuma-0.4.5-6/debian/menu @@ -0,0 +1,5 @@ +?package(pycocuma):needs="x11" section="Applications/Data Management" \ + title="PyCoCuMa" \ + longtitle="Pythonic Contact and Customer Management" \ + command="/usr/bin/pycocuma" + --- pycocuma-0.4.5-6.orig/debian/control +++ pycocuma-0.4.5-6/debian/control @@ -0,0 +1,27 @@ +Source: pycocuma +Section: mail +Priority: optional +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Christoph Berg +Build-Depends: debhelper (>= 5.0.37.2) +Build-Depends-Indep: python-dev (>= 2.3), python, python-central (>= 0.5) +XS-Python-Version: current +Standards-Version: 3.7.3 +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 +Recommends: python-imaging-tk +Suggests: tetex-extra, xpdf-reader +XB-Python-Version: ${python:Versions} +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). --- pycocuma-0.4.5-6.orig/debian/docs +++ pycocuma-0.4.5-6/debian/docs @@ -0,0 +1,2 @@ +README +TODO --- pycocuma-0.4.5-6.orig/debian/copyright +++ pycocuma-0.4.5-6/debian/copyright @@ -0,0 +1,18 @@ +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'. +