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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7909013933E for ; Wed, 7 Jul 2021 14:02:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B810EE0CA6; Wed, 7 Jul 2021 14:02:16 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8F0ACE0CA6 for ; Wed, 7 Jul 2021 14:02:16 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 05046342BE6 for ; Wed, 7 Jul 2021 14:02:15 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B2BB57D8 for ; Wed, 7 Jul 2021 14:02:10 +0000 (UTC) From: "Florian Schmaus" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Florian Schmaus" Message-ID: <1625629301.2f440e2870a4fae4dbcfe33fcc80717b6c912d61.flow@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: sys-fs/dwarfs/ X-VCS-Repository: repo/proj/guru X-VCS-Files: sys-fs/dwarfs/Manifest sys-fs/dwarfs/dwarfs-0.5.6.ebuild X-VCS-Directories: sys-fs/dwarfs/ X-VCS-Committer: flow X-VCS-Committer-Name: Florian Schmaus X-VCS-Revision: 2f440e2870a4fae4dbcfe33fcc80717b6c912d61 X-VCS-Branch: master Date: Wed, 7 Jul 2021 14:02:10 +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: c6a70c9d-7a60-4727-9abb-2514102e8273 X-Archives-Hash: a17fa08d3830bcb6a641b9b700e7b56d commit: 2f440e2870a4fae4dbcfe33fcc80717b6c912d61 Author: Denis Reva gmail com> AuthorDate: Wed Jul 7 03:41:41 2021 +0000 Commit: Florian Schmaus gentoo org> 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 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" +}