From a6d985328dd0cb18ead40cb151399f8f4a272882 Mon Sep 17 00:00:00 2001 From: Denis Reva Date: Mon, 15 Mar 2021 14:06:04 +0500 Subject: [PATCH] sys-fs/dwarfs: updated to 0.4.1 New: * The segmenting code now uses a bloom filter to discard unsuccessful matches as early and quickly as possible * nilsimsa similarity computation has been improved Fixed: * GCC builds https://github.com/mhx/dwarfs/issues/14 * Libarchive https://github.com/mhx/dwarfs/issues/36 * mkdwarfs catch certain exceptions correctly Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Denis Reva --- sys-fs/dwarfs/Manifest | 2 +- ...warfs-0.4.0.ebuild => dwarfs-0.4.1.ebuild} | 13 +++--------- sys-fs/dwarfs/files/dwarfs-0.4.0-link.patch | 20 ------------------- 3 files changed, 4 insertions(+), 31 deletions(-) rename sys-fs/dwarfs/{dwarfs-0.4.0.ebuild => dwarfs-0.4.1.ebuild} (79%) delete mode 100644 sys-fs/dwarfs/files/dwarfs-0.4.0-link.patch diff --git a/sys-fs/dwarfs/Manifest b/sys-fs/dwarfs/Manifest index 888cd4ad40..0ddfe0d6ac 100644 --- a/sys-fs/dwarfs/Manifest +++ b/sys-fs/dwarfs/Manifest @@ -1 +1 @@ -DIST dwarfs-0.4.0.tar.bz2 11634383 BLAKE2B a401e891f5453bd8cccbc664066f759c5ffa60568305b44d57fbcc239d6759ff2e6d5fb1450c7424be14e9eb7ab4f9996dce54a78de6e6e5d8b1cbe2d15dc4eb SHA512 b815c4bdb1ac61798ead817f27d8fbfaf234d2698d9f72427b7cd55fd334214f595baf286c979fee344b34c7589d5859df8c6e8259473bf13d7461f1f63d90a6 +DIST dwarfs-0.4.1.tar.bz2 11640169 BLAKE2B 3490d625fd718be4451d5a551b6931b0c9316d88cdda91b90a724f3ab732a3916431a13e343bcb79a2e0415ffc0a990d2546eeb1738c55282e9fb9c85d3ba1ae SHA512 ed7bfe13a9ed2450921a2caf47b4ee1f527fcd7ad154cee93d8674a2dd08c9110d62cfaff22f318bdb799eeea35b8bc4b7374d685537c82e70a0498d97a53307 diff --git a/sys-fs/dwarfs/dwarfs-0.4.0.ebuild b/sys-fs/dwarfs/dwarfs-0.4.1.ebuild similarity index 79% rename from sys-fs/dwarfs/dwarfs-0.4.0.ebuild rename to sys-fs/dwarfs/dwarfs-0.4.1.ebuild index 9a4fc653e8..2b5bcade21 100644 --- a/sys-fs/dwarfs/dwarfs-0.4.0.ebuild +++ b/sys-fs/dwarfs/dwarfs-0.4.1.ebuild @@ -49,9 +49,7 @@ BDEPEND="app-text/ronn sys-devel/bison virtual/pkgconfig" -CHECKREQS_DISK_BUILD="13000M" - -PATCHES=( ${FILESDIR}/dwarfs-0.4.0-link.patch ) +CHECKREQS_DISK_BUILD="1300M" DOCS=( "README.md" "CHANGES.md" "TODO" ) @@ -85,13 +83,8 @@ src_install(){ } 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 "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/files/dwarfs-0.4.0-link.patch b/sys-fs/dwarfs/files/dwarfs-0.4.0-link.patch deleted file mode 100644 index 93c4b4f2f7..0000000000 --- a/sys-fs/dwarfs/files/dwarfs-0.4.0-link.patch +++ /dev/null @@ -1,20 +0,0 @@ -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 18fa5cd..36fc0b3 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -258,8 +258,6 @@ add_executable(dwarfsextract src/dwarfsextract.cpp) - - list(APPEND BINARY_TARGETS mkdwarfs dwarfsck dwarfsbench dwarfsextract) - --target_link_libraries(dwarfsextract PkgConfig::LIBARCHIVE) -- - if(FUSE3_FOUND) - add_executable(dwarfs-bin src/dwarfs.cpp) - target_compile_definitions(dwarfs-bin PRIVATE _FILE_OFFSET_BITS=64 -@@ -482,6 +480,7 @@ target_link_libraries( - thrift_light - folly - ${Boost_LIBRARIES} -+ PkgConfig::LIBARCHIVE - PkgConfig::LIBLZ4 - PkgConfig::LIBLZMA)