[php-maint] Bug#414579: php5-gd should not depend on libx11 or should make it optional

Ari Johnson iamtheari at gmail.com
Mon Mar 12 18:03:03 CET 2007


Package: php5-gd
Version: 5.2.0-8
Severity: wishlist

The php5-gd package has the following dependency tree:
- php5-gd
  +- libx11-6
  +- libxpm4
  |  +- libx11-6
  +- libgd2-xpm
     +- libx11-6
     +- libxpm4

As a result, the php5-gd package requires substantial parts of X11 to be
installed.  I would prefer not to have unnecessary X11 packages
installed on my servers.

There is a libgd2-noxpm package available.  Other packages that require
libgd2 will accept libgd2-noxpm (e.g., webalizer does this).  Perhaps
a php5-gd-noxpm package could be provided, or php5-gd could be crafted
so as to provide XPM functionality if libgd2-xpm is installed.  (Note
that libgd2-xpm requires libxpm4 and libx11-6, so that installing it
would include all of the other dependencies of php5-gd.)

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.20
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages php5-gd depends on:
ii  libapache2-mod-php5 [phpa 5.2.0-8        server-side, HTML-embedded scripti
ii  libc6                     2.3.6.ds1-13   GNU C Library: Shared libraries
ii  libfreetype6              2.2.1-5        FreeType 2 font engine, shared lib
ii  libgd2-xpm                2.0.33-5.2     GD Graphics Library version 2
ii  libjpeg62                 6b-13          The Independent JPEG Group's JPEG 
ii  libpng12-0                1.2.15~beta5-1 PNG library - runtime
ii  libt1-5                   5.1.0-2        Type 1 font rasterizer library - r
ii  libx11-6                  2:1.0.3-6      X11 client-side library
ii  libxpm4                   1:3.5.5-2      X11 pixmap library
ii  php5-cli [phpapi-20060613 5.2.0-8        command-line interpreter for the p
ii  php5-common               5.2.0-8        Common files for packages built fr
ii  zlib1g                    1:1.2.3-13     compression library - runtime

php5-gd recommends no packages.

-- no debconf information




More information about the pkg-php-maint mailing list