debian/0000755000000000000000000000000012205224034007160 5ustar debian/docs0000644000000000000000000000002312205224034010026 0ustar README.maintainers debian/rules0000755000000000000000000000061412205224034010241 0ustar #!/usr/bin/make -f # Make sure the VERSION string were updated in binaries override_dh_auto_build: pkgver=`dpkg-parsechangelog|\ grep -m 1 Version|\ sed -e 's/Version: //' -e 's/-.*//' -e 's/[[:blank:]]*//g'`;\ libver=`grep '$$VERSION=' lib/Locale/Po4a/TransTractor.pm| \ sed -e 's/^.*"\([^"]*\)".*/\1/'`; \ [ "x$$pkgver" = "x$$libver" ] dh_auto_build %: dh $@ debian/dirs0000644000000000000000000000011512205224034010041 0ustar usr/bin usr/share/perl5/Locale/Po4a usr/share/man/man1 usr/share/man/fr/man1 debian/examples/0000755000000000000000000000000012205224034010776 5ustar debian/examples/compare-msgids.pl0000755000000000000000000000514512205224034014255 0ustar #!/usr/bin/perl -w use strict; use warnings; # Copyright 2009 by Javier Fernández-Sanguino Peña # # 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 # Quick and dirty script to compare two msgids (when using PO files # generated with --previous) with wdiff to find the differences between # them. # Usage: perl compare-msgids.pl < XX.po use File::Temp; my $DIFF1 = new File::Temp(TEMPLATE => "compare-msgids.XXXXXX"); my $DIFF2 = new File::Temp(TEMPLATE => "compare-msgids.XXXXXX"); my $fileh=""; my $diffblock = 0; # Does the current block has a --previous string? my $nowrap = 0; # Can the current be rewrapped? my $ref = ""; # Line reference for the current block while (my $line = ) { $fileh=""; chomp $line; $ref .= $line."\n" if $line =~ /^#: /; $ref = "" if ($line eq ""); if ( $diffblock and $line =~ /^msgstr/ ) { $diffblock = 0; $nowrap = 0; print $DIFF1 "\n\n"; print $DIFF2 "\n\n"; } $diffblock = 1 if ( $line =~ /^\#\| msgid/ ) ; $nowrap = 1 if ( $line =~ /^#,.*no-wrap/ ) ; if ($diffblock) { if (length $ref) { print $DIFF1 $ref."\n"; print $DIFF1 $ref."\n"; print $DIFF2 $ref."\n"; $ref = ""; } $fileh = $DIFF1 if ( $line =~ /^\#\| msgid/ ) ; $fileh = $DIFF1 if ( $line =~ /^\#\| "/ ) ; $fileh = $DIFF2 if ( $line =~ /^msgid/ ) ; $fileh = $DIFF2 if ( $line =~ /^"/ ) ; if ($fileh ne "") { $line =~ s/^\#\| //; print $fileh "\n" if ( $line =~ /^msgid_plural "/); $line =~ s/^"//; $line =~ s/^msgid "//; $line =~ s/^msgid_plural "//; $line =~ s/"$//; print $fileh $line; print $fileh "\n" if ($nowrap and $line =~ m/\\n$/); } } } close $DIFF1; close $DIFF2; system ("wdiff", "-3", $DIFF1->filename, $DIFF2->filename) or die "Failed to run wdiff."; exit; debian/watch0000644000000000000000000000024312205224034010210 0ustar #format version=3 # watch control file for uscan http://alioth.debian.org/frs/?group_id=30267 \ https://alioth.debian.org/frs/download.php/.*/po4a-v?(.*).tar.gz debian/NEWS0000644000000000000000000000033512205224034007660 0ustar po4a (0.41-1) unstable; urgency=low * Asciidoc titles will be fuzzied due to improvement of asciidoc support in the Text module (#595946) -- Simon Paillard Thu, 14 Apr 2011 21:23:45 +0200 debian/po4a.examples0000644000000000000000000000021712205224034011563 0ustar debian/examples/compare-msgids.pl share/Makevars-perl.example share/Makevars-shell.example share/po4a-build.conf.example share/po4a-build.make debian/compat0000644000000000000000000000000212205224034010356 0ustar 8 debian/control0000644000000000000000000000326212205224034010566 0ustar Source: po4a Section: text Priority: optional Maintainer: Nicolas FRANCOIS (Nekral) Uploaders: Martin Quinson , Neil Williams , Jonas Smedegaard , Simon Paillard , Denis Barbier Standards-Version: 3.9.3 Build-Depends-Indep: perl-modules, docbook-xml, docbook-xsl, xsltproc, libterm-readkey-perl, # unit tests gettext, libunicode-linebreak-perl, # SGML sp, docbook, libsgmls-perl, # TeX texlive-binaries Build-Depends: debhelper (>= 8) Homepage: http://po4a.alioth.debian.org/ Vcs-Svn: svn://svn.debian.org/svn/po4a/trunk Vcs-Browser: http://svn.debian.org/wsvn/po4a/trunk/ Package: po4a Architecture: all Multi-Arch: foreign Depends: ${misc:Depends}, ${perl:Depends}, gettext, perl-modules, libsgmls-perl, sp Recommends: libtext-wrapi18n-perl, libterm-readkey-perl, liblocale-gettext-perl, libunicode-linebreak-perl Description: tools for helping translation of documentation The po4a (PO for anything) project goal is to ease translations (and more interestingly, the maintenance of translations) using gettext tools on areas where they were not expected like documentation. . This package contains the main libraries of po4a, and the following sub-modules: . - Dia: uncompressed Dia diagrams. - INI: the INI format - KernelHelp: Help messages of each kernel compilation option. - LaTeX: generic TeX or LaTeX format. - Man: either roff or mdoc format. - POD: Perl documentation format. - SGML: either DebianDoc or DocBook DTD. - Texinfo: the info page format. - XML: very configurable (preconfigured for DocBook, XHTML, Guide, WML). debian/copyright0000644000000000000000000000406512205224034011120 0ustar This package was first packaged by Martin Quinson mquinson#debian.org and Denis Barbier barbier@debian.org on Sat, 16 Nov 2002 19:28:48 +0200. It is now maintained by Nicolas François . Upstream Authors: Martin Quinson mquinson#debian.org Denis Barbier barbier@debian.org Jordi Vilalta Nicolas François Noriada Kobayashi Neil Williams It was downloaded from http://po4a.alioth.debian.org/ Copyright: Copyright (c) 2002-2004 by Martin Quinson (mquinson#debian.org) Copyright (c) 2002-2006 by Software in the Public Interest, Inc. Copyright (c) 1995 by David Megginson Copyright (c) 2004 by Jordi Vilalta Copyright (c) 2005-2009 by Nicolas FRANÇOIS Copyright (c) 2006 by BitDefender Copyright (c) 2009 by Neil Williams Files: share/po4a-build Copyright: (c) 2009 Neil Williams Licence: GPL-3+ 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 3 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, see . On Debian systems, the complete text of the GNU General Public License can be found in the file `/usr/share/common-licenses/GPL-3'. Files: * You are free to distribute this software under the terms of the GNU General Public License version 2 or later On Debian systems, the complete text of the GNU General Public License can be found in the file `/usr/share/common-licenses/GPL-2'. debian/changelog0000644000000000000000000005246312205224034011044 0ustar po4a (0.45-1) unstable; urgency=low * New upstream release. - Closes: #564245 clash of $master in splitted mode - Closes: #684137 Incorrect handling of in docbook, should be inline? - Closes: #693266 Couldn't determine the input document's charset - Closes: #696992 [ini] Include key/parameter as PO comments - Closes: #696997 po4a-gettextize doesn't work with localised ini - Closes: #710695 po4a-gettextize: wrong timezone in POT-Creation-Date - Closes: #718675 Uninformative error message when '<' is left alone in a HTML file [ Updated program translations ] * Brazilian Portuguese, by Rafael Ferreira (Closes: #706591) -- Denis Barbier Wed, 21 Aug 2013 20:02:52 +0200 po4a (0.44-1) experimental; urgency=low * New upstream release. - Closes: #664741 errors with gettextize some NetBSD man pages - Closes: #661708 po4a --msgmerge-opt should also affect the POT file * Remove lintian override, it is no more needed. [ Updated program translations ] * German, by Helge Kreutzmann * Spanish, by Omar Campagne * French, by David Prévot * Slovenian, by Andrej Žnidaršič * Korean, by Chel Hee Lee * Danish, by Joe Hansen (Closes: #689775) * Russian, by Yuri Kozlov (Closes: #689786) * Czech, by Michal Simunek (Closes: #689799) * Ukrainian, by Yuri Chornoivan * Indonesian, by T. Surya Fajri * Esperanto, by Joop Eggen * Vietnamese, by Nguyễn Vũ Hưng * Basque, by Iñaki Larrañaga Murgoitio (Closes: #690433) * Estonian, by Annika Ennok * Bengali, Hebrew, Kurdish, Occitan (post 1500), and Uzbek removed [ Updated documentation translations ] * German, by Helge Kreutzmann * Spanish, by Omar Campagne * French, by David Prévot * Portuguese, by António Moreira (Closes: #690570) -- Denis Barbier Sun, 21 Oct 2012 01:09:13 +0200 po4a (0.42-1) unstable; urgency=low * Team upload. * New upstream release. + po4a: Allow adding command-line options after config file. Closes: #660953 + msguntypot: Do not remove obsolete entries from PO files. Closes: #653525 + Text: Add support for control files. [ Denis Barbier ] * Now that #605696 is fixed, Spanish manual pages will work fine with lexgrog/apropos (Closes: #605637) * debian/rules: Fix shebang line to hardcode /usr/bin/perl in installed Perl scripts (Closes: #651120) [ New documentation translations ] * German, by Helge Kreutzmann (Closes: #646197) [ Updated documentation translations ] * Spanish, by Omar Campagne * French, by David Prévot * Japanese, by KURASAWA Nozomu * Polish, by Robert Luberda [ David Prévot ] * Fix typos spotted by Helge Kreutzmann (Closes: #646173) * debian/control: + Standards-Version bumped to 3.9.3. + Add Multi-Arch: foreign. + Remove duplicate Build-Depends-Indep. * debian/rules: Fix debian-rules-missing-recommended-target. -- David Prévot Wed, 16 May 2012 20:37:49 -0400 po4a (0.41-1) unstable; urgency=low [ Denis Barbier ] * New upstream release. + Remove trailing newline from titles in asciidoc. Closes: #595946 + Remove Debconf, Html and NewsDebian modules, they are not considered as stable and the two latter have better alternatives (Xhtml and Text). + No more generate backups for PO files. [ Simon Paillard ] * debian/NEWS: mention asciidoc titles will be fuzzied (related to #595946) * debian/{rules,control}: run test suite at build [ Jonas Smedegaard ] * Add myself as uploader * Fix preserve force-break (trailing space) in markdown mode of Text module. -- Simon Paillard Thu, 14 Apr 2011 22:40:39 +0200 po4a (0.40.2-1) unstable; urgency=low [ Updated documentation translations ] * Spanish, by Omar Campagne * French, by David Prévot * Japanese, by KURASAWA Nozomu * Polish, by Robert Luberda [ Updated program translations ] * Vietnamese, by Clytie Siddall (Closes: #598560) * Slovenian, by Andrej Žnidaršič * Basque, by Iñaki Larrañaga Murgoitio (Closes: #603381) * French, by David Prévot * Japanese, by KURASAWA Nozomu * Czech, by Michal Šimůnek (Closes: #604685) * German, by Thomas Müller (Closes: #604729) * Ukrainian, by Yuri Chornoivan * Esperanto, by Joop Eggen * Estonian, by Annika Ennok * Russian, by Yuri Kozlov (Closes: #604104) * Arabic removed (only one translated string) * Danish added, by Joe Hansen (Closes: #605321) [ Simon Paillard ] * Picked from po4a 0.41, fix po4a-updatepo, this script did not call msgmerge with --previous flag. Closes: #596525 * Add myself to uploaders. -- Simon Paillard Sat, 04 Dec 2010 01:05:46 +0100 po4a (0.40.1-1) unstable; urgency=low [ Denis Barbier ] * New upstream release. + Style update in documentation. + Mention po4a-build in po4a(1). Closes: #565422 + Use 'Software in the Public Interest'. Closes: #590502 + Change header entry in PO files to be consistent with xgettext when creating POT files. + Trailing spaces must not be removed from translations if they are escaped. Closes: #593106 * debian/control: Upstream repository has switched from CVS to SVN, update Vcs-* fields. [ Updated program translations ] * French, by David Prévot * Spanish, by Omar Campagne * Japanese, by KURASAWA Nozomu * Esperanto, by Joop Eggen * Swedish, by Martin Bagge * Russian, by Yuri Kozlov (Closes: #592041) * Estonian, by Annika * Ukrainian, by Yuri Chornoivan * Czech, by Michal Šimůnek (Closes: #592330) * Portuguese, by António Moreira * German, by Thomas Müller (Closes: #594258) [ Updated documentation translations ] * French, by David Prévot * Spanish, by Omar Campagne * Japanese, by KURASAWA Nozomu -- Nicolas FRANCOIS (Nekral) Wed, 25 Aug 2010 23:16:59 +0200 po4a (0.40-1) unstable; urgency=low [ Nicolas FRANCOIS (Nekral) ] * New upstream release. + Fix failures "Unknown option: copyright-holder". Closes: #573283 + In Locale::Po4a::Man, let do_fonts() handle all font modifiers. + In Locale::Po4a::Man, add support for .TQ macro. Patch by James Vega, thanks. Closes: #588879 + Fix strange warning message when file_in_name is empty with Text and Sgml modules. Closes: #566182 + New EXAMPLE section in po4a(1), contributed by Helge Kreutzmann. Closes: #571740 + When po4a-gettextize fails, recode msgstr into current charset before printing it. Closes: #556296 [ Denis Barbier ] * debian/control: Remove Pierre Machard from Uploaders. Closes: #576556 [ Updated program translations ] * Spanish, by Omar Campagne * Polish, by Robert Luberda * French, by Denis Barbier * Russian, by Yuri Kozlov (Closes: #585700) * Esperanto, by Joop Eggen * Czech, by Michal Šimůnek (Closes: #589935) * Swedish, by Martin Bagge (Closes: #589910) * Japanese, by KURASAWA Nozomu * Portuguese, by António Moreira * German, by Thomas Müller (Closes: #590603) [ Updated documentation translations ] * Spanish, by Omar Campagne * Polish, by Robert Luberda * Japanese, by KURASAWA Nozomu * French, by David Prévot -- Martin Quinson Tue, 27 Jul 2010 21:50:46 +0200 po4a (0.39-1) unstable; urgency=low * New upstream release. + Indicate the name of the module instead of the name of a format in po4a(7). Closes: #563541 * debian/control: Fixed typo: misc:depends -> misc:Depends * debian/control: Standards-Version bumped to 3.8.4. -- Nicolas FRANCOIS (Nekral) Tue, 02 Feb 2010 01:07:52 +0100 po4a (0.38-1) unstable; urgency=low * New upstream release. - Fix handling of multi-lines placeholder tags. Closes: #561416 - Fix typo in Locale::Po4a::Text (nobullet). Closes: #558301 - New Xml option: addlang. Closes: #263733, #534105 - po4a: Exit with an error if master file specified in a po4a configuration file does not exist. Closes: #563917 * debian/watch: Support upstream tar ball with a -v or - suffix. -- Nicolas FRANCOIS (Nekral) Thu, 14 Jan 2010 23:26:34 +0100 po4a (0.37.1-1) unstable; urgency=low * New upstream release. -- Neil Williams Sun, 22 Nov 2009 13:02:27 +0000 po4a (0.37.0-1) unstable; urgency=low * New upstream release * Add xml build-deps for new po4a-build script. * Add myself as uploader for po4a-build development. * Update copyright for po4a-build (GPL-3+) * Add lintian overrides for #555330 * Adapt rules to use of po4a-build internally. * Add docbook-xml to build-deps for XML manpage generation. * Add watch file (based on QOF which also uses alioth) * Package the po4a-build example files. -- Neil Williams Fri, 20 Nov 2009 08:55:36 +0000 po4a (0.36.6-1) unstable; urgency=low * New upstream release. + Updated Czech translation. Closes: #549092 + Updated German translation. Closes: #545909 + Updated Spanish translation. Closes: #554771 + Fixed bashism in po4apod-display-po. Closes: #547757, #546601 -- Nicolas FRANCOIS (Nekral) Wed, 30 Sep 2009 21:02:22 +0200 po4a (0.36.5-1) unstable; urgency=low * New upstream release. + Updated German translation. Closes: #545909 -- Nicolas FRANCOIS (Nekral) Thu, 10 Sep 2009 22:52:47 +0200 po4a (0.36.4-1) unstable; urgency=low * New upstream release. + Updated Basque translation. Closes: #543826 + Updated Czech translation. Closes: #543513 + Updated Spanish translation. Closes: #541785, #542766 + Updated Russian translation. Closes: #544136 + Updated Swedish translation. Closes: #543410 + Added option --srcdir and --destdir to po4a. Closes: #538136 * debian/control: Standards-Version bumped to 3.8.3. -- Nicolas FRANCOIS (Nekral) Sun, 30 Aug 2009 16:33:49 +0200 po4a (0.36.3-1) unstable; urgency=low * New upstream bugfix release. -- Nicolas FRANCOIS (Nekral) Wed, 22 Jul 2009 13:06:37 +0200 po4a (0.36.2-1) unstable; urgency=low * New upstream release: + Markdown: Improved support. Closes: #530574 + Markdown: Avoid translation of some markups: title and horizontal rules. Closes: #537570 + po4apod-display-po: Added new script to display previews of POD translations. Closes: #445693 + po4a-gettextize: Added options --msgid-bugs-address, --copyright-holder, --package-name, --package-version to control the generation of the PO header. Closes: #537245 + Wml: Added option customtag. Closes: #537236 * debian/control: Updated Vcs-Browser URL. Closes: #528303 * debian/control: Standards-Version bumped to 3.8.2. No changes. * debian/control: Fixed Vcs-Cvs field. * debian/control, debian/rules, debian/compat: switch to debhelper 7. -- Nicolas FRANCOIS (Nekral) Tue, 21 Jul 2009 19:05:55 +0200 po4a (0.36.1-1) unstable; urgency=low * New upstream release. -- Nicolas FRANCOIS (Nekral) Sun, 05 Apr 2009 13:45:49 +0200 po4a (0.36-3) unstable; urgency=low * pod: Do not generate =encoding headers with no encoding. Closes: #520942 -- Nicolas FRANCOIS (Nekral) Mon, 23 Mar 2009 21:47:07 +0100 po4a (0.36-2) unstable; urgency=low * Upload to unstable. * Include upstream changes for the TeX and LaTeX modules: - Fix support for inline customization of separators. - Added support for the tabularx environment. -- Nicolas FRANCOIS (Nekral) Mon, 16 Mar 2009 21:35:10 +0100 po4a (0.36-1) experimental; urgency=low * New upstream release. - New presentation of placeholders in the Xml module. Closes: #513716 - Updated po4a.7 manpage so that file names in the ASCII art chart match command line and text. Closes: #513791 - Added "HOWTO customize po4a" section to po4a(7). Closes: #501180 - The XML module and derivatives do not fail when the doctype does not match the expected one. Closes: #514828 - Use kpsewhich instead of directly using TEXINPUTS to find the included files. Closes: #509553 * debian/examples/compare-msgids.pl: Added script to output wdiffs between the new msgid and the old ones (generated when --previous) is used. Closes: #514755 * debian/rules, debian/po4a.examples: Install examples. -- Nicolas FRANCOIS (Nekral) Sat, 14 Feb 2009 13:29:03 +0100 po4a (0.35-1) experimental; urgency=low * New upstream release. - Docbook module: + moved to the inline section. Closes: #500448 + removed from the inline section. This make them translatable. Closes: #492485 + added to the tags section. CLoses: #501204 +