[gentoo-commits] repo/gentoo:master commit in: x11-plugins/wmcms/

2022-07-09 Thread Bernard Cafarelli
commit: 4dde84689c6edcdf044a877cc80f52f6a287dc63
Author: Bernard Cafarelli  gentoo  org>
AuthorDate: Sat Jul  9 12:03:02 2022 +
Commit: Bernard Cafarelli  gentoo  org>
CommitDate: Sat Jul  9 15:40:52 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4dde8468

x11-plugins/wmcms: respect CC

Closes: https://bugs.gentoo.org/726262
Signed-off-by: Bernard Cafarelli  gentoo.org>

 x11-plugins/wmcms/wmcms-0.3.5-r4.ebuild | 6 --
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/x11-plugins/wmcms/wmcms-0.3.5-r4.ebuild 
b/x11-plugins/wmcms/wmcms-0.3.5-r4.ebuild
index 70c2fcf3f058..af360d3fe27e 100644
--- a/x11-plugins/wmcms/wmcms-0.3.5-r4.ebuild
+++ b/x11-plugins/wmcms/wmcms-0.3.5-r4.ebuild
@@ -1,8 +1,10 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
+inherit toolchain-funcs
+
 DESCRIPTION="WindowMaker CPU and Memory Usage Monitor Dock App"
 HOMEPAGE="https://www.geocities.ws/neofpo/wmcms.html;
 SRC_URI="https://www.geocities.ws/neofpo/files/${P}.tar.gz;
@@ -27,7 +29,7 @@ src_prepare() {
 }
 
 src_compile() {
-   emake CFLAGS="${CFLAGS}"
+   emake CFLAGS="${CFLAGS}" CC="$(tc-getCC)"
 }
 
 src_install() {



[gentoo-commits] repo/gentoo:master commit in: x11-plugins/wmcms/files/

2020-05-31 Thread Bernard Cafarelli
commit: c6478a9dacd625db4650112e8c092676e06b28f5
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Sun May 31 16:11:49 2020 +
Commit: Bernard Cafarelli  gentoo  org>
CommitDate: Sun May 31 23:01:21 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6478a9d

x11-plugins/wmcms: remove unused patch

Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Michael Mair-Keimberger  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/16033
Signed-off-by: Bernard Cafarelli  gentoo.org>

 x11-plugins/wmcms/files/wmcms-0.3.5-fno-common.patch | 11 ---
 1 file changed, 11 deletions(-)

diff --git a/x11-plugins/wmcms/files/wmcms-0.3.5-fno-common.patch 
b/x11-plugins/wmcms/files/wmcms-0.3.5-fno-common.patch
deleted file mode 100644
index 3b060769667..000
--- a/x11-plugins/wmcms/files/wmcms-0.3.5-fno-common.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -Naur wmcms-0.3.5.orig/wmcms.c wmcms-0.3.5/wmcms.c
 wmcms-0.3.5.orig/wmcms.c   2001-09-24 00:57:06.0 +0200
-+++ wmcms-0.3.5/wmcms.c2020-03-29 13:04:56.465162877 +0200
-@@ -28,6 +28,7 @@
- GC gc;
- Pixmap pixmap;
- Pixmap backdrop;
-+Display *display;
- 
- int advanced;
- int up;



[gentoo-commits] repo/gentoo:master commit in: x11-plugins/wmcms/

2020-03-29 Thread Bernard Cafarelli
commit: 8857b822aedca2fbd1192191930b92e057bff57d
Author: Bernard Cafarelli  gentoo  org>
AuthorDate: Sun Mar 29 15:10:54 2020 +
Commit: Bernard Cafarelli  gentoo  org>
CommitDate: Sun Mar 29 15:16:58 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8857b822

x11-plugins/wmcms: no need to fix libdockapp issue here

Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Bernard Cafarelli  gentoo.org>

 x11-plugins/wmcms/wmcms-0.3.5-r4.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/x11-plugins/wmcms/wmcms-0.3.5-r4.ebuild 
b/x11-plugins/wmcms/wmcms-0.3.5-r4.ebuild
index cddbcd6bd97..70c2fcf3f05 100644
--- a/x11-plugins/wmcms/wmcms-0.3.5-r4.ebuild
+++ b/x11-plugins/wmcms/wmcms-0.3.5-r4.ebuild
@@ -11,11 +11,10 @@ LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
 
-DEPEND=">=x11-libs/libdockapp-0.7-r1:="
+DEPEND=">=x11-libs/libdockapp-0.7:="
 
 PATCHES=(
"${FILESDIR}"/${P}-s4t4n.patch
-   "${FILESDIR}"/${P}-fno-common.patch
 )
 
 src_prepare() {



[gentoo-commits] repo/gentoo:master commit in: x11-plugins/wmcms/, x11-plugins/wmcms/files/

2020-03-29 Thread Bernard Cafarelli
commit: c1eb239fdf5a90663dddb79c520bbacae2974687
Author: Bernard Cafarelli  gentoo  org>
AuthorDate: Sun Mar 29 11:08:19 2020 +
Commit: Bernard Cafarelli  gentoo  org>
CommitDate: Sun Mar 29 11:35:23 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1eb239f

x11-plugins/wmcms: fix build with -fno-common

Latest libdockapp revbump now defines a global variable as extern

Bug: https://bugs.gentoo.org/715260
Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Bernard Cafarelli  gentoo.org>

 x11-plugins/wmcms/files/wmcms-0.3.5-fno-common.patch  | 11 +++
 .../wmcms/{wmcms-0.3.5-r3.ebuild => wmcms-0.3.5-r4.ebuild}| 10 +++---
 2 files changed, 18 insertions(+), 3 deletions(-)

diff --git a/x11-plugins/wmcms/files/wmcms-0.3.5-fno-common.patch 
b/x11-plugins/wmcms/files/wmcms-0.3.5-fno-common.patch
new file mode 100644
index 000..3b060769667
--- /dev/null
+++ b/x11-plugins/wmcms/files/wmcms-0.3.5-fno-common.patch
@@ -0,0 +1,11 @@
+diff -Naur wmcms-0.3.5.orig/wmcms.c wmcms-0.3.5/wmcms.c
+--- wmcms-0.3.5.orig/wmcms.c   2001-09-24 00:57:06.0 +0200
 wmcms-0.3.5/wmcms.c2020-03-29 13:04:56.465162877 +0200
+@@ -28,6 +28,7 @@
+ GC gc;
+ Pixmap pixmap;
+ Pixmap backdrop;
++Display *display;
+ 
+ int advanced;
+ int up;

diff --git a/x11-plugins/wmcms/wmcms-0.3.5-r3.ebuild 
b/x11-plugins/wmcms/wmcms-0.3.5-r4.ebuild
similarity index 78%
rename from x11-plugins/wmcms/wmcms-0.3.5-r3.ebuild
rename to x11-plugins/wmcms/wmcms-0.3.5-r4.ebuild
index 3c00c746459..cddbcd6bd97 100644
--- a/x11-plugins/wmcms/wmcms-0.3.5-r3.ebuild
+++ b/x11-plugins/wmcms/wmcms-0.3.5-r4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -11,11 +11,15 @@ LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
 
-DEPEND=">=x11-libs/libdockapp-0.7:="
+DEPEND=">=x11-libs/libdockapp-0.7-r1:="
+
+PATCHES=(
+   "${FILESDIR}"/${P}-s4t4n.patch
+   "${FILESDIR}"/${P}-fno-common.patch
+)
 
 src_prepare() {
default
-   eapply "${FILESDIR}"/wmcms-0.3.5-s4t4n.patch
 
# Respect LDFLAGS, see bug #335031
sed -e 's/ -o wmcms/ ${LDFLAGS} -o wmcms/' -i Makefile || die



[gentoo-commits] repo/gentoo:master commit in: x11-plugins/wmcms/

2018-07-26 Thread Bernard Cafarelli
commit: 57cdaa39ecbff31b9ac959e65a12536edf565247
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Sun Jul 22 10:48:35 2018 +
Commit: Bernard Cafarelli  gentoo  org>
CommitDate: Thu Jul 26 20:28:37 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57cdaa39

x11-plugins/wmcms: add EAPI7 ebuild

 x11-plugins/wmcms/wmcms-0.3.5-r3.ebuild | 32 
 1 file changed, 32 insertions(+)

diff --git a/x11-plugins/wmcms/wmcms-0.3.5-r3.ebuild 
b/x11-plugins/wmcms/wmcms-0.3.5-r3.ebuild
new file mode 100644
index 000..3c00c746459
--- /dev/null
+++ b/x11-plugins/wmcms/wmcms-0.3.5-r3.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="WindowMaker CPU and Memory Usage Monitor Dock App"
+HOMEPAGE="https://www.geocities.ws/neofpo/wmcms.html;
+SRC_URI="https://www.geocities.ws/neofpo/files/${P}.tar.gz;
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
+
+DEPEND=">=x11-libs/libdockapp-0.7:="
+
+src_prepare() {
+   default
+   eapply "${FILESDIR}"/wmcms-0.3.5-s4t4n.patch
+
+   # Respect LDFLAGS, see bug #335031
+   sed -e 's/ -o wmcms/ ${LDFLAGS} -o wmcms/' -i Makefile || die
+
+   sed -e 's###' -i *.c || die
+}
+
+src_compile() {
+   emake CFLAGS="${CFLAGS}"
+}
+
+src_install() {
+   dobin wmcms
+}



[gentoo-commits] repo/gentoo:master commit in: x11-plugins/wmcms/

2018-07-26 Thread Bernard Cafarelli
commit: fb565920d599d9cfa8faea836f16685617169d7f
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Sun Jul 22 10:46:41 2018 +
Commit: Bernard Cafarelli  gentoo  org>
CommitDate: Thu Jul 26 20:28:37 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb565920

x11-plugins/wmcms: use HTTPs

 x11-plugins/wmcms/wmcms-0.3.5-r2.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/x11-plugins/wmcms/wmcms-0.3.5-r2.ebuild 
b/x11-plugins/wmcms/wmcms-0.3.5-r2.ebuild
index 39876e15b96..688174fdfc1 100644
--- a/x11-plugins/wmcms/wmcms-0.3.5-r2.ebuild
+++ b/x11-plugins/wmcms/wmcms-0.3.5-r2.ebuild
@@ -1,12 +1,12 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
 inherit eutils
 
 DESCRIPTION="WindowMaker CPU and Memory Usage Monitor Dock App"
-HOMEPAGE="http://www.geocities.ws/neofpo/wmcms.html;
-SRC_URI="http://www.geocities.ws/neofpo/files/${P}.tar.gz;
+HOMEPAGE="https://www.geocities.ws/neofpo/wmcms.html;
+SRC_URI="https://www.geocities.ws/neofpo/files/${P}.tar.gz;
 
 LICENSE="GPL-2"
 SLOT="0"



[gentoo-commits] repo/gentoo:master commit in: x11-plugins/wmcms/

2017-11-29 Thread Bernard Cafarelli
commit: 5e9c165968d87f16eb9a89a7af4f180e736c864e
Author: Bernard Cafarelli  gentoo  org>
AuthorDate: Wed Nov 29 22:35:15 2017 +
Commit: Bernard Cafarelli  gentoo  org>
CommitDate: Wed Nov 29 23:08:39 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e9c1659

x11-plugins/wmcms: update homepage and SRC_URI

Package-Manager: Portage-2.3.16, Repoman-2.3.6

 x11-plugins/wmcms/Manifest  | 2 +-
 x11-plugins/wmcms/wmcms-0.3.5-r2.ebuild | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/x11-plugins/wmcms/Manifest b/x11-plugins/wmcms/Manifest
index d70557eb8ec..44965393fa5 100644
--- a/x11-plugins/wmcms/Manifest
+++ b/x11-plugins/wmcms/Manifest
@@ -1 +1 @@
-DIST wmcms-0.3.5.tar.bz2 18920 SHA256 
9b47672b3fa5a2474fe26dabb0e95030a4792766ce6577391ab1cd784f21d09b SHA512 
f2852f8b81e1eac0396ca0964590fdf2560b97b5ee5266288641487ddfe77879e552c5e77e42f398ecf974a9030dd147ad64eedf7f7c32af53d69be31c8598fd
 WHIRLPOOL 
5271e3a7c42745ea8f0b2a27dcba8d717e9b3e9243a862975d1f6b6f8430a0a92a80d3eaa0695ad8ba620a4b9d32c5a692c6178780ebde1168ff30bc5b478a84
+DIST wmcms-0.3.5.tar.gz 19855 BLAKE2B 
ac97dc403e6adeebc85b386ae7c78a8537c33858950f41059aadb750909b22fabef5bed3114e9552b381d3fb9d603e90236c88a614ee168a46214f64b9ca50f5
 SHA512 
ef57e6b278c14163de0792e6af8be40ef721020594fb2871aad34543471869ecf468210c173861a93b4f22e1dfca8f1e4254aec6508adfdf143f3a0f1a49f549

diff --git a/x11-plugins/wmcms/wmcms-0.3.5-r2.ebuild 
b/x11-plugins/wmcms/wmcms-0.3.5-r2.ebuild
index 6c1a11c25e7..39876e15b96 100644
--- a/x11-plugins/wmcms/wmcms-0.3.5-r2.ebuild
+++ b/x11-plugins/wmcms/wmcms-0.3.5-r2.ebuild
@@ -1,12 +1,12 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
 inherit eutils
 
 DESCRIPTION="WindowMaker CPU and Memory Usage Monitor Dock App"
-SRC_URI="http://orbita.starmedia.com/~neofpo/files/${P}.tar.bz2;
-HOMEPAGE="http://orbita.starmedia.com/~neofpo/wmcms.html;
+HOMEPAGE="http://www.geocities.ws/neofpo/wmcms.html;
+SRC_URI="http://www.geocities.ws/neofpo/files/${P}.tar.gz;
 
 LICENSE="GPL-2"
 SLOT="0"



[gentoo-commits] repo/gentoo:master commit in: x11-plugins/wmcms/

2017-11-24 Thread Bernard Cafarelli
commit: e154e5da34ca8261199b6521027d59c50ddbd03a
Author: Bernard Cafarelli  gentoo  org>
AuthorDate: Fri Nov 24 09:44:22 2017 +
Commit: Bernard Cafarelli  gentoo  org>
CommitDate: Fri Nov 24 09:44:22 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e154e5da

x11-plugins/wmcms: drop old and stable keywords

Old dockapp mostly unmaintained upstream with even older stable version

Package-Manager: Portage-2.3.16, Repoman-2.3.6

 x11-plugins/wmcms/wmcms-0.3.5-r1.ebuild | 33 -
 1 file changed, 33 deletions(-)

diff --git a/x11-plugins/wmcms/wmcms-0.3.5-r1.ebuild 
b/x11-plugins/wmcms/wmcms-0.3.5-r1.ebuild
deleted file mode 100644
index ac579029206..000
--- a/x11-plugins/wmcms/wmcms-0.3.5-r1.ebuild
+++ /dev/null
@@ -1,33 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-inherit eutils
-
-DESCRIPTION="WindowMaker CPU and Memory Usage Monitor Dock App"
-SRC_URI="http://orbita.starmedia.com/~neofpo/files/${P}.tar.bz2;
-HOMEPAGE="http://orbita.starmedia.com/~neofpo/wmcms.html;
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ppc ppc64 sparc x86"
-IUSE=""
-
-RDEPEND="

[gentoo-commits] repo/gentoo:master commit in: x11-plugins/wmcms/

2015-08-23 Thread Bernard Cafarelli
commit: bdba47c8b236b58ea8ad2106f5fd539a110f06ce
Author: Bernard Cafarelli voyageur AT gentoo DOT org
AuthorDate: Fri Aug 21 21:26:53 2015 +
Commit: Bernard Cafarelli voyageur AT gentoo DOT org
CommitDate: Sun Aug 23 19:14:39 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bdba47c8

x11-plugins/wmcms: EAPI bump, fix compilation with new libdockapp

Fixes bug #558362 by Toralf Förster toralf.foerster AT gmx.de

Package-Manager: portage-2.2.20.1

 x11-plugins/wmcms/Manifest|  2 +-
 x11-plugins/wmcms/wmcms-0.3.5-r1.ebuild   |  5 +++--
 .../{wmcms-0.3.5-r1.ebuild = wmcms-0.3.5-r2.ebuild}  | 19 ++-
 3 files changed, 14 insertions(+), 12 deletions(-)

diff --git a/x11-plugins/wmcms/Manifest b/x11-plugins/wmcms/Manifest
index 2d52b49..d70557e 100644
--- a/x11-plugins/wmcms/Manifest
+++ b/x11-plugins/wmcms/Manifest
@@ -1 +1 @@
-DIST wmcms-0.3.5.tar.bz2 18920 SHA256 
9b47672b3fa5a2474fe26dabb0e95030a4792766ce6577391ab1cd784f21d09b
+DIST wmcms-0.3.5.tar.bz2 18920 SHA256 
9b47672b3fa5a2474fe26dabb0e95030a4792766ce6577391ab1cd784f21d09b SHA512 
f2852f8b81e1eac0396ca0964590fdf2560b97b5ee5266288641487ddfe77879e552c5e77e42f398ecf974a9030dd147ad64eedf7f7c32af53d69be31c8598fd
 WHIRLPOOL 
5271e3a7c42745ea8f0b2a27dcba8d717e9b3e9243a862975d1f6b6f8430a0a92a80d3eaa0695ad8ba620a4b9d32c5a692c6178780ebde1168ff30bc5b478a84

diff --git a/x11-plugins/wmcms/wmcms-0.3.5-r1.ebuild 
b/x11-plugins/wmcms/wmcms-0.3.5-r1.ebuild
index 7846476..42e7f82 100644
--- a/x11-plugins/wmcms/wmcms-0.3.5-r1.ebuild
+++ b/x11-plugins/wmcms/wmcms-0.3.5-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -13,7 +13,8 @@ SLOT=0
 KEYWORDS=amd64 ppc ppc64 sparc x86
 IUSE=
 
-DEPEND=x11-libs/libdockapp
+RDEPEND=x11-libs/libdockapp-0.7
+DEPEND=${RDEPEND}
 
 src_unpack() {
unpack ${A}

diff --git a/x11-plugins/wmcms/wmcms-0.3.5-r1.ebuild 
b/x11-plugins/wmcms/wmcms-0.3.5-r2.ebuild
similarity index 58%
copy from x11-plugins/wmcms/wmcms-0.3.5-r1.ebuild
copy to x11-plugins/wmcms/wmcms-0.3.5-r2.ebuild
index 7846476..cbb2f6d 100644
--- a/x11-plugins/wmcms/wmcms-0.3.5-r1.ebuild
+++ b/x11-plugins/wmcms/wmcms-0.3.5-r2.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
+EAPI=5
 inherit eutils
 
 DESCRIPTION=WindowMaker CPU and Memory Usage Monitor Dock App
@@ -10,24 +11,24 @@ HOMEPAGE=http://orbita.starmedia.com/~neofpo/wmcms.html;
 
 LICENSE=GPL-2
 SLOT=0
-KEYWORDS=amd64 ppc ppc64 sparc x86
+KEYWORDS=~amd64 ~ppc ~ppc64 ~sparc ~x86
 IUSE=
 
-DEPEND=x11-libs/libdockapp
+DEPEND==x11-libs/libdockapp-0.7:=
 
-src_unpack() {
-   unpack ${A}
-   cd ${S}
+src_prepare() {
epatch ${FILESDIR}/wmcms-0.3.5-s4t4n.patch
 
# Respect LDFLAGS, see bug #335031
-   sed -i 's/ -o wmcms/ ${LDFLAGS} -o wmcms/' Makefile
+   sed -e 's/ -o wmcms/ ${LDFLAGS} -o wmcms/' -i Makefile || die
+
+   sed -e 's#dockapp.h#libdockapp/dockapp.h#' -i *.c || die
 }
 
 src_compile() {
-   emake CFLAGS=${CFLAGS} || die emake failed.
+   emake CFLAGS=${CFLAGS}
 }
 
 src_install() {
-   dobin wmcms || die dobin failed.
+   dobin wmcms
 }