* [gentoo-commits] repo/proj/guru:master commit in: app-misc/clifm/files/, app-misc/clifm/
@ 2023-01-08 10:27 Florian Schmaus
0 siblings, 0 replies; 4+ messages in thread
From: Florian Schmaus @ 2023-01-08 10:27 UTC (permalink / raw
To: gentoo-commits
commit: 69f6e24cd3f59d0aff9029f1c9cba07c9ff9a800
Author: Michael Yang <michaelzcyang <AT> gmail <DOT> com>
AuthorDate: Sun Jan 8 07:04:56 2023 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Sun Jan 8 07:04:56 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=69f6e24c
app-misc/clifm: add 1.8, 1.9
Signed-off-by: Michael Yang <michaelzcyang <AT> gmail.com>
app-misc/clifm/Manifest | 2 +
app-misc/clifm/clifm-1.8.ebuild | 60 ++++++++++++++++++++++
app-misc/clifm/clifm-1.9.ebuild | 60 ++++++++++++++++++++++
...lifm-1.8-gentoo-skip-manpage-compression.patch} | 4 +-
...lifm-1.9-gentoo-skip-manpage-compression.patch} | 4 +-
...lifm-9999-gentoo-skip-manpage-compression.patch | 4 +-
6 files changed, 131 insertions(+), 3 deletions(-)
diff --git a/app-misc/clifm/Manifest b/app-misc/clifm/Manifest
index 6ff4bc8c7..12627bdee 100644
--- a/app-misc/clifm/Manifest
+++ b/app-misc/clifm/Manifest
@@ -1,2 +1,4 @@
DIST clifm-1.6.tar.gz 1268633 BLAKE2B de36f0d3bc1c6584471d313f346a9db77f659b4fde41775e45c78066db12aff8bf33a58b3c5d0f9cd43800cf823f0508c2abb5c88ff50a28147aec5c7e7178df SHA512 a8f6b73070779d0d49b41109bee1b418cb6eb4fb1ac8e684cf859e1137336df2655ddfb5107b50674a5380364f572fe47cc72f58c25c4ff6439593b411a5f69e
DIST clifm-1.7.tar.gz 1310379 BLAKE2B d37e5f4d013c7a7c8427993aa0ff187bac33cb8a89b75b368ce77eb11cbb3275f5cfabec1037e0b3052471633e763d22a7debe019c75ae6098f44cda0e9f7d70 SHA512 30bdc33090846b82edb2cf6372ca3515806f85261405476518d9b5cb1f9dc22e513263cac70f7d93bb85e6489b1486868964b1719637c1b317ce491b5734c453
+DIST clifm-1.8.tar.gz 1302830 BLAKE2B 87e7dc41053af6ccbd819ec0403ca14aeb40865ea49ab87e8601765be771b5e447f593ffb9f94674dbc2afbdb67849a5a8a1d2b26ab524479c4edbfb2c4c79a6 SHA512 4b534f4c33462dd6571d69a5b0405295580d980f7c5c43f0893828c7ab624eb366f7e617a97b0357a26663df3c25b1cb2c175ee372f8c18e9b3f061186b76827
+DIST clifm-1.9.tar.gz 1331325 BLAKE2B 221f7e3f5a9904a24af6bf31c7ea433e70688ba0cf23e9b6b50478b15f3f16c3b0119e673dfe3991e34ee359d1c6dafeba12c4f9cb1de12255094d1226a6e584 SHA512 03406e2b58accc525bce957a8e27d276503ab63e426cea8023a2835ed4592dabe1f160dcb1502a87851e1afabedb985e634a2c3a0cafa84acdfd29a04f4c3b86
diff --git a/app-misc/clifm/clifm-1.8.ebuild b/app-misc/clifm/clifm-1.8.ebuild
new file mode 100644
index 000000000..d13334589
--- /dev/null
+++ b/app-misc/clifm/clifm-1.8.ebuild
@@ -0,0 +1,60 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="The command line file manager"
+HOMEPAGE="https://github.com/leo-arch/clifm"
+
+inherit optfeature xdg
+
+if [[ ${PV} == "9999" ]]; then
+ EGIT_REPO_URI="https://github.com/leo-arch/clifm.git"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/leo-arch/clifm/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ # also on sourceforge but the unpacked name is irregular
+ # SRC_URI="mirror://sourceforge/${PN}/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE=""
+
+PATCHES=(
+ "${FILESDIR}/${P}-gentoo-skip-manpage-compression.patch"
+)
+
+DEPEND="
+ sys-libs/libcap
+ sys-libs/readline:=
+ sys-apps/acl
+ sys-apps/file
+"
+RDEPEND="${DEPEND}"
+BDEPEND=""
+
+src_compile() {
+ # makefile defaults to /usr/local
+ emake PREFIX="/usr"
+}
+
+src_install() {
+ # makefile defaults to /usr/local, and manpages to /usr/man
+ emake DESTDIR="${D}" PREFIX="/usr" MANDIR="/usr/share/man" install
+ einstalldocs
+}
+
+pkg_postinst() {
+ optfeature_header "Install additional optional functionality:"
+ optfeature "fzf tab completion and more" app-shells/fzf
+ optfeature "mounting/unmounting support" sys-fs/udisks sys-apps/udevil
+ optfeature_header "Install optional archiving support (if you didn't use -D_NO_ARCHIVING):"
+ optfeature "zstd operations" app-arch/zstd
+ optfeature "archive extraction/unpacking" app-arch/atool
+ optfeature "mounting archives" sys-fs/archivemount
+ optfeature "extracting .iso files" app-arch/p7zip
+ optfeature "creating .iso files" app-cdr/cdrtools
+ xdg_pkg_postinst
+}
diff --git a/app-misc/clifm/clifm-1.9.ebuild b/app-misc/clifm/clifm-1.9.ebuild
new file mode 100644
index 000000000..d13334589
--- /dev/null
+++ b/app-misc/clifm/clifm-1.9.ebuild
@@ -0,0 +1,60 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="The command line file manager"
+HOMEPAGE="https://github.com/leo-arch/clifm"
+
+inherit optfeature xdg
+
+if [[ ${PV} == "9999" ]]; then
+ EGIT_REPO_URI="https://github.com/leo-arch/clifm.git"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/leo-arch/clifm/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ # also on sourceforge but the unpacked name is irregular
+ # SRC_URI="mirror://sourceforge/${PN}/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE=""
+
+PATCHES=(
+ "${FILESDIR}/${P}-gentoo-skip-manpage-compression.patch"
+)
+
+DEPEND="
+ sys-libs/libcap
+ sys-libs/readline:=
+ sys-apps/acl
+ sys-apps/file
+"
+RDEPEND="${DEPEND}"
+BDEPEND=""
+
+src_compile() {
+ # makefile defaults to /usr/local
+ emake PREFIX="/usr"
+}
+
+src_install() {
+ # makefile defaults to /usr/local, and manpages to /usr/man
+ emake DESTDIR="${D}" PREFIX="/usr" MANDIR="/usr/share/man" install
+ einstalldocs
+}
+
+pkg_postinst() {
+ optfeature_header "Install additional optional functionality:"
+ optfeature "fzf tab completion and more" app-shells/fzf
+ optfeature "mounting/unmounting support" sys-fs/udisks sys-apps/udevil
+ optfeature_header "Install optional archiving support (if you didn't use -D_NO_ARCHIVING):"
+ optfeature "zstd operations" app-arch/zstd
+ optfeature "archive extraction/unpacking" app-arch/atool
+ optfeature "mounting archives" sys-fs/archivemount
+ optfeature "extracting .iso files" app-arch/p7zip
+ optfeature "creating .iso files" app-cdr/cdrtools
+ xdg_pkg_postinst
+}
diff --git a/app-misc/clifm/files/clifm-9999-gentoo-skip-manpage-compression.patch b/app-misc/clifm/files/clifm-1.8-gentoo-skip-manpage-compression.patch
similarity index 87%
copy from app-misc/clifm/files/clifm-9999-gentoo-skip-manpage-compression.patch
copy to app-misc/clifm/files/clifm-1.8-gentoo-skip-manpage-compression.patch
index 9201488ff..931001ad8 100644
--- a/app-misc/clifm/files/clifm-9999-gentoo-skip-manpage-compression.patch
+++ b/app-misc/clifm/files/clifm-1.8-gentoo-skip-manpage-compression.patch
@@ -1,6 +1,8 @@
+Skip manpage compression in makefile.
+
--- a/Makefile
+++ b/Makefile
-@@ -51,7 +51,6 @@ install: $(BIN)
+@@ -52,7 +52,6 @@ install: $(BIN)
$(INSTALL) -m 0755 -d $(DESTDIR)$(DATADIR)/zsh/site-functions
$(INSTALL) -m 0755 -d $(DESTDIR)$(DESKTOPICONPREFIX)/scalable/apps
$(INSTALL) -m 0644 misc/manpage $(DESTDIR)$(MANDIR)/man1/$(BIN).1
diff --git a/app-misc/clifm/files/clifm-9999-gentoo-skip-manpage-compression.patch b/app-misc/clifm/files/clifm-1.9-gentoo-skip-manpage-compression.patch
similarity index 87%
copy from app-misc/clifm/files/clifm-9999-gentoo-skip-manpage-compression.patch
copy to app-misc/clifm/files/clifm-1.9-gentoo-skip-manpage-compression.patch
index 9201488ff..20406d986 100644
--- a/app-misc/clifm/files/clifm-9999-gentoo-skip-manpage-compression.patch
+++ b/app-misc/clifm/files/clifm-1.9-gentoo-skip-manpage-compression.patch
@@ -1,6 +1,8 @@
+Skip manpage compression in makefile.
+
--- a/Makefile
+++ b/Makefile
-@@ -51,7 +51,6 @@ install: $(BIN)
+@@ -53,7 +53,6 @@ install: $(BIN)
$(INSTALL) -m 0755 -d $(DESTDIR)$(DATADIR)/zsh/site-functions
$(INSTALL) -m 0755 -d $(DESTDIR)$(DESKTOPICONPREFIX)/scalable/apps
$(INSTALL) -m 0644 misc/manpage $(DESTDIR)$(MANDIR)/man1/$(BIN).1
diff --git a/app-misc/clifm/files/clifm-9999-gentoo-skip-manpage-compression.patch b/app-misc/clifm/files/clifm-9999-gentoo-skip-manpage-compression.patch
index 9201488ff..20406d986 100644
--- a/app-misc/clifm/files/clifm-9999-gentoo-skip-manpage-compression.patch
+++ b/app-misc/clifm/files/clifm-9999-gentoo-skip-manpage-compression.patch
@@ -1,6 +1,8 @@
+Skip manpage compression in makefile.
+
--- a/Makefile
+++ b/Makefile
-@@ -51,7 +51,6 @@ install: $(BIN)
+@@ -53,7 +53,6 @@ install: $(BIN)
$(INSTALL) -m 0755 -d $(DESTDIR)$(DATADIR)/zsh/site-functions
$(INSTALL) -m 0755 -d $(DESTDIR)$(DESKTOPICONPREFIX)/scalable/apps
$(INSTALL) -m 0644 misc/manpage $(DESTDIR)$(MANDIR)/man1/$(BIN).1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: app-misc/clifm/files/, app-misc/clifm/
@ 2023-06-07 7:04 Viorel Munteanu
0 siblings, 0 replies; 4+ messages in thread
From: Viorel Munteanu @ 2023-06-07 7:04 UTC (permalink / raw
To: gentoo-commits
commit: 947dc7fb3404c47e396b9fbb705cda0274e5a9cc
Author: Michael Yang <michaelzcyang <AT> gmail <DOT> com>
AuthorDate: Tue Jun 6 04:49:58 2023 +0000
Commit: Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Tue Jun 6 04:57:35 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=947dc7fb
app-misc/clifm: Add back USE flags for various compiled features
Note clifm-1.9 and clifm-1.10 don't have the 'fzf' or 'trash' USE flags;
their associated compile options cause compilation errors. In that case
the features are enabled by default, and, 'app-shells/fzf' becomes an
optional dependency.
Signed-off-by: Michael Yang <michaelzcyang <AT> gmail.com>
app-misc/clifm/clifm-1.10.ebuild | 71 +++++++++++++++++----
app-misc/clifm/clifm-1.11.ebuild | 72 +++++++++++++++++-----
app-misc/clifm/clifm-1.8.ebuild | 71 ++++++++++++++++-----
app-misc/clifm/clifm-1.9.ebuild | 71 +++++++++++++++++----
app-misc/clifm/clifm-9999.ebuild | 72 +++++++++++++++++-----
...lifm-9999-gentoo-skip-manpage-compression.patch | 6 +-
app-misc/clifm/metadata.xml | 52 +++++++++++++++-
7 files changed, 343 insertions(+), 72 deletions(-)
diff --git a/app-misc/clifm/clifm-1.10.ebuild b/app-misc/clifm/clifm-1.10.ebuild
index d13334589..fd5924273 100644
--- a/app-misc/clifm/clifm-1.10.ebuild
+++ b/app-misc/clifm/clifm-1.10.ebuild
@@ -6,7 +6,7 @@ EAPI=8
DESCRIPTION="The command line file manager"
HOMEPAGE="https://github.com/leo-arch/clifm"
-inherit optfeature xdg
+inherit flag-o-matic optfeature xdg
if [[ ${PV} == "9999" ]]; then
EGIT_REPO_URI="https://github.com/leo-arch/clifm.git"
@@ -20,22 +20,58 @@ fi
LICENSE="GPL-2"
SLOT="0"
-IUSE=""
+IUSE="archive +bleach emoji +highlight icons +lira +magic nerdfonts nls
+ posix qsort +suggestions +tags"
PATCHES=(
"${FILESDIR}/${P}-gentoo-skip-manpage-compression.patch"
)
-DEPEND="
+LIB="
sys-libs/libcap
sys-libs/readline:=
sys-apps/acl
- sys-apps/file
+ magic? ( sys-apps/file )
+"
+
+DEPEND="
+ ${LIB}
+ nls? ( sys-devel/gettext )
+"
+RDEPEND="
+ ${LIB}
+ archive? (
+ app-arch/atool
+ sys-fs/archivemount
+ )
+ nls? ( virtual/libintl )
"
-RDEPEND="${DEPEND}"
BDEPEND=""
src_compile() {
+ # emoji > nerdfonts > icons
+ if ! use emoji; then # support for emoji-icons is default
+ if use nerdfonts; then
+ append-cflags "-D_NERD"
+ elif use icons; then
+ append-cflags "-D_ICONS_IN_TERMINAL"
+ fi
+ # do not append -D_NO_ICONS here, causes compilation error
+ fi
+
+ use posix && append-cflags "-D_BE_POSIX"
+ use archive || append-cflags "-D_NO_ARCHIVING"
+ use bleach || append-cflags "-D_NO_BLEACH"
+ use nls || append-cflags "-D_NO_GETTEXT"
+ # -D_NO_FZF causes compile error
+ use highlight || append-cflags "-D_NO_HIGHLIGHT"
+ use lira || append-cflags "-D_NO_LIRA"
+ use magic || append-cflags "-D_NO_MAGIC"
+ use suggestions || append-cflags "-D_NO_SUGGESTIONS"
+ use tags || append-cflags "-D_NO_TAGS"
+ # -D_NO_TRASH causes compile error
+ use qsort && append-cflags "-D_TOURBIN_QSORT"
+
# makefile defaults to /usr/local
emake PREFIX="/usr"
}
@@ -47,14 +83,23 @@ src_install() {
}
pkg_postinst() {
+ xdg_pkg_postinst
+ if use emoji; then
+ use nerdfonts && ewarn "Warning: Use flag 'nerdfonts' overridden by 'emoji'"
+ use icons && ewarn "Warning: Use flag 'icons' overridden by 'emoji'"
+ elif use nerdfonts; then
+ use icons && ewarn "Warning: Use flag 'icons' overridden by 'nerdfonts'"
+ else
+ use icons || ewarn "Warning: as none of 'emoji', 'nerdfonts', or 'icons' were selected, \
+ 'emoji' was implicitly enabled to prevent compilation error"
+ fi
optfeature_header "Install additional optional functionality:"
+ optfeature "mounting/unmounting support" sys-apps/udevil sys-fs/udisks
optfeature "fzf tab completion and more" app-shells/fzf
- optfeature "mounting/unmounting support" sys-fs/udisks sys-apps/udevil
- optfeature_header "Install optional archiving support (if you didn't use -D_NO_ARCHIVING):"
- optfeature "zstd operations" app-arch/zstd
- optfeature "archive extraction/unpacking" app-arch/atool
- optfeature "mounting archives" sys-fs/archivemount
- optfeature "extracting .iso files" app-arch/p7zip
- optfeature "creating .iso files" app-cdr/cdrtools
- xdg_pkg_postinst
+ if use archive; then
+ optfeature_header "Install additional archive support:"
+ optfeature "zstd support" app-arch/zstd
+ optfeature "extracting .iso files" app-arch/p7zip
+ optfeature "creating .iso files" app-cdr/cdrtools
+ fi
}
diff --git a/app-misc/clifm/clifm-1.11.ebuild b/app-misc/clifm/clifm-1.11.ebuild
index d13334589..c1b074b8e 100644
--- a/app-misc/clifm/clifm-1.11.ebuild
+++ b/app-misc/clifm/clifm-1.11.ebuild
@@ -6,7 +6,7 @@ EAPI=8
DESCRIPTION="The command line file manager"
HOMEPAGE="https://github.com/leo-arch/clifm"
-inherit optfeature xdg
+inherit flag-o-matic optfeature xdg
if [[ ${PV} == "9999" ]]; then
EGIT_REPO_URI="https://github.com/leo-arch/clifm.git"
@@ -20,22 +20,61 @@ fi
LICENSE="GPL-2"
SLOT="0"
-IUSE=""
+IUSE="archive +bleach emoji fzf +highlight icons +lira +magic nerdfonts nls
+ posix +profiles qsort +suggestions +tags +trash"
PATCHES=(
"${FILESDIR}/${P}-gentoo-skip-manpage-compression.patch"
)
-DEPEND="
+LIB="
sys-libs/libcap
sys-libs/readline:=
sys-apps/acl
- sys-apps/file
+ magic? ( sys-apps/file )
+"
+
+DEPEND="
+ ${LIB}
+ nls? ( sys-devel/gettext )
+"
+RDEPEND="
+ ${LIB}
+ archive? (
+ app-arch/atool
+ sys-fs/archivemount
+ )
+ fzf? ( app-shells/fzf )
+ nls? ( virtual/libintl )
"
-RDEPEND="${DEPEND}"
BDEPEND=""
src_compile() {
+ # emoji > nerdfonts > icons
+ if ! use emoji; then # support for emoji-icons is default
+ if use nerdfonts; then
+ append-cflags "-D_NERD"
+ elif use icons; then
+ append-cflags "-D_ICONS_IN_TERMINAL"
+ else
+ append-cflags "-D_NO_ICONS"
+ fi
+ fi
+
+ use posix && append-cflags "-D_BE_POSIX"
+ use archive || append-cflags "-D_NO_ARCHIVING"
+ use bleach || append-cflags "-D_NO_BLEACH"
+ use nls || append-cflags "-D_NO_GETTEXT"
+ use fzf || append-cflags "-D_NO_FZF"
+ use highlight || append-cflags "-D_NO_HIGHLIGHT"
+ use lira || append-cflags "-D_NO_LIRA"
+ use magic || append-cflags "-D_NO_MAGIC"
+ use suggestions || append-cflags "-D_NO_SUGGESTIONS"
+ use tags || append-cflags "-D_NO_TAGS"
+ use profiles || append-cflags "-D_NO_PROFILES"
+ use trash || append-cflags "-D_NO_TRASH"
+ use qsort && append-cflags "-D_TOURBIN_QSORT"
+
# makefile defaults to /usr/local
emake PREFIX="/usr"
}
@@ -47,14 +86,19 @@ src_install() {
}
pkg_postinst() {
- optfeature_header "Install additional optional functionality:"
- optfeature "fzf tab completion and more" app-shells/fzf
- optfeature "mounting/unmounting support" sys-fs/udisks sys-apps/udevil
- optfeature_header "Install optional archiving support (if you didn't use -D_NO_ARCHIVING):"
- optfeature "zstd operations" app-arch/zstd
- optfeature "archive extraction/unpacking" app-arch/atool
- optfeature "mounting archives" sys-fs/archivemount
- optfeature "extracting .iso files" app-arch/p7zip
- optfeature "creating .iso files" app-cdr/cdrtools
xdg_pkg_postinst
+ if use emoji; then
+ use nerdfonts && ewarn "Warning: Use flag 'nerdfonts' overridden by 'emoji'"
+ use icons && ewarn "Warning: Use flag 'icons' overridden by 'emoji'"
+ elif use nerdfonts; then
+ use icons && ewarn "Warning: Use flag 'icons' overridden by 'nerdfonts'"
+ fi
+ optfeature_header "Install additional optional functionality:"
+ optfeature "mounting/unmounting support" sys-apps/udevil sys-fs/udisks
+ if use archive; then
+ optfeature_header "Install additional archive support:"
+ optfeature "zstd support" app-arch/zstd
+ optfeature "extracting .iso files" app-arch/p7zip
+ optfeature "creating .iso files" app-cdr/cdrtools
+ fi
}
diff --git a/app-misc/clifm/clifm-1.8.ebuild b/app-misc/clifm/clifm-1.8.ebuild
index d13334589..81235aa9d 100644
--- a/app-misc/clifm/clifm-1.8.ebuild
+++ b/app-misc/clifm/clifm-1.8.ebuild
@@ -6,7 +6,7 @@ EAPI=8
DESCRIPTION="The command line file manager"
HOMEPAGE="https://github.com/leo-arch/clifm"
-inherit optfeature xdg
+inherit flag-o-matic optfeature xdg
if [[ ${PV} == "9999" ]]; then
EGIT_REPO_URI="https://github.com/leo-arch/clifm.git"
@@ -20,22 +20,60 @@ fi
LICENSE="GPL-2"
SLOT="0"
-IUSE=""
+IUSE="archive +bleach emoji fzf +highlight icons +lira +magic nerdfonts nls
+ posix qsort +suggestions +tags +trash"
PATCHES=(
"${FILESDIR}/${P}-gentoo-skip-manpage-compression.patch"
)
-DEPEND="
+LIB="
sys-libs/libcap
sys-libs/readline:=
sys-apps/acl
- sys-apps/file
+ magic? ( sys-apps/file )
+"
+
+DEPEND="
+ ${LIB}
+ nls? ( sys-devel/gettext )
+"
+RDEPEND="
+ ${LIB}
+ archive? (
+ app-arch/atool
+ sys-fs/archivemount
+ )
+ fzf? ( app-shells/fzf )
+ nls? ( virtual/libintl )
"
-RDEPEND="${DEPEND}"
BDEPEND=""
src_compile() {
+ # emoji > nerdfonts > icons
+ if ! use emoji; then # support for emoji-icons is default
+ if use nerdfonts; then
+ append-cflags "-D_NERD"
+ elif use icons; then
+ append-cflags "-D_ICONS_IN_TERMINAL"
+ else
+ append-cflags "-D_NO_ICONS"
+ fi
+ fi
+
+ use posix && append-cflags "-D_BE_POSIX"
+ use archive || append-cflags "-D_NO_ARCHIVING"
+ use bleach || append-cflags "-D_NO_BLEACH"
+ use nls || append-cflags "-D_NO_GETTEXT"
+ use fzf || append-cflags "-D_NO_FZF"
+ use highlight || append-cflags "-D_NO_HIGHLIGHT"
+ use lira || append-cflags "-D_NO_LIRA"
+ use magic || append-cflags "-D_NO_MAGIC"
+ use suggestions || append-cflags "-D_NO_SUGGESTIONS"
+ use tags || append-cflags "-D_NO_TAGS"
+ use trash || append-cflags "-D_NO_TRASH"
+ use qsort && append-cflags "-D_TOURBIN_QSORT"
+
# makefile defaults to /usr/local
emake PREFIX="/usr"
}
@@ -47,14 +85,19 @@ src_install() {
}
pkg_postinst() {
- optfeature_header "Install additional optional functionality:"
- optfeature "fzf tab completion and more" app-shells/fzf
- optfeature "mounting/unmounting support" sys-fs/udisks sys-apps/udevil
- optfeature_header "Install optional archiving support (if you didn't use -D_NO_ARCHIVING):"
- optfeature "zstd operations" app-arch/zstd
- optfeature "archive extraction/unpacking" app-arch/atool
- optfeature "mounting archives" sys-fs/archivemount
- optfeature "extracting .iso files" app-arch/p7zip
- optfeature "creating .iso files" app-cdr/cdrtools
xdg_pkg_postinst
+ if use emoji; then
+ use nerdfonts && ewarn "Warning: Use flag 'nerdfonts' overridden by 'emoji'"
+ use icons && ewarn "Warning: Use flag 'icons' overridden by 'emoji'"
+ elif use nerdfonts; then
+ use icons && ewarn "Warning: Use flag 'icons' overridden by 'nerdfonts'"
+ fi
+ optfeature_header "Install additional optional functionality:"
+ optfeature "mounting/unmounting support" sys-apps/udevil sys-fs/udisks
+ if use archive; then
+ optfeature_header "Install additional archive support:"
+ optfeature "zstd support" app-arch/zstd
+ optfeature "extracting .iso files" app-arch/p7zip
+ optfeature "creating .iso files" app-cdr/cdrtools
+ fi
}
diff --git a/app-misc/clifm/clifm-1.9.ebuild b/app-misc/clifm/clifm-1.9.ebuild
index d13334589..fd5924273 100644
--- a/app-misc/clifm/clifm-1.9.ebuild
+++ b/app-misc/clifm/clifm-1.9.ebuild
@@ -6,7 +6,7 @@ EAPI=8
DESCRIPTION="The command line file manager"
HOMEPAGE="https://github.com/leo-arch/clifm"
-inherit optfeature xdg
+inherit flag-o-matic optfeature xdg
if [[ ${PV} == "9999" ]]; then
EGIT_REPO_URI="https://github.com/leo-arch/clifm.git"
@@ -20,22 +20,58 @@ fi
LICENSE="GPL-2"
SLOT="0"
-IUSE=""
+IUSE="archive +bleach emoji +highlight icons +lira +magic nerdfonts nls
+ posix qsort +suggestions +tags"
PATCHES=(
"${FILESDIR}/${P}-gentoo-skip-manpage-compression.patch"
)
-DEPEND="
+LIB="
sys-libs/libcap
sys-libs/readline:=
sys-apps/acl
- sys-apps/file
+ magic? ( sys-apps/file )
+"
+
+DEPEND="
+ ${LIB}
+ nls? ( sys-devel/gettext )
+"
+RDEPEND="
+ ${LIB}
+ archive? (
+ app-arch/atool
+ sys-fs/archivemount
+ )
+ nls? ( virtual/libintl )
"
-RDEPEND="${DEPEND}"
BDEPEND=""
src_compile() {
+ # emoji > nerdfonts > icons
+ if ! use emoji; then # support for emoji-icons is default
+ if use nerdfonts; then
+ append-cflags "-D_NERD"
+ elif use icons; then
+ append-cflags "-D_ICONS_IN_TERMINAL"
+ fi
+ # do not append -D_NO_ICONS here, causes compilation error
+ fi
+
+ use posix && append-cflags "-D_BE_POSIX"
+ use archive || append-cflags "-D_NO_ARCHIVING"
+ use bleach || append-cflags "-D_NO_BLEACH"
+ use nls || append-cflags "-D_NO_GETTEXT"
+ # -D_NO_FZF causes compile error
+ use highlight || append-cflags "-D_NO_HIGHLIGHT"
+ use lira || append-cflags "-D_NO_LIRA"
+ use magic || append-cflags "-D_NO_MAGIC"
+ use suggestions || append-cflags "-D_NO_SUGGESTIONS"
+ use tags || append-cflags "-D_NO_TAGS"
+ # -D_NO_TRASH causes compile error
+ use qsort && append-cflags "-D_TOURBIN_QSORT"
+
# makefile defaults to /usr/local
emake PREFIX="/usr"
}
@@ -47,14 +83,23 @@ src_install() {
}
pkg_postinst() {
+ xdg_pkg_postinst
+ if use emoji; then
+ use nerdfonts && ewarn "Warning: Use flag 'nerdfonts' overridden by 'emoji'"
+ use icons && ewarn "Warning: Use flag 'icons' overridden by 'emoji'"
+ elif use nerdfonts; then
+ use icons && ewarn "Warning: Use flag 'icons' overridden by 'nerdfonts'"
+ else
+ use icons || ewarn "Warning: as none of 'emoji', 'nerdfonts', or 'icons' were selected, \
+ 'emoji' was implicitly enabled to prevent compilation error"
+ fi
optfeature_header "Install additional optional functionality:"
+ optfeature "mounting/unmounting support" sys-apps/udevil sys-fs/udisks
optfeature "fzf tab completion and more" app-shells/fzf
- optfeature "mounting/unmounting support" sys-fs/udisks sys-apps/udevil
- optfeature_header "Install optional archiving support (if you didn't use -D_NO_ARCHIVING):"
- optfeature "zstd operations" app-arch/zstd
- optfeature "archive extraction/unpacking" app-arch/atool
- optfeature "mounting archives" sys-fs/archivemount
- optfeature "extracting .iso files" app-arch/p7zip
- optfeature "creating .iso files" app-cdr/cdrtools
- xdg_pkg_postinst
+ if use archive; then
+ optfeature_header "Install additional archive support:"
+ optfeature "zstd support" app-arch/zstd
+ optfeature "extracting .iso files" app-arch/p7zip
+ optfeature "creating .iso files" app-cdr/cdrtools
+ fi
}
diff --git a/app-misc/clifm/clifm-9999.ebuild b/app-misc/clifm/clifm-9999.ebuild
index d13334589..c1b074b8e 100644
--- a/app-misc/clifm/clifm-9999.ebuild
+++ b/app-misc/clifm/clifm-9999.ebuild
@@ -6,7 +6,7 @@ EAPI=8
DESCRIPTION="The command line file manager"
HOMEPAGE="https://github.com/leo-arch/clifm"
-inherit optfeature xdg
+inherit flag-o-matic optfeature xdg
if [[ ${PV} == "9999" ]]; then
EGIT_REPO_URI="https://github.com/leo-arch/clifm.git"
@@ -20,22 +20,61 @@ fi
LICENSE="GPL-2"
SLOT="0"
-IUSE=""
+IUSE="archive +bleach emoji fzf +highlight icons +lira +magic nerdfonts nls
+ posix +profiles qsort +suggestions +tags +trash"
PATCHES=(
"${FILESDIR}/${P}-gentoo-skip-manpage-compression.patch"
)
-DEPEND="
+LIB="
sys-libs/libcap
sys-libs/readline:=
sys-apps/acl
- sys-apps/file
+ magic? ( sys-apps/file )
+"
+
+DEPEND="
+ ${LIB}
+ nls? ( sys-devel/gettext )
+"
+RDEPEND="
+ ${LIB}
+ archive? (
+ app-arch/atool
+ sys-fs/archivemount
+ )
+ fzf? ( app-shells/fzf )
+ nls? ( virtual/libintl )
"
-RDEPEND="${DEPEND}"
BDEPEND=""
src_compile() {
+ # emoji > nerdfonts > icons
+ if ! use emoji; then # support for emoji-icons is default
+ if use nerdfonts; then
+ append-cflags "-D_NERD"
+ elif use icons; then
+ append-cflags "-D_ICONS_IN_TERMINAL"
+ else
+ append-cflags "-D_NO_ICONS"
+ fi
+ fi
+
+ use posix && append-cflags "-D_BE_POSIX"
+ use archive || append-cflags "-D_NO_ARCHIVING"
+ use bleach || append-cflags "-D_NO_BLEACH"
+ use nls || append-cflags "-D_NO_GETTEXT"
+ use fzf || append-cflags "-D_NO_FZF"
+ use highlight || append-cflags "-D_NO_HIGHLIGHT"
+ use lira || append-cflags "-D_NO_LIRA"
+ use magic || append-cflags "-D_NO_MAGIC"
+ use suggestions || append-cflags "-D_NO_SUGGESTIONS"
+ use tags || append-cflags "-D_NO_TAGS"
+ use profiles || append-cflags "-D_NO_PROFILES"
+ use trash || append-cflags "-D_NO_TRASH"
+ use qsort && append-cflags "-D_TOURBIN_QSORT"
+
# makefile defaults to /usr/local
emake PREFIX="/usr"
}
@@ -47,14 +86,19 @@ src_install() {
}
pkg_postinst() {
- optfeature_header "Install additional optional functionality:"
- optfeature "fzf tab completion and more" app-shells/fzf
- optfeature "mounting/unmounting support" sys-fs/udisks sys-apps/udevil
- optfeature_header "Install optional archiving support (if you didn't use -D_NO_ARCHIVING):"
- optfeature "zstd operations" app-arch/zstd
- optfeature "archive extraction/unpacking" app-arch/atool
- optfeature "mounting archives" sys-fs/archivemount
- optfeature "extracting .iso files" app-arch/p7zip
- optfeature "creating .iso files" app-cdr/cdrtools
xdg_pkg_postinst
+ if use emoji; then
+ use nerdfonts && ewarn "Warning: Use flag 'nerdfonts' overridden by 'emoji'"
+ use icons && ewarn "Warning: Use flag 'icons' overridden by 'emoji'"
+ elif use nerdfonts; then
+ use icons && ewarn "Warning: Use flag 'icons' overridden by 'nerdfonts'"
+ fi
+ optfeature_header "Install additional optional functionality:"
+ optfeature "mounting/unmounting support" sys-apps/udevil sys-fs/udisks
+ if use archive; then
+ optfeature_header "Install additional archive support:"
+ optfeature "zstd support" app-arch/zstd
+ optfeature "extracting .iso files" app-arch/p7zip
+ optfeature "creating .iso files" app-cdr/cdrtools
+ fi
}
diff --git a/app-misc/clifm/files/clifm-9999-gentoo-skip-manpage-compression.patch b/app-misc/clifm/files/clifm-9999-gentoo-skip-manpage-compression.patch
index 365df14c7..81dd76bba 100644
--- a/app-misc/clifm/files/clifm-9999-gentoo-skip-manpage-compression.patch
+++ b/app-misc/clifm/files/clifm-9999-gentoo-skip-manpage-compression.patch
@@ -2,11 +2,11 @@ Skip manpage compression in makefile.
--- a/Makefile
+++ b/Makefile
-@@ -54,7 +54,6 @@ install: $(BIN)
- $(INSTALL) -m 0755 -d $(DESTDIR)$(DATADIR)/zsh/site-functions
+@@ -55,7 +55,6 @@ install: $(BIN)
+ $(INSTALL) -m 0755 -d $(DESTDIR)$(DESKTOPPREFIX)
$(INSTALL) -m 0755 -d $(DESTDIR)$(DESKTOPICONPREFIX)/scalable/apps
$(INSTALL) -m 0644 misc/manpage $(DESTDIR)$(MANDIR)/man1/$(BIN).1
- gzip -f -- $(DESTDIR)$(MANDIR)/man1/$(BIN).1
$(INSTALL) -m 0644 misc/completions.bash $(DESTDIR)$(DATADIR)/bash-completion/completions/$(BIN)
$(INSTALL) -m 0644 misc/completions.zsh $(DESTDIR)$(DATADIR)/zsh/site-functions/_$(BIN)
- $(INSTALL) -m 0644 misc/$(BIN).desktop $(DESTDIR)$(DESKTOPPREFIX)
+ $(INSTALL) -m 0644 misc/completions.fish $(DESTDIR)$(DATADIR)/fish/vendor_completions.d/$(BIN).fish
diff --git a/app-misc/clifm/metadata.xml b/app-misc/clifm/metadata.xml
index ae399b1f4..1f6b584da 100644
--- a/app-misc/clifm/metadata.xml
+++ b/app-misc/clifm/metadata.xml
@@ -3,13 +3,63 @@
<pkgmetadata>
<longdescription>
The command line file manager.
- By default most features are enabled, customizing this requires adding CFLAGS:
+ More information about the use flags can be found here:
https://github.com/leo-arch/clifm/blob/master/src/README.md#compiling-features-inout
</longdescription>
<maintainer type="person">
<email>michaelzcyang@gmail.com</email>
<name>Michael Yang</name>
</maintainer>
+ <use>
+ <flag name="archive">
+ Archive manipulation support (extraction/decompression, listing, repacking, mounting)
+ </flag>
+ <flag name="bleach">
+ Support for Bleach, the built-in file names cleaner
+ </flag>
+ <flag name="emoji">
+ Enable icons and set them to use the noto-emoji font (see <pkg>media-fonts/noto-emoji</pkg>)
+ </flag>
+ <flag name="fzf">
+ Enable support for tab completion via <pkg>app-shells/fzf</pkg>
+ </flag>
+ <flag name="highlight">
+ Syntax highlighting support
+ </flag>
+ <flag name="icons">
+ Enable icons and set them to use icons-in-terminal (see https://github.com/sebastiencs/icons-in-terminal)
+ </flag>
+ <flag name="lira">
+ Add Lira as the default built-in resource opener
+ </flag>
+ <flag name="magic">
+ Use libmagic from <pkg>sys-apps/file</pkg> to query file MIME types (instead of using the output of the file command)
+ </flag>
+ <flag name="nerdfonts">
+ Enable icons and set them to use NerdFonts
+ </flag>
+ <flag name="nls">
+ Add translations support (via <pkg>sys-devel/gettext</pkg>)
+ </flag>
+ <flag name="posix">
+ Force POSIX.1-2008 compliance, removing support for Linux-specific "file birth time" information
+ </flag>
+ <flag name="profiles">
+ Enable support for creating, switching, renaming, and deleting of user profiles
+ </flag>
+ <flag name="qsort">
+ Use Alexey Tourbin's faster qsort implementation
+ </flag>
+ <flag name="suggestions">
+ Autosuggestion support
+ </flag>
+ <flag name="tags">
+ Built-in file tagging system support
+ </flag>
+ <flag name="trash">
+ FreeDesktop compliant trash system support
+ </flag>
+ </use>
<upstream>
<remote-id type="github">leo-arch/clifm</remote-id>
</upstream>
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: app-misc/clifm/files/, app-misc/clifm/
@ 2023-07-24 8:24 Viorel Munteanu
0 siblings, 0 replies; 4+ messages in thread
From: Viorel Munteanu @ 2023-07-24 8:24 UTC (permalink / raw
To: gentoo-commits
commit: cbfcf8a92802d65e62688a2b74fdf221cdb31943
Author: Michael Yang <michaelzcyang <AT> gmail <DOT> com>
AuthorDate: Mon Jul 24 01:12:15 2023 +0000
Commit: Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Mon Jul 24 01:13:25 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=cbfcf8a9
app-misc/clifm: add 1.13, drop 1.10
Signed-off-by: Michael Yang <michaelzcyang <AT> gmail.com>
app-misc/clifm/Manifest | 2 +-
.../clifm/{clifm-1.10.ebuild => clifm-1.13.ebuild} | 19 ++++++++++---------
app-misc/clifm/clifm-9999.ebuild | 8 ++++++--
... clifm-1.13-gentoo-skip-manpage-compression.patch} | 6 +++---
app-misc/clifm/metadata.xml | 8 +++++++-
5 files changed, 27 insertions(+), 16 deletions(-)
diff --git a/app-misc/clifm/Manifest b/app-misc/clifm/Manifest
index d37bb516f..9acace736 100644
--- a/app-misc/clifm/Manifest
+++ b/app-misc/clifm/Manifest
@@ -1,4 +1,4 @@
-DIST clifm-1.10.tar.gz 1355974 BLAKE2B d5c3ad1b8617471156f8759ebda4e2d62bb7b9db57f61287eb6b1a99f72cac04cea9a9f02bc82d8188a62b18b72e207d017b9bb2c910aa44560691506d50a0aa SHA512 9d59f0258fd44b02eefc0f0eb1ef9f18c90395e440b6ac775211345c64d97dbecef32f746f081a0ab602ab0a58a314be9e873baa538e42939c52eb57d2464d75
DIST clifm-1.11.tar.gz 1378500 BLAKE2B ea1cb37bb61538c1b64bbafdce5adee977bf14fb2deb7b4b54ae1a4e39824543dbd23e9c63563228e30ae35ce9d22d7c11b0b18e370310a5e5c9a60f1b425275 SHA512 5075dab38000f0eb026cacc1d31b8f3e20157d4ec19e84f5f271ffae9a4f99aa03411d6d47470eb37879bbe497c7747db90a7f4ac7760439f67f1a3537cb77e2
DIST clifm-1.12.tar.gz 1448233 BLAKE2B 82c2a7502cd2955a6c89adc273129f88e660ab263f7718605f8bb0f533c79a1aa1ea2c4c0b203362f4a368bad9adcead02e6eb2f0f1bb9a8d09d9f1e9a8cf9c2 SHA512 4593a934bf07c186caad160d2a77b458177b9c38f58d720600ebfa4b7ad95238b1e58616b9b4d94435b736e7b55fc5f1981abce83ea4d6c5350e5f035823f9dd
+DIST clifm-1.13.tar.gz 1467612 BLAKE2B 06e6a986c1504ae2cbaa6e38daaf26c44d477102bdb0e67d529b35a066dbf6695841eb6fa69ed0379aca2028dfa327f98a8060c80f57c5f2653285ff4ed4a116 SHA512 3a1936b5517c6f8babb59a32af03e2408b9e3bd59fceb88c6101785f38175e71026128df07c46b05aa34ad4519063b6e80e22e29f0b277106a3b7d7e3341d584
DIST clifm-1.8.tar.gz 1302830 BLAKE2B 87e7dc41053af6ccbd819ec0403ca14aeb40865ea49ab87e8601765be771b5e447f593ffb9f94674dbc2afbdb67849a5a8a1d2b26ab524479c4edbfb2c4c79a6 SHA512 4b534f4c33462dd6571d69a5b0405295580d980f7c5c43f0893828c7ab624eb366f7e617a97b0357a26663df3c25b1cb2c175ee372f8c18e9b3f061186b76827
diff --git a/app-misc/clifm/clifm-1.10.ebuild b/app-misc/clifm/clifm-1.13.ebuild
similarity index 84%
rename from app-misc/clifm/clifm-1.10.ebuild
rename to app-misc/clifm/clifm-1.13.ebuild
index fd5924273..2ea68d061 100644
--- a/app-misc/clifm/clifm-1.10.ebuild
+++ b/app-misc/clifm/clifm-1.13.ebuild
@@ -20,8 +20,8 @@ fi
LICENSE="GPL-2"
SLOT="0"
-IUSE="archive +bleach emoji +highlight icons +lira +magic nerdfonts nls
- posix qsort +suggestions +tags"
+IUSE="archive +bleach emoji fzf +highlight icons +inotify +lira +magic
+ nerdfonts nls posix +profiles qsort +suggestions +tags +trash"
PATCHES=(
"${FILESDIR}/${P}-gentoo-skip-manpage-compression.patch"
@@ -44,6 +44,7 @@ RDEPEND="
app-arch/atool
sys-fs/archivemount
)
+ fzf? ( app-shells/fzf )
nls? ( virtual/libintl )
"
BDEPEND=""
@@ -55,22 +56,25 @@ src_compile() {
append-cflags "-D_NERD"
elif use icons; then
append-cflags "-D_ICONS_IN_TERMINAL"
+ else
+ append-cflags "-D_NO_ICONS"
fi
- # do not append -D_NO_ICONS here, causes compilation error
fi
use posix && append-cflags "-D_BE_POSIX"
use archive || append-cflags "-D_NO_ARCHIVING"
use bleach || append-cflags "-D_NO_BLEACH"
use nls || append-cflags "-D_NO_GETTEXT"
- # -D_NO_FZF causes compile error
+ use fzf || append-cflags "-D_NO_FZF"
use highlight || append-cflags "-D_NO_HIGHLIGHT"
use lira || append-cflags "-D_NO_LIRA"
use magic || append-cflags "-D_NO_MAGIC"
use suggestions || append-cflags "-D_NO_SUGGESTIONS"
use tags || append-cflags "-D_NO_TAGS"
- # -D_NO_TRASH causes compile error
+ use profiles || append-cflags "-D_NO_PROFILES"
+ use trash || append-cflags "-D_NO_TRASH"
use qsort && append-cflags "-D_TOURBIN_QSORT"
+ use inotify || append-cflags "-DUSE_GENERIC_FS_MONITOR"
# makefile defaults to /usr/local
emake PREFIX="/usr"
@@ -89,13 +93,10 @@ pkg_postinst() {
use icons && ewarn "Warning: Use flag 'icons' overridden by 'emoji'"
elif use nerdfonts; then
use icons && ewarn "Warning: Use flag 'icons' overridden by 'nerdfonts'"
- else
- use icons || ewarn "Warning: as none of 'emoji', 'nerdfonts', or 'icons' were selected, \
- 'emoji' was implicitly enabled to prevent compilation error"
fi
+ use inotify && use posix && ewarn "Warning: Use flag 'inotify' overriden by 'posix'"
optfeature_header "Install additional optional functionality:"
optfeature "mounting/unmounting support" sys-apps/udevil sys-fs/udisks
- optfeature "fzf tab completion and more" app-shells/fzf
if use archive; then
optfeature_header "Install additional archive support:"
optfeature "zstd support" app-arch/zstd
diff --git a/app-misc/clifm/clifm-9999.ebuild b/app-misc/clifm/clifm-9999.ebuild
index c1b074b8e..c309e5adc 100644
--- a/app-misc/clifm/clifm-9999.ebuild
+++ b/app-misc/clifm/clifm-9999.ebuild
@@ -20,8 +20,8 @@ fi
LICENSE="GPL-2"
SLOT="0"
-IUSE="archive +bleach emoji fzf +highlight icons +lira +magic nerdfonts nls
- posix +profiles qsort +suggestions +tags +trash"
+IUSE="arc4random archive +bleach emoji fzf +highlight icons +inotify +lira +magic
+ nerdfonts nls posix +profiles qsort +suggestions +tags +trash"
PATCHES=(
"${FILESDIR}/${P}-gentoo-skip-manpage-compression.patch"
@@ -63,6 +63,7 @@ src_compile() {
use posix && append-cflags "-D_BE_POSIX"
use archive || append-cflags "-D_NO_ARCHIVING"
+ use arc4random || append-cflags "-D_NO_ARC4RANDOM"
use bleach || append-cflags "-D_NO_BLEACH"
use nls || append-cflags "-D_NO_GETTEXT"
use fzf || append-cflags "-D_NO_FZF"
@@ -74,6 +75,7 @@ src_compile() {
use profiles || append-cflags "-D_NO_PROFILES"
use trash || append-cflags "-D_NO_TRASH"
use qsort && append-cflags "-D_TOURBIN_QSORT"
+ use inotify || append-cflags "-DUSE_GENERIC_FS_MONITOR"
# makefile defaults to /usr/local
emake PREFIX="/usr"
@@ -93,6 +95,8 @@ pkg_postinst() {
elif use nerdfonts; then
use icons && ewarn "Warning: Use flag 'icons' overridden by 'nerdfonts'"
fi
+ use inotify && use posix && ewarn "Warning: Use flag 'inotify' overriden by 'posix'"
+ use arc4random && use posix && ewarn "Warning: Use flag 'arc4random' overriden by 'posix'"
optfeature_header "Install additional optional functionality:"
optfeature "mounting/unmounting support" sys-apps/udevil sys-fs/udisks
if use archive; then
diff --git a/app-misc/clifm/files/clifm-1.10-gentoo-skip-manpage-compression.patch b/app-misc/clifm/files/clifm-1.13-gentoo-skip-manpage-compression.patch
similarity index 70%
rename from app-misc/clifm/files/clifm-1.10-gentoo-skip-manpage-compression.patch
rename to app-misc/clifm/files/clifm-1.13-gentoo-skip-manpage-compression.patch
index 20406d986..81dd76bba 100644
--- a/app-misc/clifm/files/clifm-1.10-gentoo-skip-manpage-compression.patch
+++ b/app-misc/clifm/files/clifm-1.13-gentoo-skip-manpage-compression.patch
@@ -2,11 +2,11 @@ Skip manpage compression in makefile.
--- a/Makefile
+++ b/Makefile
-@@ -53,7 +53,6 @@ install: $(BIN)
- $(INSTALL) -m 0755 -d $(DESTDIR)$(DATADIR)/zsh/site-functions
+@@ -55,7 +55,6 @@ install: $(BIN)
+ $(INSTALL) -m 0755 -d $(DESTDIR)$(DESKTOPPREFIX)
$(INSTALL) -m 0755 -d $(DESTDIR)$(DESKTOPICONPREFIX)/scalable/apps
$(INSTALL) -m 0644 misc/manpage $(DESTDIR)$(MANDIR)/man1/$(BIN).1
- gzip -f -- $(DESTDIR)$(MANDIR)/man1/$(BIN).1
$(INSTALL) -m 0644 misc/completions.bash $(DESTDIR)$(DATADIR)/bash-completion/completions/$(BIN)
$(INSTALL) -m 0644 misc/completions.zsh $(DESTDIR)$(DATADIR)/zsh/site-functions/_$(BIN)
- $(INSTALL) -m 0644 misc/$(BIN).desktop $(DESTDIR)$(DESKTOPPREFIX)
+ $(INSTALL) -m 0644 misc/completions.fish $(DESTDIR)$(DATADIR)/fish/vendor_completions.d/$(BIN).fish
diff --git a/app-misc/clifm/metadata.xml b/app-misc/clifm/metadata.xml
index 1f6b584da..34bf84a53 100644
--- a/app-misc/clifm/metadata.xml
+++ b/app-misc/clifm/metadata.xml
@@ -11,6 +11,9 @@
<name>Michael Yang</name>
</maintainer>
<use>
+ <flag name="arc4random">
+ Use arc4random instead of random, requires 'posix' to be unset
+ </flag>
<flag name="archive">
Archive manipulation support (extraction/decompression, listing, repacking, mounting)
</flag>
@@ -29,6 +32,9 @@
<flag name="icons">
Enable icons and set them to use icons-in-terminal (see https://github.com/sebastiencs/icons-in-terminal)
</flag>
+ <flag name="inotify">
+ Use the inotify API for filesystem monitoring instead of a generic check, requires 'posix' to be unset
+ </flag>
<flag name="lira">
Add Lira as the default built-in resource opener
</flag>
@@ -42,7 +48,7 @@
Add translations support (via <pkg>sys-devel/gettext</pkg>)
</flag>
<flag name="posix">
- Force POSIX.1-2008 compliance, removing support for Linux-specific "file birth time" information
+ Force POSIX.1-2008 compliance, removing support for Linux-specific "file birth time" information, inotify, and arc4random
</flag>
<flag name="profiles">
Enable support for creating, switching, renaming, and deleting of user profiles
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: app-misc/clifm/files/, app-misc/clifm/
2023-07-24 8:20 [gentoo-commits] repo/proj/guru:dev commit in: app-misc/clifm/, app-misc/clifm/files/ Viorel Munteanu
@ 2023-07-24 8:24 ` Viorel Munteanu
0 siblings, 0 replies; 4+ messages in thread
From: Viorel Munteanu @ 2023-07-24 8:24 UTC (permalink / raw
To: gentoo-commits
commit: 9943af6d0350f28c91e0d4ab4b5bbdf453eec51d
Author: Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 24 08:19:46 2023 +0000
Commit: Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Mon Jul 24 08:19:46 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9943af6d
app-misc/clifm: remove duplicate identical files
Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org>
app-misc/clifm/clifm-1.13.ebuild | 2 +-
app-misc/clifm/clifm-9999.ebuild | 2 +-
.../files/clifm-1.13-gentoo-skip-manpage-compression.patch | 12 ------------
.../files/clifm-9999-gentoo-skip-manpage-compression.patch | 12 ------------
4 files changed, 2 insertions(+), 26 deletions(-)
diff --git a/app-misc/clifm/clifm-1.13.ebuild b/app-misc/clifm/clifm-1.13.ebuild
index 2ea68d061..84c0a6294 100644
--- a/app-misc/clifm/clifm-1.13.ebuild
+++ b/app-misc/clifm/clifm-1.13.ebuild
@@ -24,7 +24,7 @@ IUSE="archive +bleach emoji fzf +highlight icons +inotify +lira +magic
nerdfonts nls posix +profiles qsort +suggestions +tags +trash"
PATCHES=(
- "${FILESDIR}/${P}-gentoo-skip-manpage-compression.patch"
+ "${FILESDIR}/${PN}-1.12-gentoo-skip-manpage-compression.patch"
)
LIB="
diff --git a/app-misc/clifm/clifm-9999.ebuild b/app-misc/clifm/clifm-9999.ebuild
index c309e5adc..ad6ef8581 100644
--- a/app-misc/clifm/clifm-9999.ebuild
+++ b/app-misc/clifm/clifm-9999.ebuild
@@ -24,7 +24,7 @@ IUSE="arc4random archive +bleach emoji fzf +highlight icons +inotify +lira +magi
nerdfonts nls posix +profiles qsort +suggestions +tags +trash"
PATCHES=(
- "${FILESDIR}/${P}-gentoo-skip-manpage-compression.patch"
+ "${FILESDIR}/${PN}-1.12-gentoo-skip-manpage-compression.patch"
)
LIB="
diff --git a/app-misc/clifm/files/clifm-1.13-gentoo-skip-manpage-compression.patch b/app-misc/clifm/files/clifm-1.13-gentoo-skip-manpage-compression.patch
deleted file mode 100644
index 81dd76bba..000000000
--- a/app-misc/clifm/files/clifm-1.13-gentoo-skip-manpage-compression.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-Skip manpage compression in makefile.
-
---- a/Makefile
-+++ b/Makefile
-@@ -55,7 +55,6 @@ install: $(BIN)
- $(INSTALL) -m 0755 -d $(DESTDIR)$(DESKTOPPREFIX)
- $(INSTALL) -m 0755 -d $(DESTDIR)$(DESKTOPICONPREFIX)/scalable/apps
- $(INSTALL) -m 0644 misc/manpage $(DESTDIR)$(MANDIR)/man1/$(BIN).1
-- gzip -f -- $(DESTDIR)$(MANDIR)/man1/$(BIN).1
- $(INSTALL) -m 0644 misc/completions.bash $(DESTDIR)$(DATADIR)/bash-completion/completions/$(BIN)
- $(INSTALL) -m 0644 misc/completions.zsh $(DESTDIR)$(DATADIR)/zsh/site-functions/_$(BIN)
- $(INSTALL) -m 0644 misc/completions.fish $(DESTDIR)$(DATADIR)/fish/vendor_completions.d/$(BIN).fish
diff --git a/app-misc/clifm/files/clifm-9999-gentoo-skip-manpage-compression.patch b/app-misc/clifm/files/clifm-9999-gentoo-skip-manpage-compression.patch
deleted file mode 100644
index 81dd76bba..000000000
--- a/app-misc/clifm/files/clifm-9999-gentoo-skip-manpage-compression.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-Skip manpage compression in makefile.
-
---- a/Makefile
-+++ b/Makefile
-@@ -55,7 +55,6 @@ install: $(BIN)
- $(INSTALL) -m 0755 -d $(DESTDIR)$(DESKTOPPREFIX)
- $(INSTALL) -m 0755 -d $(DESTDIR)$(DESKTOPICONPREFIX)/scalable/apps
- $(INSTALL) -m 0644 misc/manpage $(DESTDIR)$(MANDIR)/man1/$(BIN).1
-- gzip -f -- $(DESTDIR)$(MANDIR)/man1/$(BIN).1
- $(INSTALL) -m 0644 misc/completions.bash $(DESTDIR)$(DATADIR)/bash-completion/completions/$(BIN)
- $(INSTALL) -m 0644 misc/completions.zsh $(DESTDIR)$(DATADIR)/zsh/site-functions/_$(BIN)
- $(INSTALL) -m 0644 misc/completions.fish $(DESTDIR)$(DATADIR)/fish/vendor_completions.d/$(BIN).fish
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-07-24 8:24 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-08 10:27 [gentoo-commits] repo/proj/guru:master commit in: app-misc/clifm/files/, app-misc/clifm/ Florian Schmaus
-- strict thread matches above, loose matches on Subject: below --
2023-06-07 7:04 Viorel Munteanu
2023-07-24 8:20 [gentoo-commits] repo/proj/guru:dev commit in: app-misc/clifm/, app-misc/clifm/files/ Viorel Munteanu
2023-07-24 8:24 ` [gentoo-commits] repo/proj/guru:master commit in: app-misc/clifm/files/, app-misc/clifm/ Viorel Munteanu
2023-07-24 8:24 Viorel Munteanu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox