First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 223863
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: C++ Team <cpp@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Sven Wehner <sven@atelophobia.de>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 223863 depends on: Show dependency tree
Bug 223863 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-05-27 16:42 0000
Hi,

this is a really trivial bug concerning xerces-c-2.7.0-r1, but it's annoying
anyway:
If you use the "doc" use flag for dev-libs/xerces-c, the ebuild installs some
html files (doxygen results) to /usr/share/doc/xerces-c-2.7.0-r1/ (with the
revision) but the samples gets to /usr/share/doc/xerces-c-2.7.0/ (without the
revision). Which is a little bit annoying, because you need the version.incl
file to compile the samples and because of this you need to (first bunzip2
version.incl) move it to the samples folder and then to "export
XERCESCROOT=/usr/share/doc/xerces-c-2.7.0/" and compile.

In the ebuild...
----- snip -----
src_install () {
    export XERCESCROOT="${S}"
    cd "${S}"/src/xercesc
    emake DESTDIR="${D}" MLIBDIR=$(get_libdir) install || die "emake failed"

    if use doc; then
        dodir /usr/share/doc/${P}
        cp -pPR "${S}"/samples "${D}"/usr/share/doc/${P}
        cd "${S}"/doc; doxygen
        dohtml -r html
    fi

    cd "${S}"
    dodoc STATUS credits.txt version.incl
    dohtml Readme.html

    unset XERCESCROOT
}
----- snap -----
... you could change "cp -pPR "${S}"/samples "${D}"/usr/share/doc/${P}" to "cp
-pPR "${S}"/samples "${D}"/usr/share/doc/${PF}" and (even better) compile the
samples directly...

Reproducible: Always

Steps to Reproduce:



Expected Results:  
It would be great, if the whole documentation is within a single folder and
version.incl is usable from the beginning.

------- Comment #1 From Tiziano Müller 2008-06-07 14:36:06 0000 -------
Fully agree with the install path.
But I won't compile the stuff...

First Last Prev Next    No search results available      Search page      Enter new bug