commit: 287d369fccff7bffb877dd06ce5c8bcb30c248c6 Author: Andreas Sturmlechner <andreas.sturmlechner <AT> gmail <DOT> com> AuthorDate: Wed Feb 24 11:14:39 2016 +0000 Commit: Andreas Hüttel <dilfridge <AT> gentoo <DOT> org> CommitDate: Wed Feb 24 11:20:58 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=287d369f
dev-libs/libixion: Fix build, EAPI=6 - ${P}-python-optional.patch was removing -DMDDS_HASH_CONTAINER_BOOST, fixed and removed any python-unrelated parts from the patch - Removed unnecessary ${P}-python-symbol.patch Package-Manager: portage-2.2.27 .../files/libixion-0.9.1-python-optional.patch | 42 +++++++--------------- .../files/libixion-0.9.1-python-symbol.patch | 13 ------- ...ixion-0.9.1.ebuild => libixion-0.9.1-r1.ebuild} | 12 ++++--- 3 files changed, 19 insertions(+), 48 deletions(-) diff --git a/dev-libs/libixion/files/libixion-0.9.1-python-optional.patch b/dev-libs/libixion/files/libixion-0.9.1-python-optional.patch index df945ab..632fa07 100644 --- a/dev-libs/libixion/files/libixion-0.9.1-python-optional.patch +++ b/dev-libs/libixion/files/libixion-0.9.1-python-optional.patch @@ -1,21 +1,21 @@ --- a/configure.ac 2016-02-06 17:08:05.505990463 +0100 +++ b/configure.ac 2016-02-06 17:08:42.316530268 +0100 -@@ -15,18 +15,13 @@ +@@ -15,18 +15,22 @@ AC_INIT([libixion], [ixion_version]) AC_CONFIG_HEADERS([config.h]) AM_INIT_AUTOMAKE([1.11 foreign dist-bzip2 dist-xz]) -AM_PATH_PYTHON(2.7.0) m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) --AC_ARG_WITH(hash-container-compat, --[ -- --with-hash-container-compat use std::hash_foo instead of boost::unordered_foo --], --,with_hash_container_compat=no) -- --AC_ARG_WITH(mdds-include-path, -- AS_HELP_STRING([--with-mdds-include-path], [specify include path for mdds headers.]) --,) + AC_ARG_WITH(hash-container-compat, + [ + --with-hash-container-compat use std::hash_foo instead of boost::unordered_foo + ], + ,with_hash_container_compat=no) + + AC_ARG_WITH(mdds-include-path, + AS_HELP_STRING([--with-mdds-include-path], [specify include path for mdds headers.]) + ,) +AC_ARG_ENABLE([python], + [AS_HELP_STRING([--disable-python], [Disable python bindings])], + [enable_python="$enableval"], @@ -24,25 +24,7 @@ IXION_API_VERSION=ixion_api_version IXION_MAJOR_VERSION=ixion_major_version -@@ -66,23 +61,19 @@ - AC_FUNC_STRTOD - AC_CHECK_FUNCS([gettimeofday]) - --CPPFLAGS="$CPPFLAGS -D_REENTRANT -DMDDS_HASH_CONTAINER_BOOST" -+CPPFLAGS="$CPPFLAGS -D_REENTRANT" - --AC_MSG_CHECKING([whether to turn on hash container compatibility]) --if test "z$with_hash_container_compat" = "zno"; then -- AC_MSG_RESULT([no]) -- BOOST_REQUIRE([1.36]) -- BOOST_UNORDERED --else -- AC_MSG_RESULT([yes]) -- DEFINES="$DEFINES -D_IXION_HASH_CONTAINER_COMPAT" --fi -+BOOST_REQUIRE([1.36]) - - # Check for mdds. +@@ -70,7 +74,11 @@ PKG_CHECK_MODULES([MDDS],[mdds >= 0.12.0]) # Check for python. @@ -55,7 +37,7 @@ CPPFLAGS="$CPPFLAGS -g -Os -fvisibility=hidden" -@@ -101,3 +92,10 @@ +@@ -101,3 +109,10 @@ src/libixion/constants.inl src/python/Makefile]) AC_OUTPUT diff --git a/dev-libs/libixion/files/libixion-0.9.1-python-symbol.patch b/dev-libs/libixion/files/libixion-0.9.1-python-symbol.patch deleted file mode 100644 index 1a62bbc..0000000 --- a/dev-libs/libixion/files/libixion-0.9.1-python-symbol.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/src/python/Makefile.am b/src/python/Makefile.am -index 0dfae54..094e0cf 100644 ---- a/src/python/Makefile.am -+++ b/src/python/Makefile.am -@@ -10,7 +10,7 @@ ixion_la_SOURCES = \ - sheet.hpp \ - sheet.cpp - --ixion_la_LDFLAGS = -module -avoid-version -export-symbols-regex initixion -+ixion_la_LDFLAGS = -module -avoid-version -export-symbols-regex PyInit_ixion - ixion_la_CPPFLAGS = -I$(top_srcdir)/include $(PYTHON_CFLAGS) $(MDDS_CFLAGS) - ixion_la_LIBADD = \ - ../libixion/libixion-@IXION_API_VERSION@.la \ diff --git a/dev-libs/libixion/libixion-0.9.1.ebuild b/dev-libs/libixion/libixion-0.9.1-r1.ebuild similarity index 85% rename from dev-libs/libixion/libixion-0.9.1.ebuild rename to dev-libs/libixion/libixion-0.9.1-r1.ebuild index 9c993be..6dc3c0e 100644 --- a/dev-libs/libixion/libixion-0.9.1.ebuild +++ b/dev-libs/libixion/libixion-0.9.1-r1.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Id$ -EAPI=5 +EAPI=6 EGIT_REPO_URI="https://gitlab.com/ixion/ixion.git" @@ -17,7 +17,7 @@ HOMEPAGE="https://gitlab.com/ixion/ixion" [[ ${PV} == 9999 ]] || SRC_URI="http://kohei.us/files/ixion/src/${P}.tar.xz" LICENSE="MIT" -SLOT="0/0.10" +SLOT="0/0.10" # based on SONAME of libixion.so [[ ${PV} == 9999 ]] || \ KEYWORDS="~amd64 ~arm ~ppc ~x86" IUSE="python static-libs" @@ -37,9 +37,11 @@ pkg_setup() { } src_prepare() { - epatch "${FILESDIR}/${PN}-0.9.1-typo.patch" \ - "${FILESDIR}/${PN}-0.9.1-python-optional.patch" \ - "${FILESDIR}/${PN}-0.9.1-python-symbol.patch" + eapply_user + + eapply "${FILESDIR}/${PN}-0.9.1-typo.patch" \ + "${FILESDIR}/${PN}-0.9.1-python-optional.patch" + eautoreconf }