Doxygen-latex dependency should be optional

Bug #846314 reported by Olivier Mengué
54
This bug affects 12 people
Affects Status Importance Assigned to Milestone
doxygen (Debian)
New
Undecided
Unassigned
doxygen (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I want to use doxygen only to generate HTML documentation.

But the doxygen binary package has a dependency on doxygen-latex that drags tens of LaTeX packages:

$ LANG=C sudo aptitude install -R doxygen
The following NEW packages will be installed:
  doxygen doxygen-latex{a} latex-xcolor{a} luatex{a} preview-latex-style{a}
  tex-common{a} texlive-base{a} texlive-binaries{a} texlive-common{a}
  texlive-doc-base{a} texlive-extra-utils{a} texlive-latex-base{a}
  texlive-latex-extra{a} texlive-latex-recommended{a} texlive-pictures{a}
The following packages are RECOMMENDED but will NOT be installed:
  lacheck latex-beamer lmodern pgf prosper texlive-latex-base-doc
  texlive-latex-extra-doc texlive-latex-recommended-doc texlive-luatex
  texlive-pictures-doc
0 packages upgraded, 15 newly installed, 0 to remove and 0 not upgraded.

This is a waste of my disk space.

Tags: oneiric
Revision history for this message
jpfle (jpfle) wrote :
Download full text (4.1 KiB)

Confirm on Ubuntu 11.10 Beta 1:

$ apt-get install -s doxygen
NOTE: This is only a simulation!
      apt-get needs root privileges for real execution.
      Keep also in mind that locking is deactivated,
      so don't depend on the relevance to the real current situation!
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  doxygen-latex lacheck latex-beamer latex-xcolor pgf preview-latex-style prosper ps2eps texlive-extra-utils texlive-font-utils
  texlive-generic-recommended texlive-latex-base texlive-latex-base-doc texlive-latex-extra texlive-latex-extra-doc
  texlive-latex-recommended texlive-latex-recommended-doc texlive-pictures texlive-pictures-doc texlive-pstricks texlive-pstricks-doc
Suggested packages:
  doxygen-doc doxygen-gui graphviz auctex dvidvi fragmaster latexmk purifyeps xindy psutils t1utils texpower dot2tex
The following NEW packages will be installed:
  doxygen doxygen-latex lacheck latex-beamer latex-xcolor pgf preview-latex-style prosper ps2eps texlive-extra-utils texlive-font-utils
  texlive-generic-recommended texlive-latex-base texlive-latex-base-doc texlive-latex-extra texlive-latex-extra-doc
  texlive-latex-recommended texlive-latex-recommended-doc texlive-pictures texlive-pictures-doc texlive-pstricks texlive-pstricks-doc
0 upgraded, 22 newly installed, 0 to remove and 0 not upgraded.
Inst doxygen (1.7.4-3 Ubuntu:11.10/oneiric [i386])
Inst texlive-extra-utils (2009-10ubuntu1 Ubuntu:11.10/oneiric [all])
Inst preview-latex-style (11.86-2ubuntu1 Ubuntu:11.10/oneiric [all])
Inst texlive-pictures (2009-13 Ubuntu:11.10/oneiric [all])
Inst texlive-latex-base (2009-13 Ubuntu:11.10/oneiric [all])
Inst texlive-latex-extra (2009-10ubuntu1 Ubuntu:11.10/oneiric [all])
Inst texlive-latex-recommended (2009-13 Ubuntu:11.10/oneiric [all])
Inst latex-xcolor (2.11-1 Ubuntu:11.10/oneiric [all])
Inst doxygen-latex (1.7.4-3 Ubuntu:11.10/oneiric [all])
Inst lacheck (1.26-12 Ubuntu:11.10/oneiric [i386])
Inst pgf (2.10-1 Ubuntu:11.10/oneiric [all])
Inst latex-beamer (3.10-1 Ubuntu:11.10/oneiric [all])
Inst texlive-generic-recommended (2009-13 Ubuntu:11.10/oneiric [all])
Inst texlive-pstricks (2009-10ubuntu1 Ubuntu:11.10/oneiric [all])
Inst prosper (1.00.4+cvs.2007.05.01-4 Ubuntu:11.10/oneiric [all])
Inst ps2eps (1.68-1 Ubuntu:11.10/oneiric [i386])
Inst texlive-font-utils (2009-10ubuntu1 Ubuntu:11.10/oneiric [all])
Inst texlive-latex-base-doc (2009-13 Ubuntu:11.10/oneiric [all])
Inst texlive-latex-extra-doc (2009-10ubuntu1 Ubuntu:11.10/oneiric [all])
Inst texlive-latex-recommended-doc (2009-13 Ubuntu:11.10/oneiric [all])
Inst texlive-pictures-doc (2009-13 Ubuntu:11.10/oneiric [all])
Inst texlive-pstricks-doc (2009-10ubuntu1 Ubuntu:11.10/oneiric [all])
Conf doxygen (1.7.4-3 Ubuntu:11.10/oneiric [i386])
Conf texlive-extra-utils (2009-10ubuntu1 Ubuntu:11.10/oneiric [all])
Conf preview-latex-style (11.86-2ubuntu1 Ubuntu:11.10/oneiric [all])
Conf texlive-pictures (2009-13 Ubuntu:11.10/oneiric [all])
Conf texlive-latex-base (2009-13 Ubuntu:11.10/oneiric [all])
Conf texlive-latex-extra (2009-10ubuntu1 Ubuntu:11.10/oneiric [all])
Conf texlive-latex-recomm...

Read more...

Changed in doxygen (Ubuntu):
status: New → Confirmed
tags: added: oneiric
Revision history for this message
jpfle (jpfle) wrote :

So to install doxygen, I must download 370 MB and I need 571 MB of free space on my hard disk.

Revision history for this message
Ian Thompson (quornian) wrote :

I'm not sure quite how this is okay dependency-wise but it seems you can install the "doxygen" package alone with Synaptic:

1. Open Synaptic Package Manager (assuming you have installed this)
2. Mark "doxygen" (marking its many unnecessary Latex dependants)
3. Go to "Custom Filters", "Marked Changes"
4. Select all the packages except "doxygen", right-click and "Unmark"
5. Click "Apply"

Will report back if I hit any issues but initial tests show it works. Haven't figured out how to do the same with apt-get but perhaps someone else can jump in.

Revision history for this message
Konrad Twardowski (kdt-deactivatedaccount) wrote :

Workaround: sudo apt-get --no-install-recommends install doxygen

apt-get may still decide to download the "recommended" 417MB during Ubuntu upgrade ;)

Revision history for this message
StefanF (stefan) wrote :

I think most people create HTML docs, so the latex stuff should not be installed automatically.

Revision history for this message
aabbccddee (b1094523) wrote :

Aww come on its frigging 2013 !

The following NEW packages will be installed:
  doc-base doxygen doxygen-latex latex-beamer latex-xcolor libgraphite3 libkpathsea6 libptexenc1 libuuid-perl libyaml-tiny-perl lmodern luatex pgf preview-latex-style prosper ps2eps tcl8.4 tex-common tex-gyre
  texlive-base texlive-binaries texlive-common texlive-doc-base texlive-extra-utils texlive-font-utils texlive-fonts-recommended texlive-fonts-recommended-doc texlive-generic-recommended texlive-latex-base
  texlive-latex-base-doc texlive-latex-extra texlive-latex-extra-doc texlive-latex-recommended texlive-latex-recommended-doc texlive-luatex texlive-pictures texlive-pictures-doc texlive-pstricks
  texlive-pstricks-doc tipa tk8.4 ttf-marvosym
0 upgraded, 42 newly installed, 0 to remove and 0 not upgraded.
Need to get 628 MB of archives.
After this operation, 956 MB of additional disk space will be used.

1G for doxygen ??

Revision history for this message
Thangalin (thangalin-deactivatedaccount) wrote :

I'm using some custom software that heavily relies on the latest version of LaTeX, which I did not install from the standard repos. Thus I have installed LaTeX (the TeX Live flavour) into /usr/local/texlive/2012/.

Installing LaTeX twice on the same machine is definitely a waste of space. If this dependency can be removed, that would be superb.

$ uname -a
Linux panther 3.2.0-39-generic #62-Ubuntu SMP Thu Feb 28 00:28:53 UTC 2013 x86_64 x86_64 x86_64 GNU/Linu

Revision history for this message
Lihang Li (hustcalm) wrote :

I use this Workaround: sudo apt-get --no-install-recommends install doxygen
and it works under Ubuntu 12.04.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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