summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2015-05-13 16:31:25 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2015-05-13 16:31:25 +0000
commitc067f421ac77aeb4a1dff3c56743210163bd522c (patch)
tree6878a5d0ce6bde00acfe13066c37a151d4d55e2d /dev-games
parentold (diff)
downloadgentoo-2-c067f421ac77aeb4a1dff3c56743210163bd522c.tar.gz
gentoo-2-c067f421ac77aeb4a1dff3c56743210163bd522c.tar.bz2
gentoo-2-c067f421ac77aeb4a1dff3c56743210163bd522c.zip
old
(Portage version: 2.2.18/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'dev-games')
-rw-r--r--dev-games/ogre/ChangeLog7
-rw-r--r--dev-games/ogre/files/ogre-1.8.1-flags.patch21
-rw-r--r--dev-games/ogre/files/ogre-1.8.1-gles2.patch22
-rw-r--r--dev-games/ogre/files/ogre-1.8.1-threading.patch77
-rw-r--r--dev-games/ogre/ogre-1.8.1.ebuild97
5 files changed, 6 insertions, 218 deletions
diff --git a/dev-games/ogre/ChangeLog b/dev-games/ogre/ChangeLog
index 80d83bc59e78..ee722c3c74b3 100644
--- a/dev-games/ogre/ChangeLog
+++ b/dev-games/ogre/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-games/ogre
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-games/ogre/ChangeLog,v 1.103 2015/05/13 09:28:29 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-games/ogre/ChangeLog,v 1.104 2015/05/13 16:31:25 mr_bones_ Exp $
+
+ 13 May 2015; Michael Sterrett <mr_bones_@gentoo.org>
+ -files/ogre-1.8.1-flags.patch, -files/ogre-1.8.1-gles2.patch,
+ -files/ogre-1.8.1-threading.patch, -ogre-1.8.1.ebuild:
+ old
13 May 2015; Agostino Sarubbo <ago@gentoo.org> ogre-1.9.0-r1.ebuild:
Stable for x86, wrt bug #548492
diff --git a/dev-games/ogre/files/ogre-1.8.1-flags.patch b/dev-games/ogre/files/ogre-1.8.1-flags.patch
deleted file mode 100644
index 3f8e89a21a33..000000000000
--- a/dev-games/ogre/files/ogre-1.8.1-flags.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-From: Julian Ospald <hasufell@gentoo.org>
-Date: Wed May 30 13:45:46 UTC 2012
-Subject: build system
-
-remove pre-set flags
-
---- CMakeLists.txt
-+++ CMakeLists.txt
-@@ -97,12 +97,6 @@
- if (OGRE_GCC_HAS_SSE)
- add_definitions(-msse)
- endif ()
-- # This is a set of sensible warnings that provide meaningful output
-- set(OGRE_WARNING_FLAGS "-Wno-deprecated -Wall -Wctor-dtor-privacy -Winit-self -Wno-overloaded-virtual -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -pedantic -Wshadow -Wno-missing-field-initializers -Wno-long-long")
-- if (NOT APPLE)
-- set(OGRE_WARNING_FLAGS "${OGRE_WARNING_FLAGS} -Wno-unused-but-set-parameter")
-- endif ()
-- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${OGRE_WARNING_FLAGS}")
- endif ()
- if (MSVC)
- if (CMAKE_BUILD_TOOL STREQUAL "nmake")
diff --git a/dev-games/ogre/files/ogre-1.8.1-gles2.patch b/dev-games/ogre/files/ogre-1.8.1-gles2.patch
deleted file mode 100644
index 6c9a3f33b2a5..000000000000
--- a/dev-games/ogre/files/ogre-1.8.1-gles2.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-https://bitbucket.org/sinbad/ogre/commits/6e2e797877491fa9bea169e063a9663834977d8e
-
---- RenderSystems/GLES2/src/GLSLES/src/OgreGLSLESProgramPipeline.cpp
-+++ RenderSystems/GLES2/src/GLSLES/src/OgreGLSLESProgramPipeline.cpp
-@@ -138,7 +138,7 @@
- GLint binaryLength = 0;
-
- #if GL_OES_get_program_binary
-- glGetProgramiv(mGLHandle, GL_PROGRAM_BINARY_LENGTH_OES, &binaryLength);
-+ glGetProgramiv(mGLProgramHandle, GL_PROGRAM_BINARY_LENGTH_OES, &binaryLength);
- GL_CHECK_ERROR;
- #endif
-
-@@ -148,7 +148,7 @@
-
- #if GL_OES_get_program_binary
- // Get binary
-- glGetProgramBinaryOES(mGLHandle, binaryLength, NULL, (GLenum *)newMicrocode->getPtr(), newMicrocode->getPtr() + sizeof(GLenum));
-+ glGetProgramBinaryOES(mGLProgramHandle, binaryLength, NULL, (GLenum *)newMicrocode->getPtr(), newMicrocode->getPtr() + sizeof(GLenum));
- GL_CHECK_ERROR;
- #endif
-
diff --git a/dev-games/ogre/files/ogre-1.8.1-threading.patch b/dev-games/ogre/files/ogre-1.8.1-threading.patch
deleted file mode 100644
index 13cf5634e53d..000000000000
--- a/dev-games/ogre/files/ogre-1.8.1-threading.patch
+++ /dev/null
@@ -1,77 +0,0 @@
-http://www.ogre3d.org/mantis/view.php?id=425
-
---- ogre_src_v1-7-4/OgreMain/include/OgreAtomicWrappers.h
-+++ ogre_src_v1-7-4/OgreMain/include/OgreAtomicWrappers.h
-@@ -31,6 +31,7 @@
- #include <signal.h>
- #include "OgrePrerequisites.h"
- #include "OgreException.h"
-+#include "Threading/OgreThreadHeaders.h"
-
- namespace Ogre {
-
---- ogre_src_v1-7-4/OgreMain/include/OgreCommon.h
-+++ ogre_src_v1-7-4/OgreMain/include/OgreCommon.h
-@@ -42,6 +42,8 @@
- # pragma GCC visibility pop
- #endif
-
-+#include "Threading/OgreThreadHeaders.h"
-+
- namespace Ogre {
- /** \addtogroup Core
- * @{
---- ogre_src_v1-7-4/OgreMain/include/OgreConvexBody.h
-+++ ogre_src_v1-7-4/OgreMain/include/OgreConvexBody.h
-@@ -31,6 +31,7 @@
-
- #include "OgrePrerequisites.h"
- #include "OgrePolygon.h"
-+#include "Threading/OgreThreadHeaders.h"
-
-
- namespace Ogre
-@@ -58,9 +59,7 @@
-
- // Static 'free list' of polygons to save reallocation, shared between all bodies
- static PolygonList msFreePolygons;
--#if OGRE_THREAD_SUPPORT
- OGRE_STATIC_MUTEX(msFreePolygonsMutex)
--#endif
-
- public:
- ConvexBody();
---- ogre_src_v1-7-4/OgreMain/include/OgreLog.h
-+++ ogre_src_v1-7-4/OgreMain/include/OgreLog.h
-@@ -32,6 +32,8 @@
- #include "OgrePrerequisites.h"
- #include "OgreString.h"
-
-+#include "Threading/OgreThreadHeaders.h"
-+
- namespace Ogre {
-
- /** \addtogroup Core
---- ogre_src_v1-7-4/OgreMain/include/OgreSharedPtr.h
-+++ ogre_src_v1-7-4/OgreMain/include/OgreSharedPtr.h
-@@ -30,6 +30,8 @@
-
- #include "OgrePrerequisites.h"
-
-+#include "Threading/OgreThreadHeaders.h"
-+
- namespace Ogre {
- /** \addtogroup Core
- * @{
---- ogre_src_v1-7-4/OgreMain/src/OgreConvexBody.cpp
-+++ ogre_src_v1-7-4/OgreMain/src/OgreConvexBody.cpp
-@@ -44,9 +44,7 @@
- // Statics
- //-----------------------------------------------------------------------
- ConvexBody::PolygonList ConvexBody::msFreePolygons;
--#if OGRE_THREAD_SUPPORT
- OGRE_STATIC_MUTEX_INSTANCE(ConvexBody::msFreePolygonsMutex)
--#endif
- //-----------------------------------------------------------------------
- void ConvexBody::_initialisePool()
- {
diff --git a/dev-games/ogre/ogre-1.8.1.ebuild b/dev-games/ogre/ogre-1.8.1.ebuild
deleted file mode 100644
index f7689bd1b5bd..000000000000
--- a/dev-games/ogre/ogre-1.8.1.ebuild
+++ /dev/null
@@ -1,97 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-games/ogre/ogre-1.8.1.ebuild,v 1.7 2014/03/08 23:22:37 hasufell Exp $
-
-EAPI=5
-CMAKE_REMOVE_MODULES="yes"
-CMAKE_REMOVE_MODULES_LIST="FindFreetype"
-inherit eutils cmake-utils
-
-MY_PV=${PV//./-}
-DESCRIPTION="Object-oriented Graphics Rendering Engine"
-HOMEPAGE="http://www.ogre3d.org/"
-SRC_URI="mirror://sourceforge/${PN}/${PN}_src_v${MY_PV}.tar.bz2"
-
-LICENSE="MIT"
-SLOT="0/1.8.1"
-KEYWORDS="amd64 x86"
-IUSE="+boost cg doc double-precision examples +freeimage gles2 ois +opengl poco profile tbb threads tools +zip"
-REQUIRED_USE="threads? ( || ( boost poco tbb ) )"
-RESTRICT="test" #139905
-
-RDEPEND="media-libs/freetype:2
- virtual/opengl
- virtual/glu
- x11-libs/libX11
- x11-libs/libXaw
- x11-libs/libXrandr
- x11-libs/libXt
- boost? ( dev-libs/boost )
- cg? ( media-gfx/nvidia-cg-toolkit )
- freeimage? ( media-libs/freeimage )
- gles2? ( || ( <media-libs/mesa-8.0.0[gles] >=media-libs/mesa-8.0.0[gles2] ) )
- ois? ( dev-games/ois )
- threads? (
- poco? ( dev-libs/poco )
- tbb? ( dev-cpp/tbb )
- )
- zip? ( sys-libs/zlib dev-libs/zziplib )"
-# gles1 currently broken wrt bug #418201
-DEPEND="${RDEPEND}
- x11-proto/xf86vidmodeproto
- virtual/pkgconfig
- doc? ( app-doc/doxygen )"
-
-S=${WORKDIR}/${PN}_src_v${MY_PV}
-
-src_prepare() {
- epatch \
- "${FILESDIR}"/${P}-threading.patch \
- "${FILESDIR}"/${P}-flags.patch \
- "${FILESDIR}"/${P}-gles2.patch
- sed -i \
- -e "s:share/OGRE/docs:share/doc/${PF}:" \
- Docs/CMakeLists.txt || die
- # Stupid build system hardcodes release names
- sed -i \
- -e '/CONFIGURATIONS/s:CONFIGURATIONS.*::' \
- CMake/Utils/OgreConfigTargets.cmake || die
-}
-
-src_configure() {
- local mycmakeargs=(
- -DOGRE_FULL_RPATH=NO
- $(cmake-utils_use boost OGRE_USE_BOOST)
- $(cmake-utils_use cg OGRE_BUILD_PLUGIN_CG)
- $(cmake-utils_use doc OGRE_INSTALL_DOCS)
- $(cmake-utils_use double-precision OGRE_CONFIG_DOUBLE)
- $(cmake-utils_use examples OGRE_INSTALL_SAMPLES)
- $(cmake-utils_use freeimage OGRE_CONFIG_ENABLE_FREEIMAGE)
- $(cmake-utils_use opengl OGRE_BUILD_RENDERSYSTEM_GL)
- -DOGRE_BUILD_RENDERSYSTEM_GLES=OFF
- $(cmake-utils_use gles2 OGRE_BUILD_RENDERSYSTEM_GLES2)
- $(cmake-utils_use profile OGRE_PROFILING)
- $(cmake-utils_use examples OGRE_BUILD_SAMPLES)
- -DOGRE_BUILD_TESTS=FALSE
- $(usex threads "-DOGRE_CONFIG_THREADS=2" "-DOGRE_CONFIG_THREADS=0")
- $(cmake-utils_use tools OGRE_BUILD_TOOLS)
- $(cmake-utils_use zip OGRE_CONFIG_ENABLE_ZIP)
- )
-
- if use threads ; then
- local f
- for f in boost poco tbb ; do
- use ${f} || continue
- mycmakeargs+=( -DOGRE_CONFIG_THREAD_PROVIDER=${f} )
- break
- done
- fi
-
- cmake-utils_src_configure
-}
-
-src_install() {
- cmake-utils_src_install
- docinto examples
- dodoc "${CMAKE_BUILD_DIR}"/bin/*.cfg
-}