[Po4a-commits] "po4a Build.PL, 1.28, 1.29 README, 1.12, 1.13 changelog, 1.148, 1.149"

Nicolas FRANCOIS nekral-guest at alioth.debian.org
Sun Dec 31 15:18:33 CET 2006


Update of /cvsroot/po4a/po4a
In directory alioth:/tmp/cvs-serv4379

Modified Files:
	Build.PL README changelog 
Log Message:
Simplify the dependencies.


Index: README
===================================================================
RCS file: /cvsroot/po4a/po4a/README,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- README	27 Feb 2005 22:56:00 -0000	1.12
+++ README	31 Dec 2006 14:18:31 -0000	1.13
@@ -32,6 +32,20 @@
   Locale::gettext (v1.01): 
     This module being itself internationalized, it needs the Locale::gettext
     library to translate its own messages.
+    If it is not present, then po4a's messages won't be translated, but
+    po4a will remain fully functional.
+
+  Text::WrapI18N:
+    This module is used to format po4a's warnings and error messages.  It
+    permits to wrap long error messages without splitting words.
+    If it is not present, the formatting of messages will be different,
+    but po4a will remain fully functional.
+
+  Term::ReadKey:
+    This module is used to retrieve the terminal's line width.  It is not
+    used if Text::WrapI18N is not available.
+    If it is not present, the line width can be specified with the COLUMN
+    environment variable.
 
 
 SGML MODULE SPECIFIC DEPENDENCIES

Index: Build.PL
===================================================================
RCS file: /cvsroot/po4a/po4a/Build.PL,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -d -r1.28 -r1.29
--- Build.PL	8 Apr 2006 14:29:48 -0000	1.28
+++ Build.PL	31 Dec 2006 14:18:31 -0000	1.29
@@ -276,8 +276,20 @@
   ( module_name => 'po4a',
       license => 'gpl',
       dist_version_from => 'lib/Locale/Po4a/TransTractor.pm', # finds $VERSION
-      requires => {'Locale::gettext' => '1.01', 'Text::WrapI18N' => 0,
-	  'SGMLS' => 0, 'Term::ReadKey' => 0},
+      requires => {},
+      recommends => {'Text::WrapI18N' => 0, # Only used for wrapping long
+                                            # error/wraning lines.
+
+                     'Term::ReadKey' => 0,  # Needed to detect terminal
+                                            # width. Not needed if you
+                                            # don't have Text::WrapI18N.
+
+                     'SGMLS' => 0,          # Needed for the Sgml module.
+
+                     'Locale::gettext' => '1.01'}, # Only used for
+                                                   # translating the
+                                                   # po4a's messages.
+                    },
       script_files => ['po4a-gettextize', 'po4a-updatepo',
 	  'po4a-translate', 'po4a-normalize', 'po4a', 'scripts/msguntypot',
 	  'scripts/po4aman-display-po'],

Index: changelog
===================================================================
RCS file: /cvsroot/po4a/po4a/changelog,v
retrieving revision 1.148
retrieving revision 1.149
diff -u -d -r1.148 -r1.149
--- changelog	31 Dec 2006 13:09:59 -0000	1.148
+++ changelog	31 Dec 2006 14:18:31 -0000	1.149
@@ -3,6 +3,11 @@
 	* lib/Locale/Po4a/Sgml.pm: Fix a build failure with gettext 0.15:
 	"invalid variable interpolation". This issue is fixed in latter
 	versions of gettext, but it does not harm to fix it here.
+	* Build.PL: Rework the dependencies. There are no strong
+	dependencies, only recommended dependencies.
+	* README: Document what happens when each dependency is missing.
+	* t/01-classes.t, t/20-xml.t, t/23-man.t: Skip some tests when
+	some recommended dependencies are not present.
 
 2006-11-30  Nicolas François  <nicolas.francois at centraliens.net>
 




More information about the Po4a-commits mailing list