Permalink
Browse files

0.34 by Audrey Tang

  • Loading branch information...
1 parent ddbb3b9 commit a40e6e78a07e660f8de71ea0702ca75581587386 @kcwu kcwu committed Sep 4, 2007
View
@@ -1,3 +1,10 @@
+[Changes for 0.34 - Jul 17, 2007]
+
+* Corrected SIGNATURE for a mismatched META.yml entry.
+
+* Switched from ExtUtils::MakeMaker to Module::Install to better determine
+ the install site's capability to run C compilers.
+
[Changes for 0.33 - Dec 12, 2006]
* Fix a bug that b2g.pl and g2b.pl with -u flag won't set encoding correct if
View
@@ -1,29 +1,37 @@
-bin/b2g.pl Convert from Big5 to GBK (CP936)
-bin/g2b.pl Convert from GBK (CP936) to Big5
-map/DerivedAge.txt Unicode code points - Not Installed
-map/b2g_map.txt Big5 to GBK Map - Not Installed
-map/g2b_map.txt GBK to Big5 Map - Not Installed
-map/b2g_map.utf8 Trad to Simp Map - Not Installed
-map/g2b_map.utf8 Simp to Trad Map - Not Installed
-map/map2pm.pl Generate Perl.pm from Map files - Not Installed
-map/map2ucm.pl Generate UCM from Map files - Not Installed
-map/ucm2map.pl Generate Map from UCM Files - Not Installed
-map/umap2ucm.pl Generate UCM from UMap files - Not Installed
-lib/Encode/HanConvert.pm Traditional and Simplified Chinese mappings
+AUTHORS List of servers
+bin/b2g.pl Convert from Big5 to GBK (CP936)
+bin/g2b.pl Convert from GBK (CP936) to Big5
+Changes Changelog
+inc/Module/Install.pm
+inc/Module/Install/Base.pm
+inc/Module/Install/Can.pm
+inc/Module/Install/Fetch.pm
+inc/Module/Install/Makefile.pm
+inc/Module/Install/Metadata.pm
+inc/Module/Install/Win32.pm
+inc/Module/Install/WriteAll.pm
+lib/Encode/HanConvert.pm Traditional and Simplified Chinese mappings
lib/Encode/HanConvert/Perl.pm-orig Perl-based Encode::HanConvert
-AUTHORS List of servers
-MANIFEST This list of files
-MANIFEST.SKIP List of files to skip
-Makefile.PL Makefile writer
-README The Instructions
-SIGNATURE Signature file
-Changes Changelog
-t/0-signature.t Signature test
-t/1-basic.t Sanity test
-t/daode.b5 Test data file
-t/daode.gbk Test data file
-t/daode_g.b5 Test data file
-t/zhengqi.b5 Test data file
-t/zhengqi.gbk Test data file
-t/zhengqi_b.gbk Test data file
-META.yml Module meta-data in YAML
+Makefile.PL Makefile generator
+MANIFEST This list of files
+MANIFEST.SKIP List of files to skip
+map/b2g_map.txt Big5 to GBK Map - Not Installed
+map/b2g_map.utf8 Trad to Simp Map - Not Installed
+map/DerivedAge.txt Unicode code points - Not Installed
+map/g2b_map.txt GBK to Big5 Map - Not Installed
+map/g2b_map.utf8 Simp to Trad Map - Not Installed
+map/map2pm.pl Generate Perl.pm from Map files - Not Installed
+map/map2ucm.pl Generate UCM from Map files - Not Installed
+map/ucm2map.pl Generate Map from UCM Files - Not Installed
+map/umap2ucm.pl Generate UCM from UMap files - Not Installed
+META.yml Module meta-data in YAML
+README The Instructions
+SIGNATURE Signature file
+t/0-signature.t Signature test
+t/1-basic.t Sanity test
+t/daode.b5 Test data file
+t/daode.gbk Test data file
+t/daode_g.b5 Test data file
+t/zhengqi.b5 Test data file
+t/zhengqi.gbk Test data file
+t/zhengqi_b.gbk Test data file
View
@@ -9,5 +9,8 @@
^blib
^[a-z][a-z]_\d\d
^t/.*u$
-^Makefile
+^Makefile$
+^Makefile\.old$
^pm_to_blib$
+.*~
+\..*sw.
View
@@ -8,4 +8,4 @@ requires:
Encode: 1.41
distribution_type: module
-generated_by: ExtUtils::MakeMaker version 6.21
+generated_by: ExtUtils::MakeMaker version 6.30
View
@@ -1,28 +1,16 @@
-# $File: //member/autrijus/Encode-HanConvert/Makefile.PL $ $Author: autrijus $
-# $Revision: #12 $ $Change: 10738 $ $DateTime: 2004/06/03 20:56:41 $
-
-use strict;
-use ExtUtils::MakeMaker;
+use inc::Module::Install;
use Config;
use vars qw(@MAKEOPTS $Path);
use File::Spec;
use File::Basename;
-# check if we can run some command
-sub _can_run {
- my $command = shift;
-
- for my $dir (split /$Config{path_sep}/, $ENV{PATH}) {
- my $abs = File::Spec->catfile($dir, $command);
- return $abs if $abs = MM->maybe_command($abs);
- }
-
- return;
-}
-
BEGIN {
+ name 'Encode-HanConvert';
+ requires perl => 5.006;
+ all_from 'lib/Encode/HanConvert.pm';
+
# inhibit incorrect utf8iciation of filehandles on Perl 5.8.0
$ENV{LC_ALL} = $ENV{LC_CTYPE} = $ENV{LANG} = 'C';
@@ -43,11 +31,13 @@ BEGIN {
},
);
- if ($] < 5.007003 or !_can_run($Config{cc})) {
+ if ($] < 5.007003 or !can_cc) {
print "Encode.pm support not possible; Byte <=> Unicode mappings will not be available.\n";
print "Unicode support not possible; Unicode mappings will not be available.\n"
if $] < 5.006;
- WriteMakefile (@MAKEOPTS);
+
+ makemaker_args @MAKEOPTS;
+ sign; WriteAll;
exit;
}
}
@@ -102,7 +92,7 @@ for my $d (@INC){
($encode_h) = sort {$encode_h{$b} <=> $encode_h{$a}} keys %encode_h;
print "encode.h is at $encode_h\n";
-WriteMakefile(
+makemaker_args(
INC => "-I$encode_h",
#### END_OF_HEADER -- DO NOT EDIT THIS LINE BY HAND! ####
NAME => 'Encode::'.$name,
@@ -121,6 +111,7 @@ WriteMakefile(
XSOPT => '-nolinenumbers',
@MAKEOPTS,
);
+sign; WriteAll;
package MY;
Oops, something went wrong.

0 comments on commit a40e6e7

Please sign in to comment.