commit:     a2bee12d494d7b71c08b7b5eea57f1eba6e81d2a
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Thu Mar 11 17:16:03 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
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>

Reply via email to