From ecf460fca3c5cd7a0a664f8e523c5815cc7e50ee Mon Sep 17 00:00:00 2001 From: Christian Schmitt Date: Thu, 15 Jul 2010 11:31:27 +0200 Subject: This is the first revision after moving the repo to GIT. Some cleanups compared to SVN --- dev-games/openscenegraph/Manifest | 5 + .../files/openscenegraph-magicoff.patch | 91 ++++++++++++++ .../files/openscenegraph-mipmapping.patch | 28 +++++ .../openscenegraph/openscenegraph-2.9.7.ebuild | 68 +++++++++++ .../openscenegraph/openscenegraph-9999.ebuild | 62 ++++++++++ dev-games/simgear-cs/Manifest | 1 + dev-games/simgear-cs/simgear-cs-9999.ebuild | 41 +++++++ dev-games/simgear/Manifest | 1 + dev-games/simgear/simgear-9999.ebuild | 35 ++++++ dev-libs/newmat/Manifest | 2 + dev-libs/newmat/newmat-11.ebuild | 27 +++++ games-simulation/fgrun/Manifest | 2 + games-simulation/fgrun/fgrun-9999.ebuild | 49 ++++++++ .../fgrun/files/fgrun-1.5.1-fltk.patch | 13 ++ games-simulation/flightgear/Manifest | 1 + games-simulation/flightgear/flightgear-9999.ebuild | 44 +++++++ games-util/taxidraw/Manifest | 1 + games-util/taxidraw/taxidraw-9999.ebuild | 43 +++++++ games-util/terragear/Manifest | 3 + .../terragear/files/terragear-setrlimit.patch | 36 ++++++ games-util/terragear/files/terragear-use-agg.patch | 134 +++++++++++++++++++++ games-util/terragear/terragear-9999.ebuild | 44 +++++++ 22 files changed, 731 insertions(+) create mode 100644 dev-games/openscenegraph/Manifest create mode 100644 dev-games/openscenegraph/files/openscenegraph-magicoff.patch create mode 100644 dev-games/openscenegraph/files/openscenegraph-mipmapping.patch create mode 100644 dev-games/openscenegraph/openscenegraph-2.9.7.ebuild create mode 100644 dev-games/openscenegraph/openscenegraph-9999.ebuild create mode 100644 dev-games/simgear-cs/Manifest create mode 100644 dev-games/simgear-cs/simgear-cs-9999.ebuild create mode 100644 dev-games/simgear/Manifest create mode 100644 dev-games/simgear/simgear-9999.ebuild create mode 100644 dev-libs/newmat/Manifest create mode 100644 dev-libs/newmat/newmat-11.ebuild create mode 100644 games-simulation/fgrun/Manifest create mode 100644 games-simulation/fgrun/fgrun-9999.ebuild create mode 100644 games-simulation/fgrun/files/fgrun-1.5.1-fltk.patch create mode 100644 games-simulation/flightgear/Manifest create mode 100644 games-simulation/flightgear/flightgear-9999.ebuild create mode 100644 games-util/taxidraw/Manifest create mode 100644 games-util/taxidraw/taxidraw-9999.ebuild create mode 100644 games-util/terragear/Manifest create mode 100644 games-util/terragear/files/terragear-setrlimit.patch create mode 100644 games-util/terragear/files/terragear-use-agg.patch create mode 100644 games-util/terragear/terragear-9999.ebuild diff --git a/dev-games/openscenegraph/Manifest b/dev-games/openscenegraph/Manifest new file mode 100644 index 0000000..882d6c0 --- /dev/null +++ b/dev-games/openscenegraph/Manifest @@ -0,0 +1,5 @@ +AUX openscenegraph-magicoff.patch 2468 RMD160 5db4bc6db10c5adb68cf1dd53a30ff37b8d7127a SHA1 260926181da152501ef78d3ce34c2afad623e029 SHA256 c0b243b5a3812715f8e6a8da198de3babadb6f2ef6bd6a1f4eeeaf306e18bbc8 +AUX openscenegraph-mipmapping.patch 968 RMD160 eec95baa557bcd6f7c41d48412e21107f765e7ed SHA1 03e7104562e37dd1e0fcc1a87cdc5b96c1705943 SHA256 f39353493f0e004aa26c44e094884746939267e70a164856ab945646345e0e23 +DIST OpenSceneGraph-2.9.7.zip 7656130 RMD160 d120307736cb56116266a899a7359b702fe69813 SHA1 5b374ef8459e95fc1b9eeebafedfb9d58a6b2290 SHA256 ae0436a854b97a9efb7fe2c8a38630dab5182b1ea23b984ea0ea17fc789a5dd2 +EBUILD openscenegraph-2.9.7.ebuild 1877 RMD160 cef3edbe5f54ea3cfb6724ec798b941833a0d6a1 SHA1 7b4559a47e18797f4d5ceb7a6cf60f82b5745292 SHA256 a0f07b3609384efcbd14f4bf92e09e905b5e5a2f72924ce755186627872eb503 +EBUILD openscenegraph-9999.ebuild 1736 RMD160 d3941be150ee5abf3d60ecdbd050189c4b886f48 SHA1 8145eae51456610764ff0bf9f0eeae27ab36ada3 SHA256 b1455794c95bfedd426cde45309b36d3900673120c35f57947f8695bf9d5a075 diff --git a/dev-games/openscenegraph/files/openscenegraph-magicoff.patch b/dev-games/openscenegraph/files/openscenegraph-magicoff.patch new file mode 100644 index 0000000..bbe3363 --- /dev/null +++ b/dev-games/openscenegraph/files/openscenegraph-magicoff.patch @@ -0,0 +1,91 @@ +--- CMakeLists.txt 2009-12-14 03:00:09.000000000 +0100 ++++ CMakeLists.txt.new 2009-12-14 03:06:33.000000000 +0100 +@@ -344,24 +344,45 @@ + INCLUDE(Find3rdPartyDependencies) + ENDIF() + ++OPTION(ENABLE_XUL "Enable gecko plugin" ON) ++OPTION(ENABLE_PDF "Enable pdf plugin" ON) ++OPTION(ENABLE_XINE "Enable xine plugin" ON) ++OPTION(ENABLE_JPEG2K "Enable jp2 plugin" ON) ++OPTION(ENABLE_SVG "Enable svg plugin" ON) ++OPTION(ENABLE_FREETYPE "Enable freetype plugin" ON) ++OPTION(ENABLE_CURL "Enable curl plugin" ON) ++OPTION(ENABLE_GIF "Enable gif plugin" ON) ++OPTION(ENABLE_JPEG "Enable jpeg plugin" ON) ++OPTION(ENABLE_PNG "Enable png plugin" ON) ++OPTION(ENABLE_TIFF "Enable tiff plugin" ON) ++OPTION(ENABLE_XRANDR "Enable xrandr usage" ON) ++ + # Common to all platforms: ++IF(ENABLE_FREETYPE) + FIND_PACKAGE(FreeType) ++ENDIF(ENABLE_FREETYPE) + FIND_PACKAGE(Inventor) ++IF(ENABLE_JPEG2K) + FIND_PACKAGE(Jasper) ++ENDIF(ENABLE_JPEG2K) + FIND_PACKAGE(OpenEXR) + FIND_PACKAGE(COLLADA) +-FIND_PACKAGE(FBX) + FIND_PACKAGE(ZLIB) ++IF(ENABLE_XINE) + FIND_PACKAGE(Xine) ++ENDIF(ENABLE_XINE) + FIND_PACKAGE(OpenVRML) + FIND_PACKAGE(Performer) + FIND_PACKAGE(GDAL) ++IF(ENABLE_CURL) + FIND_PACKAGE(CURL) ++ENDIF(ENABLE_CURL) + FIND_PACKAGE(ITK) + FIND_PACKAGE(LibVNCServer) + FIND_PACKAGE(OurDCMTK) +-FIND_PACKAGE(OpenAL) ++IF(ENABLE_XUL) + FIND_PACKAGE(XUL) ++ENDIF(ENABLE_XUL) + FIND_PACKAGE(FFmpeg) + FIND_PACKAGE(DirectShow) + FIND_PACKAGE(SDL) +@@ -381,9 +402,13 @@ + PKG_CHECK_MODULES(GTKGL gtkglext-x11-1.0) + ENDIF() + ++ IF(ENABLE_SVG) + PKG_CHECK_MODULES(RSVG librsvg-2.0) ++ ENDIF(ENABLE_SVG) + PKG_CHECK_MODULES(CAIRO cairo) ++ IF(ENABLE_PDF) + PKG_CHECK_MODULES(POPPLER poppler-glib) ++ ENDIF(ENABLE_PDF) + + ENDIF() + +@@ -479,10 +504,18 @@ + # Image readers/writers depend on 3rd party libraries except for OS X which + # can use Quicktime. + IF(NOT APPLE) ++ IF(ENABLE_GIF) + FIND_PACKAGE(GIFLIB) ++ ENDIF(ENABLE_GIF) ++ IF(ENABLE_JPEG) + FIND_PACKAGE(JPEG) ++ ENDIF(ENABLE_JPEG) ++ IF(ENABLE_PNG) + FIND_PACKAGE(PNG) ++ ENDIF(ENABLE_PNG) ++ IF(ENABLE_TIFF) + FIND_PACKAGE(TIFF) ++ ENDIF(ENABLE_TIFF) + + # QuickTime is required for OS X, but optional for Windows. + IF(WIN32) +@@ -919,3 +952,7 @@ + IMMEDIATE @ONLY) + ADD_CUSTOM_TARGET(uninstall + "${CMAKE_COMMAND}" -P "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake") ++ ++MESSAGE(STATUS "<<< Gentoo configuration >>> ++Build type: ${CMAKE_BUILD_TYPE} ++Install path: ${CMAKE_INSTALL_PREFIX}\n") diff --git a/dev-games/openscenegraph/files/openscenegraph-mipmapping.patch b/dev-games/openscenegraph/files/openscenegraph-mipmapping.patch new file mode 100644 index 0000000..13b4017 --- /dev/null +++ b/dev-games/openscenegraph/files/openscenegraph-mipmapping.patch @@ -0,0 +1,28 @@ +Index: src/osg/Texture.cpp +=================================================================== +--- src/osg/Texture.cpp (revision 11105) ++++ src/osg/Texture.cpp (working copy) +@@ -937,7 +937,7 @@ + _wrap_s(CLAMP), + _wrap_t(CLAMP), + _wrap_r(CLAMP), +- _min_filter(LINEAR_MIPMAP_LINEAR), // trilinear ++ _min_filter(LINEAR), + _mag_filter(LINEAR), + _maxAnisotropy(1.0f), + _useHardwareMipMapGeneration(true), +@@ -1063,12 +1063,14 @@ + + void Texture::setFilter(FilterParameter which, FilterMode filter) + { ++#if 0 + switch( which ) + { + case MIN_FILTER : _min_filter = filter; dirtyTextureParameters(); break; + case MAG_FILTER : _mag_filter = filter; dirtyTextureParameters(); break; + default : notify(WARN)<<"Error: invalid 'which' passed Texture::setFilter("<<(unsigned int)which<<","<<(unsigned int)filter<<")"<