]> git.saurik.com Git - apt.git/commitdiff
merge with my po4a branch & update both pot's
authorDavid Kalnischkies <kalnischkies@gmail.com>
Fri, 28 Aug 2009 08:06:03 +0000 (10:06 +0200)
committerDavid Kalnischkies <kalnischkies@gmail.com>
Fri, 28 Aug 2009 08:06:03 +0000 (10:06 +0200)
Thanks again for the initial patch from KURASAWA Nozomu and
for the improvements and cleanups done by Nicolas François
to get po4a up and running for apt man page translations!

1  2 
configure.in
debian/changelog
doc/apt.conf.5.xml
po/apt-all.pot

diff --combined configure.in
index ff11078b3377a34364560b85e76e7f7d4bfcc986,eb3ec0426c56588629696fbfd0add3705020d0ed..bf179ac9d26bc3c3d66d0d7f521bcf322ef813c4
@@@ -18,7 -18,7 +18,7 @@@ AC_CONFIG_AUX_DIR(buildlib
  AC_CONFIG_HEADER(include/config.h:buildlib/config.h.in include/apti18n.h:buildlib/apti18n.h.in)
  
  dnl -- SET THIS TO THE RELEASE VERSION --
 -AC_DEFINE_UNQUOTED(VERSION,"0.7.22.1")
 +AC_DEFINE_UNQUOTED(VERSION,"0.7.22.3")
  PACKAGE="apt"
  AC_DEFINE_UNQUOTED(PACKAGE,"$PACKAGE")
  AC_SUBST(PACKAGE)
@@@ -190,6 -190,12 +190,12 @@@ AC_PATH_PROG(DOCBOOK2MAN,docbook2man
  dnl Check for the XML tools needed to build man pages
  AC_PATH_PROG(XMLTO,xmlto)
  
+ dnl Check for the XSLTProc tool needed to build man pages together with po4a
+ AC_PATH_PROG(XSLTPROC,xsltproc)
+ dnl Check for the po4a tool needed to build man pages
+ AC_PATH_PROG(PO4A,po4a)
  dnl Check for graphviz
  AC_CHECK_PROG([HAVE_DOT], [dot], [YES], [NO])
  AC_PATH_PROG([DOT], [dot], [])
diff --combined debian/changelog
index e351198c5ce241f49a6da8aa4b7ae90d75b6b35b,c3f9881ac680acde4c4c431ec08d68619387b6e8..10afb5ef96e7f12b1f40c08fdef0e31f516dbf46
@@@ -1,12 -1,4 +1,35 @@@
 -apt (0.7.22.3) unstable; urgency=low
++apt (0.7.24) UNRELEASED; urgency=low
++
++  [ Nicolas François ]
++  * Cleaned up the first patch draft from KURASAWA Nozomu to finally
++    get po4a support for translating the man pages.
++    Many thanks to both for this excellent work! (Closes: #441608)
++  * doc/ja/*, doc/po/ja.po:
++    - remove the old ja man page translation and replace it with
++      the new po4a-powered translation by KURASAWA Nozomu.
++  * doc/*.?.xml (manpages):
++    - add contrib to author tags and also add refmiscinfo to fix warnings
++  * doc/style.txt, buildlib/defaults.mak, buildlib/manpage.mak:
++    - fix a few typos in the comments of this files
++
++  [ David Kalnischkies ]
++  * doc/Doxyfile.in:
++    - update file with doxygen 1.6.1 (current unstable)
++    - activate DOT_MULTI_TARGETS, it is default on since doxygen 1.5.9
++  * buildlib/po4a_manpage.mak, doc/makefile, configure:
++    - simplify the makefiles needed for po4a manpages
++
++ -- David Kalnischkies <kalnischkies@gmail.com>  Fri, 28 Aug 2009 09:40:08 +0200
++
 +apt (0.7.23) unstable; urgency=low
 +
 +  [ Eugene V. Lyubimkin ]
 +  * methods/{http,https,ftp}, doc/apt.conf.5.xml:
 +    - Changed and unified the code that determines which proxy to use. Now
 +      'Acquire::{http,ftp}::Proxy[::<host>]' options have the highest priority,
 +      and '{http,ftp}_proxy' environment variables are used only if options
 +      mentioned above are not specified.
 +      (Closes: #445985, #157759, #320184, #365880, #479617)
  
    [ David Kalnischkies ]
    * cmdline/apt-get.cc:
@@@ -30,7 -22,7 +53,7 @@@
    * apt-pkg/acquire-item.cc:
      - use configsettings for dynamic compression type use and order.
        Based on a patch by Jyrki Muukkonen, thanks! (LP: #71746)
 -  * apt-pkg/init.cc:
 +  * apt-pkg/aptconfiguration.cc:
      - add default configuration for compression types and add lzma
        support. Order is now bzip2, lzma, gzip, none (Closes: #510526)
    * ftparchive/writer.cc:
    * methods/http.cc:
      - allow empty Reason-Phase in Status-Line to please squid,
        thanks Modestas Vainius for noticing! (Closes: #531157, LP: #411435)
 -  * doc/Doxyfile.in:
 -    - update file with doxygen 1.6.1 (current unstable)
 -    - activate DOT_MULTI_TARGETS, it is default on since doxygen 1.5.9
 -  * buildlib/po4a_manpage.mak, doc/makefile, configure:
 -    - simplify the makefiles needed for po4a manpages
  
    [ George Danchev ]
    * cmdline/apt-cache.cc:
    * apt-pkg/indexcopy.cc:
      - fix a memory leak then the Release file not exists (Closes: #511556)
  
 -  [ Nicolas François ]
 -  * Cleaned up the first patch draft from KURASAWA Nozomu to finally
 -    get po4a support for translating the man pages.
 -    Many thanks to both for this excellent work! (Closes: #441608)
 -  * doc/ja/*, doc/po/ja.po:
 -    - remove the old ja man page translation and replace it with
 -      the new po4a-powered translation by KURASAWA Nozomu.
 -  * doc/*.?.xml (manpages):
 -    - add contrib to author tags and also add refmiscinfo to fix warnings
 -  * doc/style.txt, buildlib/defaults.mak, buildlib/manpage.mak:
 -    - fix a few typos in the comments of this files
 -
 - -- David Kalnischkies <david@kalnischkies.com>  Sat, 08 Aug 2009 09:40:08 +0200
 + -- Michael Vogt <mvo@debian.org>  Thu, 27 Aug 2009 14:44:39 +0200
  
  apt (0.7.22.2) unstable; urgency=low
  
@@@ -288,7 -297,7 +311,7 @@@ apt (0.7.20) unstable; urgency=lo
    * buildlib/config.{sub,guess}:
      - Renewed. This fixes lintian errors.
    * doc/apt.conf.5.xml, debian/apt-transport-https:
 -    - Documented briefly 'APT::https' group of options. (Closes: #507398)
 +    - Documented briefly 'Acquire::https' group of options. (Closes: #507398)
      - Applied patch from Daniel Burrows to document 'Debug' group of options.
        (Closes: #457265)
      - Mentioned 'APT::Periodic' and 'APT::Archives' groups of options.
diff --combined doc/apt.conf.5.xml
index c0c247ae96b13c8376bae6346c486dc9f08bc7ae,2412260e7cb51b189165355f019b21b24327a5c5..e0ce0db4097dd3c5319d5a06ded55cdf1d2e10fa
@@@ -27,6 -27,7 +27,7 @@@
   <refmeta>
     <refentrytitle>apt.conf</refentrytitle>
     <manvolnum>5</manvolnum>
+    <refmiscinfo class="manual">APT</refmiscinfo>
   </refmeta>
   
   <!-- Man page title -->
@@@ -203,9 -204,8 +204,9 @@@ DPkg::Pre-Install-Pkgs {"/usr/sbin/dpkg
       standard form of <literal>http://[[user][:pass]@]host[:port]/</literal>. Per 
       host proxies can also be specified by using the form 
       <literal>http::Proxy::&lt;host&gt;</literal> with the special keyword <literal>DIRECT</literal> 
 -     meaning to use no proxies. The <envar>http_proxy</envar> environment variable
 -     will override all settings.</para>
 +       meaning to use no proxies. If no one of the above settings is specified,
 +       <envar>http_proxy</envar> environment variable
 +       will be used.</para>
  
       <para>Three settings are provided for cache control with HTTP/1.1 compliant 
       proxy caches. <literal>No-Cache</literal> tells the proxy to not use its cached 
         </para></listitem></varlistentry>
  
       <varlistentry><term>ftp</term>
 -     <listitem><para>FTP URIs; ftp::Proxy is the default proxy server to use. It is in the 
 -     standard form of <literal>ftp://[[user][:pass]@]host[:port]/</literal> and is 
 -     overridden by the <envar>ftp_proxy</envar> environment variable. To use a ftp 
 +     <listitem><para>FTP URIs; ftp::Proxy is the default ftp proxy to use. It is in the 
 +     standard form of <literal>ftp://[[user][:pass]@]host[:port]/</literal>. Per 
 +     host proxies can also be specified by using the form 
 +     <literal>ftp::Proxy::&lt;host&gt;</literal> with the special keyword <literal>DIRECT</literal> 
 +       meaning to use no proxies. If no one of the above settings is specified,
 +       <envar>ftp_proxy</envar> environment variable
 +       will be used. To use a ftp 
       proxy you will have to set the <literal>ftp::ProxyLogin</literal> script in the 
       configuration file. This entry specifies the commands to send to tell 
       the proxy server what to connect to. Please see 
diff --combined po/apt-all.pot
index 518a3a1c1e7ac820e0b6131cc7286ae5c7d899ef,518a3a1c1e7ac820e0b6131cc7286ae5c7d899ef..1b763f62017a0e64a742425ca9b3c7e62874fa1d
@@@ -994,7 -994,7 +994,7 @@@ msgstr "
  msgid "Calculating upgrade... "
  msgstr ""
  
--#: cmdline/apt-get.cc:1933 methods/ftp.cc:702 methods/connect.cc:112
++#: cmdline/apt-get.cc:1933 methods/ftp.cc:707 methods/connect.cc:112
  msgid "Failed"
  msgstr ""
  
@@@ -1566,147 -1566,147 +1566,147 @@@ msgid "Invalid URI, local URIS must no
  msgstr ""
  
  #. Login must be before getpeername otherwise dante won't work.
--#: methods/ftp.cc:162
++#: methods/ftp.cc:167
  msgid "Logging in"
  msgstr ""
  
--#: methods/ftp.cc:168
++#: methods/ftp.cc:173
  msgid "Unable to determine the peer name"
  msgstr ""
  
--#: methods/ftp.cc:173
++#: methods/ftp.cc:178
  msgid "Unable to determine the local name"
  msgstr ""
  
--#: methods/ftp.cc:204 methods/ftp.cc:232
++#: methods/ftp.cc:209 methods/ftp.cc:237
  #, c-format
  msgid "The server refused the connection and said: %s"
  msgstr ""
  
--#: methods/ftp.cc:210
++#: methods/ftp.cc:215
  #, c-format
  msgid "USER failed, server said: %s"
  msgstr ""
  
--#: methods/ftp.cc:217
++#: methods/ftp.cc:222
  #, c-format
  msgid "PASS failed, server said: %s"
  msgstr ""
  
--#: methods/ftp.cc:237
++#: methods/ftp.cc:242
  msgid ""
  "A proxy server was specified but no login script, Acquire::ftp::ProxyLogin "
  "is empty."
  msgstr ""
  
--#: methods/ftp.cc:265
++#: methods/ftp.cc:270
  #, c-format
  msgid "Login script command '%s' failed, server said: %s"
  msgstr ""
  
--#: methods/ftp.cc:291
++#: methods/ftp.cc:296
  #, c-format
  msgid "TYPE failed, server said: %s"
  msgstr ""
  
--#: methods/ftp.cc:329 methods/ftp.cc:440 methods/rsh.cc:183 methods/rsh.cc:226
++#: methods/ftp.cc:334 methods/ftp.cc:445 methods/rsh.cc:183 methods/rsh.cc:226
  msgid "Connection timeout"
  msgstr ""
  
--#: methods/ftp.cc:335
++#: methods/ftp.cc:340
  msgid "Server closed the connection"
  msgstr ""
  
--#: methods/ftp.cc:338 apt-pkg/contrib/fileutl.cc:543 methods/rsh.cc:190
++#: methods/ftp.cc:343 apt-pkg/contrib/fileutl.cc:543 methods/rsh.cc:190
  msgid "Read error"
  msgstr ""
  
--#: methods/ftp.cc:345 methods/rsh.cc:197
++#: methods/ftp.cc:350 methods/rsh.cc:197
  msgid "A response overflowed the buffer."
  msgstr ""
  
--#: methods/ftp.cc:362 methods/ftp.cc:374
++#: methods/ftp.cc:367 methods/ftp.cc:379
  msgid "Protocol corruption"
  msgstr ""
  
--#: methods/ftp.cc:446 apt-pkg/contrib/fileutl.cc:582 methods/rsh.cc:232
++#: methods/ftp.cc:451 apt-pkg/contrib/fileutl.cc:582 methods/rsh.cc:232
  msgid "Write error"
  msgstr ""
  
--#: methods/ftp.cc:687 methods/ftp.cc:693 methods/ftp.cc:729
++#: methods/ftp.cc:692 methods/ftp.cc:698 methods/ftp.cc:734
  msgid "Could not create a socket"
  msgstr ""
  
--#: methods/ftp.cc:698
++#: methods/ftp.cc:703
  msgid "Could not connect data socket, connection timed out"
  msgstr ""
  
--#: methods/ftp.cc:704
++#: methods/ftp.cc:709
  msgid "Could not connect passive socket."
  msgstr ""
  
--#: methods/ftp.cc:722
++#: methods/ftp.cc:727
  msgid "getaddrinfo was unable to get a listening socket"
  msgstr ""
  
--#: methods/ftp.cc:736
++#: methods/ftp.cc:741
  msgid "Could not bind a socket"
  msgstr ""
  
--#: methods/ftp.cc:740
++#: methods/ftp.cc:745
  msgid "Could not listen on the socket"
  msgstr ""
  
--#: methods/ftp.cc:747
++#: methods/ftp.cc:752
  msgid "Could not determine the socket's name"
  msgstr ""
  
--#: methods/ftp.cc:779
++#: methods/ftp.cc:784
  msgid "Unable to send PORT command"
  msgstr ""
  
--#: methods/ftp.cc:789
++#: methods/ftp.cc:794
  #, c-format
  msgid "Unknown address family %u (AF_*)"
  msgstr ""
  
--#: methods/ftp.cc:798
++#: methods/ftp.cc:803
  #, c-format
  msgid "EPRT failed, server said: %s"
  msgstr ""
  
--#: methods/ftp.cc:818
++#: methods/ftp.cc:823
  msgid "Data socket connect timed out"
  msgstr ""
  
--#: methods/ftp.cc:825
++#: methods/ftp.cc:830
  msgid "Unable to accept connection"
  msgstr ""
  
--#: methods/ftp.cc:864 methods/http.cc:991 methods/rsh.cc:303
++#: methods/ftp.cc:869 methods/http.cc:996 methods/rsh.cc:303
  msgid "Problem hashing file"
  msgstr ""
  
--#: methods/ftp.cc:877
++#: methods/ftp.cc:882
  #, c-format
  msgid "Unable to fetch file, server said '%s'"
  msgstr ""
  
--#: methods/ftp.cc:892 methods/rsh.cc:322
++#: methods/ftp.cc:897 methods/rsh.cc:322
  msgid "Data socket timed out"
  msgstr ""
  
--#: methods/ftp.cc:922
++#: methods/ftp.cc:927
  #, c-format
  msgid "Data transfer failed, server said '%s'"
  msgstr ""
  
  #. Get the files information
--#: methods/ftp.cc:997
++#: methods/ftp.cc:1002
  msgid "Query"
  msgstr ""
  
--#: methods/ftp.cc:1109
++#: methods/ftp.cc:1114
  msgid "Unable to invoke "
  msgstr ""
  
@@@ -1814,80 -1814,80 +1814,80 @@@ msgstr "
  msgid "Read error from %s process"
  msgstr ""
  
--#: methods/http.cc:379
++#: methods/http.cc:384
  msgid "Waiting for headers"
  msgstr ""
  
--#: methods/http.cc:525
++#: methods/http.cc:530
  #, c-format
  msgid "Got a single header line over %u chars"
  msgstr ""
  
--#: methods/http.cc:533
++#: methods/http.cc:538
  msgid "Bad header line"
  msgstr ""
  
--#: methods/http.cc:552 methods/http.cc:559
++#: methods/http.cc:557 methods/http.cc:564
  msgid "The HTTP server sent an invalid reply header"
  msgstr ""
  
--#: methods/http.cc:588
++#: methods/http.cc:593
  msgid "The HTTP server sent an invalid Content-Length header"
  msgstr ""
  
--#: methods/http.cc:603
++#: methods/http.cc:608
  msgid "The HTTP server sent an invalid Content-Range header"
  msgstr ""
  
--#: methods/http.cc:605
++#: methods/http.cc:610
  msgid "This HTTP server has broken range support"
  msgstr ""
  
--#: methods/http.cc:629
++#: methods/http.cc:634
  msgid "Unknown date format"
  msgstr ""
  
--#: methods/http.cc:782
++#: methods/http.cc:787
  msgid "Select failed"
  msgstr ""
  
--#: methods/http.cc:787
++#: methods/http.cc:792
  msgid "Connection timed out"
  msgstr ""
  
--#: methods/http.cc:810
++#: methods/http.cc:815
  msgid "Error writing to output file"
  msgstr ""
  
--#: methods/http.cc:841
++#: methods/http.cc:846
  msgid "Error writing to file"
  msgstr ""
  
--#: methods/http.cc:869
++#: methods/http.cc:874
  msgid "Error writing to the file"
  msgstr ""
  
--#: methods/http.cc:883
++#: methods/http.cc:888
  msgid "Error reading from server. Remote end closed connection"
  msgstr ""
  
--#: methods/http.cc:885
++#: methods/http.cc:890
  msgid "Error reading from server"
  msgstr ""
  
--#: methods/http.cc:976 apt-pkg/contrib/mmap.cc:215
++#: methods/http.cc:981 apt-pkg/contrib/mmap.cc:215
  msgid "Failed to truncate file"
  msgstr ""
  
--#: methods/http.cc:1141
++#: methods/http.cc:1146
  msgid "Bad header data"
  msgstr ""
  
--#: methods/http.cc:1158 methods/http.cc:1213
++#: methods/http.cc:1163 methods/http.cc:1218
  msgid "Connection failed"
  msgstr ""
  
--#: methods/http.cc:1305
++#: methods/http.cc:1310
  msgid "Internal error"
  msgstr ""