public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Roman" <davidroman96@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: sys-fs/dwarfs/
Date: Tue, 29 Oct 2024 22:14:54 +0000 (UTC)	[thread overview]
Message-ID: <1730210848.80a89cbf9aeffbcba5077fb6f9aaa73788d44c38.davidroman@gentoo> (raw)
Message-ID: <20241029221454.8vj_bUpnlTIEDhOlJ7YnSeMqlXMaNDgBjAUU6RymO5U@z> (raw)

commit:     80a89cbf9aeffbcba5077fb6f9aaa73788d44c38
Author:     Nathan VALLET <nathanvalletmarseille <AT> gmail <DOT> com>
AuthorDate: Tue Oct 29 11:45:32 2024 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> 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 <nathanvalletmarseille <AT> gmail.com>
Closes: https://github.com/gentoo/guru/pull/254
Signed-off-by: David Roman <davidroman96 <AT> 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
+}


             reply	other threads:[~2024-10-29 22:14 UTC|newest]

Thread overview: 71+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-29 14:07 David Roman [this message]
2024-10-29 22:14 ` [gentoo-commits] repo/proj/guru:master commit in: sys-fs/dwarfs/ David Roman
  -- strict thread matches above, loose matches on Subject: below --
2024-12-27 17:43 [gentoo-commits] repo/proj/guru:dev " Denis Reva
2024-12-04 20:47 [gentoo-commits] repo/proj/guru:dev commit in: "sys-fs/dwarfs/ Anna Vyalkova
2024-11-04  8:57 [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/ Denis Reva
2024-11-02 18:27 Denis Reva
2024-11-02 18:02 Denis Reva
2024-07-02 18:12 Denis Reva
2024-06-05  5:11 Denis Reva
2024-06-03 12:41 Denis Reva
2024-06-03 12:41 Denis Reva
2024-05-16 15:06 Denis Reva
2024-02-24  9:07 Denis Reva
2024-02-15  8:43 Denis Reva
2024-02-14 15:00 Denis Reva
2024-02-13 15:46 Denis Reva
2024-02-13 15:46 Denis Reva
2024-02-13 15:45 Denis Reva
2024-02-12  9:18 Denis Reva
2024-02-12  8:06 Denis Reva
2024-02-08 19:13 YiFei Zhu
2024-01-23 11:08 YiFei Zhu
2024-01-19  6:43 YiFei Zhu
2024-01-10  6:31 YiFei Zhu
2024-01-10  6:31 YiFei Zhu
2024-01-08 14:03 Denis Reva
2024-01-08  9:43 YiFei Zhu
2024-01-08  8:50 YiFei Zhu
2024-01-07 11:05 Denis Reva
2024-01-02 16:02 Denis Reva
2023-08-16 13:08 Denis Reva
2023-07-25 14:16 Denis Reva
2023-07-12 16:46 Denis Reva
2023-07-10  5:39 Denis Reva
2023-05-16 10:04 Denis Reva
2023-05-07 13:26 Denis Reva
2023-03-30 13:06 Anna Vyalkova
2023-02-28 14:51 Denis Reva
2023-02-28 13:02 Denis Reva
2022-07-07  0:41 Anna Vyalkova
2021-11-26 11:39 Denis Reva
2021-10-28 15:18 Alessandro Barbieri
2021-09-16  6:34 Denis Reva
2021-07-07  3:41 Denis Reva
2021-07-07  3:41 Denis Reva
2021-05-05  7:32 Alessandro Barbieri
2021-05-03 10:11 Denis Reva
2021-05-02  2:27 Alessandro Barbieri
2021-05-02  1:51 Alessandro Barbieri
2021-04-29  3:24 Alessandro Barbieri
2021-04-28 11:43 Denis Reva
2021-04-28  5:20 Denis Reva
2021-04-28  5:17 Denis Reva
2021-04-27  8:34 Denis Reva
2021-04-12  9:27 Andrew Ammerlaan
2021-04-12  4:05 Denis Reva
2021-04-11 15:00 Denis Reva
2021-04-11 12:24 Denis Reva
2021-04-09 14:29 Denis Reva
2021-03-28 11:14 Andrew Ammerlaan
2021-03-12  4:52 Denis Reva
2021-03-11 17:16 Denis Reva
2021-02-06  5:54 Denis Reva
2021-01-10  5:56 Denis Reva
2021-01-07 19:41 Denis Reva
2020-12-13 13:30 Denis Reva
2020-12-10 15:11 Denis Reva
2020-12-10  7:52 Denis Reva
2020-12-08  7:28 Denis Reva
2020-12-04  4:17 Denis Reva
2020-12-02  7:34 Denis Reva

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1730210848.80a89cbf9aeffbcba5077fb6f9aaa73788d44c38.davidroman@gentoo \
    --to=davidroman96@gmail.com \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox