Hello, While dev-games/openscenegraph-3.0.1-r1.ebuild provides old stable OpenSceneGraph (OSG) 3.0.1, current stable OSG 3.2.1 isn't available in Gentoo's Portage tree. This is what I propose in the attached openscenegraph-3.2.1.ebuild, with accompanying files/openscenegraph-3.2.1-cmake.patch and updated metadata.xml files. From OSG 3.0.1, OSG 3.2.1 on Linux: - removed support for OpenAL (http://www.openal.org/); - renamed FreeType support to Freetype (lower case t in "type"); - added support for the Qt5 framework (http://qt-project.org/qt5); - added dependency on the libgta library (http://gta.nongnu.org/libgta.html) for building the GTA plugin; - added dependency on the Asio C++ library (http://think-async.com/) for building the RestHTTP plugin. The Qt5 framework and libgta library aren't available in Gentoo's Portage tree, so no particular change for these was made in the ebuild. By contrast, the Asio C++ library is available as dev-cpp/asio, so a new "asio" IUSE flag was introduced in the ebuild, with accompanying RDEPEND statement and CMake argument passing. The metadata.xml file was also updated with a description of the dev-cpp/asio package (BTW, it's not clear to me if this indeed should take place there, as alluded to by the comment in /usr/portage/profiles/use.local.desc, or if this should rather be added to /usr/portage/profiles/use.desc, as this one seems to still be current). As for OSG 3.0.1, an OSG 3.2.1-specific CMake patch: - replaces the FIND_PACKAGE use with MACRO_OPTIONAL_FIND_PACKAGE use, when appropriate; - fixes the FLTK CMake detection; - updates various Gentoo's specific directories (BTW, do we really need to install the OSG examples in /usr/bin directory rather than in the default /usr/share/OpenSceneGraph/bin directory?). It's noteworthy that the changes of the OSG 3.0.1 patches against the libav and xine libraries have been merged upstream, so no more patching is necessary for these in OSG 3.2.1. I'm running OSG 3.2.x for quite some time now on my ia64 workstation without noticeable problems. Hope this will help introducing OSG 3.2.1 in Gentoo :-) Émeric
Created attachment 383292 [details] New dev-games/openscenegraph-3.2.1.ebuild introducing OSG 3.2.1
Created attachment 383294 [details, diff] OSG 3.2.1-specific patch to add to dev-games/openscenegraph/files/
Created attachment 383296 [details] Updated dev-games/openscenegraph/metadata.xml with dev-cpp/asio description
(In reply to Émeric Maschino from comment #1) > Created attachment 383292 [details] > New dev-games/openscenegraph-3.2.1.ebuild introducing OSG 3.2.1 As you may have noticed, while OSG 3.2.1 is the current stable release, its source code still lies in the developer_releases section of the OSG website and not in the stable_releases section as one would expect. Hence the SRC_URI set to http://www.openscenegraph.org/downloads/developer_releases/. It's not a mistake! Émeric
Is this coordinated with the process happening in gamerlay overlay? There is an __stable__ (WTF?!) 3.2.0 version with an non-functioning USE=truetype, I'm trying to fix right now.
(In reply to Michael Weber from comment #5) > Is this coordinated with the process happening in gamerlay overlay? > There is an __stable__ (WTF?!) 3.2.0 version with an non-functioning > USE=truetype, I'm trying to fix right now. No, not at all. I didn't even know the existence of this overlay. OpenSceneGraph (OSG) 3.2.0 was old stable of current 3.2 branch. Now, it's 3.2.1 since July 4th, IIRC. Anyway, looking at 3.2.0 ebuild provided by gamerlay, besides being EAPI<5, it: - still makes incorrect reference to tcl-tk/itk rather than (not available in Gentoo's Portage tree) sci-libs/itk. I've fixed this for current 3.0.1 ebuild (bug #520364) and obviously have it in my 3.2.1 ebuild; - didn't made the change from uppercase "T" to lowercase "t" (from "FreeType" to "Freetype") in CMake configuration. Could this be your issue with the non-working "truetype" USE flag? - didn't add an "asio" USE flag like I did in my 3.2.1 ebuild. This one installs dev-cpp/asio that's required for building the RestHTTP plugin; - didn't track the newly added GTA plugin that can't be built at the moment as libgta isn't available in Gentoo's Portage tree. The day libgta enters Gentoo's Portage tree, GTA should be removed from the TODO comment and a proper "gta" USE flag should be introduced. Émeric
+*openscenegraph-3.2.1 (10 Oct 2014) + + 10 Oct 2014; Julian Ospald <hasufell@gentoo.org> + +openscenegraph-3.2.1.ebuild, +files/openscenegraph-3.2.1-cmake.patch: + version bump wrt #520442, patch and ebuild from Émeric Maschino