aboutsummaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
authorDenis Reva <denis7774@gmail.com>2023-07-25 19:07:02 +0500
committerDenis Reva <denis7774@gmail.com>2023-07-25 19:07:02 +0500
commit45ecf314d8e972070f91dd81092d1637a1bcd141 (patch)
treef6e67650f7e06ad6622573f968d8dd763588288c /sys-fs
parentnet-misc/maestral-qt: add 1.8.0 (diff)
downloadguru-45ecf314d8e972070f91dd81092d1637a1bcd141.tar.gz
guru-45ecf314d8e972070f91dd81092d1637a1bcd141.tar.bz2
guru-45ecf314d8e972070f91dd81092d1637a1bcd141.zip
sys-fs/dwarfs: Treeclean
Signed-off-by: Denis Reva <denis7774@gmail.com>
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/dwarfs/Manifest1
-rw-r--r--sys-fs/dwarfs/dwarfs-0.7.0_rc4-r1.ebuild111
-rw-r--r--sys-fs/dwarfs/files/dwarfs-0.7.0_rc4-fbthrift-cstdint.patch13
-rw-r--r--sys-fs/dwarfs/files/dwarfs-0.7.0_rc4-stdexcept.patch14
4 files changed, 0 insertions, 139 deletions
diff --git a/sys-fs/dwarfs/Manifest b/sys-fs/dwarfs/Manifest
index 5fbad5759..224bd094a 100644
--- a/sys-fs/dwarfs/Manifest
+++ b/sys-fs/dwarfs/Manifest
@@ -1,2 +1 @@
-DIST dwarfs-0.7.0-RC4.tar.xz 14425176 BLAKE2B fdb2852da81f8d567c19dc83e3f7dd74e0de35e56579d50b6ce9ee6adda2d540bbbc7d5655a499f19ee340a2f904bfe9b2b977b9539e8e99dc9e8667b9b7435e SHA512 1e0d603507f93b6bcb79050877de0ac64eed931b192b43466d3b5e1ee55a759261ad937d33f24d145a61e8b3d431405a35bbd8ff95ead10ccdabe14ba4d840a5
DIST dwarfs-0.7.0.tar.xz 14516672 BLAKE2B c48527f84af0c96ca573af94d1cdc9637ab5bc99934f02b457eec80548399ba362ebc20f6bc5d44d780e29d9538d6045f334a24b4264d49ab02c39fdfddc54bf SHA512 52ea209590a97ee11a902103b3862c55d733a899e199c5e436c4ad5f5278c10f6425c7e35853dd173e260f93e946628e2ac5677706af4ab4486c5af712265f27
diff --git a/sys-fs/dwarfs/dwarfs-0.7.0_rc4-r1.ebuild b/sys-fs/dwarfs/dwarfs-0.7.0_rc4-r1.ebuild
deleted file mode 100644
index 74ed8fd15..000000000
--- a/sys-fs/dwarfs/dwarfs-0.7.0_rc4-r1.ebuild
+++ /dev/null
@@ -1,111 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..11} )
-
-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=(
- "${FILESDIR}/dwarfs-0.7.0_rc4-stdexcept.patch"
- "${FILESDIR}/dwarfs-0.7.0_rc4-fbthrift-cstdint.patch"
-)
-
-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"
-}
diff --git a/sys-fs/dwarfs/files/dwarfs-0.7.0_rc4-fbthrift-cstdint.patch b/sys-fs/dwarfs/files/dwarfs-0.7.0_rc4-fbthrift-cstdint.patch
deleted file mode 100644
index c52f795ee..000000000
--- a/sys-fs/dwarfs/files/dwarfs-0.7.0_rc4-fbthrift-cstdint.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/fbthrift/thrift/compiler/generate/json.cc b/fbthrift/thrift/compiler/generate/json.cc
-index c4d87a3..015e81f 100644
---- a/fbthrift/thrift/compiler/generate/json.cc
-+++ b/fbthrift/thrift/compiler/generate/json.cc
-@@ -18,7 +18,7 @@
-
- #include <ostream>
- #include <sstream>
--
-+#include <cstdint>
- namespace apache {
- namespace thrift {
- namespace compiler {
diff --git a/sys-fs/dwarfs/files/dwarfs-0.7.0_rc4-stdexcept.patch b/sys-fs/dwarfs/files/dwarfs-0.7.0_rc4-stdexcept.patch
deleted file mode 100644
index a2a671e17..000000000
--- a/sys-fs/dwarfs/files/dwarfs-0.7.0_rc4-stdexcept.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-diff --git a/folly/folly/system/AtFork.cpp b/folly/folly/system/AtFork.cpp
-index e888e52..8c9eee5 100644
---- a/folly/folly/system/AtFork.cpp
-+++ b/folly/folly/system/AtFork.cpp
-@@ -20,7 +20,8 @@
- #include <folly/lang/Exception.h>
- #include <folly/portability/PThread.h>
- #include <folly/synchronization/SanitizeThread.h>
--
-+#include <system_error>
-+#include <stdexcept>
- namespace folly {
-
- void AtForkList::prepare() noexcept {