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

Bug 304767

Summary: sys-devel/icecream: use meinproc4 instead of meinproc for manpages?
Product: Gentoo Linux Reporter: Samuli Suominen (RETIRED) <ssuominen>
Component: Current packagesAssignee: Gentoo Cluster Team <cluster>
Status: RESOLVED WONTFIX    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Samuli Suominen (RETIRED) gentoo-dev 2010-02-12 20:04:48 UTC
31 Dec 2009; Samuli Suominen <ssuominen@gentoo.org> icecream-0.9.2.ebuild,
icecream-0.9.3.ebuild, icecream-0.9.4.ebuild:
Remove kde-base/kdelibs:3.5 USE="doc" depend.

See following commented out lines in 0.9.4's ebuild:

# compile manpages...yeah, we need meinproc, ergo kdelibs for this :(
#if use doc; then
#       cd doc
#       for docfile in *.docbook; do
#               outputfile="${docfile/man-/}"
#               outputfile="${outputfile/.docbook/}"

#               meinproc \
#               --stylesheet /usr/kde/3.5/share/apps/ksgmltools2/customization/kde-man.xsl \
#               "${docfile}" && \
#               mv manpage.troff "${outputfile}" || \
#               die "compiling manpages failed"
#       done
#fi

And then,

$ qfile -v meinproc4
kde-base/kdelibs-4.4.0 (/usr/bin/meinproc4)

$ meinproc4
Usage: meinproc4 [KDE-options] [options] xml
KDE Translator for XML

If it's possible to use meinproc4, do it.
Comment 1 Tomáš Chvátal (RETIRED) gentoo-dev 2010-09-18 09:51:10 UTC
This is not possible, meinproc4 parses it differently and it can be in multiple locations thanks to kdeprefix. So generating it is bit magical and we would need to use kde4 eclasses for which i don't feel brave enough :)

Altho if you find some robust yet simple way how to generate this docs feel free to reopen this bug or open new one.
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2010-09-18 09:54:28 UTC
(In reply to comment #1)
> This is not possible, meinproc4 parses it differently and it can be in multiple
> locations thanks to kdeprefix. So generating it is bit magical and we would
> need to use kde4 eclasses for which i don't feel brave enough :)
> 
> Altho if you find some robust yet simple way how to generate this docs feel
> free to reopen this bug or open new one.
> 

Oh, I have no personal intrest in this bug whatsoever -- it was only to serve the purpose of informing maintainers that the old way went away with KDE3. WONTFIX is fine by me.