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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9FF471581EE for ; Mon, 24 Mar 2025 06:53:46 +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) server-digest SHA256) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 8A7003434E1 for ; Mon, 24 Mar 2025 06:53:46 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 802CA1103B8; Mon, 24 Mar 2025 06:53:45 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 7434C1103B8 for ; Mon, 24 Mar 2025 06:53:45 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1F8073434C8 for ; Mon, 24 Mar 2025 06:53:45 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 65CD41EEA for ; Mon, 24 Mar 2025 06:53:43 +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: <1742799175.4dc57a07f0cc2d8df95d63ce7c6244f68efada64.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-arch/7zip/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-arch/7zip/7zip-24.09.ebuild app-arch/7zip/metadata.xml X-VCS-Directories: app-arch/7zip/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 4dc57a07f0cc2d8df95d63ce7c6244f68efada64 X-VCS-Branch: master Date: Mon, 24 Mar 2025 06:53:43 +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: 2ba1daf5-4d2e-45b1-a40b-7eaf4fa5f26c X-Archives-Hash: 0764bc75119ffaf4da143edda627f709 commit: 4dc57a07f0cc2d8df95d63ce7c6244f68efada64 Author: NRK disroot org> AuthorDate: Fri Mar 14 17:05:07 2025 +0000 Commit: Sam James gentoo org> CommitDate: Mon Mar 24 06:52:55 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4dc57a07 app-arch/7zip: add symlink useflag goal is to allow packages which only use the 7z/7zr/7za binaries to be able to depend on 7zip[symlink] rather than p7zip. this is a step towards replacing the unmaintained p7zip. Bug: https://bugs.gentoo.org/942397 Signed-off-by: NRK disroot.org> Signed-off-by: Sam James gentoo.org> app-arch/7zip/7zip-24.09.ebuild | 11 +++++++++-- app-arch/7zip/metadata.xml | 1 + 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/app-arch/7zip/7zip-24.09.ebuild b/app-arch/7zip/7zip-24.09.ebuild index dee12baa0394..255f34e19905 100644 --- a/app-arch/7zip/7zip-24.09.ebuild +++ b/app-arch/7zip/7zip-24.09.ebuild @@ -18,18 +18,20 @@ S="${WORKDIR}" LICENSE="LGPL-2 BSD rar? ( unRAR )" SLOT="0" KEYWORDS="amd64 arm64 ~ppc ~ppc64 ~riscv" -IUSE="uasm jwasm rar" +IUSE="uasm jwasm rar symlink" REQUIRED_USE="?? ( uasm jwasm )" DOCS=( readme.txt History.txt License.txt ) HTML_DOCS=( MANUAL ) -DEPEND="${RDEPEND}" BDEPEND=" app-arch/xz-utils[extra-filters(+)] uasm? ( dev-lang/uasm ) jwasm? ( dev-lang/jwasm ) " +RDEPEND=" + symlink? ( !app-arch/p7zip ) +" PATCHES=( "${FILESDIR}/${PN}-24.05-respect-build-env.patch" @@ -107,5 +109,10 @@ src_compile() { src_install() { dobin "./CPP/7zip/Bundles/Alone2/b/${bdir}/7zz" + if use symlink; then + dosym 7zz /usr/bin/7z + dosym 7zz /usr/bin/7za + dosym 7zz /usr/bin/7zr + fi einstalldocs } diff --git a/app-arch/7zip/metadata.xml b/app-arch/7zip/metadata.xml index 772c93a14f12..277fdcfd9104 100644 --- a/app-arch/7zip/metadata.xml +++ b/app-arch/7zip/metadata.xml @@ -16,6 +16,7 @@ Enable support for non-free rar decoder Use dev-lang/uasm to include optimized code Use dev-lang/jwasm to include optimized code (doesn't support AES) + Install additional symlink to 7z, 7za and 7zr