[Koha-cvs] koha/misc Install.pm

Mason James szrj1m at yahoo.com
Tue Apr 18 06:53:40 CEST 2006


CVSROOT:	/sources/koha
Module name:	koha
Branch: 	
Changes by:	Mason James <sushi at savannah.gnu.org>	06/04/18 04:53:40

Modified files:
	misc           : Install.pm 

Log message:
	Added check for modules for spine-label printing.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha/misc/Install.pm.diff?tr1=1.92&tr2=1.93&r1=text&r2=text

Patches:
Index: koha/misc/Install.pm
diff -u koha/misc/Install.pm:1.92 koha/misc/Install.pm:1.93
--- koha/misc/Install.pm:1.92	Fri Jun 24 12:19:34 2005
+++ koha/misc/Install.pm	Tue Apr 18 04:53:40 2006
@@ -841,6 +841,39 @@
 				push @missing,"You will need PDF::API2 for barcode generator" 
 			}
 	}
+                unless (eval {require PDF::API2::PDF})   {
+                                    if ($#missing>=0) { # only when $#missing >= 0 so this isn't fatal
+                                            push @missing,"You will need PDF::API2::PDF for spine and barcode printing"
+                                    }
+                    }
+                unless (eval {require PDF::Reuse})   {
+                                    if ($#missing>=0) { # only when $#missing >= 0 so this isn't fatal
+                                            push @missing,"You will need PDF::Reuse for spine and barcode printing"
+                                    }
+                    }
+                unless (eval {require PDF::Reuse::Barcode})   {
+                                    if ($#missing>=0) { # only when $#missing >= 0 so this isn't fatal
+                                            push @missing,"You will need PDF::Reuse::Barcode for spine and barcode printing"
+                                    }
+                    }
+                unless (eval {require PDF::Report})   {
+                                    if ($#missing>=0) { # only when $#missing >= 0 so this isn't fatal
+                                            push @missing,"You will need PDF::Report for spine and barcode printing"
+                                    }
+                    }
+
+                unless (eval {require GD::Barcode})   {
+                                    if ($#missing>=0) { # only when $#missing >= 0 so this isn't fatal
+                                            push @missing,"You will need GD::Barcode for spine and barcode printing"
+                                    }
+                    }
+
+                unless (eval {require GD::Barcode::UPCE})   {
+                                    if ($#missing>=0) { # only when $#missing >= 0 so this isn't fatal
+                                            push @missing,"You will need GD::Barcode::UPCE for spine and barcode printing"
+                                    }
+                    }
+
 	unless (eval {require Net::LDAP})       {
 		if ($#missing>=0) { # only when $#missing >= 0 so this isn't fatal
 				push @missing, "Net::LDAP";





More information about the Koha-cvs mailing list