Installing bzr should not pull X libraries by default

Bug #321852 reported by Thierry Carrez
0
Affects Status Importance Assigned to Milestone
bzr (Ubuntu)
Invalid
Undecided
Unassigned
bzrtools (Debian)
Fix Committed
Undecided
Unassigned
bzrtools (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: bzr

As we rely more and more on bzr for core functionality (for example, if we are one day to use bzr/etckeeper for /etc version control on servers by default), it would be great if installing bzr would pull as little packages as possible in minimal installs.

Currently, running "apt-get install bzr" on a minimal install pulls 54 packages, including lots of X libraries.
  bzr bzrtools defoma fontconfig fontconfig-config graphviz libcairo2
  libdatrie0 libdirectfb-1.0-0 libexpat1 libfontconfig1 libfontenc1
  libfreetype6 libgd2-noxpm libgdbm3 libglib2.0-0 libglib2.0-data libgraphviz4
  libice6 libjpeg62 libltdl7 libpango1.0-0 libpango1.0-common libpixman-1-0
  libpng12-0 libsm6 libsysfs2 libthai-data libthai0 libts-0.0-0 libxaw7
  libxcb-render-util0 libxcb-render0 libxfont1 libxft2 libxmu6 libxpm4
  libxrender1 libxt6 patch perl perl-modules python-central python-crypto
  python-paramiko python-support rsync ttf-dejavu ttf-dejavu-core
  ttf-dejavu-extra ttf-liberation x-ttcidfont-conf xfonts-encodings
  xfonts-utils

The X stuff is clearly not wanted on server installs. As a comparison, git pulls 9 packages, mercurial pulls 4, subversion pulls 15 (all without pulling in any X library).

Nearly all of these things are pulled through a "bzr recommends bzrtools recommends graphviz" path, since we now install recommends by default. I would propose we break that path, by suggesting bzrtools instead of recommending it.

Revision history for this message
John A Meinel (jameinel) wrote :

I would actually prefer "bzr recommends bzrtools suggests graphviz"

since I think bzrtools does provide quite a bit of useful functionality, and only one (rarely used) command uses graphviz.

Revision history for this message
Jelmer Vernooij (jelmer) wrote : Re: [Bug 321852] Re: Installing bzr should not pull X libraries by default

On Tue, 2009-01-27 at 17:23 +0000, John A Meinel wrote:
> I would actually prefer "bzr recommends bzrtools suggests graphviz"
>
> since I think bzrtools does provide quite a bit of useful functionality,
> and only one (rarely used) command uses graphviz.
We should be "graduating" more of these to the bzr core IMHO. A
couple have been discussed on the list as candidates for this earlier,
somebody has to JFDI.

For now, I agree bzrtools really should be a Recommends. I'll have a
look at turning Suggests into Recommends for graphviz.
--
Jelmer Vernooij <email address hidden> - http://samba.org/~jelmer/
Jabber: <email address hidden>

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

  affects debian/bzrtools
  status fixcommitted

Fixed in the Debian bzrtools package, not yet uploaded.
--
Jelmer Vernooij <email address hidden> - http://samba.org/~jelmer/
Jabber: <email address hidden>

Revision history for this message
James Westby (james-w) wrote : Re: [Bug 321852] Re: Installing bzr should not pull X libraries by default

On Tue, 2009-01-27 at 17:43 +0000, Jelmer Vernooij wrote:
> affects debian/bzrtools
> status fixcommitted
>
> Fixed in the Debian bzrtools package, not yet uploaded.

Thanks Jelmer,

Once lenny is released we have the "bazaar" package name free for use I
believe, so we could make "bzr" install little more than the bzr command
and move the "Recommends" etc. on to "bazaar".

This would of course lead to those who just install "bzr" getting less
than they might hope.

Thanks,

James

Revision history for this message
Thierry Carrez (ttx) wrote :

Sounds great, pushing this to bzrtools instead of bzr.

Changed in bzr:
status: New → Invalid
Changed in bzrtools:
status: New → Triaged
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package bzrtools - 1.12.0-1

---------------
bzrtools (1.12.0-1) experimental; urgency=low

  * New upstream release.
  * Suggest rather than Recommend graphviz, since graphviz is a heavy
    dependency but the graph-ancestry command is not commonly used.
    (LP: #321852)

 -- Daniel Holbach <email address hidden> Tue, 17 Feb 2009 17:31:18 +0000

Changed in bzrtools:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related blueprints

Remote bug watches

Bug watches keep track of this bug in other bug trackers.