From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-885986-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id CE6A313829C for <garchives@archives.gentoo.org>; Tue, 7 Jun 2016 14:58:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 34960254037; Tue, 7 Jun 2016 14:58:02 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B08CD254037 for <gentoo-commits@lists.gentoo.org>; Tue, 7 Jun 2016 14:58:01 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AFFEA340B65 for <gentoo-commits@lists.gentoo.org>; Tue, 7 Jun 2016 14:57:59 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E4AB916C5 for <gentoo-commits@lists.gentoo.org>; Tue, 7 Jun 2016 14:57:52 +0000 (UTC) From: "Lars Wendler" <polynomial-c@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" <polynomial-c@gentoo.org> Message-ID: <1465311469.fb65b28c94cc840ef3f4e5b22f918f21ca8a8815.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/libetonyek/, app-text/libetonyek/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/libetonyek/files/libetonyek-0.1.6-mdds-1.2.patch app-text/libetonyek/libetonyek-0.1.6.ebuild app-text/libetonyek/libetonyek-9999.ebuild X-VCS-Directories: app-text/libetonyek/ app-text/libetonyek/files/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: fb65b28c94cc840ef3f4e5b22f918f21ca8a8815 X-VCS-Branch: master Date: Tue, 7 Jun 2016 14:57:52 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 48d41d26-697f-4d19-9aa3-cf39e20f186d X-Archives-Hash: 5ad855cce26568a4f36de6d608fd4183 commit: fb65b28c94cc840ef3f4e5b22f918f21ca8a8815 Author: Andreas Sturmlechner <andreas.sturmlechner <AT> gmail <DOT> com> AuthorDate: Sat Jun 4 12:58:07 2016 +0000 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> CommitDate: Tue Jun 7 14:57:49 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb65b28c app-text/libetonyek: Fix build w/ mdds-1.2.0 Patch taken from Debian. See also: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=824584 Gentoo-bug: 584994 Package-Manager: portage-2.2.28 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> .../files/libetonyek-0.1.6-mdds-1.2.patch | 33 ++++++++++++++++++++++ app-text/libetonyek/libetonyek-0.1.6.ebuild | 12 ++++---- app-text/libetonyek/libetonyek-9999.ebuild | 2 +- 3 files changed, 41 insertions(+), 6 deletions(-) diff --git a/app-text/libetonyek/files/libetonyek-0.1.6-mdds-1.2.patch b/app-text/libetonyek/files/libetonyek-0.1.6-mdds-1.2.patch new file mode 100644 index 0000000..0ca085f --- /dev/null +++ b/app-text/libetonyek/files/libetonyek-0.1.6-mdds-1.2.patch @@ -0,0 +1,33 @@ +--- libetonyek-0.1.6/configure.ac ++++ libetonyek-0.1.6/configure.ac +@@ -24,8 +24,8 @@ AC_LANG([C++]) + # Configure options + # ================= + AC_ARG_WITH([mdds], +- AS_HELP_STRING([--with-mdds=1.0|0.x], [Specify which version of mdds to use (1.0 is the default)]), +- [], [with_mdds="1.0"]) ++ AS_HELP_STRING([--with-mdds=1.2|0.x], [Specify which version of mdds to use (1.2 is the default)]), ++ [], [with_mdds="1.2"]) + + # =========================== + # Find required base packages +@@ -47,7 +47,7 @@ AC_PROG_SED + + AM_MISSING_PROG([GPERF], [gperf]) + +-AS_IF([test "$with_mdds" = "1.0"], [AX_CXX_COMPILE_STDCXX_11([noext])]) ++AS_IF([test "$with_mdds" = "1.2"], [AX_CXX_COMPILE_STDCXX_11([noext])]) + + # =============== + # Find librevenge +@@ -138,8 +138,8 @@ AC_SUBST([GLM_CFLAGS]) + # ========= + # Find mdds + # ========= +-AS_IF([test "$with_mdds" = "1.0"], [ +- PKG_CHECK_MODULES([MDDS], [mdds-1.0]) ++AS_IF([test "$with_mdds" = "1.2"], [ ++ PKG_CHECK_MODULES([MDDS], [mdds-1.2]) + ], [ + PKG_CHECK_MODULES([MDDS], [mdds]) + AC_MSG_CHECKING([checking if mdds::flat_segment_tree can store values of any type]) diff --git a/app-text/libetonyek/libetonyek-0.1.6.ebuild b/app-text/libetonyek/libetonyek-0.1.6.ebuild index 5dd6084..b4a4e5b 100644 --- a/app-text/libetonyek/libetonyek-0.1.6.ebuild +++ b/app-text/libetonyek/libetonyek-0.1.6.ebuild @@ -5,8 +5,8 @@ EAPI=6 EGIT_REPO_URI="git://anongit.freedesktop.org/git/libreoffice/libetonyek" -inherit eutils -[[ ${PV} == 9999 ]] && inherit autotools git-r3 +inherit autotools eutils +[[ ${PV} == 9999 ]] && inherit git-r3 DESCRIPTION="Library parsing Apple Keynote presentations" HOMEPAGE="https://wiki.documentfoundation.org/DLP/Libraries/libetonyek" @@ -26,7 +26,7 @@ RDEPEND=" " DEPEND="${RDEPEND} dev-libs/boost - dev-util/mdds:1 + >=dev-util/mdds-1.2.0:1 media-libs/glm sys-devel/libtool virtual/pkgconfig @@ -34,6 +34,8 @@ DEPEND="${RDEPEND} test? ( dev-util/cppunit ) " +PATCHES=( "${FILESDIR}/${P}-mdds-1.2.patch" ) # patch taken from Debian + pkg_pretend() { if [[ $(gcc-major-version) -lt 4 ]] || { [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -lt 8 ]]; } @@ -44,9 +46,9 @@ pkg_pretend() { } src_prepare() { - eapply_user + default [[ -d m4 ]] || mkdir "m4" - [[ ${PV} == 9999 ]] && eautoreconf + eautoreconf } src_configure() { diff --git a/app-text/libetonyek/libetonyek-9999.ebuild b/app-text/libetonyek/libetonyek-9999.ebuild index 71de234..3aa7b1e 100644 --- a/app-text/libetonyek/libetonyek-9999.ebuild +++ b/app-text/libetonyek/libetonyek-9999.ebuild @@ -44,7 +44,7 @@ pkg_pretend() { } src_prepare() { - eapply_user + default [[ -d m4 ]] || mkdir "m4" [[ ${PV} == 9999 ]] && eautoreconf }