[Po4a-commits] "po4a Build.PL, 1.37, 1.38 changelog, 1.364, 1.365 NEWS, 1.60, 1.61"

Nicolas FRANCOIS nekral-guest at alioth.debian.org
Sun Jul 20 15:44:20 UTC 2008


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

Modified Files:
	Build.PL changelog NEWS 
Log Message:
	* Build.PL: Fix build failures with old versions of Module::Build.
	This still looks like an hack. Use install_destination when
	reading the installation path. Use {properties}{install_sets}
	instead of the install_sets function when new install paths need
	to be set. If somebody knows how mo files can be distributed
	easily with Module::Build...


Index: NEWS
===================================================================
RCS file: /cvsroot/po4a/po4a/NEWS,v
retrieving revision 1.60
retrieving revision 1.61
diff -u -d -r1.60 -r1.61
--- NEWS	14 Jul 2008 18:38:28 -0000	1.60
+++ NEWS	20 Jul 2008 15:44:17 -0000	1.61
@@ -12,6 +12,8 @@
  * Added support for the Markdown format, as used with Ikiwiki.
  * Make sure files are not mixed together when gettextized at the same
    time.
+packaging:
+ * Fix build failures with old versions of Module::Build.
 
 ===============================================================================
 * Major changes in release 0.33.3 (2008-04-02)

Index: Build.PL
===================================================================
RCS file: /cvsroot/po4a/po4a/Build.PL,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -d -r1.37 -r1.38
--- Build.PL	2 Apr 2008 20:31:01 -0000	1.37
+++ Build.PL	20 Jul 2008 15:44:17 -0000	1.38
@@ -226,11 +226,11 @@
 
 # Tweak the installation path
 #  Retrieve the prefix (There should be a better way)
-my $base = $b->install_sets($b->installdirs)->{bindoc};
+my $base = $b->install_destination("bindoc");
 $base =~ s/\/man\/man1//;
 #  Set the paths for the manpages and MO files
-$b->install_sets($b->installdirs)->{man} = $base.'/man';
-$b->install_sets($b->installdirs)->{po} = $base.'/locale';
+$b->{properties}{install_sets}{$b->installdirs}{man} = $base.'/man';
+$b->{properties}{install_sets}{$b->installdirs}{po} = $base.'/locale';
 
 $b->create_build_script;
 

Index: changelog
===================================================================
RCS file: /cvsroot/po4a/po4a/changelog,v
retrieving revision 1.364
retrieving revision 1.365
diff -u -d -r1.364 -r1.365
--- changelog	14 Jul 2008 19:42:00 -0000	1.364
+++ changelog	20 Jul 2008 15:44:17 -0000	1.365
@@ -1,3 +1,12 @@
+2008-07-20  Francois Gouget  <fgouget at codeweavers.com>
+
+	* Build.PL: Fix build failures with old versions of Module::Build.
+	This still looks like an hack. Use install_destination when
+	reading the installation path. Use {properties}{install_sets}
+	instead of the install_sets function when new install paths need
+	to be set. If somebody knows how mo files can be distributed
+	easily with Module::Build...
+
 2008-07-14  Francois Gouget  <fgouget at codeweavers.com>
 
 	* lib/Locale/Po4a/Po.pm: Fix timezone() so it works on Solaris




More information about the Po4a-commits mailing list