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 (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E008E158042 for ; Tue, 29 Oct 2024 14:07:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 28286E07F0; Tue, 29 Oct 2024 14:07:42 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 13513E07F0 for ; Tue, 29 Oct 2024 14:07:42 +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 5B3EA342F9D for ; Tue, 29 Oct 2024 14:07:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EE8E41626 for ; Tue, 29 Oct 2024 14:07:39 +0000 (UTC) From: "David Roman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Roman" Message-ID: <1730210848.80a89cbf9aeffbcba5077fb6f9aaa73788d44c38.davidroman@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/ X-VCS-Repository: repo/proj/guru X-VCS-Files: sys-fs/dwarfs/dwarfs-0.10.1-r1.ebuild X-VCS-Directories: sys-fs/dwarfs/ X-VCS-Committer: davidroman X-VCS-Committer-Name: David Roman X-VCS-Revision: 80a89cbf9aeffbcba5077fb6f9aaa73788d44c38 X-VCS-Branch: dev Date: Tue, 29 Oct 2024 14:07:39 +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: 3bbe4bd1-4109-4688-917f-e64cf01530d6 X-Archives-Hash: 39b9a6dc3523fbd29abeda55c43d9bd2 commit: 80a89cbf9aeffbcba5077fb6f9aaa73788d44c38 Author: Nathan VALLET gmail com> AuthorDate: Tue Oct 29 11:45:32 2024 +0000 Commit: David Roman gmail com> CommitDate: Tue Oct 29 14:07:28 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=80a89cbf sys-fs/dwarfs: add missing dev-cpp/range-v3 dependency to prevent it from being pulled by the network when building Closes: https://bugs.gentoo.org/940265 Signed-off-by: Nathan VALLET gmail.com> Closes: https://github.com/gentoo/guru/pull/254 Signed-off-by: David Roman gmail.com> sys-fs/dwarfs/dwarfs-0.10.1-r1.ebuild | 110 ++++++++++++++++++++++++++++++++++ 1 file changed, 110 insertions(+) diff --git a/sys-fs/dwarfs/dwarfs-0.10.1-r1.ebuild b/sys-fs/dwarfs/dwarfs-0.10.1-r1.ebuild new file mode 100644 index 000000000..ca689e9c8 --- /dev/null +++ b/sys-fs/dwarfs/dwarfs-0.10.1-r1.ebuild @@ -0,0 +1,110 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit check-reqs cmake flag-o-matic + +DESCRIPTION="A fast high compression read-only file system for Linux, Windows and macOS" +HOMEPAGE="https://github.com/mhx/dwarfs" +SRC_URI="https://github.com/mhx/dwarfs/releases/download/v${PV}/${P}.tar.xz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+jemalloc test +tools +fuse +perfmon flac ricepp stacktrace" +S="${WORKDIR}/dwarfs-${PV}" + +PATCHES=( + "${FILESDIR}"/dwarfs-libfmt9.patch +) + +RDEPEND=" + >=app-arch/libarchive-3.6.0 + >=app-arch/brotli-1.0.9 + >=app-arch/lz4-1.9.3 + >=app-arch/xz-utils-5.2.5 + >=app-arch/zstd-1.4.8 + dev-cpp/gflags + dev-cpp/glog[gflags] + >=dev-cpp/parallel-hashmap-1.3.8 + dev-libs/boost[context] + dev-libs/double-conversion + dev-libs/libevent + >=dev-libs/libfmt-9.1.0 + dev-libs/utfcpp + >=dev-libs/xxhash-0.8.1 + flac? ( >=media-libs/flac-1.4.2 ) + fuse? ( sys-fs/fuse:3 ) + sys-libs/binutils-libs + stacktrace? ( sys-libs/libunwind ) + sys-libs/zlib + jemalloc? ( >=dev-libs/jemalloc-5.2.1 ) + test? ( >=dev-cpp/gtest-1.13.0 ) + >=dev-cpp/range-v3-0.12.0 +" + +DEPEND=" + ${RDEPEND} +" +BDEPEND=" + virtual/pkgconfig +" + +FEATURES=" + stacktrace? ( nostrip ) +" + +DOCS=( "README.md" "CHANGES.md" "TODO" ) +RESTRICT="!test? ( test )" + +CHECKREQS_DISK_BUILD="500M" +CMAKE_WARN_UNUSED_CLI=0 + +src_prepare(){ + cmake_src_prepare + sed "s/DESTINATION lib/DESTINATION $(get_libdir)/" -i cmake/libdwarfs.cmake || die +} + +src_configure(){ + mycmakeargs=( + -DUSE_JEMALLOC=$(usex jemalloc ON OFF) + -DWITH_TESTS=$(usex test ON OFF) + -DWITH_MAN_PAGES=ON + -DWITH_MAN_OPTION=ON + -DWITH_LIBDWARFS=ON + -DWITH_TOOLS=$(usex tools ON OFF) + -DWITH_FUSE_DRIVER=$(usex fuse ON OFF) + -DENABLE_PERFMON=$(usex perfmon ON OFF) + -DTRY_ENABLE_FLAC=$(usex flac ON OFF) + -DENABLE_RICEPP=$(usex ricepp ON OFF) + -DENABLE_STACKTRACE=$(usex stacktrace ON OFF) + -DWITH_LEGACY_FUSE=OFF + -DPREFER_SYSTEM_GTEST=ON + ) + cmake_src_configure +} + +src_test(){ + export DWARFS_SKIP_FUSE_TESTS=1 + local CMAKE_SKIP_TESTS=( + # Perfmon is not working within sandbox + dwarfsextract_test.perfmon + ) + + cmake_src_test +} + +pkg_postinst(){ + elog "More information: ${HOMEPAGE}" + if use tools ; then + elog " creating images: mkdwarfs --man" + elog " creating images: man mkdwarfs" + elog " creating images: ${HOMEPAGE}/blob/main/doc/mkdwarfs.md" + fi + if use fuse ; then + elog " mounting images: dwarfs --man" + elog " mounting images: man dwarfs" + elog " mounting images: ${HOMEPAGE}/blob/main/doc/dwarfs.md" + fi +} 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 (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9911E158042 for ; Tue, 29 Oct 2024 22:14:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 934BDE081E; Tue, 29 Oct 2024 22:14:56 +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 76DF4E0805 for ; Tue, 29 Oct 2024 22:14:56 +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 8EED1342FF1 for ; Tue, 29 Oct 2024 22:14:55 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2F2541626 for ; Tue, 29 Oct 2024 22:14:54 +0000 (UTC) From: "David Roman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Roman" Message-ID: <1730210848.80a89cbf9aeffbcba5077fb6f9aaa73788d44c38.davidroman@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: sys-fs/dwarfs/ X-VCS-Repository: repo/proj/guru X-VCS-Files: sys-fs/dwarfs/dwarfs-0.10.1-r1.ebuild X-VCS-Directories: sys-fs/dwarfs/ X-VCS-Committer: davidroman X-VCS-Committer-Name: David Roman X-VCS-Revision: 80a89cbf9aeffbcba5077fb6f9aaa73788d44c38 X-VCS-Branch: master Date: Tue, 29 Oct 2024 22:14:54 +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: 3ec51347-3c88-4036-8c15-dd9cad904212 X-Archives-Hash: 3c01849b21470daa46e2c7fdee43685e Message-ID: <20241029221454.8vj_bUpnlTIEDhOlJ7YnSeMqlXMaNDgBjAUU6RymO5U@z> commit: 80a89cbf9aeffbcba5077fb6f9aaa73788d44c38 Author: Nathan VALLET gmail com> AuthorDate: Tue Oct 29 11:45:32 2024 +0000 Commit: David Roman gmail com> CommitDate: Tue Oct 29 14:07:28 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=80a89cbf sys-fs/dwarfs: add missing dev-cpp/range-v3 dependency to prevent it from being pulled by the network when building Closes: https://bugs.gentoo.org/940265 Signed-off-by: Nathan VALLET gmail.com> Closes: https://github.com/gentoo/guru/pull/254 Signed-off-by: David Roman gmail.com> sys-fs/dwarfs/dwarfs-0.10.1-r1.ebuild | 110 ++++++++++++++++++++++++++++++++++ 1 file changed, 110 insertions(+) diff --git a/sys-fs/dwarfs/dwarfs-0.10.1-r1.ebuild b/sys-fs/dwarfs/dwarfs-0.10.1-r1.ebuild new file mode 100644 index 000000000..ca689e9c8 --- /dev/null +++ b/sys-fs/dwarfs/dwarfs-0.10.1-r1.ebuild @@ -0,0 +1,110 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit check-reqs cmake flag-o-matic + +DESCRIPTION="A fast high compression read-only file system for Linux, Windows and macOS" +HOMEPAGE="https://github.com/mhx/dwarfs" +SRC_URI="https://github.com/mhx/dwarfs/releases/download/v${PV}/${P}.tar.xz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+jemalloc test +tools +fuse +perfmon flac ricepp stacktrace" +S="${WORKDIR}/dwarfs-${PV}" + +PATCHES=( + "${FILESDIR}"/dwarfs-libfmt9.patch +) + +RDEPEND=" + >=app-arch/libarchive-3.6.0 + >=app-arch/brotli-1.0.9 + >=app-arch/lz4-1.9.3 + >=app-arch/xz-utils-5.2.5 + >=app-arch/zstd-1.4.8 + dev-cpp/gflags + dev-cpp/glog[gflags] + >=dev-cpp/parallel-hashmap-1.3.8 + dev-libs/boost[context] + dev-libs/double-conversion + dev-libs/libevent + >=dev-libs/libfmt-9.1.0 + dev-libs/utfcpp + >=dev-libs/xxhash-0.8.1 + flac? ( >=media-libs/flac-1.4.2 ) + fuse? ( sys-fs/fuse:3 ) + sys-libs/binutils-libs + stacktrace? ( sys-libs/libunwind ) + sys-libs/zlib + jemalloc? ( >=dev-libs/jemalloc-5.2.1 ) + test? ( >=dev-cpp/gtest-1.13.0 ) + >=dev-cpp/range-v3-0.12.0 +" + +DEPEND=" + ${RDEPEND} +" +BDEPEND=" + virtual/pkgconfig +" + +FEATURES=" + stacktrace? ( nostrip ) +" + +DOCS=( "README.md" "CHANGES.md" "TODO" ) +RESTRICT="!test? ( test )" + +CHECKREQS_DISK_BUILD="500M" +CMAKE_WARN_UNUSED_CLI=0 + +src_prepare(){ + cmake_src_prepare + sed "s/DESTINATION lib/DESTINATION $(get_libdir)/" -i cmake/libdwarfs.cmake || die +} + +src_configure(){ + mycmakeargs=( + -DUSE_JEMALLOC=$(usex jemalloc ON OFF) + -DWITH_TESTS=$(usex test ON OFF) + -DWITH_MAN_PAGES=ON + -DWITH_MAN_OPTION=ON + -DWITH_LIBDWARFS=ON + -DWITH_TOOLS=$(usex tools ON OFF) + -DWITH_FUSE_DRIVER=$(usex fuse ON OFF) + -DENABLE_PERFMON=$(usex perfmon ON OFF) + -DTRY_ENABLE_FLAC=$(usex flac ON OFF) + -DENABLE_RICEPP=$(usex ricepp ON OFF) + -DENABLE_STACKTRACE=$(usex stacktrace ON OFF) + -DWITH_LEGACY_FUSE=OFF + -DPREFER_SYSTEM_GTEST=ON + ) + cmake_src_configure +} + +src_test(){ + export DWARFS_SKIP_FUSE_TESTS=1 + local CMAKE_SKIP_TESTS=( + # Perfmon is not working within sandbox + dwarfsextract_test.perfmon + ) + + cmake_src_test +} + +pkg_postinst(){ + elog "More information: ${HOMEPAGE}" + if use tools ; then + elog " creating images: mkdwarfs --man" + elog " creating images: man mkdwarfs" + elog " creating images: ${HOMEPAGE}/blob/main/doc/mkdwarfs.md" + fi + if use fuse ; then + elog " mounting images: dwarfs --man" + elog " mounting images: man dwarfs" + elog " mounting images: ${HOMEPAGE}/blob/main/doc/dwarfs.md" + fi +}