Hi Alfrado,

I am a bit out of my depth with gentoo specifcs as I'm not a gentoo
user, so I'm still a bit lost in the emerge process.  Please correct
me if I get the wrong end of the stick..

You have the openscenegraph-2.8.0,ebuild, that when you merge in
openscenegraph-2.8.0 the script tells gentoo what sources to pull in
from where, the dependencies to pull in and how to compile the source
package.

The entry:

RDEPEND="virtual/opengl
        virtual/glu
        net-misc/curl
        xulrunner? ( net-libs/xulrunner )
        gnome-base/librsvg
        media-libs/jpeg
        media-libs/giflib
        media-libs/tiff
        app-text/poppler-bindings"

Tells the merge to pull in these dependencies... Is this right?

If I'm reading things right then perhaps the solution is to have
multiple gentoo .ebuild scripts for the different OSG components.  In
OSG-2.8 we got a bit more organised w.r.t how we map the overall OSG
source distribution to binary packages, and utilised CPack support in
this process.  The granularity/naming of packages we have adopted are
list on or wiki at:

    http://www.openscenegraph.org/projects/osg/wiki/Community/Packaging

In particular I'd draw your attention to use keeping optional plugins
like the gecko plugin that requires libxul/xulrunner1.8.x to be part
of separate packages, in this instance libopenscenegraph-gecko.

Dependencies like librsvg and poppler are also just like this,
separate packages to the core one.

The core libopenscenegraph package includes standard imaging plugins
such as jpeg, gif etc, which my guess probably maps to
openscenegraph-2.8.0.ebuild, but perhaps introducing a leaner
libopenscenegraph-2.8.0.ebuild might fit this mapping well.  Then an
openscenegraph-2.8.0.ebuild would then add the applications to the
library mix, and so on for the rest of the packages that can built
from the OSG source distribution.

FYI, the naming we've adopted fits in with the existing naming that
debian OSG maintainer Loic Dachary adopted long before the core OSG
team got it's act sorted w.r.t packaging in 2.8.

Must admit, I've very impressed that you're diving into helping get
things sorted out on upstream projects, says a lot for gentoo and the
responsiveness of its dev's and community :-)

Cheers,
Robert.
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to