Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 61938 - docbook-sgml-utils should list jadetex as dependency
Summary: docbook-sgml-utils should list jadetex as dependency
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Text-Markup Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-27 08:47 UTC by Vincent Béron
Modified: 2004-09-03 11:50 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vincent Béron 2004-08-27 08:47:27 UTC
docbook-sgml-utils include docbook2pdf, which itself needs jadetex to work correctly.

Reproducible: Always
Steps to Reproduce:
1. Install docbook-sgml-utils and dependancies
2. Try to use docbook2pdf on a file.

Actual Results:  
docbook2pdf fails because it needs pdfjadetex, provided by jadetex.

Expected Results:  
Installation of docbook-sgml-utils should have installed jadetex as a
dependancy, to allow users to use docbook2pdf.

Version of docbook-sgml-utils used: 0.6.12
Comment 1 Benoit Boissinot 2004-08-27 10:20:06 UTC
jadetex is a dependency with the use 'tetex' enabled. If you want to use docbook2pdf you can emerge docbook-sgml-utils with this use flag enabled.
Comment 2 Vincent Béron 2004-08-27 10:45:55 UTC
emerging jadetex had tetex as a dependancy without modifying other USE flags.
Comment 3 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-09-03 08:58:27 UTC
tetex USE flag is automatically enabled if you have app-text/tetex installed on your system.
(unless you explicitly turned off by specifying USE="-tetex")

It isn't too much to install jadetex for those who have tetex, but I guess it is too much to
install jadetex and tetex for those who only want to install docbook-sgml-utils. Notably,
GNOME depends on scrollkeeper and scrollkeeper depends on docbook-sgml-utils, which
means if you want to install GNOME you need to install tetex (if you make docbook-sgml-utils
hard-depend on jadetex). This isn't welcomed for all GNOME users, IMO.

So I think the current DEPEND is correct (somewhat broken, though). What do you say
about adding einfo to dokbook-sgml-utils to inform users to install jadetex if they want
to use docbook2pdf?
Comment 4 Vincent Béron 2004-09-03 09:16:14 UTC
I'd rather have docbook-sgml-utils not install docbook2pdf if tetex is not USEd. At least it wouldn't produce a broken install. Same thing for other parts of the package.

As for not pulling tetex as a dependancy to docbook-sgml-utils, when I emerged kde, it pulled gtk+ as a dependancy with default USE flags, so pulling more than less is already done with some packages.

Is there a way to force optional dependancies to be installed if they're not already installed? Some sort of + USE flag (opposite of -)? That'd be useful when you don't want to look at each ebuild to determine what should be pulled manually before to get full functionnality (because it's not a hard dependancy).

Such broken dependancies/installations is why I'd much rather install everything at once (
Comment 5 Vincent Béron 2004-09-03 09:16:14 UTC
I'd rather have docbook-sgml-utils not install docbook2pdf if tetex is not USEd. At least it wouldn't produce a broken install. Same thing for other parts of the package.

As for not pulling tetex as a dependancy to docbook-sgml-utils, when I emerged kde, it pulled gtk+ as a dependancy with default USE flags, so pulling more than less is already done with some packages.

Is there a way to force optional dependancies to be installed if they're not already installed? Some sort of + USE flag (opposite of -)? That'd be useful when you don't want to look at each ebuild to determine what should be pulled manually before to get full functionnality (because it's not a hard dependancy).

Such broken dependancies/installations is why I'd much rather install everything at once (à la RedHat) rather than piecemeal everyday because something is missing.
Comment 6 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-09-03 10:47:02 UTC
Fair enough, I'll remove docbook2pdf if USE="-tetex" from next release
of docbook-sgml-utils (I'll add it to CVS soon). Gtk was emerged on your
system because USE="gtk" is system profile, so if you don't want it you
need to set USE="-gtk" explicitly. That is different story from tetex. 

We had a thread about this behaviour at gentoo-dev list last week, 
so if you are interested in this topic, search the list and join the discussion.
Comment 7 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-09-03 11:50:52 UTC
Fixed in CVS. Thanks for the bug report.