summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-games/openscenegraph')
-rw-r--r--dev-games/openscenegraph/Manifest4
-rw-r--r--dev-games/openscenegraph/files/openscenegraph-2.8.2-libpng14.patch22
-rw-r--r--dev-games/openscenegraph/files/openscenegraph-2.8.2-magicoff.patch101
-rw-r--r--dev-games/openscenegraph/openscenegraph-2.8.2.ebuild72
4 files changed, 0 insertions, 199 deletions
diff --git a/dev-games/openscenegraph/Manifest b/dev-games/openscenegraph/Manifest
index 3d26f618550e..eb6236f8cfdf 100644
--- a/dev-games/openscenegraph/Manifest
+++ b/dev-games/openscenegraph/Manifest
@@ -1,9 +1,5 @@
-AUX openscenegraph-2.8.2-libpng14.patch 1076 RMD160 f4f5351da534df37e6279416ad31133226f16fe7 SHA1 6a2ab90a528ccd1ecac4da850632c08ca48371c8 SHA256 632d18877b39e731c4800475431a673e06f5d16e66c149dc74abc04c4f115b37
-AUX openscenegraph-2.8.2-magicoff.patch 2947 RMD160 1356636b0cda89bf30c2430d2c2b45ec6abc8431 SHA1 29a086b58934285f2a327490aeab1bac7f83ef6c SHA256 e0aa057cfad117fc209f309b5bb0e8a225ad312cc4b5a3154c2386abfaf0d9c6
AUX openscenegraph-2.8.3-cmake.patch 11939 RMD160 7685d55a3dc62aa373e98631b4589e9926cffb36 SHA1 52b5ca79fe325dc58a89980dd84760dbe09397f0 SHA256 8f29e3e8f41af0b120a16c8763c1e304d481fb52d92d2737fd97d30046d31531
-DIST OpenSceneGraph-2.8.2.zip 6472487 RMD160 3933b2395e36950c870f32db2fcddc7cc220e228 SHA1 f2f0a3285a022640345a81f536459f37f3f38d01 SHA256 0903e3a29eba07856c563d1b313f6b803bee702e9145a27677d8dcab57db98ab
DIST OpenSceneGraph-2.8.3.zip 6740017 RMD160 40a4988f4aefff7dbb6aab5225204ae41c945277 SHA1 90502e4cbd47aac1689cc39d25ab62bbe0bba9fc SHA256 3a7b80ea02eeb39c37ded4d07e28ed4071a4a0ceba93f2834d39be7f7487115e
-EBUILD openscenegraph-2.8.2.ebuild 2033 RMD160 121fd3130e97a5f6af6aa45a0ccba53ce3f0624e SHA1 99157400361380b0305cd8b08f70ba436c7318bb SHA256 c8f53cba239409c477dd499918cb34ccdd342eedc6f0005d691fa9bfd19f7c86
EBUILD openscenegraph-2.8.3.ebuild 3865 RMD160 363d767d03b411279188f64afea20781499e6bb9 SHA1 e882f9bd5bf4e7bcdfae0955755153961946731f SHA256 f0aba6dbc8acfc5a1f5b6799267ab8f037215f0f3047eb259f85f3c664f8fab5
MISC ChangeLog 5263 RMD160 37ccaa810e053dcff81ebcb96d0ddb40360e057e SHA1 418fb191829fe2272065aff2fa1b0de464b68407 SHA256 3b62508a01fd2f23a077b5623920033804a0679fa1d322ad58944757d33f3840
MISC metadata.xml 1115 RMD160 ca10b4eb4fdf20ffe7db6fe29ee2d290fda4a695 SHA1 eb1cb05392044f03e8d2a6ee5077d933044cabf9 SHA256 f3ea3669edf3bdc96dc9747d59447433fb9677185764d69a3aea6115b9d58643
diff --git a/dev-games/openscenegraph/files/openscenegraph-2.8.2-libpng14.patch b/dev-games/openscenegraph/files/openscenegraph-2.8.2-libpng14.patch
deleted file mode 100644
index 98b90dbaa206..000000000000
--- a/dev-games/openscenegraph/files/openscenegraph-2.8.2-libpng14.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-http://repos.archlinux.org/wsvn/community/openscenegraph/trunk/libpng14
-
---- src/osgPlugins/png/ReaderWriterPNG.cpp
-+++ src/osgPlugins/png/ReaderWriterPNG.cpp
-@@ -173,7 +173,7 @@ class ReaderWriterPNG : public osgDB::Re
- endinfo = png_create_info_struct(png);
-
- fin.read((char*)header,8);
-- if (fin.gcount() == 8 && png_check_sig(header, 8))
-+ if (fin.gcount() == 8 && !png_sig_cmp(header, 0, 8))
- png_set_read_fn(png,&fin,png_read_istream); //Use custom read function that will get data from istream
- else
- {
-@@ -224,7 +224,7 @@ class ReaderWriterPNG : public osgDB::Re
- if (color == PNG_COLOR_TYPE_PALETTE)
- png_set_palette_to_rgb(png);
- if (color == PNG_COLOR_TYPE_GRAY && depth < 8)
-- png_set_gray_1_2_4_to_8(png);
-+ png_set_expand_gray_1_2_4_to_8(png);
- if (png_get_valid(png, info, PNG_INFO_tRNS))
- png_set_tRNS_to_alpha(png);
-
diff --git a/dev-games/openscenegraph/files/openscenegraph-2.8.2-magicoff.patch b/dev-games/openscenegraph/files/openscenegraph-2.8.2-magicoff.patch
deleted file mode 100644
index 42aaa05aacc5..000000000000
--- a/dev-games/openscenegraph/files/openscenegraph-2.8.2-magicoff.patch
+++ /dev/null
@@ -1,101 +0,0 @@
---- CMakeLists.txt.old 2009-03-12 10:39:41.000000000 +0100
-+++ CMakeLists.txt 2009-03-12 10:47:37.000000000 +0100
-@@ -287,22 +287,45 @@
- INCLUDE(Find3rdPartyDependencies)
- ENDIF(WIN32)
-
-+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(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)
-+IF(ENABLE_XUL)
- FIND_PACKAGE(XUL)
-+ENDIF(ENABLE_XUL)
-
- #use pkg-config to find various modues
- INCLUDE(FindPkgConfig OPTIONAL)
-@@ -319,9 +342,13 @@
- PKG_CHECK_MODULES(GTKGL gtkglext-x11-1.0)
- ENDIF(WIN32)
-
-+ 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(PKG_CONFIG_FOUND)
-
-@@ -417,10 +444,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)
-@@ -843,3 +878,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")
---- src/osgViewer/CMakeLists.txt.old 2009-03-12 10:46:01.000000000 +0100
-+++ src/osgViewer/CMakeLists.txt 2009-03-12 10:46:48.000000000 +0100
-@@ -91,7 +91,9 @@
- INCLUDE(FindPkgConfig OPTIONAL)
- IF (PKG_CONFIG_FOUND)
-
-+ IF(ENABLE_XRANDR)
- PKG_CHECK_MODULES(XRANDR xrandr)
-+ ENDIF(ENABLE_XRANDR)
-
- IF (XRANDR_FOUND)
- OPTION(OSGVIEWER_USE_XRANDR "Set to ON to enable Xrandr support for GraphicsWindowX11." ON)
diff --git a/dev-games/openscenegraph/openscenegraph-2.8.2.ebuild b/dev-games/openscenegraph/openscenegraph-2.8.2.ebuild
deleted file mode 100644
index 6bc3d0b3cf86..000000000000
--- a/dev-games/openscenegraph/openscenegraph-2.8.2.ebuild
+++ /dev/null
@@ -1,72 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-games/openscenegraph/openscenegraph-2.8.2.ebuild,v 1.12 2010/09/17 11:07:44 scarabeus Exp $
-
-EAPI=2
-inherit eutils versionator base cmake-utils
-
-MY_PN="OpenSceneGraph"
-MY_P=${MY_PN}-${PV}
-
-DESCRIPTION="Open source high performance 3D graphics toolkit"
-HOMEPAGE="http://www.openscenegraph.org/projects/osg/"
-SRC_URI="http://www.openscenegraph.org/downloads/stable_releases/${MY_P}/source/${MY_P}.zip"
-
-LICENSE="wxWinLL-3 LGPL-2.1"
-SLOT="0"
-KEYWORDS="amd64 ppc sparc x86"
-IUSE="curl gif jpeg jpeg2k osgapps pdf png svg tiff truetype xine xrandr"
-
-RDEPEND="virtual/opengl
- png? ( media-libs/libpng )
- jpeg? ( media-libs/jpeg )
- gif? ( media-libs/giflib )
- tiff? ( media-libs/tiff )
- truetype? ( media-libs/freetype:2 )
- x11-libs/libSM
- x11-libs/libXext
- xrandr? ( x11-libs/libXrandr )
- curl? ( net-misc/curl )
- svg? ( gnome-base/librsvg )
- jpeg2k? ( media-libs/jasper )
- xine? ( media-libs/xine-lib )
- pdf? ( >=app-text/poppler-0.12.3-r3[cairo] )"
-DEPEND="${RDEPEND}
- dev-util/pkgconfig
- app-arch/unzip"
-
-S=${WORKDIR}/${MY_P}
-
-DOCS="AUTHORS.txt ChangeLog NEWS.txt"
-
-PATCHES=(
- "${FILESDIR}"/${P}-magicoff.patch
- "${FILESDIR}"/${P}-libpng14.patch
-)
-
-src_configure() {
- mycmakeargs="
- $(cmake-utils_use_build osgapps OSG_APPLICATIONS)
- -DENABLE_XUL=OFF
- $(cmake-utils_use_enable pdf)
- $(cmake-utils_use_enable xine)
- $(cmake-utils_use_enable jpeg2k JPEG2K)
- $(cmake-utils_use_enable svg)
- $(cmake-utils_use_enable truetype FREETYPE)
- $(cmake-utils_use_enable curl)
- $(cmake-utils_use_enable gif)
- $(cmake-utils_use_enable png)
- $(cmake-utils_use_enable jpeg)
- $(cmake-utils_use_enable tiff)
- $(cmake-utils_use_enable xrandr)
- "
- cmake-utils_src_configure
-}
-
-pkg_postinst() {
- if has_version 'dev-games/simgear'; then
- ewarn "dev-games/simgear has been detected and may need to be rebuilt now."
- ewarn "Please run the following:"
- ewarn " # emerge -1 dev-games/simgear"
- fi
-}