From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 finch.gentoo.org (Postfix) with ESMTPS id 89E1B1584AD for ; Thu, 08 May 2025 20:25:27 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (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) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 72810342FAA for ; Thu, 08 May 2025 20:25:27 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 5F1B9110277; Thu, 08 May 2025 20:25:26 +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 bobolink.gentoo.org (Postfix) with ESMTPS id 53440110277 for ; Thu, 08 May 2025 20:25:26 +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 EB7CA3409EC for ; Thu, 08 May 2025 20:25:25 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8051E2668 for ; Thu, 08 May 2025 20:25:24 +0000 (UTC) From: "Aaron W. Swenson" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Aaron W. Swenson" Message-ID: <1746735901.64e32561c09e43d2dfb0a29596f3c722414d851d.titanofold@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-vcs/fossil/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-vcs/fossil/Manifest dev-vcs/fossil/fossil-2.26.ebuild X-VCS-Directories: dev-vcs/fossil/ X-VCS-Committer: titanofold X-VCS-Committer-Name: Aaron W. Swenson X-VCS-Revision: 64e32561c09e43d2dfb0a29596f3c722414d851d X-VCS-Branch: master Date: Thu, 08 May 2025 20:25:24 +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: 7326288a-2428-4db4-a706-6b6fb74123ed X-Archives-Hash: 9775f78a3818a3cf2fc9cce05d951050 commit: 64e32561c09e43d2dfb0a29596f3c722414d851d Author: Aaron W. Swenson gentoo org> AuthorDate: Thu May 8 19:47:51 2025 +0000 Commit: Aaron W. Swenson gentoo org> CommitDate: Thu May 8 20:25:01 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64e32561 dev-vcs/fossil: add 2.26 Signed-off-by: Aaron W. Swenson gentoo.org> dev-vcs/fossil/Manifest | 1 + dev-vcs/fossil/fossil-2.26.ebuild | 94 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 95 insertions(+) diff --git a/dev-vcs/fossil/Manifest b/dev-vcs/fossil/Manifest index e26ac306438c..673bb62f98a3 100644 --- a/dev-vcs/fossil/Manifest +++ b/dev-vcs/fossil/Manifest @@ -1,3 +1,4 @@ DIST fossil-src-2.21.tar.gz 6703622 BLAKE2B fcc74ed5e3eec34f044624b128b8933b54d1cea99a212a1423e369fc469af4634f469f8c9c20af768c41edc9f1ec2592a074f87dadd5b9b90805906451268f0e SHA512 22534eb632f485de895b291a35325efe9bfd13ec0df84e94afe822593489ecdb2998352dcd501123d8d4c426a40bd4ff43190b50fb849392f886dd94bee42bf3 DIST fossil-src-2.22.tar.gz 6730858 BLAKE2B 3f0108dfb5802c61d107a6318acd11061c8311f112376c8c96645d6b0de1441b3ec745fcb2e2ec3888ed15ca89f4a2af535f61edcc6f4b5944d81d381f522935 SHA512 99a456301ae4ac72449985ff3b8b2139b805ff84e27ffe4325bad0c90643dd51c655b0210cbfa290a621e33e42e1e35b75a6cdc1beb093221d2b5d23d64591bc DIST fossil-src-2.24-r1.tar.gz 6904302 BLAKE2B 9b4a37663721d512d6fa8f6f74f69b65d569c10bd85e1187aa2a1c9e02b730855ebe261760223e7a6249bc20d4cfc44d61a302b5a8f664411ee16105d3d864d9 SHA512 7fc7de7d947b0946866df38c6cb2215f6452d31903cae6470bb4a692816b2803eb66ea372280256e5cd00759e4d02a0ae459de2f56f39af10e873579d53d33ee +DIST fossil-src-2.26-r1.tar.gz 7149081 BLAKE2B 4d902844049ff2d54fd927b577de37f9d74f3f3e6eff90d58d5a74c2988d1195e547b24b246e9dc0713e4ed6f91f252e1496b7f4d4164520f3a00311db946158 SHA512 356a3b51adde40aedb094743eb978b78961c4216152000ecd800e22b69f1e3a11330259b627628fb6e9a594b1969f0351a73af717b500b4f12d109108fa82b61 diff --git a/dev-vcs/fossil/fossil-2.26.ebuild b/dev-vcs/fossil/fossil-2.26.ebuild new file mode 100644 index 000000000000..23fd88451c9c --- /dev/null +++ b/dev-vcs/fossil/fossil-2.26.ebuild @@ -0,0 +1,94 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +MY_TAG="1205ec86cb5508e94b90698db2900997fe5c9db62429c67ac6fdc03d59aa2782" + +DESCRIPTION="Simple, high-reliability, source control management, and more" +HOMEPAGE="https://www.fossil-scm.org/home" + +# Arrow can be dropped with next version. Needed to resolve +# https://bugs.gentoo.org/931862 +SRC_URI="https://fossil-scm.org/home/tarball/${MY_TAG}/fossil-src-${PV}.tar.gz -> fossil-src-${PV}-r1.tar.gz" + +S="${WORKDIR}/fossil-src-${PV}" +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~riscv ~x86" +IUSE="debug fusefs json system-sqlite +ssl static tcl tcl-stubs + tcl-private-stubs test th1-docs th1-hooks" +RESTRICT="!test? ( test )" + +# Please check sqlite minimum version on every release. This can be done with: +# ./configure --print-minimum-sqlite-version +RDEPEND=" + sys-libs/zlib + || ( + sys-libs/readline:0 + dev-libs/libedit + ) + system-sqlite? ( >=dev-db/sqlite-3.38.0:3 ) + ssl? ( dev-libs/openssl:0= ) + tcl? ( dev-lang/tcl:0= ) +" + +# Either tcl or jimtcl need to be present to build Fossil (Bug #675778) +DEPEND="${RDEPEND} + !tcl? ( + || ( + dev-lang/tcl:* + dev-lang/jimtcl:* + ) + ) +" + +BDEPEND=" + test? ( + dev-lang/tcl + !riscv? ( json? ( dev-tcltk/tcllib ) ) + ) +" + +PATCHES=( + # fossil-2.10-check-lib64-for-tcl.patch: Bug 690828 + "${FILESDIR}"/fossil-2.10-check-lib64-for-tcl.patch +) + +# src_prepare() { +# eapply -p0 -- \ +# "${FILESDIR}"/fossil-2.24-test-fixes.patch \ +# "${FILESDIR}"/fossil-2.24-disable-utf8-tests-1179-1586-1587.patch \ +# "${FILESDIR}"/fossil-2.24-fix-json-test-content-length.patch + +# default +# } + +src_configure() { + # this is not an autotools situation so don't make it seem like one + # --with-tcl: works + # --without-tcl: dies + local myconf="--with-openssl=$(usex ssl auto none)" + use debug && myconf+=' --fossil-debug' + use json && myconf+=' --json' + use system-sqlite && myconf+=' --disable-internal-sqlite' + use static && myconf+=' --static' + use tcl && myconf+=' --with-tcl=1' + use fusefs || myconf+=' --disable-fusefs' + + local u useflags + useflags=( tcl-stubs tcl-private-stubs th1-docs th1-hooks ) + for u in ${useflags[@]} ; do + use ${u} && myconf+=" --with-${u}" + done + + tc-export CC CXX + CC_FOR_BUILD=${CC} ./configure ${myconf} || die +} + +src_install() { + dobin fossil + doman fossil.1 +}