Your message dated Thu, 23 Aug 2012 17:02:38 +0000 with message-id <[email protected]> and subject line Bug#666786: fixed in harden-doc 3.15.1 has caused the Debian Bug report #666786, regarding Please allow po4a to handle translations to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 666786: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=666786 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: harden-doc Version: 3.15 Severity: wishlist Tags: patch l10n -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Hi Javier, Please find attach the tiny patch I intend to commit to the DDP (removing the fr/ directory, adding the PO file [0] and a POT file: “touch po4a/po/securing-howto.pot && po4a --force po4a/po4a.cfg” will do the last trick). Since I'm not a Makefile expert, the proposed patch can surely be improved. Unless someone objects or beat me into it, I'll commit this patch to the DDP and will take care of the (hopefully inexistent) build issues on www-master (“ddp build failed”). 0: http://people.debian.org/~taffit/securing-howto/fr.po Furthermore, I didn't find the harden-doc/debian directory in the DDP, and thus was not able to provide the accurate debian/control and debian/changelog update, can you please point me to its VCS? Regards David - -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-2-amd64 (SMP w/1 CPU core) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAEBCAAGBQJPeLqKAAoJELgqIXr9/gny5RgP/3JZ5vTnfLNxRJ0Y6emfpals j3XaGqPNYff26OzEdMZxWJXr68MbcTWNIzFmnrYM7gDZ31e1dRfXkeTmf4mljQux /sHtDrZxoQrueStbi1ImzmPbcVIMO9eeKs1+tiTCkplL76SDjt7Lr/NdVOQmWbuU RzDlsPXeM5jiBKigCfxp57CasL43zJjE9teLLUd6YZ2DgeepZ5TowSF9UB3E5eWd TMkvuLQHv3ija5RIcJ3L+qFTbNltBLL+CwK8qWsRRU5XmTL6HDDO+/NeQzojWF0e aglltVfi7Ufnoyo3G8MDzf/kV+kDbPvFwjk/x8bKTaQ6mVcx/UMuVB75zNvcjOLH fSqatBGjPDiEHFRUDI64gV0+jBR7+z5f3B5Co/8PSd9zkzMLQCXFkPWQm6HKV+zA 0SP8XcufkkAUQtkhMs5VLjUtR6ocQLS/rAVUN5EsBgfJL3zaucDwdqLjZvOPgl7l 39sB71G3TfLQBRw/9okez0V0uyYomiUxggsoblSHGyhq2Wc3qqPLNuomkti+a9ce kpHX26T4bDu0zJxRjwMP3gIptSREq4m03UGqIHFOLH0NiXweSwnfwkvGb2t2p15W 2A1H0N8B4k+35LhBUJa9Wvx+JwFo3hK2cluSXvayF5b4OGdF2Off9qbWxSWFC3xy 6wsH7J8Ws2gsWfmKQu20 =ERAm -----END PGP SIGNATURE-----Index: po4a/po4a.cfg =================================================================== --- po4a/po4a.cfg (révision 0) +++ po4a/po4a.cfg (révision 0) @@ -0,0 +1,7 @@ +[po_directory] po4a/po/ + +[type: sgml] securing-debian-howto.en.sgml \ + $lang:securing-debian-howto.$lang.sgml \ + add_$lang:?po4a/$lang.add \ + opt:"-M ISO-8859-1" + Index: Makefile =================================================================== --- Makefile (révision 9169) +++ Makefile (copie de travail) @@ -39,13 +39,12 @@ # This can and will be overridden by a higher level makefile PUBLISHDIR := ~/public_html/manuals.html -# List of languages built for "distclean" target for DDP: -LANGSALL := en de fr es it ru ja zh-cn +# List of languages not being handled with po4a: +LANGSNOPO := en de es it pt-br ru ja zh-cn +# List of languages handled with po4a: +LANGSPO := fr # List of languages built for "publish" target for DDP LANGS := en de fr pt-br -# This are all the languages, not all are compiled for DDP -# due to them being out of dte -#LANGS := en de fr es it ru ja zh-cn pt-br # Files which affect SGML generation (excluding *.sgml) SGMLENTS := custom.ent default.ent @@ -55,6 +54,12 @@ $(foreach lang, $(LANGS), $(wildcard $(lang)/*.sgml ) ) \ $(SGMLENTS) +# All SGML targets not being handled with po4a: +SGMLNOPOSRCS := $(foreach lang, $(LANGSNOPO), $(MANUAL).$(lang).sgml) + +# All SGML targets handled with po4a: +SGMLPOSRCS := $(foreach lang, $(LANGSPO), $(MANUAL).$(lang).sgml) + # =================================================================== # # Build target default part: Routine # # =================================================================== # @@ -64,7 +69,8 @@ $(MANUAL).%.html.stamp $(MANUAL).%.txt $(MANUAL).%.ps $(MANUAL).%.pdf: \ locale=$(subst pt-br,pt_BR,\ $(subst zh-cn,zh_CN,\ - $*)) + $(subst fr,fr.UTF-8,\ + $*))) ### Full guide @@ -114,15 +120,20 @@ # Create starting SGML for each language from the template. Actual # contents reside in language-segregated subdirectories. -$(MANUAL).%.sgml: $(MANUAL0).sgml +$(SGMLNOPOSRCS): $(MANUAL).%.sgml: $(MANUAL0).sgml sed -e "s/@@LANGS@@/$*/g" \ -e "s/@@DIRS@@/$*/g" \ -e "s/@@NAME@@/$(MANUAL)/g" \ $< > $(MANUAL).$*.sgml +# Create starting SGML for each language handled with po4a + +$(SGMLPOSRCS): $(MANUAL).%.sgml: $(MANUAL).en.sgml $(MANUAL).en.ent po4a/po/%.po + po4a po4a/po4a.cfg + # HTML $(MANUAL).%.html.stamp: $(MANUAL).%.sgml $(MANUAL).%.ent $(SGMLSRCS) - debiandoc2html -l $(locale) -c $< + debiandoc2html -l $(locale) -C $< # since $(MANUAL).%.html/index.%.html cannot be a target file @for file in `ls $(MANUAL).$*.html/*` ; do \ newfile=`echo $$file|\
--- End Message ---
--- Begin Message ---Source: harden-doc Source-Version: 3.15.1 We believe that the bug you reported is fixed in the latest version of harden-doc, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. David Prévot <[email protected]> (supplier of updated harden-doc package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 1.8 Date: Thu, 23 Aug 2012 11:04:36 -0400 Source: harden-doc Binary: harden-doc Architecture: source all Version: 3.15.1 Distribution: unstable Urgency: low Maintainer: Javier Fernandez-Sanguino Pen~a <[email protected]> Changed-By: David Prévot <[email protected]> Description: harden-doc - Useful documentation to secure a Debian system Closes: 666786 Changes: harden-doc (3.15.1) unstable; urgency=low . * Team upload. * Allow po4a to handle translations. (Closes: #666786) * Update French translation via PO file. Checksums-Sha1: caada8de0132a1fae93bd43b6c958c58868bc8b6 1744 harden-doc_3.15.1.dsc 2f0e137612f7cb6d38372e61210a8fe2185c0266 1047082 harden-doc_3.15.1.tar.gz c82d56b164b102b562331d339c7a419f6a811d7e 5257980 harden-doc_3.15.1_all.deb Checksums-Sha256: 27706e74c5d56c4e98c42404b7252946cee60b25009998cc06d842dfd4b06c3e 1744 harden-doc_3.15.1.dsc 815eacb95881f6f711990165f6fff2ec387adc09f03b37b743d05978e79401d8 1047082 harden-doc_3.15.1.tar.gz ca08ab36d6964e06ae54dd6af51fcf2ca4a21dfdefd680287cbd21e01605023b 5257980 harden-doc_3.15.1_all.deb Files: 2e6482bf61fe8c1c213cd755676d30c9 1744 doc extra harden-doc_3.15.1.dsc aaea8e1b5d603eb846250c6a77b78053 1047082 doc extra harden-doc_3.15.1.tar.gz e21e33eb7333b074ed7fda1a18f32530 5257980 doc extra harden-doc_3.15.1_all.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAEBCAAGBQJQNkiTAAoJELgqIXr9/gnyumAP/09NpctbB0ZhL6DPGvoUeu8i rSSKDf2ApVSGbcD82wLWrMawhahgr5bNO6hYeGa/rsfoAKsV7iOdb4DIRUpa8QUG Hjg+zTrSTYORL0SbuGB4fnxWwABEJ6E8eBcD9pwVEIcncXdDrucdCRf3BR035kz2 x0rSw3G2daBi3fBvIIZ1KEaXo6wL2xsvvQSRhZSaFLX/eJZdZ65q7iXFHrR+fS6G SSqbbhlv6m+cP1OP3NAJzWy3D0f5HFcP/gvJ9xXULVW7BCqlLL9yeDhECGabEHZg dR89c7O27uekmnCooTKPQpkKjQ8yJZSKxgwJETmjO/3qPWv4DTYBKIvILakPIDZg NUo9wrSD+/7KTBV7Koxw+OVHNnU2Zmt9+4vMMBpxt4iUZvRBMZQRYbpBv5Iov7Q9 n/iolNkAYGeLN5W8+JbeVk2huoFdHUX1EP2eluf6NldYH6CZ+F+pNGqi1o6jtxEE guDJAhKKfTJx3OoGlHn2AGmRA5tjYNkBW02JnWuBlfpbGzqtzWqgbAMbqbSTWLUH LtS5cm/PV2erClAivhVjSTSac25riObXRUrt8sW/tdLJu+90ej0MBOVFfIXnjYog sQLHWCpSPKSaWWS3+wUBNc9wE1RAVNIWWp/Zo+il6jeUqatn/a+JOJIXpZaCnqpY y6UoHhgF34yAk5B/BWyz =0Zry -----END PGP SIGNATURE-----
--- End Message ---

