From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DD7611396D9 for ; Tue, 14 Nov 2017 14:04:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5B983E0E3C; Tue, 14 Nov 2017 14:04:29 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2E60DE0E3C for ; Tue, 14 Nov 2017 14:04:29 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 408C033BF3C for ; Tue, 14 Nov 2017 14:04:28 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DC7BE9ACF for ; Tue, 14 Nov 2017 14:04:26 +0000 (UTC) From: "Chris Reffett" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Chris Reffett" Message-ID: <1510668248.35091c0e19d6bb95e53f62349a74af9ba370839c.creffett@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/sword/files/, app-text/sword/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/sword/files/sword-1.7.4-configure.patch app-text/sword/metadata.xml app-text/sword/sword-1.7.4-r1.ebuild app-text/sword/sword-1.7.4.ebuild X-VCS-Directories: app-text/sword/files/ app-text/sword/ X-VCS-Committer: creffett X-VCS-Committer-Name: Chris Reffett X-VCS-Revision: 35091c0e19d6bb95e53f62349a74af9ba370839c X-VCS-Branch: master Date: Tue, 14 Nov 2017 14:04:26 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: a0c7c5eb-585c-4e76-92db-6acad122a068 X-Archives-Hash: d5c41e29e41403ba4d5c351f1a3f2dd0 commit: 35091c0e19d6bb95e53f62349a74af9ba370839c Author: Chris Reffett gentoo org> AuthorDate: Tue Nov 14 14:03:20 2017 +0000 Commit: Chris Reffett gentoo org> CommitDate: Tue Nov 14 14:04:08 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35091c0e app-text/sword: Fix automagic dep on clucene Gentoo-Bug: 637398 Package-Manager: Portage-2.3.14, Repoman-2.3.5 RepoMan-Options: --force app-text/sword/files/sword-1.7.4-configure.patch | 23 ++++++++++++++++++++++ app-text/sword/metadata.xml | 3 +++ .../{sword-1.7.4.ebuild => sword-1.7.4-r1.ebuild} | 11 +++++++---- 3 files changed, 33 insertions(+), 4 deletions(-) diff --git a/app-text/sword/files/sword-1.7.4-configure.patch b/app-text/sword/files/sword-1.7.4-configure.patch new file mode 100644 index 00000000000..a098addcd0d --- /dev/null +++ b/app-text/sword/files/sword-1.7.4-configure.patch @@ -0,0 +1,23 @@ +--- a/configure ++++ b/configure +@@ -16893,7 +16895,7 @@ + # --------------------------------------------------------------------- + + # NOTE the $libdir hack at the end of the c[xx]flags. Apparently F16 finds that clucene is not multilib-save and places some include files in /usr/lib[64]/ ++if test "x$with_clucene" != "xno"; then +-with_clucene=no + if test "x$CLUCENE2_LIBS" != x; then + echo "clucene 2.x found - lucene searching options available" + AM_CXXFLAGS="$AM_CXXFLAGS $CLUCENE2_CFLAGS -DUSELUCENE -DCLUCENE2 -I$libdir" +@@ -16914,6 +16912,11 @@ + echo "lucene searching options not available" + fi + fi ++else ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: excluding support" >&5 ++$as_echo "clucene manually disabled - excluding support" >&6; } ++with_clucene="no" ++fi + + for ac_func in vsnprintf + do : diff --git a/app-text/sword/metadata.xml b/app-text/sword/metadata.xml index dd852d82e55..fb9230654d3 100644 --- a/app-text/sword/metadata.xml +++ b/app-text/sword/metadata.xml @@ -9,4 +9,7 @@ The SWORD Project is the CrossWire Bible Society's free Bible software project. Its purpose is to create tools that allow programmers and Bible societies to write new Bible software more quickly and easily. + + Use dev-cpp/clucene for lucene search support + diff --git a/app-text/sword/sword-1.7.4.ebuild b/app-text/sword/sword-1.7.4-r1.ebuild similarity index 90% rename from app-text/sword/sword-1.7.4.ebuild rename to app-text/sword/sword-1.7.4-r1.ebuild index 2db87d10461..be1fa4a3314 100644 --- a/app-text/sword/sword-1.7.4.ebuild +++ b/app-text/sword/sword-1.7.4-r1.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=6 inherit eutils flag-o-matic DESCRIPTION="Library for Bible reading software" @@ -11,11 +11,12 @@ SRC_URI="http://www.crosswire.org/ftpmirror/pub/${PN}/source/v${PV%.*}/${P}.tar. LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ~ppc x86 ~x86-fbsd ~ppc-macos" -IUSE="curl debug doc icu static-libs" +IUSE="clucene curl debug doc icu static-libs" RDEPEND="sys-libs/zlib curl? ( net-misc/curl ) icu? ( dev-libs/icu:= ) + clucene? ( dev-cpp/clucene ) " DEPEND="${RDEPEND} virtual/pkgconfig @@ -39,19 +40,21 @@ src_prepare() { DataPath=${EPREFIX}/usr/share/${PN}/ EOF epatch "${FILESDIR}/${PN}-1.7.4-gcc6.patch" + epatch "${FILESDIR}/${PN}-1.7.4-configure.patch" + eapply_user } src_configure() { # TODO: Why is this here and can we remove it? strip-flags - econf \ $(use_enable static-libs static) \ $(use_enable debug) \ --with-zlib \ $(use_with icu) \ --with-conf \ - $(use_with curl) + $(use_with curl) \ + $(use_with clucene) } src_install() {