[Pgp-tools-commit] r691 - in trunk: debian gpg-key2ps

Guilhem Moulin guilhem-guest at moszumanska.debian.org
Sat Aug 23 17:37:53 UTC 2014


Author: guilhem-guest
Date: 2014-08-23 17:37:52 +0000 (Sat, 23 Aug 2014)
New Revision: 691

Modified:
   trunk/debian/changelog
   trunk/gpg-key2ps/gpg-key2ps
Log:
Replace ',' with '.' in paperconf's output.

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2014-08-20 15:38:44 UTC (rev 690)
+++ trunk/debian/changelog	2014-08-23 17:37:52 UTC (rev 691)
@@ -6,6 +6,9 @@
   * caff:
     + Fix regression introduced in r518 when removing the 'defined' in
       'defined @array'. (Closes: #756459)
+  * gpg-key2ps:
+    + Replace ',' with '.' in paperconf's output, which is localized while
+      Postscript understands only '.' as decimal mark. (Closes: #758991)
 
  -- Guilhem Moulin <guilhem at guilhem.org>  Wed, 16 Jul 2014 00:07:24 +0200
 

Modified: trunk/gpg-key2ps/gpg-key2ps
===================================================================
--- trunk/gpg-key2ps/gpg-key2ps	2014-08-20 15:38:44 UTC (rev 690)
+++ trunk/gpg-key2ps/gpg-key2ps	2014-08-23 17:37:52 UTC (rev 691)
@@ -91,8 +91,8 @@
 if ( `which paperconf` && $? == 0 ) {
 	$w=`paperconf -w`;
 	$h=`paperconf -h`;
-	chomp($w);
-	chomp($h);
+	chomp  for ($w,$h);
+	y/,/./ for ($w,$h);
 } else {
 	# Default to A4.
 	print STDERR "Warning: libpaper-utils is not installed, defaulting to A4.\n";




More information about the Pgp-tools-commit mailing list