summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Ospald <hasufell@gentoo.org>2013-11-20 19:24:36 +0000
committerJulian Ospald <hasufell@gentoo.org>2013-11-20 19:24:36 +0000
commitee132e7bb982b3637d74aee81e8880b160d29825 (patch)
tree83acd68390637c90a0accffc5560495db910940e
parentRun multilib header wrapping only when multiple ABIs are enabled, bug #491752... (diff)
downloadgentoo-2-ee132e7bb982b3637d74aee81e8880b160d29825.tar.gz
gentoo-2-ee132e7bb982b3637d74aee81e8880b160d29825.tar.bz2
gentoo-2-ee132e7bb982b3637d74aee81e8880b160d29825.zip
version bump, remove old
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key E73C35B3)
-rw-r--r--games-strategy/megaglest/ChangeLog11
-rw-r--r--games-strategy/megaglest/files/megaglest-3.9.0.3-Waddress.patch11
-rw-r--r--games-strategy/megaglest/files/megaglest-3.9.0.3-fribidi.patch289
-rw-r--r--games-strategy/megaglest/files/megaglest-3.9.0.4-static-build.patch (renamed from games-strategy/megaglest/files/megaglest-3.9.0.3-static-build.patch)15
-rw-r--r--games-strategy/megaglest/megaglest-3.9.0.4.ebuild (renamed from games-strategy/megaglest/megaglest-3.9.0.3.ebuild)4
5 files changed, 27 insertions, 303 deletions
diff --git a/games-strategy/megaglest/ChangeLog b/games-strategy/megaglest/ChangeLog
index 86e82d935480..1107e0f8c3f9 100644
--- a/games-strategy/megaglest/ChangeLog
+++ b/games-strategy/megaglest/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for games-strategy/megaglest
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/megaglest/ChangeLog,v 1.16 2013/11/19 01:35:35 hasufell Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/megaglest/ChangeLog,v 1.17 2013/11/20 19:24:36 hasufell Exp $
+
+*megaglest-3.9.0.4 (20 Nov 2013)
+
+ 20 Nov 2013; Julian Ospald <hasufell@gentoo.org> -megaglest-3.9.0.3.ebuild,
+ -files/megaglest-3.9.0.3-Waddress.patch,
+ -files/megaglest-3.9.0.3-fribidi.patch,
+ -files/megaglest-3.9.0.3-static-build.patch, +megaglest-3.9.0.4.ebuild,
+ +files/megaglest-3.9.0.4-static-build.patch:
+ version bump, remove old
*megaglest-3.9.0.3 (19 Nov 2013)
diff --git a/games-strategy/megaglest/files/megaglest-3.9.0.3-Waddress.patch b/games-strategy/megaglest/files/megaglest-3.9.0.3-Waddress.patch
deleted file mode 100644
index a56a32266e1d..000000000000
--- a/games-strategy/megaglest/files/megaglest-3.9.0.3-Waddress.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/source/shared_lib/sources/platform/sdl/window.cpp
-+++ b/source/shared_lib/sources/platform/sdl/window.cpp
-@@ -1034,7 +1034,7 @@
- wchar_t keyW = c;
- wchar_t textAppend[] = { keyW, 0 };
-
-- if(textAppend) {
-+ if(textAppend[0]) {
- wchar_t newKey = textAppend[0];
- if (newKey < 0x80) {
- result.push_back(1);
diff --git a/games-strategy/megaglest/files/megaglest-3.9.0.3-fribidi.patch b/games-strategy/megaglest/files/megaglest-3.9.0.3-fribidi.patch
deleted file mode 100644
index 106d46c2ef98..000000000000
--- a/games-strategy/megaglest/files/megaglest-3.9.0.3-fribidi.patch
+++ /dev/null
@@ -1,289 +0,0 @@
-From: Julian Ospald <hasufell@gentoo.org>
-Date: Tue Nov 19 00:58:41 UTC 2013
-Subject: fix fribidi checks
-
---- a/mk/cmake/Modules/FindFriBiDi.cmake
-+++ b/mk/cmake/Modules/FindFriBiDi.cmake
-@@ -28,9 +28,9 @@
- SET(FRIBIDI_NAMES ${FRIBIDI_NAMES} fribidi libfribidi)
-
- OPTION(WANT_STATIC_LIBS "builds as many static libs as possible" OFF)
--IF(WANT_STATIC_LIBS)
-- SET(FRIBIDI_NAMES fribidi.a libfribidi.a ${FRIBIDI_NAMES})
--ENDIF()
-+# IF(WANT_STATIC_LIBS)
-+ # SET(FRIBIDI_NAMES fribidi.a libfribidi.a ${FRIBIDI_NAMES})
-+# ENDIF()
-
- FIND_LIBRARY(FRIBIDI_LIBRARY
- NAMES ${FRIBIDI_NAMES}
-@@ -40,40 +40,20 @@
- IF (FRIBIDI_LIBRARY AND FRIBIDI_INCLUDE_DIR)
- SET(CMAKE_REQUIRED_INCLUDES ${FRIBIDI_INCLUDE_DIR})
- SET(CMAKE_REQUIRED_LIBRARIES ${FRIBIDI_LIBRARY})
-- CHECK_SYMBOL_EXISTS(fribidi_utf8_to_unicode fribidi.h FOUND_fribidi_utf8_to_unicode)
-- CHECK_SYMBOL_EXISTS(fribidi_charset_to_unicode fribidi.h FOUND_fribidi_charset_to_unicode)
-- CHECK_SYMBOL_EXISTS(FRIBIDI_CHAR_SET_UTF8 fribidi.h FOUND_FRIBIDI_CHAR_SET_UTF8)
-+ FIND_PACKAGE(GLIB2 REQUIRED)
-
-- # FriBiDi provides both fribidi_utf8_to_unicode and fribidi_charset_to_unicode.
-- # The difference is that
-- # 1. fribidi >= 0.10.5 has FRIBIDI_CHAR_SET_UTF8.
-- # 2. fribidi <= 0.10.4 has FRIBIDI_CHARSET_UTF8.
-+ CHECK_LIBRARY_EXISTS(fribidi fribidi_utf8_to_unicode "" FOUND_fribidi_utf8_to_unicode)
-+ CHECK_LIBRARY_EXISTS(fribidi fribidi_charset_to_unicode "" FOUND_fribidi_charset_to_unicode)
-
-- # Newer versions of fribidi (not tested the initial version which has the
-- # issue, but at least 0.19.2 has the issue) no longer have the symbol
-- # FRIBIDI_CHAR_SET_UTF8. But the symbol is build with some macros confusing
-- # cmake. To test for that case let the compiler give its verdict.
-- if(FOUND_fribidi_charset_to_unicode AND NOT FOUND_FRIBIDI_CHAR_SET_UTF8)
-- file(WRITE "${CMAKE_BINARY_DIR}/fribidi_test.c"
-- "#include <fribidi.h>\nint main(){FriBidiCharSet s = FRIBIDI_CHAR_SET_UTF8;}"
-- )
-- try_compile(FOUND_FRIBIDI_CHAR_SET_UTF8
-- "${CMAKE_BINARY_DIR}"
-- "${CMAKE_BINARY_DIR}/fribidi_test.c"
-- CMAKE_FLAGS "-DINCLUDE_DIRECTORIES:STRING=${FRIBIDI_INCLUDE_DIR}"
-- )
--
-- file(REMOVE "${CMAKE_BINARY_DIR}/fribidi_test.c")
--
-- endif(FOUND_fribidi_charset_to_unicode AND NOT FOUND_FRIBIDI_CHAR_SET_UTF8)
--
-- if(FOUND_fribidi_charset_to_unicode AND FOUND_FRIBIDI_CHAR_SET_UTF8)
-+ if(FOUND_fribidi_charset_to_unicode)
- # fribidi >= 0.10.5
- SET(FRIBIDI_LIBRARIES ${FRIBIDI_LIBRARY})
-+ SET(FRIBIDI_INCLUDE_DIR ${FRIBIDI_INCLUDE_DIR} ${GLIB2_INCLUDE_DIRS})
- SET(FRIBIDI_FOUND "YES")
- elseif(FOUND_fribidi_utf8_to_unicode)
- # fribidi <= 0.10.4
-- SET(FRIBIDI_LIBRARIES ${FRIBIDI_LIBRARY})
-+ SET(FRIBIDI_INCLUDE_DIR ${FRIBIDI_INCLUDE_DIR} ${GLIB2_INCLUDE_DIRS})
-+ SET(FRIBIDI_LIBRARIES ${FRIBIDI_LIBRARY} ${GLIB2_LIBRARIES})
- SET(FRIBIDI_FOUND "YES")
- add_definitions(-DOLD_FRIBIDI)
- MESSAGE(STATUS "Legacy FriBiDi: ${FRIBIDI_LIBRARY}")
---- /dev/null
-+++ b/mk/cmake/Modules/FindGLIB2.cmake
-@@ -0,0 +1,219 @@
-+# http://opensource.bolloretelecom.eu/projects/boc-wimax/browser/cmake/modules/FindGLIB2.cmake?rev=8f5b254534bd304923d4cc7bc7e9d6552c119ea2
-+
-+# - Try to find GLib2
-+# Once done this will define
-+#
-+# GLIB2_FOUND - system has GLib2
-+# GLIB2_INCLUDE_DIRS - the GLib2 include directory
-+# GLIB2_LIBRARIES - Link these to use GLib2
-+#
-+# HAVE_GLIB_GREGEX_H glib has gregex.h header and
-+# supports g_regex_match_simple
-+#
-+# Copyright (c) 2006 Andreas Schneider <mail@cynapses.org>
-+# Copyright (c) 2006 Philippe Bernery <philippe.bernery@gmail.com>
-+# Copyright (c) 2007 Daniel Gollub <dgollub@suse.de>
-+# Copyright (c) 2007 Alban Browaeys <prahal@yahoo.com>
-+# Copyright (c) 2008 Michael Bell <michael.bell@web.de>
-+# Copyright (c) 2008 Bjoern Ricks <bjoern.ricks@googlemail.com>
-+#
-+# Redistribution and use is allowed according to the terms of the New
-+# BSD license.
-+# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
-+#
-+
-+
-+IF (GLIB2_LIBRARIES AND GLIB2_INCLUDE_DIRS )
-+ # in cache already
-+ SET(GLIB2_FOUND TRUE)
-+ELSE (GLIB2_LIBRARIES AND GLIB2_INCLUDE_DIRS )
-+
-+ INCLUDE(FindPkgConfig)
-+
-+ ## Glib
-+ IF ( GLIB2_FIND_REQUIRED )
-+ SET( _pkgconfig_REQUIRED "REQUIRED" )
-+ ELSE ( GLIB2_FIND_REQUIRED )
-+ SET( _pkgconfig_REQUIRED "" )
-+ ENDIF ( GLIB2_FIND_REQUIRED )
-+
-+ IF ( GLIB2_MIN_VERSION )
-+ PKG_SEARCH_MODULE( GLIB2 ${_pkgconfig_REQUIRED} glib-2.0>=${GLIB2_MIN_VERSION} )
-+ ELSE ( GLIB2_MIN_VERSION )
-+ PKG_SEARCH_MODULE( GLIB2 ${_pkgconfig_REQUIRED} glib-2.0 )
-+ ENDIF ( GLIB2_MIN_VERSION )
-+ IF ( PKG_CONFIG_FOUND )
-+ IF ( GLIB2_FOUND )
-+ SET ( GLIB2_CORE_FOUND TRUE )
-+ ELSE ( GLIB2_FOUND )
-+ SET ( GLIB2_CORE_FOUND FALSE )
-+ ENDIF ( GLIB2_FOUND )
-+ ENDIF ( PKG_CONFIG_FOUND )
-+
-+ # Look for glib2 include dir and libraries w/o pkgconfig
-+ IF ( NOT GLIB2_FOUND AND NOT PKG_CONFIG_FOUND )
-+ FIND_PATH(
-+ _glibconfig_include_DIR
-+ NAMES
-+ glibconfig.h
-+ PATHS
-+ /opt/gnome/lib64
-+ /opt/gnome/lib
-+ /opt/lib/
-+ /opt/local/lib
-+ /sw/lib/
-+ /usr/lib64
-+ /usr/lib
-+ /usr/local/include
-+ ${CMAKE_LIBRARY_PATH}
-+ PATH_SUFFIXES
-+ glib-2.0/include
-+ )
-+
-+ FIND_PATH(
-+ _glib2_include_DIR
-+ NAMES
-+ glib.h
-+ PATHS
-+ /opt/gnome/include
-+ /opt/local/include
-+ /sw/include
-+ /usr/include
-+ /usr/local/include
-+ PATH_SUFFIXES
-+ glib-2.0
-+ )
-+
-+ #MESSAGE(STATUS "Glib headers: ${_glib2_include_DIR}")
-+
-+ FIND_LIBRARY(
-+ _glib2_link_DIR
-+ NAMES
-+ glib-2.0
-+ glib
-+ PATHS
-+ /opt/gnome/lib
-+ /opt/local/lib
-+ /sw/lib
-+ /usr/lib
-+ /usr/local/lib
-+ )
-+ IF ( _glib2_include_DIR AND _glib2_link_DIR )
-+ SET ( _glib2_FOUND TRUE )
-+ ENDIF ( _glib2_include_DIR AND _glib2_link_DIR )
-+
-+
-+ IF ( _glib2_FOUND )
-+ SET ( GLIB2_INCLUDE_DIRS ${_glib2_include_DIR} ${_glibconfig_include_DIR} )
-+ SET ( GLIB2_LIBRARIES ${_glib2_link_DIR} )
-+ SET ( GLIB2_CORE_FOUND TRUE )
-+ ELSE ( _glib2_FOUND )
-+ SET ( GLIB2_CORE_FOUND FALSE )
-+ ENDIF ( _glib2_FOUND )
-+
-+ # Handle dependencies
-+ # libintl
-+ IF ( NOT LIBINTL_FOUND )
-+ FIND_PATH(LIBINTL_INCLUDE_DIR
-+ NAMES
-+ libintl.h
-+ PATHS
-+ /opt/gnome/include
-+ /opt/local/include
-+ /sw/include
-+ /usr/include
-+ /usr/local/include
-+ )
-+
-+ FIND_LIBRARY(LIBINTL_LIBRARY
-+ NAMES
-+ intl
-+ PATHS
-+ /opt/gnome/lib
-+ /opt/local/lib
-+ /sw/lib
-+ /usr/local/lib
-+ /usr/lib
-+ )
-+
-+ IF (LIBINTL_LIBRARY AND LIBINTL_INCLUDE_DIR)
-+ SET (LIBINTL_FOUND TRUE)
-+ ENDIF (LIBINTL_LIBRARY AND LIBINTL_INCLUDE_DIR)
-+ ENDIF ( NOT LIBINTL_FOUND )
-+
-+ # libiconv
-+ IF ( NOT LIBICONV_FOUND )
-+ FIND_PATH(LIBICONV_INCLUDE_DIR
-+ NAMES
-+ iconv.h
-+ PATHS
-+ /opt/gnome/include
-+ /opt/local/include
-+ /opt/local/include
-+ /sw/include
-+ /sw/include
-+ /usr/local/include
-+ /usr/include
-+ PATH_SUFFIXES
-+ glib-2.0
-+ )
-+
-+ FIND_LIBRARY(LIBICONV_LIBRARY
-+ NAMES
-+ iconv
-+ PATHS
-+ /opt/gnome/lib
-+ /opt/local/lib
-+ /sw/lib
-+ /usr/lib
-+ /usr/local/lib
-+ )
-+
-+ IF (LIBICONV_LIBRARY AND LIBICONV_INCLUDE_DIR)
-+ SET (LIBICONV_FOUND TRUE)
-+ ENDIF (LIBICONV_LIBRARY AND LIBICONV_INCLUDE_DIR)
-+ ENDIF ( NOT LIBICONV_FOUND )
-+
-+ IF (LIBINTL_FOUND)
-+ SET (GLIB2_LIBRARIES ${GLIB2_LIBRARIES} ${LIBINTL_LIBRARY})
-+ SET (GLIB2_INCLUDE_DIRS ${GLIB2_INCLUDE_DIRS} ${LIBINTL_INCLUDE_DIR})
-+ ENDIF (LIBINTL_FOUND)
-+
-+ IF (LIBICONV_FOUND)
-+ SET (GLIB2_LIBRARIES ${GLIB2_LIBRARIES} ${LIBICONV_LIBRARY})
-+ SET (GLIB2_INCLUDE_DIRS ${GLIB2_INCLUDE_DIRS} ${LIBICONV_INCLUDE_DIR})
-+ ENDIF (LIBICONV_FOUND)
-+
-+ ENDIF ( NOT GLIB2_FOUND AND NOT PKG_CONFIG_FOUND )
-+ ##
-+
-+ IF (GLIB2_CORE_FOUND AND GLIB2_INCLUDE_DIRS AND GLIB2_LIBRARIES)
-+ SET (GLIB2_FOUND TRUE)
-+ ENDIF (GLIB2_CORE_FOUND AND GLIB2_INCLUDE_DIRS AND GLIB2_LIBRARIES)
-+
-+ IF (GLIB2_FOUND)
-+ IF (NOT GLIB2_FIND_QUIETLY)
-+ MESSAGE (STATUS "Found GLib2: ${GLIB2_LIBRARIES} ${GLIB2_INCLUDE_DIRS}")
-+ ENDIF (NOT GLIB2_FIND_QUIETLY)
-+ ELSE (GLIB2_FOUND)
-+ IF (GLIB2_FIND_REQUIRED)
-+ MESSAGE (SEND_ERROR "Could not find GLib2")
-+ ENDIF (GLIB2_FIND_REQUIRED)
-+ ENDIF (GLIB2_FOUND)
-+
-+ # show the GLIB2_INCLUDE_DIRS and GLIB2_LIBRARIES variables only in the advanced view
-+ MARK_AS_ADVANCED(GLIB2_INCLUDE_DIRS GLIB2_LIBRARIES)
-+ MARK_AS_ADVANCED(LIBICONV_INCLUDE_DIR LIBICONV_LIBRARY)
-+ MARK_AS_ADVANCED(LIBINTL_INCLUDE_DIR LIBINTL_LIBRARY)
-+
-+ENDIF (GLIB2_LIBRARIES AND GLIB2_INCLUDE_DIRS)
-+
-+IF ( GLIB2_FOUND )
-+ # Check if system has a newer version of glib
-+ # which supports g_regex_match_simple
-+ INCLUDE( CheckIncludeFiles )
-+ SET( CMAKE_REQUIRED_INCLUDES ${GLIB2_INCLUDE_DIRS} )
-+ CHECK_INCLUDE_FILES ( glib/gregex.h HAVE_GLIB_GREGEX_H )
-+ # Reset CMAKE_REQUIRED_INCLUDES
-+ SET( CMAKE_REQUIRED_INCLUDES "" )
-+ENDIF( GLIB2_FOUND )
diff --git a/games-strategy/megaglest/files/megaglest-3.9.0.3-static-build.patch b/games-strategy/megaglest/files/megaglest-3.9.0.4-static-build.patch
index a649b037d590..2586a561956b 100644
--- a/games-strategy/megaglest/files/megaglest-3.9.0.3-static-build.patch
+++ b/games-strategy/megaglest/files/megaglest-3.9.0.4-static-build.patch
@@ -46,3 +46,18 @@ index 2a026cc..8ca8a23 100644
ENDIF()
ENDIF()
ENDIF()
+--- a/mk/cmake/Modules/FindFriBiDi.cmake
++++ b/mk/cmake/Modules/FindFriBiDi.cmake
+@@ -28,9 +28,9 @@
+ SET(FRIBIDI_NAMES ${FRIBIDI_NAMES} fribidi libfribidi)
+
+ OPTION(WANT_STATIC_LIBS "builds as many static libs as possible" OFF)
+-IF(WANT_STATIC_LIBS)
+- SET(FRIBIDI_NAMES fribidi.a libfribidi.a ${FRIBIDI_NAMES})
+-ENDIF()
++#IF(WANT_STATIC_LIBS)
++# SET(FRIBIDI_NAMES fribidi.a libfribidi.a ${FRIBIDI_NAMES})
++#ENDIF()
+
+ MESSAGE(STATUS "** Searching for library names: [${FRIBIDI_NAMES}] ...")
+
diff --git a/games-strategy/megaglest/megaglest-3.9.0.3.ebuild b/games-strategy/megaglest/megaglest-3.9.0.4.ebuild
index 759a5cc4ec69..4c5819399c99 100644
--- a/games-strategy/megaglest/megaglest-3.9.0.3.ebuild
+++ b/games-strategy/megaglest/megaglest-3.9.0.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/megaglest/megaglest-3.9.0.3.ebuild,v 1.1 2013/11/19 01:35:35 hasufell Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/megaglest/megaglest-3.9.0.4.ebuild,v 1.1 2013/11/20 19:24:36 hasufell Exp $
# google-breakpad
# TODO: fribidi, libvorbis static
@@ -73,7 +73,7 @@ src_prepare() {
need-wxwidgets unicode
fi
- epatch "${FILESDIR}"/${P}-{static-build,Waddress,fribidi}.patch
+ epatch "${FILESDIR}"/${P}-static-build.patch
}
src_configure() {