From 4225d0aaf809fd4279774a1be702b2c11f27352c Mon Sep 17 00:00:00 2001 From: giraffedata Date: Sat, 25 Jan 2014 21:28:57 +0000 Subject: Add more prerequisites git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@2115 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- buildtools/debian/README | 47 ++++++++++++++++++++++++++++++++++++++++++++--- buildtools/debian/mkdeb | 12 ++++++++++-- 2 files changed, 54 insertions(+), 5 deletions(-) (limited to 'buildtools/debian') 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, ' . -- cgit 1.4.1