Bug 12234 - dependency changes to allow master to build
authorRobin Sheat <robin@catalyst.net.nz>
Mon, 12 May 2014 23:12:53 +0000 (11:12 +1200)
committerGalen Charlton <gmc@esilibrary.com>
Tue, 13 May 2014 14:09:07 +0000 (14:09 +0000)
A run of update-control, adding bash-completion as a build-time
dependency, allowing update-control to ignore anything that doesn't
have a package but isn't marked as "required" by Koha, added
dependencies that we don't use but is needed by something we do use.
All fairly mundane.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
C4/Installer/PerlDependencies.pm
debian/control
debian/control.in
debian/list-deps

index f1ddee3..eb4685d 100644 (file)
@@ -194,6 +194,19 @@ our $PERL_DEPS = {
         'required' => '1',
         'min_ver'  => '0.33'
     },
+    'Text::PDF' => {
+        'usage'    => 'Core',
+        'required' => '1',
+        'min_ver'  => '0.33',
+        # We don't use this directly, but it's not a required dependency for
+        # PDF::Reuse however we need it via that or tests fail.
+    },
+    'Font::TTF' => {
+        'usage'    => 'Core',
+        'required' => '1',
+        'min_ver'  => '0.33',
+        # Also needed for our use of PDF::Reuse
+    },
     'DateTime' => {
         'usage'    => 'Core',
         'required' => '1',
index 16977d6..e2bd024 100644 (file)
@@ -47,6 +47,7 @@ Build-Depends: libalgorithm-checkdigits-perl,
  libemail-valid-perl,
  libfile-path-perl | perl-modules,
  libfile-slurp-perl,
+ libfont-ttf-perl,
  libgd-barcode-perl,
  libgd-gd2-noxpm-perl | libgd-gd2-perl,
  libgraphics-magick-perl,
@@ -61,6 +62,7 @@ Build-Depends: libalgorithm-checkdigits-perl,
  liblingua-stem-snowball-perl,
  liblist-moreutils-perl,
  liblocale-currency-format-perl,
+ liblocale-maketext-lexicon-perl,
  liblocale-po-perl,
  libmail-sendmail-perl,
  libmarc-charset-perl,
@@ -79,6 +81,7 @@ Build-Depends: libalgorithm-checkdigits-perl,
  libnet-server-perl,
  libnet-z3950-zoom-perl,
  libnumber-format-perl,
+ libopenoffice-oodoc-perl,
  libpdf-api2-perl,
  libpdf-api2-simple-perl,
  libpdf-reuse-barcode-perl,
@@ -104,6 +107,7 @@ Build-Depends: libalgorithm-checkdigits-perl,
  libtext-csv-perl,
  libtext-csv-xs-perl,
  libtext-iconv-perl,
+ libtext-pdf-perl,
  libtext-unaccent-perl,
  libtime-progress-perl,
  libuniversal-require-perl,
@@ -121,7 +125,7 @@ Build-Depends: libalgorithm-checkdigits-perl,
  perl,
  perl-modules, 
  debhelper (>= 7.0.50), gettext, python, python-debian, xsltproc, docbook-xsl,
- libxml2-utils
+ libxml2-utils, bash-completion
 
 Package: koha-common
 Architecture: all
@@ -129,6 +133,7 @@ Depends: ${misc:Depends}, ${koha:Depends},
  apache2,
  apache2-mpm-itk,
  at,
+ cron-daemon,
  daemon,
  debconf,
  idzebra-2.0,
@@ -176,6 +181,7 @@ Depends: ${misc:Depends},
  apache2,
  apache2-mpm-itk,
  at,
+ cron-daemon,
  daemon,
  debconf,
  idzebra-2.0,
@@ -238,6 +244,7 @@ Depends: libalgorithm-checkdigits-perl,
  libemail-valid-perl,
  libfile-path-perl | perl-modules,
  libfile-slurp-perl,
+ libfont-ttf-perl,
  libgd-barcode-perl,
  libgd-gd2-noxpm-perl | libgd-gd2-perl,
  libgraphics-magick-perl,
@@ -252,6 +259,7 @@ Depends: libalgorithm-checkdigits-perl,
  liblingua-stem-snowball-perl,
  liblist-moreutils-perl,
  liblocale-currency-format-perl,
+ liblocale-maketext-lexicon-perl,
  liblocale-po-perl,
  libmail-sendmail-perl,
  libmarc-charset-perl,
@@ -270,6 +278,7 @@ Depends: libalgorithm-checkdigits-perl,
  libnet-server-perl,
  libnet-z3950-zoom-perl,
  libnumber-format-perl,
+ libopenoffice-oodoc-perl,
  libpdf-api2-perl,
  libpdf-api2-simple-perl,
  libpdf-reuse-barcode-perl,
@@ -295,6 +304,7 @@ Depends: libalgorithm-checkdigits-perl,
  libtext-csv-perl,
  libtext-csv-xs-perl,
  libtext-iconv-perl,
+ libtext-pdf-perl,
  libtext-unaccent-perl,
  libtime-progress-perl,
  libuniversal-require-perl,
index bd34fcb..8984c6b 100644 (file)
@@ -11,7 +11,7 @@ Standards-Version: 3.8.4
 # There are some exceptions.
 Build-Depends:__AUTODEPENDS__, 
  debhelper (>= 7.0.50), gettext, python, python-debian, xsltproc, docbook-xsl,
- libxml2-utils
+ libxml2-utils, bash-completion
 
 Package: koha-common
 Architecture: all
index dcb6fb8..8d50164 100755 (executable)
@@ -83,6 +83,9 @@ foreach my $module ( keys %$deps ) {
     elsif ( exists $overrides{$module} ) {
         print "$overrides{$module}\n";
     }
+    elsif ( ! $deps->{$module}->{'required'} ) {
+        # Ignore because we don't have it and we don't care.
+    }
     else {
         print "EEEK: unknown package for $module\n";
     }