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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C14F5158041 for ; Sun, 25 Feb 2024 13:36:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A9018E29D3; Sun, 25 Feb 2024 13:36:21 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8B53CE29D3 for ; Sun, 25 Feb 2024 13:36:21 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6951B33D9AD for ; Sun, 25 Feb 2024 13:36:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D48D91121 for ; Sun, 25 Feb 2024 13:36:18 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1708867341.d2113df30a04b943d254825dacf30969ba412195.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/xapian/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/xapian/Manifest dev-libs/xapian/xapian-1.4.24.ebuild X-VCS-Directories: dev-libs/xapian/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: d2113df30a04b943d254825dacf30969ba412195 X-VCS-Branch: master Date: Sun, 25 Feb 2024 13:36:18 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c933d466-af82-4877-b6e7-c064283bce3e X-Archives-Hash: 181690710f479fffdbcacfd78ad48b78 commit: d2113df30a04b943d254825dacf30969ba412195 Author: Anna (cybertailor) Vyalkova sysrq in> AuthorDate: Sat Feb 10 20:07:47 2024 +0000 Commit: Sam James gentoo org> CommitDate: Sun Feb 25 13:22:21 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2113df3 dev-libs/xapian: add 1.4.24 Changes: * Remove "doc" USE flag. Since it's prebuilt, INSTALL_MASK should be used instead. * Add "debug" USE flag. * Build "inmemory" and "remote" backends unconditionally. * Depend on "uuid/uuid.h" properly. * Pass $BUILD_CC to configure. Other changes: * Slot-depend on ZLIB. * Skip checks for valgrind and eatmydata. * Make DOCS an array. Closes: https://bugs.gentoo.org/923506 Signed-off-by: Anna (cybertailor) Vyalkova sysrq.in> Closes: https://github.com/gentoo/gentoo/pull/35263 Signed-off-by: Sam James gentoo.org> dev-libs/xapian/Manifest | 1 + dev-libs/xapian/xapian-1.4.24.ebuild | 62 ++++++++++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+) diff --git a/dev-libs/xapian/Manifest b/dev-libs/xapian/Manifest index 84d8efdcab8f..eadeb4dd7e64 100644 --- a/dev-libs/xapian/Manifest +++ b/dev-libs/xapian/Manifest @@ -1,2 +1,3 @@ DIST xapian-core-1.4.22.tar.xz 3019608 BLAKE2B f4aec86cd5f63f6f1825a4f8f427ea23be2092ffb4ca11a2fdf20bdf652e7b9f768b1155bcf7ee5e5c5313206c92e1725d1b4d562e3074539a2e8f9901c44f8e SHA512 60d66adbacbd59622d25e392060984bd1dc6c870f9031765f54cb335fb29f72f6d006d27af82a50c8da2cfbebd08dac4503a8afa8ad51bc4e6fa9cb367a59d29 DIST xapian-core-1.4.23.tar.xz 3024644 BLAKE2B e26a9fd5e79daf553b474e3c794178df2cdcd83ce7d7a45ae112dde624d6e7add157c76fda3a333afce6103b2edaf7e3c928e78c47aa1fd19821c3c73926442f SHA512 52dffc93301f99aa150dda8ecd5fb7cc7d0f2ce30e60f393b1058055ade24281af16cf5b5c0e6b08e4754e3d18c39bb5bc068b19330a294ad460ef8a6bc56380 +DIST xapian-core-1.4.24.tar.xz 3194164 BLAKE2B fc3484df448d2102d47005b2819eea8eee3fdb4337a42967e2b535187e4b7be9841a8e12b19291f29bdef52b3270529f94376fe91d5e4c70afebaf690a23b18f SHA512 2b156dd90784264d6bf64e66aca559578f946c013bb52e14e56fcd96e9c2fece71c236735b13d2baad0d7f2d410dea3ae54c94cd80f735baf1071bafe2e5c01c diff --git a/dev-libs/xapian/xapian-1.4.24.ebuild b/dev-libs/xapian/xapian-1.4.24.ebuild new file mode 100644 index 000000000000..6cdb011f6f3d --- /dev/null +++ b/dev-libs/xapian/xapian-1.4.24.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +MY_P="${PN}-core-${PV}" +DESCRIPTION="Xapian Probabilistic Information Retrieval library" +HOMEPAGE="https://xapian.org/" +SRC_URI="https://oligarchy.co.uk/xapian/${PV}/${MY_P}.tar.xz" +S="${WORKDIR}/${MY_P}" + +LICENSE="GPL-2" +SLOT="0/30" # ABI version of libxapian.so +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos ~x64-solaris" +IUSE="cpu_flags_x86_sse cpu_flags_x86_sse2 debug static-libs" + +DEPEND=" + sys-libs/zlib:= + !elibc_Darwin? ( !elibc_SunOS? ( sys-apps/util-linux ) ) + elibc_SunOS? ( sys-libs/libuuid ) +" +RDEPEND="${DEPEND}" + +DOCS=( AUTHORS HACKING PLATFORMS README NEWS ) + +src_configure() { + tc-export_build_env BUILD_CC + local -x CC_FOR_BUILD="${BUILD_CC}" + + # skip certain autoconf checks + local -x VALGRIND= + local -x EATMYDATA= + + local -a myconf=( + --docdir="${EPREFIX}"/usr/share/doc/${PF}/html + --enable-backend-chert + --enable-backend-glass + --enable-backend-inmemory + --enable-backend-remote + --program-suffix= + $(use_enable debug assertions) + $(use_enable debug log) + $(use_enable static-libs static) + ) + + if use cpu_flags_x86_sse2; then + myconf+=( --enable-sse=sse2 ) + elif use cpu_flags_x86_sse; then + myconf+=( --enable-sse=sse ) + else + myconf+=( --disable-sse ) + fi + + econf "${myconf[@]}" +} + +src_install() { + default + find "${ED}" -name "*.la" -type f -delete || die +}