r60031 - in /trunk/jifty/debian: changelog libjifty-perl.lintian-overrides rules

gregoa at users.alioth.debian.org gregoa at users.alioth.debian.org
Sun Jul 4 12:37:17 UTC 2010


Author: gregoa
Date: Sun Jul  4 12:36:34 2010
New Revision: 60031

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=60031
Log:
Install localized manpages into language-specific directories; remove now
unnecessary lintian overrides. Thanks to Raphael Geissert for the bug
report (closes: #588021).

Modified:
    trunk/jifty/debian/changelog
    trunk/jifty/debian/libjifty-perl.lintian-overrides
    trunk/jifty/debian/rules

Modified: trunk/jifty/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/jifty/debian/changelog?rev=60031&op=diff
==============================================================================
--- trunk/jifty/debian/changelog (original)
+++ trunk/jifty/debian/changelog Sun Jul  4 12:36:34 2010
@@ -1,3 +1,11 @@
+jifty (0.91117+dfsg-2) UNRELEASED; urgency=low
+
+  * Install localized manpages into language-specific directories; remove now
+    unnecessary lintian overrides. Thanks to Raphael Geissert for the bug
+    report (closes: #588021).
+
+ -- gregor herrmann <gregoa at debian.org>  Sun, 04 Jul 2010 14:34:53 +0200
+
 jifty (0.91117+dfsg-1) unstable; urgency=low
 
   * Repack the upstream tarball: remove non-free share/web/static/js/json.js.

Modified: trunk/jifty/debian/libjifty-perl.lintian-overrides
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/jifty/debian/libjifty-perl.lintian-overrides?rev=60031&op=diff
==============================================================================
--- trunk/jifty/debian/libjifty-perl.lintian-overrides (original)
+++ trunk/jifty/debian/libjifty-perl.lintian-overrides Sun Jul  4 12:36:34 2010
@@ -1,8 +1,5 @@
 # This file contains a long url as example
 libjifty-perl: manpage-has-errors-from-man usr/share/man/man3/Jifty::LetMe.3pm.gz 183: warning [p 1, 8.7i]: can't break line
-# Whatis entry is write in japanese (I imagine ...)
-libjifty-perl: manpage-has-bad-whatis-entry usr/share/man/man3/Jifty::Manual::Tutorial_ja.3pm.gz
-libjifty-perl: manpage-has-errors-from-man usr/share/man/man3/Jifty::Manual::Tutorial_ja.3pm.gz 145: warning [p 1, 2.7i]: can't break line
 # The very long name of this package can't be break
 libjifty-perl: manpage-has-errors-from-man usr/share/man/man3/Jifty::Plugin::Authentication::Password::Action::SendAccountConfirmation.3pm.gz 133: warning [p 1, 0.8i]: can't break line
 # The very long name of this package can't be break
@@ -13,7 +10,3 @@
 libjifty-perl: script-not-executable ./usr/share/perl5/auto/share/dist/Jifty/web/transform_templates
 # license in rsh.js file in copyright
 libjifty-perl: extra-license-file usr/share/perl5/auto/share/dist/Jifty/plugins/Jifty/Plugin/SinglePage/web/static/js/singlepage/rsh/LICENSE.txt
-# chinese manual
-libjifty-perl: manpage-has-errors-from-man usr/share/man/man3/Jifty::Manual::Actions_zhtw.3pm.gz 154: warning [p 1, 5.2i]: can't break line
-# german manual
-libjifty-perl: spelling-error-in-manpage usr/share/man/man3/Jifty::Manual::Tutorial_de.3pm.gz Programm Program

Modified: trunk/jifty/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/jifty/debian/rules?rev=60031&op=diff
==============================================================================
--- trunk/jifty/debian/rules (original)
+++ trunk/jifty/debian/rules Sun Jul  4 12:36:34 2010
@@ -13,6 +13,14 @@
 	dh_clean
 	rm -rf t/TestApp-RestartServer/var
 	find $(CURDIR) -name "*testapp*" -delete
+
+override_dh_auto_install:
+	dh_auto_install
+	for lang in de ja zhtw ; do \
+		mkdir -pv $(CURDIR)/debian/tmp/usr/share/man/$$lang/man3 ; \
+	done
+	find $(CURDIR)/debian/tmp -name '*_*.3pm' | \
+		prename -v 's|/man3/(.+)_(.+).3pm$$|/$$2/man3/$$1.3pm|'
 
 override_dh_install:
 	dh_install -pjifty debian/tmp/usr/share/perl5/Jifty/Manual/Tutorial* usr/share/perl5/Jifty/Manual/




More information about the Pkg-perl-cvs-commits mailing list