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

Bug 132538

Summary: app-text/asciidoc support for the a2x toolchain wrapper
Product: Gentoo Linux Reporter: Thomas Pani <thomas.pani>
Component: New packagesAssignee: Gentoo SGML project <sgml>
Status: RESOLVED FIXED    
Severity: enhancement CC: java, wschlich
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 153229    
Bug Blocks:    
Attachments: app-text/asciidoc-7.1.2-r1 w/ a2x support ebuild

Description Thomas Pani 2006-05-07 02:53:33 UTC
since 7.1.0 asciidoc comes with the a2x toolchain wrapper utility to get a working DocBook XML toolchain. please add support for this.
Comment 1 Thomas Pani 2006-05-07 02:58:10 UTC
Created attachment 86341 [details]
app-text/asciidoc-7.1.2-r1 w/ a2x support ebuild

this works for me on x86
Comment 2 Martin Ehmsen (RETIRED) gentoo-dev 2006-05-07 04:33:00 UTC
There are some big problems in including a2x since it requires (among other things) dev-java/fop and dev-libs/libxslt.
The first one only has: KEYWORDS="x86 amd64 ~ppc sparc"
and the last one misses the ppc-macos keyword.
So either we need to get these packages marked up to asciidoc's keywords or we need to drop (many) keywords.
I don't like dropping that many keywords (I'm not sure that we can), but I'm also not sure that fop can get all the needed keywords (being a java app and all).

nattfodd: It seems you have bumped this a couple of times... what do you think?
Comment 3 Alexandre Buisse (RETIRED) gentoo-dev 2006-05-07 04:52:48 UTC
There are several problems with this ebuild, mainly that dev-java/fop isn't keyworded for some arches that support asciidoc. The best solution would be to keyword dev-java/fop for those arches first (if it can be done), or we'll have to either remove support for pdf with a2x or unkeyword a lot of arches...

Also, the 'text' USE flag doesn't exist.


@Martin: we replied the same thing at the same time :)
Adding java herd to Cc to see if that can be done.
Comment 4 Josh Nichols (RETIRED) gentoo-dev 2006-10-29 06:59:00 UTC
If the feature that requires fop is optional, I would think you'd want it to be controlled by a USE flag. That way, you don't have to drop all the keywords for archs where we don't support Java... but instead, you just use.mask the use flag on those archs.
Comment 5 MATSUU Takuto (RETIRED) gentoo-dev 2008-01-24 05:50:07 UTC
asciidoc-8.1.0 installs a2x toolchain wrapper to /usr/bin.