--- pal-0.4.3.orig/debian/README.Debian +++ pal-0.4.3/debian/README.Debian @@ -0,0 +1,35 @@ +pal for Debian +============== + +For more information about pal visit http://palcal.sourceforge.net/. Feedback +to palcal-devel@lists.sourceforge.net is also welcome and appreciated. + + +ical2pal and pal2ical +--------------------- + +NOTE: ical2pal and pal2ical are very new and likely contain bugs. + +This version includes the source code of ical2pal and pal2ical, two utilities +to convert events between the ical format (described in RFC 2445 and others) +and the pal format. + +However, these are a beta versions, and it neither compiled nor installed. The +source code and a Makefile can be found in /usr/share/doc/pal/examples/. +Please, compile them at your own risk, and only if you know what you're doing. + +Also, notice that ical2pal and pal2ical depend on the libical library +(http://www.softwarestudio.org/libical/), currently not available as a debian +package. If you don't want to add trash to your system, remember to build +libical with "./configure --prefix=/usr/local". + + +Other calendars +--------------- + +System calendars can be found under /usr/share/pal/. In Debian systems you can +find more calendars under /usr/share/calendar/, provided by the package +bsdmainutils, however pal can't understand nor convert them. + + + -- Carsten Hey Sun, 17 May 2009 14:42:34 +0200 --- pal-0.4.3.orig/debian/README.source +++ pal-0.4.3/debian/README.source @@ -0,0 +1,41 @@ +Patch management: +----------------- + +This package uses quilt to manage Debian related, Debian originated, backported +and/or third party patches against the upstream version, so you need to install +quilt to work with this package, i. e.: + + apt-get install quilt + +The makefile debian/rules provides targets to apply and unapply all patches: + + debian/rules patch + debian/rules unpatch + +If you use quilt 0.46-4.1 or later, a more detailed introduction about quilt +and Debian packaging can be viewed with the in the below-mentioned command: + + more /usr/share/doc/quilt/README.source + + + +Version control system: +----------------------- + +Upstreams version control system can be viewed with an internet browser using +the stated below URI. If this is a native Debian package (packages without a +hyphen in the Debian version are native packages), the Debian packaging is +probably also in this repository. + + http://palcal.cvs.sourceforge.net/palcal + +To check out a copy of the current development version you can either use the +command line client for the used version control system or an graphical +frontend, for example: + + cvs -d ':pserver:anonymous@palcal.cvs.sourceforge.net:/cvsroot/palcal' login + (the password is empty, so you can just hit enter at the prompt) + cvs -z3 -d ':pserver:anonymous@palcal.cvs.sourceforge.net:/cvsroot/palcal' checkout pal + + + -- Carsten Hey Sun, 17 May 2009 14:42:34 +0200 --- pal-0.4.3.orig/debian/changelog +++ pal-0.4.3/debian/changelog @@ -0,0 +1,214 @@ +pal (0.4.3-8.1build2) yakkety; urgency=medium + + * No-change rebuild for readline soname change. + + -- Matthias Klose Sat, 17 Sep 2016 12:07:26 +0000 + +pal (0.4.3-8.1build1) xenial; urgency=medium + + * No-change rebuild for ncurses6 transition. + + -- Matthias Klose Sun, 07 Feb 2016 12:47:45 +0000 + +pal (0.4.3-8.1) unstable; urgency=medium + + * Non-maintainer upload. + * New patch: 53_debian_rl_hook.patch (Closes: #741779) + + -- Maximiliano Curia Fri, 25 Apr 2014 20:15:32 +0200 + +pal (0.4.3-8) unstable; urgency=low + + * Include the headers from ncursesw instead of ncurses. Since both + header variants are compatible, including ncurses' headers worked + as long as there was an indirect dependency on libncurses5-dev. + Thanks to Peter Green for the bug report and the patch. + (Closes: #651761) + + -- Carsten Hey Tue, 13 Dec 2011 23:21:09 +0100 + +pal (0.4.3-7) unstable; urgency=low + + * Replace glib's deprecated G_CONST_RETURN with const. This fixes the + build failure with recent glib versions. Thanks to Matthias Klose for + reporting the according FTBFS bug in Ubuntu Oneiric. (LP: #832892) + * Remove duplicate entry from history.pal. Thanks to Paul Martin for + reporting; in answer to your question, I assume it was quite funny, + apart from that. (Closes: #623061) + * Fix spelling error in pal's man page (s/calender/calendar/). + * Move the changes introduced in the prior Debian upload to a patch. + The reason that this was not done initally does not apply anymore. + * Bump debhelper compat level to 8, adapt dependency on debhelper + and replace dh_clean -k with dh_prep in debian/rules. + * Bump standards version to 3.9.2. + * Keep the old dpkg source format for now and document this in + debian/source/format. I'll consider switching to "3.0 (quilt)" + for the next upstream release. + * Add ${misc:Depends} as dependency in debian/control. + * Add the targets binary-indep and binary-arch to debian/rules. + * Remove debian/dirs, it did only contain usr/bin. + + -- Carsten Hey Sat, 27 Aug 2011 21:25:10 +0200 + +pal (0.4.3-6) unstable; urgency=low + + * Pal requires some translatable strings to be lowercased, otherwise the + option -d doesn't work when these strings are passed to it. Adapt the + German and the Polish po files accordingly and apply the fix directly to + the files instead of using patches to ease reviewing by the release team. + + -- Carsten Hey Wed, 01 Dec 2010 21:16:23 +0100 + +pal (0.4.3-5) unstable; urgency=low + + * Build depend on libreadline-dev instead of libreadline5-dev or + libreadline-dev. + * Bumped standards version to 3.8.3. + + -- Carsten Hey Thu, 24 Sep 2009 07:16:09 +0200 + +pal (0.4.3-4) unstable; urgency=low + + * Correctly place the cursor after a multibyte character in interactive + mode. (Closes: #499797) + * Use terminal's default colors instead of white foreground and black + background in interactive mode. + * Fix typo in debian/copyright. + * Bumped standards version to 3.8.1. + * New maintainer address. + + -- Carsten Hey Sun, 17 May 2009 14:43:35 +0200 + +pal (0.4.3-3) unstable; urgency=low + + * Recode austria.pal from ISO-8859 to UTF-8. (Closes: #499389) + * Link pal against libncursesw5 instead of libncurses5. (Closes: + #499403) + + -- Carsten Hey Mon, 29 Sep 2008 11:57:52 +0200 + +pal (0.4.3-2) unstable; urgency=low + + * debian/watch: use QA redirector. + * Added a new Debian specific patch which changes the path to example.css in + pal.1. Debian installs this file into a different location than + upstream's makefile target install-doc. (Closes: #497874) + + -- Carsten Hey Sat, 06 Sep 2008 07:13:08 +0200 + +pal (0.4.3-1) unstable; urgency=low + + * New Upstream Version + - Fix segfault when printing strings not valid in user's locale + (Closes: #492464) + * Removed patches that are included in pal's latest upstream release from + debian/patches. No remaining patches. + + -- Carsten Hey Sat, 02 Aug 2008 19:26:36 +0200 + +pal (0.4.2-3) unstable; urgency=low + + * Apply patch from upstream CVS: + - Don't loop endlessly when there are too few entries to be displayed in + interactive mode. (Martijn van Oosterhout and Adam Lincoln) + - Support color in screen. (Adam Lincoln) + - Wait for a keystroke after add event. (Adam Lincoln) + + -- Carsten Hey Tue, 22 Jul 2008 13:31:23 +0200 + +pal (0.4.2-2) unstable; urgency=high + + * Urgency set to high as is solves an RC bug. + * Apply patch from upstream CVS: + - Don't segfault when default_text is NULL in rl.c. (Closes: #489228) + - Fix some compiler warnings. + - CFLAGS has been splittet into CFLAGS and CPPFLAGS. + * Adjusted debian/rules to pass CFLAGS to pal's Makefile. + + -- Carsten Hey Sat, 05 Jul 2008 13:52:32 +0200 + +pal (0.4.2-1) unstable; urgency=low + + * New upstream version: + - Fix encoding in HTML export. (Closes: #332642) + - Add missing HTML tags to exported HTML. (Closes: #417854) + * Removed pal_add_event.zsh and pal_edit_event.zsh from examples. + * Removed patches that are included in pal's latest upstream release from + debian/patches. No remaining patches. + * Added a new patch which fixes a typo and groff syntax in pal.1.template. + * Suggest texlive instead of tetex-bin. + * Updated debian/copyright, updated debian/README.Debian, added + debian/README.source, added debian/watch, adapted debian/rules to the new + upstream release and extended long description in debian/control. + * Bumped standards version to 3.8.0. + + -- Carsten Hey Wed, 18 Jun 2008 13:18:28 +0200 + +pal (0.3.5-pre1+3) unstable; urgency=low + + * Removed version from NAME section in pal(1). + * Added manpage for vcard2pal. + * Simplified clean target in debian/rules. + + -- Carsten Hey Mon, 02 Jun 2008 19:04:13 +0000 + +pal (0.3.5-pre1+2) unstable; urgency=low + + * New Maintainer. Thanks Javier and Martijn! + * Rewrote debian/rules. We now use debhelper, added dependency. + * Use quilt as patch management, added dependency. + * Fixed debian/copyright, GPLv2+ is not GPL. Also added copyright + information for some new and existent scripts. + * Added Homepage field to debian/control and removed homepage and author + from description. + * Reformated description. + * Removed useless maintainer scripts. + * Added wrapper from pal 0.4.0_pre3 around src/Makefile. + * Applied updates to installation notes from pal 0.4.0_pre3. + * Check whether term is NULL in colorize.c. (Closes: #431352) + * Handle nostrip build option correctly. (Closes: #437732) + * Applied fixes and additions to existing pal files from CVS and pal + 0.4.0_pre3: birth-death.pal, history.pal and us.pal. (Closes: #415457) + * Added sysadminday to computer.pal. (Closes: #320420) + * Added austria.pal. (Closes: #476239) + * Updated convert/ical2pal.c, added convert/pal2ical.c and updated + convert/Makefile (backports from pal 0.4.0_pre3) and added these to + examples. Also mention pal2ical in README.Debian. + * Moved example.css to examples. + * Added pal_add_event.zsh and pal_edit_event.zsh from CVS as examples. + * Added vcard2pal. Thanks Uli! + + -- Carsten Hey Mon, 02 Jun 2008 08:56:32 +0000 + +pal (0.3.5-1pre1.1) unstable; urgency=low + + * Non-maintainer upload. + * Closes: #326311: Update libreadline dependency + + -- Martijn van Oosterhout Mon, 14 Nov 2005 16:03:34 +0100 + +pal (0.3.5-1pre1) unstable; urgency=low + + * New upstream release. + + -- Javier Linares Sat, 05 Jun 2004 15:38:08 +0200 + +pal (0.3.3-2.0.1) unstable; urgency=low + + * Only-binary upload to fix dependencies (closes: #247063). + + -- Teofilo Ruiz Suarez Mon, 03 May 2004 14:30:55 +0200 + +pal (0.3.3-2) unstable; urgency=low + + * Removed pointer to non-existant README file (closes: #241747). + * Makes file_hide work properly (closes: #243556). + + -- Javier Linares Fri, 23 Apr 2004 19:32:16 +0200 + +pal (0.3.3-1) unstable; urgency=low + + * Initial release (closes: #238134). + + -- Javier Linares Tue, 16 Mar 2004 14:34:17 +0100 + --- pal-0.4.3.orig/debian/compat +++ pal-0.4.3/debian/compat @@ -0,0 +1 @@ +8 --- pal-0.4.3.orig/debian/control +++ pal-0.4.3/debian/control @@ -0,0 +1,41 @@ +Source: pal +Section: utils +Priority: optional +Maintainer: Carsten Hey +Build-Depends: debhelper (>= 8), libreadline-dev, libncursesw5-dev, libglib2.0-dev, gettext, quilt +Standards-Version: 3.9.2 +Homepage: http://palcal.sourceforge.net/ + +Package: pal +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Suggests: texlive +Description: command-line calendar program that can keep track of events + pal is a command-line calendar program for Unix/Linux systems that can keep + track of events. It has similarities with the Unix cal command, the more + complex GNU gcal program, and the calendar program distributed with the BSDs. + . + Some of pal's main features are: + * A cal-like calendar that highlights days that have events. + * Assign different colors to different types of events. + * Search events with regular expressions (-s). + * Includes calendars for US holidays, Christian holidays, world holidays, + historical events and more. + * One-time events and a variety of recurring events are supported (daily, + weekly, monthly, yearly). Recurring events can have start and end dates. + * Easy-to-use interface for interactively adding, editing and deleting + events (-m). + * Automated deletion of old events (-x). + * Option to generate an HTML calendar (--html). + * Option to generate a LaTeX calendar suitable for printing (--latex). + . + Ways to use pal effectively include: + * Create your own calendar files and be reminded of upcoming meetings, + deadlines, and events. + * Remind yourself daily of your "To Do" list by using the special TODO event + type. + * Run pal in your shell initialization file (such as ~/.bash_profile) to see + your calendar whenever you open a new terminal. + * Set up a cron job that emails you and/or others the output of pal every + morning (--mail). + * View the calendars of other pal users on the same system. --- pal-0.4.3.orig/debian/copyright +++ pal-0.4.3/debian/copyright @@ -0,0 +1,122 @@ +This package was debianized by Javier Linares on +Tue, 16 Mar 2004 15:45:12 +0100. Since Sun, 01 Jun 2008 it is maintained by +Carsten Hey . + +----------------------------------------------------------------------------- + +pal: + +It was downloaded from http://palcal.sourceforge.net/. + +Copyright: 2003-2006 Scott Kuhl + +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. + + 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 General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + 02110-1301, USA. + +On Debian systems, the complete text of the GNU General Public License, +version 2, can be found in /usr/share/common-licenses/GPL-2. Newer +versions of this license can be found in the same directory. + +----------------------------------------------------------------------------- + +pal2ical and ical2pal: + +It was downloaded from http://palcal.sourceforge.net/. + +Copyright: 2004 Scott Kuhl + +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. + + 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 General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + 02110-1301, USA. + +On Debian systems, the complete text of the GNU General Public License, +version 2, can be found in /usr/share/common-licenses/GPL-2. Newer +versions of this license can be found in the same directory. + +----------------------------------------------------------------------------- + +Translations of pal: + +The German translation of pal is Copyright (C) 2004 Scott Kuhl, Copyright (C) +2004,2005 by Christopher Knörle and is +distributed under the same license as the pal package. + +The Spanish translation of pal is Copyright (C) 2004 Scott Kuhl, Copyright (C) +2004 Javier Linares and is distributed under the same license as the pal +package. + +The Polish translation of pal is Copyright (C) 2004 Scott Kuhl, Copyright (C) +2004 Artur Gajda and is distributed under the same license as the pal package. + +The Swedish translation of pal is Copyright (C) 2004 Scott Kuhl, Copyright (C) +2004 Lars Bjarby and is distributed under the same license as the pal package. + +The Turkish translation of pal is Copyright (C) 2004 Scott Kuhl, Copyright (C) +2006 Can Burak Çilingir and is distributed under the same license as the pal +package. + +----------------------------------------------------------------------------- + +vcard2pal: + +It was downloaded from http://youam.net/devel/vcard2pal/. + +Copyright: 2005, 2008 Uli Martens + All rights reserved. + +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 manpage of vcard2pal has been written by Uli Martens and Carsten Hey in +2008 and is published under the same terms as vcard2pal itself. + +----------------------------------------------------------------------------- --- pal-0.4.3.orig/debian/examples +++ pal-0.4.3/debian/examples @@ -0,0 +1,4 @@ +doc/example.css +src/convert/ical2pal.c +src/convert/pal2ical.c +src/convert/Makefile --- pal-0.4.3.orig/debian/patches/00_recode_austria.pal.patch +++ pal-0.4.3/debian/patches/00_recode_austria.pal.patch @@ -0,0 +1,36 @@ +pal (0.4.3-3) * Recode austria.pal from ISO-8859 to UTF-8. (Closes: #499389) + +--- pal.orig/share/austria.pal ++++ pal/share/austria.pal +@@ -5,13 +5,13 @@ + + AT Austria + 00000101 Neujahr +-00000106 Heilige Dreikönige ++00000106 Heilige Dreikönige + 00000214 Valentinstag + 00000501 Tag der Arbeit +-00000815 Mariä Himmelfahrt ++00000815 Mariä Himmelfahrt + 00001026 Nationalfeiertag + 00001101 Allerheiligen +-00001208 Mariä Empfängnis ++00001208 Mariä Empfängnis + 00001224 Heilig Abend + 00001225 Christtag + 00001226 Stefanitag +@@ -20,7 +20,7 @@ AT Austria + Easter-047 Faschingsdienstag + Easter-046 Aschermittwoch + Easter-007 Palmsonntag +-Easter-003 Gründonnerstag ++Easter-003 Gründonnerstag + Easter-002 Karfreitag + Easter Ostersonntag + Easter+001 Ostermontag +@@ -32,4 +32,4 @@ Easter+060 Fronleichnam + *03L1 Anfang Sommerzeit --- Uhren vorstellen + *0521 Muttertag + *0621 Vatertag +-*10L1 Ende Sommerzeit --- Uhren zurückstellen ++*10L1 Ende Sommerzeit --- Uhren zurückstellen --- pal-0.4.3.orig/debian/patches/01_use_default_colors.patch +++ pal-0.4.3/debian/patches/01_use_default_colors.patch @@ -0,0 +1,29 @@ +pal (0.4.3-4) * Use terminal's default colors instead of white foreground and + black background in interactive mode. + +--- pal.orig/src/manage.c ++++ pal/src/manage.c +@@ -429,14 +429,15 @@ void pal_manage(void) + if(has_colors()) + { + start_color(); +- init_pair(COLOR_BLACK, COLOR_BLACK, COLOR_BLACK); +- init_pair(COLOR_GREEN, COLOR_GREEN, COLOR_BLACK); +- init_pair(COLOR_RED, COLOR_RED, COLOR_BLACK); +- init_pair(COLOR_CYAN, COLOR_CYAN, COLOR_BLACK); +- init_pair(COLOR_WHITE, COLOR_WHITE, COLOR_BLACK); +- init_pair(COLOR_MAGENTA, COLOR_MAGENTA, COLOR_BLACK); +- init_pair(COLOR_BLUE, COLOR_BLUE, COLOR_BLACK); +- init_pair(COLOR_YELLOW, COLOR_YELLOW, COLOR_BLACK); ++ use_default_colors(); ++ init_pair(COLOR_BLACK, COLOR_BLACK, -1); ++ init_pair(COLOR_GREEN, COLOR_GREEN, -1); ++ init_pair(COLOR_RED, COLOR_RED, -1); ++ init_pair(COLOR_CYAN, COLOR_CYAN, -1); ++ init_pair(COLOR_WHITE, COLOR_WHITE, -1); ++ init_pair(COLOR_MAGENTA, COLOR_MAGENTA, -1); ++ init_pair(COLOR_BLUE, COLOR_BLUE, -1); ++ init_pair(COLOR_YELLOW, COLOR_YELLOW, -1); + } + else + set_colorize(-2); --- pal-0.4.3.orig/debian/patches/02_cursor_position_after_multibyte_character.patch +++ pal-0.4.3/debian/patches/02_cursor_position_after_multibyte_character.patch @@ -0,0 +1,15 @@ +pal (0.4.3-4) * Correctly place the cursor after a multibyte character in + interactive mode. (Closes: #499797) + +--- pal.orig/src/rl.c ++++ pal/src/rl.c +@@ -204,7 +204,8 @@ void pal_rl_ncurses_hack(void) + printw( "%s", rl_line_buffer + start ); + + /* Place cursor, taking into account marker */ +- move(readline_y, readline_x + rl_point - start + (start > 0) ); ++ move(readline_y, readline_x + (start > 0) ++ + g_utf8_strlen(rl_line_buffer + start, rl_point - start) ); + refresh(); + } + --- pal-0.4.3.orig/debian/patches/03_lowercase_some_translatable_strings.patch +++ pal-0.4.3/debian/patches/03_lowercase_some_translatable_strings.patch @@ -0,0 +1,140 @@ +pal (0.4.3-6) * Pal requires some translatable strings to be lowercased, + otherwise the option -d doesn't work when these strings + are passed to it. Adapt the German and the Polish po + files accordingly. + +--- pal-0.4.3.orig/po/de.po ++++ pal-0.4.3/po/de.po +@@ -25,96 +25,96 @@ + #: main.c:90 + #: main.c:345 + msgid "yesterday" +-msgstr "Gestern" ++msgstr "gestern" + + #: main.c:96 + #: main.c:345 + msgid "today" +-msgstr "Heute" ++msgstr "heute" + + #: main.c:102 + msgid "mo" +-msgstr "Mo" ++msgstr "mo" + + #: main.c:103 + msgid "next mo" +-msgstr "nächsten Mo" ++msgstr "nächsten mo" + + #: main.c:109 + msgid "tu" +-msgstr "Di" ++msgstr "di" + + #: main.c:110 + msgid "next tu" +-msgstr "nächsten Di" ++msgstr "nächsten di" + + #: main.c:116 + msgid "we" +-msgstr "Mi" ++msgstr "mi" + + #: main.c:117 + msgid "next we" +-msgstr "nächsten Mi" ++msgstr "nächsten mi" + + #: main.c:123 + msgid "th" +-msgstr "Do" ++msgstr "do" + + #: main.c:124 + msgid "next th" +-msgstr "nächsten Do" ++msgstr "nächsten do" + + #: main.c:130 + msgid "fr" +-msgstr "Fr" ++msgstr "fr" + + #: main.c:131 + msgid "next fr" +-msgstr "nächsten Fr" ++msgstr "nächsten fr" + + #: main.c:137 + msgid "sa" +-msgstr "Sa" ++msgstr "sa" + + #: main.c:138 + msgid "next sa" +-msgstr "nächsten Sa" ++msgstr "nächsten sa" + + #: main.c:143 + msgid "su" +-msgstr "So" ++msgstr "so" + + #: main.c:144 + msgid "next su" +-msgstr "nächsten So" ++msgstr "nächsten so" + + #: main.c:150 + msgid "last mo" +-msgstr "letzten Mo" ++msgstr "letzten mo" + + #: main.c:156 + msgid "last tu" +-msgstr "letzten Di" ++msgstr "letzten di" + + #: main.c:162 + msgid "last we" +-msgstr "letzten Mi" ++msgstr "letzten mi" + + #: main.c:168 + msgid "last th" +-msgstr "letzten Do" ++msgstr "letzten do" + + #: main.c:174 + msgid "last fr" +-msgstr "letzten Fr" ++msgstr "letzten fr" + + #: main.c:180 + msgid "last sa" +-msgstr "letzten Sa" ++msgstr "letzten sa" + + #: main.c:186 + msgid "last su" +-msgstr "letzten So" ++msgstr "letzten so" + + #: main.c:197 + msgid "^[0-9]+ days away$" +only in patch2: +unchanged: +--- pal-0.4.3.orig/po/pl.po ++++ pal-0.4.3/po/pl.po +@@ -28,7 +28,7 @@ + + #: main.c:104 + msgid "mo" +-msgstr "Pn" ++msgstr "pn" + + #: main.c:105 + msgid "next mo" --- pal-0.4.3.orig/debian/patches/04_replace_deprecated_G_CONST_RETURN_with_const.patch +++ pal-0.4.3/debian/patches/04_replace_deprecated_G_CONST_RETURN_with_const.patch @@ -0,0 +1,44 @@ +pal (0.4.3-7) + +Replace deprecated G_CONST_RETURN with const. + +'G_CONST_RETURN' has been deprecated[1] and removed in recent glib releases, +thus replace both occurences of it with 'const'. + +This patch does not apply to a current pal svn snapshot, but the command used +to change the two affected files is the same for pal 0.4.3 and a pal snapshot: + + sed -i 's/G_CONST_RETURN/const/' src/remind.c src/main.c + +Thanks to Matthias Klose for trying to rebuild pal on Ubuntu Oneiric (it +currently contains libglib2.0-dev 2.29.16-0ubuntu2) and reporting an +according build failure[2]. + +Pal still builds on Debian Sid, which contains the older libglib2.0-dev +2.28.6-1 (tested on SPARC). + + [1] https://bugzilla.gnome.org/show_bug.cgi?id=644611 + [2] https://bugs.launchpad.net/ubuntu/+source/pal/+bug/832892 + +--- pal-0.4.3.orig/src/main.c ++++ pal-0.4.3/src/main.c +@@ -702,7 +702,7 @@ void pal_main_reload(void) + + int main(gint argc, gchar** argv) + { +- G_CONST_RETURN gchar *charset = NULL; ++ const gchar *charset = NULL; + gint on_arg = 1; + GDate* today = g_date_new(); + +--- pal-0.4.3.orig/src/remind.c ++++ pal-0.4.3/src/remind.c +@@ -56,7 +56,7 @@ static void pal_remind_event(void) + FILE* tmp_stream; + int return_val; + gchar* email_add; +- G_CONST_RETURN gchar *charset; ++ const gchar *charset; + at_string = g_malloc(1024*sizeof(gchar)); + + pal_output_fg(BRIGHT, GREEN, "* * * "); --- pal-0.4.3.orig/debian/patches/05_fix_spelling_error_in_manpage.patch +++ pal-0.4.3/debian/patches/05_fix_spelling_error_in_manpage.patch @@ -0,0 +1,13 @@ +pal (0.4.3-6) * Fix spelling error in pal's man page (s/calender/calendar/). + +--- pal-0.4.3.orig/pal.1.template ++++ pal-0.4.3/pal.1.template +@@ -28,7 +28,7 @@ pal \- calendar with events + + .SH DESCRIPTION + .PP +-\fBpal\fR is a command\(hyline calendar utility. It displays a \fBcal(1)\fR\(hylike calender and events specified in text files. ++\fBpal\fR is a command\(hyline calendar utility. It displays a \fBcal(1)\fR\(hylike calendar and events specified in text files. + + .SH OPTIONS + The following options are provided by \fBpal\fR: --- pal-0.4.3.orig/debian/patches/06_remove_duplicate_entry_from_history.pal.patch +++ pal-0.4.3/debian/patches/06_remove_duplicate_entry_from_history.pal.patch @@ -0,0 +1,12 @@ +pal (0.4.3-7) * Remove duplicate entry from history.pal. (Closes: #623061) + +--- pal-0.4.3.orig/share/history.pal ++++ pal-0.4.3/share/history.pal +@@ -110,7 +110,6 @@ HH History + 00000414 Titanic hits iceberg and sinks, 1912 + 00000415 US President Abraham Lincoln dies, 1865 + 00000415 Ray Kroc opens first McDonalds in Des Plaines, IL, 1955 +-00000416 Lincoln shot in Ford's Theatre by John Wilkes Booth, 1865 + 00000417 Bay of Pigs invasion crushed by Castro forces, 1961 + 00000418 Einstein's Death, 1955 + 00000418 First Laundromat opens, Fort Worth Texas, 1934 --- pal-0.4.3.orig/debian/patches/50_debian_fix_example_path_in_manpage.patch +++ pal-0.4.3/debian/patches/50_debian_fix_example_path_in_manpage.patch @@ -0,0 +1,16 @@ +pal (0.4.3-2) * Added a new Debian specific patch which changes the path to + example.css in pal.1. Debian installs this file into a + different location than upstream's makefile target + install-doc. (Closes: #497874) + +--- pal.orig/pal.1.template ++++ pal/pal.1.template +@@ -73,7 +73,7 @@ Do not use colors, regardless of termina + Generates output readable by sendmail by adding "From:" and "Subject:" fields and forcing \fB\-\-nocolor\fR. For example, you could mail yourself a reminder of the upcoming events in the next week with \fBpal \-\-mail \-r 7 | sendmail username\fR. Note: For the calendar to appear correctly, make sure your email client is using a fixed width font. + .TP + .B \-\-html +-Generates a HTML calendar suitable for display on a web page. It does not generate a complete HTML document so that you can add your website's header and footer around the calendar. The number of months shown on the calendar can be adjusted with \fB\-c\fR. You will need to use Cascading Style Sheets (CSS) to change how the calendar appears; if you do not use a style sheet, the calendar will not have any borders. See \fI/usr/share/doc/pal/example.css\fR for an example style. SECURITY NOTE: If you set up pal so it is being executed server\(hyside, it is recommended that you do not allow web page visitors to directly change the parameters sent to pal. Allowing users to pass strange parameters (such as extremely long ones) can be a security risk. ++Generates a HTML calendar suitable for display on a web page. It does not generate a complete HTML document so that you can add your website's header and footer around the calendar. The number of months shown on the calendar can be adjusted with \fB\-c\fR. You will need to use Cascading Style Sheets (CSS) to change how the calendar appears; if you do not use a style sheet, the calendar will not have any borders. See \fI/usr/share/doc/pal/examples/example.css\fR for an example style. SECURITY NOTE: If you set up pal so it is being executed server\(hyside, it is recommended that you do not allow web page visitors to directly change the parameters sent to pal. Allowing users to pass strange parameters (such as extremely long ones) can be a security risk. + .TP + .B \-\-latex + Generates a LaTeX source for a calendar that can be used to generate a printer\(hyfriendly DVI (run "pal \-\-latex > file.tex; latex file.tex"), PostScript or PDF (run "pal \-\-latex > file.tex; pdflatex file.tex"). The number of months shown on the calendar can be adjusted with \fB\-c\fR. --- pal-0.4.3.orig/debian/patches/51_debian_link_against_ncursesw.patch +++ pal-0.4.3/debian/patches/51_debian_link_against_ncursesw.patch @@ -0,0 +1,14 @@ +pal (0.4.3-3) * Link pal against libncursesw5 instead of libncurses5. + (Closes: #499403) + +--- pal.orig/src/Makefile ++++ pal/src/Makefile +@@ -4,7 +4,7 @@ include Makefile.defs + + INCLDIR = -I${prefix}/include `pkg-config --cflags glib-2.0` + LIBDIR = +-LIBS = `pkg-config --libs glib-2.0` -lreadline -lncurses ++LIBS = `pkg-config --libs glib-2.0` -lreadline -lncursesw + + SRC = main.c colorize.c output.c input.c event.c rl.c html.c latex.c \ + add.c edit.c del.c remind.c search.c manage.c --- pal-0.4.3.orig/debian/patches/52_debian_include_ncursesw_headers.patch +++ pal-0.4.3/debian/patches/52_debian_include_ncursesw_headers.patch @@ -0,0 +1,115 @@ +pal (0.4.3-8) * Include the headers from ncursesw instead of ncurses. + Since both header variants are compatible, including + ncurses' headers worked as long as there was an indirect + dependency on libncurses5-dev. Thanks to Peter Green + for the bug report and the patch. (Closes: #651761) + +=================================================================== +--- pal-0.4.3.new.orig/src/add.c 2008-07-28 16:16:23.000000000 +0000 ++++ pal-0.4.3.new/src/add.c 2011-12-11 23:16:50.000000000 +0000 +@@ -18,7 +18,7 @@ + * + */ + +-#include ++#include + + #include "main.h" + #include "output.h" +Index: pal-0.4.3.new/src/colorize.c +=================================================================== +--- pal-0.4.3.new.orig/src/colorize.c 2011-12-11 23:13:43.000000000 +0000 ++++ pal-0.4.3.new/src/colorize.c 2011-12-11 23:11:47.000000000 +0000 +@@ -20,7 +20,7 @@ + + #include + #include /* for getenv() */ +-#include ++#include + + #include "main.h" + #include "colorize.h" +Index: pal-0.4.3.new/src/del.c +=================================================================== +--- pal-0.4.3.new.orig/src/del.c 2008-07-28 16:16:23.000000000 +0000 ++++ pal-0.4.3.new/src/del.c 2011-12-11 23:17:44.000000000 +0000 +@@ -19,7 +19,7 @@ + */ + + #include +-#include ++#include + + #include "main.h" + #include "output.h" +Index: pal-0.4.3.new/src/edit.c +=================================================================== +--- pal-0.4.3.new.orig/src/edit.c 2008-07-28 16:16:23.000000000 +0000 ++++ pal-0.4.3.new/src/edit.c 2011-12-11 23:17:19.000000000 +0000 +@@ -18,7 +18,7 @@ + * + */ + +-#include ++#include + + #include "main.h" + #include "output.h" +Index: pal-0.4.3.new/src/main.c +=================================================================== +--- pal-0.4.3.new.orig/src/main.c 2011-12-11 22:55:32.000000000 +0000 ++++ pal-0.4.3.new/src/main.c 2011-12-11 23:11:13.000000000 +0000 +@@ -27,7 +27,7 @@ + #include /* regular expressions */ + #include + +-#include ++#include + + #include "output.h" + #include "main.h" +Index: pal-0.4.3.new/src/manage.c +=================================================================== +--- pal-0.4.3.new.orig/src/manage.c 2011-12-11 22:55:32.000000000 +0000 ++++ pal-0.4.3.new/src/manage.c 2011-12-11 23:19:01.000000000 +0000 +@@ -21,8 +21,8 @@ + #include "main.h" + + #include +-#include +-#include ++#include ++#include + #include + #include /* get # columns for terminal */ + +Index: pal-0.4.3.new/src/output.c +=================================================================== +--- pal-0.4.3.new.orig/src/output.c 2008-07-28 16:16:23.000000000 +0000 ++++ pal-0.4.3.new/src/output.c 2011-12-11 23:14:48.000000000 +0000 +@@ -21,7 +21,7 @@ + #include + #include + #include +-#include ++#include + + /* for vsnprintf */ + #include +Index: pal-0.4.3.new/src/rl.c +=================================================================== +--- pal-0.4.3.new.orig/src/rl.c 2011-12-11 22:55:32.000000000 +0000 ++++ pal-0.4.3.new/src/rl.c 2011-12-11 23:16:23.000000000 +0000 +@@ -21,10 +21,10 @@ + #include "main.h" + + #include +-#include ++#include + #include + +-#include ++#include + + + #include "output.h" --- pal-0.4.3.orig/debian/patches/53_debian_rl_hook.patch +++ pal-0.4.3/debian/patches/53_debian_rl_hook.patch @@ -0,0 +1,47 @@ +Description: FTBFS fix, replace Function with int (*)(void) +Author: Maximiliano Curia +Bug: http://bugs.debian.org/741779 +Forwarded: no +Last-Update: 2014-04-25 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +Index: pal/src/manage.c +=================================================================== +--- pal.orig/src/manage.c 2014-04-25 19:56:03.242689939 +0200 ++++ pal/src/manage.c 2014-04-25 20:03:50.235382801 +0200 +@@ -403,7 +403,7 @@ + rl_initialize(); /* Initialise readline so we can fiddle stuff */ + rl_already_prompted = 1; + rl_redisplay_function = pal_rl_ncurses_hack; +- rl_pre_input_hook = (Function*) pal_rl_ncurses_hack; ++ rl_pre_input_hook = pal_rl_ncurses_ihack; + + + /* initialize curses */ +Index: pal/src/rl.c +=================================================================== +--- pal.orig/src/rl.c 2014-04-25 20:02:59.173999681 +0200 ++++ pal/src/rl.c 2014-04-25 20:03:17.606499242 +0200 +@@ -209,6 +209,12 @@ + refresh(); + } + ++int pal_rl_ncurses_ihack(void) ++{ ++ pal_rl_ncurses_hack; ++ return 0; ++} ++ + gboolean pal_rl_get_y_n(const char* prompt) + { + gchar *s = NULL; +Index: pal/src/rl.h +=================================================================== +--- pal.orig/src/rl.h 2014-04-25 20:02:51.901802596 +0200 ++++ pal/src/rl.h 2014-04-25 20:03:12.590363056 +0200 +@@ -41,4 +41,5 @@ + void pal_rl_completions_output(char **matches, int num_matches, int max_length ); + PalEvent* pal_rl_get_event(GDate** d, gboolean allow_global); + void pal_rl_ncurses_hack(void); ++int pal_rl_ncurses_ihack(void); + #endif --- pal-0.4.3.orig/debian/patches/series +++ pal-0.4.3/debian/patches/series @@ -0,0 +1,11 @@ +00_recode_austria.pal.patch +01_use_default_colors.patch +02_cursor_position_after_multibyte_character.patch +03_lowercase_some_translatable_strings.patch +04_replace_deprecated_G_CONST_RETURN_with_const.patch +05_fix_spelling_error_in_manpage.patch +06_remove_duplicate_entry_from_history.pal.patch +50_debian_fix_example_path_in_manpage.patch +51_debian_link_against_ncursesw.patch +52_debian_include_ncursesw_headers.patch +53_debian_rl_hook.patch --- pal-0.4.3.orig/debian/rules +++ pal-0.4.3/debian/rules @@ -0,0 +1,67 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# vim: set ft=make: + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +include /usr/share/quilt/quilt.make + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +# we use dh_strip to strip executables ... +export DEBUG=1 + +.PHONY: build build-indep build-arch +build: build-indep build-arch +build-indep: +build-arch: build-stamp +build-stamp: $(QUILT_STAMPFN) + dh_testdir + $(MAKE) "CFLAGS=$(CFLAGS)" + touch $@ + +.PHONY: clean +clean: unpatch + dh_testdir + dh_testroot + $(MAKE) distclean + dh_clean build-stamp + +.PHONY: install +install: build + dh_testdir + dh_testroot + dh_prep + dh_installdirs + $(MAKE) DESTDIR=$(CURDIR)/debian/pal install-mo + $(MAKE) DESTDIR=$(CURDIR)/debian/pal install-man + $(MAKE) DESTDIR=$(CURDIR)/debian/pal install-bin + $(MAKE) DESTDIR=$(CURDIR)/debian/pal install-share + +.PHONY: binary binary-indep binary-arch +binary: binary-indep binary-arch +binary-indep: +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs + dh_installexamples + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + --- pal-0.4.3.orig/debian/source/format +++ pal-0.4.3/debian/source/format @@ -0,0 +1 @@ +1.0 --- pal-0.4.3.orig/debian/watch +++ pal-0.4.3/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://sf.net/palcal/ pal[-_]([0-9.]+)\.t(?:ar\.)?[gb]z