--- rednotebook-1.0.0.orig/debian/rednotebook.links +++ rednotebook-1.0.0/debian/rednotebook.links @@ -0,0 +1 @@ +usr/share/rednotebook/run.py usr/bin/rednotebook --- rednotebook-1.0.0.orig/debian/rules +++ rednotebook-1.0.0/debian/rules @@ -0,0 +1,29 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +install: install-stamp +install-stamp: + dh install --before dh_auto_install + # install into a private directory + python setup.py install --root=$(CURDIR)/debian/rednotebook \ + --install-lib=/usr/share/rednotebook \ + --install-scripts=/usr/bin \ + --install-data=/usr + # "--install-scripts=/usr/share/rednotebook" will not work here + # as binary name is the same as module name + mv $(CURDIR)/debian/rednotebook/usr/bin/rednotebook \ + $(CURDIR)/debian/rednotebook/usr/share/rednotebook/run.py + + #carry on + dh install --after dh_auto_install + touch install-stamp + +binary: binary-indep + +binary-indep: install + +%: + dh --with quilt $@ --- rednotebook-1.0.0.orig/debian/docs +++ rednotebook-1.0.0/debian/docs @@ -0,0 +1 @@ +README --- rednotebook-1.0.0.orig/debian/compat +++ rednotebook-1.0.0/debian/compat @@ -0,0 +1 @@ +7 --- rednotebook-1.0.0.orig/debian/control +++ rednotebook-1.0.0/debian/control @@ -0,0 +1,22 @@ +Source: rednotebook +Section: text +Priority: optional +Maintainer: Jonathan Wiltshire +Dm-Upload-Allowed: yes +Build-Depends-Indep: python (>=2.5), python-support (>=0.5.3), debhelper (>= 7), quilt (>= 0.46-7) +Standards-Version: 3.9.0 +Homepage: http://rednotebook.sourceforge.net/ +Vcs-Browser: http://robin.powdarrmonkey.net/cgi-bin/gitweb.cgi?p=rednotebook +Vcs-Git: git://robin.powdarrmonkey.net/git/rednotebook/ + +Package: rednotebook +Architecture: all +Depends: ${python:Depends}, ${misc:Depends}, python-yaml (>=3.05), python-gtk2 (>=2.12), python-glade2, python-gobject (>= 2.14.2) +Recommends: python-gtkspell, python-webkit, python-chardet +Description: daily journal with calendar, templates and keyword searching + RedNotebook is a graphical diary and journal to keep track of notes and + thoughts throughout the day. It includes a calendar navigation, customisable + templates for each day, and a keyword search and cloud. + . + To output journals in Portable Document Format (PDF), you also need the + python-webkit package. --- rednotebook-1.0.0.orig/debian/changelog +++ rednotebook-1.0.0/debian/changelog @@ -0,0 +1,255 @@ +rednotebook (1.0.0-2) unstable; urgency=low + + * [e9808c] Enable quilt patch system and add dependency and + README.source + * [2968fb] New patch gtk-stock.patch to fix crash when in Turkish + locale (Closes: #588664) (LP: #555425) + * [32f521] Standards version 3.9.0 (no changes) + * [102b43] Remove mention of textlive-latex-extra in the description + + -- Jonathan Wiltshire Sun, 11 Jul 2010 00:17:20 +0100 + +rednotebook (1.0.0-1) unstable; urgency=low + + * [19cb84] New upstream release + + -- Jonathan Wiltshire Wed, 23 Jun 2010 20:39:08 +0100 + +rednotebook (0.9.5-1) unstable; urgency=low + + * [e9f9ea] New upstream release + * [ec8858] Add Recommends on python-chardet + * [2f4313] Drop Suggests on texlive-latex-extra + + -- Jonathan Wiltshire Thu, 13 May 2010 08:37:21 +0100 + +rednotebook (0.9.4-1) unstable; urgency=low + + * [ba3a88] New upstream version + * [41dcc5] Explicitly declare source format 1.0 + + -- Jonathan Wiltshire Sat, 08 May 2010 19:02:40 +0100 + +rednotebook (0.9.3-1) unstable; urgency=low + + * [be5b34] New upstream version + * [418a9c] Update copyright information + + -- Jonathan Wiltshire Mon, 15 Mar 2010 18:45:08 +0000 + +rednotebook (0.9.2-1) unstable; urgency=low + + * [7f1ca2] New upstream version + * [31f071] Standards version 3.8.4 + + -- Jonathan Wiltshire Mon, 01 Feb 2010 23:51:40 +0000 + +rednotebook (0.9.1-1) unstable; urgency=low + + * [ad68eb] New upstream version + * [99bd30] debian/control: Add recommendation on python-webkit + * [824087] debian/rednotebook.1: Spelling corrections + + -- Jonathan Wiltshire Thu, 14 Jan 2010 19:48:50 +0000 + +rednotebook (0.9.0-1) unstable; urgency=low + + * [86bb8a] New upstream version: + - remove .mo files to allow building twice in a row + (Closes: #560711) + * [2db025] rednotebook/gui/browser.py: Import with_statement to allow + compilation with Python 2.5 + + -- Jonathan Wiltshire Sat, 19 Dec 2009 12:04:48 +0000 + +rednotebook (0.8.9-1) unstable; urgency=low + + * [9b9498] New upstream version + * [93093b] Update copyright information + * [bbd9b2] rednotebook/external/interwibble.py: backport fixes for + Python 2.5 from interwibble's upstream + + -- Jonathan Wiltshire Fri, 04 Dec 2009 13:03:57 +0000 + +rednotebook (0.8.8-1) unstable; urgency=low + + * [c53002] New upstream version + * [fb1191] debian/control: recommend python-gtkspell (Closes: #551826) + * [221152] debian/rednotebok.1: Add -m parameter to manual + + -- Jonathan Wiltshire Sat, 24 Oct 2009 16:37:26 +0100 + +rednotebook (0.8.7-1) unstable; urgency=low + + * [9d33ee] New upstream version + + -- Jonathan Wiltshire Sun, 27 Sep 2009 21:07:52 +0100 + +rednotebook (0.8.6.1-1) unstable; urgency=low + + * [d10aa1] New upstream version + * [72dd51] Standards version 3.8.3 + + -- Jonathan Wiltshire Sun, 06 Sep 2009 00:11:49 +0100 + +rednotebook (0.8.5-1) unstable; urgency=low + + * [df4dcc] New upstream version + * [5c38bd] Update manual rednotebook.1 + + -- Jonathan Wiltshire Mon, 31 Aug 2009 10:59:26 +0100 + +rednotebook (0.8.3-1) unstable; urgency=low + + * New upstream version + + -- Jonathan Wiltshire Mon, 10 Aug 2009 17:58:46 +0100 + +rednotebook (0.8.2-1) unstable; urgency=low + + * [81e7f8] Imported Upstream version 0.8.2 + + -- Jonathan Wiltshire Wed, 29 Jul 2009 16:26:01 +0100 + +rednotebook (0.8.1-1) unstable; urgency=low + + * [995049] New upstream version + + -- Jonathan Wiltshire Sat, 25 Jul 2009 19:50:27 +0100 + +rednotebook (0.8.0-1) unstable; urgency=low + + * [79a906] New upstream version + * [2a5e9b] Add Suggests for texlive-latex-extra to permit PDF output, + and a hint in the binary package description + + -- Jonathan Wiltshire Wed, 22 Jul 2009 09:35:41 +0100 + +rednotebook (0.7.6-1) unstable; urgency=low + + * [b08360] New upstream release: add an Undo/Redo function (LP: #393277) + * [be996f] Update debian/copyright + + -- Jonathan Wiltshire Wed, 15 Jul 2009 23:56:03 +0100 + +rednotebook (0.7.5-1) unstable; urgency=low + + [ Jonathan Wiltshire] + * [960284] New upstream version + + [ Piotr Ożarowski ] + * DM-Upload-Allowed set to yes + + -- Jonathan Wiltshire Wed, 01 Jul 2009 15:32:44 +0100 + +rednotebook (0.7.4-1) unstable; urgency=low + + * [309859] New upstream version: + - create ~/.rednotebook before logging is initialized + (Closes: #534608, LP: #392235) + + -- Jonathan Wiltshire Thu, 25 Jun 2009 23:19:43 +0100 + +rednotebook (0.7.3-1) unstable; urgency=low + + * [75ec96] New upstream version + * [494744] Standards version 3.8.2 (no changes required) + + -- Jonathan Wiltshire Sun, 21 Jun 2009 23:40:05 +0100 + +rednotebook (0.7.2-1) unstable; urgency=low + + * New upstream version + + -- Jonathan Wiltshire Mon, 25 May 2009 17:21:13 +0100 + +rednotebook (0.7.0-1) unstable; urgency=low + + * New upstream version: + - multiple, arbitrarily named templates can be defined + - enable copy/paste in categories edit box + - keep clouds up to date when categories have been edited + + -- Jonathan Wiltshire Tue, 19 May 2009 19:51:39 +0100 + +rednotebook (0.6.9-1) unstable; urgency=low + + * New upstream version: + - enhance the Export functions + - allow links to be opened from the preview window + - remove the old code from GTKMozembed + * Use '--install-*' to put binaries and other shared files in /usr/bin, + not /usr/local/bin so that builds on Ubuntu work properly (LP: 373200) + + -- Jonathan Wiltshire Fri, 08 May 2009 09:17:41 +0100 + +rednotebook (0.6.8-1) unstable; urgency=low + + * New Upstream version + * Drop dependency on python-gtkmozembed + + -- Jonathan Wiltshire Sun, 03 May 2009 23:15:05 +0100 + +rednotebook (0.6.7-1) unstable; urgency=low + + * New Upstream Version + * Update Homepage information + * Disable "dirty fix" that adds python2.5's site-packages to the sys.path + in rednotebook script + + -- Jonathan Wiltshire Mon, 27 Apr 2009 11:45:56 +0100 + +rednotebook (0.6.6-1) unstable; urgency=low + + * New Upstream Version + * Add 'or' dependency on python-gnome2-extras to make Ubuntu syncs nice + and easy + + -- Jonathan Wiltshire Thu, 09 Apr 2009 15:40:09 +0100 + +rednotebook (0.6.4-1) unstable; urgency=low + + * New Upstream Version: + - Easier Tagging (Added tag button) + - New Entry dialog: Show previous tags in drop-down menu when "Tags" is + selected as category + - New Entry dialog: Only make a new entry submittable if text has been + entered + - Shortcuts to navigate between days ( + PageUp, + PageDown) + + -- Jonathan Wiltshire Mon, 30 Mar 2009 07:20:41 +0100 + +rednotebook (0.6.3-1) unstable; urgency=low + + * New Upstream Version + * Added explicit dependency on python-gobject + * Removed old dependency on python-gtkhtml2 + + -- Jonathan Wiltshire Mon, 23 Mar 2009 17:47:06 +0000 + +rednotebook (0.6.2-1) unstable; urgency=low + + * New Upstream Version: + - Notebook content is now saved automatically every 10 minutes + * Bump Standards-Version to 3.8.1 (no changes) + * Remove all lintian overrides (no longer needed) + + -- Jonathan Wiltshire Wed, 18 Mar 2009 20:31:56 +0000 + +rednotebook (0.6.1-1) unstable; urgency=low + + * New upstream version + * Upstream readme and changelog files no longer have .txt extensions; + updated debian/rules and debian/docs to reflect this + * Updated copyright information + * Override lintian errors postinst-does-not-call-updatemenus and + postrm-does-not-call-updatemenus (no longer errors for debhelper + 7.2.3), see bug #518712 + + -- Jonathan Wiltshire Sun, 08 Mar 2009 18:56:16 +0000 + +rednotebook (0.5.3-1) unstable; urgency=low + + * Initial release (Closes: #507939) + + -- Jonathan Wiltshire Mon, 02 Feb 2009 14:23:22 +0000 --- rednotebook-1.0.0.orig/debian/watch +++ rednotebook-1.0.0/debian/watch @@ -0,0 +1,6 @@ +# See uscan(1) for format + +# Compulsory line, this is a version 3 file +version=3 + +http://sf.net/rednotebook/rednotebook-(.*)\.tar\.gz --- rednotebook-1.0.0.orig/debian/rednotebook.dirs +++ rednotebook-1.0.0/debian/rednotebook.dirs @@ -0,0 +1 @@ +usr/bin --- rednotebook-1.0.0.orig/debian/copyright +++ rednotebook-1.0.0/debian/copyright @@ -0,0 +1,81 @@ +Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=428 +Upstream-Name: rednotebook +Upstream-Maintainer: Jendrik Seipp +Upstream-Source: http://digitaldump.wordpress.com/projects/rednotebook/ + +Files: * +Copyright: Copyright (C) 2009 Jendrik Seipp +License: GPL-2+ + +File: po/*.po +Copyright: Copyright (C) 2009 Rosetta Contributors and Canonical Ltd. +License: GPL-2+ + +Files: rednotebook/txt2tags.py +Copyright: Copyright 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 Aurelio Jargas +License: GPL-2 + 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 2. + + 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 full text of the GPL can be found at + '/usr/share/common-licenses/GPL-2'. + +Files: rednotebook/external/htmltextview.py +Copyright: Copyright (C) 2005-2007 Gustavo J. A. M. Carneiro +License: GPL-2+ + 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 full text of the GPL can be found at + '/usr/share/common-licenses/GPL-2'. + +Files: rednotebook/external/interwibble.py +Copyright: Copyright (C) 2009 Eitan Isaacson +License: GPL-3 + +Files: rednotebook/encrypt.py +Copyright: not asserted +License: Public Domain + This module is in the public domain and was released on sourceforge: + http://sourceforge.net/projects/pycrypto patch 1466857 + +Files: debian/* +Copyright: Copyright (C) 2008, 2009 Jonathan Wiltshire +License: GPL-2+ + 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 full text of the GPL can be found at + '/usr/share/common-licenses/GPL-2'. --- rednotebook-1.0.0.orig/debian/pyversions +++ rednotebook-1.0.0/debian/pyversions @@ -0,0 +1 @@ +2.5- --- rednotebook-1.0.0.orig/debian/rednotebook.manpages +++ rednotebook-1.0.0/debian/rednotebook.manpages @@ -0,0 +1 @@ +debian/rednotebook.1 --- rednotebook-1.0.0.orig/debian/menu +++ rednotebook-1.0.0/debian/menu @@ -0,0 +1,2 @@ +?package(rednotebook):needs="X11" section="Applications/Office"\ + title="RedNotebook" command="/usr/bin/rednotebook" --- rednotebook-1.0.0.orig/debian/rednotebook.1 +++ rednotebook-1.0.0/debian/rednotebook.1 @@ -0,0 +1,39 @@ +.\" Hey, EMACS: -*- nroff -*- +.TH "REDNOTEBOOK" "1" "2009-08-31" "Jonathan Wiltshire" "" +.SH "NAME" +rednotebook \- daily journal with calendar, templates and keyword searching +.SH "SYNOPSIS" +.B rednotebook [\fIoptions\fP] [\fIjournal-path\fP] +.SH "DESCRIPTION" +.B RedNotebook +is a desktop diary that makes it very easy for you to keep track of the stuff you do and the thoughts you have. This journal software helps you to write whole passages or just facts and does so in style. +.SH "OPTIONS" +.LP +.TP +\fB\-h, \-\-help\fR +Show help text and exit +.TP +\fB\-d, \-\-debug\fR +Output debugging messages (default: false) +.TP +\fB\-m, \-\-minimized +Start RedNotebook and minimize it to the tray +.LP +\fBjournal-path\fR can be one of the following: + \- An absolute path (e.g. /home/username/myjournal) + \- A relative patch (e.g. ../dir/myjournal) + \- The name of a directory under $HOME/.rednotebook/ (e.g. myjournal) +.LP +If the \fBjournal-path\fR is omitted the last session's journal will be used. +At the first program start this defaults to \fI$HOME/.rednotebook/data\fR. +.LP +Configuration is stored in the file \fI~/.rednotebook/configuration.cfg\fR. +.SH "FILES" +\fI/usr/bin/rednotebook\fR \- \fBRedNotebook\fR executable +.br +\fI~/.rednotebook\fR \- per\-user configuration and notebooks +.SH "AUTHOR" +rednotebook was written by Jendrik Seipp . +.PP +This manual page was written by Jonathan Wiltshire , +for the Debian project (and may be used by others). --- rednotebook-1.0.0.orig/debian/README.source +++ rednotebook-1.0.0/debian/README.source @@ -0,0 +1,2 @@ +This package uses the quilt patch system. For further details, see the +documentation in /usr/share/doc/quilt in the quilt package. --- rednotebook-1.0.0.orig/debian/patches/series +++ rednotebook-1.0.0/debian/patches/series @@ -0,0 +1 @@ +gtk-stock.patch --- rednotebook-1.0.0.orig/debian/patches/gtk-stock.patch +++ rednotebook-1.0.0/debian/patches/gtk-stock.patch @@ -0,0 +1,41 @@ +Description: use hard-coded GTK asset names to prevent problems in translation +Origin: http://bazaar.launchpad.net/~jendrikseipp/rednotebook/trunk/revision/445.1.10 +Bug: https://bugs.launchpad.net/rednotebook/+bug/555425 +Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/rednotebook/+bug/555425 +Bug-Debian: http://bugs.debian.org/588664 +Last-Update: 2010-07-18 +--- rednotebook-1.0.0.orig/rednotebook/gui/mainWindow.py ++++ rednotebook-1.0.0/rednotebook/gui/mainWindow.py +@@ -688,23 +688,17 @@ + return + #if focus is None or focus == self.dayTextField.dayTextView: + self.dayTextField.apply_format(format, markup) +- ++ ++ def shortcut(char): ++ ### Translators: The Control (Ctrl) key ++ return ' (%s+%s)' % (_('Ctrl'), char) + +- def get_action(format, translation): +- return (format, getattr(gtk, 'STOCK_' + format.upper()), \ +- ### Translators: The Control (Ctrl) key +- translation + ' (%s+%s)' % (_('Ctrl'), format[0]), \ +- '' + format[0], None, \ +- apply_format, +- ) + # Create actions +- strike_action = ('Strikethrough', gtk.STOCK_STRIKETHROUGH, \ +- _('Strikethrough'), None, None, apply_format,) +- actions = [get_action(format, trans) for format, trans in \ +- (('Bold', _('Bold')), \ +- ('Italic', _('Italic')), \ +- ('Underline', _('Underline')))] \ +- + [strike_action] ++ actions = [ ('Bold', gtk.STOCK_BOLD, _('Bold') + shortcut('B'), 'B', None, apply_format), ++ ('Italic', gtk.STOCK_ITALIC, _('Italic') + shortcut('I'), 'I', None, apply_format), ++ ('Underline', gtk.STOCK_UNDERLINE, _('Underline') + shortcut('U'), 'U', None, apply_format), ++ ('Strikethrough', gtk.STOCK_STRIKETHROUGH, _('Strikethrough'), None, None, apply_format)] ++ + actiongroup.add_actions(actions) + + # Add the actiongroup to the uimanager --- rednotebook-1.0.0.orig/debian/source/format +++ rednotebook-1.0.0/debian/source/format @@ -0,0 +1 @@ +1.0