On Thu, 2007-04-12 at 14:02 +0800, Bob wrote:
> I use Gallery2 and although I install that by hand I use apt to install 
> all it's prerequisites, in sarge I'd run (removing the -s when I'm happy)
> apt-get install -s -V apache php4 mysql-server-4.1 netpbm ffmpeg dcraw 
> jhead zip unzip php4-mysql php4-gd imagemagick
> and I'm updating that command for etch so now I'll run
> apt-get install -s -V apache php5 mysql-server-5.0 netpbm ffmpeg dcraw 
> jhead zip unzip php5-mysql php5-gd imagemagick libapache-mod-php5
> (I like apache 1) but I saw in the dependencies x11-common which is 
> being pulled in by libx11-6 which on etch is depended upon by php5-gd & 
> imagemagick, since this is a headless machine I wasn't planning on 
> installing any X stuff at all.
> 
> At first I thought they'd just be some font libraries or something 
> useful that it didn't make sense to replicate but on reading up the 
> package descriptions
> 
> x11-common contains the filesystem infrastructure required for further 
> installation of the X Window System in any configuration; it does not 
> provide a full installation of clients, servers, libraries, and 
> utilities required to run the X Window System.
[snip]

It comes down to the fact that imagemagick is built with support for the
X picture formats for flexibility. This requires the some X libs. Not
the WHOLE X binary setup, just some libraries. About 800K is all, vs
~100MB for minimal X.

To quote the file "/usr/share/doc/imagemagick/README.Debian"

        5) We will not provide non-X11 binary package, because xlibs
        package does not so big.  If you really need non-X11 binary
        package, you can build it without xlibs.

There in you get your answer.

And X11-common is a just that, to provide the needed locations and
skeleton files for the xlibs and a few minor libraries to function for
things like gd and imagemagick when built with xlibs support.
-- 
greg, [EMAIL PROTECTED]

Novell's Directory Services is a competitive product to Microsoft's
Active Directory in much the same way that the Saturn V is a competitive
product to those dinky little model rockets that kids light off down at
the playfield. -- Thane Walkup

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to