Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 155446 - app-office/lyx HTML and Docbook optional support ebuild
Summary: app-office/lyx HTML and Docbook optional support ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: TeX project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-16 20:52 UTC by Gioele Barabucci
Modified: 2008-08-29 19:57 UTC (History)
3 users (show)

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


Attachments
optional support for HTML output and Docbook editing (lyx-1.4.2-r1.ebuild,5.06 KB, text/plain)
2006-11-16 20:53 UTC, Gioele Barabucci
Details
optional support for HTML output and Docbook editing (diff against lyx-1.4.2.ebuild) (optional-html-docbook.patch,1.35 KB, patch)
2006-11-16 20:55 UTC, Gioele Barabucci
Details | Diff
new ebuild without dependencies on additional programs (lyx-1.4.2-r2.ebuild,4.90 KB, text/plain)
2006-11-16 20:57 UTC, Gioele Barabucci
Details
new ebuild without dependencies on additional programs (diff against lyx-1.4.2.ebuild) (lyx-no-deps.patch,1016 bytes, patch)
2006-11-16 20:58 UTC, Gioele Barabucci
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Gioele Barabucci 2006-11-16 20:52:00 UTC
The first attached ebuild (and diff) enables optional support of
latex2html and docbook editing in LyX.

The second attached ebuild removes this optional support altogether.

Why remove these programs from the ebuild dependencies?
latex2html and sgmltools-lite are just two of the optional tools you
can install to gain access to the endless number of LyX supported
features; there are so many other things that one can install
to enable more features in LyX: other graphical converters,
document converters, other LaTeX styles, other LaTeX packages...

These are purely runtime requirements, completely independent from
the LyX compilation. I do not think that these additional packages
should be included in RDEPEND with optional use flags, as gentoo
does now, because recompiling the whole LyX just to get them is not very clever.
I think that the short-term solution is to add many einfo at the
end of the ebuild to list the missing packages that the user could
install. In the long-term, ebuilds need a way to "suggest", to use
Debian terminology, separate runtime dependencies that one can install
without the need to recompile the whole program.
Comment 1 Gioele Barabucci 2006-11-16 20:53:34 UTC
Created attachment 102177 [details]
optional support for HTML output and Docbook editing
Comment 2 Gioele Barabucci 2006-11-16 20:55:51 UTC
Created attachment 102178 [details, diff]
optional support for HTML output and Docbook editing (diff against lyx-1.4.2.ebuild)
Comment 3 Gioele Barabucci 2006-11-16 20:57:53 UTC
Created attachment 102180 [details]
new ebuild without dependencies on additional programs
Comment 4 Gioele Barabucci 2006-11-16 20:58:50 UTC
Created attachment 102182 [details, diff]
new ebuild without dependencies on additional programs (diff against lyx-1.4.2.ebuild)
Comment 5 pavel sanda 2008-05-26 20:16:58 UTC
latex2html is currently used in ebuilds.
as far as docbook support i think last version when docbook support worked
in lyx was some 1.2 or so. are you able to work with lyx+docbook?
Comment 6 pavel sanda 2008-06-24 21:09:54 UTC
docbook useflag added to lyx 1.6 ebuild
Comment 7 pavel sanda 2008-08-29 19:04:13 UTC
i think we can close this, since 1.6 is in tree.
Comment 8 Alexis Ballier gentoo-dev 2008-08-29 19:57:36 UTC
(In reply to comment #7)
> i think we can close this, since 1.6 is in tree.
> 

yep they're now optional and controlled via useflags for the 1.6 series