From: "Andrew Ammerlaan" <andrewammerlaan@riseup.net>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: sys-fs/dwarfs/
Date: Sun, 7 Feb 2021 08:24:22 +0000 (UTC) [thread overview]
Message-ID: <1612590877.14336c40363bacaee85fe71b867d81b2ffdcf9e1.andrewammerlaan@gentoo> (raw)
commit: 14336c40363bacaee85fe71b867d81b2ffdcf9e1
Author: Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Sat Feb 6 05:54:37 2021 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Sat Feb 6 05:54:37 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=14336c40
sys-fs/dwarfs: cleaning up things
Added fuse2 use flag for those who want optional fuse2
bindings
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>
.../{dwarfs-0.3.1-r1.ebuild => dwarfs-0.3.1-r2.ebuild} | 18 ++++++++++++------
sys-fs/dwarfs/metadata.xml | 3 +++
2 files changed, 15 insertions(+), 6 deletions(-)
diff --git a/sys-fs/dwarfs/dwarfs-0.3.1-r1.ebuild b/sys-fs/dwarfs/dwarfs-0.3.1-r2.ebuild
similarity index 85%
rename from sys-fs/dwarfs/dwarfs-0.3.1-r1.ebuild
rename to sys-fs/dwarfs/dwarfs-0.3.1-r2.ebuild
index 4dcf6a8e..d3be4941 100644
--- a/sys-fs/dwarfs/dwarfs-0.3.1-r1.ebuild
+++ b/sys-fs/dwarfs/dwarfs-0.3.1-r2.ebuild
@@ -15,7 +15,7 @@ SRC_URI="https://github.com/mhx/dwarfs/releases/download/v${PV}/dwarfs-${PV}.tar
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
-IUSE="python +jemalloc"
+IUSE="python +jemalloc fuse2"
#test IUSE disabled because there is no googletest in portage tree
#-DWITH_TESTS=$(usex test ON OFF)
@@ -38,6 +38,7 @@ RDEPEND="dev-libs/boost[context,threads,python?]
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
@@ -52,8 +53,8 @@ CHECKREQS_DISK_BUILD="768M"
DOCS=( "README.md" "CHANGES.md" "TODO" )
-CMAKE_IN_SOURCE_BUILD=true
-CMAKE_WARN_UNUSED_CLI=no
+CMAKE_IN_SOURCE_BUILD=1
+CMAKE_WARN_UNUSED_CLI=0
QA_SONAME="${D}/usr/lib64/libdwarfs.so ${D}/usr/lib64/libxxhash.so"
@@ -78,6 +79,14 @@ 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(){
@@ -91,7 +100,4 @@ pkg_postinst(){
elog "${HOMEPAGE}"
elog "About creating: ${HOMEPAGE}/blob/main/doc/mkdwarfs.md"
elog "About mounting: ${HOMEPAGE}/blob/main/doc/dwarfs.md"
- 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"
}
diff --git a/sys-fs/dwarfs/metadata.xml b/sys-fs/dwarfs/metadata.xml
index 17e2efa0..f3f1fbff 100644
--- a/sys-fs/dwarfs/metadata.xml
+++ b/sys-fs/dwarfs/metadata.xml
@@ -16,4 +16,7 @@
* 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>
next reply other threads:[~2021-02-07 8:24 UTC|newest]
Thread overview: 55+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-07 8:24 Andrew Ammerlaan [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-12-28 20:08 [gentoo-commits] repo/proj/guru:master commit in: sys-fs/dwarfs/ Florian Schmaus
2024-12-05 12:00 [gentoo-commits] repo/proj/guru:master commit in: "sys-fs/dwarfs/ Florian Schmaus
2024-11-04 18:27 [gentoo-commits] repo/proj/guru:master commit in: sys-fs/dwarfs/ David Roman
2024-11-02 20:52 David Roman
2024-11-02 20:52 David Roman
2024-10-29 14:07 [gentoo-commits] repo/proj/guru:dev " David Roman
2024-10-29 22:14 ` [gentoo-commits] repo/proj/guru:master " David Roman
2024-06-05 12:48 Florian Schmaus
2024-05-16 16:27 Julien Roy
2024-02-24 12:14 Haelwenn Monnier
2024-02-15 14:58 David Roman
2024-02-14 16:01 Andrew Ammerlaan
2024-02-13 16:32 David Roman
2024-02-13 16:32 David Roman
2024-02-13 16:32 David Roman
2024-02-13 16:32 David Roman
2024-02-13 16:32 David Roman
2024-02-09 0:30 David Roman
2024-01-19 10:31 Arthur Zamarin
2024-01-09 12:03 David Roman
2024-01-07 23:46 David Roman
2024-01-03 16:54 David Roman
2023-08-17 5:15 Viorel Munteanu
2023-07-25 15:02 David Roman
2023-07-13 9:42 David Roman
2022-07-07 7:33 Haelwenn Monnier
2021-10-28 20:56 Haelwenn Monnier
2021-09-16 17:57 Arthur Zamarin
2021-07-07 14:02 Florian Schmaus
2021-07-07 14:02 Florian Schmaus
2021-05-05 8:33 Andrew Ammerlaan
2021-05-03 16:57 Andrew Ammerlaan
2021-05-02 9:27 Theo Anderson
2021-05-02 9:27 Theo Anderson
2021-04-29 8:23 Michał Górny
2021-04-29 8:23 Michał Górny
2021-04-28 8:08 Andrew Ammerlaan
2021-04-28 8:08 Andrew Ammerlaan
2021-04-27 23:24 Theo Anderson
2021-04-12 9:27 [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2021-04-12 9:30 ` [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2021-04-12 5:38 Theo Anderson
2021-04-12 5:38 Theo Anderson
2021-04-12 5:38 Theo Anderson
2021-04-10 10:07 Andrew Ammerlaan
2021-03-28 11:14 [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2021-03-28 11:43 ` [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2021-03-12 9:51 Andrew Ammerlaan
2021-03-12 9:51 Andrew Ammerlaan
2021-01-10 11:31 Andrew Ammerlaan
2021-01-08 8:59 Andrew Ammerlaan
2020-12-13 18:37 Andrew Ammerlaan
2020-12-11 8:36 Andrew Ammerlaan
2020-12-10 8:46 Andrew Ammerlaan
2020-12-08 14:25 Andrew Ammerlaan
2020-12-04 15:00 Andrew Ammerlaan
2020-12-03 11:36 Andrew Ammerlaan
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=1612590877.14336c40363bacaee85fe71b867d81b2ffdcf9e1.andrewammerlaan@gentoo \
--to=andrewammerlaan@riseup.net \
--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