Bug#496247: libpango1.0-0 depends on libx11-6 although it claims to be able to render for other means of output

2009-03-05 Thread Olaf Schulz
Salut,
On Thu, Mar 05, 2009 at 03:32:24PM +0100, Loïc Minier wrote:
 Hi
 
 On Sat, Aug 23, 2008, Olaf Schulz wrote:
  I need libpango as a dependency of librrd4 to generate
  graphics from rrdtool for output on a (monitoring) web server.
  
  Installing the current version of libpango1.0 would start introducing
  X11 libraries on to the system which would be completely unnecessary
  otherwise. I admit that I'm afraid to have a complete gnome system
  within 2 years of package upgrades.
  
  Either the description 
   four different font backends:
  ...
  - Direct rendering of scalable fonts using the FreeType library
  
  or the dependency from libx11-6 and libxrender1
  (and libx11-6 depending on x11-common in turn) seems to be at least bloating
  in some uses of the package.
  
  If the X11 dependency of some packages is achieved only by letting them 
  depend
  on libpango, would there be some other way? (yes, I guess that this is not a
  package specific issue but rather a conceptual one).
 
  Thanks for your report.
 
  % ldd -r /usr/lib/librrd.so.4 | awk '{ print $1 }' librrd4
  % ldd -r /usr/lib/libpangoxft-1.0.so.0 | awk '{ print $1 }' | grep -v -xFf 
 librrd4
 libXft.so.2
 
  So that's the only thing which you'd save if I were to split
  libpangoxft out; given the ridiculously large size of the librrd4 dep
  tree, I don't think it would be useful and am closing this bug.
 
  Please reopen if necessary.

The problem from a user's (server admin's) point of view is,
that the package libpango1.0-0 itself depends from a lot of other packages,
which, in turn depend on a lot of other packages which would not be needed
otherwise.

I can't find out, it it would be possible to create a package
'libpango-mimimal' which would provide libpango  without the bunch of features
all the other dependencies are providing.

 % apt-cache depends libpango1.0-0
libpango1.0-0
  Depends: libpango1.0-common
  Depends: libc6
  Depends: libcairo2
  Depends: libdatrie0
  Depends: libfontconfig1
  Depends: libfreetype6
  Depends: libglib2.0-0
  Depends: libthai0
  Depends: libx11-6
  Depends: libxft2
  Depends: libxrender1
  Depends: zlib1g
  Conflicts: pango-libthai

and when I try to install libpango1.0-0 on a system without X11 libraries, I 
would get:

% sudo apt-get install libpango1.0-0
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  defoma fontconfig fontconfig-config libcairo2 libdirectfb-1.0-0 libfontconfig1
  libfreetype6 libpango1.0-common libpixman-1-0 libpng12-0 libthai-data libthai0
  libts-0.0-0 libx11-6 libx11-data libxau6 libxcb-render-util0 libxcb-render0
  libxcb-xlib0 libxcb1 libxdmcp6 libxft2 libxrender1 ttf-dejavu ttf-dejavu-core
  ttf-dejavu-extra
Suggested packages:
  defoma-doc dfontmgr psfontmgr x-ttcidfont-conf libfreetype6-dev 
ttf-kochi-gothic
  ttf-kochi-mincho ttf-thryomanes ttf-baekmuk ttf-arphic-gbsn00lp
  ttf-arphic-bsmi00lp ttf-arphic-gkai00mp ttf-arphic-bkai00mp
Recommended packages:
  libft-perl
The following NEW packages will be installed:
  defoma fontconfig fontconfig-config libcairo2 libdirectfb-1.0-0 libfontconfig1
  libfreetype6 libpango1.0-0 libpango1.0-common libpixman-1-0 libpng12-0
  libthai-data libthai0 libts-0.0-0 libx11-6 libx11-data libxau6
  libxcb-render-util0 libxcb-render0 libxcb-xlib0 libxcb1 libxdmcp6 libxft2
  libxrender1 ttf-dejavu ttf-dejavu-core ttf-dejavu-extra
0 upgraded, 27 newly installed, 0 to remove and 102 not upgraded.
Need to get 8905kB of archives.
After this operation, 20.5MB of additional disk space will be used.
Do you want to continue [Y/n]? n
Abort.

And this, although I already would not install recommended packages 
automatically:
% apt-config dump|grep -i recommend
APT::Install-Recommends 0;

So I do not know a way out of this situation but I find it a bit annoying 
having to pull such a lot of packages, among them a some which are only 
necessary for ouput on displays (which is definitely not a server's task):
  libdirectfb-1.0-0 libx11-6 libx11-data libxau6 libxcb-render-util0 
libxcb-render0 libxcb-xlib0 libxcb1 libxdmcp6 libxrender1

Kind regards,
Olaf



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#496247: libpango1.0-0 depends on libx11-6 although it claims to be able to render for other means of output

2009-03-05 Thread Loïc Minier
On Thu, Mar 05, 2009, Olaf Schulz wrote:
 The problem from a user's (server admin's) point of view is,
 that the package libpango1.0-0 itself depends from a lot of other packages,
 which, in turn depend on a lot of other packages which would not be needed
 otherwise.

 Check what I sent you earlier: the only additional library which
 libpangoxft pulls in is libXft; look at ldd -r on librdd4 and you will
 see that it requires all this already, it's not a pango packaging
 problem.

 So I do not know a way out of this situation but I find it a bit
 annoying having to pull such a lot of packages, among them a some
 which are only necessary for ouput on displays (which is definitely
 not a server's task):
   libdirectfb-1.0-0 libx11-6 libx11-data libxau6 libxcb-render-util0
   libxcb-render0 libxcb-xlib0 libxcb1 libxdmcp6 libxrender1

 directfb is via cairo.

 I think that if you want to do something concrete, you'll have to look
 into making RRD use less external X libs; it currently relies on X
 libs.

 Perhaps you can parse RRD data without graphic output and only dump raw
 contents?  Anyway, pango's packaging is fine; I'm happy to help if you
 find a better idea.

-- 
Loïc Minier



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#496247: libpango1.0-0 depends on libx11-6 although it claims to be able to render for other means of output

2008-08-23 Thread Olaf Schulz
Package: libpango1.0-0
Version: 1.20.5-1
Severity: important


I need libpango as a dependency of librrd4 to generate
graphics from rrdtool for output on a (monitoring) web server.

Installing the current version of libpango1.0 would start introducing
X11 libraries on to the system which would be completely unnecessary
otherwise. I admit that I'm afraid to have a complete gnome system
within 2 years of package upgrades.

Either the description 
 four different font backends:
...
- Direct rendering of scalable fonts using the FreeType library

or the dependency from libx11-6 and libxrender1
(and libx11-6 depending on x11-common in turn) seems to be at least bloating
in some uses of the package.

If the X11 dependency of some packages is achieved only by letting them depend
on libpango, would there be some other way? (yes, I guess that this is not a
package specific issue but rather a conceptual one).

Or do I completely misunderstand something?

regards
Olaf

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.18
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libpango1.0-0 depends on:
ii  libc6   2.7-5GNU C Library: Shared libraries
pn  libcairo2   none   (no description available)
ii  libdatrie0  0.1.1-4  Double-array trie library
ii  libfontconfig1  2.4.2-1.2generic font configuration library
ii  libfreetype62.3.5-1+b1   FreeType 2 font engine, shared lib
ii  libglib2.0-02.14.4-2 The GLib library of C routines
pn  libpango1.0-common  none   (no description available)
pn  libthai0none   (no description available)
pn  libx11-6none   (no description available)
pn  libxft2 none   (no description available)
pn  libxrender1 none   (no description available)
ii  zlib1g  1:1.2.3.3.dfsg-8 compression library - runtime

libpango1.0-0 recommends no packages.

libpango1.0-0 suggests no packages.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]