public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/
@ 2023-07-25 14:16 Denis Reva
  0 siblings, 0 replies; 68+ messages in thread
From: Denis Reva @ 2023-07-25 14:16 UTC (permalink / raw
  To: gentoo-commits

commit:     c19c92e32bd088541fa96372976a48ea918c0a57
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Tue Jul 25 14:15:54 2023 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Tue Jul 25 14:15:54 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c19c92e3

sys-fs/dwarfs: updated to latest 0.7.2

Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 sys-fs/dwarfs/Manifest                                     | 2 +-
 sys-fs/dwarfs/{dwarfs-0.7.0.ebuild => dwarfs-0.7.2.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-fs/dwarfs/Manifest b/sys-fs/dwarfs/Manifest
index 224bd094a..7b9306fda 100644
--- a/sys-fs/dwarfs/Manifest
+++ b/sys-fs/dwarfs/Manifest
@@ -1 +1 @@
-DIST dwarfs-0.7.0.tar.xz 14516672 BLAKE2B c48527f84af0c96ca573af94d1cdc9637ab5bc99934f02b457eec80548399ba362ebc20f6bc5d44d780e29d9538d6045f334a24b4264d49ab02c39fdfddc54bf SHA512 52ea209590a97ee11a902103b3862c55d733a899e199c5e436c4ad5f5278c10f6425c7e35853dd173e260f93e946628e2ac5677706af4ab4486c5af712265f27
+DIST dwarfs-0.7.2.tar.xz 15108504 BLAKE2B 85cb90ea7d20c3c067c126dc7f7a65145041f6ef2853f96a89ca425a8a1dab9d49a0a21daa9590037aa0a9fcfc4f11fbb91d4417213318a699472532400017bb SHA512 5f455b4e15ac3ef5fba8cf26295c4bce19b613d5bc09781ed0a0fd77c2ae73b197e50dce411a21b856aababb59a1800e767c40d55f0f86d88badf021042c1fd6

diff --git a/sys-fs/dwarfs/dwarfs-0.7.0.ebuild b/sys-fs/dwarfs/dwarfs-0.7.2.ebuild
similarity index 100%
rename from sys-fs/dwarfs/dwarfs-0.7.0.ebuild
rename to sys-fs/dwarfs/dwarfs-0.7.2.ebuild


^ permalink raw reply related	[flat|nested] 68+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/
@ 2024-11-04  8:57 Denis Reva
  0 siblings, 0 replies; 68+ messages in thread
From: Denis Reva @ 2024-11-04  8:57 UTC (permalink / raw
  To: gentoo-commits

commit:     2e2d1d928f82690a3f4b88abcb52cc87519b6c05
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Mon Nov  4 08:56:55 2024 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Mon Nov  4 08:56:55 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2e2d1d92

sys-fs/dwarfs: removed obsolete versions

Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 sys-fs/dwarfs/Manifest                |   1 -
 sys-fs/dwarfs/dwarfs-0.10.1-r1.ebuild | 110 ---------------------------
 sys-fs/dwarfs/dwarfs-0.9.10-r1.ebuild | 139 ----------------------------------
 3 files changed, 250 deletions(-)

diff --git a/sys-fs/dwarfs/Manifest b/sys-fs/dwarfs/Manifest
index 4ce81afd6..5a99b6ee6 100644
--- a/sys-fs/dwarfs/Manifest
+++ b/sys-fs/dwarfs/Manifest
@@ -1,2 +1 @@
 DIST dwarfs-0.10.1.tar.xz 11731244 BLAKE2B 5885e7dc4092dd678383958839afcc02e906c95dcb8e2af2a649738a3d41196ec51f17a4362b413863136bd67cbd3d8225c147ed2da1a089561ec6e5d2587d4b SHA512 5dcfde0698f0ea9aecda51387b392cf58abbd5b94af178bfe741331bc78b24e2f837cbfbe63bc36c7c6117b4c8206418946ca93e91b5660f6b7d0a14f2817101
-DIST dwarfs-0.9.10.tar.xz 18618308 BLAKE2B be992c645b76c277e08c5ccaa80665c7303a8a218ead430b2f382b1f537d42debd095c94697dfff24246985d70efb70aeae8d4f4e68f3461bc0dca3f6135a184 SHA512 c67ac3586a7f36e4439a1c63b292ad1f1c61e6bc307b9711785a97d7146c686bc3918ff031188bfaa741829114a661e80bb7e4b5d7ce4f4b3f6d1e86e8532ec9

diff --git a/sys-fs/dwarfs/dwarfs-0.10.1-r1.ebuild b/sys-fs/dwarfs/dwarfs-0.10.1-r1.ebuild
deleted file mode 100644
index ca689e9c8..000000000
--- a/sys-fs/dwarfs/dwarfs-0.10.1-r1.ebuild
+++ /dev/null
@@ -1,110 +0,0 @@
-# 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
-}

diff --git a/sys-fs/dwarfs/dwarfs-0.9.10-r1.ebuild b/sys-fs/dwarfs/dwarfs-0.9.10-r1.ebuild
deleted file mode 100644
index f95818f5e..000000000
--- a/sys-fs/dwarfs/dwarfs-0.9.10-r1.ebuild
+++ /dev/null
@@ -1,139 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-
-inherit check-reqs cmake flag-o-matic python-any-r1
-
-DESCRIPTION="A fast very high compression read-only FUSE file system"
-HOMEPAGE="https://github.com/mhx/dwarfs"
-SRC_URI="https://github.com/mhx/dwarfs/releases/download/v${PV}/${P}.tar.xz"
-
-S="${WORKDIR}/dwarfs-${PV}"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="+jemalloc test"
-#Tests are expected to be partially broken sometimes
-# See https://github.com/mhx/dwarfs/issues/194
-
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-	app-arch/brotli
-	app-arch/libarchive
-	app-arch/lz4
-	app-arch/snappy
-	app-arch/xz-utils
-	app-arch/zstd
-	dev-cpp/range-v3
-	dev-cpp/gflags
-	dev-cpp/glog[gflags]
-	dev-cpp/parallel-hashmap:=
-	dev-libs/boost[context]
-	dev-libs/date
-	dev-libs/double-conversion
-	dev-libs/libevent
-	dev-libs/libfmt
-	dev-libs/utfcpp
-	dev-libs/xxhash
-	dev-libs/fsst
-	media-libs/flac
-	sys-fs/fuse:3
-	sys-libs/binutils-libs
-	sys-libs/zlib
-	jemalloc? ( >=dev-libs/jemalloc-5.3.0-r1 )
-"
-
-DEPEND="${RDEPEND}
-	sys-libs/libunwind"
-BDEPEND="
-	${PYTHON_DEPS}
-	dev-util/patchelf
-	sys-devel/bison
-	sys-devel/flex
-	virtual/pkgconfig
-	app-text/ronn-ng
-	test? ( dev-cpp/gtest )
-	$(python_gen_any_dep 'dev-python/mistletoe[${PYTHON_USEDEP}]')
-"
-
-DOCS=( "README.md" "CHANGES.md" "TODO" )
-
-CHECKREQS_DISK_BUILD="1300M"
-CMAKE_IN_SOURCE_BUILD=1
-CMAKE_WARN_UNUSED_CLI=0
-
-python_check_deps() {
-	python_has_version -b "dev-python/mistletoe[${PYTHON_USEDEP}]"
-}
-
-src_prepare() {
-	rm -r zstd xxHash parallel-hashmap || die
-	sed "s/DESTINATION lib/DESTINATION $(get_libdir)/" -i CMakeLists.txt || die
-
-	# Bug #900016, but upstream discourages O3
-	sed '/FLAGS_RELEASE/s# -O2 -g##' -i CMakeLists.txt || die
-	sed '/CMAKE_CXX_FLAGS_COMMON/s#-g ##' -i folly/CMake/FollyCompilerUnix.cmake || die
-	sed '/^\s*-g$/d' -i folly/CMake/FollyCompilerUnix.cmake || die
-	replace-flags -O3 -O2
-	# Fixes building with test when using system-gtest
-	# https://github.com/mhx/dwarfs/issues/188
-	sed '/utils_test/d' -i CMakeLists.txt || die
-	cmake_src_prepare
-}
-
-src_configure() {
-	append-cxxflags "-I/usr/include"
-	filter-ldflags "-Wl,--as-needed"
-	append-ldflags $(no-as-needed)
-
-	# FIXME: Requires dev-cpp/gtest to be built with -fchar8_t or -std=c++20.
-	# This is unfortunately too aggressive:
-	# append-cxxflags "-fno-char8_t"
-
-	mycmakeargs=(
-		-DUSE_JEMALLOC=$(usex jemalloc ON OFF)
-		-DWITH_TESTS=$(usex test ON OFF)
-		-DWITH_MAN_PAGES=ON
-		# https://projects.gentoo.org/qa/policy-guide/installed-files.html#pg0305
-		-DPREFER_SYSTEM_ZSTD=ON
-		-DPREFER_SYSTEM_XXHASH=ON
-		-DPREFER_SYSTEM_GTEST=ON
-		-DPREFER_SYSTEM_LIBFMT=ON
-		-DWITH_LEGACY_FUSE=OFF
-		-DDISABLE_CCACHE=ON  # Use FEATURES=ccache
-		-DBUILD_SHARED_LIBS=OFF # It can be very difficult to explain
-		#  Shared libs is not fully supported by upstream
-		# https://github.com/mhx/dwarfs/issues/184#issuecomment-1873820859
-		#  So if we disable shared libs we dramatically reduce install code and
-		# remove libs collision with dev-cpp/folly, dev-cpp/fbthrift,
-		# dev-cpp/fizz, and dev-cpp/wangle
-		#  We do NOT enable the full static build, but eradicate bundled libs
-		# such as libfolly.so and libdwarfs_compression.so
-		-DCMAKE_FIND_LIBRARY_SUFFIXES=".a"
-	)
-	cmake_src_configure
-}
-
-src_test() {
-	local CMAKE_SKIP_TESTS=(
-		# Tests don't work in sandbox
-		# fuse: failed to open /dev/fuse: Permission denied
-		dwarfs/tools_test
-		# Some tests doesn't work because of sed '/utils_test/d'
-		dwarfsextract_test.perfmon
-		dwarfs/segmenter_repeating_sequence_test.github161
-	)
-	cmake_src_test
-}
-
-pkg_postinst() {
-	elog "You may find more information in the"
-	elog "${HOMEPAGE}"
-	elog "About creating: ${HOMEPAGE}/blob/main/doc/mkdwarfs.md"
-	elog "About mounting: ${HOMEPAGE}/blob/main/doc/dwarfs.md"
-}


^ permalink raw reply related	[flat|nested] 68+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/
@ 2024-11-02 18:27 Denis Reva
  0 siblings, 0 replies; 68+ messages in thread
From: Denis Reva @ 2024-11-02 18:27 UTC (permalink / raw
  To: gentoo-commits

commit:     1a39faa424c6706c277d1e7fff3a7c6017183a3d
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Sat Nov  2 18:27:42 2024 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Sat Nov  2 18:27:42 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1a39faa4

sys-fs/dwarfs: Fixed commit error

Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 sys-fs/dwarfs/.dwarfs-0.10.1-r2.ebuild.kate-swp | Bin 254 -> 0 bytes
 sys-fs/dwarfs/dwarfs-0.10.1-r2.ebuild           |   2 ++
 2 files changed, 2 insertions(+)

diff --git a/sys-fs/dwarfs/.dwarfs-0.10.1-r2.ebuild.kate-swp b/sys-fs/dwarfs/.dwarfs-0.10.1-r2.ebuild.kate-swp
deleted file mode 100644
index 27f2609d6..000000000
Binary files a/sys-fs/dwarfs/.dwarfs-0.10.1-r2.ebuild.kate-swp and /dev/null differ

diff --git a/sys-fs/dwarfs/dwarfs-0.10.1-r2.ebuild b/sys-fs/dwarfs/dwarfs-0.10.1-r2.ebuild
index ca689e9c8..7aa877970 100644
--- a/sys-fs/dwarfs/dwarfs-0.10.1-r2.ebuild
+++ b/sys-fs/dwarfs/dwarfs-0.10.1-r2.ebuild
@@ -42,6 +42,8 @@ RDEPEND="
 	jemalloc? ( >=dev-libs/jemalloc-5.2.1 )
 	test? ( >=dev-cpp/gtest-1.13.0 )
 	>=dev-cpp/range-v3-0.12.0
+	dev-libs/date
+	dev-cpp/nlohmann_json
 "
 
 DEPEND="


^ permalink raw reply related	[flat|nested] 68+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/
@ 2024-11-02 18:02 Denis Reva
  0 siblings, 0 replies; 68+ messages in thread
From: Denis Reva @ 2024-11-02 18:02 UTC (permalink / raw
  To: gentoo-commits

commit:     d4afca28f9ee1432c11b3c81fb2d4c989b83223a
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Sat Nov  2 18:02:00 2024 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Sat Nov  2 18:02:00 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d4afca28

sys-fs/dwarfs: Added missed direct dependencies

(they are no longer installed indirectly)

Closes: https://bugs.gentoo.org/942532
Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 sys-fs/dwarfs/.dwarfs-0.10.1-r2.ebuild.kate-swp | Bin 0 -> 254 bytes
 sys-fs/dwarfs/dwarfs-0.10.1-r2.ebuild           | 110 ++++++++++++++++++++++++
 2 files changed, 110 insertions(+)

diff --git a/sys-fs/dwarfs/.dwarfs-0.10.1-r2.ebuild.kate-swp b/sys-fs/dwarfs/.dwarfs-0.10.1-r2.ebuild.kate-swp
new file mode 100644
index 000000000..27f2609d6
Binary files /dev/null and b/sys-fs/dwarfs/.dwarfs-0.10.1-r2.ebuild.kate-swp differ

diff --git a/sys-fs/dwarfs/dwarfs-0.10.1-r2.ebuild b/sys-fs/dwarfs/dwarfs-0.10.1-r2.ebuild
new file mode 100644
index 000000000..ca689e9c8
--- /dev/null
+++ b/sys-fs/dwarfs/dwarfs-0.10.1-r2.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
+}


^ permalink raw reply related	[flat|nested] 68+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/
@ 2024-10-29 14:07 David Roman
  0 siblings, 0 replies; 68+ messages in thread
From: David Roman @ 2024-10-29 14:07 UTC (permalink / raw
  To: gentoo-commits

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
+}


^ permalink raw reply related	[flat|nested] 68+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/
@ 2024-07-02 18:12 Denis Reva
  0 siblings, 0 replies; 68+ messages in thread
From: Denis Reva @ 2024-07-02 18:12 UTC (permalink / raw
  To: gentoo-commits

commit:     580798130fab3292ae9eb110fa239bca33269bd3
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Tue Jul  2 13:09:58 2024 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Tue Jul  2 18:12:21 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=58079813

sys-fs/dwarfs: drop 0.9.9

Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 sys-fs/dwarfs/Manifest            |   1 -
 sys-fs/dwarfs/dwarfs-0.9.9.ebuild | 137 --------------------------------------
 2 files changed, 138 deletions(-)

diff --git a/sys-fs/dwarfs/Manifest b/sys-fs/dwarfs/Manifest
index 2c3f9d401..f534590c3 100644
--- a/sys-fs/dwarfs/Manifest
+++ b/sys-fs/dwarfs/Manifest
@@ -1,2 +1 @@
 DIST dwarfs-0.9.10.tar.xz 18618308 BLAKE2B be992c645b76c277e08c5ccaa80665c7303a8a218ead430b2f382b1f537d42debd095c94697dfff24246985d70efb70aeae8d4f4e68f3461bc0dca3f6135a184 SHA512 c67ac3586a7f36e4439a1c63b292ad1f1c61e6bc307b9711785a97d7146c686bc3918ff031188bfaa741829114a661e80bb7e4b5d7ce4f4b3f6d1e86e8532ec9
-DIST dwarfs-0.9.9.tar.xz 18614744 BLAKE2B c8f98b737d86444a6a074f7de2704edb94c86bd80e4024d021d4887240f9e1a5b52187ca2e82257427b2392d4afc7c7081985d5b5cc5d8b593f7221c4bc12126 SHA512 7f7f2d49f25856b6e88cf8bda0f194efeeac88eab9f0b9079d02fa871af2b8181879ece7170e36653b75246b421e6a1c54c04a5156b4e1803a0a202472232da0

diff --git a/sys-fs/dwarfs/dwarfs-0.9.9.ebuild b/sys-fs/dwarfs/dwarfs-0.9.9.ebuild
deleted file mode 100644
index 42bdd10ad..000000000
--- a/sys-fs/dwarfs/dwarfs-0.9.9.ebuild
+++ /dev/null
@@ -1,137 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-
-inherit check-reqs cmake flag-o-matic python-any-r1
-
-DESCRIPTION="A fast very high compression read-only FUSE file system"
-HOMEPAGE="https://github.com/mhx/dwarfs"
-SRC_URI="https://github.com/mhx/dwarfs/releases/download/v${PV}/${P}.tar.xz"
-
-S="${WORKDIR}/dwarfs-${PV}"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="+jemalloc test man" #Tests is broken at this moment
-# See https://github.com/mhx/dwarfs/issues/194
-
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-	app-arch/brotli
-	app-arch/libarchive
-	app-arch/lz4
-	app-arch/snappy
-	app-arch/xz-utils
-	app-arch/zstd
-	dev-cpp/range-v3
-	dev-cpp/gflags
-	dev-cpp/glog[gflags]
-	dev-cpp/parallel-hashmap:=
-	dev-libs/boost[context]
-	dev-libs/date
-	dev-libs/double-conversion
-	dev-libs/libevent
-	dev-libs/libfmt
-	dev-libs/utfcpp
-	dev-libs/xxhash
-	dev-libs/fsst
-	media-libs/flac
-	sys-fs/fuse:3
-	sys-libs/binutils-libs
-	sys-libs/zlib
-	jemalloc? ( >=dev-libs/jemalloc-5.3.0-r1 )
-"
-
-DEPEND="${RDEPEND}
-	sys-libs/libunwind"
-BDEPEND="
-	${PYTHON_DEPS}
-	dev-util/patchelf
-	sys-devel/bison
-	sys-devel/flex
-	virtual/pkgconfig
-	man? ( app-text/ronn-ng )
-	test? ( dev-cpp/gtest )
-	$(python_gen_any_dep 'dev-python/mistletoe[${PYTHON_USEDEP}]')
-"
-
-DOCS=( "README.md" "CHANGES.md" "TODO" )
-
-CHECKREQS_DISK_BUILD="1300M"
-CMAKE_IN_SOURCE_BUILD=1
-CMAKE_WARN_UNUSED_CLI=0
-
-python_check_deps() {
-	python_has_version -b "dev-python/mistletoe[${PYTHON_USEDEP}]"
-}
-
-src_prepare() {
-	rm -r zstd xxHash parallel-hashmap || die
-	sed "s/DESTINATION lib/DESTINATION $(get_libdir)/" -i CMakeLists.txt || die
-
-	# Bug #900016, but upstream discourages O3
-	sed '/FLAGS_RELEASE/s# -O2 -g##' -i CMakeLists.txt || die
-	sed '/CMAKE_CXX_FLAGS_COMMON/s#-g ##' -i folly/CMake/FollyCompilerUnix.cmake || die
-	sed '/^\s*-g$/d' -i folly/CMake/FollyCompilerUnix.cmake || die
-	replace-flags -O3 -O2
-	# Fixes building with test when using system-gtest
-	# https://github.com/mhx/dwarfs/issues/188
-	sed '/utils_test/d' -i CMakeLists.txt || die
-	cmake_src_prepare
-}
-
-src_configure() {
-	append-cxxflags "-I/usr/include"
-	filter-ldflags "-Wl,--as-needed"
-	append-ldflags $(no-as-needed)
-
-	# FIXME: Requires dev-cpp/gtest to be built with -fchar8_t or -std=c++20.
-	# This is unfortunately too aggressive:
-	# append-cxxflags "-fno-char8_t"
-
-	mycmakeargs=(
-		-DUSE_JEMALLOC=$(usex jemalloc ON OFF)
-		-DWITH_TESTS=$(usex test ON OFF)
-		-DWITH_MAN_PAGES=$(usex man ON OFF)
-		-DPREFER_SYSTEM_ZSTD=ON
-		-DPREFER_SYSTEM_XXHASH=ON
-		-DPREFER_SYSTEM_GTEST=ON
-		-DPREFER_SYSTEM_LIBFMT=ON
-		-DWITH_LEGACY_FUSE=OFF
-		-DDISABLE_CCACHE=ON  # Use FEATURES=ccache
-		-DBUILD_SHARED_LIBS=OFF # It can be very difficult to explain
-		#  Shared libs is not fully supported by upstream
-		# https://github.com/mhx/dwarfs/issues/184#issuecomment-1873820859
-		#  So if we disable shared libs we dramatically reduce install code and
-		# remove libs collision with dev-cpp/folly, dev-cpp/fbthrift,
-		# dev-cpp/fizz, and dev-cpp/wangle
-		#  We do NOT enable the full static build, but eradicate bundled libs
-		# such as libfolly.so and libdwarfs_compression.so
-		-DCMAKE_FIND_LIBRARY_SUFFIXES=".a"
-	)
-	cmake_src_configure
-}
-
-src_test() {
-	local CMAKE_SKIP_TESTS=(
-		# Tests don't work in sandbox
-		# fuse: failed to open /dev/fuse: Permission denied
-		dwarfs/tools_test
-		# Some tests doesn't work because of sed '/utils_test/d'
-		dwarfsextract_test.perfmon
-		dwarfs/segmenter_repeating_sequence_test.github161
-	)
-	cmake_src_test
-}
-
-pkg_postinst() {
-	elog "You may find more information in the"
-	elog "${HOMEPAGE}"
-	elog "About creating: ${HOMEPAGE}/blob/main/doc/mkdwarfs.md"
-	elog "About mounting: ${HOMEPAGE}/blob/main/doc/dwarfs.md"
-}


^ permalink raw reply related	[flat|nested] 68+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/
@ 2024-06-05  5:11 Denis Reva
  0 siblings, 0 replies; 68+ messages in thread
From: Denis Reva @ 2024-06-05  5:11 UTC (permalink / raw
  To: gentoo-commits

commit:     51811b92e3a4603bae2522e3c340cb122978739c
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Wed Jun  5 05:11:12 2024 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Wed Jun  5 05:11:26 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=51811b92

sys-fs/dwarfs: Build the man page unconditionally

https://github.com/gentoo/guru/commit/5b57fe071132b4d4fb2212d7046107057ac411ec#r14266
9428

Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 sys-fs/dwarfs/{dwarfs-0.9.10.ebuild => dwarfs-0.9.10-r1.ebuild} | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/sys-fs/dwarfs/dwarfs-0.9.10.ebuild b/sys-fs/dwarfs/dwarfs-0.9.10-r1.ebuild
similarity index 94%
rename from sys-fs/dwarfs/dwarfs-0.9.10.ebuild
rename to sys-fs/dwarfs/dwarfs-0.9.10-r1.ebuild
index 42bdd10ad..f95818f5e 100644
--- a/sys-fs/dwarfs/dwarfs-0.9.10.ebuild
+++ b/sys-fs/dwarfs/dwarfs-0.9.10-r1.ebuild
@@ -16,7 +16,8 @@ S="${WORKDIR}/dwarfs-${PV}"
 LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="~amd64"
-IUSE="+jemalloc test man" #Tests is broken at this moment
+IUSE="+jemalloc test"
+#Tests are expected to be partially broken sometimes
 # See https://github.com/mhx/dwarfs/issues/194
 
 RESTRICT="!test? ( test )"
@@ -55,7 +56,7 @@ BDEPEND="
 	sys-devel/bison
 	sys-devel/flex
 	virtual/pkgconfig
-	man? ( app-text/ronn-ng )
+	app-text/ronn-ng
 	test? ( dev-cpp/gtest )
 	$(python_gen_any_dep 'dev-python/mistletoe[${PYTHON_USEDEP}]')
 "
@@ -97,7 +98,8 @@ src_configure() {
 	mycmakeargs=(
 		-DUSE_JEMALLOC=$(usex jemalloc ON OFF)
 		-DWITH_TESTS=$(usex test ON OFF)
-		-DWITH_MAN_PAGES=$(usex man ON OFF)
+		-DWITH_MAN_PAGES=ON
+		# https://projects.gentoo.org/qa/policy-guide/installed-files.html#pg0305
 		-DPREFER_SYSTEM_ZSTD=ON
 		-DPREFER_SYSTEM_XXHASH=ON
 		-DPREFER_SYSTEM_GTEST=ON


^ permalink raw reply related	[flat|nested] 68+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/
@ 2024-06-03 12:41 Denis Reva
  0 siblings, 0 replies; 68+ messages in thread
From: Denis Reva @ 2024-06-03 12:41 UTC (permalink / raw
  To: gentoo-commits

commit:     95a78f38491cd8e1f9336733380e3e5ea12ca0c3
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Mon Jun  3 12:41:39 2024 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Mon Jun  3 12:41:39 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=95a78f38

sys-fs/dwarfs: drop 0.9.6

Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 sys-fs/dwarfs/Manifest            |   1 -
 sys-fs/dwarfs/dwarfs-0.9.6.ebuild | 137 --------------------------------------
 2 files changed, 138 deletions(-)

diff --git a/sys-fs/dwarfs/Manifest b/sys-fs/dwarfs/Manifest
index c92152d6d..2c3f9d401 100644
--- a/sys-fs/dwarfs/Manifest
+++ b/sys-fs/dwarfs/Manifest
@@ -1,3 +1,2 @@
 DIST dwarfs-0.9.10.tar.xz 18618308 BLAKE2B be992c645b76c277e08c5ccaa80665c7303a8a218ead430b2f382b1f537d42debd095c94697dfff24246985d70efb70aeae8d4f4e68f3461bc0dca3f6135a184 SHA512 c67ac3586a7f36e4439a1c63b292ad1f1c61e6bc307b9711785a97d7146c686bc3918ff031188bfaa741829114a661e80bb7e4b5d7ce4f4b3f6d1e86e8532ec9
-DIST dwarfs-0.9.6.tar.xz 15665392 BLAKE2B 305587de0e31390f4d3c2701cc1b0fe9f29d2a37a363f575ae770c0037d69b77685bd593f900c71e4e9fe8dbfdf4644f1ea3158f9fdc3596583eda89d0040e88 SHA512 c1a094df448bd5820be71f4d950ff4f515e5be137d1343acb00298986495b41c4223d0b2e7e4501a94a0d019789e54bf041bba4f7b83efac43d6fa4b1d60c68a
 DIST dwarfs-0.9.9.tar.xz 18614744 BLAKE2B c8f98b737d86444a6a074f7de2704edb94c86bd80e4024d021d4887240f9e1a5b52187ca2e82257427b2392d4afc7c7081985d5b5cc5d8b593f7221c4bc12126 SHA512 7f7f2d49f25856b6e88cf8bda0f194efeeac88eab9f0b9079d02fa871af2b8181879ece7170e36653b75246b421e6a1c54c04a5156b4e1803a0a202472232da0

diff --git a/sys-fs/dwarfs/dwarfs-0.9.6.ebuild b/sys-fs/dwarfs/dwarfs-0.9.6.ebuild
deleted file mode 100644
index 42bdd10ad..000000000
--- a/sys-fs/dwarfs/dwarfs-0.9.6.ebuild
+++ /dev/null
@@ -1,137 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-
-inherit check-reqs cmake flag-o-matic python-any-r1
-
-DESCRIPTION="A fast very high compression read-only FUSE file system"
-HOMEPAGE="https://github.com/mhx/dwarfs"
-SRC_URI="https://github.com/mhx/dwarfs/releases/download/v${PV}/${P}.tar.xz"
-
-S="${WORKDIR}/dwarfs-${PV}"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="+jemalloc test man" #Tests is broken at this moment
-# See https://github.com/mhx/dwarfs/issues/194
-
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-	app-arch/brotli
-	app-arch/libarchive
-	app-arch/lz4
-	app-arch/snappy
-	app-arch/xz-utils
-	app-arch/zstd
-	dev-cpp/range-v3
-	dev-cpp/gflags
-	dev-cpp/glog[gflags]
-	dev-cpp/parallel-hashmap:=
-	dev-libs/boost[context]
-	dev-libs/date
-	dev-libs/double-conversion
-	dev-libs/libevent
-	dev-libs/libfmt
-	dev-libs/utfcpp
-	dev-libs/xxhash
-	dev-libs/fsst
-	media-libs/flac
-	sys-fs/fuse:3
-	sys-libs/binutils-libs
-	sys-libs/zlib
-	jemalloc? ( >=dev-libs/jemalloc-5.3.0-r1 )
-"
-
-DEPEND="${RDEPEND}
-	sys-libs/libunwind"
-BDEPEND="
-	${PYTHON_DEPS}
-	dev-util/patchelf
-	sys-devel/bison
-	sys-devel/flex
-	virtual/pkgconfig
-	man? ( app-text/ronn-ng )
-	test? ( dev-cpp/gtest )
-	$(python_gen_any_dep 'dev-python/mistletoe[${PYTHON_USEDEP}]')
-"
-
-DOCS=( "README.md" "CHANGES.md" "TODO" )
-
-CHECKREQS_DISK_BUILD="1300M"
-CMAKE_IN_SOURCE_BUILD=1
-CMAKE_WARN_UNUSED_CLI=0
-
-python_check_deps() {
-	python_has_version -b "dev-python/mistletoe[${PYTHON_USEDEP}]"
-}
-
-src_prepare() {
-	rm -r zstd xxHash parallel-hashmap || die
-	sed "s/DESTINATION lib/DESTINATION $(get_libdir)/" -i CMakeLists.txt || die
-
-	# Bug #900016, but upstream discourages O3
-	sed '/FLAGS_RELEASE/s# -O2 -g##' -i CMakeLists.txt || die
-	sed '/CMAKE_CXX_FLAGS_COMMON/s#-g ##' -i folly/CMake/FollyCompilerUnix.cmake || die
-	sed '/^\s*-g$/d' -i folly/CMake/FollyCompilerUnix.cmake || die
-	replace-flags -O3 -O2
-	# Fixes building with test when using system-gtest
-	# https://github.com/mhx/dwarfs/issues/188
-	sed '/utils_test/d' -i CMakeLists.txt || die
-	cmake_src_prepare
-}
-
-src_configure() {
-	append-cxxflags "-I/usr/include"
-	filter-ldflags "-Wl,--as-needed"
-	append-ldflags $(no-as-needed)
-
-	# FIXME: Requires dev-cpp/gtest to be built with -fchar8_t or -std=c++20.
-	# This is unfortunately too aggressive:
-	# append-cxxflags "-fno-char8_t"
-
-	mycmakeargs=(
-		-DUSE_JEMALLOC=$(usex jemalloc ON OFF)
-		-DWITH_TESTS=$(usex test ON OFF)
-		-DWITH_MAN_PAGES=$(usex man ON OFF)
-		-DPREFER_SYSTEM_ZSTD=ON
-		-DPREFER_SYSTEM_XXHASH=ON
-		-DPREFER_SYSTEM_GTEST=ON
-		-DPREFER_SYSTEM_LIBFMT=ON
-		-DWITH_LEGACY_FUSE=OFF
-		-DDISABLE_CCACHE=ON  # Use FEATURES=ccache
-		-DBUILD_SHARED_LIBS=OFF # It can be very difficult to explain
-		#  Shared libs is not fully supported by upstream
-		# https://github.com/mhx/dwarfs/issues/184#issuecomment-1873820859
-		#  So if we disable shared libs we dramatically reduce install code and
-		# remove libs collision with dev-cpp/folly, dev-cpp/fbthrift,
-		# dev-cpp/fizz, and dev-cpp/wangle
-		#  We do NOT enable the full static build, but eradicate bundled libs
-		# such as libfolly.so and libdwarfs_compression.so
-		-DCMAKE_FIND_LIBRARY_SUFFIXES=".a"
-	)
-	cmake_src_configure
-}
-
-src_test() {
-	local CMAKE_SKIP_TESTS=(
-		# Tests don't work in sandbox
-		# fuse: failed to open /dev/fuse: Permission denied
-		dwarfs/tools_test
-		# Some tests doesn't work because of sed '/utils_test/d'
-		dwarfsextract_test.perfmon
-		dwarfs/segmenter_repeating_sequence_test.github161
-	)
-	cmake_src_test
-}
-
-pkg_postinst() {
-	elog "You may find more information in the"
-	elog "${HOMEPAGE}"
-	elog "About creating: ${HOMEPAGE}/blob/main/doc/mkdwarfs.md"
-	elog "About mounting: ${HOMEPAGE}/blob/main/doc/dwarfs.md"
-}


^ permalink raw reply related	[flat|nested] 68+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/
@ 2024-06-03 12:41 Denis Reva
  0 siblings, 0 replies; 68+ messages in thread
From: Denis Reva @ 2024-06-03 12:41 UTC (permalink / raw
  To: gentoo-commits

commit:     5b57fe071132b4d4fb2212d7046107057ac411ec
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Mon Jun  3 12:41:05 2024 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Mon Jun  3 12:41:18 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5b57fe07

sys-fs/dwarfs: add 0.9.10

Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 sys-fs/dwarfs/Manifest             |   1 +
 sys-fs/dwarfs/dwarfs-0.9.10.ebuild | 137 +++++++++++++++++++++++++++++++++++++
 2 files changed, 138 insertions(+)

diff --git a/sys-fs/dwarfs/Manifest b/sys-fs/dwarfs/Manifest
index 65abf39d2..c92152d6d 100644
--- a/sys-fs/dwarfs/Manifest
+++ b/sys-fs/dwarfs/Manifest
@@ -1,2 +1,3 @@
+DIST dwarfs-0.9.10.tar.xz 18618308 BLAKE2B be992c645b76c277e08c5ccaa80665c7303a8a218ead430b2f382b1f537d42debd095c94697dfff24246985d70efb70aeae8d4f4e68f3461bc0dca3f6135a184 SHA512 c67ac3586a7f36e4439a1c63b292ad1f1c61e6bc307b9711785a97d7146c686bc3918ff031188bfaa741829114a661e80bb7e4b5d7ce4f4b3f6d1e86e8532ec9
 DIST dwarfs-0.9.6.tar.xz 15665392 BLAKE2B 305587de0e31390f4d3c2701cc1b0fe9f29d2a37a363f575ae770c0037d69b77685bd593f900c71e4e9fe8dbfdf4644f1ea3158f9fdc3596583eda89d0040e88 SHA512 c1a094df448bd5820be71f4d950ff4f515e5be137d1343acb00298986495b41c4223d0b2e7e4501a94a0d019789e54bf041bba4f7b83efac43d6fa4b1d60c68a
 DIST dwarfs-0.9.9.tar.xz 18614744 BLAKE2B c8f98b737d86444a6a074f7de2704edb94c86bd80e4024d021d4887240f9e1a5b52187ca2e82257427b2392d4afc7c7081985d5b5cc5d8b593f7221c4bc12126 SHA512 7f7f2d49f25856b6e88cf8bda0f194efeeac88eab9f0b9079d02fa871af2b8181879ece7170e36653b75246b421e6a1c54c04a5156b4e1803a0a202472232da0

diff --git a/sys-fs/dwarfs/dwarfs-0.9.10.ebuild b/sys-fs/dwarfs/dwarfs-0.9.10.ebuild
new file mode 100644
index 000000000..42bdd10ad
--- /dev/null
+++ b/sys-fs/dwarfs/dwarfs-0.9.10.ebuild
@@ -0,0 +1,137 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit check-reqs cmake flag-o-matic python-any-r1
+
+DESCRIPTION="A fast very high compression read-only FUSE file system"
+HOMEPAGE="https://github.com/mhx/dwarfs"
+SRC_URI="https://github.com/mhx/dwarfs/releases/download/v${PV}/${P}.tar.xz"
+
+S="${WORKDIR}/dwarfs-${PV}"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="+jemalloc test man" #Tests is broken at this moment
+# See https://github.com/mhx/dwarfs/issues/194
+
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+	app-arch/brotli
+	app-arch/libarchive
+	app-arch/lz4
+	app-arch/snappy
+	app-arch/xz-utils
+	app-arch/zstd
+	dev-cpp/range-v3
+	dev-cpp/gflags
+	dev-cpp/glog[gflags]
+	dev-cpp/parallel-hashmap:=
+	dev-libs/boost[context]
+	dev-libs/date
+	dev-libs/double-conversion
+	dev-libs/libevent
+	dev-libs/libfmt
+	dev-libs/utfcpp
+	dev-libs/xxhash
+	dev-libs/fsst
+	media-libs/flac
+	sys-fs/fuse:3
+	sys-libs/binutils-libs
+	sys-libs/zlib
+	jemalloc? ( >=dev-libs/jemalloc-5.3.0-r1 )
+"
+
+DEPEND="${RDEPEND}
+	sys-libs/libunwind"
+BDEPEND="
+	${PYTHON_DEPS}
+	dev-util/patchelf
+	sys-devel/bison
+	sys-devel/flex
+	virtual/pkgconfig
+	man? ( app-text/ronn-ng )
+	test? ( dev-cpp/gtest )
+	$(python_gen_any_dep 'dev-python/mistletoe[${PYTHON_USEDEP}]')
+"
+
+DOCS=( "README.md" "CHANGES.md" "TODO" )
+
+CHECKREQS_DISK_BUILD="1300M"
+CMAKE_IN_SOURCE_BUILD=1
+CMAKE_WARN_UNUSED_CLI=0
+
+python_check_deps() {
+	python_has_version -b "dev-python/mistletoe[${PYTHON_USEDEP}]"
+}
+
+src_prepare() {
+	rm -r zstd xxHash parallel-hashmap || die
+	sed "s/DESTINATION lib/DESTINATION $(get_libdir)/" -i CMakeLists.txt || die
+
+	# Bug #900016, but upstream discourages O3
+	sed '/FLAGS_RELEASE/s# -O2 -g##' -i CMakeLists.txt || die
+	sed '/CMAKE_CXX_FLAGS_COMMON/s#-g ##' -i folly/CMake/FollyCompilerUnix.cmake || die
+	sed '/^\s*-g$/d' -i folly/CMake/FollyCompilerUnix.cmake || die
+	replace-flags -O3 -O2
+	# Fixes building with test when using system-gtest
+	# https://github.com/mhx/dwarfs/issues/188
+	sed '/utils_test/d' -i CMakeLists.txt || die
+	cmake_src_prepare
+}
+
+src_configure() {
+	append-cxxflags "-I/usr/include"
+	filter-ldflags "-Wl,--as-needed"
+	append-ldflags $(no-as-needed)
+
+	# FIXME: Requires dev-cpp/gtest to be built with -fchar8_t or -std=c++20.
+	# This is unfortunately too aggressive:
+	# append-cxxflags "-fno-char8_t"
+
+	mycmakeargs=(
+		-DUSE_JEMALLOC=$(usex jemalloc ON OFF)
+		-DWITH_TESTS=$(usex test ON OFF)
+		-DWITH_MAN_PAGES=$(usex man ON OFF)
+		-DPREFER_SYSTEM_ZSTD=ON
+		-DPREFER_SYSTEM_XXHASH=ON
+		-DPREFER_SYSTEM_GTEST=ON
+		-DPREFER_SYSTEM_LIBFMT=ON
+		-DWITH_LEGACY_FUSE=OFF
+		-DDISABLE_CCACHE=ON  # Use FEATURES=ccache
+		-DBUILD_SHARED_LIBS=OFF # It can be very difficult to explain
+		#  Shared libs is not fully supported by upstream
+		# https://github.com/mhx/dwarfs/issues/184#issuecomment-1873820859
+		#  So if we disable shared libs we dramatically reduce install code and
+		# remove libs collision with dev-cpp/folly, dev-cpp/fbthrift,
+		# dev-cpp/fizz, and dev-cpp/wangle
+		#  We do NOT enable the full static build, but eradicate bundled libs
+		# such as libfolly.so and libdwarfs_compression.so
+		-DCMAKE_FIND_LIBRARY_SUFFIXES=".a"
+	)
+	cmake_src_configure
+}
+
+src_test() {
+	local CMAKE_SKIP_TESTS=(
+		# Tests don't work in sandbox
+		# fuse: failed to open /dev/fuse: Permission denied
+		dwarfs/tools_test
+		# Some tests doesn't work because of sed '/utils_test/d'
+		dwarfsextract_test.perfmon
+		dwarfs/segmenter_repeating_sequence_test.github161
+	)
+	cmake_src_test
+}
+
+pkg_postinst() {
+	elog "You may find more information in the"
+	elog "${HOMEPAGE}"
+	elog "About creating: ${HOMEPAGE}/blob/main/doc/mkdwarfs.md"
+	elog "About mounting: ${HOMEPAGE}/blob/main/doc/dwarfs.md"
+}


^ permalink raw reply related	[flat|nested] 68+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/
@ 2024-05-16 15:06 Denis Reva
  0 siblings, 0 replies; 68+ messages in thread
From: Denis Reva @ 2024-05-16 15:06 UTC (permalink / raw
  To: gentoo-commits

commit:     e26cca7bdfaca9fbac239b0561875d5060dda7ab
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Thu May 16 15:06:26 2024 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Thu May 16 15:06:26 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e26cca7b

sys-fs/dwarfs: add 0.9.9

Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 sys-fs/dwarfs/Manifest            |   1 +
 sys-fs/dwarfs/dwarfs-0.9.9.ebuild | 137 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 138 insertions(+)

diff --git a/sys-fs/dwarfs/Manifest b/sys-fs/dwarfs/Manifest
index 441ebd00bf..65abf39d25 100644
--- a/sys-fs/dwarfs/Manifest
+++ b/sys-fs/dwarfs/Manifest
@@ -1 +1,2 @@
 DIST dwarfs-0.9.6.tar.xz 15665392 BLAKE2B 305587de0e31390f4d3c2701cc1b0fe9f29d2a37a363f575ae770c0037d69b77685bd593f900c71e4e9fe8dbfdf4644f1ea3158f9fdc3596583eda89d0040e88 SHA512 c1a094df448bd5820be71f4d950ff4f515e5be137d1343acb00298986495b41c4223d0b2e7e4501a94a0d019789e54bf041bba4f7b83efac43d6fa4b1d60c68a
+DIST dwarfs-0.9.9.tar.xz 18614744 BLAKE2B c8f98b737d86444a6a074f7de2704edb94c86bd80e4024d021d4887240f9e1a5b52187ca2e82257427b2392d4afc7c7081985d5b5cc5d8b593f7221c4bc12126 SHA512 7f7f2d49f25856b6e88cf8bda0f194efeeac88eab9f0b9079d02fa871af2b8181879ece7170e36653b75246b421e6a1c54c04a5156b4e1803a0a202472232da0

diff --git a/sys-fs/dwarfs/dwarfs-0.9.9.ebuild b/sys-fs/dwarfs/dwarfs-0.9.9.ebuild
new file mode 100644
index 0000000000..42bdd10ad7
--- /dev/null
+++ b/sys-fs/dwarfs/dwarfs-0.9.9.ebuild
@@ -0,0 +1,137 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit check-reqs cmake flag-o-matic python-any-r1
+
+DESCRIPTION="A fast very high compression read-only FUSE file system"
+HOMEPAGE="https://github.com/mhx/dwarfs"
+SRC_URI="https://github.com/mhx/dwarfs/releases/download/v${PV}/${P}.tar.xz"
+
+S="${WORKDIR}/dwarfs-${PV}"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="+jemalloc test man" #Tests is broken at this moment
+# See https://github.com/mhx/dwarfs/issues/194
+
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+	app-arch/brotli
+	app-arch/libarchive
+	app-arch/lz4
+	app-arch/snappy
+	app-arch/xz-utils
+	app-arch/zstd
+	dev-cpp/range-v3
+	dev-cpp/gflags
+	dev-cpp/glog[gflags]
+	dev-cpp/parallel-hashmap:=
+	dev-libs/boost[context]
+	dev-libs/date
+	dev-libs/double-conversion
+	dev-libs/libevent
+	dev-libs/libfmt
+	dev-libs/utfcpp
+	dev-libs/xxhash
+	dev-libs/fsst
+	media-libs/flac
+	sys-fs/fuse:3
+	sys-libs/binutils-libs
+	sys-libs/zlib
+	jemalloc? ( >=dev-libs/jemalloc-5.3.0-r1 )
+"
+
+DEPEND="${RDEPEND}
+	sys-libs/libunwind"
+BDEPEND="
+	${PYTHON_DEPS}
+	dev-util/patchelf
+	sys-devel/bison
+	sys-devel/flex
+	virtual/pkgconfig
+	man? ( app-text/ronn-ng )
+	test? ( dev-cpp/gtest )
+	$(python_gen_any_dep 'dev-python/mistletoe[${PYTHON_USEDEP}]')
+"
+
+DOCS=( "README.md" "CHANGES.md" "TODO" )
+
+CHECKREQS_DISK_BUILD="1300M"
+CMAKE_IN_SOURCE_BUILD=1
+CMAKE_WARN_UNUSED_CLI=0
+
+python_check_deps() {
+	python_has_version -b "dev-python/mistletoe[${PYTHON_USEDEP}]"
+}
+
+src_prepare() {
+	rm -r zstd xxHash parallel-hashmap || die
+	sed "s/DESTINATION lib/DESTINATION $(get_libdir)/" -i CMakeLists.txt || die
+
+	# Bug #900016, but upstream discourages O3
+	sed '/FLAGS_RELEASE/s# -O2 -g##' -i CMakeLists.txt || die
+	sed '/CMAKE_CXX_FLAGS_COMMON/s#-g ##' -i folly/CMake/FollyCompilerUnix.cmake || die
+	sed '/^\s*-g$/d' -i folly/CMake/FollyCompilerUnix.cmake || die
+	replace-flags -O3 -O2
+	# Fixes building with test when using system-gtest
+	# https://github.com/mhx/dwarfs/issues/188
+	sed '/utils_test/d' -i CMakeLists.txt || die
+	cmake_src_prepare
+}
+
+src_configure() {
+	append-cxxflags "-I/usr/include"
+	filter-ldflags "-Wl,--as-needed"
+	append-ldflags $(no-as-needed)
+
+	# FIXME: Requires dev-cpp/gtest to be built with -fchar8_t or -std=c++20.
+	# This is unfortunately too aggressive:
+	# append-cxxflags "-fno-char8_t"
+
+	mycmakeargs=(
+		-DUSE_JEMALLOC=$(usex jemalloc ON OFF)
+		-DWITH_TESTS=$(usex test ON OFF)
+		-DWITH_MAN_PAGES=$(usex man ON OFF)
+		-DPREFER_SYSTEM_ZSTD=ON
+		-DPREFER_SYSTEM_XXHASH=ON
+		-DPREFER_SYSTEM_GTEST=ON
+		-DPREFER_SYSTEM_LIBFMT=ON
+		-DWITH_LEGACY_FUSE=OFF
+		-DDISABLE_CCACHE=ON  # Use FEATURES=ccache
+		-DBUILD_SHARED_LIBS=OFF # It can be very difficult to explain
+		#  Shared libs is not fully supported by upstream
+		# https://github.com/mhx/dwarfs/issues/184#issuecomment-1873820859
+		#  So if we disable shared libs we dramatically reduce install code and
+		# remove libs collision with dev-cpp/folly, dev-cpp/fbthrift,
+		# dev-cpp/fizz, and dev-cpp/wangle
+		#  We do NOT enable the full static build, but eradicate bundled libs
+		# such as libfolly.so and libdwarfs_compression.so
+		-DCMAKE_FIND_LIBRARY_SUFFIXES=".a"
+	)
+	cmake_src_configure
+}
+
+src_test() {
+	local CMAKE_SKIP_TESTS=(
+		# Tests don't work in sandbox
+		# fuse: failed to open /dev/fuse: Permission denied
+		dwarfs/tools_test
+		# Some tests doesn't work because of sed '/utils_test/d'
+		dwarfsextract_test.perfmon
+		dwarfs/segmenter_repeating_sequence_test.github161
+	)
+	cmake_src_test
+}
+
+pkg_postinst() {
+	elog "You may find more information in the"
+	elog "${HOMEPAGE}"
+	elog "About creating: ${HOMEPAGE}/blob/main/doc/mkdwarfs.md"
+	elog "About mounting: ${HOMEPAGE}/blob/main/doc/dwarfs.md"
+}


^ permalink raw reply related	[flat|nested] 68+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/
@ 2024-02-24  9:07 Denis Reva
  0 siblings, 0 replies; 68+ messages in thread
From: Denis Reva @ 2024-02-24  9:07 UTC (permalink / raw
  To: gentoo-commits

commit:     fd2ba5bd7265a863b2301e06b216685d4240bc86
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Sat Feb 24 09:06:32 2024 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Sat Feb 24 09:07:04 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fd2ba5bd

sys-fs/dwarfs: add 0.9.6, drop 0.9.5-r1

Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 sys-fs/dwarfs/Manifest                                        | 2 +-
 sys-fs/dwarfs/{dwarfs-0.9.5-r1.ebuild => dwarfs-0.9.6.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-fs/dwarfs/Manifest b/sys-fs/dwarfs/Manifest
index 539ceecf45..441ebd00bf 100644
--- a/sys-fs/dwarfs/Manifest
+++ b/sys-fs/dwarfs/Manifest
@@ -1 +1 @@
-DIST dwarfs-0.9.5.tar.xz 15665480 BLAKE2B 90c0c35f28773f3af6399ca3c3aabaf366770315197adc9c4168bf37f7c88fdbc4c3c93e647132f6a36812b1bf9d27636736682376f9b821086f8793b05feed9 SHA512 b583bfa30594f8758b07d7cb1fea88a48331a570acc73ebdafa47c3b9e055dd7e222cdf03add73543529c3101d516e7936cabc63338ff307c3f54f5f5b06fe65
+DIST dwarfs-0.9.6.tar.xz 15665392 BLAKE2B 305587de0e31390f4d3c2701cc1b0fe9f29d2a37a363f575ae770c0037d69b77685bd593f900c71e4e9fe8dbfdf4644f1ea3158f9fdc3596583eda89d0040e88 SHA512 c1a094df448bd5820be71f4d950ff4f515e5be137d1343acb00298986495b41c4223d0b2e7e4501a94a0d019789e54bf041bba4f7b83efac43d6fa4b1d60c68a

diff --git a/sys-fs/dwarfs/dwarfs-0.9.5-r1.ebuild b/sys-fs/dwarfs/dwarfs-0.9.6.ebuild
similarity index 100%
rename from sys-fs/dwarfs/dwarfs-0.9.5-r1.ebuild
rename to sys-fs/dwarfs/dwarfs-0.9.6.ebuild


^ permalink raw reply related	[flat|nested] 68+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/
@ 2024-02-15  8:43 Denis Reva
  0 siblings, 0 replies; 68+ messages in thread
From: Denis Reva @ 2024-02-15  8:43 UTC (permalink / raw
  To: gentoo-commits

commit:     f7eb443648fed8fad4ff91cf559d5df1f8c8f55a
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Thu Feb 15 08:43:34 2024 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Thu Feb 15 08:43:34 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f7eb4436

sys-fs/dwarfs: drop 0.9.3

Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 sys-fs/dwarfs/Manifest            |   1 -
 sys-fs/dwarfs/dwarfs-0.9.3.ebuild | 156 --------------------------------------
 2 files changed, 157 deletions(-)

diff --git a/sys-fs/dwarfs/Manifest b/sys-fs/dwarfs/Manifest
index a90940d74d..539ceecf45 100644
--- a/sys-fs/dwarfs/Manifest
+++ b/sys-fs/dwarfs/Manifest
@@ -1,2 +1 @@
-DIST dwarfs-0.9.3.tar.xz 15669440 BLAKE2B 96aa9399086f3137cf7fba97159e247f02f584e4c5b8398f63b581ec83f6687fce9d0c64ad8a20f995cbd3abc8ec9b445039d9ac0f344c7e190fcc396c1973c0 SHA512 fb3a5f6c440231b471b5699b2c25cd694fc59580b18fad635f92a296cabea1205cbec63f1421e0acac8635695d07267096fd536b57cc4110aeb51bd9a78aa2fa
 DIST dwarfs-0.9.5.tar.xz 15665480 BLAKE2B 90c0c35f28773f3af6399ca3c3aabaf366770315197adc9c4168bf37f7c88fdbc4c3c93e647132f6a36812b1bf9d27636736682376f9b821086f8793b05feed9 SHA512 b583bfa30594f8758b07d7cb1fea88a48331a570acc73ebdafa47c3b9e055dd7e222cdf03add73543529c3101d516e7936cabc63338ff307c3f54f5f5b06fe65

diff --git a/sys-fs/dwarfs/dwarfs-0.9.3.ebuild b/sys-fs/dwarfs/dwarfs-0.9.3.ebuild
deleted file mode 100644
index 3a6dd17643..0000000000
--- a/sys-fs/dwarfs/dwarfs-0.9.3.ebuild
+++ /dev/null
@@ -1,156 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-
-inherit check-reqs cmake flag-o-matic python-any-r1
-
-DESCRIPTION="A fast very high compression read-only FUSE file system"
-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 man" #Tests is broken at this moment 
-# See https://github.com/mhx/dwarfs/issues/194
-S="${WORKDIR}/dwarfs-${PV}"
-
-RDEPEND="
-	app-arch/libarchive
-	app-arch/lz4
-	app-arch/snappy
-	app-arch/xz-utils
-	app-arch/zstd
-	dev-cpp/range-v3
-	dev-cpp/gflags
-	dev-cpp/glog[gflags]
-	dev-cpp/parallel-hashmap:=
-	dev-libs/boost[context]
-	dev-libs/date
-	dev-libs/double-conversion
-	dev-libs/libevent
-	dev-libs/libfmt
-	dev-libs/utfcpp
-	dev-libs/xxhash
-	sys-fs/fuse:3
-	dev-libs/fsst
-	sys-libs/binutils-libs
-	sys-libs/libunwind
-	sys-libs/zlib
-	!dev-cpp/fbthrift
-	!dev-cpp/fizz
-	!dev-cpp/folly
-	!dev-cpp/wangle
-	jemalloc? ( >=dev-libs/jemalloc-5.3.0-r1 )
-"
-
-DEPEND="${RDEPEND}"
-BDEPEND="
-	${PYTHON_DEPS}
-	dev-util/patchelf
-	sys-devel/bison
-	sys-devel/flex
-	virtual/pkgconfig
-	man? ( app-text/ronn-ng )
-	test? ( dev-cpp/gtest )
-	$(python_gen_any_dep 'dev-python/mistletoe[${PYTHON_USEDEP}]')
-"
-
-DOCS=( "README.md" "CHANGES.md" "TODO" )
-RESTRICT="!test? ( test )"
-
-CHECKREQS_DISK_BUILD="1300M"
-CMAKE_IN_SOURCE_BUILD=1
-CMAKE_WARN_UNUSED_CLI=0
-
-python_check_deps() {
-	python_has_version -b "dev-python/mistletoe[${PYTHON_USEDEP}]"
-}
-
-src_prepare() {
-	rm -r zstd xxHash parallel-hashmap || die
-	sed "s/DESTINATION lib/DESTINATION $(get_libdir)/" -i CMakeLists.txt || die
-
-	# Bug #900016, but upstream discourages O3
-	sed '/FLAGS_RELEASE/s# -O2 -g##' -i CMakeLists.txt || die
-	sed '/CMAKE_CXX_FLAGS_COMMON/s#-g ##' -i folly/CMake/FollyCompilerUnix.cmake || die
-	sed '/^\s*-g$/d' -i folly/CMake/FollyCompilerUnix.cmake || die
-	replace-flags -O3 -O2
-
-	cmake_src_prepare
-}
-
-src_configure() {
-	append-cxxflags "-I/usr/include -fPIC"
-	filter-ldflags "-Wl,--as-needed"
-	append-ldflags $(no-as-needed)
-
-	# FIXME: Requires dev-cpp/gtest to be built with -fchar8_t or -std=c++20.
-	# This is unfortunately too aggressive:
-	# append-cxxflags "-fno-char8_t"
-
-	mycmakeargs=(
-		-DUSE_JEMALLOC=$(usex jemalloc ON OFF)
-		-DWITH_TESTS=$(usex test ON OFF)
-		-DWITH_MAN_PAGES=$(usex man ON OFF)
-		-DPREFER_SYSTEM_ZSTD=ON
-		-DPREFER_SYSTEM_XXHASH=ON
-		-DPREFER_SYSTEM_GTEST=ON
-		-DPREFER_SYSTEM_LIBFMT=ON
-		-DWITH_LEGACY_FUSE=OFF
-		-DDISABLE_CCACHE=ON  # Use FEATURES=ccache
-	)
-	cmake_src_configure
-}
-
-src_install() {
-	local libs=(
-		folly/libfolly.so
-		folly/libfolly.so.0.58.0-dev
-		libcompression_thrift.so
-		libdwarfs.so
-		libdwarfs_categorizer.so
-		libdwarfs_compression.so
-		libdwarfs_compression_metadata.so
-		libdwarfs_main.so
-		libdwarfs_tool.so
-		libdwarfsbench_main.so
-		libdwarfsck_main.so
-		libdwarfsck_main.so
-		libdwarfsextract_main.so
-		libdwarfsextract_main.so
-		libfeatures_thrift.so
-		libhistory_thrift.so
-		libmetadata_thrift.so
-		libmkdwarfs_main.so
-		libthrift_light.so
-		ricepp/libricepp.so
-	)
-
-	cmake_src_install
-
-	for lib in "${libs[@]}"; do
-		# TODO: figure out how to remove this with cmake
-		patchelf --remove-rpath "$lib" || die
-		dolib.so "$lib"
-	done
-}
-
-src_test() {
-	local CMAKE_SKIP_TESTS=(
-		# Tests don't work in sandbox
-		# fuse: failed to open /dev/fuse: Permission denied
-		dwarfs/tools_test
-	)
-	cmake_src_test
-}
-
-pkg_postinst() {
-	elog "You may find more information in the"
-	elog "${HOMEPAGE}"
-	elog "About creating: ${HOMEPAGE}/blob/main/doc/mkdwarfs.md"
-	elog "About mounting: ${HOMEPAGE}/blob/main/doc/dwarfs.md"
-}


^ permalink raw reply related	[flat|nested] 68+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/
@ 2024-02-14 15:00 Denis Reva
  0 siblings, 0 replies; 68+ messages in thread
From: Denis Reva @ 2024-02-14 15:00 UTC (permalink / raw
  To: gentoo-commits

commit:     0916b1ead2f425f044556926402a59b7839a5722
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Wed Feb 14 15:00:24 2024 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Wed Feb 14 15:00:24 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0916b1ea

sys-fs/dwarfs: Fixed tests

Closes: https://bugs.gentoo.org/924462
Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 sys-fs/dwarfs/{dwarfs-0.9.5.ebuild => dwarfs-0.9.5-r1.ebuild} | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/sys-fs/dwarfs/dwarfs-0.9.5.ebuild b/sys-fs/dwarfs/dwarfs-0.9.5-r1.ebuild
similarity index 96%
rename from sys-fs/dwarfs/dwarfs-0.9.5.ebuild
rename to sys-fs/dwarfs/dwarfs-0.9.5-r1.ebuild
index 1710d825eb..533766758b 100644
--- a/sys-fs/dwarfs/dwarfs-0.9.5.ebuild
+++ b/sys-fs/dwarfs/dwarfs-0.9.5-r1.ebuild
@@ -14,11 +14,12 @@ SRC_URI="https://github.com/mhx/dwarfs/releases/download/v${PV}/${P}.tar.xz"
 LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="~amd64"
-IUSE="+jemalloc test man" #Tests is broken at this moment 
+IUSE="+jemalloc test man" #Tests is broken at this moment
 # See https://github.com/mhx/dwarfs/issues/194
 S="${WORKDIR}/dwarfs-${PV}"
 
 RDEPEND="
+	app-arch/brotli
 	app-arch/libarchive
 	app-arch/lz4
 	app-arch/snappy
@@ -35,15 +36,16 @@ RDEPEND="
 	dev-libs/libfmt
 	dev-libs/utfcpp
 	dev-libs/xxhash
-	sys-fs/fuse:3
 	dev-libs/fsst
+	media-libs/flac
+	sys-fs/fuse:3
 	sys-libs/binutils-libs
-	sys-libs/libunwind
 	sys-libs/zlib
 	jemalloc? ( >=dev-libs/jemalloc-5.3.0-r1 )
 "
 
-DEPEND="${RDEPEND}"
+DEPEND="${RDEPEND}
+	sys-libs/libunwind"
 BDEPEND="
 	${PYTHON_DEPS}
 	dev-util/patchelf


^ permalink raw reply related	[flat|nested] 68+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/
@ 2024-02-13 15:46 Denis Reva
  0 siblings, 0 replies; 68+ messages in thread
From: Denis Reva @ 2024-02-13 15:46 UTC (permalink / raw
  To: gentoo-commits

commit:     8f303907e571f133590a75fef9d0c7a5d0e680a2
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Tue Feb 13 15:46:43 2024 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Tue Feb 13 15:46:43 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8f303907

sys-fs/dwarfs: drop 0.9.3-r50

Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 sys-fs/dwarfs/dwarfs-0.9.3-r50.ebuild | 128 ----------------------------------
 1 file changed, 128 deletions(-)

diff --git a/sys-fs/dwarfs/dwarfs-0.9.3-r50.ebuild b/sys-fs/dwarfs/dwarfs-0.9.3-r50.ebuild
deleted file mode 100644
index ba9632ba1e..0000000000
--- a/sys-fs/dwarfs/dwarfs-0.9.3-r50.ebuild
+++ /dev/null
@@ -1,128 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-
-inherit check-reqs cmake flag-o-matic python-any-r1
-
-DESCRIPTION="A fast very high compression read-only FUSE file system"
-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 man" #Tests is broken at this moment 
-# See https://github.com/mhx/dwarfs/issues/194
-S="${WORKDIR}/dwarfs-${PV}"
-
-RDEPEND="
-	app-arch/libarchive
-	app-arch/lz4
-	app-arch/snappy
-	app-arch/xz-utils
-	app-arch/zstd
-	dev-cpp/range-v3
-	dev-cpp/gflags
-	dev-cpp/glog[gflags]
-	dev-cpp/parallel-hashmap:=
-	dev-libs/boost[context]
-	dev-libs/date
-	dev-libs/double-conversion
-	dev-libs/libevent
-	dev-libs/libfmt
-	dev-libs/utfcpp
-	dev-libs/xxhash
-	sys-fs/fuse:3
-	dev-libs/fsst
-	sys-libs/binutils-libs
-	sys-libs/libunwind
-	sys-libs/zlib
-	jemalloc? ( >=dev-libs/jemalloc-5.3.0-r1 )
-"
-
-DEPEND="${RDEPEND}"
-BDEPEND="
-	${PYTHON_DEPS}
-	dev-util/patchelf
-	sys-devel/bison
-	sys-devel/flex
-	virtual/pkgconfig
-	man? ( app-text/ronn-ng )
-	test? ( dev-cpp/gtest )
-	$(python_gen_any_dep 'dev-python/mistletoe[${PYTHON_USEDEP}]')
-"
-
-DOCS=( "README.md" "CHANGES.md" "TODO" )
-RESTRICT="!test? ( test )"
-
-CHECKREQS_DISK_BUILD="1300M"
-CMAKE_IN_SOURCE_BUILD=1
-CMAKE_WARN_UNUSED_CLI=0
-
-python_check_deps() {
-	python_has_version -b "dev-python/mistletoe[${PYTHON_USEDEP}]"
-}
-
-src_prepare() {
-	rm -r zstd xxHash parallel-hashmap || die
-	sed "s/DESTINATION lib/DESTINATION $(get_libdir)/" -i CMakeLists.txt || die
-
-	# Bug #900016, but upstream discourages O3
-	sed '/FLAGS_RELEASE/s# -O2 -g##' -i CMakeLists.txt || die
-	sed '/CMAKE_CXX_FLAGS_COMMON/s#-g ##' -i folly/CMake/FollyCompilerUnix.cmake || die
-	sed '/^\s*-g$/d' -i folly/CMake/FollyCompilerUnix.cmake || die
-	replace-flags -O3 -O2
-
-	cmake_src_prepare
-}
-
-src_configure() {
-	append-cxxflags "-I/usr/include"
-	filter-ldflags "-Wl,--as-needed"
-	append-ldflags $(no-as-needed)
-
-	# FIXME: Requires dev-cpp/gtest to be built with -fchar8_t or -std=c++20.
-	# This is unfortunately too aggressive:
-	# append-cxxflags "-fno-char8_t"
-
-	mycmakeargs=(
-		-DUSE_JEMALLOC=$(usex jemalloc ON OFF)
-		-DWITH_TESTS=$(usex test ON OFF)
-		-DWITH_MAN_PAGES=$(usex man ON OFF)
-		-DPREFER_SYSTEM_ZSTD=ON
-		-DPREFER_SYSTEM_XXHASH=ON
-		-DPREFER_SYSTEM_GTEST=ON
-		-DPREFER_SYSTEM_LIBFMT=ON
-		-DWITH_LEGACY_FUSE=OFF
-		-DDISABLE_CCACHE=ON  # Use FEATURES=ccache
-		-DBUILD_SHARED_LIBS=OFF # It can be very difficult to explain
-		#  Shared libs is not fully supported by upstream
-		# https://github.com/mhx/dwarfs/issues/184#issuecomment-1873820859
-		#  So if we disable shared libs we dramatically reduce install code and
-		# remove libs collision with dev-cpp/folly, dev-cpp/fbthrift,
-		# dev-cpp/fizz, and dev-cpp/wangle
-		#  We do NOT enable the full static build, but eradicate bundled libs
-		# such as libfolly.so and libdwarfs_compression.so
-		-DCMAKE_FIND_LIBRARY_SUFFIXES=".a"
-	)
-	cmake_src_configure
-}
-
-src_test() {
-	local CMAKE_SKIP_TESTS=(
-		# Tests don't work in sandbox
-		# fuse: failed to open /dev/fuse: Permission denied
-		dwarfs/tools_test
-	)
-	cmake_src_test
-}
-
-pkg_postinst() {
-	elog "You may find more information in the"
-	elog "${HOMEPAGE}"
-	elog "About creating: ${HOMEPAGE}/blob/main/doc/mkdwarfs.md"
-	elog "About mounting: ${HOMEPAGE}/blob/main/doc/dwarfs.md"
-}


^ permalink raw reply related	[flat|nested] 68+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/
@ 2024-02-13 15:46 Denis Reva
  0 siblings, 0 replies; 68+ messages in thread
From: Denis Reva @ 2024-02-13 15:46 UTC (permalink / raw
  To: gentoo-commits

commit:     fb0f96ea1e0be82f372ecb744ea455bdc8d31207
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Tue Feb 13 15:46:08 2024 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Tue Feb 13 15:46:08 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fb0f96ea

sys-fs/dwarfs: drop 0.8.0, 0.9.1

Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 sys-fs/dwarfs/Manifest            |   2 -
 sys-fs/dwarfs/dwarfs-0.8.0.ebuild | 152 -------------------------------------
 sys-fs/dwarfs/dwarfs-0.9.1.ebuild | 155 --------------------------------------
 3 files changed, 309 deletions(-)

diff --git a/sys-fs/dwarfs/Manifest b/sys-fs/dwarfs/Manifest
index 56456b154c..a90940d74d 100644
--- a/sys-fs/dwarfs/Manifest
+++ b/sys-fs/dwarfs/Manifest
@@ -1,4 +1,2 @@
-DIST dwarfs-0.8.0.tar.xz 15589992 BLAKE2B 17a0be32cc6e77a90fd391274a12492ab57fdf7f36bb1f9815e3ea09d952e13ec64cfb09a1e4cee3169a5276fd9be250c1e01c5d3af2160924ea3f900aed0a32 SHA512 a61dd173705ed17e3de72c80bcecbd1e0c55665971c4249c8f5d9f4dd448c00d05068ff5406991866becfe28e6622b1d3a0a5e9748d2fc61331601a8c0848fb4
-DIST dwarfs-0.9.1.tar.xz 15671744 BLAKE2B 173557540ed62fc6f59a1caf29fd30945ed32b0cbfca4b2a9613c9490d73f52d38c4c2e0ed83a55fcedefea051858d397c5e36689b9eb01e49c9785bd14bdda1 SHA512 39e20b3e25267cd5baea34154747f5bf2e12ddd862c17153e3a386a2a0d3d7ce30b50377b5102fac49980cf33a6fde646e2367d8ef74ef33881569f2a18a75f0
 DIST dwarfs-0.9.3.tar.xz 15669440 BLAKE2B 96aa9399086f3137cf7fba97159e247f02f584e4c5b8398f63b581ec83f6687fce9d0c64ad8a20f995cbd3abc8ec9b445039d9ac0f344c7e190fcc396c1973c0 SHA512 fb3a5f6c440231b471b5699b2c25cd694fc59580b18fad635f92a296cabea1205cbec63f1421e0acac8635695d07267096fd536b57cc4110aeb51bd9a78aa2fa
 DIST dwarfs-0.9.5.tar.xz 15665480 BLAKE2B 90c0c35f28773f3af6399ca3c3aabaf366770315197adc9c4168bf37f7c88fdbc4c3c93e647132f6a36812b1bf9d27636736682376f9b821086f8793b05feed9 SHA512 b583bfa30594f8758b07d7cb1fea88a48331a570acc73ebdafa47c3b9e055dd7e222cdf03add73543529c3101d516e7936cabc63338ff307c3f54f5f5b06fe65

diff --git a/sys-fs/dwarfs/dwarfs-0.8.0.ebuild b/sys-fs/dwarfs/dwarfs-0.8.0.ebuild
deleted file mode 100644
index 6ccbc57b15..0000000000
--- a/sys-fs/dwarfs/dwarfs-0.8.0.ebuild
+++ /dev/null
@@ -1,152 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-
-inherit check-reqs cmake flag-o-matic python-any-r1
-
-DESCRIPTION="A fast very high compression read-only FUSE file system"
-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 man"
-S="${WORKDIR}/dwarfs-${PV}"
-
-RDEPEND="
-	app-arch/libarchive
-	app-arch/lz4
-	app-arch/snappy
-	app-arch/xz-utils
-	app-arch/zstd
-	dev-cpp/gflags
-	dev-cpp/glog[gflags]
-	dev-cpp/parallel-hashmap:=
-	dev-libs/boost[context]
-	dev-libs/date
-	dev-libs/double-conversion
-	dev-libs/libevent
-	dev-libs/libfmt
-	dev-libs/utfcpp
-	dev-libs/xxhash
-	sys-fs/fuse:3
-	dev-libs/fsst
-	sys-libs/binutils-libs
-	sys-libs/libunwind
-	sys-libs/zlib
-	!dev-cpp/fbthrift
-	!dev-cpp/fizz
-	!dev-cpp/folly
-	!dev-cpp/wangle
-	jemalloc? ( >=dev-libs/jemalloc-5.3.0-r1 )
-"
-
-DEPEND="${RDEPEND}"
-BDEPEND="
-	${PYTHON_DEPS}
-	dev-util/patchelf
-	sys-devel/bison
-	sys-devel/flex
-	virtual/pkgconfig
-	man? ( app-text/ronn-ng )
-	test? ( dev-cpp/gtest )
-	$(python_gen_any_dep 'dev-python/mistletoe[${PYTHON_USEDEP}]')
-"
-
-DOCS=( "README.md" "CHANGES.md" "TODO" )
-RESTRICT="!test? ( test )"
-
-CHECKREQS_DISK_BUILD="1300M"
-CMAKE_IN_SOURCE_BUILD=1
-CMAKE_WARN_UNUSED_CLI=0
-
-python_check_deps() {
-	python_has_version -b "dev-python/mistletoe[${PYTHON_USEDEP}]"
-}
-
-src_prepare() {
-	rm -r zstd xxHash parallel-hashmap || die
-	sed "s/DESTINATION lib/DESTINATION $(get_libdir)/" -i CMakeLists.txt || die
-
-	# Bug #900016, but upstream discourages O3
-	sed '/FLAGS_RELEASE/s# -O2 -g##' -i CMakeLists.txt || die
-	sed '/CMAKE_CXX_FLAGS_COMMON/s#-g ##' -i folly/CMake/FollyCompilerUnix.cmake || die
-	sed '/^\s*-g$/d' -i folly/CMake/FollyCompilerUnix.cmake || die
-	replace-flags -O3 -O2
-
-	cmake_src_prepare
-}
-
-src_configure() {
-	append-cxxflags "-I/usr/include"
-	append-ldflags $(no-as-needed)
-
-	# FIXME: Requires dev-cpp/gtest to be built with -fchar8_t or -std=c++20.
-	# This is unfortunately too aggressive:
-	# append-cxxflags "-fno-char8_t"
-
-	mycmakeargs=(
-		-DUSE_JEMALLOC=$(usex jemalloc ON OFF)
-		-DWITH_TESTS=$(usex test ON OFF)
-		-DWITH_MAN_PAGES=$(usex man ON OFF)
-		-DPREFER_SYSTEM_ZSTD=ON
-		-DPREFER_SYSTEM_XXHASH=ON
-		-DPREFER_SYSTEM_GTEST=ON
-		-DPREFER_SYSTEM_LIBFMT=ON
-		-DWITH_LEGACY_FUSE=OFF
-		-DDISABLE_CCACHE=ON  # Use FEATURES=ccache
-	)
-	cmake_src_configure
-}
-
-src_install() {
-	local libs=(
-		folly/libfolly.so
-		folly/libfolly.so.0.58.0-dev
-		libcompression_thrift.so
-		libdwarfs.so
-		libdwarfs_categorizer.so
-		libdwarfs_compression.so
-		libdwarfs_compression_metadata.so
-		libdwarfs_main.so
-		libdwarfs_tool.so
-		libdwarfsbench_main.so
-		libdwarfsck_main.so
-		libdwarfsck_main.so
-		libdwarfsextract_main.so
-		libdwarfsextract_main.so
-		libfeatures_thrift.so
-		libhistory_thrift.so
-		libmetadata_thrift.so
-		libmkdwarfs_main.so
-		libthrift_light.so
-	)
-
-	cmake_src_install
-
-	for lib in "${libs[@]}"; do
-		# TODO: figure out how to remove this with cmake
-		patchelf --remove-rpath "$lib" || die
-		dolib.so "$lib"
-	done
-}
-
-src_test() {
-	local CMAKE_SKIP_TESTS=(
-		# Tests don't work in sandbox
-		# fuse: failed to open /dev/fuse: Permission denied
-		dwarfs/tools_test
-	)
-	cmake_src_test
-}
-
-pkg_postinst() {
-	elog "You may find more information in the"
-	elog "${HOMEPAGE}"
-	elog "About creating: ${HOMEPAGE}/blob/main/doc/mkdwarfs.md"
-	elog "About mounting: ${HOMEPAGE}/blob/main/doc/dwarfs.md"
-}

diff --git a/sys-fs/dwarfs/dwarfs-0.9.1.ebuild b/sys-fs/dwarfs/dwarfs-0.9.1.ebuild
deleted file mode 100644
index c4ec376f68..0000000000
--- a/sys-fs/dwarfs/dwarfs-0.9.1.ebuild
+++ /dev/null
@@ -1,155 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-
-inherit check-reqs cmake flag-o-matic python-any-r1
-
-DESCRIPTION="A fast very high compression read-only FUSE file system"
-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 man"
-S="${WORKDIR}/dwarfs-${PV}"
-
-RDEPEND="
-	app-arch/libarchive
-	app-arch/lz4
-	app-arch/snappy
-	app-arch/xz-utils
-	app-arch/zstd
-	dev-cpp/range-v3
-	dev-cpp/gflags
-	dev-cpp/glog[gflags]
-	dev-cpp/parallel-hashmap:=
-	dev-libs/boost[context]
-	dev-libs/date
-	dev-libs/double-conversion
-	dev-libs/libevent
-	dev-libs/libfmt
-	dev-libs/utfcpp
-	dev-libs/xxhash
-	sys-fs/fuse:3
-	dev-libs/fsst
-	sys-libs/binutils-libs
-	sys-libs/libunwind
-	sys-libs/zlib
-	!dev-cpp/fbthrift
-	!dev-cpp/fizz
-	!dev-cpp/folly
-	!dev-cpp/wangle
-	jemalloc? ( >=dev-libs/jemalloc-5.3.0-r1 )
-"
-
-DEPEND="${RDEPEND}"
-BDEPEND="
-	${PYTHON_DEPS}
-	dev-util/patchelf
-	sys-devel/bison
-	sys-devel/flex
-	virtual/pkgconfig
-	man? ( app-text/ronn-ng )
-	test? ( dev-cpp/gtest )
-	$(python_gen_any_dep 'dev-python/mistletoe[${PYTHON_USEDEP}]')
-"
-
-DOCS=( "README.md" "CHANGES.md" "TODO" )
-RESTRICT="!test? ( test )"
-
-CHECKREQS_DISK_BUILD="1300M"
-CMAKE_IN_SOURCE_BUILD=1
-CMAKE_WARN_UNUSED_CLI=0
-
-python_check_deps() {
-	python_has_version -b "dev-python/mistletoe[${PYTHON_USEDEP}]"
-}
-
-src_prepare() {
-	rm -r zstd xxHash parallel-hashmap || die
-	sed "s/DESTINATION lib/DESTINATION $(get_libdir)/" -i CMakeLists.txt || die
-
-	# Bug #900016, but upstream discourages O3
-	sed '/FLAGS_RELEASE/s# -O2 -g##' -i CMakeLists.txt || die
-	sed '/CMAKE_CXX_FLAGS_COMMON/s#-g ##' -i folly/CMake/FollyCompilerUnix.cmake || die
-	sed '/^\s*-g$/d' -i folly/CMake/FollyCompilerUnix.cmake || die
-	replace-flags -O3 -O2
-
-	cmake_src_prepare
-}
-
-src_configure() {
-	append-cxxflags "-I/usr/include"
-	filter-ldflags "-Wl,--as-needed"
-	append-ldflags $(no-as-needed)
-
-	# FIXME: Requires dev-cpp/gtest to be built with -fchar8_t or -std=c++20.
-	# This is unfortunately too aggressive:
-	# append-cxxflags "-fno-char8_t"
-
-	mycmakeargs=(
-		-DUSE_JEMALLOC=$(usex jemalloc ON OFF)
-		-DWITH_TESTS=$(usex test ON OFF)
-		-DWITH_MAN_PAGES=$(usex man ON OFF)
-		-DPREFER_SYSTEM_ZSTD=ON
-		-DPREFER_SYSTEM_XXHASH=ON
-		-DPREFER_SYSTEM_GTEST=ON
-		-DPREFER_SYSTEM_LIBFMT=ON
-		-DWITH_LEGACY_FUSE=OFF
-		-DDISABLE_CCACHE=ON  # Use FEATURES=ccache
-	)
-	cmake_src_configure
-}
-
-src_install() {
-	local libs=(
-		folly/libfolly.so
-		folly/libfolly.so.0.58.0-dev
-		libcompression_thrift.so
-		libdwarfs.so
-		libdwarfs_categorizer.so
-		libdwarfs_compression.so
-		libdwarfs_compression_metadata.so
-		libdwarfs_main.so
-		libdwarfs_tool.so
-		libdwarfsbench_main.so
-		libdwarfsck_main.so
-		libdwarfsck_main.so
-		libdwarfsextract_main.so
-		libdwarfsextract_main.so
-		libfeatures_thrift.so
-		libhistory_thrift.so
-		libmetadata_thrift.so
-		libmkdwarfs_main.so
-		libthrift_light.so
-		ricepp/libricepp.so
-	)
-
-	cmake_src_install
-
-	for lib in "${libs[@]}"; do
-		# TODO: figure out how to remove this with cmake
-		patchelf --remove-rpath "$lib" || die
-		dolib.so "$lib"
-	done
-}
-
-src_test() {
-	local CMAKE_SKIP_TESTS=(
-		# Tests don't work in sandbox
-		# fuse: failed to open /dev/fuse: Permission denied
-		dwarfs/tools_test
-	)
-	cmake_src_test
-}
-
-pkg_postinst() {
-	elog "You may find more information in the"
-	elog "${HOMEPAGE}"
-	elog "About creating: ${HOMEPAGE}/blob/main/doc/mkdwarfs.md"
-	elog "About mounting: ${HOMEPAGE}/blob/main/doc/dwarfs.md"
-}


^ permalink raw reply related	[flat|nested] 68+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/
@ 2024-02-13 15:45 Denis Reva
  0 siblings, 0 replies; 68+ messages in thread
From: Denis Reva @ 2024-02-13 15:45 UTC (permalink / raw
  To: gentoo-commits

commit:     e7bd17a2a0708ceddd78cdb40204f84b5865064a
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Tue Feb 13 15:44:58 2024 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Tue Feb 13 15:45:30 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e7bd17a2

sys-fs/dwarfs: add 0.9.5

Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 sys-fs/dwarfs/Manifest            |   1 +
 sys-fs/dwarfs/dwarfs-0.9.5.ebuild | 133 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 134 insertions(+)

diff --git a/sys-fs/dwarfs/Manifest b/sys-fs/dwarfs/Manifest
index b174c903a9..56456b154c 100644
--- a/sys-fs/dwarfs/Manifest
+++ b/sys-fs/dwarfs/Manifest
@@ -1,3 +1,4 @@
 DIST dwarfs-0.8.0.tar.xz 15589992 BLAKE2B 17a0be32cc6e77a90fd391274a12492ab57fdf7f36bb1f9815e3ea09d952e13ec64cfb09a1e4cee3169a5276fd9be250c1e01c5d3af2160924ea3f900aed0a32 SHA512 a61dd173705ed17e3de72c80bcecbd1e0c55665971c4249c8f5d9f4dd448c00d05068ff5406991866becfe28e6622b1d3a0a5e9748d2fc61331601a8c0848fb4
 DIST dwarfs-0.9.1.tar.xz 15671744 BLAKE2B 173557540ed62fc6f59a1caf29fd30945ed32b0cbfca4b2a9613c9490d73f52d38c4c2e0ed83a55fcedefea051858d397c5e36689b9eb01e49c9785bd14bdda1 SHA512 39e20b3e25267cd5baea34154747f5bf2e12ddd862c17153e3a386a2a0d3d7ce30b50377b5102fac49980cf33a6fde646e2367d8ef74ef33881569f2a18a75f0
 DIST dwarfs-0.9.3.tar.xz 15669440 BLAKE2B 96aa9399086f3137cf7fba97159e247f02f584e4c5b8398f63b581ec83f6687fce9d0c64ad8a20f995cbd3abc8ec9b445039d9ac0f344c7e190fcc396c1973c0 SHA512 fb3a5f6c440231b471b5699b2c25cd694fc59580b18fad635f92a296cabea1205cbec63f1421e0acac8635695d07267096fd536b57cc4110aeb51bd9a78aa2fa
+DIST dwarfs-0.9.5.tar.xz 15665480 BLAKE2B 90c0c35f28773f3af6399ca3c3aabaf366770315197adc9c4168bf37f7c88fdbc4c3c93e647132f6a36812b1bf9d27636736682376f9b821086f8793b05feed9 SHA512 b583bfa30594f8758b07d7cb1fea88a48331a570acc73ebdafa47c3b9e055dd7e222cdf03add73543529c3101d516e7936cabc63338ff307c3f54f5f5b06fe65

diff --git a/sys-fs/dwarfs/dwarfs-0.9.5.ebuild b/sys-fs/dwarfs/dwarfs-0.9.5.ebuild
new file mode 100644
index 0000000000..1710d825eb
--- /dev/null
+++ b/sys-fs/dwarfs/dwarfs-0.9.5.ebuild
@@ -0,0 +1,133 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit check-reqs cmake flag-o-matic python-any-r1
+
+DESCRIPTION="A fast very high compression read-only FUSE file system"
+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 man" #Tests is broken at this moment 
+# See https://github.com/mhx/dwarfs/issues/194
+S="${WORKDIR}/dwarfs-${PV}"
+
+RDEPEND="
+	app-arch/libarchive
+	app-arch/lz4
+	app-arch/snappy
+	app-arch/xz-utils
+	app-arch/zstd
+	dev-cpp/range-v3
+	dev-cpp/gflags
+	dev-cpp/glog[gflags]
+	dev-cpp/parallel-hashmap:=
+	dev-libs/boost[context]
+	dev-libs/date
+	dev-libs/double-conversion
+	dev-libs/libevent
+	dev-libs/libfmt
+	dev-libs/utfcpp
+	dev-libs/xxhash
+	sys-fs/fuse:3
+	dev-libs/fsst
+	sys-libs/binutils-libs
+	sys-libs/libunwind
+	sys-libs/zlib
+	jemalloc? ( >=dev-libs/jemalloc-5.3.0-r1 )
+"
+
+DEPEND="${RDEPEND}"
+BDEPEND="
+	${PYTHON_DEPS}
+	dev-util/patchelf
+	sys-devel/bison
+	sys-devel/flex
+	virtual/pkgconfig
+	man? ( app-text/ronn-ng )
+	test? ( dev-cpp/gtest )
+	$(python_gen_any_dep 'dev-python/mistletoe[${PYTHON_USEDEP}]')
+"
+
+DOCS=( "README.md" "CHANGES.md" "TODO" )
+RESTRICT="!test? ( test )"
+
+CHECKREQS_DISK_BUILD="1300M"
+CMAKE_IN_SOURCE_BUILD=1
+CMAKE_WARN_UNUSED_CLI=0
+
+python_check_deps() {
+	python_has_version -b "dev-python/mistletoe[${PYTHON_USEDEP}]"
+}
+
+src_prepare() {
+	rm -r zstd xxHash parallel-hashmap || die
+	sed "s/DESTINATION lib/DESTINATION $(get_libdir)/" -i CMakeLists.txt || die
+
+	# Bug #900016, but upstream discourages O3
+	sed '/FLAGS_RELEASE/s# -O2 -g##' -i CMakeLists.txt || die
+	sed '/CMAKE_CXX_FLAGS_COMMON/s#-g ##' -i folly/CMake/FollyCompilerUnix.cmake || die
+	sed '/^\s*-g$/d' -i folly/CMake/FollyCompilerUnix.cmake || die
+	replace-flags -O3 -O2
+	# Fixes building with test when using system-gtest
+	# https://github.com/mhx/dwarfs/issues/188
+	sed '/utils_test/d' -i CMakeLists.txt || die
+	cmake_src_prepare
+}
+
+src_configure() {
+	append-cxxflags "-I/usr/include"
+	filter-ldflags "-Wl,--as-needed"
+	append-ldflags $(no-as-needed)
+
+	# FIXME: Requires dev-cpp/gtest to be built with -fchar8_t or -std=c++20.
+	# This is unfortunately too aggressive:
+	# append-cxxflags "-fno-char8_t"
+
+	mycmakeargs=(
+		-DUSE_JEMALLOC=$(usex jemalloc ON OFF)
+		-DWITH_TESTS=$(usex test ON OFF)
+		-DWITH_MAN_PAGES=$(usex man ON OFF)
+		-DPREFER_SYSTEM_ZSTD=ON
+		-DPREFER_SYSTEM_XXHASH=ON
+		-DPREFER_SYSTEM_GTEST=ON
+		-DPREFER_SYSTEM_LIBFMT=ON
+		-DWITH_LEGACY_FUSE=OFF
+		-DDISABLE_CCACHE=ON  # Use FEATURES=ccache
+		-DBUILD_SHARED_LIBS=OFF # It can be very difficult to explain
+		#  Shared libs is not fully supported by upstream
+		# https://github.com/mhx/dwarfs/issues/184#issuecomment-1873820859
+		#  So if we disable shared libs we dramatically reduce install code and
+		# remove libs collision with dev-cpp/folly, dev-cpp/fbthrift,
+		# dev-cpp/fizz, and dev-cpp/wangle
+		#  We do NOT enable the full static build, but eradicate bundled libs
+		# such as libfolly.so and libdwarfs_compression.so
+		-DCMAKE_FIND_LIBRARY_SUFFIXES=".a"
+	)
+	cmake_src_configure
+}
+
+src_test() {
+	local CMAKE_SKIP_TESTS=(
+		# Tests don't work in sandbox
+		# fuse: failed to open /dev/fuse: Permission denied
+		dwarfs/tools_test
+		# Some tests doesn't work because of sed '/utils_test/d'
+		dwarfsextract_test.perfmon
+		dwarfs/segmenter_repeating_sequence_test.github161
+	)
+	cmake_src_test
+}
+
+pkg_postinst() {
+	elog "You may find more information in the"
+	elog "${HOMEPAGE}"
+	elog "About creating: ${HOMEPAGE}/blob/main/doc/mkdwarfs.md"
+	elog "About mounting: ${HOMEPAGE}/blob/main/doc/dwarfs.md"
+}


^ permalink raw reply related	[flat|nested] 68+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/
@ 2024-02-12  9:18 Denis Reva
  0 siblings, 0 replies; 68+ messages in thread
From: Denis Reva @ 2024-02-12  9:18 UTC (permalink / raw
  To: gentoo-commits

commit:     e3f1f2f398948658d18e3ff2948abb9f72179499
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Mon Feb 12 09:14:23 2024 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Mon Feb 12 09:14:23 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e3f1f2f3

sys-fs/dwarfs: experiment: eradicate lib flood

 I figured out how to build the whole project
(but not it's dependencies) as statically linked,
therefore there is no more dwarfs_compression.so
nether text relocation bugs.
 The project still use system-installed libs such
as app-arch/zstd as shared.

Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 sys-fs/dwarfs/dwarfs-0.9.3-r50.ebuild | 128 ++++++++++++++++++++++++++++++++++
 1 file changed, 128 insertions(+)

diff --git a/sys-fs/dwarfs/dwarfs-0.9.3-r50.ebuild b/sys-fs/dwarfs/dwarfs-0.9.3-r50.ebuild
new file mode 100644
index 0000000000..ba9632ba1e
--- /dev/null
+++ b/sys-fs/dwarfs/dwarfs-0.9.3-r50.ebuild
@@ -0,0 +1,128 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit check-reqs cmake flag-o-matic python-any-r1
+
+DESCRIPTION="A fast very high compression read-only FUSE file system"
+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 man" #Tests is broken at this moment 
+# See https://github.com/mhx/dwarfs/issues/194
+S="${WORKDIR}/dwarfs-${PV}"
+
+RDEPEND="
+	app-arch/libarchive
+	app-arch/lz4
+	app-arch/snappy
+	app-arch/xz-utils
+	app-arch/zstd
+	dev-cpp/range-v3
+	dev-cpp/gflags
+	dev-cpp/glog[gflags]
+	dev-cpp/parallel-hashmap:=
+	dev-libs/boost[context]
+	dev-libs/date
+	dev-libs/double-conversion
+	dev-libs/libevent
+	dev-libs/libfmt
+	dev-libs/utfcpp
+	dev-libs/xxhash
+	sys-fs/fuse:3
+	dev-libs/fsst
+	sys-libs/binutils-libs
+	sys-libs/libunwind
+	sys-libs/zlib
+	jemalloc? ( >=dev-libs/jemalloc-5.3.0-r1 )
+"
+
+DEPEND="${RDEPEND}"
+BDEPEND="
+	${PYTHON_DEPS}
+	dev-util/patchelf
+	sys-devel/bison
+	sys-devel/flex
+	virtual/pkgconfig
+	man? ( app-text/ronn-ng )
+	test? ( dev-cpp/gtest )
+	$(python_gen_any_dep 'dev-python/mistletoe[${PYTHON_USEDEP}]')
+"
+
+DOCS=( "README.md" "CHANGES.md" "TODO" )
+RESTRICT="!test? ( test )"
+
+CHECKREQS_DISK_BUILD="1300M"
+CMAKE_IN_SOURCE_BUILD=1
+CMAKE_WARN_UNUSED_CLI=0
+
+python_check_deps() {
+	python_has_version -b "dev-python/mistletoe[${PYTHON_USEDEP}]"
+}
+
+src_prepare() {
+	rm -r zstd xxHash parallel-hashmap || die
+	sed "s/DESTINATION lib/DESTINATION $(get_libdir)/" -i CMakeLists.txt || die
+
+	# Bug #900016, but upstream discourages O3
+	sed '/FLAGS_RELEASE/s# -O2 -g##' -i CMakeLists.txt || die
+	sed '/CMAKE_CXX_FLAGS_COMMON/s#-g ##' -i folly/CMake/FollyCompilerUnix.cmake || die
+	sed '/^\s*-g$/d' -i folly/CMake/FollyCompilerUnix.cmake || die
+	replace-flags -O3 -O2
+
+	cmake_src_prepare
+}
+
+src_configure() {
+	append-cxxflags "-I/usr/include"
+	filter-ldflags "-Wl,--as-needed"
+	append-ldflags $(no-as-needed)
+
+	# FIXME: Requires dev-cpp/gtest to be built with -fchar8_t or -std=c++20.
+	# This is unfortunately too aggressive:
+	# append-cxxflags "-fno-char8_t"
+
+	mycmakeargs=(
+		-DUSE_JEMALLOC=$(usex jemalloc ON OFF)
+		-DWITH_TESTS=$(usex test ON OFF)
+		-DWITH_MAN_PAGES=$(usex man ON OFF)
+		-DPREFER_SYSTEM_ZSTD=ON
+		-DPREFER_SYSTEM_XXHASH=ON
+		-DPREFER_SYSTEM_GTEST=ON
+		-DPREFER_SYSTEM_LIBFMT=ON
+		-DWITH_LEGACY_FUSE=OFF
+		-DDISABLE_CCACHE=ON  # Use FEATURES=ccache
+		-DBUILD_SHARED_LIBS=OFF # It can be very difficult to explain
+		#  Shared libs is not fully supported by upstream
+		# https://github.com/mhx/dwarfs/issues/184#issuecomment-1873820859
+		#  So if we disable shared libs we dramatically reduce install code and
+		# remove libs collision with dev-cpp/folly, dev-cpp/fbthrift,
+		# dev-cpp/fizz, and dev-cpp/wangle
+		#  We do NOT enable the full static build, but eradicate bundled libs
+		# such as libfolly.so and libdwarfs_compression.so
+		-DCMAKE_FIND_LIBRARY_SUFFIXES=".a"
+	)
+	cmake_src_configure
+}
+
+src_test() {
+	local CMAKE_SKIP_TESTS=(
+		# Tests don't work in sandbox
+		# fuse: failed to open /dev/fuse: Permission denied
+		dwarfs/tools_test
+	)
+	cmake_src_test
+}
+
+pkg_postinst() {
+	elog "You may find more information in the"
+	elog "${HOMEPAGE}"
+	elog "About creating: ${HOMEPAGE}/blob/main/doc/mkdwarfs.md"
+	elog "About mounting: ${HOMEPAGE}/blob/main/doc/dwarfs.md"
+}


^ permalink raw reply related	[flat|nested] 68+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/
@ 2024-02-12  8:06 Denis Reva
  0 siblings, 0 replies; 68+ messages in thread
From: Denis Reva @ 2024-02-12  8:06 UTC (permalink / raw
  To: gentoo-commits

commit:     402c0033b8d097afefb2e68d378f6f088a5d60b4
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Mon Feb 12 08:06:14 2024 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Mon Feb 12 08:06:14 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=402c0033

sys-fs/dwarfs: version bump

Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 sys-fs/dwarfs/Manifest            |   1 +
 sys-fs/dwarfs/dwarfs-0.9.3.ebuild | 156 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 157 insertions(+)

diff --git a/sys-fs/dwarfs/Manifest b/sys-fs/dwarfs/Manifest
index d726eeda0b..b174c903a9 100644
--- a/sys-fs/dwarfs/Manifest
+++ b/sys-fs/dwarfs/Manifest
@@ -1,2 +1,3 @@
 DIST dwarfs-0.8.0.tar.xz 15589992 BLAKE2B 17a0be32cc6e77a90fd391274a12492ab57fdf7f36bb1f9815e3ea09d952e13ec64cfb09a1e4cee3169a5276fd9be250c1e01c5d3af2160924ea3f900aed0a32 SHA512 a61dd173705ed17e3de72c80bcecbd1e0c55665971c4249c8f5d9f4dd448c00d05068ff5406991866becfe28e6622b1d3a0a5e9748d2fc61331601a8c0848fb4
 DIST dwarfs-0.9.1.tar.xz 15671744 BLAKE2B 173557540ed62fc6f59a1caf29fd30945ed32b0cbfca4b2a9613c9490d73f52d38c4c2e0ed83a55fcedefea051858d397c5e36689b9eb01e49c9785bd14bdda1 SHA512 39e20b3e25267cd5baea34154747f5bf2e12ddd862c17153e3a386a2a0d3d7ce30b50377b5102fac49980cf33a6fde646e2367d8ef74ef33881569f2a18a75f0
+DIST dwarfs-0.9.3.tar.xz 15669440 BLAKE2B 96aa9399086f3137cf7fba97159e247f02f584e4c5b8398f63b581ec83f6687fce9d0c64ad8a20f995cbd3abc8ec9b445039d9ac0f344c7e190fcc396c1973c0 SHA512 fb3a5f6c440231b471b5699b2c25cd694fc59580b18fad635f92a296cabea1205cbec63f1421e0acac8635695d07267096fd536b57cc4110aeb51bd9a78aa2fa

diff --git a/sys-fs/dwarfs/dwarfs-0.9.3.ebuild b/sys-fs/dwarfs/dwarfs-0.9.3.ebuild
new file mode 100644
index 0000000000..3a6dd17643
--- /dev/null
+++ b/sys-fs/dwarfs/dwarfs-0.9.3.ebuild
@@ -0,0 +1,156 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit check-reqs cmake flag-o-matic python-any-r1
+
+DESCRIPTION="A fast very high compression read-only FUSE file system"
+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 man" #Tests is broken at this moment 
+# See https://github.com/mhx/dwarfs/issues/194
+S="${WORKDIR}/dwarfs-${PV}"
+
+RDEPEND="
+	app-arch/libarchive
+	app-arch/lz4
+	app-arch/snappy
+	app-arch/xz-utils
+	app-arch/zstd
+	dev-cpp/range-v3
+	dev-cpp/gflags
+	dev-cpp/glog[gflags]
+	dev-cpp/parallel-hashmap:=
+	dev-libs/boost[context]
+	dev-libs/date
+	dev-libs/double-conversion
+	dev-libs/libevent
+	dev-libs/libfmt
+	dev-libs/utfcpp
+	dev-libs/xxhash
+	sys-fs/fuse:3
+	dev-libs/fsst
+	sys-libs/binutils-libs
+	sys-libs/libunwind
+	sys-libs/zlib
+	!dev-cpp/fbthrift
+	!dev-cpp/fizz
+	!dev-cpp/folly
+	!dev-cpp/wangle
+	jemalloc? ( >=dev-libs/jemalloc-5.3.0-r1 )
+"
+
+DEPEND="${RDEPEND}"
+BDEPEND="
+	${PYTHON_DEPS}
+	dev-util/patchelf
+	sys-devel/bison
+	sys-devel/flex
+	virtual/pkgconfig
+	man? ( app-text/ronn-ng )
+	test? ( dev-cpp/gtest )
+	$(python_gen_any_dep 'dev-python/mistletoe[${PYTHON_USEDEP}]')
+"
+
+DOCS=( "README.md" "CHANGES.md" "TODO" )
+RESTRICT="!test? ( test )"
+
+CHECKREQS_DISK_BUILD="1300M"
+CMAKE_IN_SOURCE_BUILD=1
+CMAKE_WARN_UNUSED_CLI=0
+
+python_check_deps() {
+	python_has_version -b "dev-python/mistletoe[${PYTHON_USEDEP}]"
+}
+
+src_prepare() {
+	rm -r zstd xxHash parallel-hashmap || die
+	sed "s/DESTINATION lib/DESTINATION $(get_libdir)/" -i CMakeLists.txt || die
+
+	# Bug #900016, but upstream discourages O3
+	sed '/FLAGS_RELEASE/s# -O2 -g##' -i CMakeLists.txt || die
+	sed '/CMAKE_CXX_FLAGS_COMMON/s#-g ##' -i folly/CMake/FollyCompilerUnix.cmake || die
+	sed '/^\s*-g$/d' -i folly/CMake/FollyCompilerUnix.cmake || die
+	replace-flags -O3 -O2
+
+	cmake_src_prepare
+}
+
+src_configure() {
+	append-cxxflags "-I/usr/include -fPIC"
+	filter-ldflags "-Wl,--as-needed"
+	append-ldflags $(no-as-needed)
+
+	# FIXME: Requires dev-cpp/gtest to be built with -fchar8_t or -std=c++20.
+	# This is unfortunately too aggressive:
+	# append-cxxflags "-fno-char8_t"
+
+	mycmakeargs=(
+		-DUSE_JEMALLOC=$(usex jemalloc ON OFF)
+		-DWITH_TESTS=$(usex test ON OFF)
+		-DWITH_MAN_PAGES=$(usex man ON OFF)
+		-DPREFER_SYSTEM_ZSTD=ON
+		-DPREFER_SYSTEM_XXHASH=ON
+		-DPREFER_SYSTEM_GTEST=ON
+		-DPREFER_SYSTEM_LIBFMT=ON
+		-DWITH_LEGACY_FUSE=OFF
+		-DDISABLE_CCACHE=ON  # Use FEATURES=ccache
+	)
+	cmake_src_configure
+}
+
+src_install() {
+	local libs=(
+		folly/libfolly.so
+		folly/libfolly.so.0.58.0-dev
+		libcompression_thrift.so
+		libdwarfs.so
+		libdwarfs_categorizer.so
+		libdwarfs_compression.so
+		libdwarfs_compression_metadata.so
+		libdwarfs_main.so
+		libdwarfs_tool.so
+		libdwarfsbench_main.so
+		libdwarfsck_main.so
+		libdwarfsck_main.so
+		libdwarfsextract_main.so
+		libdwarfsextract_main.so
+		libfeatures_thrift.so
+		libhistory_thrift.so
+		libmetadata_thrift.so
+		libmkdwarfs_main.so
+		libthrift_light.so
+		ricepp/libricepp.so
+	)
+
+	cmake_src_install
+
+	for lib in "${libs[@]}"; do
+		# TODO: figure out how to remove this with cmake
+		patchelf --remove-rpath "$lib" || die
+		dolib.so "$lib"
+	done
+}
+
+src_test() {
+	local CMAKE_SKIP_TESTS=(
+		# Tests don't work in sandbox
+		# fuse: failed to open /dev/fuse: Permission denied
+		dwarfs/tools_test
+	)
+	cmake_src_test
+}
+
+pkg_postinst() {
+	elog "You may find more information in the"
+	elog "${HOMEPAGE}"
+	elog "About creating: ${HOMEPAGE}/blob/main/doc/mkdwarfs.md"
+	elog "About mounting: ${HOMEPAGE}/blob/main/doc/dwarfs.md"
+}


^ permalink raw reply related	[flat|nested] 68+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/
@ 2024-02-08 19:13 YiFei Zhu
  0 siblings, 0 replies; 68+ messages in thread
From: YiFei Zhu @ 2024-02-08 19:13 UTC (permalink / raw
  To: gentoo-commits

commit:     48cd90c55f50a5b34d4eb5d7a3facd73706d0591
Author:     YiFei Zhu <zhuyifei1999 <AT> gmail <DOT> com>
AuthorDate: Thu Feb  8 04:16:48 2024 +0000
Commit:     YiFei Zhu <zhuyifei1999 <AT> gmail <DOT> com>
CommitDate: Thu Feb  8 19:13:22 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=48cd90c5

sys-fs/dwarfs: add 0.9.1, drop 0.7.5

Signed-off-by: YiFei Zhu <zhuyifei1999 <AT> gmail.com>

 sys-fs/dwarfs/Manifest                             |  2 +-
 .../{dwarfs-0.7.5.ebuild => dwarfs-0.9.1.ebuild}   | 43 +++++++++++++++-------
 2 files changed, 30 insertions(+), 15 deletions(-)

diff --git a/sys-fs/dwarfs/Manifest b/sys-fs/dwarfs/Manifest
index 6233ec225c..d726eeda0b 100644
--- a/sys-fs/dwarfs/Manifest
+++ b/sys-fs/dwarfs/Manifest
@@ -1,2 +1,2 @@
-DIST dwarfs-0.7.5.tar.xz 15110268 BLAKE2B c40d3fd74d750a3da2073ac75a9ddc6c0bf11e9aeb1c7718f0181b33820e6d5ca09ba25be7d6b7224036e02665115f4d43378b5dfe0975a4eea83eb866cfab01 SHA512 95efa1125470cfdbd7f2841a55516ec14c517019b4e38ba7c0627e7d12904f1313a4bc61637362459be3f366da11754a8091a73b241949269f6425404094813a
 DIST dwarfs-0.8.0.tar.xz 15589992 BLAKE2B 17a0be32cc6e77a90fd391274a12492ab57fdf7f36bb1f9815e3ea09d952e13ec64cfb09a1e4cee3169a5276fd9be250c1e01c5d3af2160924ea3f900aed0a32 SHA512 a61dd173705ed17e3de72c80bcecbd1e0c55665971c4249c8f5d9f4dd448c00d05068ff5406991866becfe28e6622b1d3a0a5e9748d2fc61331601a8c0848fb4
+DIST dwarfs-0.9.1.tar.xz 15671744 BLAKE2B 173557540ed62fc6f59a1caf29fd30945ed32b0cbfca4b2a9613c9490d73f52d38c4c2e0ed83a55fcedefea051858d397c5e36689b9eb01e49c9785bd14bdda1 SHA512 39e20b3e25267cd5baea34154747f5bf2e12ddd862c17153e3a386a2a0d3d7ce30b50377b5102fac49980cf33a6fde646e2367d8ef74ef33881569f2a18a75f0

diff --git a/sys-fs/dwarfs/dwarfs-0.7.5.ebuild b/sys-fs/dwarfs/dwarfs-0.9.1.ebuild
similarity index 82%
rename from sys-fs/dwarfs/dwarfs-0.7.5.ebuild
rename to sys-fs/dwarfs/dwarfs-0.9.1.ebuild
index bda556248d..c4ec376f68 100644
--- a/sys-fs/dwarfs/dwarfs-0.7.5.ebuild
+++ b/sys-fs/dwarfs/dwarfs-0.9.1.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 PYTHON_COMPAT=( python3_{10..12} )
 
-inherit check-reqs cmake flag-o-matic python-single-r1
+inherit check-reqs cmake flag-o-matic python-any-r1
 
 DESCRIPTION="A fast very high compression read-only FUSE file system"
 HOMEPAGE="https://github.com/mhx/dwarfs"
@@ -14,20 +14,21 @@ SRC_URI="https://github.com/mhx/dwarfs/releases/download/v${PV}/${P}.tar.xz"
 LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="~amd64"
-IUSE="python +jemalloc test man"
+IUSE="+jemalloc test man"
 S="${WORKDIR}/dwarfs-${PV}"
 
 RDEPEND="
-	${PYTHON_DEPS}
 	app-arch/libarchive
 	app-arch/lz4
 	app-arch/snappy
 	app-arch/xz-utils
 	app-arch/zstd
+	dev-cpp/range-v3
 	dev-cpp/gflags
 	dev-cpp/glog[gflags]
 	dev-cpp/parallel-hashmap:=
-	dev-libs/boost[context,python?]
+	dev-libs/boost[context]
+	dev-libs/date
 	dev-libs/double-conversion
 	dev-libs/libevent
 	dev-libs/libfmt
@@ -47,22 +48,27 @@ RDEPEND="
 
 DEPEND="${RDEPEND}"
 BDEPEND="
+	${PYTHON_DEPS}
 	dev-util/patchelf
 	sys-devel/bison
 	sys-devel/flex
 	virtual/pkgconfig
 	man? ( app-text/ronn-ng )
 	test? ( dev-cpp/gtest )
+	$(python_gen_any_dep 'dev-python/mistletoe[${PYTHON_USEDEP}]')
 "
 
 DOCS=( "README.md" "CHANGES.md" "TODO" )
 RESTRICT="!test? ( test )"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 CHECKREQS_DISK_BUILD="1300M"
 CMAKE_IN_SOURCE_BUILD=1
 CMAKE_WARN_UNUSED_CLI=0
 
+python_check_deps() {
+	python_has_version -b "dev-python/mistletoe[${PYTHON_USEDEP}]"
+}
+
 src_prepare() {
 	rm -r zstd xxHash parallel-hashmap || die
 	sed "s/DESTINATION lib/DESTINATION $(get_libdir)/" -i CMakeLists.txt || die
@@ -78,11 +84,15 @@ src_prepare() {
 
 src_configure() {
 	append-cxxflags "-I/usr/include"
+	filter-ldflags "-Wl,--as-needed"
 	append-ldflags $(no-as-needed)
 
+	# FIXME: Requires dev-cpp/gtest to be built with -fchar8_t or -std=c++20.
+	# This is unfortunately too aggressive:
+	# append-cxxflags "-fno-char8_t"
+
 	mycmakeargs=(
 		-DUSE_JEMALLOC=$(usex jemalloc ON OFF)
-		-DWITH_PYTHON=$(usex python ON OFF)
 		-DWITH_TESTS=$(usex test ON OFF)
 		-DWITH_MAN_PAGES=$(usex man ON OFF)
 		-DPREFER_SYSTEM_ZSTD=ON
@@ -92,26 +102,31 @@ src_configure() {
 		-DWITH_LEGACY_FUSE=OFF
 		-DDISABLE_CCACHE=ON  # Use FEATURES=ccache
 	)
-	use python && mycmakeargs+=( "-DWITH_PYTHON_VERSION=${EPYTHON#python}" )
 	cmake_src_configure
 }
 
 src_install() {
 	local libs=(
+		folly/libfolly.so
+		folly/libfolly.so.0.58.0-dev
+		libcompression_thrift.so
 		libdwarfs.so
+		libdwarfs_categorizer.so
+		libdwarfs_compression.so
+		libdwarfs_compression_metadata.so
 		libdwarfs_main.so
 		libdwarfs_tool.so
-		libdwarfs_compression.so
-		libthrift_light.so
-		libmetadata_thrift.so
-		libmkdwarfs_main.so
 		libdwarfsbench_main.so
 		libdwarfsck_main.so
-		libdwarfsextract_main.so
 		libdwarfsck_main.so
 		libdwarfsextract_main.so
-		folly/libfolly.so
-		folly/libfolly.so.0.58.0-dev
+		libdwarfsextract_main.so
+		libfeatures_thrift.so
+		libhistory_thrift.so
+		libmetadata_thrift.so
+		libmkdwarfs_main.so
+		libthrift_light.so
+		ricepp/libricepp.so
 	)
 
 	cmake_src_install


^ permalink raw reply related	[flat|nested] 68+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/
@ 2024-01-23 11:08 YiFei Zhu
  0 siblings, 0 replies; 68+ messages in thread
From: YiFei Zhu @ 2024-01-23 11:08 UTC (permalink / raw
  To: gentoo-commits

commit:     37a81e55db1a1afb3d2ef0f85fd2414a5640508a
Author:     YiFei Zhu <zhuyifei1999 <AT> gmail <DOT> com>
AuthorDate: Tue Jan 23 10:45:36 2024 +0000
Commit:     YiFei Zhu <zhuyifei1999 <AT> gmail <DOT> com>
CommitDate: Tue Jan 23 10:46:15 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=37a81e55

sys-fs/dwarfs: add 0.8.0, drop 0.7.4-r3

Signed-off-by: YiFei Zhu <zhuyifei1999 <AT> gmail.com>

 sys-fs/dwarfs/Manifest                             |  2 +-
 ...{dwarfs-0.7.4-r3.ebuild => dwarfs-0.8.0.ebuild} | 42 ++++++++++++++--------
 2 files changed, 28 insertions(+), 16 deletions(-)

diff --git a/sys-fs/dwarfs/Manifest b/sys-fs/dwarfs/Manifest
index afc7b5de72..6233ec225c 100644
--- a/sys-fs/dwarfs/Manifest
+++ b/sys-fs/dwarfs/Manifest
@@ -1,2 +1,2 @@
-DIST dwarfs-0.7.4.tar.xz 15112544 BLAKE2B 904c5f089589630ac10441ec86feb3a4df30ad901a809e93942970fbc32f05499d6996f73769d3ada10e7aa224ec71a50144d9d605d5df852c86116efc82c090 SHA512 b78e0544ea04200089efd970250417ace6a354ba3090f7f8cbe4b901c5575f752968d1720cdd6e35109920f1e363cf3b70d777a46addd2214c2f5fdf83f90e19
 DIST dwarfs-0.7.5.tar.xz 15110268 BLAKE2B c40d3fd74d750a3da2073ac75a9ddc6c0bf11e9aeb1c7718f0181b33820e6d5ca09ba25be7d6b7224036e02665115f4d43378b5dfe0975a4eea83eb866cfab01 SHA512 95efa1125470cfdbd7f2841a55516ec14c517019b4e38ba7c0627e7d12904f1313a4bc61637362459be3f366da11754a8091a73b241949269f6425404094813a
+DIST dwarfs-0.8.0.tar.xz 15589992 BLAKE2B 17a0be32cc6e77a90fd391274a12492ab57fdf7f36bb1f9815e3ea09d952e13ec64cfb09a1e4cee3169a5276fd9be250c1e01c5d3af2160924ea3f900aed0a32 SHA512 a61dd173705ed17e3de72c80bcecbd1e0c55665971c4249c8f5d9f4dd448c00d05068ff5406991866becfe28e6622b1d3a0a5e9748d2fc61331601a8c0848fb4

diff --git a/sys-fs/dwarfs/dwarfs-0.7.4-r3.ebuild b/sys-fs/dwarfs/dwarfs-0.8.0.ebuild
similarity index 82%
rename from sys-fs/dwarfs/dwarfs-0.7.4-r3.ebuild
rename to sys-fs/dwarfs/dwarfs-0.8.0.ebuild
index 5bcbf93151..6ccbc57b15 100644
--- a/sys-fs/dwarfs/dwarfs-0.7.4-r3.ebuild
+++ b/sys-fs/dwarfs/dwarfs-0.8.0.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
 PYTHON_COMPAT=( python3_{10..12} )
 
-inherit check-reqs cmake flag-o-matic python-single-r1
+inherit check-reqs cmake flag-o-matic python-any-r1
 
 DESCRIPTION="A fast very high compression read-only FUSE file system"
 HOMEPAGE="https://github.com/mhx/dwarfs"
@@ -14,11 +14,10 @@ SRC_URI="https://github.com/mhx/dwarfs/releases/download/v${PV}/${P}.tar.xz"
 LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="~amd64"
-IUSE="python +jemalloc test man"
+IUSE="+jemalloc test man"
 S="${WORKDIR}/dwarfs-${PV}"
 
 RDEPEND="
-	${PYTHON_DEPS}
 	app-arch/libarchive
 	app-arch/lz4
 	app-arch/snappy
@@ -27,7 +26,8 @@ RDEPEND="
 	dev-cpp/gflags
 	dev-cpp/glog[gflags]
 	dev-cpp/parallel-hashmap:=
-	dev-libs/boost[context,python?]
+	dev-libs/boost[context]
+	dev-libs/date
 	dev-libs/double-conversion
 	dev-libs/libevent
 	dev-libs/libfmt
@@ -47,22 +47,27 @@ RDEPEND="
 
 DEPEND="${RDEPEND}"
 BDEPEND="
+	${PYTHON_DEPS}
 	dev-util/patchelf
 	sys-devel/bison
 	sys-devel/flex
 	virtual/pkgconfig
 	man? ( app-text/ronn-ng )
 	test? ( dev-cpp/gtest )
+	$(python_gen_any_dep 'dev-python/mistletoe[${PYTHON_USEDEP}]')
 "
 
 DOCS=( "README.md" "CHANGES.md" "TODO" )
 RESTRICT="!test? ( test )"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 CHECKREQS_DISK_BUILD="1300M"
 CMAKE_IN_SOURCE_BUILD=1
 CMAKE_WARN_UNUSED_CLI=0
 
+python_check_deps() {
+	python_has_version -b "dev-python/mistletoe[${PYTHON_USEDEP}]"
+}
+
 src_prepare() {
 	rm -r zstd xxHash parallel-hashmap || die
 	sed "s/DESTINATION lib/DESTINATION $(get_libdir)/" -i CMakeLists.txt || die
@@ -80,9 +85,12 @@ src_configure() {
 	append-cxxflags "-I/usr/include"
 	append-ldflags $(no-as-needed)
 
+	# FIXME: Requires dev-cpp/gtest to be built with -fchar8_t or -std=c++20.
+	# This is unfortunately too aggressive:
+	# append-cxxflags "-fno-char8_t"
+
 	mycmakeargs=(
 		-DUSE_JEMALLOC=$(usex jemalloc ON OFF)
-		-DWITH_PYTHON=$(usex python ON OFF)
 		-DWITH_TESTS=$(usex test ON OFF)
 		-DWITH_MAN_PAGES=$(usex man ON OFF)
 		-DPREFER_SYSTEM_ZSTD=ON
@@ -92,26 +100,30 @@ src_configure() {
 		-DWITH_LEGACY_FUSE=OFF
 		-DDISABLE_CCACHE=ON  # Use FEATURES=ccache
 	)
-	use python && mycmakeargs+=( "-DWITH_PYTHON_VERSION=${EPYTHON#python}" )
 	cmake_src_configure
 }
 
 src_install() {
 	local libs=(
+		folly/libfolly.so
+		folly/libfolly.so.0.58.0-dev
+		libcompression_thrift.so
 		libdwarfs.so
+		libdwarfs_categorizer.so
+		libdwarfs_compression.so
+		libdwarfs_compression_metadata.so
 		libdwarfs_main.so
 		libdwarfs_tool.so
-		libdwarfs_compression.so
-		libthrift_light.so
-		libmetadata_thrift.so
-		libmkdwarfs_main.so
 		libdwarfsbench_main.so
 		libdwarfsck_main.so
-		libdwarfsextract_main.so
 		libdwarfsck_main.so
 		libdwarfsextract_main.so
-		folly/libfolly.so
-		folly/libfolly.so.0.58.0-dev
+		libdwarfsextract_main.so
+		libfeatures_thrift.so
+		libhistory_thrift.so
+		libmetadata_thrift.so
+		libmkdwarfs_main.so
+		libthrift_light.so
 	)
 
 	cmake_src_install


^ permalink raw reply related	[flat|nested] 68+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/
@ 2024-01-19  6:43 YiFei Zhu
  0 siblings, 0 replies; 68+ messages in thread
From: YiFei Zhu @ 2024-01-19  6:43 UTC (permalink / raw
  To: gentoo-commits

commit:     6f58218d8627bee47953cd47f6a70a1fb9b48175
Author:     YiFei Zhu <zhuyifei1999 <AT> gmail <DOT> com>
AuthorDate: Fri Jan 19 06:37:49 2024 +0000
Commit:     YiFei Zhu <zhuyifei1999 <AT> gmail <DOT> com>
CommitDate: Fri Jan 19 06:38:29 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6f58218d

sys-fs/dwarfs: add 0.7.5

Signed-off-by: YiFei Zhu <zhuyifei1999 <AT> gmail.com>

 sys-fs/dwarfs/Manifest            |   1 +
 sys-fs/dwarfs/dwarfs-0.7.5.ebuild | 140 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 141 insertions(+)

diff --git a/sys-fs/dwarfs/Manifest b/sys-fs/dwarfs/Manifest
index 1bf8f607a2..afc7b5de72 100644
--- a/sys-fs/dwarfs/Manifest
+++ b/sys-fs/dwarfs/Manifest
@@ -1 +1,2 @@
 DIST dwarfs-0.7.4.tar.xz 15112544 BLAKE2B 904c5f089589630ac10441ec86feb3a4df30ad901a809e93942970fbc32f05499d6996f73769d3ada10e7aa224ec71a50144d9d605d5df852c86116efc82c090 SHA512 b78e0544ea04200089efd970250417ace6a354ba3090f7f8cbe4b901c5575f752968d1720cdd6e35109920f1e363cf3b70d777a46addd2214c2f5fdf83f90e19
+DIST dwarfs-0.7.5.tar.xz 15110268 BLAKE2B c40d3fd74d750a3da2073ac75a9ddc6c0bf11e9aeb1c7718f0181b33820e6d5ca09ba25be7d6b7224036e02665115f4d43378b5dfe0975a4eea83eb866cfab01 SHA512 95efa1125470cfdbd7f2841a55516ec14c517019b4e38ba7c0627e7d12904f1313a4bc61637362459be3f366da11754a8091a73b241949269f6425404094813a

diff --git a/sys-fs/dwarfs/dwarfs-0.7.5.ebuild b/sys-fs/dwarfs/dwarfs-0.7.5.ebuild
new file mode 100644
index 0000000000..bda556248d
--- /dev/null
+++ b/sys-fs/dwarfs/dwarfs-0.7.5.ebuild
@@ -0,0 +1,140 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit check-reqs cmake flag-o-matic python-single-r1
+
+DESCRIPTION="A fast very high compression read-only FUSE file system"
+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="python +jemalloc test man"
+S="${WORKDIR}/dwarfs-${PV}"
+
+RDEPEND="
+	${PYTHON_DEPS}
+	app-arch/libarchive
+	app-arch/lz4
+	app-arch/snappy
+	app-arch/xz-utils
+	app-arch/zstd
+	dev-cpp/gflags
+	dev-cpp/glog[gflags]
+	dev-cpp/parallel-hashmap:=
+	dev-libs/boost[context,python?]
+	dev-libs/double-conversion
+	dev-libs/libevent
+	dev-libs/libfmt
+	dev-libs/utfcpp
+	dev-libs/xxhash
+	sys-fs/fuse:3
+	dev-libs/fsst
+	sys-libs/binutils-libs
+	sys-libs/libunwind
+	sys-libs/zlib
+	!dev-cpp/fbthrift
+	!dev-cpp/fizz
+	!dev-cpp/folly
+	!dev-cpp/wangle
+	jemalloc? ( >=dev-libs/jemalloc-5.3.0-r1 )
+"
+
+DEPEND="${RDEPEND}"
+BDEPEND="
+	dev-util/patchelf
+	sys-devel/bison
+	sys-devel/flex
+	virtual/pkgconfig
+	man? ( app-text/ronn-ng )
+	test? ( dev-cpp/gtest )
+"
+
+DOCS=( "README.md" "CHANGES.md" "TODO" )
+RESTRICT="!test? ( test )"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+CHECKREQS_DISK_BUILD="1300M"
+CMAKE_IN_SOURCE_BUILD=1
+CMAKE_WARN_UNUSED_CLI=0
+
+src_prepare() {
+	rm -r zstd xxHash parallel-hashmap || die
+	sed "s/DESTINATION lib/DESTINATION $(get_libdir)/" -i CMakeLists.txt || die
+
+	# Bug #900016, but upstream discourages O3
+	sed '/FLAGS_RELEASE/s# -O2 -g##' -i CMakeLists.txt || die
+	sed '/CMAKE_CXX_FLAGS_COMMON/s#-g ##' -i folly/CMake/FollyCompilerUnix.cmake || die
+	sed '/^\s*-g$/d' -i folly/CMake/FollyCompilerUnix.cmake || die
+	replace-flags -O3 -O2
+
+	cmake_src_prepare
+}
+
+src_configure() {
+	append-cxxflags "-I/usr/include"
+	append-ldflags $(no-as-needed)
+
+	mycmakeargs=(
+		-DUSE_JEMALLOC=$(usex jemalloc ON OFF)
+		-DWITH_PYTHON=$(usex python ON OFF)
+		-DWITH_TESTS=$(usex test ON OFF)
+		-DWITH_MAN_PAGES=$(usex man ON OFF)
+		-DPREFER_SYSTEM_ZSTD=ON
+		-DPREFER_SYSTEM_XXHASH=ON
+		-DPREFER_SYSTEM_GTEST=ON
+		-DPREFER_SYSTEM_LIBFMT=ON
+		-DWITH_LEGACY_FUSE=OFF
+		-DDISABLE_CCACHE=ON  # Use FEATURES=ccache
+	)
+	use python && mycmakeargs+=( "-DWITH_PYTHON_VERSION=${EPYTHON#python}" )
+	cmake_src_configure
+}
+
+src_install() {
+	local libs=(
+		libdwarfs.so
+		libdwarfs_main.so
+		libdwarfs_tool.so
+		libdwarfs_compression.so
+		libthrift_light.so
+		libmetadata_thrift.so
+		libmkdwarfs_main.so
+		libdwarfsbench_main.so
+		libdwarfsck_main.so
+		libdwarfsextract_main.so
+		libdwarfsck_main.so
+		libdwarfsextract_main.so
+		folly/libfolly.so
+		folly/libfolly.so.0.58.0-dev
+	)
+
+	cmake_src_install
+
+	for lib in "${libs[@]}"; do
+		# TODO: figure out how to remove this with cmake
+		patchelf --remove-rpath "$lib" || die
+		dolib.so "$lib"
+	done
+}
+
+src_test() {
+	local CMAKE_SKIP_TESTS=(
+		# Tests don't work in sandbox
+		# fuse: failed to open /dev/fuse: Permission denied
+		dwarfs/tools_test
+	)
+	cmake_src_test
+}
+
+pkg_postinst() {
+	elog "You may find more information in the"
+	elog "${HOMEPAGE}"
+	elog "About creating: ${HOMEPAGE}/blob/main/doc/mkdwarfs.md"
+	elog "About mounting: ${HOMEPAGE}/blob/main/doc/dwarfs.md"
+}


^ permalink raw reply related	[flat|nested] 68+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/
@ 2024-01-10  6:31 YiFei Zhu
  0 siblings, 0 replies; 68+ messages in thread
From: YiFei Zhu @ 2024-01-10  6:31 UTC (permalink / raw
  To: gentoo-commits

commit:     d52ad47abfb734fb3bb6abc050a1d1fe92ce8a9f
Author:     YiFei Zhu <zhuyifei1999 <AT> gmail <DOT> com>
AuthorDate: Wed Jan 10 06:28:43 2024 +0000
Commit:     YiFei Zhu <zhuyifei1999 <AT> gmail <DOT> com>
CommitDate: Wed Jan 10 06:30:38 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d52ad47a

sys-fs/dwarfs: Actually remove RPATH

Still can't figure out how to let cmake do it for us, but
I guess it is how it is for now.

Closes: https://bugs.gentoo.org/910323
Signed-off-by: YiFei Zhu <zhuyifei1999 <AT> gmail.com>

 ...arfs-0.7.4-r2.ebuild => dwarfs-0.7.4-r3.ebuild} | 37 ++++++++++++++--------
 1 file changed, 24 insertions(+), 13 deletions(-)

diff --git a/sys-fs/dwarfs/dwarfs-0.7.4-r2.ebuild b/sys-fs/dwarfs/dwarfs-0.7.4-r3.ebuild
similarity index 83%
rename from sys-fs/dwarfs/dwarfs-0.7.4-r2.ebuild
rename to sys-fs/dwarfs/dwarfs-0.7.4-r3.ebuild
index 31cb64bd3e..5bcbf93151 100644
--- a/sys-fs/dwarfs/dwarfs-0.7.4-r2.ebuild
+++ b/sys-fs/dwarfs/dwarfs-0.7.4-r3.ebuild
@@ -47,6 +47,7 @@ RDEPEND="
 
 DEPEND="${RDEPEND}"
 BDEPEND="
+	dev-util/patchelf
 	sys-devel/bison
 	sys-devel/flex
 	virtual/pkgconfig
@@ -62,15 +63,6 @@ CHECKREQS_DISK_BUILD="1300M"
 CMAKE_IN_SOURCE_BUILD=1
 CMAKE_WARN_UNUSED_CLI=0
 
-#These files supposed to have no symlink
-QA_SONAME=(
-"/usr/sbin/dwarfs"
-"/usr/bin/dwarfsbench"
-"/usr/bin/dwarfsck"
-"/usr/bin/dwarfsextract"
-"/usr/bin/mkdwarfs"
-)
-
 src_prepare() {
 	rm -r zstd xxHash parallel-hashmap || die
 	sed "s/DESTINATION lib/DESTINATION $(get_libdir)/" -i CMakeLists.txt || die
@@ -105,11 +97,30 @@ src_configure() {
 }
 
 src_install() {
-	# Perform install
+	local libs=(
+		libdwarfs.so
+		libdwarfs_main.so
+		libdwarfs_tool.so
+		libdwarfs_compression.so
+		libthrift_light.so
+		libmetadata_thrift.so
+		libmkdwarfs_main.so
+		libdwarfsbench_main.so
+		libdwarfsck_main.so
+		libdwarfsextract_main.so
+		libdwarfsck_main.so
+		libdwarfsextract_main.so
+		folly/libfolly.so
+		folly/libfolly.so.0.58.0-dev
+	)
+
 	cmake_src_install
-	dolib.so libdwarfs.so libdwarfs_main.so libdwarfs_tool.so libdwarfs_compression.so libthrift_light.so libmetadata_thrift.so || die "Install failed"
-	dolib.so folly/libfolly.so folly/libfolly.so.0.58.0-dev libmkdwarfs_main.so libdwarfsbench_main.so || die "Install failed"
-	dolib.so libdwarfsck_main.so libdwarfsextract_main.so || die "Install failed"
+
+	for lib in "${libs[@]}"; do
+		# TODO: figure out how to remove this with cmake
+		patchelf --remove-rpath "$lib" || die
+		dolib.so "$lib"
+	done
 }
 
 src_test() {


^ permalink raw reply related	[flat|nested] 68+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/
@ 2024-01-10  6:31 YiFei Zhu
  0 siblings, 0 replies; 68+ messages in thread
From: YiFei Zhu @ 2024-01-10  6:31 UTC (permalink / raw
  To: gentoo-commits

commit:     15ffdd288b0c1b1f73e448e22b935389d0b3da10
Author:     YiFei Zhu <zhuyifei1999 <AT> gmail <DOT> com>
AuthorDate: Wed Jan 10 05:46:35 2024 +0000
Commit:     YiFei Zhu <zhuyifei1999 <AT> gmail <DOT> com>
CommitDate: Wed Jan 10 06:30:38 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=15ffdd28

sys-fs/dwarfs: Skip some ctest tests that require fuse

They don't work in sandbox.

Also add a bit of whitespace to the ebuild to make it easier to read.

Signed-off-by: YiFei Zhu <zhuyifei1999 <AT> gmail.com>

 sys-fs/dwarfs/dwarfs-0.7.4-r2.ebuild | 18 ++++++++++++++----
 1 file changed, 14 insertions(+), 4 deletions(-)

diff --git a/sys-fs/dwarfs/dwarfs-0.7.4-r2.ebuild b/sys-fs/dwarfs/dwarfs-0.7.4-r2.ebuild
index 634400a408..31cb64bd3e 100644
--- a/sys-fs/dwarfs/dwarfs-0.7.4-r2.ebuild
+++ b/sys-fs/dwarfs/dwarfs-0.7.4-r2.ebuild
@@ -61,6 +61,7 @@ REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 CHECKREQS_DISK_BUILD="1300M"
 CMAKE_IN_SOURCE_BUILD=1
 CMAKE_WARN_UNUSED_CLI=0
+
 #These files supposed to have no symlink
 QA_SONAME=(
 "/usr/sbin/dwarfs"
@@ -70,7 +71,7 @@ QA_SONAME=(
 "/usr/bin/mkdwarfs"
 )
 
-src_prepare(){
+src_prepare() {
 	rm -r zstd xxHash parallel-hashmap || die
 	sed "s/DESTINATION lib/DESTINATION $(get_libdir)/" -i CMakeLists.txt || die
 
@@ -83,7 +84,7 @@ src_prepare(){
 	cmake_src_prepare
 }
 
-src_configure(){
+src_configure() {
 	append-cxxflags "-I/usr/include"
 	append-ldflags $(no-as-needed)
 
@@ -103,7 +104,7 @@ src_configure(){
 	cmake_src_configure
 }
 
-src_install(){
+src_install() {
 	# Perform install
 	cmake_src_install
 	dolib.so libdwarfs.so libdwarfs_main.so libdwarfs_tool.so libdwarfs_compression.so libthrift_light.so libmetadata_thrift.so || die "Install failed"
@@ -111,7 +112,16 @@ src_install(){
 	dolib.so libdwarfsck_main.so libdwarfsextract_main.so || die "Install failed"
 }
 
-pkg_postinst(){
+src_test() {
+	local CMAKE_SKIP_TESTS=(
+		# Tests don't work in sandbox
+		# fuse: failed to open /dev/fuse: Permission denied
+		dwarfs/tools_test
+	)
+	cmake_src_test
+}
+
+pkg_postinst() {
 	elog "You may find more information in the"
 	elog "${HOMEPAGE}"
 	elog "About creating: ${HOMEPAGE}/blob/main/doc/mkdwarfs.md"


^ permalink raw reply related	[flat|nested] 68+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/
@ 2024-01-08 14:03 Denis Reva
  0 siblings, 0 replies; 68+ messages in thread
From: Denis Reva @ 2024-01-08 14:03 UTC (permalink / raw
  To: gentoo-commits

commit:     9976d2a7f2950443356880c03eea050e7afb945b
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Mon Jan  8 14:03:23 2024 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Mon Jan  8 14:03:34 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9976d2a7

sys-fs/dwarfs: removed wrong bugfix

Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 sys-fs/dwarfs/{dwarfs-0.7.4-r1.ebuild => dwarfs-0.7.4-r2.ebuild} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/sys-fs/dwarfs/dwarfs-0.7.4-r1.ebuild b/sys-fs/dwarfs/dwarfs-0.7.4-r2.ebuild
similarity index 100%
rename from sys-fs/dwarfs/dwarfs-0.7.4-r1.ebuild
rename to sys-fs/dwarfs/dwarfs-0.7.4-r2.ebuild


^ permalink raw reply	[flat|nested] 68+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/
@ 2024-01-08  9:43 YiFei Zhu
  0 siblings, 0 replies; 68+ messages in thread
From: YiFei Zhu @ 2024-01-08  9:43 UTC (permalink / raw
  To: gentoo-commits

commit:     ba7d11f6b86de39997e64ee61af78bbc4980d9ab
Author:     YiFei Zhu <zhuyifei1999 <AT> gmail <DOT> com>
AuthorDate: Mon Jan  8 09:38:45 2024 +0000
Commit:     YiFei Zhu <zhuyifei1999 <AT> gmail <DOT> com>
CommitDate: Mon Jan  8 09:42:53 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ba7d11f6

sys-fs/dwarfs: Fix automatic insertion of -g into *FLAGS

Also removed non-existent dolib.so. Neither of us has this file.

Still need to figure out how to fix RUNPATH properly.

Closes: https://bugs.gentoo.org/900016
Signed-off-by: YiFei Zhu <zhuyifei1999 <AT> gmail.com>

 sys-fs/dwarfs/dwarfs-0.7.4-r1.ebuild | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

diff --git a/sys-fs/dwarfs/dwarfs-0.7.4-r1.ebuild b/sys-fs/dwarfs/dwarfs-0.7.4-r1.ebuild
index 71412cd46b..634400a408 100644
--- a/sys-fs/dwarfs/dwarfs-0.7.4-r1.ebuild
+++ b/sys-fs/dwarfs/dwarfs-0.7.4-r1.ebuild
@@ -17,8 +17,6 @@ KEYWORDS="~amd64"
 IUSE="python +jemalloc test man"
 S="${WORKDIR}/dwarfs-${PV}"
 
-PATCHES=()
-
 RDEPEND="
 	${PYTHON_DEPS}
 	app-arch/libarchive
@@ -71,10 +69,18 @@ QA_SONAME=(
 "/usr/bin/dwarfsextract"
 "/usr/bin/mkdwarfs"
 )
+
 src_prepare(){
 	rm -r zstd xxHash parallel-hashmap || die
-	cmake_src_prepare
 	sed "s/DESTINATION lib/DESTINATION $(get_libdir)/" -i CMakeLists.txt || die
+
+	# Bug #900016, but upstream discourages O3
+	sed '/FLAGS_RELEASE/s# -O2 -g##' -i CMakeLists.txt || die
+	sed '/CMAKE_CXX_FLAGS_COMMON/s#-g ##' -i folly/CMake/FollyCompilerUnix.cmake || die
+	sed '/^\s*-g$/d' -i folly/CMake/FollyCompilerUnix.cmake || die
+	replace-flags -O3 -O2
+
+	cmake_src_prepare
 }
 
 src_configure(){
@@ -103,9 +109,6 @@ src_install(){
 	dolib.so libdwarfs.so libdwarfs_main.so libdwarfs_tool.so libdwarfs_compression.so libthrift_light.so libmetadata_thrift.so || die "Install failed"
 	dolib.so folly/libfolly.so folly/libfolly.so.0.58.0-dev libmkdwarfs_main.so libdwarfsbench_main.so || die "Install failed"
 	dolib.so libdwarfsck_main.so libdwarfsextract_main.so || die "Install failed"
-	# See https://github.com/mhx/dwarfs/issues/184
-	dolib.so folly/folly/experimental/exception_tracer/libfolly_exception_tracer_base.so || die "Install failed"
-	dolib.so folly/folly/experimental/exception_tracer/libfolly_exception_tracer_base.so.0.58.0-dev || die "Install failed"
 }
 
 pkg_postinst(){


^ permalink raw reply related	[flat|nested] 68+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/
@ 2024-01-08  8:50 YiFei Zhu
  0 siblings, 0 replies; 68+ messages in thread
From: YiFei Zhu @ 2024-01-08  8:50 UTC (permalink / raw
  To: gentoo-commits

commit:     5c887b4a3f576bb9bd7c688c641f42d115814586
Author:     YiFei Zhu <zhuyifei1999 <AT> gmail <DOT> com>
AuthorDate: Mon Jan  8 08:37:03 2024 +0000
Commit:     YiFei Zhu <zhuyifei1999 <AT> gmail <DOT> com>
CommitDate: Mon Jan  8 08:37:03 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5c887b4a

sys-fs/dwarfs: Prevent ccache use unless FEATURES=ccache

We never want the build system to enforce the use of ccache

Signed-off-by: YiFei Zhu <zhuyifei1999 <AT> gmail.com>

 sys-fs/dwarfs/dwarfs-0.7.4-r1.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys-fs/dwarfs/dwarfs-0.7.4-r1.ebuild b/sys-fs/dwarfs/dwarfs-0.7.4-r1.ebuild
index 9328090c37..71412cd46b 100644
--- a/sys-fs/dwarfs/dwarfs-0.7.4-r1.ebuild
+++ b/sys-fs/dwarfs/dwarfs-0.7.4-r1.ebuild
@@ -91,6 +91,7 @@ src_configure(){
 		-DPREFER_SYSTEM_GTEST=ON
 		-DPREFER_SYSTEM_LIBFMT=ON
 		-DWITH_LEGACY_FUSE=OFF
+		-DDISABLE_CCACHE=ON  # Use FEATURES=ccache
 	)
 	use python && mycmakeargs+=( "-DWITH_PYTHON_VERSION=${EPYTHON#python}" )
 	cmake_src_configure


^ permalink raw reply related	[flat|nested] 68+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/
@ 2024-01-07 11:05 Denis Reva
  0 siblings, 0 replies; 68+ messages in thread
From: Denis Reva @ 2024-01-07 11:05 UTC (permalink / raw
  To: gentoo-commits

commit:     c3c28ff07137e515a5057f65e9bae72e3c754ce6
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Sun Jan  7 11:05:29 2024 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Sun Jan  7 11:05:37 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c3c28ff0

sys-fs/dwarfs: Fix https://github.com/mhx/dwarfs/issues/184

Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 sys-fs/dwarfs/Manifest                             |   1 -
 ...arfs-0.7.2-r1.ebuild => dwarfs-0.7.4-r1.ebuild} |  20 ++--
 sys-fs/dwarfs/dwarfs-0.7.4.ebuild                  | 121 ---------------------
 3 files changed, 7 insertions(+), 135 deletions(-)

diff --git a/sys-fs/dwarfs/Manifest b/sys-fs/dwarfs/Manifest
index 7219d4f076..1bf8f607a2 100644
--- a/sys-fs/dwarfs/Manifest
+++ b/sys-fs/dwarfs/Manifest
@@ -1,2 +1 @@
-DIST dwarfs-0.7.2.tar.xz 15108504 BLAKE2B 85cb90ea7d20c3c067c126dc7f7a65145041f6ef2853f96a89ca425a8a1dab9d49a0a21daa9590037aa0a9fcfc4f11fbb91d4417213318a699472532400017bb SHA512 5f455b4e15ac3ef5fba8cf26295c4bce19b613d5bc09781ed0a0fd77c2ae73b197e50dce411a21b856aababb59a1800e767c40d55f0f86d88badf021042c1fd6
 DIST dwarfs-0.7.4.tar.xz 15112544 BLAKE2B 904c5f089589630ac10441ec86feb3a4df30ad901a809e93942970fbc32f05499d6996f73769d3ada10e7aa224ec71a50144d9d605d5df852c86116efc82c090 SHA512 b78e0544ea04200089efd970250417ace6a354ba3090f7f8cbe4b901c5575f752968d1720cdd6e35109920f1e363cf3b70d777a46addd2214c2f5fdf83f90e19

diff --git a/sys-fs/dwarfs/dwarfs-0.7.2-r1.ebuild b/sys-fs/dwarfs/dwarfs-0.7.4-r1.ebuild
similarity index 82%
rename from sys-fs/dwarfs/dwarfs-0.7.2-r1.ebuild
rename to sys-fs/dwarfs/dwarfs-0.7.4-r1.ebuild
index 983d49b3c8..9328090c37 100644
--- a/sys-fs/dwarfs/dwarfs-0.7.2-r1.ebuild
+++ b/sys-fs/dwarfs/dwarfs-0.7.4-r1.ebuild
@@ -49,7 +49,6 @@ RDEPEND="
 
 DEPEND="${RDEPEND}"
 BDEPEND="
-	dev-util/patchelf
 	sys-devel/bison
 	sys-devel/flex
 	virtual/pkgconfig
@@ -80,6 +79,7 @@ src_prepare(){
 
 src_configure(){
 	append-cxxflags "-I/usr/include"
+	append-ldflags $(no-as-needed)
 
 	mycmakeargs=(
 		-DUSE_JEMALLOC=$(usex jemalloc ON OFF)
@@ -95,22 +95,16 @@ src_configure(){
 	use python && mycmakeargs+=( "-DWITH_PYTHON_VERSION=${EPYTHON#python}" )
 	cmake_src_configure
 }
-src_compile(){
-	cmake_src_compile
-	# Remove insecure RPATH from bundled lib
-	patchelf --remove-rpath libdwarfs.so || die
-	patchelf --remove-rpath libdwarfs_tool.so || die
-	patchelf --remove-rpath libmetadata_thrift.so || die
-	patchelf --remove-rpath libdwarfs_compression.so || die
-	patchelf --remove-rpath libthrift_light.so || die
-	patchelf --remove-rpath libdwarfs_main.so || die
-	# TODO: make it proper
-}
+
 src_install(){
 	# Perform install
 	cmake_src_install
 	dolib.so libdwarfs.so libdwarfs_main.so libdwarfs_tool.so libdwarfs_compression.so libthrift_light.so libmetadata_thrift.so || die "Install failed"
-	dolib.so folly/libfolly.so folly/libfolly.so.0.58.0-dev libmkdwarfs_main.so libdwarfsbench_main.so libdwarfsck_main.so libdwarfsextract_main.so || die "Install failed"
+	dolib.so folly/libfolly.so folly/libfolly.so.0.58.0-dev libmkdwarfs_main.so libdwarfsbench_main.so || die "Install failed"
+	dolib.so libdwarfsck_main.so libdwarfsextract_main.so || die "Install failed"
+	# See https://github.com/mhx/dwarfs/issues/184
+	dolib.so folly/folly/experimental/exception_tracer/libfolly_exception_tracer_base.so || die "Install failed"
+	dolib.so folly/folly/experimental/exception_tracer/libfolly_exception_tracer_base.so.0.58.0-dev || die "Install failed"
 }
 
 pkg_postinst(){

diff --git a/sys-fs/dwarfs/dwarfs-0.7.4.ebuild b/sys-fs/dwarfs/dwarfs-0.7.4.ebuild
deleted file mode 100644
index 983d49b3c8..0000000000
--- a/sys-fs/dwarfs/dwarfs-0.7.4.ebuild
+++ /dev/null
@@ -1,121 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-
-inherit check-reqs cmake flag-o-matic python-single-r1
-
-DESCRIPTION="A fast very high compression read-only FUSE file system"
-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="python +jemalloc test man"
-S="${WORKDIR}/dwarfs-${PV}"
-
-PATCHES=()
-
-RDEPEND="
-	${PYTHON_DEPS}
-	app-arch/libarchive
-	app-arch/lz4
-	app-arch/snappy
-	app-arch/xz-utils
-	app-arch/zstd
-	dev-cpp/gflags
-	dev-cpp/glog[gflags]
-	dev-cpp/parallel-hashmap:=
-	dev-libs/boost[context,python?]
-	dev-libs/double-conversion
-	dev-libs/libevent
-	dev-libs/libfmt
-	dev-libs/utfcpp
-	dev-libs/xxhash
-	sys-fs/fuse:3
-	dev-libs/fsst
-	sys-libs/binutils-libs
-	sys-libs/libunwind
-	sys-libs/zlib
-	!dev-cpp/fbthrift
-	!dev-cpp/fizz
-	!dev-cpp/folly
-	!dev-cpp/wangle
-	jemalloc? ( >=dev-libs/jemalloc-5.3.0-r1 )
-"
-
-DEPEND="${RDEPEND}"
-BDEPEND="
-	dev-util/patchelf
-	sys-devel/bison
-	sys-devel/flex
-	virtual/pkgconfig
-	man? ( app-text/ronn-ng )
-	test? ( dev-cpp/gtest )
-"
-
-DOCS=( "README.md" "CHANGES.md" "TODO" )
-RESTRICT="!test? ( test )"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-CHECKREQS_DISK_BUILD="1300M"
-CMAKE_IN_SOURCE_BUILD=1
-CMAKE_WARN_UNUSED_CLI=0
-#These files supposed to have no symlink
-QA_SONAME=(
-"/usr/sbin/dwarfs"
-"/usr/bin/dwarfsbench"
-"/usr/bin/dwarfsck"
-"/usr/bin/dwarfsextract"
-"/usr/bin/mkdwarfs"
-)
-src_prepare(){
-	rm -r zstd xxHash parallel-hashmap || die
-	cmake_src_prepare
-	sed "s/DESTINATION lib/DESTINATION $(get_libdir)/" -i CMakeLists.txt || die
-}
-
-src_configure(){
-	append-cxxflags "-I/usr/include"
-
-	mycmakeargs=(
-		-DUSE_JEMALLOC=$(usex jemalloc ON OFF)
-		-DWITH_PYTHON=$(usex python ON OFF)
-		-DWITH_TESTS=$(usex test ON OFF)
-		-DWITH_MAN_PAGES=$(usex man ON OFF)
-		-DPREFER_SYSTEM_ZSTD=ON
-		-DPREFER_SYSTEM_XXHASH=ON
-		-DPREFER_SYSTEM_GTEST=ON
-		-DPREFER_SYSTEM_LIBFMT=ON
-		-DWITH_LEGACY_FUSE=OFF
-	)
-	use python && mycmakeargs+=( "-DWITH_PYTHON_VERSION=${EPYTHON#python}" )
-	cmake_src_configure
-}
-src_compile(){
-	cmake_src_compile
-	# Remove insecure RPATH from bundled lib
-	patchelf --remove-rpath libdwarfs.so || die
-	patchelf --remove-rpath libdwarfs_tool.so || die
-	patchelf --remove-rpath libmetadata_thrift.so || die
-	patchelf --remove-rpath libdwarfs_compression.so || die
-	patchelf --remove-rpath libthrift_light.so || die
-	patchelf --remove-rpath libdwarfs_main.so || die
-	# TODO: make it proper
-}
-src_install(){
-	# Perform install
-	cmake_src_install
-	dolib.so libdwarfs.so libdwarfs_main.so libdwarfs_tool.so libdwarfs_compression.so libthrift_light.so libmetadata_thrift.so || die "Install failed"
-	dolib.so folly/libfolly.so folly/libfolly.so.0.58.0-dev libmkdwarfs_main.so libdwarfsbench_main.so libdwarfsck_main.so libdwarfsextract_main.so || die "Install failed"
-}
-
-pkg_postinst(){
-	elog "You may find more information in the"
-	elog "${HOMEPAGE}"
-	elog "About creating: ${HOMEPAGE}/blob/main/doc/mkdwarfs.md"
-	elog "About mounting: ${HOMEPAGE}/blob/main/doc/dwarfs.md"
-}


^ permalink raw reply related	[flat|nested] 68+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/
@ 2024-01-02 16:02 Denis Reva
  0 siblings, 0 replies; 68+ messages in thread
From: Denis Reva @ 2024-01-02 16:02 UTC (permalink / raw
  To: gentoo-commits

commit:     c8800882066b974e94ad272703459fe81be31e1f
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Tue Jan  2 16:02:22 2024 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Tue Jan  2 16:02:22 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c8800882

sys-fs/dwarfs: version bump

Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 sys-fs/dwarfs/Manifest            |   1 +
 sys-fs/dwarfs/dwarfs-0.7.4.ebuild | 121 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 122 insertions(+)

diff --git a/sys-fs/dwarfs/Manifest b/sys-fs/dwarfs/Manifest
index 7b9306fda0..7219d4f076 100644
--- a/sys-fs/dwarfs/Manifest
+++ b/sys-fs/dwarfs/Manifest
@@ -1 +1,2 @@
 DIST dwarfs-0.7.2.tar.xz 15108504 BLAKE2B 85cb90ea7d20c3c067c126dc7f7a65145041f6ef2853f96a89ca425a8a1dab9d49a0a21daa9590037aa0a9fcfc4f11fbb91d4417213318a699472532400017bb SHA512 5f455b4e15ac3ef5fba8cf26295c4bce19b613d5bc09781ed0a0fd77c2ae73b197e50dce411a21b856aababb59a1800e767c40d55f0f86d88badf021042c1fd6
+DIST dwarfs-0.7.4.tar.xz 15112544 BLAKE2B 904c5f089589630ac10441ec86feb3a4df30ad901a809e93942970fbc32f05499d6996f73769d3ada10e7aa224ec71a50144d9d605d5df852c86116efc82c090 SHA512 b78e0544ea04200089efd970250417ace6a354ba3090f7f8cbe4b901c5575f752968d1720cdd6e35109920f1e363cf3b70d777a46addd2214c2f5fdf83f90e19

diff --git a/sys-fs/dwarfs/dwarfs-0.7.4.ebuild b/sys-fs/dwarfs/dwarfs-0.7.4.ebuild
new file mode 100644
index 0000000000..983d49b3c8
--- /dev/null
+++ b/sys-fs/dwarfs/dwarfs-0.7.4.ebuild
@@ -0,0 +1,121 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit check-reqs cmake flag-o-matic python-single-r1
+
+DESCRIPTION="A fast very high compression read-only FUSE file system"
+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="python +jemalloc test man"
+S="${WORKDIR}/dwarfs-${PV}"
+
+PATCHES=()
+
+RDEPEND="
+	${PYTHON_DEPS}
+	app-arch/libarchive
+	app-arch/lz4
+	app-arch/snappy
+	app-arch/xz-utils
+	app-arch/zstd
+	dev-cpp/gflags
+	dev-cpp/glog[gflags]
+	dev-cpp/parallel-hashmap:=
+	dev-libs/boost[context,python?]
+	dev-libs/double-conversion
+	dev-libs/libevent
+	dev-libs/libfmt
+	dev-libs/utfcpp
+	dev-libs/xxhash
+	sys-fs/fuse:3
+	dev-libs/fsst
+	sys-libs/binutils-libs
+	sys-libs/libunwind
+	sys-libs/zlib
+	!dev-cpp/fbthrift
+	!dev-cpp/fizz
+	!dev-cpp/folly
+	!dev-cpp/wangle
+	jemalloc? ( >=dev-libs/jemalloc-5.3.0-r1 )
+"
+
+DEPEND="${RDEPEND}"
+BDEPEND="
+	dev-util/patchelf
+	sys-devel/bison
+	sys-devel/flex
+	virtual/pkgconfig
+	man? ( app-text/ronn-ng )
+	test? ( dev-cpp/gtest )
+"
+
+DOCS=( "README.md" "CHANGES.md" "TODO" )
+RESTRICT="!test? ( test )"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+CHECKREQS_DISK_BUILD="1300M"
+CMAKE_IN_SOURCE_BUILD=1
+CMAKE_WARN_UNUSED_CLI=0
+#These files supposed to have no symlink
+QA_SONAME=(
+"/usr/sbin/dwarfs"
+"/usr/bin/dwarfsbench"
+"/usr/bin/dwarfsck"
+"/usr/bin/dwarfsextract"
+"/usr/bin/mkdwarfs"
+)
+src_prepare(){
+	rm -r zstd xxHash parallel-hashmap || die
+	cmake_src_prepare
+	sed "s/DESTINATION lib/DESTINATION $(get_libdir)/" -i CMakeLists.txt || die
+}
+
+src_configure(){
+	append-cxxflags "-I/usr/include"
+
+	mycmakeargs=(
+		-DUSE_JEMALLOC=$(usex jemalloc ON OFF)
+		-DWITH_PYTHON=$(usex python ON OFF)
+		-DWITH_TESTS=$(usex test ON OFF)
+		-DWITH_MAN_PAGES=$(usex man ON OFF)
+		-DPREFER_SYSTEM_ZSTD=ON
+		-DPREFER_SYSTEM_XXHASH=ON
+		-DPREFER_SYSTEM_GTEST=ON
+		-DPREFER_SYSTEM_LIBFMT=ON
+		-DWITH_LEGACY_FUSE=OFF
+	)
+	use python && mycmakeargs+=( "-DWITH_PYTHON_VERSION=${EPYTHON#python}" )
+	cmake_src_configure
+}
+src_compile(){
+	cmake_src_compile
+	# Remove insecure RPATH from bundled lib
+	patchelf --remove-rpath libdwarfs.so || die
+	patchelf --remove-rpath libdwarfs_tool.so || die
+	patchelf --remove-rpath libmetadata_thrift.so || die
+	patchelf --remove-rpath libdwarfs_compression.so || die
+	patchelf --remove-rpath libthrift_light.so || die
+	patchelf --remove-rpath libdwarfs_main.so || die
+	# TODO: make it proper
+}
+src_install(){
+	# Perform install
+	cmake_src_install
+	dolib.so libdwarfs.so libdwarfs_main.so libdwarfs_tool.so libdwarfs_compression.so libthrift_light.so libmetadata_thrift.so || die "Install failed"
+	dolib.so folly/libfolly.so folly/libfolly.so.0.58.0-dev libmkdwarfs_main.so libdwarfsbench_main.so libdwarfsck_main.so libdwarfsextract_main.so || die "Install failed"
+}
+
+pkg_postinst(){
+	elog "You may find more information in the"
+	elog "${HOMEPAGE}"
+	elog "About creating: ${HOMEPAGE}/blob/main/doc/mkdwarfs.md"
+	elog "About mounting: ${HOMEPAGE}/blob/main/doc/dwarfs.md"
+}


^ permalink raw reply related	[flat|nested] 68+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/
@ 2023-08-16 13:08 Denis Reva
  0 siblings, 0 replies; 68+ messages in thread
From: Denis Reva @ 2023-08-16 13:08 UTC (permalink / raw
  To: gentoo-commits

commit:     78fe745fe3ab6c066cf33e79205dde1a71e2384b
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Wed Aug 16 13:08:06 2023 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Wed Aug 16 13:08:06 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=78fe745f

sys-fs/dwarfs: fixed issues with soname libs

Closes: https://bugs.gentoo.org/910719
Closes: https://bugs.gentoo.org/900014
Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 ...{dwarfs-0.7.2.ebuild => dwarfs-0.7.2-r1.ebuild} | 30 ++++++++++++++++------
 1 file changed, 22 insertions(+), 8 deletions(-)

diff --git a/sys-fs/dwarfs/dwarfs-0.7.2.ebuild b/sys-fs/dwarfs/dwarfs-0.7.2-r1.ebuild
similarity index 74%
rename from sys-fs/dwarfs/dwarfs-0.7.2.ebuild
rename to sys-fs/dwarfs/dwarfs-0.7.2-r1.ebuild
index 8809b087c1..983d49b3c8 100644
--- a/sys-fs/dwarfs/dwarfs-0.7.2.ebuild
+++ b/sys-fs/dwarfs/dwarfs-0.7.2-r1.ebuild
@@ -9,7 +9,7 @@ inherit check-reqs cmake flag-o-matic python-single-r1
 
 DESCRIPTION="A fast very high compression read-only FUSE file system"
 HOMEPAGE="https://github.com/mhx/dwarfs"
-SRC_URI="https://github.com/mhx/dwarfs/releases/download/v${PV}/${PN}-${PV}.tar.xz"
+SRC_URI="https://github.com/mhx/dwarfs/releases/download/v${PV}/${P}.tar.xz"
 
 LICENSE="GPL-3"
 SLOT="0"
@@ -64,7 +64,14 @@ REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 CHECKREQS_DISK_BUILD="1300M"
 CMAKE_IN_SOURCE_BUILD=1
 CMAKE_WARN_UNUSED_CLI=0
-
+#These files supposed to have no symlink
+QA_SONAME=(
+"/usr/sbin/dwarfs"
+"/usr/bin/dwarfsbench"
+"/usr/bin/dwarfsck"
+"/usr/bin/dwarfsextract"
+"/usr/bin/mkdwarfs"
+)
 src_prepare(){
 	rm -r zstd xxHash parallel-hashmap || die
 	cmake_src_prepare
@@ -88,15 +95,22 @@ src_configure(){
 	use python && mycmakeargs+=( "-DWITH_PYTHON_VERSION=${EPYTHON#python}" )
 	cmake_src_configure
 }
-
-src_install(){
-	cmake_src_install
+src_compile(){
+	cmake_src_compile
 	# Remove insecure RPATH from bundled lib
 	patchelf --remove-rpath libdwarfs.so || die
 	patchelf --remove-rpath libdwarfs_tool.so || die
-
-	dolib.so libdwarfs.so libdwarfs_tool.so libdwarfs_compression.so libthrift_light.so libmetadata_thrift.so
-	dolib.so folly/libfolly.so folly/libfolly.so.0.58.0-dev
+	patchelf --remove-rpath libmetadata_thrift.so || die
+	patchelf --remove-rpath libdwarfs_compression.so || die
+	patchelf --remove-rpath libthrift_light.so || die
+	patchelf --remove-rpath libdwarfs_main.so || die
+	# TODO: make it proper
+}
+src_install(){
+	# Perform install
+	cmake_src_install
+	dolib.so libdwarfs.so libdwarfs_main.so libdwarfs_tool.so libdwarfs_compression.so libthrift_light.so libmetadata_thrift.so || die "Install failed"
+	dolib.so folly/libfolly.so folly/libfolly.so.0.58.0-dev libmkdwarfs_main.so libdwarfsbench_main.so libdwarfsck_main.so libdwarfsextract_main.so || die "Install failed"
 }
 
 pkg_postinst(){


^ permalink raw reply related	[flat|nested] 68+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/
@ 2023-07-12 16:46 Denis Reva
  0 siblings, 0 replies; 68+ messages in thread
From: Denis Reva @ 2023-07-12 16:46 UTC (permalink / raw
  To: gentoo-commits

commit:     33b9b41037c66bb8e582c3fb9afeb30e4700ea7f
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Wed Jul 12 16:44:07 2023 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Wed Jul 12 16:46:25 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=33b9b410

sys-fs/dwarfs: add 0.7.0, drop 0.7.0_rc6

Closes: https://bugs.gentoo.org/910244
Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 sys-fs/dwarfs/Manifest                                         |  2 +-
 sys-fs/dwarfs/{dwarfs-0.7.0_rc6.ebuild => dwarfs-0.7.0.ebuild} | 10 ++++------
 2 files changed, 5 insertions(+), 7 deletions(-)

diff --git a/sys-fs/dwarfs/Manifest b/sys-fs/dwarfs/Manifest
index 44c0334de..5fbad5759 100644
--- a/sys-fs/dwarfs/Manifest
+++ b/sys-fs/dwarfs/Manifest
@@ -1,2 +1,2 @@
 DIST dwarfs-0.7.0-RC4.tar.xz 14425176 BLAKE2B fdb2852da81f8d567c19dc83e3f7dd74e0de35e56579d50b6ce9ee6adda2d540bbbc7d5655a499f19ee340a2f904bfe9b2b977b9539e8e99dc9e8667b9b7435e SHA512 1e0d603507f93b6bcb79050877de0ac64eed931b192b43466d3b5e1ee55a759261ad937d33f24d145a61e8b3d431405a35bbd8ff95ead10ccdabe14ba4d840a5
-DIST dwarfs-0.7.0-RC6.tar.xz 22486596 BLAKE2B 28aaae2cf732d61c7be39faf93496ed7ca38d9e6a30ab47e0a9a5f51c5bd805cd7cccc47a51a406d5e92b3bc13f2858de4cadf05e6801dcbe9e9df51d2f148b5 SHA512 845ea037b0e8ed1bd6c448aa12deb101553557938110e56ed94b70e7f575b100a638695f716c23e613663ce2cd3719de2b0427fbff39e60c88f70ae05d590d31
+DIST dwarfs-0.7.0.tar.xz 14516672 BLAKE2B c48527f84af0c96ca573af94d1cdc9637ab5bc99934f02b457eec80548399ba362ebc20f6bc5d44d780e29d9538d6045f334a24b4264d49ab02c39fdfddc54bf SHA512 52ea209590a97ee11a902103b3862c55d733a899e199c5e436c4ad5f5278c10f6425c7e35853dd173e260f93e946628e2ac5677706af4ab4486c5af712265f27

diff --git a/sys-fs/dwarfs/dwarfs-0.7.0_rc6.ebuild b/sys-fs/dwarfs/dwarfs-0.7.0.ebuild
similarity index 93%
rename from sys-fs/dwarfs/dwarfs-0.7.0_rc6.ebuild
rename to sys-fs/dwarfs/dwarfs-0.7.0.ebuild
index 0f543ada6..8809b087c 100644
--- a/sys-fs/dwarfs/dwarfs-0.7.0_rc6.ebuild
+++ b/sys-fs/dwarfs/dwarfs-0.7.0.ebuild
@@ -7,20 +7,17 @@ PYTHON_COMPAT=( python3_{10..12} )
 
 inherit check-reqs cmake flag-o-matic python-single-r1
 
-MY_PV="${PV/_rc/-RC}"
-
 DESCRIPTION="A fast very high compression read-only FUSE file system"
 HOMEPAGE="https://github.com/mhx/dwarfs"
-SRC_URI="https://github.com/mhx/dwarfs/releases/download/v${MY_PV}/${PN}-${MY_PV}.tar.xz"
+SRC_URI="https://github.com/mhx/dwarfs/releases/download/v${PV}/${PN}-${PV}.tar.xz"
 
 LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="~amd64"
 IUSE="python +jemalloc test man"
-S="${WORKDIR}/dwarfs-${MY_PV}"
+S="${WORKDIR}/dwarfs-${PV}"
 
-PATCHES=(
-)
+PATCHES=()
 
 RDEPEND="
 	${PYTHON_DEPS}
@@ -36,6 +33,7 @@ RDEPEND="
 	dev-libs/double-conversion
 	dev-libs/libevent
 	dev-libs/libfmt
+	dev-libs/utfcpp
 	dev-libs/xxhash
 	sys-fs/fuse:3
 	dev-libs/fsst


^ permalink raw reply related	[flat|nested] 68+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/
@ 2023-07-10  5:39 Denis Reva
  0 siblings, 0 replies; 68+ messages in thread
From: Denis Reva @ 2023-07-10  5:39 UTC (permalink / raw
  To: gentoo-commits

commit:     06d374a81d08be9d0e813cff63f90a01f52acafa
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Mon Jul 10 05:39:06 2023 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Mon Jul 10 05:39:06 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=06d374a8

sys-fs/dwarfs: Updated to latest rc version

Improved performance

Minor bugfixes

Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 sys-fs/dwarfs/Manifest                |   1 +
 sys-fs/dwarfs/dwarfs-0.7.0_rc6.ebuild | 109 ++++++++++++++++++++++++++++++++++
 2 files changed, 110 insertions(+)

diff --git a/sys-fs/dwarfs/Manifest b/sys-fs/dwarfs/Manifest
index f6a1d88fe..44c0334de 100644
--- a/sys-fs/dwarfs/Manifest
+++ b/sys-fs/dwarfs/Manifest
@@ -1 +1,2 @@
 DIST dwarfs-0.7.0-RC4.tar.xz 14425176 BLAKE2B fdb2852da81f8d567c19dc83e3f7dd74e0de35e56579d50b6ce9ee6adda2d540bbbc7d5655a499f19ee340a2f904bfe9b2b977b9539e8e99dc9e8667b9b7435e SHA512 1e0d603507f93b6bcb79050877de0ac64eed931b192b43466d3b5e1ee55a759261ad937d33f24d145a61e8b3d431405a35bbd8ff95ead10ccdabe14ba4d840a5
+DIST dwarfs-0.7.0-RC6.tar.xz 22486596 BLAKE2B 28aaae2cf732d61c7be39faf93496ed7ca38d9e6a30ab47e0a9a5f51c5bd805cd7cccc47a51a406d5e92b3bc13f2858de4cadf05e6801dcbe9e9df51d2f148b5 SHA512 845ea037b0e8ed1bd6c448aa12deb101553557938110e56ed94b70e7f575b100a638695f716c23e613663ce2cd3719de2b0427fbff39e60c88f70ae05d590d31

diff --git a/sys-fs/dwarfs/dwarfs-0.7.0_rc6.ebuild b/sys-fs/dwarfs/dwarfs-0.7.0_rc6.ebuild
new file mode 100644
index 000000000..0f543ada6
--- /dev/null
+++ b/sys-fs/dwarfs/dwarfs-0.7.0_rc6.ebuild
@@ -0,0 +1,109 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit check-reqs cmake flag-o-matic python-single-r1
+
+MY_PV="${PV/_rc/-RC}"
+
+DESCRIPTION="A fast very high compression read-only FUSE file system"
+HOMEPAGE="https://github.com/mhx/dwarfs"
+SRC_URI="https://github.com/mhx/dwarfs/releases/download/v${MY_PV}/${PN}-${MY_PV}.tar.xz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="python +jemalloc test man"
+S="${WORKDIR}/dwarfs-${MY_PV}"
+
+PATCHES=(
+)
+
+RDEPEND="
+	${PYTHON_DEPS}
+	app-arch/libarchive
+	app-arch/lz4
+	app-arch/snappy
+	app-arch/xz-utils
+	app-arch/zstd
+	dev-cpp/gflags
+	dev-cpp/glog[gflags]
+	dev-cpp/parallel-hashmap:=
+	dev-libs/boost[context,python?]
+	dev-libs/double-conversion
+	dev-libs/libevent
+	dev-libs/libfmt
+	dev-libs/xxhash
+	sys-fs/fuse:3
+	dev-libs/fsst
+	sys-libs/binutils-libs
+	sys-libs/libunwind
+	sys-libs/zlib
+	!dev-cpp/fbthrift
+	!dev-cpp/fizz
+	!dev-cpp/folly
+	!dev-cpp/wangle
+	jemalloc? ( >=dev-libs/jemalloc-5.3.0-r1 )
+"
+
+DEPEND="${RDEPEND}"
+BDEPEND="
+	dev-util/patchelf
+	sys-devel/bison
+	sys-devel/flex
+	virtual/pkgconfig
+	man? ( app-text/ronn-ng )
+	test? ( dev-cpp/gtest )
+"
+
+DOCS=( "README.md" "CHANGES.md" "TODO" )
+RESTRICT="!test? ( test )"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+CHECKREQS_DISK_BUILD="1300M"
+CMAKE_IN_SOURCE_BUILD=1
+CMAKE_WARN_UNUSED_CLI=0
+
+src_prepare(){
+	rm -r zstd xxHash parallel-hashmap || die
+	cmake_src_prepare
+	sed "s/DESTINATION lib/DESTINATION $(get_libdir)/" -i CMakeLists.txt || die
+}
+
+src_configure(){
+	append-cxxflags "-I/usr/include"
+
+	mycmakeargs=(
+		-DUSE_JEMALLOC=$(usex jemalloc ON OFF)
+		-DWITH_PYTHON=$(usex python ON OFF)
+		-DWITH_TESTS=$(usex test ON OFF)
+		-DWITH_MAN_PAGES=$(usex man ON OFF)
+		-DPREFER_SYSTEM_ZSTD=ON
+		-DPREFER_SYSTEM_XXHASH=ON
+		-DPREFER_SYSTEM_GTEST=ON
+		-DPREFER_SYSTEM_LIBFMT=ON
+		-DWITH_LEGACY_FUSE=OFF
+	)
+	use python && mycmakeargs+=( "-DWITH_PYTHON_VERSION=${EPYTHON#python}" )
+	cmake_src_configure
+}
+
+src_install(){
+	cmake_src_install
+	# Remove insecure RPATH from bundled lib
+	patchelf --remove-rpath libdwarfs.so || die
+	patchelf --remove-rpath libdwarfs_tool.so || die
+
+	dolib.so libdwarfs.so libdwarfs_tool.so libdwarfs_compression.so libthrift_light.so libmetadata_thrift.so
+	dolib.so folly/libfolly.so folly/libfolly.so.0.58.0-dev
+}
+
+pkg_postinst(){
+	elog "You may find more information in the"
+	elog "${HOMEPAGE}"
+	elog "About creating: ${HOMEPAGE}/blob/main/doc/mkdwarfs.md"
+	elog "About mounting: ${HOMEPAGE}/blob/main/doc/dwarfs.md"
+}


^ permalink raw reply related	[flat|nested] 68+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/
@ 2023-05-16 10:04 Denis Reva
  0 siblings, 0 replies; 68+ messages in thread
From: Denis Reva @ 2023-05-16 10:04 UTC (permalink / raw
  To: gentoo-commits

commit:     0e488f5d8defd1a28333778ef7524c3abd950390
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Tue May 16 10:04:40 2023 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Tue May 16 10:04:40 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0e488f5d

sys-fs/dwarfs: forget to update revision

Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 sys-fs/dwarfs/{dwarfs-0.7.0_rc4.ebuild => dwarfs-0.7.0_rc4-r1.ebuild} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/sys-fs/dwarfs/dwarfs-0.7.0_rc4.ebuild b/sys-fs/dwarfs/dwarfs-0.7.0_rc4-r1.ebuild
similarity index 100%
rename from sys-fs/dwarfs/dwarfs-0.7.0_rc4.ebuild
rename to sys-fs/dwarfs/dwarfs-0.7.0_rc4-r1.ebuild


^ permalink raw reply	[flat|nested] 68+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/
@ 2023-05-07 13:26 Denis Reva
  0 siblings, 0 replies; 68+ messages in thread
From: Denis Reva @ 2023-05-07 13:26 UTC (permalink / raw
  To: gentoo-commits

commit:     9afabf0d8fba4a740603bc9a9386a86dd0a8361a
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Sun May  7 13:24:34 2023 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Sun May  7 13:24:34 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9afabf0d

sys-fs/dwarfs: added missing dependency

fix https://github.com/mhx/dwarfs/discussions/140

Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 sys-fs/dwarfs/dwarfs-0.7.0_rc4.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys-fs/dwarfs/dwarfs-0.7.0_rc4.ebuild b/sys-fs/dwarfs/dwarfs-0.7.0_rc4.ebuild
index a65f4f64d..3eed1ced5 100644
--- a/sys-fs/dwarfs/dwarfs-0.7.0_rc4.ebuild
+++ b/sys-fs/dwarfs/dwarfs-0.7.0_rc4.ebuild
@@ -35,6 +35,7 @@ RDEPEND="
 	dev-libs/libfmt
 	dev-libs/xxhash
 	sys-fs/fuse:3
+	dev-libs/fsst
 	sys-libs/binutils-libs
 	sys-libs/libunwind
 	sys-libs/zlib


^ permalink raw reply related	[flat|nested] 68+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/
@ 2023-03-30 13:06 Anna Vyalkova
  0 siblings, 0 replies; 68+ messages in thread
From: Anna Vyalkova @ 2023-03-30 13:06 UTC (permalink / raw
  To: gentoo-commits

commit:     c2d08eb82410e1d0d832d0d3c432c06fa0ca836d
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Thu Mar 30 13:04:19 2023 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Thu Mar 30 13:05:04 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c2d08eb8

sys-fs/dwarfs: update EAPI 7 -> 8

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 sys-fs/dwarfs/dwarfs-0.7.0_rc4.ebuild | 18 +++++++-----------
 1 file changed, 7 insertions(+), 11 deletions(-)

diff --git a/sys-fs/dwarfs/dwarfs-0.7.0_rc4.ebuild b/sys-fs/dwarfs/dwarfs-0.7.0_rc4.ebuild
index 50aa83e0d..a65f4f64d 100644
--- a/sys-fs/dwarfs/dwarfs-0.7.0_rc4.ebuild
+++ b/sys-fs/dwarfs/dwarfs-0.7.0_rc4.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 PYTHON_COMPAT=( python3_{10..11} )
 
@@ -38,24 +38,20 @@ RDEPEND="
 	sys-libs/binutils-libs
 	sys-libs/libunwind
 	sys-libs/zlib
-
-	jemalloc? ( >=dev-libs/jemalloc-5.3.0-r1 )
-
 	!dev-cpp/fbthrift
+	!dev-cpp/fizz
 	!dev-cpp/folly
 	!dev-cpp/wangle
-	!dev-cpp/fizz
+	jemalloc? ( >=dev-libs/jemalloc-5.3.0-r1 )
 "
 
-DEPEND="
-	${RDEPEND}
-	sys-devel/flex
-"
+DEPEND="${RDEPEND}"
 BDEPEND="
-	man? ( || ( app-text/ronn app-text/ronn-ng ) )
+	dev-util/patchelf
 	sys-devel/bison
+	sys-devel/flex
 	virtual/pkgconfig
-	dev-util/patchelf
+	man? ( app-text/ronn-ng )
 	test? ( dev-cpp/gtest )
 "
 


^ permalink raw reply related	[flat|nested] 68+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/
@ 2023-02-28 14:51 Denis Reva
  0 siblings, 0 replies; 68+ messages in thread
From: Denis Reva @ 2023-02-28 14:51 UTC (permalink / raw
  To: gentoo-commits

commit:     fa4168153b5bd5eb0202fb732d3d1d9e8262610b
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Tue Feb 28 14:50:52 2023 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Tue Feb 28 14:50:52 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fa416815

sys-fs/dwarfs: finished working

I've returned to bundled libs because it a lot more flexible

Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 sys-fs/dwarfs/dwarfs-0.7.0_rc4.ebuild | 46 ++++++++++++++++++++---------------
 1 file changed, 26 insertions(+), 20 deletions(-)

diff --git a/sys-fs/dwarfs/dwarfs-0.7.0_rc4.ebuild b/sys-fs/dwarfs/dwarfs-0.7.0_rc4.ebuild
index 78c1567f7..50aa83e0d 100644
--- a/sys-fs/dwarfs/dwarfs-0.7.0_rc4.ebuild
+++ b/sys-fs/dwarfs/dwarfs-0.7.0_rc4.ebuild
@@ -7,17 +7,17 @@ PYTHON_COMPAT=( python3_{10..11} )
 
 inherit check-reqs cmake flag-o-matic python-single-r1
 
-MY_P="${P/_rc/-RC}"
+MY_PV="${PV/_rc/-RC}"
 
 DESCRIPTION="A fast very high compression read-only FUSE file system"
 HOMEPAGE="https://github.com/mhx/dwarfs"
-SRC_URI="https://github.com/mhx/dwarfs/releases/download/v0.7.0-RC4/dwarfs-0.7.0-RC4.tar.xz" #TODO: change to ${PV}
+SRC_URI="https://github.com/mhx/dwarfs/releases/download/v${MY_PV}/${PN}-${MY_PV}.tar.xz"
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS=""
-IUSE="python +jemalloc test man +bundled-libs"
-S="${WORKDIR}/${MY_P}"
+KEYWORDS="~amd64"
+IUSE="python +jemalloc test man"
+S="${WORKDIR}/dwarfs-${MY_PV}"
 
 RDEPEND="
 	${PYTHON_DEPS}
@@ -26,15 +26,11 @@ RDEPEND="
 	app-arch/snappy
 	app-arch/xz-utils
 	app-arch/zstd
-	dev-cpp/fbthrift:=
-	dev-cpp/folly:=
 	dev-cpp/gflags
 	dev-cpp/glog[gflags]
 	dev-cpp/parallel-hashmap:=
-	dev-cpp/sparsehash
-	dev-libs/boost[context,threads(+),python?]
+	dev-libs/boost[context,python?]
 	dev-libs/double-conversion
-	dev-libs/fsst:=
 	dev-libs/libevent
 	dev-libs/libfmt
 	dev-libs/xxhash
@@ -44,31 +40,35 @@ RDEPEND="
 	sys-libs/zlib
 
 	jemalloc? ( >=dev-libs/jemalloc-5.3.0-r1 )
+
+	!dev-cpp/fbthrift
+	!dev-cpp/folly
+	!dev-cpp/wangle
+	!dev-cpp/fizz
 "
+
 DEPEND="
 	${RDEPEND}
 	sys-devel/flex
-	!sys-fs/dwarfs-bin
 "
 BDEPEND="
 	man? ( || ( app-text/ronn app-text/ronn-ng ) )
 	sys-devel/bison
 	virtual/pkgconfig
-
+	dev-util/patchelf
 	test? ( dev-cpp/gtest )
 "
 
 DOCS=( "README.md" "CHANGES.md" "TODO" )
 RESTRICT="!test? ( test )"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-PATCHES=( "${FILESDIR}/${P}-unbundle.patch" )
 
 CHECKREQS_DISK_BUILD="1300M"
 CMAKE_IN_SOURCE_BUILD=1
 CMAKE_WARN_UNUSED_CLI=0
 
 src_prepare(){
-	rm -r fsst zstd fbthrift/* folly xxHash parallel-hashmap || die
+	rm -r zstd xxHash parallel-hashmap || die
 	cmake_src_prepare
 	sed "s/DESTINATION lib/DESTINATION $(get_libdir)/" -i CMakeLists.txt || die
 }
@@ -80,11 +80,12 @@ src_configure(){
 		-DUSE_JEMALLOC=$(usex jemalloc ON OFF)
 		-DWITH_PYTHON=$(usex python ON OFF)
 		-DWITH_TESTS=$(usex test ON OFF)
-		-WITH_MAN_PAGES=$(usex man ON OFF)
-		-DPREFER_SYSTEM_ZSTD=1
-		-DPREFER_SYSTEM_XXHASH=1
-		-DPREFER_SYSTEM_GTEST=1
-		-DWITH_LEGACY_FUSE=0
+		-DWITH_MAN_PAGES=$(usex man ON OFF)
+		-DPREFER_SYSTEM_ZSTD=ON
+		-DPREFER_SYSTEM_XXHASH=ON
+		-DPREFER_SYSTEM_GTEST=ON
+		-DPREFER_SYSTEM_LIBFMT=ON
+		-DWITH_LEGACY_FUSE=OFF
 	)
 	use python && mycmakeargs+=( "-DWITH_PYTHON_VERSION=${EPYTHON#python}" )
 	cmake_src_configure
@@ -92,7 +93,12 @@ src_configure(){
 
 src_install(){
 	cmake_src_install
-	dolib.so libdwarfs.so
+	# Remove insecure RPATH from bundled lib
+	patchelf --remove-rpath libdwarfs.so || die
+	patchelf --remove-rpath libdwarfs_tool.so || die
+
+	dolib.so libdwarfs.so libdwarfs_tool.so libdwarfs_compression.so libthrift_light.so libmetadata_thrift.so
+	dolib.so folly/libfolly.so folly/libfolly.so.0.58.0-dev
 }
 
 pkg_postinst(){


^ permalink raw reply related	[flat|nested] 68+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/
@ 2023-02-28 13:02 Denis Reva
  0 siblings, 0 replies; 68+ messages in thread
From: Denis Reva @ 2023-02-28 13:02 UTC (permalink / raw
  To: gentoo-commits

commit:     cc7e21ed8a8d199bbad77be9f8e061a995b39e82
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Tue Feb 28 13:01:59 2023 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Tue Feb 28 13:01:59 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=cc7e21ed

sys-fs/dwarfs: work in progress

Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 sys-fs/dwarfs/dwarfs-0.7.0_rc4.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-fs/dwarfs/dwarfs-0.7.0_rc4.ebuild b/sys-fs/dwarfs/dwarfs-0.7.0_rc4.ebuild
index d1a86ea98..78c1567f7 100644
--- a/sys-fs/dwarfs/dwarfs-0.7.0_rc4.ebuild
+++ b/sys-fs/dwarfs/dwarfs-0.7.0_rc4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -16,7 +16,7 @@ SRC_URI="https://github.com/mhx/dwarfs/releases/download/v0.7.0-RC4/dwarfs-0.7.0
 LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS=""
-IUSE="python +jemalloc test man"
+IUSE="python +jemalloc test man +bundled-libs"
 S="${WORKDIR}/${MY_P}"
 
 RDEPEND="


^ permalink raw reply related	[flat|nested] 68+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/
@ 2022-07-07  0:41 Anna Vyalkova
  0 siblings, 0 replies; 68+ messages in thread
From: Anna Vyalkova @ 2022-07-07  0:41 UTC (permalink / raw
  To: gentoo-commits

commit:     7b45f3cc1ae5feb743807615dfd4900d47795de2
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Wed Jul  6 23:44:02 2022 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Thu Jul  7 00:40:43 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7b45f3cc

sys-fs/dwarfs: drop 0.5.6-r1, 0.5.6-r2

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 sys-fs/dwarfs/dwarfs-0.5.6-r1.ebuild |  93 --------------------------------
 sys-fs/dwarfs/dwarfs-0.5.6-r2.ebuild | 100 -----------------------------------
 2 files changed, 193 deletions(-)

diff --git a/sys-fs/dwarfs/dwarfs-0.5.6-r1.ebuild b/sys-fs/dwarfs/dwarfs-0.5.6-r1.ebuild
deleted file mode 100644
index 33a8917d2..000000000
--- a/sys-fs/dwarfs/dwarfs-0.5.6-r1.ebuild
+++ /dev/null
@@ -1,93 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{8,9} )
-
-inherit cmake check-reqs python-single-r1
-
-DESCRIPTION="A fast very high compression read-only FUSE file system"
-HOMEPAGE="https://github.com/mhx/dwarfs"
-
-SRC_URI="https://github.com/mhx/dwarfs/releases/download/v${PV}/${P}.tar.bz2"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
-
-IUSE="python +jemalloc test"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-DEPEND="sys-devel/flex"
-RDEPEND="${PYTHON_DEPS}
-		dev-libs/boost[context,python?]
-		dev-libs/double-conversion
-		dev-libs/libfmt
-		dev-libs/libevent
-		dev-libs/xxhash
-		jemalloc? ( >=dev-libs/jemalloc-5.2.1 )
-		app-arch/libarchive
-		app-arch/zstd
-		app-arch/lz4
-		app-arch/xz-utils
-		app-arch/snappy
-		dev-cpp/sparsehash
-		dev-cpp/gflags
-		dev-cpp/glog[gflags]
-		sys-fs/fuse:3
-		sys-libs/binutils-libs
-		sys-libs/zlib
-		sys-libs/libunwind
-		!dev-cpp/folly"
-BDEPEND="app-text/ronn
-		test? ( dev-cpp/gtest )
-		dev-util/cmake
-		sys-apps/sed
-		sys-devel/bison
-		virtual/pkgconfig"
-
-CHECKREQS_DISK_BUILD="1300M"
-
-DOCS=( "README.md" "CHANGES.md" "TODO" )
-
-CMAKE_IN_SOURCE_BUILD=1
-CMAKE_WARN_UNUSED_CLI=0
-
-src_prepare(){
-	cmake_src_prepare
-	einfo "setting library path to $(get_libdir)"
-	sed "s/DESTINATION lib/DESTINATION $(get_libdir)/" -i CMakeLists.txt || die
-}
-
-src_configure(){
-	einfo "setting configuration flags to:"
-	mycmakeargs=(
-		-DUSE_JEMALLOC=$(usex jemalloc ON OFF)
-		-DWITH_PYTHON=$(usex python ON OFF)
-		-DWITH_TESTS=$(usex test ON OFF)
-		-DPREFER_SYSTEM_ZSTD=1
-		-DPREFER_SYSTEM_XXHASH=1
-		-DPREFER_SYSTEM_GTEST=1
-		-DWITH_LEGACY_FUSE=0
-	)
-	if use python; then mycmakeargs+=( -DWITH_PYTHON_VERSION=${EPYTHON#python} ); fi
-	einfo ${mycmakeargs}
-	cmake_src_configure
-}
-
-src_install(){
-	cmake_src_install
-	dolib.so libmetadata_thrift.so libthrift_light.so libdwarfs.so libfsst.so
-	dolib.so folly/libfolly.so.0.58.0-dev folly/libfolly.so
-}
-
-pkg_postinst(){
-	elog "Suggest to enable USE 'threads' globally if you have multicore machine"
-	elog "Since version 0.4.1 GGC builds has been fixed. Now both Clang and GCC are working very well"
-	elog "You may find more information in the"
-	elog "${HOMEPAGE}"
-	elog "About creating: ${HOMEPAGE}/blob/main/doc/mkdwarfs.md"
-	elog "About mounting: ${HOMEPAGE}/blob/main/doc/dwarfs.md"
-}

diff --git a/sys-fs/dwarfs/dwarfs-0.5.6-r2.ebuild b/sys-fs/dwarfs/dwarfs-0.5.6-r2.ebuild
deleted file mode 100644
index 0aa97f7eb..000000000
--- a/sys-fs/dwarfs/dwarfs-0.5.6-r2.ebuild
+++ /dev/null
@@ -1,100 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{8,9} )
-
-inherit check-reqs cmake flag-o-matic python-single-r1
-
-DESCRIPTION="A fast very high compression read-only FUSE file system"
-HOMEPAGE="https://github.com/mhx/dwarfs"
-SRC_URI="https://github.com/mhx/dwarfs/releases/download/v${PV}/${P}.tar.bz2"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="python +jemalloc test"
-
-RDEPEND="
-	${PYTHON_DEPS}
-	app-arch/libarchive
-	app-arch/lz4
-	app-arch/snappy
-	app-arch/xz-utils
-	app-arch/zstd
-	dev-cpp/fbthrift:=
-	>=dev-cpp/folly-2021.04.19.00-r1:=
-	dev-cpp/gflags
-	dev-cpp/glog[gflags]
-	dev-cpp/parallel-hashmap:=
-	dev-cpp/sparsehash
-	dev-libs/boost[context,threads(+),python?]
-	dev-libs/double-conversion
-	dev-libs/fsst:=
-	dev-libs/libevent
-	dev-libs/libfmt
-	dev-libs/xxhash
-	sys-fs/fuse:3
-	sys-libs/binutils-libs
-	sys-libs/libunwind
-	sys-libs/zlib
-
-	jemalloc? ( >=dev-libs/jemalloc-5.2.1 )
-"
-DEPEND="
-	${RDEPEND}
-	sys-devel/flex
-"
-BDEPEND="
-	app-text/ronn
-	sys-devel/bison
-	virtual/pkgconfig
-
-	test? ( dev-cpp/gtest )
-"
-
-DOCS=( "README.md" "CHANGES.md" "TODO" )
-RESTRICT="!test? ( test )"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-PATCHES=( "${FILESDIR}/${P}-unbundle.patch" )
-
-CHECKREQS_DISK_BUILD="1300M"
-CMAKE_IN_SOURCE_BUILD=1
-CMAKE_WARN_UNUSED_CLI=0
-
-src_prepare(){
-	rm -r fsst zstd fbthrift/* folly xxHash parallel-hashmap || die
-	cmake_src_prepare
-	sed "s/DESTINATION lib/DESTINATION $(get_libdir)/" -i CMakeLists.txt || die
-}
-
-src_configure(){
-	append-cxxflags "-I/usr/include"
-
-	mycmakeargs=(
-		-DUSE_JEMALLOC=$(usex jemalloc ON OFF)
-		-DWITH_PYTHON=$(usex python ON OFF)
-		-DWITH_TESTS=$(usex test ON OFF)
-		-DPREFER_SYSTEM_ZSTD=1
-		-DPREFER_SYSTEM_XXHASH=1
-		-DPREFER_SYSTEM_GTEST=1
-		-DWITH_LEGACY_FUSE=0
-	)
-	use python && mycmakeargs+=( "-DWITH_PYTHON_VERSION=${EPYTHON#python}" )
-	cmake_src_configure
-}
-
-src_install(){
-	cmake_src_install
-	dolib.so libdwarfs.so
-}
-
-pkg_postinst(){
-	elog "Suggest to enable USE 'threads' globally if you have multicore machine"
-	elog "Since version 0.4.1 GGC builds has been fixed. Now both Clang and GCC are working very well"
-	elog "You may find more information in the"
-	elog "${HOMEPAGE}"
-	elog "About creating: ${HOMEPAGE}/blob/main/doc/mkdwarfs.md"
-	elog "About mounting: ${HOMEPAGE}/blob/main/doc/dwarfs.md"
-}


^ permalink raw reply related	[flat|nested] 68+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/
@ 2021-11-26 11:39 Denis Reva
  0 siblings, 0 replies; 68+ messages in thread
From: Denis Reva @ 2021-11-26 11:39 UTC (permalink / raw
  To: gentoo-commits

commit:     4b5a3f1b03b9e5d5e0f1ec838974824fb4e60277
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Fri Nov 26 11:39:34 2021 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Fri Nov 26 11:39:34 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4b5a3f1b

sys-fs/dwarfs: added support for python3.10

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 sys-fs/dwarfs/dwarfs-0.5.6-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-fs/dwarfs/dwarfs-0.5.6-r3.ebuild b/sys-fs/dwarfs/dwarfs-0.5.6-r3.ebuild
index 6d806b775..4f22553ac 100644
--- a/sys-fs/dwarfs/dwarfs-0.5.6-r3.ebuild
+++ b/sys-fs/dwarfs/dwarfs-0.5.6-r3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{8,9} )
+PYTHON_COMPAT=( python3_{8,9,10} )
 
 inherit check-reqs cmake flag-o-matic python-single-r1
 


^ permalink raw reply related	[flat|nested] 68+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/
@ 2021-10-28 15:18 Alessandro Barbieri
  0 siblings, 0 replies; 68+ messages in thread
From: Alessandro Barbieri @ 2021-10-28 15:18 UTC (permalink / raw
  To: gentoo-commits

commit:     c2e6a93b83342c975c6ed598d232fbdd15b164ec
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Thu Oct 28 15:16:24 2021 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Thu Oct 28 15:16:24 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c2e6a93b

sys-fs/dwarfs: drop 0.5.4-r2

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 sys-fs/dwarfs/Manifest               |  1 -
 sys-fs/dwarfs/dwarfs-0.5.4-r2.ebuild | 94 ------------------------------------
 2 files changed, 95 deletions(-)

diff --git a/sys-fs/dwarfs/Manifest b/sys-fs/dwarfs/Manifest
index af45f36f7..46fed586b 100644
--- a/sys-fs/dwarfs/Manifest
+++ b/sys-fs/dwarfs/Manifest
@@ -1,2 +1 @@
-DIST dwarfs-0.5.4.tar.bz2 12155920 BLAKE2B 958acf2f47c26762d745f4f3ca350d518ce20095fa8fd613b33f9912b369acfedb61d2d11dbbcc718bbf6155652fbf46528b618393e8f98fb6c130b115bac061 SHA512 3affc809bab90dca6ea7b067e69da973f105524bdc8ec44a6b3e0f858f3e3c64438911b344afedbc67318fa1b0578a2f4aa7e69238319f837ea545000a36fbd5
 DIST dwarfs-0.5.6.tar.bz2 12146379 BLAKE2B 6d570de65358238eb8207297529f7cb632533eb6e63b5c27349add978d765e462fbeeb123962695b8092c919425454e7ef7cce6b2247ca46586b9732297ee1d1 SHA512 0b57f0ca5295d9b450cb0b9fd8086a87e29f0b010f70437374043689eb009f7ce10c2b862d7da3cc5613c305486c91866abe7840eb1fb09d00cde0d46f194ef6

diff --git a/sys-fs/dwarfs/dwarfs-0.5.4-r2.ebuild b/sys-fs/dwarfs/dwarfs-0.5.4-r2.ebuild
deleted file mode 100644
index ce99805d2..000000000
--- a/sys-fs/dwarfs/dwarfs-0.5.4-r2.ebuild
+++ /dev/null
@@ -1,94 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{8,9} )
-
-inherit cmake check-reqs python-single-r1 flag-o-matic
-
-DESCRIPTION="A fast very high compression read-only FUSE file system"
-HOMEPAGE="https://github.com/mhx/dwarfs"
-
-SRC_URI="https://github.com/mhx/dwarfs/releases/download/v${PV}/${P}.tar.bz2"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS=""
-
-IUSE="python +jemalloc test"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-DEPEND="sys-devel/flex"
-RDEPEND="${PYTHON_DEPS}
-		dev-libs/boost[context,threads,python?]
-		dev-libs/double-conversion
-		dev-libs/libfmt
-		dev-libs/libevent
-		dev-libs/xxhash
-		jemalloc? ( >=dev-libs/jemalloc-5.2.1 )
-		app-arch/libarchive
-		app-arch/zstd
-		app-arch/lz4
-		app-arch/xz-utils
-		app-arch/snappy
-		dev-cpp/sparsehash
-		dev-cpp/gflags
-		dev-cpp/glog[gflags]
-		sys-fs/fuse:3
-		sys-libs/binutils-libs
-		sys-libs/zlib
-		sys-libs/libunwind
-		!dev-cpp/folly"
-BDEPEND="app-text/ronn
-		test? ( dev-cpp/gtest )
-		dev-util/cmake
-		sys-apps/sed
-		sys-devel/bison
-		virtual/pkgconfig"
-
-CHECKREQS_DISK_BUILD="1300M"
-
-DOCS=( "README.md" "CHANGES.md" "TODO" )
-
-CMAKE_IN_SOURCE_BUILD=1
-CMAKE_WARN_UNUSED_CLI=0
-
-src_prepare(){
-	cmake_src_prepare
-	einfo "setting library path to $(get_libdir)"
-	sed "s/DESTINATION lib/DESTINATION $(get_libdir)/" -i CMakeLists.txt || die
-}
-
-src_configure(){
-	append-flags "-fPIC"
-	einfo "setting configuration flags to:"
-	mycmakeargs=(
-		-DUSE_JEMALLOC=$(usex jemalloc ON OFF)
-		-DWITH_PYTHON=$(usex python ON OFF)
-		-DWITH_TESTS=$(usex test ON OFF)
-		-DPREFER_SYSTEM_ZSTD=1
-		-DPREFER_SYSTEM_XXHASH=1
-		-DPREFER_SYSTEM_GTEST=1
-		-DWITH_LEGACY_FUSE=0
-	)
-	if use python; then mycmakeargs+=( -DWITH_PYTHON_VERSION=${EPYTHON#python} ); fi
-	einfo ${mycmakeargs}
-	cmake_src_configure
-}
-
-src_install(){
-	cmake_src_install
-	dolib.so libmetadata_thrift.so libthrift_light.so libdwarfs.so libfsst.so
-	dolib.so folly/libfolly.so.0.58.0-dev folly/libfolly.so
-}
-
-pkg_postinst(){
-	elog "Suggest to enable USE 'threads' globally if you have multicore machine"
-	elog "Since version 0.4.1 GGC builds has been fixed. Now both Clang and GCC are working very well"
-	elog "You may find more information in the"
-	elog "${HOMEPAGE}"
-	elog "About creating: ${HOMEPAGE}/blob/main/doc/mkdwarfs.md"
-	elog "About mounting: ${HOMEPAGE}/blob/main/doc/dwarfs.md"
-}


^ permalink raw reply related	[flat|nested] 68+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/
@ 2021-09-16  6:34 Denis Reva
  0 siblings, 0 replies; 68+ messages in thread
From: Denis Reva @ 2021-09-16  6:34 UTC (permalink / raw
  To: gentoo-commits

commit:     4077fd230f70646d4163990303e2eab047f50f15
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Thu Sep 16 06:34:24 2021 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Thu Sep 16 06:34:24 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4077fd23

sys-fs/dwarfs: no more require threads support.

It doesn't need always despite it allows code to work faster.
Also fix boost dependencies

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 ...{dwarfs-0.5.4.ebuild => dwarfs-0.5.6-r1.ebuild} |  2 +-
 sys-fs/dwarfs/dwarfs-0.5.6.ebuild                  | 93 ----------------------
 2 files changed, 1 insertion(+), 94 deletions(-)

diff --git a/sys-fs/dwarfs/dwarfs-0.5.4.ebuild b/sys-fs/dwarfs/dwarfs-0.5.6-r1.ebuild
similarity index 98%
rename from sys-fs/dwarfs/dwarfs-0.5.4.ebuild
rename to sys-fs/dwarfs/dwarfs-0.5.6-r1.ebuild
index d788273ad..0bafba4ab 100644
--- a/sys-fs/dwarfs/dwarfs-0.5.4.ebuild
+++ b/sys-fs/dwarfs/dwarfs-0.5.6-r1.ebuild
@@ -22,7 +22,7 @@ REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 DEPEND="sys-devel/flex"
 RDEPEND="${PYTHON_DEPS}
-		dev-libs/boost[context,threads,python?]
+		dev-libs/boost[context,python?]
 		dev-libs/double-conversion
 		dev-libs/libfmt
 		dev-libs/libevent

diff --git a/sys-fs/dwarfs/dwarfs-0.5.6.ebuild b/sys-fs/dwarfs/dwarfs-0.5.6.ebuild
deleted file mode 100644
index d788273ad..000000000
--- a/sys-fs/dwarfs/dwarfs-0.5.6.ebuild
+++ /dev/null
@@ -1,93 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7,8,9} )
-
-inherit cmake check-reqs python-single-r1
-
-DESCRIPTION="A fast very high compression read-only FUSE file system"
-HOMEPAGE="https://github.com/mhx/dwarfs"
-
-SRC_URI="https://github.com/mhx/dwarfs/releases/download/v${PV}/${P}.tar.bz2"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
-
-IUSE="python +jemalloc test"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-DEPEND="sys-devel/flex"
-RDEPEND="${PYTHON_DEPS}
-		dev-libs/boost[context,threads,python?]
-		dev-libs/double-conversion
-		dev-libs/libfmt
-		dev-libs/libevent
-		dev-libs/xxhash
-		jemalloc? ( >=dev-libs/jemalloc-5.2.1 )
-		app-arch/libarchive
-		app-arch/zstd
-		app-arch/lz4
-		app-arch/xz-utils
-		app-arch/snappy
-		dev-cpp/sparsehash
-		dev-cpp/gflags
-		dev-cpp/glog[gflags]
-		sys-fs/fuse:3
-		sys-libs/binutils-libs
-		sys-libs/zlib
-		sys-libs/libunwind
-		!dev-cpp/folly"
-BDEPEND="app-text/ronn
-		test? ( dev-cpp/gtest )
-		dev-util/cmake
-		sys-apps/sed
-		sys-devel/bison
-		virtual/pkgconfig"
-
-CHECKREQS_DISK_BUILD="1300M"
-
-DOCS=( "README.md" "CHANGES.md" "TODO" )
-
-CMAKE_IN_SOURCE_BUILD=1
-CMAKE_WARN_UNUSED_CLI=0
-
-src_prepare(){
-	cmake_src_prepare
-	einfo "setting library path to $(get_libdir)"
-	sed "s/DESTINATION lib/DESTINATION $(get_libdir)/" -i CMakeLists.txt || die
-}
-
-src_configure(){
-	einfo "setting configuration flags to:"
-	mycmakeargs=(
-		-DUSE_JEMALLOC=$(usex jemalloc ON OFF)
-		-DWITH_PYTHON=$(usex python ON OFF)
-		-DWITH_TESTS=$(usex test ON OFF)
-		-DPREFER_SYSTEM_ZSTD=1
-		-DPREFER_SYSTEM_XXHASH=1
-		-DPREFER_SYSTEM_GTEST=1
-		-DWITH_LEGACY_FUSE=0
-	)
-	if use python; then mycmakeargs+=( -DWITH_PYTHON_VERSION=${EPYTHON#python} ); fi
-	einfo ${mycmakeargs}
-	cmake_src_configure
-}
-
-src_install(){
-	cmake_src_install
-	dolib.so libmetadata_thrift.so libthrift_light.so libdwarfs.so libfsst.so
-	dolib.so folly/libfolly.so.0.58.0-dev folly/libfolly.so
-}
-
-pkg_postinst(){
-	elog "Suggest to enable USE 'threads' globally if you have multicore machine"
-	elog "Since version 0.4.1 GGC builds has been fixed. Now both Clang and GCC are working very well"
-	elog "You may find more information in the"
-	elog "${HOMEPAGE}"
-	elog "About creating: ${HOMEPAGE}/blob/main/doc/mkdwarfs.md"
-	elog "About mounting: ${HOMEPAGE}/blob/main/doc/dwarfs.md"
-}


^ permalink raw reply related	[flat|nested] 68+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/
@ 2021-07-07  3:41 Denis Reva
  0 siblings, 0 replies; 68+ messages in thread
From: Denis Reva @ 2021-07-07  3:41 UTC (permalink / raw
  To: gentoo-commits

commit:     2f440e2870a4fae4dbcfe33fcc80717b6c912d61
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Wed Jul  7 03:41:41 2021 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Wed Jul  7 03:41:41 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2f440e28

sys-fs/dwarfs: updated to 0.5.6

That version contain fixes:
* Build fixes for gcc-11 (fixes #52)
* Use REALPATH in version.cmake to fix building in
	symbolically linked repositories (fixes #47).
Also see changelog for 0.5.5:
https://github.com/mhx/dwarfs/tree/v0.5.5

Closes: https://bugs.gentoo.org/786720
Closes: https://bugs.gentoo.org/785973
Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 sys-fs/dwarfs/Manifest            |  1 +
 sys-fs/dwarfs/dwarfs-0.5.6.ebuild | 93 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 94 insertions(+)

diff --git a/sys-fs/dwarfs/Manifest b/sys-fs/dwarfs/Manifest
index 43c2882dc..af45f36f7 100644
--- a/sys-fs/dwarfs/Manifest
+++ b/sys-fs/dwarfs/Manifest
@@ -1 +1,2 @@
 DIST dwarfs-0.5.4.tar.bz2 12155920 BLAKE2B 958acf2f47c26762d745f4f3ca350d518ce20095fa8fd613b33f9912b369acfedb61d2d11dbbcc718bbf6155652fbf46528b618393e8f98fb6c130b115bac061 SHA512 3affc809bab90dca6ea7b067e69da973f105524bdc8ec44a6b3e0f858f3e3c64438911b344afedbc67318fa1b0578a2f4aa7e69238319f837ea545000a36fbd5
+DIST dwarfs-0.5.6.tar.bz2 12146379 BLAKE2B 6d570de65358238eb8207297529f7cb632533eb6e63b5c27349add978d765e462fbeeb123962695b8092c919425454e7ef7cce6b2247ca46586b9732297ee1d1 SHA512 0b57f0ca5295d9b450cb0b9fd8086a87e29f0b010f70437374043689eb009f7ce10c2b862d7da3cc5613c305486c91866abe7840eb1fb09d00cde0d46f194ef6

diff --git a/sys-fs/dwarfs/dwarfs-0.5.6.ebuild b/sys-fs/dwarfs/dwarfs-0.5.6.ebuild
new file mode 100644
index 000000000..d788273ad
--- /dev/null
+++ b/sys-fs/dwarfs/dwarfs-0.5.6.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7,8,9} )
+
+inherit cmake check-reqs python-single-r1
+
+DESCRIPTION="A fast very high compression read-only FUSE file system"
+HOMEPAGE="https://github.com/mhx/dwarfs"
+
+SRC_URI="https://github.com/mhx/dwarfs/releases/download/v${PV}/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+
+IUSE="python +jemalloc test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+DEPEND="sys-devel/flex"
+RDEPEND="${PYTHON_DEPS}
+		dev-libs/boost[context,threads,python?]
+		dev-libs/double-conversion
+		dev-libs/libfmt
+		dev-libs/libevent
+		dev-libs/xxhash
+		jemalloc? ( >=dev-libs/jemalloc-5.2.1 )
+		app-arch/libarchive
+		app-arch/zstd
+		app-arch/lz4
+		app-arch/xz-utils
+		app-arch/snappy
+		dev-cpp/sparsehash
+		dev-cpp/gflags
+		dev-cpp/glog[gflags]
+		sys-fs/fuse:3
+		sys-libs/binutils-libs
+		sys-libs/zlib
+		sys-libs/libunwind
+		!dev-cpp/folly"
+BDEPEND="app-text/ronn
+		test? ( dev-cpp/gtest )
+		dev-util/cmake
+		sys-apps/sed
+		sys-devel/bison
+		virtual/pkgconfig"
+
+CHECKREQS_DISK_BUILD="1300M"
+
+DOCS=( "README.md" "CHANGES.md" "TODO" )
+
+CMAKE_IN_SOURCE_BUILD=1
+CMAKE_WARN_UNUSED_CLI=0
+
+src_prepare(){
+	cmake_src_prepare
+	einfo "setting library path to $(get_libdir)"
+	sed "s/DESTINATION lib/DESTINATION $(get_libdir)/" -i CMakeLists.txt || die
+}
+
+src_configure(){
+	einfo "setting configuration flags to:"
+	mycmakeargs=(
+		-DUSE_JEMALLOC=$(usex jemalloc ON OFF)
+		-DWITH_PYTHON=$(usex python ON OFF)
+		-DWITH_TESTS=$(usex test ON OFF)
+		-DPREFER_SYSTEM_ZSTD=1
+		-DPREFER_SYSTEM_XXHASH=1
+		-DPREFER_SYSTEM_GTEST=1
+		-DWITH_LEGACY_FUSE=0
+	)
+	if use python; then mycmakeargs+=( -DWITH_PYTHON_VERSION=${EPYTHON#python} ); fi
+	einfo ${mycmakeargs}
+	cmake_src_configure
+}
+
+src_install(){
+	cmake_src_install
+	dolib.so libmetadata_thrift.so libthrift_light.so libdwarfs.so libfsst.so
+	dolib.so folly/libfolly.so.0.58.0-dev folly/libfolly.so
+}
+
+pkg_postinst(){
+	elog "Suggest to enable USE 'threads' globally if you have multicore machine"
+	elog "Since version 0.4.1 GGC builds has been fixed. Now both Clang and GCC are working very well"
+	elog "You may find more information in the"
+	elog "${HOMEPAGE}"
+	elog "About creating: ${HOMEPAGE}/blob/main/doc/mkdwarfs.md"
+	elog "About mounting: ${HOMEPAGE}/blob/main/doc/dwarfs.md"
+}


^ permalink raw reply related	[flat|nested] 68+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/
@ 2021-07-07  3:41 Denis Reva
  0 siblings, 0 replies; 68+ messages in thread
From: Denis Reva @ 2021-07-07  3:41 UTC (permalink / raw
  To: gentoo-commits

commit:     c78a202c6582bf53bc51ed4c898c0693786c1093
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Sat Jun 12 17:46:22 2021 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Wed Jul  7 03:24:29 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c78a202c

sys-fs/dwarfs: remove deprecated dwarfs version

Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 sys-fs/dwarfs/Manifest            |  1 -
 sys-fs/dwarfs/dwarfs-0.4.1.ebuild | 89 ---------------------------------------
 2 files changed, 90 deletions(-)

diff --git a/sys-fs/dwarfs/Manifest b/sys-fs/dwarfs/Manifest
index 59b71c169..43c2882dc 100644
--- a/sys-fs/dwarfs/Manifest
+++ b/sys-fs/dwarfs/Manifest
@@ -1,2 +1 @@
-DIST dwarfs-0.4.1.tar.bz2 11640169 BLAKE2B 3490d625fd718be4451d5a551b6931b0c9316d88cdda91b90a724f3ab732a3916431a13e343bcb79a2e0415ffc0a990d2546eeb1738c55282e9fb9c85d3ba1ae SHA512 ed7bfe13a9ed2450921a2caf47b4ee1f527fcd7ad154cee93d8674a2dd08c9110d62cfaff22f318bdb799eeea35b8bc4b7374d685537c82e70a0498d97a53307
 DIST dwarfs-0.5.4.tar.bz2 12155920 BLAKE2B 958acf2f47c26762d745f4f3ca350d518ce20095fa8fd613b33f9912b369acfedb61d2d11dbbcc718bbf6155652fbf46528b618393e8f98fb6c130b115bac061 SHA512 3affc809bab90dca6ea7b067e69da973f105524bdc8ec44a6b3e0f858f3e3c64438911b344afedbc67318fa1b0578a2f4aa7e69238319f837ea545000a36fbd5

diff --git a/sys-fs/dwarfs/dwarfs-0.4.1.ebuild b/sys-fs/dwarfs/dwarfs-0.4.1.ebuild
deleted file mode 100644
index 6b33a9eb2..000000000
--- a/sys-fs/dwarfs/dwarfs-0.4.1.ebuild
+++ /dev/null
@@ -1,89 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7,8,9} )
-
-inherit cmake check-reqs python-single-r1
-
-DESCRIPTION="A fast very high compression read-only FUSE file system"
-HOMEPAGE="https://github.com/mhx/dwarfs"
-
-SRC_URI="https://github.com/mhx/dwarfs/releases/download/v${PV}/${P}.tar.bz2"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
-
-IUSE="python +jemalloc"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-DEPEND="sys-devel/flex
-		sys-devel/binutils:*"
-RDEPEND="${PYTHON_DEPS}
-		dev-libs/boost[context,threads,python?]
-		dev-libs/double-conversion
-		dev-libs/libfmt
-		dev-libs/libevent
-		dev-libs/xxhash
-		jemalloc? ( >=dev-libs/jemalloc-5.2.1 )
-		app-arch/libarchive
-		app-arch/zstd
-		app-arch/lz4
-		app-arch/xz-utils
-		app-arch/snappy
-		dev-cpp/sparsehash
-		dev-cpp/gflags
-		dev-cpp/glog[gflags]
-		sys-fs/fuse:3
-		sys-libs/binutils-libs
-		sys-libs/zlib
-		sys-libs/libunwind
-		!dev-cpp/folly"
-BDEPEND="app-text/ronn
-		dev-util/cmake
-		sys-apps/sed
-		sys-devel/bison
-		virtual/pkgconfig"
-
-CHECKREQS_DISK_BUILD="1300M"
-
-DOCS=( "README.md" "CHANGES.md" "TODO" )
-
-CMAKE_IN_SOURCE_BUILD=1
-CMAKE_WARN_UNUSED_CLI=0
-
-src_prepare(){
-	cmake_src_prepare
-	einfo "setting library path to $(get_libdir)"
-	sed "s/DESTINATION lib/DESTINATION $(get_libdir)/" -i CMakeLists.txt || die
-}
-
-src_configure(){
-	einfo "setting configuration flags to:"
-	mycmakeargs=(
-		-DUSE_JEMALLOC=$(usex jemalloc ON OFF)
-		-DWITH_PYTHON=$(usex python ON OFF)
-		-DPREFER_SYSTEM_ZSTD=1
-		-DPREFER_SYSTEM_XXHASH=1
-		-DWITH_LEGACY_FUSE=0
-	)
-	if use python; then mycmakeargs+=( -DWITH_PYTHON_VERSION=${EPYTHON#python} ); fi
-	einfo ${mycmakeargs}
-	cmake_src_configure
-}
-
-src_install(){
-	cmake_src_install
-	dolib.so libmetadata_thrift.so libthrift_light.so
-	dolib.so folly/libfolly.so.0.58.0-dev folly/libfolly.so
-}
-
-pkg_postinst(){
-	elog "Since version 0.4.1 GGC builds has been fixed. Now both Clang and GCC are working very well"
-	elog "You may find more information in the"
-	elog "${HOMEPAGE}"
-	elog "About creating: ${HOMEPAGE}/blob/main/doc/mkdwarfs.md"
-	elog "About mounting: ${HOMEPAGE}/blob/main/doc/dwarfs.md"
-}


^ permalink raw reply related	[flat|nested] 68+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/
@ 2021-05-05  7:32 Alessandro Barbieri
  0 siblings, 0 replies; 68+ messages in thread
From: Alessandro Barbieri @ 2021-05-05  7:32 UTC (permalink / raw
  To: gentoo-commits

commit:     fcda7818a6e1fc66461f5fe20a124c6feec28c45
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Wed May  5 07:28:59 2021 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Wed May  5 07:32:53 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fcda7818

sys-fs/dwarfs: m-n

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 sys-fs/dwarfs/metadata.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys-fs/dwarfs/metadata.xml b/sys-fs/dwarfs/metadata.xml
index c312e8621..a4fd5acb3 100644
--- a/sys-fs/dwarfs/metadata.xml
+++ b/sys-fs/dwarfs/metadata.xml
@@ -1,6 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM 'http://www.gentoo.org/dtd/metadata.dtd'>
 <pkgmetadata>
+	<!-- maintainer-needed -->
 	<longdescription lang="en">
 		DwarFS is a read-only file system with a focus on achieving very high compression ratios in particular for very redundant data.
 		This probably doesn't sound very exciting, because if it's redundant, it should compress well. However, I found that other read-only, compressed file systems don't do a very good job at making use of this redundancy. See here for a comparison with other compressed file systems.


^ permalink raw reply related	[flat|nested] 68+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/
@ 2021-05-03 10:11 Denis Reva
  0 siblings, 0 replies; 68+ messages in thread
From: Denis Reva @ 2021-05-03 10:11 UTC (permalink / raw
  To: gentoo-commits

commit:     f237106d2ec5d9a40c1d239825378996d5fb0ff5
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Mon May  3 10:11:15 2021 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Mon May  3 10:11:15 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f237106d

sys-fs/dwarfs: I've temporarily resigned

Because I adventure with russian military office.

Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 sys-fs/dwarfs/metadata.xml | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/sys-fs/dwarfs/metadata.xml b/sys-fs/dwarfs/metadata.xml
index 17e2efa0c..c312e8621 100644
--- a/sys-fs/dwarfs/metadata.xml
+++ b/sys-fs/dwarfs/metadata.xml
@@ -1,11 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM 'http://www.gentoo.org/dtd/metadata.dtd'>
 <pkgmetadata>
-	<maintainer type="person">
-		<email>denis7774@gmail.com</email>
-		<name>Denis Reva</name>
-		<description>Partial maintainer</description>
-	</maintainer>
 	<longdescription lang="en">
 		DwarFS is a read-only file system with a focus on achieving very high compression ratios in particular for very redundant data.
 		This probably doesn't sound very exciting, because if it's redundant, it should compress well. However, I found that other read-only, compressed file systems don't do a very good job at making use of this redundancy. See here for a comparison with other compressed file systems.


^ permalink raw reply related	[flat|nested] 68+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/
@ 2021-05-02  2:27 Alessandro Barbieri
  0 siblings, 0 replies; 68+ messages in thread
From: Alessandro Barbieri @ 2021-05-02  2:27 UTC (permalink / raw
  To: gentoo-commits

commit:     a25d68ac0a3ac642c04d005dad3318ff50f966a6
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sun May  2 02:27:40 2021 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sun May  2 02:27:51 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a25d68ac

sys-fs/dwarfs: depend on folly with exception_tracker

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 sys-fs/dwarfs/dwarfs-0.5.4-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-fs/dwarfs/dwarfs-0.5.4-r3.ebuild b/sys-fs/dwarfs/dwarfs-0.5.4-r3.ebuild
index c601493d5..c4d672b7c 100644
--- a/sys-fs/dwarfs/dwarfs-0.5.4-r3.ebuild
+++ b/sys-fs/dwarfs/dwarfs-0.5.4-r3.ebuild
@@ -31,7 +31,7 @@ RDEPEND="
 	app-arch/xz-utils
 	app-arch/zstd
 	dev-cpp/fbthrift:=
-	dev-cpp/folly:=
+	>=dev-cpp/folly-2021.04.19.00-r1:=
 	dev-cpp/gflags
 	dev-cpp/glog[gflags]
 	dev-cpp/parallel-hashmap:=


^ permalink raw reply related	[flat|nested] 68+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/
@ 2021-05-02  1:51 Alessandro Barbieri
  0 siblings, 0 replies; 68+ messages in thread
From: Alessandro Barbieri @ 2021-05-02  1:51 UTC (permalink / raw
  To: gentoo-commits

commit:     37c7d91aee1b53fefd7a5416cddff73aaca88926
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sun May  2 01:50:42 2021 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sun May  2 01:51:05 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=37c7d91a

sys-fs/dwarfs: still not ready, remove keyword

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 sys-fs/dwarfs/dwarfs-0.5.4-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-fs/dwarfs/dwarfs-0.5.4-r3.ebuild b/sys-fs/dwarfs/dwarfs-0.5.4-r3.ebuild
index 0de8a6544..c601493d5 100644
--- a/sys-fs/dwarfs/dwarfs-0.5.4-r3.ebuild
+++ b/sys-fs/dwarfs/dwarfs-0.5.4-r3.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/mhx/dwarfs/releases/download/v${PV}/${P}.tar.bz2"
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS=""
 
 IUSE="python +jemalloc test"
 RESTRICT="!test? ( test )"


^ permalink raw reply related	[flat|nested] 68+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/
@ 2021-04-29  3:24 Alessandro Barbieri
  0 siblings, 0 replies; 68+ messages in thread
From: Alessandro Barbieri @ 2021-04-29  3:24 UTC (permalink / raw
  To: gentoo-commits

commit:     6198c44d202d11475f40a938ea5c56a075d09ea9
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Thu Apr 29 03:24:26 2021 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Thu Apr 29 03:24:55 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6198c44d

sys-fs/dwarfs: depend on fsst

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 sys-fs/dwarfs/dwarfs-0.5.4-r3.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/sys-fs/dwarfs/dwarfs-0.5.4-r3.ebuild b/sys-fs/dwarfs/dwarfs-0.5.4-r3.ebuild
index fb546ce27..8c35e1298 100644
--- a/sys-fs/dwarfs/dwarfs-0.5.4-r3.ebuild
+++ b/sys-fs/dwarfs/dwarfs-0.5.4-r3.ebuild
@@ -21,6 +21,7 @@ RESTRICT="!test? ( test )"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 PATCHES=( "${WORKDIR}/unbundle-folly-fbthrift.patch" )
+#TODO: unbundle libfsst
 
 RDEPEND="
 	${PYTHON_DEPS}
@@ -36,6 +37,7 @@ RDEPEND="
 	dev-cpp/sparsehash
 	dev-libs/boost[context,threads,python?]
 	dev-libs/double-conversion
+	dev-libs/fsst:=
 	dev-libs/libevent
 	dev-libs/libfmt
 	dev-libs/xxhash
@@ -91,8 +93,7 @@ src_configure(){
 
 src_install(){
 	cmake_src_install
-	#TODO: unbundle libfsst
-	dolib.so libdwarfs.so libfsst.so
+	dolib.so libdwarfs.so
 }
 
 pkg_postinst(){


^ permalink raw reply related	[flat|nested] 68+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/
@ 2021-04-28 11:43 Denis Reva
  0 siblings, 0 replies; 68+ messages in thread
From: Denis Reva @ 2021-04-28 11:43 UTC (permalink / raw
  To: gentoo-commits

commit:     bec7247495f3ed5f437d8dcdc1c218d93e0e1ba3
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Wed Apr 28 11:43:25 2021 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Wed Apr 28 11:43:42 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bec72474

sys-fs/dwarfs: fix typo in python_req_use

See
https://github.com/gentoo/guru/commit/6007f8ecbedddd4fbfd8d64b23be4bbd14027f36#commitcomment-50098369

Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 sys-fs/dwarfs/dwarfs-0.4.1.ebuild    | 7 +------
 sys-fs/dwarfs/dwarfs-0.5.4-r2.ebuild | 4 +---
 sys-fs/dwarfs/dwarfs-0.5.4.ebuild    | 4 +---
 3 files changed, 3 insertions(+), 12 deletions(-)

diff --git a/sys-fs/dwarfs/dwarfs-0.4.1.ebuild b/sys-fs/dwarfs/dwarfs-0.4.1.ebuild
index 8c7493f14..6b33a9eb2 100644
--- a/sys-fs/dwarfs/dwarfs-0.4.1.ebuild
+++ b/sys-fs/dwarfs/dwarfs-0.4.1.ebuild
@@ -17,12 +17,7 @@ SLOT="0"
 KEYWORDS="~amd64 ~arm64 ~x86"
 
 IUSE="python +jemalloc"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-#test IUSE disabled because there is no googletest in portage tree at this moment
-#-DWITH_TESTS=$(usex test ON OFF)
-
-PYTHON_REQ_USE="python"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 DEPEND="sys-devel/flex
 		sys-devel/binutils:*"

diff --git a/sys-fs/dwarfs/dwarfs-0.5.4-r2.ebuild b/sys-fs/dwarfs/dwarfs-0.5.4-r2.ebuild
index 755b47b81..bc057eb62 100644
--- a/sys-fs/dwarfs/dwarfs-0.5.4-r2.ebuild
+++ b/sys-fs/dwarfs/dwarfs-0.5.4-r2.ebuild
@@ -18,9 +18,7 @@ KEYWORDS=""
 
 IUSE="python +jemalloc test"
 RESTRICT="!test? ( test )"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-PYTHON_REQ_USE="python"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 DEPEND="sys-devel/flex"
 RDEPEND="${PYTHON_DEPS}

diff --git a/sys-fs/dwarfs/dwarfs-0.5.4.ebuild b/sys-fs/dwarfs/dwarfs-0.5.4.ebuild
index 2ef94b62b..d788273ad 100644
--- a/sys-fs/dwarfs/dwarfs-0.5.4.ebuild
+++ b/sys-fs/dwarfs/dwarfs-0.5.4.ebuild
@@ -18,9 +18,7 @@ KEYWORDS="~amd64 ~arm64 ~x86"
 
 IUSE="python +jemalloc test"
 RESTRICT="!test? ( test )"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-PYTHON_REQ_USE="python"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 DEPEND="sys-devel/flex"
 RDEPEND="${PYTHON_DEPS}


^ permalink raw reply related	[flat|nested] 68+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/
@ 2021-04-28  5:20 Denis Reva
  0 siblings, 0 replies; 68+ messages in thread
From: Denis Reva @ 2021-04-28  5:20 UTC (permalink / raw
  To: gentoo-commits

commit:     1f9b8e0d76954a83830acf8f7c51115e7ee4f8ae
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Wed Apr 28 05:20:40 2021 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Wed Apr 28 05:20:40 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1f9b8e0d

sys-fs/dwarfs: 0.5.4 reverting useless changes in dependency

Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 sys-fs/dwarfs/{dwarfs-0.5.4-r1.ebuild => dwarfs-0.5.4.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-fs/dwarfs/dwarfs-0.5.4-r1.ebuild b/sys-fs/dwarfs/dwarfs-0.5.4.ebuild
similarity index 98%
rename from sys-fs/dwarfs/dwarfs-0.5.4-r1.ebuild
rename to sys-fs/dwarfs/dwarfs-0.5.4.ebuild
index 5ef7363bd..2ef94b62b 100644
--- a/sys-fs/dwarfs/dwarfs-0.5.4-r1.ebuild
+++ b/sys-fs/dwarfs/dwarfs-0.5.4.ebuild
@@ -33,7 +33,7 @@ RDEPEND="${PYTHON_DEPS}
 		app-arch/libarchive
 		app-arch/zstd
 		app-arch/lz4
-		app-arch/xz-utils[static-libs]
+		app-arch/xz-utils
 		app-arch/snappy
 		dev-cpp/sparsehash
 		dev-cpp/gflags


^ permalink raw reply related	[flat|nested] 68+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/
@ 2021-04-28  5:17 Denis Reva
  0 siblings, 0 replies; 68+ messages in thread
From: Denis Reva @ 2021-04-28  5:17 UTC (permalink / raw
  To: gentoo-commits

commit:     6007f8ecbedddd4fbfd8d64b23be4bbd14027f36
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Wed Apr 28 05:17:04 2021 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Wed Apr 28 05:17:39 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6007f8ec

sys-fs/dwarfs: second attempt to fix https://bugs.gentoo.org/785973

Added -fPIC

Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 sys-fs/dwarfs/dwarfs-0.5.4-r2.ebuild | 96 ++++++++++++++++++++++++++++++++++++
 1 file changed, 96 insertions(+)

diff --git a/sys-fs/dwarfs/dwarfs-0.5.4-r2.ebuild b/sys-fs/dwarfs/dwarfs-0.5.4-r2.ebuild
new file mode 100644
index 000000000..755b47b81
--- /dev/null
+++ b/sys-fs/dwarfs/dwarfs-0.5.4-r2.ebuild
@@ -0,0 +1,96 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7,8,9} )
+
+inherit cmake check-reqs python-single-r1 flag-o-matic
+
+DESCRIPTION="A fast very high compression read-only FUSE file system"
+HOMEPAGE="https://github.com/mhx/dwarfs"
+
+SRC_URI="https://github.com/mhx/dwarfs/releases/download/v${PV}/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS=""
+
+IUSE="python +jemalloc test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+PYTHON_REQ_USE="python"
+
+DEPEND="sys-devel/flex"
+RDEPEND="${PYTHON_DEPS}
+		dev-libs/boost[context,threads,python?]
+		dev-libs/double-conversion
+		dev-libs/libfmt
+		dev-libs/libevent
+		dev-libs/xxhash
+		jemalloc? ( >=dev-libs/jemalloc-5.2.1 )
+		app-arch/libarchive
+		app-arch/zstd
+		app-arch/lz4
+		app-arch/xz-utils
+		app-arch/snappy
+		dev-cpp/sparsehash
+		dev-cpp/gflags
+		dev-cpp/glog[gflags]
+		sys-fs/fuse:3
+		sys-libs/binutils-libs
+		sys-libs/zlib
+		sys-libs/libunwind
+		!dev-cpp/folly"
+BDEPEND="app-text/ronn
+		test? ( dev-cpp/gtest )
+		dev-util/cmake
+		sys-apps/sed
+		sys-devel/bison
+		virtual/pkgconfig"
+
+CHECKREQS_DISK_BUILD="1300M"
+
+DOCS=( "README.md" "CHANGES.md" "TODO" )
+
+CMAKE_IN_SOURCE_BUILD=1
+CMAKE_WARN_UNUSED_CLI=0
+
+src_prepare(){
+	cmake_src_prepare
+	einfo "setting library path to $(get_libdir)"
+	sed "s/DESTINATION lib/DESTINATION $(get_libdir)/" -i CMakeLists.txt || die
+}
+
+src_configure(){
+	append-flags "-fPIC"
+	einfo "setting configuration flags to:"
+	mycmakeargs=(
+		-DUSE_JEMALLOC=$(usex jemalloc ON OFF)
+		-DWITH_PYTHON=$(usex python ON OFF)
+		-DWITH_TESTS=$(usex test ON OFF)
+		-DPREFER_SYSTEM_ZSTD=1
+		-DPREFER_SYSTEM_XXHASH=1
+		-DPREFER_SYSTEM_GTEST=1
+		-DWITH_LEGACY_FUSE=0
+	)
+	if use python; then mycmakeargs+=( -DWITH_PYTHON_VERSION=${EPYTHON#python} ); fi
+	einfo ${mycmakeargs}
+	cmake_src_configure
+}
+
+src_install(){
+	cmake_src_install
+	dolib.so libmetadata_thrift.so libthrift_light.so libdwarfs.so libfsst.so
+	dolib.so folly/libfolly.so.0.58.0-dev folly/libfolly.so
+}
+
+pkg_postinst(){
+	elog "Suggest to enable USE 'threads' globally if you have multicore machine"
+	elog "Since version 0.4.1 GGC builds has been fixed. Now both Clang and GCC are working very well"
+	elog "You may find more information in the"
+	elog "${HOMEPAGE}"
+	elog "About creating: ${HOMEPAGE}/blob/main/doc/mkdwarfs.md"
+	elog "About mounting: ${HOMEPAGE}/blob/main/doc/dwarfs.md"
+}


^ permalink raw reply related	[flat|nested] 68+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/
@ 2021-04-27  8:34 Denis Reva
  0 siblings, 0 replies; 68+ messages in thread
From: Denis Reva @ 2021-04-27  8:34 UTC (permalink / raw
  To: gentoo-commits

commit:     ce90ec0a4c44bc2701254d48c25866dbfb84aeba
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Tue Apr 27 08:34:28 2021 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Tue Apr 27 08:34:41 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ce90ec0a

sys-fs/dwarfs: attempting to fix https://bugs.gentoo.org/785973

It seems like it requires static-libs for xz-utils

Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 sys-fs/dwarfs/{dwarfs-0.5.4.ebuild => dwarfs-0.5.4-r1.ebuild} | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sys-fs/dwarfs/dwarfs-0.5.4.ebuild b/sys-fs/dwarfs/dwarfs-0.5.4-r1.ebuild
similarity index 95%
rename from sys-fs/dwarfs/dwarfs-0.5.4.ebuild
rename to sys-fs/dwarfs/dwarfs-0.5.4-r1.ebuild
index 66cd9fb76..5ef7363bd 100644
--- a/sys-fs/dwarfs/dwarfs-0.5.4.ebuild
+++ b/sys-fs/dwarfs/dwarfs-0.5.4-r1.ebuild
@@ -33,7 +33,7 @@ RDEPEND="${PYTHON_DEPS}
 		app-arch/libarchive
 		app-arch/zstd
 		app-arch/lz4
-		app-arch/xz-utils
+		app-arch/xz-utils[static-libs]
 		app-arch/snappy
 		dev-cpp/sparsehash
 		dev-cpp/gflags
@@ -86,6 +86,7 @@ src_install(){
 }
 
 pkg_postinst(){
+	elog "Suggest to enable USE 'threads' globally if you have multicore machine"
 	elog "Since version 0.4.1 GGC builds has been fixed. Now both Clang and GCC are working very well"
 	elog "You may find more information in the"
 	elog "${HOMEPAGE}"


^ permalink raw reply related	[flat|nested] 68+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/
@ 2021-04-12  9:27 Andrew Ammerlaan
  0 siblings, 0 replies; 68+ messages in thread
From: Andrew Ammerlaan @ 2021-04-12  9:27 UTC (permalink / raw
  To: gentoo-commits

commit:     b56df9543196707b8186940233fae4b1a04a6f4b
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Mon Apr 12 09:27:43 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Mon Apr 12 09:27:43 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b56df954

sys-fs/dwarfs: add missing  RESTRICT="!test? ( test )"

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 sys-fs/dwarfs/dwarfs-0.5.4.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys-fs/dwarfs/dwarfs-0.5.4.ebuild b/sys-fs/dwarfs/dwarfs-0.5.4.ebuild
index cbc5a9ed3..66cd9fb76 100644
--- a/sys-fs/dwarfs/dwarfs-0.5.4.ebuild
+++ b/sys-fs/dwarfs/dwarfs-0.5.4.ebuild
@@ -17,6 +17,7 @@ SLOT="0"
 KEYWORDS="~amd64 ~arm64 ~x86"
 
 IUSE="python +jemalloc test"
+RESTRICT="!test? ( test )"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 PYTHON_REQ_USE="python"


^ permalink raw reply related	[flat|nested] 68+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/
@ 2021-04-12  4:05 Denis Reva
  0 siblings, 0 replies; 68+ messages in thread
From: Denis Reva @ 2021-04-12  4:05 UTC (permalink / raw
  To: gentoo-commits

commit:     f083f536ee04ac249924e138ac2901a209f73ebf
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Mon Apr 12 04:05:14 2021 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Mon Apr 12 04:05:32 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f083f536

sys-fs/dwarfs: !fixed FUSE driver hangs

Bugfixes:
FUSE driver hangs when accessing files and the driver is not started in
foreground or debug mode. This bug is present
in both the 0.5.2 and 0.5.3 releases. Fixes
https://github.com/mhx/dwarfs/issues/44

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 sys-fs/dwarfs/Manifest                             |  3 +-
 sys-fs/dwarfs/dwarfs-0.5.2-r2.ebuild               | 94 ----------------------
 .../{dwarfs-0.5.3.ebuild => dwarfs-0.5.4.ebuild}   |  0
 3 files changed, 1 insertion(+), 96 deletions(-)

diff --git a/sys-fs/dwarfs/Manifest b/sys-fs/dwarfs/Manifest
index 5d19ef385..59b71c169 100644
--- a/sys-fs/dwarfs/Manifest
+++ b/sys-fs/dwarfs/Manifest
@@ -1,3 +1,2 @@
 DIST dwarfs-0.4.1.tar.bz2 11640169 BLAKE2B 3490d625fd718be4451d5a551b6931b0c9316d88cdda91b90a724f3ab732a3916431a13e343bcb79a2e0415ffc0a990d2546eeb1738c55282e9fb9c85d3ba1ae SHA512 ed7bfe13a9ed2450921a2caf47b4ee1f527fcd7ad154cee93d8674a2dd08c9110d62cfaff22f318bdb799eeea35b8bc4b7374d685537c82e70a0498d97a53307
-DIST dwarfs-0.5.2.tar.bz2 12153397 BLAKE2B b83b7df085afb39df3aa9b139ce7cfeee71287ad8ce83433a2c3cf17a096e479da95e76057379be81ec79a819dfe9754a8df44492044fc49fbd1e2d4371af878 SHA512 6ff8a8b9037740bc4a28f8069226db35ac0dad946059f9d42163f64e40e299efa0e79da08f44e45ac8dd2e8b9c43ed2a9d05fd54e51de8885f71137f877d456b
-DIST dwarfs-0.5.3.tar.bz2 12154655 BLAKE2B 1d15ac35c3bed07c40d61e1b6f167ba07535f5b936bc286a47c760db2d1d093cc59853365a944236b927927c1d6bfa3b21a05334d6d0ca483d33b6843e4e73a4 SHA512 75cfac5711ffef9abc645823696d00a67c7d9e7675a33e2ed27269856d6a2b0863af07e912e96171e1641a896a8211131282bb1da786d828f37eafbb7a0ebda3
+DIST dwarfs-0.5.4.tar.bz2 12155920 BLAKE2B 958acf2f47c26762d745f4f3ca350d518ce20095fa8fd613b33f9912b369acfedb61d2d11dbbcc718bbf6155652fbf46528b618393e8f98fb6c130b115bac061 SHA512 3affc809bab90dca6ea7b067e69da973f105524bdc8ec44a6b3e0f858f3e3c64438911b344afedbc67318fa1b0578a2f4aa7e69238319f837ea545000a36fbd5

diff --git a/sys-fs/dwarfs/dwarfs-0.5.2-r2.ebuild b/sys-fs/dwarfs/dwarfs-0.5.2-r2.ebuild
deleted file mode 100644
index 48bf7de58..000000000
--- a/sys-fs/dwarfs/dwarfs-0.5.2-r2.ebuild
+++ /dev/null
@@ -1,94 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7,8,9} )
-
-inherit cmake check-reqs python-single-r1
-
-DESCRIPTION="A fast very high compression read-only FUSE file system"
-HOMEPAGE="https://github.com/mhx/dwarfs"
-
-SRC_URI="https://github.com/mhx/dwarfs/releases/download/v${PV}/${P}.tar.bz2"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
-
-IUSE="python +jemalloc"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-#test IUSE disabled because there is no googletest in portage tree at this moment
-#-DWITH_TESTS=$(usex test ON OFF)
-
-PYTHON_REQ_USE="python"
-
-DEPEND="sys-devel/flex
-		sys-devel/binutils:*"
-RDEPEND="${PYTHON_DEPS}
-		dev-libs/boost[context,threads,python?]
-		dev-libs/double-conversion
-		dev-libs/libfmt
-		dev-libs/libevent
-		dev-libs/xxhash
-		jemalloc? ( >=dev-libs/jemalloc-5.2.1 )
-		app-arch/libarchive
-		app-arch/zstd
-		app-arch/lz4
-		app-arch/xz-utils
-		app-arch/snappy
-		dev-cpp/sparsehash
-		dev-cpp/gflags
-		dev-cpp/glog[gflags]
-		sys-fs/fuse:3
-		sys-libs/binutils-libs
-		sys-libs/zlib
-		sys-libs/libunwind
-		!dev-cpp/folly"
-BDEPEND="app-text/ronn
-		dev-util/cmake
-		sys-apps/sed
-		sys-devel/bison
-		virtual/pkgconfig"
-
-CHECKREQS_DISK_BUILD="1300M"
-
-DOCS=( "README.md" "CHANGES.md" "TODO" )
-
-CMAKE_IN_SOURCE_BUILD=1
-CMAKE_WARN_UNUSED_CLI=0
-
-src_prepare(){
-	cmake_src_prepare
-	einfo "setting library path to $(get_libdir)"
-	sed "s/DESTINATION lib/DESTINATION $(get_libdir)/" -i CMakeLists.txt || die
-}
-
-src_configure(){
-	einfo "setting configuration flags to:"
-	mycmakeargs=(
-		-DUSE_JEMALLOC=$(usex jemalloc ON OFF)
-		-DWITH_PYTHON=$(usex python ON OFF)
-		-DPREFER_SYSTEM_ZSTD=1
-		-DPREFER_SYSTEM_XXHASH=1
-		-DWITH_LEGACY_FUSE=0
-	)
-	if use python; then mycmakeargs+=( -DWITH_PYTHON_VERSION=${EPYTHON#python} ); fi
-	einfo ${mycmakeargs}
-	cmake_src_configure
-}
-
-src_install(){
-	cmake_src_install
-	dolib.so libmetadata_thrift.so libthrift_light.so libdwarfs.so libfsst.so
-	dolib.so folly/libfolly.so.0.58.0-dev folly/libfolly.so
-}
-
-pkg_postinst(){
-	elog "Since version 0.4.1 GGC builds has been fixed. Now both Clang and GCC are working very well"
-	elog "You may find more information in the"
-	elog "${HOMEPAGE}"
-	elog "About creating: ${HOMEPAGE}/blob/main/doc/mkdwarfs.md"
-	elog "About mounting: ${HOMEPAGE}/blob/main/doc/dwarfs.md"
-}

diff --git a/sys-fs/dwarfs/dwarfs-0.5.3.ebuild b/sys-fs/dwarfs/dwarfs-0.5.4.ebuild
similarity index 100%
rename from sys-fs/dwarfs/dwarfs-0.5.3.ebuild
rename to sys-fs/dwarfs/dwarfs-0.5.4.ebuild


^ permalink raw reply related	[flat|nested] 68+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/
@ 2021-04-11 15:00 Denis Reva
  0 siblings, 0 replies; 68+ messages in thread
From: Denis Reva @ 2021-04-11 15:00 UTC (permalink / raw
  To: gentoo-commits

commit:     c875d3efc3190e7197f2313fabcd7931d2e1caa4
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Sun Apr 11 15:00:17 2021 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Sun Apr 11 15:00:30 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c875d3ef

sys-fs/dwarfs: new version 0.5.3 with tests

Thanks for MHX, dwarfs now supports test suite
see https://github.com/mhx/dwarfs/issues/42

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 sys-fs/dwarfs/Manifest                                        |  1 +
 sys-fs/dwarfs/{dwarfs-0.5.2-r1.ebuild => dwarfs-0.5.3.ebuild} | 10 +++++-----
 2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/sys-fs/dwarfs/Manifest b/sys-fs/dwarfs/Manifest
index e6a430ea4..5d19ef385 100644
--- a/sys-fs/dwarfs/Manifest
+++ b/sys-fs/dwarfs/Manifest
@@ -1,2 +1,3 @@
 DIST dwarfs-0.4.1.tar.bz2 11640169 BLAKE2B 3490d625fd718be4451d5a551b6931b0c9316d88cdda91b90a724f3ab732a3916431a13e343bcb79a2e0415ffc0a990d2546eeb1738c55282e9fb9c85d3ba1ae SHA512 ed7bfe13a9ed2450921a2caf47b4ee1f527fcd7ad154cee93d8674a2dd08c9110d62cfaff22f318bdb799eeea35b8bc4b7374d685537c82e70a0498d97a53307
 DIST dwarfs-0.5.2.tar.bz2 12153397 BLAKE2B b83b7df085afb39df3aa9b139ce7cfeee71287ad8ce83433a2c3cf17a096e479da95e76057379be81ec79a819dfe9754a8df44492044fc49fbd1e2d4371af878 SHA512 6ff8a8b9037740bc4a28f8069226db35ac0dad946059f9d42163f64e40e299efa0e79da08f44e45ac8dd2e8b9c43ed2a9d05fd54e51de8885f71137f877d456b
+DIST dwarfs-0.5.3.tar.bz2 12154655 BLAKE2B 1d15ac35c3bed07c40d61e1b6f167ba07535f5b936bc286a47c760db2d1d093cc59853365a944236b927927c1d6bfa3b21a05334d6d0ca483d33b6843e4e73a4 SHA512 75cfac5711ffef9abc645823696d00a67c7d9e7675a33e2ed27269856d6a2b0863af07e912e96171e1641a896a8211131282bb1da786d828f37eafbb7a0ebda3

diff --git a/sys-fs/dwarfs/dwarfs-0.5.2-r1.ebuild b/sys-fs/dwarfs/dwarfs-0.5.3.ebuild
similarity index 93%
rename from sys-fs/dwarfs/dwarfs-0.5.2-r1.ebuild
rename to sys-fs/dwarfs/dwarfs-0.5.3.ebuild
index 33c7471fd..cbc5a9ed3 100644
--- a/sys-fs/dwarfs/dwarfs-0.5.2-r1.ebuild
+++ b/sys-fs/dwarfs/dwarfs-0.5.3.ebuild
@@ -14,15 +14,14 @@ SRC_URI="https://github.com/mhx/dwarfs/releases/download/v${PV}/${P}.tar.bz2"
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS=""
+KEYWORDS="~amd64 ~arm64 ~x86"
 
 IUSE="python +jemalloc test"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 PYTHON_REQ_USE="python"
 
-DEPEND="sys-devel/flex
-		sys-devel/binutils:*"
+DEPEND="sys-devel/flex"
 RDEPEND="${PYTHON_DEPS}
 		dev-libs/boost[context,threads,python?]
 		dev-libs/double-conversion
@@ -42,9 +41,9 @@ RDEPEND="${PYTHON_DEPS}
 		sys-libs/binutils-libs
 		sys-libs/zlib
 		sys-libs/libunwind
-		test? ( dev-cpp/gtest )
 		!dev-cpp/folly"
 BDEPEND="app-text/ronn
+		test? ( dev-cpp/gtest )
 		dev-util/cmake
 		sys-apps/sed
 		sys-devel/bison
@@ -71,6 +70,7 @@ src_configure(){
 		-DWITH_TESTS=$(usex test ON OFF)
 		-DPREFER_SYSTEM_ZSTD=1
 		-DPREFER_SYSTEM_XXHASH=1
+		-DPREFER_SYSTEM_GTEST=1
 		-DWITH_LEGACY_FUSE=0
 	)
 	if use python; then mycmakeargs+=( -DWITH_PYTHON_VERSION=${EPYTHON#python} ); fi
@@ -80,7 +80,7 @@ src_configure(){
 
 src_install(){
 	cmake_src_install
-	dolib.so libmetadata_thrift.so libthrift_light.so
+	dolib.so libmetadata_thrift.so libthrift_light.so libdwarfs.so libfsst.so
 	dolib.so folly/libfolly.so.0.58.0-dev folly/libfolly.so
 }
 


^ permalink raw reply related	[flat|nested] 68+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/
@ 2021-04-11 12:24 Denis Reva
  0 siblings, 0 replies; 68+ messages in thread
From: Denis Reva @ 2021-04-11 12:24 UTC (permalink / raw
  To: gentoo-commits

commit:     caff25af19e7ede074cfed2b1ad4b8ba43da3503
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Sun Apr 11 12:24:05 2021 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Sun Apr 11 12:24:18 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=caff25af

sys-fs/dwarfs: important! Fixed installation!

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 sys-fs/dwarfs/{dwarfs-0.5.2.ebuild => dwarfs-0.5.2-r1.ebuild} | 9 ++++-----
 sys-fs/dwarfs/{dwarfs-0.5.2.ebuild => dwarfs-0.5.2-r2.ebuild} | 2 +-
 2 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/sys-fs/dwarfs/dwarfs-0.5.2.ebuild b/sys-fs/dwarfs/dwarfs-0.5.2-r1.ebuild
similarity index 92%
copy from sys-fs/dwarfs/dwarfs-0.5.2.ebuild
copy to sys-fs/dwarfs/dwarfs-0.5.2-r1.ebuild
index 8c7493f14..33c7471fd 100644
--- a/sys-fs/dwarfs/dwarfs-0.5.2.ebuild
+++ b/sys-fs/dwarfs/dwarfs-0.5.2-r1.ebuild
@@ -14,14 +14,11 @@ SRC_URI="https://github.com/mhx/dwarfs/releases/download/v${PV}/${P}.tar.bz2"
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
+KEYWORDS=""
 
-IUSE="python +jemalloc"
+IUSE="python +jemalloc test"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
-#test IUSE disabled because there is no googletest in portage tree at this moment
-#-DWITH_TESTS=$(usex test ON OFF)
-
 PYTHON_REQ_USE="python"
 
 DEPEND="sys-devel/flex
@@ -45,6 +42,7 @@ RDEPEND="${PYTHON_DEPS}
 		sys-libs/binutils-libs
 		sys-libs/zlib
 		sys-libs/libunwind
+		test? ( dev-cpp/gtest )
 		!dev-cpp/folly"
 BDEPEND="app-text/ronn
 		dev-util/cmake
@@ -70,6 +68,7 @@ src_configure(){
 	mycmakeargs=(
 		-DUSE_JEMALLOC=$(usex jemalloc ON OFF)
 		-DWITH_PYTHON=$(usex python ON OFF)
+		-DWITH_TESTS=$(usex test ON OFF)
 		-DPREFER_SYSTEM_ZSTD=1
 		-DPREFER_SYSTEM_XXHASH=1
 		-DWITH_LEGACY_FUSE=0

diff --git a/sys-fs/dwarfs/dwarfs-0.5.2.ebuild b/sys-fs/dwarfs/dwarfs-0.5.2-r2.ebuild
similarity index 96%
rename from sys-fs/dwarfs/dwarfs-0.5.2.ebuild
rename to sys-fs/dwarfs/dwarfs-0.5.2-r2.ebuild
index 8c7493f14..48bf7de58 100644
--- a/sys-fs/dwarfs/dwarfs-0.5.2.ebuild
+++ b/sys-fs/dwarfs/dwarfs-0.5.2-r2.ebuild
@@ -81,7 +81,7 @@ src_configure(){
 
 src_install(){
 	cmake_src_install
-	dolib.so libmetadata_thrift.so libthrift_light.so
+	dolib.so libmetadata_thrift.so libthrift_light.so libdwarfs.so libfsst.so
 	dolib.so folly/libfolly.so.0.58.0-dev folly/libfolly.so
 }
 


^ permalink raw reply related	[flat|nested] 68+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/
@ 2021-04-09 14:29 Denis Reva
  0 siblings, 0 replies; 68+ messages in thread
From: Denis Reva @ 2021-04-09 14:29 UTC (permalink / raw
  To: gentoo-commits

commit:     38ee3703cd42b3ea89ff339b01970e1cd5079a13
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Fri Apr  9 14:29:34 2021 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Fri Apr  9 14:29:34 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=38ee3703

sys-fs/dwarfs: new version 0.5.2

See https://github.com/mhx/dwarfs/releases
for changes.

That release looks pretty good.

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 sys-fs/dwarfs/Manifest            |  1 +
 sys-fs/dwarfs/dwarfs-0.5.2.ebuild | 94 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 95 insertions(+)

diff --git a/sys-fs/dwarfs/Manifest b/sys-fs/dwarfs/Manifest
index 0ddfe0d6a..e6a430ea4 100644
--- a/sys-fs/dwarfs/Manifest
+++ b/sys-fs/dwarfs/Manifest
@@ -1 +1,2 @@
 DIST dwarfs-0.4.1.tar.bz2 11640169 BLAKE2B 3490d625fd718be4451d5a551b6931b0c9316d88cdda91b90a724f3ab732a3916431a13e343bcb79a2e0415ffc0a990d2546eeb1738c55282e9fb9c85d3ba1ae SHA512 ed7bfe13a9ed2450921a2caf47b4ee1f527fcd7ad154cee93d8674a2dd08c9110d62cfaff22f318bdb799eeea35b8bc4b7374d685537c82e70a0498d97a53307
+DIST dwarfs-0.5.2.tar.bz2 12153397 BLAKE2B b83b7df085afb39df3aa9b139ce7cfeee71287ad8ce83433a2c3cf17a096e479da95e76057379be81ec79a819dfe9754a8df44492044fc49fbd1e2d4371af878 SHA512 6ff8a8b9037740bc4a28f8069226db35ac0dad946059f9d42163f64e40e299efa0e79da08f44e45ac8dd2e8b9c43ed2a9d05fd54e51de8885f71137f877d456b

diff --git a/sys-fs/dwarfs/dwarfs-0.5.2.ebuild b/sys-fs/dwarfs/dwarfs-0.5.2.ebuild
new file mode 100644
index 000000000..8c7493f14
--- /dev/null
+++ b/sys-fs/dwarfs/dwarfs-0.5.2.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7,8,9} )
+
+inherit cmake check-reqs python-single-r1
+
+DESCRIPTION="A fast very high compression read-only FUSE file system"
+HOMEPAGE="https://github.com/mhx/dwarfs"
+
+SRC_URI="https://github.com/mhx/dwarfs/releases/download/v${PV}/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+
+IUSE="python +jemalloc"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+#test IUSE disabled because there is no googletest in portage tree at this moment
+#-DWITH_TESTS=$(usex test ON OFF)
+
+PYTHON_REQ_USE="python"
+
+DEPEND="sys-devel/flex
+		sys-devel/binutils:*"
+RDEPEND="${PYTHON_DEPS}
+		dev-libs/boost[context,threads,python?]
+		dev-libs/double-conversion
+		dev-libs/libfmt
+		dev-libs/libevent
+		dev-libs/xxhash
+		jemalloc? ( >=dev-libs/jemalloc-5.2.1 )
+		app-arch/libarchive
+		app-arch/zstd
+		app-arch/lz4
+		app-arch/xz-utils
+		app-arch/snappy
+		dev-cpp/sparsehash
+		dev-cpp/gflags
+		dev-cpp/glog[gflags]
+		sys-fs/fuse:3
+		sys-libs/binutils-libs
+		sys-libs/zlib
+		sys-libs/libunwind
+		!dev-cpp/folly"
+BDEPEND="app-text/ronn
+		dev-util/cmake
+		sys-apps/sed
+		sys-devel/bison
+		virtual/pkgconfig"
+
+CHECKREQS_DISK_BUILD="1300M"
+
+DOCS=( "README.md" "CHANGES.md" "TODO" )
+
+CMAKE_IN_SOURCE_BUILD=1
+CMAKE_WARN_UNUSED_CLI=0
+
+src_prepare(){
+	cmake_src_prepare
+	einfo "setting library path to $(get_libdir)"
+	sed "s/DESTINATION lib/DESTINATION $(get_libdir)/" -i CMakeLists.txt || die
+}
+
+src_configure(){
+	einfo "setting configuration flags to:"
+	mycmakeargs=(
+		-DUSE_JEMALLOC=$(usex jemalloc ON OFF)
+		-DWITH_PYTHON=$(usex python ON OFF)
+		-DPREFER_SYSTEM_ZSTD=1
+		-DPREFER_SYSTEM_XXHASH=1
+		-DWITH_LEGACY_FUSE=0
+	)
+	if use python; then mycmakeargs+=( -DWITH_PYTHON_VERSION=${EPYTHON#python} ); fi
+	einfo ${mycmakeargs}
+	cmake_src_configure
+}
+
+src_install(){
+	cmake_src_install
+	dolib.so libmetadata_thrift.so libthrift_light.so
+	dolib.so folly/libfolly.so.0.58.0-dev folly/libfolly.so
+}
+
+pkg_postinst(){
+	elog "Since version 0.4.1 GGC builds has been fixed. Now both Clang and GCC are working very well"
+	elog "You may find more information in the"
+	elog "${HOMEPAGE}"
+	elog "About creating: ${HOMEPAGE}/blob/main/doc/mkdwarfs.md"
+	elog "About mounting: ${HOMEPAGE}/blob/main/doc/dwarfs.md"
+}


^ permalink raw reply related	[flat|nested] 68+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/
@ 2021-03-28 11:14 Andrew Ammerlaan
  0 siblings, 0 replies; 68+ messages in thread
From: Andrew Ammerlaan @ 2021-03-28 11:14 UTC (permalink / raw
  To: gentoo-commits

commit:     8ee547d2d4103ea0d05f539cf0d26d96e6a3de0d
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Sun Mar 28 10:55:07 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Sun Mar 28 10:55:07 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8ee547d2

sys-fs/dwarfs: properly depend on python

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 sys-fs/dwarfs/dwarfs-0.4.1.ebuild | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/sys-fs/dwarfs/dwarfs-0.4.1.ebuild b/sys-fs/dwarfs/dwarfs-0.4.1.ebuild
index 2b5bcade2..8c7493f14 100644
--- a/sys-fs/dwarfs/dwarfs-0.4.1.ebuild
+++ b/sys-fs/dwarfs/dwarfs-0.4.1.ebuild
@@ -10,12 +10,14 @@ inherit cmake check-reqs python-single-r1
 DESCRIPTION="A fast very high compression read-only FUSE file system"
 HOMEPAGE="https://github.com/mhx/dwarfs"
 
-SRC_URI="https://github.com/mhx/dwarfs/releases/download/v${PV}/dwarfs-${PV}.tar.bz2 -> ${P}.tar.bz2"
+SRC_URI="https://github.com/mhx/dwarfs/releases/download/v${PV}/${P}.tar.bz2"
 
 LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="~amd64 ~arm64 ~x86"
+
 IUSE="python +jemalloc"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 #test IUSE disabled because there is no googletest in portage tree at this moment
 #-DWITH_TESTS=$(usex test ON OFF)
@@ -24,7 +26,8 @@ PYTHON_REQ_USE="python"
 
 DEPEND="sys-devel/flex
 		sys-devel/binutils:*"
-RDEPEND="dev-libs/boost[context,threads,python?]
+RDEPEND="${PYTHON_DEPS}
+		dev-libs/boost[context,threads,python?]
 		dev-libs/double-conversion
 		dev-libs/libfmt
 		dev-libs/libevent


^ permalink raw reply related	[flat|nested] 68+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/
@ 2021-03-12  4:52 Denis Reva
  0 siblings, 0 replies; 68+ messages in thread
From: Denis Reva @ 2021-03-12  4:52 UTC (permalink / raw
  To: gentoo-commits

commit:     44c1e9b13ecc74154466591787e80608c6a5d509
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Fri Mar 12 04:52:42 2021 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Fri Mar 12 04:52:42 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=44c1e9b1

sys-fs/dwarfs: fixed check_reqs

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 sys-fs/dwarfs/dwarfs-0.4.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-fs/dwarfs/dwarfs-0.4.0.ebuild b/sys-fs/dwarfs/dwarfs-0.4.0.ebuild
index 2f42f924..9a4fc653 100644
--- a/sys-fs/dwarfs/dwarfs-0.4.0.ebuild
+++ b/sys-fs/dwarfs/dwarfs-0.4.0.ebuild
@@ -49,7 +49,7 @@ BDEPEND="app-text/ronn
 		sys-devel/bison
 		virtual/pkgconfig"
 
-CHECKREQS_DISK_BUILD="1.2G"
+CHECKREQS_DISK_BUILD="13000M"
 
 PATCHES=( ${FILESDIR}/dwarfs-0.4.0-link.patch )
 


^ permalink raw reply related	[flat|nested] 68+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/
@ 2021-03-11 17:16 Denis Reva
  0 siblings, 0 replies; 68+ messages in thread
From: Denis Reva @ 2021-03-11 17:16 UTC (permalink / raw
  To: gentoo-commits

commit:     a2bee12d494d7b71c08b7b5eea57f1eba6e81d2a
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Thu Mar 11 17:16:03 2021 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Thu Mar 11 17:16:22 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a2bee12d

sys-fs/dwarfs: removed deprecated versions

The 0.4.0 is the best ones, and it backward compatible
with elder images!

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 sys-fs/dwarfs/Manifest               |   4 --
 sys-fs/dwarfs/dwarfs-0.2.4.ebuild    |  92 -------------------------------
 sys-fs/dwarfs/dwarfs-0.3.1-r2.ebuild | 103 -----------------------------------
 sys-fs/dwarfs/metadata.xml           |   3 -
 4 files changed, 202 deletions(-)

diff --git a/sys-fs/dwarfs/Manifest b/sys-fs/dwarfs/Manifest
index 76f32318..888cd4ad 100644
--- a/sys-fs/dwarfs/Manifest
+++ b/sys-fs/dwarfs/Manifest
@@ -1,5 +1 @@
-DIST dwarfs-0.2.4.tar.gz 131125 BLAKE2B 06dd11a90d203882a6b2398d6a3e763a269746a57394444e67913bbb66176305e3d6d606a7f35b4c3692d1d761e90d853b268f876004be1e8274b5b16174dcde SHA512 2136f1159eaf80afd6f5a1edda65c7a7f2cb147c7b14a5d19981fbd417e8785c2d7f986df3787587b4b5157bfd299159f4015a017d289bb0c9fba77b337ed3b5
-DIST dwarfs-0.3.1.tar.bz2 8704811 BLAKE2B f7f5a2affae5da78d526891017ac66ed16f73919c7b990b558413c028590e3e3efa2f7e8cc70d97cbad2a0332d91458444898611ea86343a5978bcdf2ed1bf3b SHA512 5776f5da14a5ccbe0e1cf11acec1c9360aa23e2f6751f54a5df200d4625ffc1892658bd4d987ae15fb08ec1f97d7db2a8c42ed80bb6aae062a45e50513e09f51
 DIST dwarfs-0.4.0.tar.bz2 11634383 BLAKE2B a401e891f5453bd8cccbc664066f759c5ffa60568305b44d57fbcc239d6759ff2e6d5fb1450c7424be14e9eb7ab4f9996dce54a78de6e6e5d8b1cbe2d15dc4eb SHA512 b815c4bdb1ac61798ead817f27d8fbfaf234d2698d9f72427b7cd55fd334214f595baf286c979fee344b34c7589d5859df8c6e8259473bf13d7461f1f63d90a6
-DIST fbthrift-2020.11.30.00.tar.gz 5274706 BLAKE2B ad13eb7b66f804c7a667746d72298e05726d1f78a49523a10f2712cc4dbea71999590a2c420e8081d32dc24a7d203e11d5c7e5c15f2627594295cd5533096dd9 SHA512 33b4c1a4cfc8783f99d5da8ae113f877e1f23586f5a854833107805fe35834604e677d7abe690cefeb70baed20cb3cc14449cfae35a9af89594974377bbe0329
-DIST folly-2020.11.30.00.tar.gz 3261437 BLAKE2B 5070819f1f8bac2030e761a8d2330379e8e5ba242d21330b98dcd598cb18e12046a9ad3fb6462f82dbc47c53cf0905c330e707201bfbbedb81f203ef1b30731e SHA512 e7e06bd8c8e38af345d20a04886b4497c4f0c9877263dbcb5a3f2d17c7a3252a2529086a5a04d07c2d3a457ca3930c43672fc4f74b7bdbc2ec0d07abdf1ed425

diff --git a/sys-fs/dwarfs/dwarfs-0.2.4.ebuild b/sys-fs/dwarfs/dwarfs-0.2.4.ebuild
deleted file mode 100644
index 1b8ff79d..00000000
--- a/sys-fs/dwarfs/dwarfs-0.2.4.ebuild
+++ /dev/null
@@ -1,92 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake check-reqs
-
-DESCRIPTION="A fast very high compression read-only FUSE file system"
-HOMEPAGE="https://github.com/mhx/dwarfs"
-
-FBTHRIFT_MAGIC="2020.11.30.00"
-FOLLY_MAGIC="2020.11.30.00"
-
-SRC_URI="https://github.com/mhx/dwarfs/archive/v${PV}.tar.gz -> ${P}.tar.gz
-		https://github.com/facebook/fbthrift/archive/v${FBTHRIFT_MAGIC}.tar.gz -> fbthrift-${FBTHRIFT_MAGIC}.tar.gz
-		https://github.com/facebook/folly/archive/v${FOLLY_MAGIC}.tar.gz -> folly-${FOLLY_MAGIC}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
-IUSE=""
-
-DEPEND="sys-devel/flex
-		sys-devel/binutils:*"
-RDEPEND="dev-libs/boost[context,threads]
-		dev-libs/double-conversion
-		dev-libs/libfmt
-		dev-libs/libevent
-		app-arch/zstd
-		app-arch/lz4
-		app-arch/xz-utils
-		app-arch/snappy
-		dev-cpp/sparsehash
-		dev-cpp/gflags
-		dev-cpp/glog[gflags]
-		sys-fs/fuse:3
-		sys-libs/binutils-libs
-		sys-libs/zlib
-		sys-libs/libunwind
-		!dev-cpp/folly"
-BDEPEND="app-text/ronn
-		dev-util/cmake
-		sys-apps/sed
-		sys-devel/bison
-		virtual/pkgconfig"
-
-CHECKREQS_DISK_BUILD="512M"
-
-DOCS=( "README.md" "CHANGES.md" "TODO" )
-
-CMAKE_IN_SOURCE_BUILD=true
-
-src_unpack(){
-	default
-	rm -d "${S}"/fbthrift/
-	rm -d "${S}"/folly/
-	mv "${WORKDIR}/fbthrift-${FBTHRIFT_MAGIC}" "${S}"/fbthrift/
-	mv "${WORKDIR}/folly-${FBTHRIFT_MAGIC}" "${S}"/folly/
-}
-
-src_prepare(){
-	einfo "setting path to $(get_libdir)"
-	pushd "${S}"/folly
-		sed "s/lib CACHE/$(get_libdir) CACHE/" -i CMakeLists.txt || die
-		sed "s/lib\/cmake\/folly CACHE/$(get_libdir)\/cmake\/folly CACHE/" -i CMakeLists.txt || die
-	popd
-	pushd "${S}"/fbthrift
-		sed "s/lib CACHE/$(get_libdir) CACHE/" -i CMakeLists.txt || die
-		sed "s/lib\/cmake\/fbthrift CACHE/$(get_libdir)\/cmake\/fbthrift CACHE/" -i CMakeLists.txt || die
-	popd
-	sed "s/DESTINATION lib/DESTINATION $(get_libdir)/" -i CMakeLists.txt || die
-	cmake_src_prepare
-}
-
-src_install(){
-	cmake_src_install
-	dolib.so libmetadata_thrift.so libthrift_light.so
-	dolib.so folly/libfolly.so.0.58.0-dev folly/libfolly.so
-}
-
-pkg_postinst(){
-	elog "Test shows that dwarfs compiled with Clang is substantially faster than GCC ones"
-	elog "See https://github.com/mhx/dwarfs/issues/14"
-	elog "So you may want to compile it independently with Clang by the"
-	elog "https://wiki.gentoo.org/wiki/Clang"
-	elog "And with the per-package settings:"
-	elog "https://wiki.gentoo.org/wiki/Handbook:AMD64/Portage/Advanced#Per-package_environment_variables"
-	elog "Also you may find more information in the"
-	elog "${HOMEPAGE}"
-	elog "About creating: ${HOMEPAGE}/blob/main/doc/mkdwarfs.md"
-	elog "About mounting: ${HOMEPAGE}/blob/main/doc/dwarfs.md"
-}

diff --git a/sys-fs/dwarfs/dwarfs-0.3.1-r2.ebuild b/sys-fs/dwarfs/dwarfs-0.3.1-r2.ebuild
deleted file mode 100644
index d3be4941..00000000
--- a/sys-fs/dwarfs/dwarfs-0.3.1-r2.ebuild
+++ /dev/null
@@ -1,103 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7,8,9} )
-
-inherit cmake check-reqs python-single-r1
-
-DESCRIPTION="A fast very high compression read-only FUSE file system"
-HOMEPAGE="https://github.com/mhx/dwarfs"
-
-SRC_URI="https://github.com/mhx/dwarfs/releases/download/v${PV}/dwarfs-${PV}.tar.bz2 -> ${P}.tar.bz2"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
-IUSE="python +jemalloc fuse2"
-
-#test IUSE disabled because there is no googletest in portage tree
-#-DWITH_TESTS=$(usex test ON OFF)
-
-PYTHON_REQ_USE="python"
-
-DEPEND="sys-devel/flex
-		sys-devel/binutils:*"
-RDEPEND="dev-libs/boost[context,threads,python?]
-		dev-libs/double-conversion
-		dev-libs/libfmt
-		dev-libs/libevent
-		dev-libs/xxhash
-		jemalloc? ( >=dev-libs/jemalloc-5.2.1 )
-		app-arch/zstd
-		app-arch/lz4
-		app-arch/xz-utils
-		app-arch/snappy
-		dev-cpp/sparsehash
-		dev-cpp/gflags
-		dev-cpp/glog[gflags]
-		sys-fs/fuse:3
-		fuse2? ( sys-fs/fuse:0 )
-		sys-libs/binutils-libs
-		sys-libs/zlib
-		sys-libs/libunwind
-		!dev-cpp/folly"
-BDEPEND="app-text/ronn
-		dev-util/cmake
-		sys-apps/sed
-		sys-devel/bison
-		virtual/pkgconfig"
-
-CHECKREQS_DISK_BUILD="768M"
-
-DOCS=( "README.md" "CHANGES.md" "TODO" )
-
-CMAKE_IN_SOURCE_BUILD=1
-CMAKE_WARN_UNUSED_CLI=0
-
-QA_SONAME="${D}/usr/lib64/libdwarfs.so ${D}/usr/lib64/libxxhash.so"
-
-src_prepare(){
-	einfo "setting library path to $(get_libdir)"
-	sed "s/DESTINATION lib/DESTINATION $(get_libdir)/" -i CMakeLists.txt || die
-	cmake_src_prepare
-}
-
-src_configure(){
-	einfo "setting configuration flags to:"
-	mycmakeargs=(
-		-DUSE_JEMALLOC=$(usex jemalloc ON OFF)
-		-DWITH_PYTHON=$(usex python ON OFF)
-	)
-	if use python; then mycmakeargs+=( -DWITH_PYTHON_VERSION=${EPYTHON#python} ); fi
-	einfo ${mycmakeargs}
-	cmake_src_configure
-}
-
-src_install(){
-	cmake_src_install
-	dolib.so libmetadata_thrift.so libthrift_light.so
-	dolib.so folly/libfolly.so.0.58.0-dev folly/libfolly.so
-	if ! use fuse2; then
-		rm "${D}"/usr/sbin/dwarfs2
-		rm "${D}"/usr/sbin/mount.dwarfs2
-		else
-			ewarn "If you have both sys-fs/fuse:2 and sys-fs/fuse:3 installed"
-			ewarn "Dwarfs will install /sbin/dwarfs for fuse3 and /sbin/dwarfs2 for fuse2"
-			ewarn "See https://github.com/mhx/dwarfs/issues/32"
-	fi
-}
-
-pkg_postinst(){
-	elog "Test shows that dwarfs compiled with Clang is substantially faster than GCC ones"
-	elog "See https://github.com/mhx/dwarfs/issues/14"
-	elog "So you may want to compile it independently with Clang by the"
-	elog "https://wiki.gentoo.org/wiki/Clang"
-	elog "And with the per-package settings:"
-	elog "https://wiki.gentoo.org/wiki/Handbook:AMD64/Portage/Advanced#Per-package_environment_variables"
-	elog "Also you may find more information in the"
-	elog "${HOMEPAGE}"
-	elog "About creating: ${HOMEPAGE}/blob/main/doc/mkdwarfs.md"
-	elog "About mounting: ${HOMEPAGE}/blob/main/doc/dwarfs.md"
-}

diff --git a/sys-fs/dwarfs/metadata.xml b/sys-fs/dwarfs/metadata.xml
index f3f1fbff..17e2efa0 100644
--- a/sys-fs/dwarfs/metadata.xml
+++ b/sys-fs/dwarfs/metadata.xml
@@ -16,7 +16,4 @@
 		* Highly multi-threaded implementation. Both the file system creation tool as well as the FUSE driver are able to make good use of the many cores of your system.
 		* Optional experimental Lua support to provide custom filtering and ordering functionality.
 	</longdescription>
-	<use>
-		<flag name="fuse2">Install optional fuse2 bindings in addition to fuse3.</flag>
-	</use>
 </pkgmetadata>


^ permalink raw reply related	[flat|nested] 68+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/
@ 2021-02-06  5:54 Denis Reva
  0 siblings, 0 replies; 68+ messages in thread
From: Denis Reva @ 2021-02-06  5:54 UTC (permalink / raw
  To: gentoo-commits

commit:     14336c40363bacaee85fe71b867d81b2ffdcf9e1
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Sat Feb  6 05:54:37 2021 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Sat Feb  6 05:54:37 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=14336c40

sys-fs/dwarfs: cleaning up things

Added fuse2 use flag for those who want optional fuse2
bindings

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 .../{dwarfs-0.3.1-r1.ebuild => dwarfs-0.3.1-r2.ebuild} | 18 ++++++++++++------
 sys-fs/dwarfs/metadata.xml                             |  3 +++
 2 files changed, 15 insertions(+), 6 deletions(-)

diff --git a/sys-fs/dwarfs/dwarfs-0.3.1-r1.ebuild b/sys-fs/dwarfs/dwarfs-0.3.1-r2.ebuild
similarity index 85%
rename from sys-fs/dwarfs/dwarfs-0.3.1-r1.ebuild
rename to sys-fs/dwarfs/dwarfs-0.3.1-r2.ebuild
index 4dcf6a8e..d3be4941 100644
--- a/sys-fs/dwarfs/dwarfs-0.3.1-r1.ebuild
+++ b/sys-fs/dwarfs/dwarfs-0.3.1-r2.ebuild
@@ -15,7 +15,7 @@ SRC_URI="https://github.com/mhx/dwarfs/releases/download/v${PV}/dwarfs-${PV}.tar
 LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="~amd64 ~arm64 ~x86"
-IUSE="python +jemalloc"
+IUSE="python +jemalloc fuse2"
 
 #test IUSE disabled because there is no googletest in portage tree
 #-DWITH_TESTS=$(usex test ON OFF)
@@ -38,6 +38,7 @@ RDEPEND="dev-libs/boost[context,threads,python?]
 		dev-cpp/gflags
 		dev-cpp/glog[gflags]
 		sys-fs/fuse:3
+		fuse2? ( sys-fs/fuse:0 )
 		sys-libs/binutils-libs
 		sys-libs/zlib
 		sys-libs/libunwind
@@ -52,8 +53,8 @@ CHECKREQS_DISK_BUILD="768M"
 
 DOCS=( "README.md" "CHANGES.md" "TODO" )
 
-CMAKE_IN_SOURCE_BUILD=true
-CMAKE_WARN_UNUSED_CLI=no
+CMAKE_IN_SOURCE_BUILD=1
+CMAKE_WARN_UNUSED_CLI=0
 
 QA_SONAME="${D}/usr/lib64/libdwarfs.so ${D}/usr/lib64/libxxhash.so"
 
@@ -78,6 +79,14 @@ src_install(){
 	cmake_src_install
 	dolib.so libmetadata_thrift.so libthrift_light.so
 	dolib.so folly/libfolly.so.0.58.0-dev folly/libfolly.so
+	if ! use fuse2; then
+		rm "${D}"/usr/sbin/dwarfs2
+		rm "${D}"/usr/sbin/mount.dwarfs2
+		else
+			ewarn "If you have both sys-fs/fuse:2 and sys-fs/fuse:3 installed"
+			ewarn "Dwarfs will install /sbin/dwarfs for fuse3 and /sbin/dwarfs2 for fuse2"
+			ewarn "See https://github.com/mhx/dwarfs/issues/32"
+	fi
 }
 
 pkg_postinst(){
@@ -91,7 +100,4 @@ pkg_postinst(){
 	elog "${HOMEPAGE}"
 	elog "About creating: ${HOMEPAGE}/blob/main/doc/mkdwarfs.md"
 	elog "About mounting: ${HOMEPAGE}/blob/main/doc/dwarfs.md"
-	ewarn "If you have both sys-fs/fuse:2 and sys-fs/fuse:3 installed"
-	ewarn "Dwarfs will install /sbin/dwarfs for fuse3 and /sbin/dwarfs2 for fuse2"
-	ewarn "See https://github.com/mhx/dwarfs/issues/32"
 }

diff --git a/sys-fs/dwarfs/metadata.xml b/sys-fs/dwarfs/metadata.xml
index 17e2efa0..f3f1fbff 100644
--- a/sys-fs/dwarfs/metadata.xml
+++ b/sys-fs/dwarfs/metadata.xml
@@ -16,4 +16,7 @@
 		* Highly multi-threaded implementation. Both the file system creation tool as well as the FUSE driver are able to make good use of the many cores of your system.
 		* Optional experimental Lua support to provide custom filtering and ordering functionality.
 	</longdescription>
+	<use>
+		<flag name="fuse2">Install optional fuse2 bindings in addition to fuse3.</flag>
+	</use>
 </pkgmetadata>


^ permalink raw reply related	[flat|nested] 68+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/
@ 2021-01-10  5:56 Denis Reva
  0 siblings, 0 replies; 68+ messages in thread
From: Denis Reva @ 2021-01-10  5:56 UTC (permalink / raw
  To: gentoo-commits

commit:     e44ebc6e41c961bdfca22f288e90566cf88a5810
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Sun Jan 10 05:39:21 2021 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Sun Jan 10 05:39:49 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e44ebc6e

sys-fs/dwarfs: warning if fuse2 and fuse3 installed both

In case there are both fuse2 and fuse3 version is installed
DwarFS will build binaries for both
(/usr/sbin/dwarfs for fuse3 and /usr/sbin/dwarfs2 for fuse2).
Added warning.

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 sys-fs/dwarfs/{dwarfs-0.3.1.ebuild => dwarfs-0.3.1-r1.ebuild} | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sys-fs/dwarfs/dwarfs-0.3.1.ebuild b/sys-fs/dwarfs/dwarfs-0.3.1-r1.ebuild
similarity index 92%
rename from sys-fs/dwarfs/dwarfs-0.3.1.ebuild
rename to sys-fs/dwarfs/dwarfs-0.3.1-r1.ebuild
index ece7ed8b..d175ad7b 100644
--- a/sys-fs/dwarfs/dwarfs-0.3.1.ebuild
+++ b/sys-fs/dwarfs/dwarfs-0.3.1-r1.ebuild
@@ -91,4 +91,7 @@ pkg_postinst(){
 	elog "${HOMEPAGE}"
 	elog "About creating: ${HOMEPAGE}/blob/main/doc/mkdwarfs.md"
 	elog "About mounting: ${HOMEPAGE}/blob/main/doc/dwarfs.md"
+	ewarn "If you have both sys-fs/fuse:2 and sys-fs/fuse:3 installed"
+	ewarn "Dwarfs will install /sbin/dwarfs for fuse3 and /sbin/dwarfs2 for fuse2"
+	ewarn "See https://github.com/mhx/dwarfs/issues/32"
 }


^ permalink raw reply related	[flat|nested] 68+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/
@ 2021-01-07 19:41 Denis Reva
  0 siblings, 0 replies; 68+ messages in thread
From: Denis Reva @ 2021-01-07 19:41 UTC (permalink / raw
  To: gentoo-commits

commit:     a0bb3020f949ef0fe00caff718c38e5641b5d54d
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Thu Jan  7 19:33:09 2021 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Thu Jan  7 19:33:09 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a0bb3020

sys-fs/dwarfs: new version 0.3.1

Ebuild changes:
* Added use flags for jemalloc and python
Upsteam changes:
Even better compression than before
Mostly thanks to a new ordering algorithm that is now
enabled by default, I've seen a 15% improvement in achievable
compression ratio. In my standard test of packing 48 GiB of
Perl installations, the resulting DwarFS image size reduced
from 556 MiB to 472 MiB without any regression in
compression speed.

More memory efficient FUSE driver
By switching to jemalloc, the FUSE driver has become much
more memory efficient, using up to ten times less memory
than with the standard glibc allocator.

Python scripting support
The Lua scripting interface has been fully replaced by
a new Python interface. I've been looking for a
luabind replacement, but none of the candidates seemed
to be well maintained or reasonably easy to integrate.
Python is much more approachable for most people and
boost::python seems well maintained. The new interface
also has a lot more features. You can find an
example script in the distribution.

Fix for file system images created with versions
before dwarfs-0.2.3
If you've created DwarFS images with the 0.2.0,
0.2.1 or 0.2.2 releases, symbolic links were stored
in a way that the FUSE driver in the 0.2.x releases
could not read them back correctly. With the
new 0.3.0 release, these old images, including the
symbolic links, can now be read again, so there's
no need to rebuild your old images.

Improved file system format
The file system format has been updated with
the 0.3.0 release to include integrity checking via
SHA2-512/256 hashes as well as features that should make
recovery easier in case of file system image corruption.
In addition to the SHA hashes, the extremely fast xxHash
library is used to store a second hash that is
checked every time any part of the file system is
used. While there are currently no recovery features
implemented, having this data in the file system
already should be really valuable. You can convert
an old image to the new format using:

mkdwarfs -i old.dwarfs -o new.dwarfs --recompress none
Statically linked 64-bit Linux binaries available
Given the long list of dependencies, building DwarFS
might not be an option for you. In that case, you can
now download the binary distribution that should work
 fine on most 64-bit Linux distributions.
FUSE drivers are included for both FUSE2 and FUSE3

Lots of smaller fixes & changes
See the Change Log for a full list of changes.

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 sys-fs/dwarfs/Manifest            |  1 +
 sys-fs/dwarfs/dwarfs-0.3.1.ebuild | 94 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 95 insertions(+)

diff --git a/sys-fs/dwarfs/Manifest b/sys-fs/dwarfs/Manifest
index a46c3f8f..4a31b877 100644
--- a/sys-fs/dwarfs/Manifest
+++ b/sys-fs/dwarfs/Manifest
@@ -1,3 +1,4 @@
 DIST dwarfs-0.2.4.tar.gz 131125 BLAKE2B 06dd11a90d203882a6b2398d6a3e763a269746a57394444e67913bbb66176305e3d6d606a7f35b4c3692d1d761e90d853b268f876004be1e8274b5b16174dcde SHA512 2136f1159eaf80afd6f5a1edda65c7a7f2cb147c7b14a5d19981fbd417e8785c2d7f986df3787587b4b5157bfd299159f4015a017d289bb0c9fba77b337ed3b5
+DIST dwarfs-0.3.1.tar.bz2 8704811 BLAKE2B f7f5a2affae5da78d526891017ac66ed16f73919c7b990b558413c028590e3e3efa2f7e8cc70d97cbad2a0332d91458444898611ea86343a5978bcdf2ed1bf3b SHA512 5776f5da14a5ccbe0e1cf11acec1c9360aa23e2f6751f54a5df200d4625ffc1892658bd4d987ae15fb08ec1f97d7db2a8c42ed80bb6aae062a45e50513e09f51
 DIST fbthrift-2020.11.30.00.tar.gz 5274706 BLAKE2B ad13eb7b66f804c7a667746d72298e05726d1f78a49523a10f2712cc4dbea71999590a2c420e8081d32dc24a7d203e11d5c7e5c15f2627594295cd5533096dd9 SHA512 33b4c1a4cfc8783f99d5da8ae113f877e1f23586f5a854833107805fe35834604e677d7abe690cefeb70baed20cb3cc14449cfae35a9af89594974377bbe0329
 DIST folly-2020.11.30.00.tar.gz 3261437 BLAKE2B 5070819f1f8bac2030e761a8d2330379e8e5ba242d21330b98dcd598cb18e12046a9ad3fb6462f82dbc47c53cf0905c330e707201bfbbedb81f203ef1b30731e SHA512 e7e06bd8c8e38af345d20a04886b4497c4f0c9877263dbcb5a3f2d17c7a3252a2529086a5a04d07c2d3a457ca3930c43672fc4f74b7bdbc2ec0d07abdf1ed425

diff --git a/sys-fs/dwarfs/dwarfs-0.3.1.ebuild b/sys-fs/dwarfs/dwarfs-0.3.1.ebuild
new file mode 100644
index 00000000..ece7ed8b
--- /dev/null
+++ b/sys-fs/dwarfs/dwarfs-0.3.1.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8,9} )
+
+inherit cmake check-reqs python-single-r1
+
+DESCRIPTION="A fast very high compression read-only FUSE file system"
+HOMEPAGE="https://github.com/mhx/dwarfs"
+
+SRC_URI="https://github.com/mhx/dwarfs/releases/download/v${PV}/dwarfs-${PV}.tar.bz2 -> ${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="python +jemalloc"
+
+#test IUSE disabled because there is no googletest in portage tree
+#-DWITH_TESTS=$(usex test ON OFF)
+
+PYTHON_REQ_USE="python"
+
+DEPEND="sys-devel/flex
+		sys-devel/binutils:*"
+RDEPEND="dev-libs/boost[context,threads,python?]
+		dev-libs/double-conversion
+		dev-libs/libfmt
+		dev-libs/libevent
+		dev-libs/xxhash
+		jemalloc? ( >=dev-libs/jemalloc-5.2.1 )
+		app-arch/zstd
+		app-arch/lz4
+		app-arch/xz-utils
+		app-arch/snappy
+		dev-cpp/sparsehash
+		dev-cpp/gflags
+		dev-cpp/glog[gflags]
+		sys-fs/fuse:3
+		sys-libs/binutils-libs
+		sys-libs/zlib
+		sys-libs/libunwind
+		!dev-cpp/folly"
+BDEPEND="app-text/ronn
+		dev-util/cmake
+		sys-apps/sed
+		sys-devel/bison
+		virtual/pkgconfig"
+
+CHECKREQS_DISK_BUILD="768M"
+
+DOCS=( "README.md" "CHANGES.md" "TODO" )
+
+CMAKE_IN_SOURCE_BUILD=true
+CMAKE_WARN_UNUSED_CLI=no
+
+QA_SONAME="${D}/usr/lib64/libdwarfs.so ${D}/usr/lib64/libxxhash.so"
+
+src_prepare(){
+	einfo "setting library path to $(get_libdir)"
+	sed "s/DESTINATION lib/DESTINATION $(get_libdir)/" -i CMakeLists.txt || die
+	cmake_src_prepare
+}
+
+src_configure(){
+	einfo "setting configuration flags to:"
+	mycmakeargs=(
+		-DUSE_JEMALLOC=$(usex jemalloc ON OFF)
+		-DWITH_PYTHON=$(usex python ON OFF)
+	)
+	if use python; then mycmakeargs+=( -DWITH_PYTHON_VERSION=${EPYTHON#python} ); fi
+	einfo ${mycmakeargs}
+	cmake_src_configure
+}
+
+src_install(){
+	cmake_src_install
+	dolib.so libmetadata_thrift.so libthrift_light.so
+	dolib.so folly/libfolly.so.0.58.0-dev folly/libfolly.so
+}
+
+pkg_postinst(){
+	elog "Test shows that dwarfs compiled with Clang is substantially faster than GCC ones"
+	elog "See https://github.com/mhx/dwarfs/issues/14"
+	elog "So you may want to compile it independently with Clang by the"
+	elog "https://wiki.gentoo.org/wiki/Clang"
+	elog "And with the per-package settings:"
+	elog "https://wiki.gentoo.org/wiki/Handbook:AMD64/Portage/Advanced#Per-package_environment_variables"
+	elog "Also you may find more information in the"
+	elog "${HOMEPAGE}"
+	elog "About creating: ${HOMEPAGE}/blob/main/doc/mkdwarfs.md"
+	elog "About mounting: ${HOMEPAGE}/blob/main/doc/dwarfs.md"
+}


^ permalink raw reply related	[flat|nested] 68+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/
@ 2020-12-13 13:30 Denis Reva
  0 siblings, 0 replies; 68+ messages in thread
From: Denis Reva @ 2020-12-13 13:30 UTC (permalink / raw
  To: gentoo-commits

commit:     b67b263e6b64f0e1a4804a7a8a5ff6cfd4280e11
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Sun Dec 13 13:30:14 2020 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Sun Dec 13 13:30:23 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b67b263e

sys-fs/dwarfs: updated to 0.2.4

Upstream changes:
Fix --set-owner and --set-group options, which caused an
exception to be thrown at the end of creating a file system.
(fixes github #24)

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 sys-fs/dwarfs/Manifest                                        | 2 +-
 sys-fs/dwarfs/{dwarfs-0.2.3-r4.ebuild => dwarfs-0.2.4.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-fs/dwarfs/Manifest b/sys-fs/dwarfs/Manifest
index 51b331f4..a46c3f8f 100644
--- a/sys-fs/dwarfs/Manifest
+++ b/sys-fs/dwarfs/Manifest
@@ -1,3 +1,3 @@
-DIST dwarfs-0.2.3.tar.gz 131021 BLAKE2B 4bdcbc7c775b4e20dc523f77e7fb84a9cd978df8c63bfd2300343bbf4dd49394e8f0fb1779ac990174c38acb2dbe1444404c518c22382da8e36e13e65343c568 SHA512 4638f3a9d712ead6701f3b739d0239ddf5f742c02cf4723079df702549c3af179b798b833bd69b77eeffb68df670fbcedff70ef8d7a88e4c9e5dd42b090eed63
+DIST dwarfs-0.2.4.tar.gz 131125 BLAKE2B 06dd11a90d203882a6b2398d6a3e763a269746a57394444e67913bbb66176305e3d6d606a7f35b4c3692d1d761e90d853b268f876004be1e8274b5b16174dcde SHA512 2136f1159eaf80afd6f5a1edda65c7a7f2cb147c7b14a5d19981fbd417e8785c2d7f986df3787587b4b5157bfd299159f4015a017d289bb0c9fba77b337ed3b5
 DIST fbthrift-2020.11.30.00.tar.gz 5274706 BLAKE2B ad13eb7b66f804c7a667746d72298e05726d1f78a49523a10f2712cc4dbea71999590a2c420e8081d32dc24a7d203e11d5c7e5c15f2627594295cd5533096dd9 SHA512 33b4c1a4cfc8783f99d5da8ae113f877e1f23586f5a854833107805fe35834604e677d7abe690cefeb70baed20cb3cc14449cfae35a9af89594974377bbe0329
 DIST folly-2020.11.30.00.tar.gz 3261437 BLAKE2B 5070819f1f8bac2030e761a8d2330379e8e5ba242d21330b98dcd598cb18e12046a9ad3fb6462f82dbc47c53cf0905c330e707201bfbbedb81f203ef1b30731e SHA512 e7e06bd8c8e38af345d20a04886b4497c4f0c9877263dbcb5a3f2d17c7a3252a2529086a5a04d07c2d3a457ca3930c43672fc4f74b7bdbc2ec0d07abdf1ed425

diff --git a/sys-fs/dwarfs/dwarfs-0.2.3-r4.ebuild b/sys-fs/dwarfs/dwarfs-0.2.4.ebuild
similarity index 100%
rename from sys-fs/dwarfs/dwarfs-0.2.3-r4.ebuild
rename to sys-fs/dwarfs/dwarfs-0.2.4.ebuild


^ permalink raw reply related	[flat|nested] 68+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/
@ 2020-12-10 15:11 Denis Reva
  0 siblings, 0 replies; 68+ messages in thread
From: Denis Reva @ 2020-12-10 15:11 UTC (permalink / raw
  To: gentoo-commits

commit:     660fe158ec58a901cc42d6aea9b2cde89cb91755
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Thu Dec 10 15:10:42 2020 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Thu Dec 10 15:10:56 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=660fe158

sys-fs/dwarfs: fixed a typo with installation

I wrote default in src_install section instead of cmake_src_install accidently

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 sys-fs/dwarfs/{dwarfs-0.2.3-r3.ebuild => dwarfs-0.2.3-r4.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-fs/dwarfs/dwarfs-0.2.3-r3.ebuild b/sys-fs/dwarfs/dwarfs-0.2.3-r4.ebuild
similarity index 99%
rename from sys-fs/dwarfs/dwarfs-0.2.3-r3.ebuild
rename to sys-fs/dwarfs/dwarfs-0.2.3-r4.ebuild
index 33378106..1b8ff79d 100644
--- a/sys-fs/dwarfs/dwarfs-0.2.3-r3.ebuild
+++ b/sys-fs/dwarfs/dwarfs-0.2.3-r4.ebuild
@@ -73,7 +73,7 @@ src_prepare(){
 }
 
 src_install(){
-	default
+	cmake_src_install
 	dolib.so libmetadata_thrift.so libthrift_light.so
 	dolib.so folly/libfolly.so.0.58.0-dev folly/libfolly.so
 }


^ permalink raw reply related	[flat|nested] 68+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/
@ 2020-12-10  7:52 Denis Reva
  0 siblings, 0 replies; 68+ messages in thread
From: Denis Reva @ 2020-12-10  7:52 UTC (permalink / raw
  To: gentoo-commits

commit:     9af62856376919175e55dd886076f57173b2f714
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Thu Dec 10 07:51:56 2020 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Thu Dec 10 07:51:56 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9af62856

sys-fs/dwarfs: fixed bug with installation of libraries

Fixed a bug where libraries are not properly installed
Fixed a conflict with dev-cpp/folly (the package use
bundled ones)

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 .../dwarfs/{dwarfs-0.2.3-r2.ebuild => dwarfs-0.2.3-r3.ebuild} | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/sys-fs/dwarfs/dwarfs-0.2.3-r2.ebuild b/sys-fs/dwarfs/dwarfs-0.2.3-r3.ebuild
similarity index 92%
rename from sys-fs/dwarfs/dwarfs-0.2.3-r2.ebuild
rename to sys-fs/dwarfs/dwarfs-0.2.3-r3.ebuild
index 050f3888..33378106 100644
--- a/sys-fs/dwarfs/dwarfs-0.2.3-r2.ebuild
+++ b/sys-fs/dwarfs/dwarfs-0.2.3-r3.ebuild
@@ -36,7 +36,8 @@ RDEPEND="dev-libs/boost[context,threads]
 		sys-fs/fuse:3
 		sys-libs/binutils-libs
 		sys-libs/zlib
-		sys-libs/libunwind"
+		sys-libs/libunwind
+		!dev-cpp/folly"
 BDEPEND="app-text/ronn
 		dev-util/cmake
 		sys-apps/sed
@@ -47,6 +48,8 @@ CHECKREQS_DISK_BUILD="512M"
 
 DOCS=( "README.md" "CHANGES.md" "TODO" )
 
+CMAKE_IN_SOURCE_BUILD=true
+
 src_unpack(){
 	default
 	rm -d "${S}"/fbthrift/
@@ -69,6 +72,12 @@ src_prepare(){
 	cmake_src_prepare
 }
 
+src_install(){
+	default
+	dolib.so libmetadata_thrift.so libthrift_light.so
+	dolib.so folly/libfolly.so.0.58.0-dev folly/libfolly.so
+}
+
 pkg_postinst(){
 	elog "Test shows that dwarfs compiled with Clang is substantially faster than GCC ones"
 	elog "See https://github.com/mhx/dwarfs/issues/14"


^ permalink raw reply related	[flat|nested] 68+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/
@ 2020-12-08  7:28 Denis Reva
  0 siblings, 0 replies; 68+ messages in thread
From: Denis Reva @ 2020-12-08  7:28 UTC (permalink / raw
  To: gentoo-commits

commit:     50fe719866a2455b1d22d4d0610bef98ed379689
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Tue Dec  8 07:28:14 2020 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Tue Dec  8 07:28:14 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=50fe7198

sys-fs/dwarfs: added ~arm64, improve dependencies

I have added ~arm64 keyword since #758008 fixed

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 ...arfs-0.2.3-r1.ebuild => dwarfs-0.2.3-r2.ebuild} | 25 +++++++---------------
 1 file changed, 8 insertions(+), 17 deletions(-)

diff --git a/sys-fs/dwarfs/dwarfs-0.2.3-r1.ebuild b/sys-fs/dwarfs/dwarfs-0.2.3-r2.ebuild
similarity index 89%
rename from sys-fs/dwarfs/dwarfs-0.2.3-r1.ebuild
rename to sys-fs/dwarfs/dwarfs-0.2.3-r2.ebuild
index 236e19ac..050f3888 100644
--- a/sys-fs/dwarfs/dwarfs-0.2.3-r1.ebuild
+++ b/sys-fs/dwarfs/dwarfs-0.2.3-r2.ebuild
@@ -17,34 +17,25 @@ SRC_URI="https://github.com/mhx/dwarfs/archive/v${PV}.tar.gz -> ${P}.tar.gz
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~arm64 ~x86"
 IUSE=""
 
-DEPEND="app-arch/zstd
-		app-arch/lz4
-		app-arch/xz-utils
-		app-arch/snappy
-		dev-libs/boost[context,threads]
+DEPEND="sys-devel/flex
+		sys-devel/binutils:*"
+RDEPEND="dev-libs/boost[context,threads]
 		dev-libs/double-conversion
 		dev-libs/libfmt
 		dev-libs/libevent
-		dev-cpp/gflags
-		dev-cpp/glog[gflags]
-		dev-cpp/sparsehash
-		sys-libs/binutils-libs
-		sys-libs/libunwind
-		sys-fs/fuse:3
-		sys-devel/flex
-		sys-devel/binutils:*
-		sys-libs/zlib"
-RDEPEND="dev-libs/boost[context,threads]
-		dev-libs/double-conversion
 		app-arch/zstd
 		app-arch/lz4
 		app-arch/xz-utils
 		app-arch/snappy
+		dev-cpp/sparsehash
+		dev-cpp/gflags
+		dev-cpp/glog[gflags]
 		sys-fs/fuse:3
 		sys-libs/binutils-libs
+		sys-libs/zlib
 		sys-libs/libunwind"
 BDEPEND="app-text/ronn
 		dev-util/cmake


^ permalink raw reply related	[flat|nested] 68+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/
@ 2020-12-04  4:17 Denis Reva
  0 siblings, 0 replies; 68+ messages in thread
From: Denis Reva @ 2020-12-04  4:17 UTC (permalink / raw
  To: gentoo-commits

commit:     9451553d984344165085af76e246c312d3c96ee0
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Fri Dec  4 04:16:49 2020 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Fri Dec  4 04:17:24 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9451553d

sys-fs/dwarfs: removed unused jemalloc

Removed unused jemalloc dependency and USE, see:
See https://github.com/mhx/dwarfs/issues/17

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 sys-fs/dwarfs/{dwarfs-0.2.3.ebuild => dwarfs-0.2.3-r1.ebuild} | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/sys-fs/dwarfs/dwarfs-0.2.3.ebuild b/sys-fs/dwarfs/dwarfs-0.2.3-r1.ebuild
similarity index 96%
rename from sys-fs/dwarfs/dwarfs-0.2.3.ebuild
rename to sys-fs/dwarfs/dwarfs-0.2.3-r1.ebuild
index c5976474..236e19ac 100644
--- a/sys-fs/dwarfs/dwarfs-0.2.3.ebuild
+++ b/sys-fs/dwarfs/dwarfs-0.2.3-r1.ebuild
@@ -18,7 +18,7 @@ SRC_URI="https://github.com/mhx/dwarfs/archive/v${PV}.tar.gz -> ${P}.tar.gz
 LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="jemalloc"
+IUSE=""
 
 DEPEND="app-arch/zstd
 		app-arch/lz4
@@ -36,8 +36,7 @@ DEPEND="app-arch/zstd
 		sys-fs/fuse:3
 		sys-devel/flex
 		sys-devel/binutils:*
-		sys-libs/zlib
-		jemalloc? ( dev-libs/jemalloc )"
+		sys-libs/zlib"
 RDEPEND="dev-libs/boost[context,threads]
 		dev-libs/double-conversion
 		app-arch/zstd
@@ -81,7 +80,7 @@ src_prepare(){
 
 pkg_postinst(){
 	elog "Test shows that dwarfs compiled with Clang is substantially faster than GCC ones"
-	elog "See ${HOMEPAGE}"
+	elog "See https://github.com/mhx/dwarfs/issues/14"
 	elog "So you may want to compile it independently with Clang by the"
 	elog "https://wiki.gentoo.org/wiki/Clang"
 	elog "And with the per-package settings:"


^ permalink raw reply related	[flat|nested] 68+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/
@ 2020-12-02  7:34 Denis Reva
  0 siblings, 0 replies; 68+ messages in thread
From: Denis Reva @ 2020-12-02  7:34 UTC (permalink / raw
  To: gentoo-commits

commit:     c54f1d5636d1ca49e21634a81af3bf7a9609581d
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Wed Dec  2 07:34:35 2020 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Wed Dec  2 07:34:35 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c54f1d56

sys-fs/dwarfs: A fast high compression read-only file system

I has just ported new package:
https://github.com/mhx/dwarfs
It's file-system like squashfs but compresses stronger

I had to use built-in libs because they hard-coded,
and furthermore they used partially

So It no more require dev-cpp/folly,
and I thought about deleting its.

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 sys-fs/dwarfs/Manifest            |  3 ++
 sys-fs/dwarfs/dwarfs-0.2.3.ebuild | 93 +++++++++++++++++++++++++++++++++++++++
 sys-fs/dwarfs/metadata.xml        | 19 ++++++++
 3 files changed, 115 insertions(+)

diff --git a/sys-fs/dwarfs/Manifest b/sys-fs/dwarfs/Manifest
new file mode 100644
index 00000000..51b331f4
--- /dev/null
+++ b/sys-fs/dwarfs/Manifest
@@ -0,0 +1,3 @@
+DIST dwarfs-0.2.3.tar.gz 131021 BLAKE2B 4bdcbc7c775b4e20dc523f77e7fb84a9cd978df8c63bfd2300343bbf4dd49394e8f0fb1779ac990174c38acb2dbe1444404c518c22382da8e36e13e65343c568 SHA512 4638f3a9d712ead6701f3b739d0239ddf5f742c02cf4723079df702549c3af179b798b833bd69b77eeffb68df670fbcedff70ef8d7a88e4c9e5dd42b090eed63
+DIST fbthrift-2020.11.30.00.tar.gz 5274706 BLAKE2B ad13eb7b66f804c7a667746d72298e05726d1f78a49523a10f2712cc4dbea71999590a2c420e8081d32dc24a7d203e11d5c7e5c15f2627594295cd5533096dd9 SHA512 33b4c1a4cfc8783f99d5da8ae113f877e1f23586f5a854833107805fe35834604e677d7abe690cefeb70baed20cb3cc14449cfae35a9af89594974377bbe0329
+DIST folly-2020.11.30.00.tar.gz 3261437 BLAKE2B 5070819f1f8bac2030e761a8d2330379e8e5ba242d21330b98dcd598cb18e12046a9ad3fb6462f82dbc47c53cf0905c330e707201bfbbedb81f203ef1b30731e SHA512 e7e06bd8c8e38af345d20a04886b4497c4f0c9877263dbcb5a3f2d17c7a3252a2529086a5a04d07c2d3a457ca3930c43672fc4f74b7bdbc2ec0d07abdf1ed425

diff --git a/sys-fs/dwarfs/dwarfs-0.2.3.ebuild b/sys-fs/dwarfs/dwarfs-0.2.3.ebuild
new file mode 100644
index 00000000..c5976474
--- /dev/null
+++ b/sys-fs/dwarfs/dwarfs-0.2.3.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake check-reqs
+
+DESCRIPTION="A fast very high compression read-only FUSE file system"
+HOMEPAGE="https://github.com/mhx/dwarfs"
+
+FBTHRIFT_MAGIC="2020.11.30.00"
+FOLLY_MAGIC="2020.11.30.00"
+
+SRC_URI="https://github.com/mhx/dwarfs/archive/v${PV}.tar.gz -> ${P}.tar.gz
+		https://github.com/facebook/fbthrift/archive/v${FBTHRIFT_MAGIC}.tar.gz -> fbthrift-${FBTHRIFT_MAGIC}.tar.gz
+		https://github.com/facebook/folly/archive/v${FOLLY_MAGIC}.tar.gz -> folly-${FOLLY_MAGIC}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="jemalloc"
+
+DEPEND="app-arch/zstd
+		app-arch/lz4
+		app-arch/xz-utils
+		app-arch/snappy
+		dev-libs/boost[context,threads]
+		dev-libs/double-conversion
+		dev-libs/libfmt
+		dev-libs/libevent
+		dev-cpp/gflags
+		dev-cpp/glog[gflags]
+		dev-cpp/sparsehash
+		sys-libs/binutils-libs
+		sys-libs/libunwind
+		sys-fs/fuse:3
+		sys-devel/flex
+		sys-devel/binutils:*
+		sys-libs/zlib
+		jemalloc? ( dev-libs/jemalloc )"
+RDEPEND="dev-libs/boost[context,threads]
+		dev-libs/double-conversion
+		app-arch/zstd
+		app-arch/lz4
+		app-arch/xz-utils
+		app-arch/snappy
+		sys-fs/fuse:3
+		sys-libs/binutils-libs
+		sys-libs/libunwind"
+BDEPEND="app-text/ronn
+		dev-util/cmake
+		sys-apps/sed
+		sys-devel/bison
+		virtual/pkgconfig"
+
+CHECKREQS_DISK_BUILD="512M"
+
+DOCS=( "README.md" "CHANGES.md" "TODO" )
+
+src_unpack(){
+	default
+	rm -d "${S}"/fbthrift/
+	rm -d "${S}"/folly/
+	mv "${WORKDIR}/fbthrift-${FBTHRIFT_MAGIC}" "${S}"/fbthrift/
+	mv "${WORKDIR}/folly-${FBTHRIFT_MAGIC}" "${S}"/folly/
+}
+
+src_prepare(){
+	einfo "setting path to $(get_libdir)"
+	pushd "${S}"/folly
+		sed "s/lib CACHE/$(get_libdir) CACHE/" -i CMakeLists.txt || die
+		sed "s/lib\/cmake\/folly CACHE/$(get_libdir)\/cmake\/folly CACHE/" -i CMakeLists.txt || die
+	popd
+	pushd "${S}"/fbthrift
+		sed "s/lib CACHE/$(get_libdir) CACHE/" -i CMakeLists.txt || die
+		sed "s/lib\/cmake\/fbthrift CACHE/$(get_libdir)\/cmake\/fbthrift CACHE/" -i CMakeLists.txt || die
+	popd
+	sed "s/DESTINATION lib/DESTINATION $(get_libdir)/" -i CMakeLists.txt || die
+	cmake_src_prepare
+}
+
+pkg_postinst(){
+	elog "Test shows that dwarfs compiled with Clang is substantially faster than GCC ones"
+	elog "See ${HOMEPAGE}"
+	elog "So you may want to compile it independently with Clang by the"
+	elog "https://wiki.gentoo.org/wiki/Clang"
+	elog "And with the per-package settings:"
+	elog "https://wiki.gentoo.org/wiki/Handbook:AMD64/Portage/Advanced#Per-package_environment_variables"
+	elog "Also you may find more information in the"
+	elog "${HOMEPAGE}"
+	elog "About creating: ${HOMEPAGE}/blob/main/doc/mkdwarfs.md"
+	elog "About mounting: ${HOMEPAGE}/blob/main/doc/dwarfs.md"
+}

diff --git a/sys-fs/dwarfs/metadata.xml b/sys-fs/dwarfs/metadata.xml
new file mode 100644
index 00000000..17e2efa0
--- /dev/null
+++ b/sys-fs/dwarfs/metadata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM 'http://www.gentoo.org/dtd/metadata.dtd'>
+<pkgmetadata>
+	<maintainer type="person">
+		<email>denis7774@gmail.com</email>
+		<name>Denis Reva</name>
+		<description>Partial maintainer</description>
+	</maintainer>
+	<longdescription lang="en">
+		DwarFS is a read-only file system with a focus on achieving very high compression ratios in particular for very redundant data.
+		This probably doesn't sound very exciting, because if it's redundant, it should compress well. However, I found that other read-only, compressed file systems don't do a very good job at making use of this redundancy. See here for a comparison with other compressed file systems.
+		DwarFS also doesn't compromise on speed and for my use cases I've found it to be on par with or perform better than SquashFS. For my primary use case, DwarFS compression is an order of magnitude better than SquashFS compression, it's 4 times faster to build the file system, it's typically faster to access files on DwarFS and it uses less CPU resources.
+		Distinct features of DwarFS are:
+		* Clustering of files by similarity using a similarity hash function. This makes it easier to exploit the redundancy across file boundaries.
+		* Segmentation analysis across file system blocks in order to reduce the size of the uncompressed file system. This saves memory when using the compressed file system and thus potentially allows for higher cache hit rates as more data can be kept in the cache.
+		* Highly multi-threaded implementation. Both the file system creation tool as well as the FUSE driver are able to make good use of the many cores of your system.
+		* Optional experimental Lua support to provide custom filtering and ordering functionality.
+	</longdescription>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 68+ messages in thread

end of thread, other threads:[~2024-11-04  8:57 UTC | newest]

Thread overview: 68+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-25 14:16 [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/ Denis Reva
  -- strict thread matches above, loose matches on Subject: below --
2024-11-04  8:57 Denis Reva
2024-11-02 18:27 Denis Reva
2024-11-02 18:02 Denis Reva
2024-10-29 14:07 David Roman
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-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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox