about summary refs log tree commit diff
path: root/buildtools
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2020-05-02 02:31:01 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2020-05-02 02:31:01 +0000
commite52a76f40880d4211c3c9d9c02982c1c362e5dcd (patch)
tree8614edef9f89da199e7e5e594ad56d1f2d900386 /buildtools
parentdb23bc5caf002e0710dea1ac670f04e419e5b1fc (diff)
downloadnetpbm-mirror-e52a76f40880d4211c3c9d9c02982c1c362e5dcd.tar.gz
netpbm-mirror-e52a76f40880d4211c3c9d9c02982c1c362e5dcd.tar.xz
netpbm-mirror-e52a76f40880d4211c3c9d9c02982c1c362e5dcd.zip
Fix package dependencies
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@3799 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'buildtools')
-rwxr-xr-xbuildtools/debian/mkdeb24
1 files changed, 18 insertions, 6 deletions
diff --git a/buildtools/debian/mkdeb b/buildtools/debian/mkdeb
index 2cb00957..8ca0f738 100755
--- a/buildtools/debian/mkdeb
+++ b/buildtools/debian/mkdeb
@@ -119,11 +119,23 @@ sub control($$) {
 #  file.
 #-----------------------------------------------------------------------------
 
-# 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 6.2
-# exactly.  This makes the Netpbm package less useful.
-
+    # Because developers of some of the dependent libraries frequently switch
+    # to distributing versions not backward compatible with what they
+    # previously distributed, and Debian always packages the currently
+    # distributed version, it is virtually impossible to produce a Netpbm
+    # package that works in multiple Debian versions.  This program is coded
+    # to create a package that works on the Debian system the Netpbm
+    # maintainer currently uses to build the Debian packages he distributes.
+    # If you are building for any other version of Debian, you'll have to
+    # modify this code.
+
+    # Note that the backward incompatibility is usually only at a binary
+    # level, not source level.  And sometimes the only incompatibility for
+    # Netpbm purposes is that the soname has changed so that Linux will refuse
+    # to run a Netpbm program built for Debian N on Debian N-1.
+
+    # The following is for Debian 9.
+    
     my %control;
 
     my $debianNativeNetpbm = 
@@ -144,7 +156,7 @@ sub control($$) {
     $control{'Depends'} =
         'libc6, ' .
         'libjpeg62, ' .
-        'libpng12-0 | libpng16-16, ' .
+        'libpng16-16, ' .
         'libtiff5, ' .
         'libx11-6, ' .
         'libxml2, ' .