Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 537094

Summary: app-text/xmlto should alternatively depend on www-client/elinks
Product: Gentoo Linux Reporter: igel <mathiaswe>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED UPSTREAM    
Severity: normal CC: jer
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch for xmlto to use elinks if it exists
xdg-utils ebuild respecting the possibility for xmlto to use elinks

Description igel 2015-01-20 01:07:57 UTC
x11-misc/xdg-utils depends on links/lynx/w3m in order to build manpages using xmlto. However, elinks works just as well (I can compile xdg-utils fine if prior to compilation, I create a symlink to elinks: ln -s /usr/bin/elinks /usr/bin/links). I'll submit a patch to the dude who writes xmlto tomorrow, but maybe it's worth changing the ebuild to do something like the quick&dirty stuff I did above + add elinks to the "||" in the dependency?
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2015-01-20 07:32:37 UTC
(In reply to igel from comment #0)
> I'll submit a patch to the dude who writes xmlto tomorrow,

Great.

> but maybe it's worth changing the ebuild to do something
> like the quick&dirty stuff I did above + add elinks to the "||" in the
> dependency?

Quick and dirty is not exactly how we should run this distro, right?
Comment 2 igel 2015-01-20 12:27:52 UTC
Created attachment 394402 [details, diff]
patch for xmlto to use elinks if it exists

here's the patch if anyone with the same problem stumbles upon this.
Comment 3 igel 2015-01-20 12:32:09 UTC
Created attachment 394404 [details]
xdg-utils ebuild respecting the possibility for xmlto to use elinks

Note that, the whole reason for this bugreport is that x11-misc/xdg-utils depends on links/lynx/w3m because of the limitation of the unpatched app-text/xmlto. Thus, this modified ebuild for xdg-utils is warranted.