about summary refs log tree commit diff
path: root/buildtools/debian
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2014-01-25 21:28:57 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2014-01-25 21:28:57 +0000
commit4225d0aaf809fd4279774a1be702b2c11f27352c (patch)
tree085c2f2c4c0fbaebfa46aa4c1487c2375c197b8e /buildtools/debian
parent70cc7753bfd90dd9536f5f5a79769feb037b914c (diff)
downloadnetpbm-mirror-4225d0aaf809fd4279774a1be702b2c11f27352c.tar.gz
netpbm-mirror-4225d0aaf809fd4279774a1be702b2c11f27352c.tar.xz
netpbm-mirror-4225d0aaf809fd4279774a1be702b2c11f27352c.zip
Add more prerequisites
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@2115 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'buildtools/debian')
-rw-r--r--buildtools/debian/README47
-rwxr-xr-xbuildtools/debian/mkdeb12
2 files changed, 54 insertions, 5 deletions
diff --git a/buildtools/debian/README b/buildtools/debian/README
index 51983a78..1c600c6b 100644
--- a/buildtools/debian/README
+++ b/buildtools/debian/README
@@ -37,13 +37,54 @@ To install Netpbm as a Debian package:
 PREREQUSISITES
 --------------
 
-The following Debian packages are the known prerequisites for Netpbm
+The following information was taken from the Wheezy version of Debian, in
+January 2014.
+
+You don't actually need the current version of any of these.  For example,
+while we list package libjpeg8-dev, the package libjpeg62-dev works fine.
+
+
+Building
+--------
+
+You need the following Debian packages to build all of Netpbm.
+
+You could omit some of these and, in the Netpbm build configuration dialog,
+indicate you don't have them, and the build will simply omit some parts.
+For example, if you don't install libx11-dev, the Netpbm build process
+will not build the 'pamx' program.
+
+  libjpeg8-dev
+  libpng12-0-dev
+  libsvga1-dev
+  libtiff5-dev
+  libx11-dev
+  libxml2a-dev
+  zlib1g-dev
+
+
+In addition, you need the following build tools:
+
+  make
+  gcc
+  flex
+  perl
+  pkg-config
+
+
+
+Running
+-------
+
+The following Debian packages are the known prerequisites for running Netpbm
 (and the package created by 'mkdeb' knows this).
 
     libc6
-    libjpeg62
+    libjpeg8
     libpng12-0
-    libtiff4
+    libsvga1
+    libtiff5
+    libx11-6
     zlib1g
     ghostscript
     perl
diff --git a/buildtools/debian/mkdeb b/buildtools/debian/mkdeb
index dacd7cf4..b7a7f0d1 100755
--- a/buildtools/debian/mkdeb
+++ b/buildtools/debian/mkdeb
@@ -109,6 +109,11 @@ sub netpbmVersion($) {
 sub control($$) {
     my ($release, $architecture) = @_;
 
+# The Debian packaging system doesn't provide a way to express Netpbm's actual
+# prerequisites.  For example, Netpbm needs Version 6.2 or better of Libjpeg,
+# but there is no way to state that here.  Instead, we state Libjpeg 8.
+# This makes the Netpbm package less useful.
+
     my %control;
 
     my $debianNativeNetpbm = 
@@ -128,9 +133,12 @@ sub control($$) {
     $control{'Installed-Size'} = '6164';
     $control{'Depends'} =
         'libc6, ' .
-        'libjpeg62, ' .
+        'libjpeg8, ' .
         'libpng12-0, ' .
-        'libtiff4, ' .
+        'libsvga1, ' .
+        'libtiff5, ' .
+        'libx11-6, ' .
+        'libxml2a, ' .
         'zlib1g, ' .
         'ghostscript, ' .
         'perl, ' .