[Pkg-grid-commits] gpt/debian/patches 99_reduce_build_complexity.dpatch, NONE, 1.1

Steffen Möller smoe-guest at alioth.debian.org
Fri Feb 2 23:37:53 CET 2007


Update of /cvsroot/pkg-grid/gpt/debian/patches
In directory alioth:/tmp/cvs-serv12893/debian/patches

Added Files:
	99_reduce_build_complexity.dpatch 
Log Message:
Added reduction of build complexity.


--- NEW FILE: 99_reduce_build_complexity.dpatch ---
#! /bin/sh /usr/share/dpatch/dpatch-run
## 99_reduce_build_complexity.dpatch by  <moeller at pc02.inb.uni-luebeck.de>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: All the provided Perl scripts are available through Debian

@DPATCH@

--- gpt-3.2/build_gpt	2004-05-20 19:42:17.000000000 +0200
+++ ../manual/gpt/gpt-3.2.4/build_gpt	2007-01-20 17:33:08.000000000 +0100
@@ -62,28 +62,28 @@
 print_version() if $version;
 
 my @testdirs  = (
-                 'perlzlib',
-                 'perlzlibio',
-                 'perltar',
-                 'filespec',
-                 'md5',
+          #       'perlzlib',
+          #       'perlzlibio',
+          #       'perltar',
+          #       'filespec',
+          #       'md5',
                 );
 
 my %builddirections = (
-                       'perltest' => 'perl',
-                       'perlpatch' => 'perl',
-                       'perltar' => 'perl',
-                       'autoconf' => 'autotools',
-                       'automake' => 'autotools',
-                       'libtool' => 'autotools',
-                       'oldautoconf' => 'oldautotools',
-                       'oldautomake' => 'oldautotools',
-                       'oldlibtool' => 'oldautotools',
-                       'perlzlib' => 'compress',
-                       'perlzlibio' => 'perl',
-                       'filespec' => 'perl',
-                       'podparser' => 'perl',
-                       'md5' => 'perl',
+          #             'perltest' => 'perl',
+          #             'perlpatch' => 'perl',
+          #             'perltar' => 'perl',
+          #             'autoconf' => 'autotools',
+          #             'automake' => 'autotools',
+          #             'libtool' => 'autotools',
+          #             'oldautoconf' => 'oldautotools',
+          #             'oldautomake' => 'oldautotools',
+          #             'oldlibtool' => 'oldautotools',
+          #             'perlzlib' => 'compress',
+          #             'perlzlibio' => 'perl',
+          #             'filespec' => 'perl',
+          #             'podparser' => 'perl',
+          #             'md5' => 'perl',
                        'gpt' => 'gpt',
                       );
 
@@ -95,18 +95,18 @@
 $shutup = "" if defined $verbose;
 
 my %commands = (
-                autotools => ["PATH=$gpt_location/newautotools/bin:$ENV{'PATH'}; export PATH; \\
-GPT_LOCATION=$gpt_location; export GPT_LOCATION; \\
-PERL=$perl_location export PERL; \\
-./configure --prefix=$gpt_location/newautotools", 
-                              "PATH=$gpt_location/newautotools/bin:$ENV{'PATH'}; export PATH;make", 
-                              "PATH=$gpt_location/newautotools/bin:$ENV{'PATH'}; export PATH; \\
-make install $shutup"
-                             ],
-                oldautotools => ["PATH=$gpt_location/oldautotools/bin:$ENV{'PATH'}; export PATH; GPT_LOCATION=$gpt_location; export GPT_LOCATION; ./configure --prefix=$gpt_location/oldautotools", 
-                              "make", 
-                              "make install"
-                             ],
+#                autotools => ["PATH=$gpt_location/newautotools/bin:$ENV{'PATH'}; export PATH; \\
+#GPT_LOCATION=$gpt_location; export GPT_LOCATION; \\
+#PERL=$perl_location export PERL; \\
+#./configure --prefix=$gpt_location/newautotools", 
+#                              "PATH=$gpt_location/newautotools/bin:$ENV{'PATH'}; export PATH;make", 
+#                              "PATH=$gpt_location/newautotools/bin:$ENV{'PATH'}; export PATH; \\
+#make install $shutup"
+#                             ],
+#                oldautotools => ["PATH=$gpt_location/oldautotools/bin:$ENV{'PATH'}; export PATH; GPT_LOCATION=$gpt_location; export GPT_LOCATION; ./configure --prefix=$gpt_location/oldautotools", 
+#                              "make", 
+#                              "make install"
+#                             ],
                 gpt => ["GPT_LOCATION=$gpt_location; export GPT_LOCATION; \\
 ./configure --with-perl=$perl_location", 
                         "make", 
@@ -122,25 +122,25 @@
                       'make', 
                       'make install',
                      ],             ,
-                compress => ["if test -f Zlib.c; then \
-echo 'removing Zlib.c'; \
-rm Zlib.c; \
-fi",
-			  "unset LANG; \\\
-$perl_location Makefile.PL $zlibdownflag \\\
-INSTALLDIRS=perl LIB=$gpt_location/lib/perl \\\
-INSTALLSCRIPT=$gpt_location/sbin \\\
-INSTALLMAN1DIR=$gpt_location/man/man1 \\\
-INSTALLMAN3DIR=$gpt_location/man/man3 $shutup",
-			  "unset LANG; \\\
-$perl_location Makefile.PL \\\
-INSTALLDIRS=perl LIB=$gpt_location/lib/perl \\\
-INSTALLSCRIPT=$gpt_location/sbin \\\
-INSTALLMAN1DIR=$gpt_location/man/man1 \\\
-INSTALLMAN3DIR=$gpt_location/man/man3 $shutup",
-                         "make $shutup", 
-                         "make install $shutup"
-                        ]
+#                compress => ["if test -f Zlib.c; then \
+#echo 'removing Zlib.c'; \
+#rm Zlib.c; \
+#fi",
+#			  "unset LANG; \\\
+#$perl_location Makefile.PL $zlibdownflag \\\
+#INSTALLDIRS=perl LIB=$gpt_location/lib/perl \\\
+#INSTALLSCRIPT=$gpt_location/sbin \\\
+#INSTALLMAN1DIR=$gpt_location/man/man1 \\\
+#INSTALLMAN3DIR=$gpt_location/man/man3 $shutup",
+#			  "unset LANG; \\\
+#$perl_location Makefile.PL \\\
+#INSTALLDIRS=perl LIB=$gpt_location/lib/perl \\\
+#INSTALLSCRIPT=$gpt_location/sbin \\\
+#INSTALLMAN1DIR=$gpt_location/man/man1 \\\
+#INSTALLMAN3DIR=$gpt_location/man/man3 $shutup",
+#                         "make $shutup", 
+#                         "make install $shutup"
+#                        ]
                );
 my %boot = (
              gpt => "PATH=$gpt_location/newautotools/bin:$ENV{'PATH'}; export PATH; ./bootstrap",
@@ -181,15 +181,15 @@
   # system.
   #
   
-  if ($s eq 'filespec')
-    {
-      eval { require File::Spec };
-      if(($File::Spec::VERSION || 0) >= 0.8)
-        {
-          next;
-        }
-    }
-
+#  if ($s eq 'filespec')
+#    {
+#      eval { require File::Spec };
+#      if(($File::Spec::VERSION || 0) >= 0.8)
+#        {
+#          next;
+#        }
+#    }
+#
   my $instructions = $builddirections{$s};
   
   next if $instructions eq 'autotools' and 




More information about the Pkg-grid-commits mailing list