Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 520364 - dev-games/openscenegraph-3.0.1-r1 should not depend on dev-tcltk/itk
Summary: dev-games/openscenegraph-3.0.1-r1 should not depend on dev-tcltk/itk
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Maciej Mrozowski
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-20 22:20 UTC by Émeric Maschino
Modified: 2014-08-20 23:47 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
openscenegraph-3.0.1-r1.ebuild (openscenegraph-3.0.1-r1.ebuild,3.56 KB, text/plain)
2014-08-20 22:20 UTC, Émeric Maschino
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Émeric Maschino 2014-08-20 22:20:07 UTC
Created attachment 383230 [details]
openscenegraph-3.0.1-r1.ebuild

openscenegraph-3.0.1-r1.ebuild accepts itk as a IUSE flag. This ends up in selecting dev-tcltk/itk - Object Oriented Enhancements for Tcl/Tk (http://incrtcl.sourceforge.net/).

But OpenSceneGraph has nothing to do with this Object Oriented Enhancements for Tcl/Tk! OpenSceneGraph however needs ITK - Insight Segmentation and Registration Toolkit (http://www.itk.org) as an alternative to DCMTK - DICOM ToolKit (http://dicom.offis.de/dcmtk.php.en) to build the optional DICOM (a medical image format) plugin.

Unfortunately, neither DCMTK, nor ITK is available in Gentoo's official Portage tree. ITK is however available as sci-libs/itk (http://gpo.zugaina.org/sci-libs/itk) in the science overlay (http://gpo.zugaina.org/Overlays/science). 

So, the patched openscenegraph-3.0.1-r1.ebuild as attachment:
- drops the itk IUSE, RDEPEND-related statement and CMake-related argument passing;
- adds ITK to the "TODO:" comment;
- adds ia64 keyword (I'm running Gentoo on an ia64 workstation and OpenSceneGraph 3.0.1 is working fine there).

Thanks,

     Émeric
Comment 1 Émeric Maschino 2014-08-20 22:31:18 UTC
Well, if the science overlay is an "officially endorsed" Gentoo overlay, just let me know if it's thus acceptable to refer to sci-libs/itk there from Gentoo's openscenegraph-3.0.1.ebuild. I'll then provide an updated ebuild once sci-libs/itk is tested on my system (at least).

Thanks,

     Émeric
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2014-08-20 22:40:39 UTC
Comment on attachment 383230 [details]
openscenegraph-3.0.1-r1.ebuild

--- openscenegraph-3.0.1-r1.ebuild      2013-06-18 14:48:12.126981813 +0200
+++ -   2014-08-21 00:40:16.055003226 +0200
@@ -15,12 +15,12 @@

 LICENSE="wxWinLL-3 LGPL-2.1"
 SLOT="0"
-KEYWORDS="amd64 ppc x86"
-IUSE="curl debug doc examples ffmpeg fltk fox gdal gif glut gtk itk jpeg jpeg2k
+KEYWORDS="amd64 ia64 ppc x86"
+IUSE="curl debug doc examples ffmpeg fltk fox gdal gif glut gtk jpeg jpeg2k
 openexr openinventor osgapps pdf png qt4 sdl svg tiff truetype vnc wxwidgets xine xrandr zlib"

 # NOTE: OpenAL (support missing)
-# TODO: COLLADA, FBX, OpenVRML, Performer, DCMTK
+# TODO: COLLADA, DCMTK, FBX, ITK, OpenVRML, Performer
 RDEPEND="
        x11-libs/libSM
        x11-libs/libXext
@@ -43,7 +43,6 @@
        ffmpeg? ( virtual/ffmpeg )
        gdal? ( sci-libs/gdal )
        gif? ( media-libs/giflib )
-       itk? ( dev-tcltk/itk )
        jpeg? ( virtual/jpeg )
        jpeg2k? ( media-libs/jasper )
        openexr? (
@@ -107,7 +106,6 @@
                $(cmake-utils_use_with gif GIFLIB)
                $(cmake-utils_use_with glut)
                $(cmake-utils_use_with gtk GtkGl)
-               $(cmake-utils_use_with itk)
                $(cmake-utils_use_with jpeg)
                $(cmake-utils_use_with jpeg2k Jasper)
                $(cmake-utils_use_with openexr OpenEXR)
Comment 3 Maciej Mrozowski gentoo-dev 2014-08-20 23:47:32 UTC
What the hell was I thinking?! (looking at cvs blame)
Thanks for reporting!