summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2012-11-17 06:12:40 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2012-11-17 06:12:40 +0000
commit167d05c02986533efcf50e88bc36ca69fcfe61fd (patch)
tree6ff6e9317e9168990c3162848fd5eb3588245f20 /dev-games/cegui
parentdefault to libxml2 for xml support (bug #422811) (diff)
downloadgentoo-2-167d05c02986533efcf50e88bc36ca69fcfe61fd.tar.gz
gentoo-2-167d05c02986533efcf50e88bc36ca69fcfe61fd.tar.bz2
gentoo-2-167d05c02986533efcf50e88bc36ca69fcfe61fd.zip
old
(Portage version: 2.1.11.31/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'dev-games/cegui')
-rw-r--r--dev-games/cegui/ChangeLog6
-rw-r--r--dev-games/cegui/cegui-0.7.5-r1.ebuild106
-rw-r--r--dev-games/cegui/files/cegui-0.7.5-gcc46.patch10
-rw-r--r--dev-games/cegui/files/cegui-0.7.5-tinyxml.patch17
4 files changed, 5 insertions, 134 deletions
diff --git a/dev-games/cegui/ChangeLog b/dev-games/cegui/ChangeLog
index 47e12adc3611..3e4249fff4b1 100644
--- a/dev-games/cegui/ChangeLog
+++ b/dev-games/cegui/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-games/cegui
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-games/cegui/ChangeLog,v 1.51 2012/11/17 06:07:58 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-games/cegui/ChangeLog,v 1.52 2012/11/17 06:12:40 mr_bones_ Exp $
+
+ 17 Nov 2012; Michael Sterrett <mr_bones_@gentoo.org> -cegui-0.7.5-r1.ebuild,
+ -files/cegui-0.7.5-gcc46.patch, -files/cegui-0.7.5-tinyxml.patch:
+ old
17 Nov 2012; Michael Sterrett <mr_bones_@gentoo.org> cegui-0.7.7.ebuild:
default to libxml2 for xml support (bug #422811)
diff --git a/dev-games/cegui/cegui-0.7.5-r1.ebuild b/dev-games/cegui/cegui-0.7.5-r1.ebuild
deleted file mode 100644
index 5353c7450468..000000000000
--- a/dev-games/cegui/cegui-0.7.5-r1.ebuild
+++ /dev/null
@@ -1,106 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-games/cegui/cegui-0.7.5-r1.ebuild,v 1.7 2012/05/03 06:35:30 jdhore Exp $
-
-EAPI=4
-inherit eutils
-
-MY_P=CEGUI-${PV}
-MY_D=CEGUI-DOCS-${PV}
-DESCRIPTION="Crazy Eddie's GUI System"
-HOMEPAGE="http://www.cegui.org.uk/"
-SRC_URI="mirror://sourceforge/crayzedsgui/${MY_P}.tar.gz
- doc? ( mirror://sourceforge/crayzedsgui/${MY_D}.tar.gz )"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 -ppc x86"
-IUSE="bidi debug devil doc examples expat gtk irrlicht lua opengl pcre static-libs tinyxml truetype xerces-c xml zip"
-REQUIRED_USE="|| ( xml tinyxml )" # bug 362223
-
-RDEPEND="bidi? ( dev-libs/fribidi )
- devil? ( media-libs/devil )
- expat? ( dev-libs/expat )
- truetype? ( media-libs/freetype:2 )
- irrlicht? ( dev-games/irrlicht )
- lua? (
- dev-lang/lua
- dev-lua/toluapp
- )
- opengl? (
- virtual/opengl
- virtual/glu
- media-libs/freeglut
- media-libs/glew
- )
- pcre? ( dev-libs/libpcre )
- tinyxml? ( dev-libs/tinyxml )
- xerces-c? ( dev-libs/xerces-c )
- xml? ( dev-libs/libxml2 )"
-DEPEND="${RDEPEND}
- virtual/pkgconfig
- doc? ( app-doc/doxygen )"
-
-S=${WORKDIR}/${MY_P}
-
-src_prepare() {
- epatch "${FILESDIR}"/${P}-tinyxml.patch \
- "${FILESDIR}"/${P}-gcc46.patch
-
- # build with newer zlib (bug #389863)
- sed -i -e '74i#define OF(x) x' cegui/src/minizip/unzip.h || die
- sed -i -e '125i#define OF(x) x' cegui/src/minizip/ioapi.h || die
- if use examples ; then
- cp -r Samples Samples.clean
- rm -f $(find Samples.clean -name 'Makefile*')
- fi
-}
-
-src_configure() {
- # ogre-1.6.5 needs older cegui (bug #387103)
- econf \
- --disable-ogre-renderer \
- $(use_enable bidi bidirectional-text) \
- $(use_enable debug) \
- $(use_enable devil) \
- $(use_enable examples samples) \
- $(use_enable expat) \
- $(use_enable truetype freetype) \
- $(use_enable irrlicht irrlicht-renderer) \
- $(use_enable lua lua-module) \
- $(use_enable lua toluacegui) \
- --enable-external-toluapp \
- $(use_enable opengl opengl-renderer) \
- --enable-external-glew \
- $(use_enable pcre) \
- $(use_enable tinyxml) \
- --enable-external-tinyxml \
- $(use_enable xerces-c) \
- $(use_enable xml libxml) \
- $(use_enable zip minizip-resource-provider) \
- --enable-null-renderer \
- --enable-tga \
- --disable-corona \
- --disable-dependency-tracking \
- --disable-samples \
- --disable-silly \
- $(use_with gtk gtk2) \
- $(use_enable static-libs static) \
- --enable-shared
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die
-
- # remove .la files
- use static-libs || rm -f "${D}"/usr/*/*.la
-
- if use doc ; then
- emake html || die
- dohtml -r doc/doxygen/html/* || die
- fi
- if use examples ; then
- insinto /usr/share/doc/${PF}/Samples
- doins -r Samples.clean/* || die
- fi
-}
diff --git a/dev-games/cegui/files/cegui-0.7.5-gcc46.patch b/dev-games/cegui/files/cegui-0.7.5-gcc46.patch
deleted file mode 100644
index 88f8fccfc206..000000000000
--- a/dev-games/cegui/files/cegui-0.7.5-gcc46.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- cegui/include/CEGUIString.h.old 2011-04-27 14:33:25.862856070 +0200
-+++ cegui/include/CEGUIString.h 2011-04-27 14:33:49.780351908 +0200
-@@ -34,6 +34,7 @@
- #include <string>
- #include <string.h>
- #include <stdexcept>
-+#include <cstddef>
-
- // Start of CEGUI namespace section
- namespace CEGUI
diff --git a/dev-games/cegui/files/cegui-0.7.5-tinyxml.patch b/dev-games/cegui/files/cegui-0.7.5-tinyxml.patch
deleted file mode 100644
index 94ed3ca35a03..000000000000
--- a/dev-games/cegui/files/cegui-0.7.5-tinyxml.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-diff -Naur CEGUI-0.7.5/cegui/src/XMLParserModules/TinyXMLParser/CEGUITinyXMLParser.cpp CEGUI-0.7.5/cegui/src/XMLParserModules/TinyXMLParser/CEGUITinyXMLParser.cpp
---- CEGUI-0.7.5/cegui/src/XMLParserModules/TinyXMLParser/CEGUITinyXMLParser.cpp 2010-11-19 11:19:09.000000000 +0000
-+++ CEGUI-0.7.5/cegui/src/XMLParserModules/TinyXMLParser/CEGUITinyXMLParser.cpp 2010-11-19 11:20:09.000000000 +0000
-@@ -131,10 +131,10 @@
- {
- switch(childNode->Type())
- {
-- case CEGUI_TINYXML_NAMESPACE::TiXmlNode::ELEMENT:
-+ case CEGUI_TINYXML_NAMESPACE::TiXmlNode::TINYXML_ELEMENT:
- processElement(childNode->ToElement());
- break;
-- case CEGUI_TINYXML_NAMESPACE::TiXmlNode::TEXT:
-+ case CEGUI_TINYXML_NAMESPACE::TiXmlNode::TINYXML_TEXT:
- if (childNode->ToText()->Value() != '\0')
- d_handler->text((utf8*)childNode->ToText()->Value());
- break;
-