From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4BB9215800D for ; Mon, 10 Jul 2023 05:39:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 951D0E0885; Mon, 10 Jul 2023 05:39:25 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7BE92E0885 for ; Mon, 10 Jul 2023 05:39:25 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B86AB340CFA for ; Mon, 10 Jul 2023 05:39:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2514FA99 for ; Mon, 10 Jul 2023 05:39:23 +0000 (UTC) From: "Denis Reva" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Denis Reva" Message-ID: <1688967546.06d374a81d08be9d0e813cff63f90a01f52acafa.RarogCmex@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs/ X-VCS-Repository: repo/proj/guru X-VCS-Files: sys-fs/dwarfs/Manifest sys-fs/dwarfs/dwarfs-0.7.0_rc6.ebuild X-VCS-Directories: sys-fs/dwarfs/ X-VCS-Committer: RarogCmex X-VCS-Committer-Name: Denis Reva X-VCS-Revision: 06d374a81d08be9d0e813cff63f90a01f52acafa X-VCS-Branch: dev Date: Mon, 10 Jul 2023 05:39:23 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 511c478a-37c0-4773-977a-29395f833468 X-Archives-Hash: 6894eb278cc69f4898f28db08d3b62bf commit: 06d374a81d08be9d0e813cff63f90a01f52acafa Author: Denis Reva gmail com> AuthorDate: Mon Jul 10 05:39:06 2023 +0000 Commit: Denis Reva gmail 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 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" +}