[libpdl-linearalgebra-perl] 03/11: Update VERSION info to 0.07 and support pre-PDL-2.007 builds

Dima Kogan dima at secretsauce.net
Thu Nov 28 20:21:56 UTC 2013


This is an automated email from the git hooks/post-receive script.

dkogan-guest pushed a commit to branch chm
in repository libpdl-linearalgebra-perl.

commit e3a4a16abbe96a6cc194a518668a10703c971028
Author: Chris Marshall <devel.chm.01 at gmail.com>
Date:   Sun Nov 17 10:52:52 2013 -0500

    Update VERSION info to 0.07 and support pre-PDL-2.007 builds
---
 Complex/Makefile.PL   | 2 +-
 Complex/complex.pd    | 8 ++++++--
 Makefile.PL           | 9 +++++----
 Real/Makefile.PL      | 2 +-
 Real/Makefile.PL.pkg  | 4 ++--
 Real/real.pd          | 8 ++++++--
 Special/Makefile.PL   | 5 +++--
 Trans/Makefile.PL     | 2 +-
 Trans/Makefile.PL.pkg | 4 ++--
 Trans/trans.pd        | 9 +++++++--
 10 files changed, 34 insertions(+), 19 deletions(-)

diff --git a/Complex/Makefile.PL b/Complex/Makefile.PL
index 9aa85ac..a2c8cad 100755
--- a/Complex/Makefile.PL
+++ b/Complex/Makefile.PL
@@ -16,7 +16,7 @@ $hash{LIBS}[0] .= $^O =~ /MSWin/ ? '' : '-L/usr/lib/atlas -llapack -lblas -latla
 $hash{LDLOADLIBS} .= 'oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib  comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib  netapi32.lib uuid.lib wsock32.lib mpr.lib winmm.lib  version.lib odbc32.lib odbccp32.lib msvcrt.lib  ../lapack/libacml.lib "C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\lib\msvcrt.lib" ' if $^O =~ /MSWin/;
 WriteMakefile(
 	%hash,
-	VERSION => 0.03,
+	'VERSION' => 0.07,
 );
 
 # Add genpp rule
diff --git a/Complex/complex.pd b/Complex/complex.pd
index 5222ef0..50c0719 100644
--- a/Complex/complex.pd
+++ b/Complex/complex.pd
@@ -2,13 +2,13 @@
 
 
 do('../Config');
-our $VERSION = 0.03;
+our $VERSION = 0.07;
 use PDL::Exporter;
 
 
 
 
-pp_setversion(0.03);
+pp_setversion(0.07);
 
 
 if ($config{CBLAS}){
@@ -24,6 +24,10 @@ pp_addhdr('
 pp_addhdr('
 #include <math.h>
 
+#if defined(PDL_CORE_VERSION) && PDL_CORE_VERSION < 10
+typedef PDL_Long PDL_Indx;
+#endif
+
 typedef PDL_Long logical;
 typedef PDL_Long integer;
 typedef PDL_Long ftnlen;
diff --git a/Makefile.PL b/Makefile.PL
index c9ac3e8..7449b4c 100755
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -1,10 +1,11 @@
 use ExtUtils::MakeMaker;
 
 WriteMakefile(
-        NAME => 'PDL::LinearAlgebra',
-        VERSION => 0.06,
-	'PREREQ_PM'		=> { PDL },
-        DIR =>  [ qw/Trans Real Complex Special/],
+        'NAME' => 'PDL::LinearAlgebra',
+        'VERSION' => 0.07,
+        'BUILD_REQUIRES' =>  { "PDL" => 0, },
+	'PREREQ_PM' => { "PDL" => 0, },
+        'DIR' =>  [ qw/Trans Real Complex Special/],
        );
 __END__
 
diff --git a/Real/Makefile.PL b/Real/Makefile.PL
index 4ef004b..4444756 100755
--- a/Real/Makefile.PL
+++ b/Real/Makefile.PL
@@ -17,7 +17,7 @@ $hash{LDLOADLIBS} .= 'oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.li
 
 WriteMakefile(
 	%hash,
-	VERSION => 0.04,
+	'VERSION' => 0.07,
 );
 
 # Add genpp rule
diff --git a/Real/Makefile.PL.pkg b/Real/Makefile.PL.pkg
index c27f847..eb36429 100755
--- a/Real/Makefile.PL.pkg
+++ b/Real/Makefile.PL.pkg
@@ -15,8 +15,8 @@ $hash{LDLOADLIBS} .= 'oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.li
 
 WriteMakefile(
 	%hash,
-	VERSION_FROM => "",
-	VERSION => 0.04,
+	'VERSION_FROM' => "",
+	'VERSION' => 0.07,
 );
 
 # Add genpp rule
diff --git a/Real/real.pd b/Real/real.pd
index f328070..2fb5aa0 100644
--- a/Real/real.pd
+++ b/Real/real.pd
@@ -4,14 +4,14 @@
 
 do('../Config');
 
-our $VERSION = 0.04;
+our $VERSION = 0.07;
 use PDL::Exporter;
 
 
 #TODO 
 # dot
 
-pp_setversion(0.04);
+pp_setversion(0.07);
 
 sub generate_code($){
 	if ($config{WITHOUT_THREAD}){
@@ -42,6 +42,10 @@ pp_addhdr('
 pp_addhdr('
 #include <math.h>
 
+#if defined(PDL_CORE_VERSION) && PDL_CORE_VERSION < 10
+typedef PDL_Long PDL_Indx;
+#endif
+
 /* avoid annoying warnings */
 typedef PDL_Long logical;
 typedef PDL_Long integer;
diff --git a/Special/Makefile.PL b/Special/Makefile.PL
index ed7c879..ae8011c 100755
--- a/Special/Makefile.PL
+++ b/Special/Makefile.PL
@@ -1,7 +1,8 @@
 use ExtUtils::MakeMaker;
+
 WriteMakefile(
-        NAME => 'PDL::LinearAlgebra::Special',
-        VERSION => 0.03,
+        'NAME' => 'PDL::LinearAlgebra::Special',
+        'VERSION' => 0.07,
        );
 __END__
 
diff --git a/Trans/Makefile.PL b/Trans/Makefile.PL
index afd97a2..7622102 100644
--- a/Trans/Makefile.PL
+++ b/Trans/Makefile.PL
@@ -16,7 +16,7 @@ $hash{LDLOADLIBS} .= 'oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.li
 
 WriteMakefile(
 	%hash,
-	VERSION => 0.04,
+	'VERSION' => 0.07,
 );
 
 # Add genpp rule
diff --git a/Trans/Makefile.PL.pkg b/Trans/Makefile.PL.pkg
index f691d3a..2c07b6f 100644
--- a/Trans/Makefile.PL.pkg
+++ b/Trans/Makefile.PL.pkg
@@ -14,8 +14,8 @@ $hash{LDLOADLIBS} .= 'oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.li
 
 WriteMakefile(
 	%hash,
-	VERSION_FROM => "",
-	VERSION => 0.03,
+	'VERSION_FROM' => "",
+	'VERSION' => 0.07,
 );
 
 # Add genpp rule
diff --git a/Trans/trans.pd b/Trans/trans.pd
index 655c5c0..68a24ee 100644
--- a/Trans/trans.pd
+++ b/Trans/trans.pd
@@ -1,4 +1,4 @@
-our $VERSION = 0.04;
+our $VERSION = 0.07;
 use PDL::Exporter;
 
 if ($^O =~ /MSWin/) {
@@ -9,6 +9,11 @@ pp_addhdr('
 
 pp_addhdr('
 #include <math.h>
+
+#if defined(PDL_CORE_VERSION) && PDL_CORE_VERSION < 10
+typedef PDL_Long PDL_Indx;
+#endif
+
 typedef PDL_Long logical;
 typedef PDL_Long integer;
 typedef PDL_Long ftnlen;
@@ -84,7 +89,7 @@ double z_abs(dcomplex *z)
 ');
 
 
-pp_setversion(0.04);
+pp_setversion(0.07);
 
 pp_addpm({At=>'Top'},<<'EOD');
 use PDL::Func;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libpdl-linearalgebra-perl.git



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