* [gentoo-commits] repo/gentoo:master commit in: app-misc/cw/
@ 2022-06-16 0:35 Sam James
0 siblings, 0 replies; 4+ messages in thread
From: Sam James @ 2022-06-16 0:35 UTC (permalink / raw
To: gentoo-commits
commit: af397b3d6dec93a39eb752d80dd10695d654958a
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 16 00:34:05 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jun 16 00:34:49 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af397b3d
app-misc/cw: avoid implicit func. decls
Bug: https://bugs.gentoo.org/692426
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-misc/cw/cw-1.0.16-r4.ebuild | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/app-misc/cw/cw-1.0.16-r4.ebuild b/app-misc/cw/cw-1.0.16-r4.ebuild
index 8a1bb807eb9a..b738753f2715 100644
--- a/app-misc/cw/cw-1.0.16-r4.ebuild
+++ b/app-misc/cw/cw-1.0.16-r4.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-inherit toolchain-funcs
+inherit flag-o-matic toolchain-funcs
DESCRIPTION="A non-intrusive real-time ANSI color wrapper for common unix-based commands"
HOMEPAGE="http://cwrapper.sourceforge.net"
@@ -23,11 +23,15 @@ PATCHES=(
src_unpack() {
default
+
gunzip "${S}"/man/*.gz || die
}
src_configure() {
tc-export CC
+
+ append-flags -D_XOPEN_SOURCE=500 -D_GNU_SOURCE
+
econf
}
@@ -56,7 +60,7 @@ src_install() {
pkg_postinst() {
ebegin "Updating definition files"
- cwu /usr/libexec/cw /usr/bin/color-wrapper || die # >/dev/null
+ cwu /usr/libexec/cw /usr/bin/color-wrapper # >/dev/null
eend $?
elog "To enable color-wrapper, as your user, run:"
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/cw/
@ 2022-10-20 10:52 Jakov Smolić
0 siblings, 0 replies; 4+ messages in thread
From: Jakov Smolić @ 2022-10-20 10:52 UTC (permalink / raw
To: gentoo-commits
commit: 4e048a1c4baef7f68e1a489377c69f0d4204460a
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 20 10:52:18 2022 +0000
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Thu Oct 20 10:52:18 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e048a1c
app-misc/cw: Stabilize 1.0.16-r5 amd64, #877693
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
app-misc/cw/cw-1.0.16-r5.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-misc/cw/cw-1.0.16-r5.ebuild b/app-misc/cw/cw-1.0.16-r5.ebuild
index 055fddd637fe..55a62eabec2f 100644
--- a/app-misc/cw/cw-1.0.16-r5.ebuild
+++ b/app-misc/cw/cw-1.0.16-r5.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/cwrapper/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
PATCHES=(
"${FILESDIR}"/${PV}-ldflags.patch
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/cw/
@ 2022-10-20 10:56 Jakov Smolić
0 siblings, 0 replies; 4+ messages in thread
From: Jakov Smolić @ 2022-10-20 10:56 UTC (permalink / raw
To: gentoo-commits
commit: 2ef5c526d49ef6bf31c6ff4f6d1c3fbedbbee2f2
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 20 10:56:09 2022 +0000
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Thu Oct 20 10:56:09 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ef5c526
app-misc/cw: Stabilize 1.0.16-r5 x86, #877693
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
app-misc/cw/cw-1.0.16-r5.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-misc/cw/cw-1.0.16-r5.ebuild b/app-misc/cw/cw-1.0.16-r5.ebuild
index 55a62eabec2f..9af89860a23a 100644
--- a/app-misc/cw/cw-1.0.16-r5.ebuild
+++ b/app-misc/cw/cw-1.0.16-r5.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/cwrapper/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
PATCHES=(
"${FILESDIR}"/${PV}-ldflags.patch
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/cw/
@ 2024-10-26 21:03 Andreas K. Hüttel
0 siblings, 0 replies; 4+ messages in thread
From: Andreas K. Hüttel @ 2024-10-26 21:03 UTC (permalink / raw
To: gentoo-commits
commit: 0ece3cddbf339a7507856c49c4e78d06bd99f338
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 26 21:03:32 2024 +0000
Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Sat Oct 26 21:03:32 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ece3cdd
app-misc/cw: drop 1.0.16-r3
Bug: https://bugs.gentoo.org/870751
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>
app-misc/cw/cw-1.0.16-r3.ebuild | 64 -----------------------------------------
1 file changed, 64 deletions(-)
diff --git a/app-misc/cw/cw-1.0.16-r3.ebuild b/app-misc/cw/cw-1.0.16-r3.ebuild
deleted file mode 100644
index edce7bf53157..000000000000
--- a/app-misc/cw/cw-1.0.16-r3.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit toolchain-funcs
-
-DESCRIPTION="A non-intrusive real-time ANSI color wrapper for common unix-based commands"
-HOMEPAGE="http://cwrapper.sourceforge.net/"
-SRC_URI="https://downloads.sourceforge.net/cwrapper/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-
-PATCHES=(
- "${FILESDIR}"/${PV}-ldflags.patch
- "${FILESDIR}"/${PV}-path.patch
- "${FILESDIR}"/${PV}-collision.patch
- "${FILESDIR}"/${PV}-format-security.patch
-)
-
-src_configure() {
- tc-export CC
- econf
-}
-
-src_compile() {
- emake local
-}
-
-src_install() {
- insinto /usr/share/cw
- doins etc/*
-
- exeinto /usr/libexec/cw
- doexe def/*
-
- doman man/cwu*
- newman man/cw.* color-wrapper
- dodoc CHANGES CONTRIB INSTALL README PLATFORM doc/README*
-
- dobin bin/{cwu,colorcfg}
- # app-misc/color currently conflicts; hopefully 'colors' is safe
- newbin bin/color colors
- # media-radio/unixcw currently conflicts;
- newbin bin/cw color-wrapper
-}
-
-pkg_postinst() {
- ebegin "Updating definition files"
- cwu /usr/libexec/cw /usr/bin/color-wrapper # >/dev/null
- eend $?
-
- elog "To enable color-wrapper, as your user, run:"
- elog " colorcfg [1|2|3]"
- elog "to add relevant environment variables to your ~/.bash_profile"
- elog "Run colorcfg without options to see what [1|2|3] means."
- elog
- elog "After sourcing your ~/.bash_profile, commands for which definitions"
- elog "are provided should have colored output."
- elog
- elog "To enable/disable colored output, run: 'colors [on|off]'."
-}
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-10-26 21:03 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-16 0:35 [gentoo-commits] repo/gentoo:master commit in: app-misc/cw/ Sam James
-- strict thread matches above, loose matches on Subject: below --
2022-10-20 10:52 Jakov Smolić
2022-10-20 10:56 Jakov Smolić
2024-10-26 21:03 Andreas K. Hüttel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox