public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Denis Reva" <denis7774@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs-bin/
Date: Sat, 19 Mar 2022 11:50:56 +0000 (UTC)	[thread overview]
Message-ID: <1647690639.fbadf7ee225c897339378a505d47c3141549469d.RarogCmex@gentoo> (raw)

commit:     fbadf7ee225c897339378a505d47c3141549469d
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Sat Mar 19 11:50:39 2022 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Sat Mar 19 11:50:39 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fbadf7ee

sys-fs/dwarfs-bin: dwarfs with less dependencies

  The motivation of that ebuild is to reduce necessary dependencies
for special installations such as mine.
  This version is use official binary package for amd64 arch.

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 sys-fs/dwarfs-bin/Manifest                |  1 +
 sys-fs/dwarfs-bin/dwarfs-bin-0.5.6.ebuild | 46 +++++++++++++++++++++++++++++++
 sys-fs/dwarfs-bin/metadata.xml            | 18 ++++++++++++
 3 files changed, 65 insertions(+)

diff --git a/sys-fs/dwarfs-bin/Manifest b/sys-fs/dwarfs-bin/Manifest
new file mode 100644
index 000000000..ee9bf8541
--- /dev/null
+++ b/sys-fs/dwarfs-bin/Manifest
@@ -0,0 +1 @@
+DIST dwarfs-0.5.6-Linux.tar.xz 5051444 BLAKE2B 35ef9a6b7a34e2b8a70dccecc85bcf570bd96250bfe4c2337872e67e8cef143b41ff7c5bdef5f198ba6622fd99c5bdd0c056db07b6116772b35ca1c74620a00b SHA512 41087ca4b5217810237fd8e97a138ea51a1c1dc4e984c7efe3626aebdea52f07c7794baf3e1dca2ef28de686a4caab75721ee09d4a2495c4144f92c3ebbac6ec

diff --git a/sys-fs/dwarfs-bin/dwarfs-bin-0.5.6.ebuild b/sys-fs/dwarfs-bin/dwarfs-bin-0.5.6.ebuild
new file mode 100644
index 000000000..bac1c0955
--- /dev/null
+++ b/sys-fs/dwarfs-bin/dwarfs-bin-0.5.6.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Static version of 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}-Linux.tar.xz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND="
+	${PYTHON_DEPS}
+	sys-fs/fuse:3
+	!sys-fs/dwarfs
+"
+DEPEND="
+	${RDEPEND}
+"
+S="${WORKDIR}/dwarfs-${PV}-Linux/"
+QA_PREBUILT="
+	sbin/dwarfs
+	bin/*
+"
+src_prepare() {
+	default
+	echo "Removing legacy fuse2-related stuff"
+	rm sbin/dwarfs2 sbin/mount.dwarfs2
+	echo "Correcting man paths"
+	mkdir -p usr/
+	mv share/ usr/
+}
+
+src_install(){
+	mv "${S}"/* "${D}"/
+}
+
+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-bin/metadata.xml b/sys-fs/dwarfs-bin/metadata.xml
new file mode 100644
index 000000000..7926e4616
--- /dev/null
+++ b/sys-fs/dwarfs-bin/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM 'http://www.gentoo.org/dtd/metadata.dtd'>
+<pkgmetadata>
+	<maintainer type="person">
+		<email>denis7774@gmail.com</email>
+		<name>Denis Reva</name>
+	</maintainer>
+	<longdescription lang="en">
+		DwarFS is a read-only file system with a focus on achieving very high compression ratios in particular for very redundant data.
+		This probably doesn't sound very exciting, because if it's redundant, it should compress well. However, I found that other read-only, compressed file systems don't do a very good job at making use of this redundancy. See here for a comparison with other compressed file systems.
+		DwarFS also doesn't compromise on speed and for my use cases I've found it to be on par with or perform better than SquashFS. For my primary use case, DwarFS compression is an order of magnitude better than SquashFS compression, it's 4 times faster to build the file system, it's typically faster to access files on DwarFS and it uses less CPU resources.
+		Distinct features of DwarFS are:
+		* Clustering of files by similarity using a similarity hash function. This makes it easier to exploit the redundancy across file boundaries.
+		* Segmentation analysis across file system blocks in order to reduce the size of the uncompressed file system. This saves memory when using the compressed file system and thus potentially allows for higher cache hit rates as more data can be kept in the cache.
+		* 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 Python support to provide custom filtering and ordering functionality.
+	</longdescription>
+</pkgmetadata>


             reply	other threads:[~2022-03-19 11:51 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-19 11:50 Denis Reva [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-03-24  6:29 [gentoo-commits] repo/proj/guru:dev commit in: sys-fs/dwarfs-bin/ Denis Reva
2022-06-14  6:35 Denis Reva
2022-06-22  5:40 Denis Reva
2022-06-22  5:40 Denis Reva
2023-02-28 13:12 Denis Reva
2023-02-28 13:12 Denis Reva
2023-02-28 13:12 Denis Reva
2023-02-28 14:51 Denis Reva
2023-05-27 16:35 Rahul Sandhu
2023-07-10  5:28 Denis Reva
2023-07-25 17:05 Denis Reva
2023-08-16 13:08 Denis Reva
2024-01-07 11:07 Denis Reva
2024-01-08  8:50 YiFei Zhu
2024-01-10  7:06 YiFei Zhu
2024-01-10  7:15 YiFei Zhu
2024-01-19  6:43 YiFei Zhu
2024-01-23 11:08 YiFei Zhu
2024-02-08 19:13 YiFei Zhu
2024-02-12  7:27 Denis Reva
2024-02-17  9:02 Denis Reva
2024-02-24  9:07 Denis Reva
2024-05-16 15:06 Denis Reva
2024-06-03 12:42 Denis Reva
2024-09-22  9:41 Denis Reva
2024-12-05  7:53 Denis Reva
2024-12-27 17:42 Denis Reva

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1647690639.fbadf7ee225c897339378a505d47c3141549469d.RarogCmex@gentoo \
    --to=denis7774@gmail.com \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox