--- txt2pdbdoc-1.4.4.orig/configure +++ txt2pdbdoc-1.4.4/configure @@ -1210,7 +1210,7 @@ # Define the identity of the package. PACKAGE=txt2pdbdoc - VERSION=1.4.3 + VERSION=1.4.4 cat >>confdefs.h < --- txt2pdbdoc-1.4.4.orig/txt2pdbdoc.c +++ txt2pdbdoc-1.4.4/txt2pdbdoc.c @@ -46,7 +46,7 @@ #define true 1 /* constants */ -#define BUFFER_SIZE 6000 /* big enough for uncompressed record */ +#define BUFFER_SIZE (RECORD_SIZE_MAX * 2) /* big enough for uncompressed record */ #define COMPRESSED 2 #define COUNT_BITS 3 /* why this value? I don't know */ #define DISP_BITS 11 /* ditto */ --- txt2pdbdoc-1.4.4.orig/debian/compat +++ txt2pdbdoc-1.4.4/debian/compat @@ -0,0 +1 @@ +4 --- txt2pdbdoc-1.4.4.orig/debian/copyright +++ txt2pdbdoc-1.4.4/debian/copyright @@ -0,0 +1,14 @@ +This package was debianized by Rene Weber on +Sun, 10 Jun 2001 17:53:18 -0400. + +It was downloaded from: +http://homepage.mac.com/pauljlucas/software/txt2pdbdoc/index.html + +Upstream Author: Paul J. Lucas + +This software is copyright (c) by Paul J. Lucas + +You are free to distribute this software under the terms of the GNU +General Public License. +On Debian systems, the complete text of the GNU General Public License +can be found in /usr/share/common-licenses/GPL file. --- txt2pdbdoc-1.4.4.orig/debian/doc.de.4 +++ txt2pdbdoc-1.4.4/debian/doc.de.4 @@ -0,0 +1,116 @@ +.\" +.\" Text-to-Doc converter for Palm Pilots +.\" doc.4 +.\" +.\" Copyright (C) 1998 Paul J. Lucas +.\" +.\" 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., 675 Mass Ave, Cambridge, MA 02139, USA. +.\" +.\" --------------------------------------------------------------------------- +.\" define code-start macro +.de cS +.sp +.nf +.RS 5 +.ft CW +.ta .5i 1i 1.5i 2i 2.5i 3i 3.5i 4i 4.5i 5i 5.5i +.. +.\" define code-end macro +.de cE +.ft 1 +.RE +.fi +.sp +.. +.\" --------------------------------------------------------------------------- +.TH "\f3DOC\f1" "4" "06. August 2005" "txt2pdbdoc" "" +.SH "NAME" +DOC \- (Pilot Standard Textdocument) Dateiformat +.SH "\[:U]BERSICHT" +.nf +.ft CW +.ta 5 12 26 +struct doc_record0 { /* 16 bytes total */ + Word version; /* 1 = Klartext, 2 = komprimierter Text */ + Word reserved1; /* beim Erstellen auf Null setzen */ + DWord doc_size; /* unkomprimierte Gr\[:o]\[ss]e in Bytes */ + Word num_recs; /* Anzahl der Text\-Bl\[:o]cke (nicht Header) */ + Word rec_size; /* max. Blockgr\[:o]\[ss]e in Bytes: normal 4096 (4K) */ + DWord position; /* aktuelle Leseposition im Text */ +}; +.ft 1 +.fi +.SH "BESCHREIBUNG" +Das +.BR "Doc" \-Dateiformat +ist das Standardformat f\[:u]r Textdokumente, das in allen +Palm Pilots verwendet wird. +Eine +.BR "Doc" \-Datei +ist eine +.BR "pdb(4)" \-Datei, +diese Manpage behandelt daher nur Teile, die speziell f\[:u]r +.BR "Doc" \-Dateien +zutreffen. +.PP +Eine +.BR "Doc" \-Datei +besteht aus 0 bis \f(CWnum_recs\f1 Bl\[:o]cken; +Block 0 ist der Kopf (Header) des Dokuments. +(Dieser Header unterscheidet sich vom +.BR "pdb(4)" \-Header.) +Der Eintrag \f(CWposition\f1 wird nicht von allen Leseprogrammen benutzt. +Die restlichen Bl\[:o]cke enthalten Text, entweder Klartext oder +komprimierten, das h\[:a]ngt ab vom Wert der \f(CWversion\f1. +.SS Wortgr\[:o]\[ss]e +In der \[:U]BERSICHT oben werden die Typen ``\f(CWWord\f1'' und ``\f(CWDWord\f1'' +verwendet. +Der Typ ``\f(CWWord\f1'' ist 16 Bit lang; +der Typ ``\f(CWDWord\f1'' ist 32 Bit lang. +Beide im Big\-Endian\-Format. +.SS Kompressionsformat +Ein Zeichen ``\f(CWc\f1'' in einem komprimierten Block entspicht einer von vier +Klassen: +.TP 10 +\f(CW01\-08\f1 +Kopiere die folgenden ``c'' Bytes unver\[:a]ndert +.TP +\f(CW00,09\-7F\f1 +weiterreichen, so wie es ist +.TP +\f(CW80\-BF\f1 +kopiere eine Folge eines vorhergehenden Teils des Blockes +.TP +\f(CWC0\-FF\f1 +Ein Leerzeichen plus das ASCII\-Zeichen ``\f(CWc xor 0x80\f1'' +.RE +.SH "SIEHE AUCH" +txt2pdbdoc(1), html2pdbtxt(1), pdbtxt2html(1), pdb(4) +.PP +Christopher Bey and Kathleen Dupre. +.I "Palm File Format Specification" , +Document Number 3008\-003, +Palm, Inc., +May 16, 2000. +.PP +Rob Tillotson. +.I "The Doc Format", +http://www.pyrite.org/doc_format.html +.SH "AUTOR" +Paul J. Lucas +.RI < pauljlucas@mac.com > +.br +Deutsche \[:U]bersetzung: Erik Schanze +.RI < schanzi_@gmx.de > --- txt2pdbdoc-1.4.4.orig/debian/docs +++ txt2pdbdoc-1.4.4/debian/docs @@ -0,0 +1 @@ +README --- txt2pdbdoc-1.4.4.orig/debian/html2pdbtxt.de.1 +++ txt2pdbdoc-1.4.4/debian/html2pdbtxt.de.1 @@ -0,0 +1,175 @@ +.\" +.\" Doc Text to HTML file converter for Palm Pilots +.\" html2pdbtxt.1 +.\" +.\" Copyright (C) 1998 Paul J. Lucas +.\" +.\" 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., 675 Mass Ave, Cambridge, MA 02139, USA. +.\" +.\" --------------------------------------------------------------------------- +.\" define code-start macro +.de cS +.sp +.nf +.RS 5 +.ft CW +.ta .5i 1i 1.5i 2i 2.5i 3i 3.5i 4i 4.5i 5i 5.5i +.. +.\" define code-end macro +.de cE +.ft 1 +.RE +.fi +.sp +.. +.\" --------------------------------------------------------------------------- +.tr ~ +.TH "\f3html2pdbtxt\fP" "1" "06. August 2005" "html2pdbtxt" "" +.SH "NAME" +html2pdbtxt \- HTML zu Doc\-Text Umwandler f\[:u]r Palm Pilots +.SH "\[:U]BERSICHT" +.B html2pdbtxt +[ +.BI \-b Zeichen +] +[ +.BI \-t Titel +] +[ +.BI \-u URL +] +.I Datei.htm +[ +.I Datei.txt +] +.br +.B html2pdbtxt \-v +.SH "BESCHREIBUNG" +.B html2pdbtxt +wandelt HTML\- in Textdateien um, die f\[:u]r eine weitere Umwandlung in eine +.BR "Doc(4)" \-Datei +mittels +.B txt2pdbdoc(1) +geeignet sind. Wenn kein Dateiname f\[:u]r die Textdatei angegeben wird, +erfolgt die Ausgabe des Textes auf die Standardausgabe. +.SS HTML Tags +Folgende HTML\-Tags (und die entsprechenden End\-Tags) werden erkannt: +\f(CWADDRESS\fP, +\f(CWA~NAME\fP, +\f(CWBLOCKQUOTE\fP, +\f(CWBR\fP, +\f(CWCENTER\fP, +\f(CWDIV\fP, +\f(CWDL\fP, +\f(CWDT\fP, +\f(CWH1\fP, \f(CWH2\fP, \f(CWH3\fP, \f(CWH4\fP, \f(CWH5\fP, \f(CWH6\fP, +\f(CWOL\fP, +\f(CWOPTION\fP, +\f(CWPRE\fP, +\f(CWP\fP, +\f(CWSELECT\fP, +\f(CWSCRIPT\fP, +\f(CWSTYLE\fP, +\f(CWTABLE\fP, +\f(CWTITLE\fP, +\f(CWUL\fP. +Es wird versucht, die Attribute so gut wie m\[:o]glich in die +Vorgaben des +.BR "Doc(4)" \-Formats +umzusetzen, das im wesentlichen Klartext ist. Der Text des +\f(CWALT\fP\-Attributs (meist in \g(CWIMG\fP\-Tags) +wird zwischen Klammern in den Text eingebettet. +\f(CW[\fPso z. B.\f(CW]\fP. +Alle anderen HTML\-Tags werden entfernt. +.SS Zeichen +Umschreibungen f\[:u]r HTML\-Zeichen und numerische Zeichen (dezimal und +hexadezimal) werden in ihren Wert im Zeichensatz ISO 8859\-1 (Latin 1) +umgewandelt, damit sie korrekt im Pilot erscheinen. +Zum Beispiel: aus ``résumé'' wird ``resume'' +mit einem betonten 'e'. +.SS Dokumenttitel +Wenn nicht schon mit der Option +.B \-t +angegeben, wird die HTML\-Datei nach den Tags \f(CW\fP und +\f(CW\fP durchsucht +und, wenn gefunden, wird der Titel in die erste Zeile des erzeugten Textes gesetzt. +.SS Lesezeichen +Lesezeichen werden in den erzeugten Text immer dort eingesetzt, wo ein +\f(CW\fP Tag in der HTML\-Datei gefunden wurde. +.SH "OPTIONEN" +.TP 10 +.BI "\-b " Zeichen +Angabe der Zeichenfolge, die als Lesezeichen\-Kennung verwendet wird. +Standard ist \f(CW(*)\fP. +(Siehe BESONDERHEITEN.) +.TP +.BI "\-t " Titel +Angabe des Dokumenttitels, der in die erste Zeile des erzeugten Textes +eingesetzt wird und Titel, die in der HTML\-Datei zwischen +\f(CW\fP ... \f(CW\fP Tags gefunden wurden, +\[:u]berschreibt. +.TP +.BI "\-u " URL +Angabe der URL von der die HTML\-Datei angeblich stammt; sie wird in die +Zeile nach dem Titel des erzeugten Textes eingesetzt. +.TP +.B \-v +Schreibt die Versionsnummer von +.B html2pdbtxt +auf die Standardausgabe und beendet sich. +.SH "BEISPIEL" +Umwandlung einer HTML\-Datei in Doc: +.cS +html2pdbtxt -u http://www.wonderland.org/ alice.html alice.txt +txt2pdbdoc "`head -1 alice.txt`" alice.txt alice.pdb +.cE +.SH "BESONDERHEITEN" +.TP 4 +1. +Einige Doc\-Leseprogramme haben eine ``Funktion'', +beim Suchen nach der Lesezeichenkennung diese +Zeichenfolge +.B \[:u]berall +im Text zu erkennen, nicht nur am Zeilenanfang. +.TP +2. +Bei einigen Doc\-Leseprogrammen darf die Lesezeichenkennung nicht das Zeichen +\f(CW>\fP enthalten, weil es als Endezeichen der Kennung verwendet wird, +z. B. \f(CW<\->>\fP wird lediglich als Folge \f(CW\-\fP erkannt. +.TP +3. +Nummerierte Listen (mit dem Tag \f(CWOL\fP) werden als unnummerierte Listen +umgesetzt (wie mit dem Tag \f(CWUL\fP), weil es so kompliziert w\[:a]re, dass es +richtig ausgewertet werden m\[:u]sste, statt nur eine einfache Ersetzung +auszuf\[:u]hren. +.SH "SIEHE AUCH" +pdbtxt2html(1), txt2pdbdoc(1), doc(4), pdb(4) +.PP +International Standards Organization. +``ISO 8859\-1: Information Processing +\-\- 8\-bit single\-byte coded graphic character sets +\-\- Part 1: Latin alphabet No. 1.'' +1987. +.PP +World Wide Web Consortium. +``Character entity references in HTML 4.0.'' +.I HTML 4.0 Specification, +http://www.w3.org/ +.SH "AUTOR" +Paul J. Lucas +.RI < pauljlucas@mac.com > +.br +Deutsche \[:U]bersetzung: Erik Schanze +.RI < eriks@debian.org > --- txt2pdbdoc-1.4.4.orig/debian/pdb.4 +++ txt2pdbdoc-1.4.4/debian/pdb.4 @@ -0,0 +1,114 @@ +.\" +.\" Text-to-Doc converter for Palm Pilots +.\" pdb.4 +.\" +.\" Copyright (C) 1998 Paul J. Lucas +.\" +.\" 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., 675 Mass Ave, Cambridge, MA 02139, USA. +.\" +.\" --------------------------------------------------------------------------- +.\" define code-start macro +.de cS +.sp +.nf +.RS 5 +.ft CW +.ta .5i 1i 1.5i 2i 2.5i 3i 3.5i 4i 4.5i 5i 5.5i +.. +.\" define code-end macro +.de cE +.ft 1 +.RE +.fi +.sp +.. +.\" --------------------------------------------------------------------------- +.TH "\f3PDB\f1" "4" "August 20, 2005" "txt2pdbdoc" "" +.SH "NAME" +PDB \- (Pilot Database) file format +.SH "SYNOPSIS" +.nf +.ft CW +.ta 5 12 26 +#define dmDBNameLength 32 /* 31 chars + 1 null terminator */ + +struct pdb_header { /* 78 bytes total */ + char name[ dmDBNameLength ]; + Word attributes; + Word version; + DWord create_time; + DWord modify_time; + DWord backup_time; + DWord modificationNumber; + DWord appInfoID; + DWord sortInfoID; + char type[4]; + char creator[4]; + DWord id_seed; + DWord nextRecordList; + Word numRecords; +}; +.P +struct pdb_rec_header { /* 8 bytes total */ + DWord offset; + struct { + int delete : 1; + int dirty : 1; + int busy : 1; + int secret : 1; + int category : 4; + } attributes; + char uniqueID[3]; +} +.ft 1 +.fi +.SH "DESCRIPTION" +The PDB (Pilot Database) file format is used by all models +of the Palm Pilot and IBM Workpad. +The format consists of a header followed by a set of record headers +followed by the records themselves. +.SS Word Sizes +In the SYNOPSIS above, the types +``\f(CWByte\f1,'' +``\f(CWWord\f1,'' and ``\f(CWDWord\f1'' +are used just as in the Pilot headers. +The type ``\f(CWByte\f1'' is 8 bits; +``\f(CWWord\f1'' is 16 bits; +``\f(CWDWord\f1'' is 32 bits. +The latter two are in big\-endian format. +.SH "CAVEATS" +.TP 4 +1. +The C structures given in the SYNOPSIS above are illustrative +and most likely will not work in actual C code +since compilers align data members on word boundaries. +.TP +2. +The PDB file format presented here is not official and was written at +the time when PDB file format was not public. It is possibly outdated. +The official standard is available on the Palm web page. (SEE ALSO) +.SH "SEE ALSO" +txt2pdbdoc(1), html2pdbtxt(1), pdbtxt2html(1), doc(4) +.PP +Palm Computing Inc. +.I Palm File Format Specification, +2000. +.br +http://www.palmos.com/dev/support/docs/fileformats/front.html +.SH "AUTHOR" +Paul J. Lucas +.RI < pauljlucas@mac.com > +Updated by Erik Schanze +.RI < eriks@debian.org > --- txt2pdbdoc-1.4.4.orig/debian/pdb.de.4 +++ txt2pdbdoc-1.4.4/debian/pdb.de.4 @@ -0,0 +1,114 @@ +.\" +.\" Text-to-Doc converter for Palm Pilots +.\" pdb.4 +.\" +.\" Copyright (C) 1998 Paul J. Lucas +.\" +.\" 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., 675 Mass Ave, Cambridge, MA 02139, USA. +.\" +.\" --------------------------------------------------------------------------- +.\" define code-start macro +.de cS +.sp +.nf +.RS 5 +.ft CW +.ta .5i 1i 1.5i 2i 2.5i 3i 3.5i 4i 4.5i 5i 5.5i +.. +.\" define code-end macro +.de cE +.ft 1 +.RE +.fi +.sp +.. +.\" --------------------------------------------------------------------------- +.TH "\f3PDB\f1" "4" "20. August 2005" "txt2pdbdoc" "" +.SH "NAME" +PDB \- (Pilot Datenbank) Dateiformat +.SH "\[:U]BERSICHT" +.nf +.ft CW +.ta 5 12 26 +#define dmDBNameLength 32 /* 31 chars + 1 null terminator */ + +struct pdb_header { /* 78 bytes total */ + char name[ dmDBNameLength ]; + Word attributes; + Word version; + DWord create_time; + DWord modify_time; + DWord backup_time; + DWord modificationNumber; + DWord appInfoID; + DWord sortInfoID; + char type[4]; + char creator[4]; + DWord id_seed; + DWord nextRecordList; + Word numRecords; +}; +.P +struct pdb_rec_header { /* 8 bytes total */ + DWord offset; + struct { + int delete : 1; + int dirty : 1; + int busy : 1; + int secret : 1; + int category : 4; + } attributes; + char uniqueID[3]; +} +.ft 1 +.fi +.SH "BESCHREIBUNG" +Das PDB (Pilot Datenbank)\-Dateiformat wird von allen Modellen +des Palm Pilot und IBM Workpad benutzt. +Das Format besteht aus einem Kopf (Header), gefolgt von einem Satz an +Block\-Headern und den Bl\[:o]cken selbst. +.SS Wortgr\[:o]\[ss]e +In der \[:U]BERSICHT oben, werden die Typen +``\f(CWByte\f1,'' +``\f(CWWord\f1,'' und ``\f(CWDWord\f1'' +in den Pilot\-Headern verwendet. +Der Typ ``\f(CWByte\f1'' ist 8 Bit lang; +``\f(CWWord\f1'' ist 16 Bit lang; +``\f(CWDWord\f1'' ist 32 Bit lang. +Die letzten beiden sind im Big\-Endian\-Format. +.SH "BESONDERHEITEN" +.TP 4 +1. +Die C\-Strukturen in der \[:U]BERSICHT oben sind nur informativ +und werden h\[:o]chstwahrscheinlich nicht mit aktuellem C\-Code funktionieren. +.TP +2. +Das hier vorgestellte PDB\-Dateiformat ist nicht das offizielle, es stammt +aus der Zeit, als es noch geheim war und ist m\[:o]glicherweise \[:u]berholt. +Der offizielle Standard ist auf der Webseite von Palm verf\[:u]gbar. (SIEHE AUCH) +.SH "SIEHE AUCH" +txt2pdbdoc(1), html2pdbtxt(1), pdbtxt2html(1), doc(4) +.PP +Palm Computing Inc. +.I Palm File Format Specification, +2000. +.br +http://www.palmos.com/dev/support/docs/fileformats/front.html +.SH "AUTOR" +Paul J. Lucas +.RI < pauljlucas@mac.com > +.br +Aktualisiert und \[:u]bersetzt von Erik Schanze +.RI < eriks@debian.org > --- txt2pdbdoc-1.4.4.orig/debian/README.Debian +++ txt2pdbdoc-1.4.4/debian/README.Debian @@ -0,0 +1,30 @@ +txt2pdbdoc for DEBIAN +---------------------- + +I have reincluded man page pdb(4) because doc(4) refers to it and it is +useful for somebody to get an idea of PDB file format. + +Erik Schanze , Fri, 16 Jul 2004 09:53:42 +0200 + + +WARNING: While this program has not been substantially changed for many +years, and the upstream developer reports that there are no open bugs on +the subject, one Debian user has reported a problem with PDB files generated +by txt2pdbdoc when installed with a memory card. For this user, installing +files through the normal hotsync process worked properly, but when a +generated PDB was transferred first to a Compact Flash card and then through +that to a Handera 330 PDA, it caused strange problems (up to a reset of the +device), depending on the reader. + +Please be warned that this report indicates that txt2pdbdoc *may* be able to +cause corruption or instability of your PDA, although there has only been +one report of this behaviour. If you have the requisite hardware to confirm +or deny this problem, I would be grateful to hear from you. + +Presumably, if there is a problem with txt2pdbdoc, so long as the PDB files +that it generates are installed through a hotsync, there should be no +problem. + +Please see bug #118930 for the original bug report. + +Rene Weber , Wed, 2 Jan 2002 18:01:50 -0500 --- txt2pdbdoc-1.4.4.orig/debian/changelog +++ txt2pdbdoc-1.4.4/debian/changelog @@ -0,0 +1,111 @@ +txt2pdbdoc (1.4.4-6) unstable; urgency=low + + * Changed maintainers email address + * Updated debian/watch file version + * Updated Standards-Version to 3.7.2, no changes needed + + -- Erik Schanze Sat, 25 Nov 2006 23:32:18 +0100 + +txt2pdbdoc (1.4.4-5) unstable; urgency=low + + * Corrected manpages (Closes: #324176, #340476) + * Changed german umlauts to groff sequences in manpages + * Changed debian/rules to reduce configure.diff in diff.gz + * Changed version to 1.4.4 in configure + * txt2pdbdoc.c: Increased BUFFERSIZE (Closes: #346348) + * Updated Standards-Version to 3.6.2, no changes needed + * debian/rules: removed unused dh_link + + -- Erik Schanze Wed, 18 Jan 2006 20:21:52 +0100 + +txt2pdbdoc (1.4.4-4) unstable; urgency=low + + * Fix mistake of example in manpage html2pdbtxt(1), if page title has spaces + * Removed debconf warning and cleaned description, because bug #118930 was + closed, remain a warning in README.Debian + * control: Description line now begins lowercase + * Added "SEE ALSO" links to manpages (Closes: #289350) + + -- Erik Schanze Fri, 21 Jan 2005 22:39:11 +0200 + +txt2pdbdoc (1.4.4-3) unstable; urgency=low + + * Added Italian debconf template translation (Closes: #271879) + Thanks to Valentina Commissari + + -- Erik Schanze Fri, 17 Sep 2004 18:34:29 +0200 + +txt2pdbdoc (1.4.4-2) unstable; urgency=low + + * Some package cosmetics: + + remove comments in debian/rules + + remove unneeded debian/dir + + add project home page to debian/control + * Change maintainer mail address, because debian lists do not receive mails + from mail@domain.name + * Added German translated man pages and readd updated pdb(4) + * Added debian/txt2pdbdoc.manpages to install these man pages + * Added debian/watch, thanks to DEHS team + + -- Erik Schanze Sun, 25 Jul 2004 13:49:06 +0200 + +txt2pdbdoc (1.4.4-1) unstable; urgency=low + + * New upstream release (Closes: #226505) + * New maintainer (Closes: #244456) + * Added German debconf template translation + * Fix misspelling "warning-memorycard" in debian/postinst (Closes: #248368, #248879) + * Update download URL in copyright file + + -- Erik Schanze Sun, 9 May 2004 22:59:05 +0200 + +txt2pdbdoc (1.4.2-3) unstable; urgency=low + + * Uploading with maintainer set to QA group + * Switched to gettext for the debconf templates (closes: #199998) + * Added French debconf template translation (closes: #200672) + * debian/copyright: removed dh_make boilerplatedness + + -- Andrew Pollock Sun, 9 May 2004 19:44:39 +1000 + +txt2pdbdoc (1.4.2-2) unstable; urgency=low + + * Fixed warning to be of "normal" priority instead of "critical" as I + accidentally left it. + + -- Rene Weber Sun, 7 Apr 2002 13:53:41 -0400 + +txt2pdbdoc (1.4.2-1) unstable; urgency=low + + * New upstream release + * Changed description to reflect a potentially serious problem when a + generated pdb file is moved to the Palm via something other than a + hotsync (see bug #118930). + + -- Rene Weber Tue, 1 Jan 2002 15:19:00 -0500 + +txt2pdbdoc (1.4.1-2) unstable; urgency=low + + * Changed rules file to use distclean instead of clean (to get rid of the + .deps automake bug for the autobuilders). distclean is a good idea in + any case. The problem is described in bug #90736, but not this + solution. (distclean does away with my Makefile). Closes: #105923. + + -- Rene Weber Thu, 19 Jul 2001 21:39:18 -0400 + +txt2pdbdoc (1.4.1-1) unstable; urgency=low + + * New upstream release. + + -- Rene Weber Tue, 17 Jul 2001 20:23:04 -0400 + +txt2pdbdoc (1.3-1) unstable; urgency=low + + * Initial Release. + + -- Rene Weber Sun, 10 Jun 2001 17:53:18 -0400 + +Local variables: +mode: debian-changelog +End: + --- txt2pdbdoc-1.4.4.orig/debian/control +++ txt2pdbdoc-1.4.4/debian/control @@ -0,0 +1,20 @@ +Source: txt2pdbdoc +Section: otherosfs +Priority: optional +Maintainer: Erik Schanze +Uploaders: MJ Ray (Debian) +Build-Depends: debhelper (>= 4.1.16) +Standards-Version: 3.7.2 + + +Package: txt2pdbdoc +Architecture: any +Depends: ${shlibs:Depends}, ${perl:Depends} +Suggests: pilot-link +Description: convert plain text files to Palm DOC (for PalmOS) and back + This utility converts plain text files (or HTML files) to the de facto + PalmOS standard DOC format for use in document readers (such as "C Spot + Run") and editors (such as "ZDOC"). DOC files are compressed by + default, and txt2pdbdoc can also convert DOC files back to plain text. + . + Homepage: http://homepage.mac.com/pauljlucas/software/txt2pdbdoc/index.html --- txt2pdbdoc-1.4.4.orig/debian/pdbtxt2html.de.1 +++ txt2pdbdoc-1.4.4/debian/pdbtxt2html.de.1 @@ -0,0 +1,121 @@ +.\" +.\" Doc Text to HTML file converter for Palm Pilots +.\" pdbtxt2html.1 +.\" +.\" Copyright (C) 1998 Paul J. Lucas +.\" +.\" 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., 675 Mass Ave, Cambridge, MA 02139, USA. +.\" +.\" --------------------------------------------------------------------------- +.\" define code-start macro +.de cS +.sp +.nf +.RS 5 +.ft CW +.ta .5i 1i 1.5i 2i 2.5i 3i 3.5i 4i 4.5i 5i 5.5i +.. +.\" define code-end macro +.de cE +.ft 1 +.RE +.fi +.sp +.. +.\" --------------------------------------------------------------------------- +.TH "\f3pdbtxt2html\fP" "1" "06. August 2005" "txt2pdbdoc 1.4.4" "" +.SH "NAME" +pdbtxt2html \- Doc Text to HTML converter for Palm Pilots +.SH "\[:U]BERSICHT" +.B pdbtxt2html +[ +.B \-t +] +.I Datei.txt +[ +.I Datei.html +] +.br +.B pdbtxt2html \-v +.SH "BESCHREIBUNG" +.B pdbtxt2html +wandelt Text, der aus dem +.BR "Doc(4)" \-Format +mittels +.B txt2pdbdoc(1) +gewonnen wurde, in HTML um. +Wenn kein Dateiname f\[:u]r das HTML angegeben wurde, wird das erzeugte HTML +auf die Standardausgabe geschrieben. +.SS Dokumenttitel +Die erste Zeile des Textes wird als Titel des HTML\-Dokuments verwendet. +.SS Lesezeichen +In der letzten Zeile der Datei wird nach einer Zeichenfolge gesucht, die +zwischen \f(CW<\f1 und \f(CW>\f1 eingeschlossen ist. Das wird als +Lesezeichenkennung verwendet. +Dann wird die ganze Datei nach Zeilen durchsucht, die mit dieser Zeichenkette +beginnen (f\[:u]hrende Whitespaces werden ignoriert). +Diese Zeilen werden in HTML\-\[:U]berschriften umgewandelt. +.PP +Die Anzahl der Whitespaces nach der ersten Lesezeichenkennung wird als +\[:U]berschrift Stufe 1 angenommen. +Die Stufe der Unter\[:u]berschriften ergibt sich aus der Anzahl der Whitespaces +zwischen der Lesezeichenkennung und dem Lesezeichentext minus die Anzahl +bei der ersten Lesezeichenkennung plus eins. +.SS URLs im Text +Sind g\[:u]ltige URLs (nach RFC 1630) im Text enthalten, werden sie in +Hyperlinks umgewandelt. +URLs, die mit +\f(CWftp\f1, +\f(CWgopher\f1, +\f(CWhttp\f1, +\f(CWhttps\f1, +\f(CWmailto\f1, +\f(CWnews\f1, +\f(CWtelnet\f1, +und +\f(CWwais\f1 +beginnen, werden erkannt. +.SH "OPTIONEN" +.TP 5 +.B \-t +Erzeugt ein Inhaltsverzeichnis und f\[:u]gt es zwischen der ersten +\[:U]berschrift und dem Textk\[:o]rper ein. +.TP +.B \-v +Schreibt die Versionsnummer von +.B pdbtxt2html +auf die Standardausgabe und beendet sich. +.SH "BEISPIEL" +Umwandlung einer Doc\-Datei in HTML: +.cS +txt2pdbdoc alice.pdb alice.txt +pdbtxt2html alice.txt alice.html +.cE +.SH "SIEHE AUCH" +html2pdbtxt(1), txt2pdbdoc(1), doc(4), pdb(4) +.PP +Tim Berners Lee. +.I Universal Resource Identifiers in WWW, +Network Working Group of the Internet Engineering Task Force, +June 1994. +.RS 5 +http://info.internet.isi.edu/in\-notes/rfc/files/rfc1630.txt +.RE +.SH "AUTOR" +Paul J. Lucas +.RI < pauljlucas@mac.com > +.br +Deutsche \[:U]bersetzung: Erik Schanze +.RI < eriks@debian.org > --- txt2pdbdoc-1.4.4.orig/debian/rules +++ txt2pdbdoc-1.4.4/debian/rules @@ -0,0 +1,87 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif + +config.status: configure + dh_testdir + # Store original configure to prevent configure.diff in *.diff.gz + cp -f configure configure.debsave + CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info + + +build: build-stamp +build-stamp: config.status + dh_testdir + + # Add here commands to compile the package. + $(MAKE) + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + + # Cleans dir and moves original configure back + -$(MAKE) distclean + if test -e configure.debsave; then \ + mv -f configure.debsave configure; \ + fi + + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/txt2pdbdoc. + $(MAKE) install DESTDIR=$(CURDIR)/debian/txt2pdbdoc + + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs + dh_installman + dh_strip + dh_compress + dh_fixperms + dh_perl + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- txt2pdbdoc-1.4.4.orig/debian/txt2pdbdoc.de.1 +++ txt2pdbdoc-1.4.4/debian/txt2pdbdoc.de.1 @@ -0,0 +1,165 @@ +.\" +.\" Text to Doc file converter for Palm Pilots +.\" txt2pdbdoc.1 +.\" +.\" Copyright (C) 1998 Paul J. Lucas +.\" +.\" 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., 675 Mass Ave, Cambridge, MA 02139, USA. +.\" +.\" --------------------------------------------------------------------------- +.\" define code-start macro +.de cS +.sp +.nf +.RS 5 +.ft CW +.ta .5i 1i 1.5i 2i 2.5i 3i 3.5i 4i 4.5i 5i 5.5i +.. +.\" define code-end macro +.de cE +.ft 1 +.RE +.fi +.sp +.. +.\" --------------------------------------------------------------------------- +.TH "\f3txt2pdbdoc\fP" "1" "06. August 2005" "txt2pdbdoc" "" +.SH "NAME" +txt2pdbdoc \- Wandelt Text\- in Doc\-Dateien f\[:u]r Palm Pilots um +.SH "\[:U]BERSICHT" +.B txt2pdbdoc +.RB [ \-b ] +.RB [ \-c ] +.RB [ \-v ] +.I Dokumentname +.I Datei.txt +.I Datei.pdb +.br +.B txt2pdbdoc +.B \-d +.RB [ \-D ] +.RB [ \-v ] +.I Datei.pdb +[ +.I Datei.txt +] +.br +.B txt2pdbdoc +.B \-V +.SH "BESCHREIBUNG" +.B txt2pdbdoc +wandelt eine Text\-Datei in eine +.BR Doc (4) +\-Datei im PDB\-(Pilot Datenbank)\-Format um, +das von allen Palm\-Pilot\-Modellen benutzt wird. +(Eine Doc\-Datei kann auch in eine Text\-Datei umgewandelt werden.) +Die erzeugten PDB\-Dateien k\[:o]nnen via HotSync direkt auf den Pilot +\[:u]bertragen werden. +.P +Der +.I Dokumentname +wird in der Auflistung der Dokumente des Leseprogramms auf dem Pilot +verwendet. +.SH "OPTIONEN" +.TP 5 +.B \-b +Normalerweise werden Zeichen mit einem ASCII\-Wert kleiner als 9 entfernt +und Carriage\-Returns und Form\-Feeds werden in Newlines umgewandelt. +Diese Option unterdr\[:u]ckt das. +.TP +.B \-c +Normalerweise wird der Text komprimiert. +Diese Option unterdr\[:u]ckt das. +.TP +.B \-d +Wandelt eine angegebene Doc\-Datei in Text um, entweder in eine Datei +oder auf die Standardausgabe, wenn keine Ziel\-Datei angegeben wurde. +.TP +.B \-D +Datei\-Marke "type/creator" der umzuwandelnden Doc\-Datei nicht auswerten. +Diese Option sollte +.B nur dann +angegeben werden, wenn es +.B sicher +ist, dass die Datei eine Doc\-Datei ist. +Der Versuch, ein anderes Datei\-Format umzuwandeln, +verursacht unerwartetes Verhalten +und f\[:u]hrt ziemlich sicher zum Absturz. +.TP +.B \-v +Verbose\-Modus. +Beim Umwandeln in Doc, werden Fortschritts\- und Komprimierungsstatistiken +alle 4KB Text und eine Endstatistik auf die Standard\-Fehlerausgabe geschrieben; +beim Umwandeln in Text, wird der Fortschritt als ``Countdown'' angezeigt. +.TP +.B \-V +Schreibt die Versionsnummer von +.B txt2pdbdoc +auf die Standardausgabe und beendet sich. +.SH "BEISPIEL" +Eine Text\-Datei in eine Doc\-Datei umwandeln: +.cS +txt2pdbdoc 'Through the Looking Glass' alice.txt alice.pdb +.cE +.SH "DIAGNOSE" +Das Programm endet mit einem dieser Werte: +.PP +.RS 5 +.PD 0 +.TP 5 +0 +Erfolgreich. +.TP +1 +Fehler in den Kommandozeilen\-Optionen oder in der Benutzung. +.TP +2 +Quelldatei konnte nicht ge\[:o]ffnet werden. +.TP +3 +Zieldatei konnte nicht ge\[:o]ffnet werden. +.TP +4 +Konnte Datei nicht lesen. +.TP +5 +Konnte Datei nicht schreiben. +.TP +6 +Datei ist nicht im Doc\-Format. +.TP +7 +Doc\-Datei mit unbekanntem Kompressionstyp. +.PD +.RE +.SH "BESONDERHEITEN" +.TP 4 +1. +Dokumentnamen sind im PDB\-Format auf 31 Zeichen beschr\[:a]nkt. +L\[:a]ngere Namen werden gek\[:u]rzt und der 29\-31. Buchstabe wird durch +``\f(CW...\fP'' ersetzt, um die K\[:u]rzung anzuzeigen. +.TP +2. +Das Kommando wurde nicht ``txt2doc'' genannt, um Verwirrung \[:u]ber m\[:o]gliche +Zusammenh\[:a]nge mit Microsoft Word Dokumenten mit der Endung \f(CW.doc\f1 +zu vermeiden. +.SH "SIEHE AUCH" +html2pdbtxt(1), pdbtxt2html(1), doc(4), pdb(4) +.SH "AUTOR" +Paul J. Lucas +.RI < pauljlucas@mac.com > +.br +Deutsche \[:U]bersetzung: Erik Schanze +.RI < eriks@debian.org > --- txt2pdbdoc-1.4.4.orig/debian/txt2pdbdoc.manpages +++ txt2pdbdoc-1.4.4/debian/txt2pdbdoc.manpages @@ -0,0 +1,6 @@ +debian/pdb.4 +debian/doc.de.4 +debian/html2pdbtxt.de.1 +debian/pdb.de.4 +debian/pdbtxt2html.de.1 +debian/txt2pdbdoc.de.1 --- txt2pdbdoc-1.4.4.orig/debian/watch +++ txt2pdbdoc-1.4.4/debian/watch @@ -0,0 +1,3 @@ +version=3 +http://homepage.mac.com/pauljlucas/software/txt2pdbdoc/index.html \ + (?:.*/)?txt2pdbdoc-(.*)(?:\.tar(?:\.gz|\.bz2)?|\.tgz) debian uupdate