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

2023-02-03 Thread Sam James
commit: e1a22b0edefe6368bd1d3fae433841ef8ff88e72
Author: Sam James  gentoo  org>
AuthorDate: Fri Feb  3 11:07:20 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Feb  3 11:07:20 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1a22b0e

x11-plugins/gkrellshoot: adopt

Help very much still welcome, just adopting so it's not m-n and can fix

the easy bugs at least.

Signed-off-by: Sam James  gentoo.org>

 x11-plugins/gkrellshoot/metadata.xml | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/x11-plugins/gkrellshoot/metadata.xml 
b/x11-plugins/gkrellshoot/metadata.xml
index 3d7faef781c6..48af24755ee1 100644
--- a/x11-plugins/gkrellshoot/metadata.xml
+++ b/x11-plugins/gkrellshoot/metadata.xml
@@ -1,7 +1,10 @@
 
 https://www.gentoo.org/dtd/metadata.dtd;>
 
-   
+   
+   s...@gentoo.org
+   Sam James
+   

gkrellshoot




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

2023-02-02 Thread Sam James
commit: 01d018aeb979b5c80637b524b86734d58bbb7876
Author: Sam James  gentoo  org>
AuthorDate: Fri Feb  3 05:03:26 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Feb  3 05:10:20 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01d018ae

x11-plugins/gkrellshoot: drop 0.4.4-r4

Bug: https://bugs.gentoo.org/892251
Signed-off-by: Sam James  gentoo.org>

 .../gkrellshoot/gkrellshoot-0.4.4-r4.ebuild| 31 --
 1 file changed, 31 deletions(-)

diff --git a/x11-plugins/gkrellshoot/gkrellshoot-0.4.4-r4.ebuild 
b/x11-plugins/gkrellshoot/gkrellshoot-0.4.4-r4.ebuild
deleted file mode 100644
index dff19004a2c3..
--- a/x11-plugins/gkrellshoot/gkrellshoot-0.4.4-r4.ebuild
+++ /dev/null
@@ -1,31 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit gkrellm-plugin toolchain-funcs
-
-DESCRIPTION="GKrellm2 plugin to take screen shots and lock screen"
-HOMEPAGE="http://gkrellshoot.sourceforge.net/;
-SRC_URI="mirror://sourceforge/gkrellshoot/${P}.tar.gz"
-S="${WORKDIR}/${P/s/S}"
-
-LICENSE="GPL-2"
-SLOT="2"
-KEYWORDS="~alpha amd64 ~ppc sparc x86"
-
-DEPEND="app-admin/gkrellm:2[X]"
-RDEPEND="
-   ${DEPEND}
-   virtual/imagemagick-tools"
-BDEPEND="virtual/pkgconfig"
-
-PATCHES=(
-   "${FILESDIR}"/makefile-respect-flags.patch
-   "${FILESDIR}/${P}"-r4-pkgconfig.patch
-)
-
-src_compile() {
-   tc-export PKG_CONFIG
-   default
-}



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

2023-02-02 Thread Sam James
commit: 726c9b0eb242a23ec1b51b379b1f3d4369fdc46c
Author: Sam James  gentoo  org>
AuthorDate: Fri Feb  3 05:03:11 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Feb  3 05:10:19 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=726c9b0e

x11-plugins/gkrellshoot: scrub patches

Bug: https://bugs.gentoo.org/892251
Signed-off-by: Sam James  gentoo.org>

 x11-plugins/gkrellshoot/files/gkrellshoot-0.4.4-r4-pkgconfig.patch  | 6 --
 .../gkrellshoot/files/gkrellshoot-0.4.4-r5-fix-implicit-int.patch   | 6 --
 x11-plugins/gkrellshoot/files/makefile-respect-flags.patch  | 4 ++--
 3 files changed, 2 insertions(+), 14 deletions(-)

diff --git a/x11-plugins/gkrellshoot/files/gkrellshoot-0.4.4-r4-pkgconfig.patch 
b/x11-plugins/gkrellshoot/files/gkrellshoot-0.4.4-r4-pkgconfig.patch
index d6dfb54e4354..1f3186f652f4 100644
--- a/x11-plugins/gkrellshoot/files/gkrellshoot-0.4.4-r4-pkgconfig.patch
+++ b/x11-plugins/gkrellshoot/files/gkrellshoot-0.4.4-r4-pkgconfig.patch
@@ -3,12 +3,6 @@ From: Thomas Bracht Laumann Jespersen 
 Date: Sat, 26 Mar 2022 10:32:18 +0100
 Subject: [PATCH] pkgconfig
 

- Makefile | 5 +++--
- 1 file changed, 3 insertions(+), 2 deletions(-)
-
-diff --git a/Makefile b/Makefile
-index e5a4895..296f807 100644
 --- a/Makefile
 +++ b/Makefile
 @@ -1,5 +1,6 @@

diff --git 
a/x11-plugins/gkrellshoot/files/gkrellshoot-0.4.4-r5-fix-implicit-int.patch 
b/x11-plugins/gkrellshoot/files/gkrellshoot-0.4.4-r5-fix-implicit-int.patch
index fae0a519ba05..f9ee064b0a73 100644
--- a/x11-plugins/gkrellshoot/files/gkrellshoot-0.4.4-r5-fix-implicit-int.patch
+++ b/x11-plugins/gkrellshoot/files/gkrellshoot-0.4.4-r5-fix-implicit-int.patch
@@ -3,12 +3,6 @@ By default clang16 will not allow implicit integer 
declarations in function para
 Bug: https://bugs.gentoo.org/874891
 
 Signed-off-by: Pascal Jäger 

- gkrellshoot.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/gkrellshoot.c b/gkrellshoot.c
-index 114a85e..0d74d1d 100755
 --- a/gkrellshoot.c
 +++ b/gkrellshoot.c
 @@ -436,7 +436,7 @@ double star_screenx[NUM_STARS];

diff --git a/x11-plugins/gkrellshoot/files/makefile-respect-flags.patch 
b/x11-plugins/gkrellshoot/files/makefile-respect-flags.patch
index 8de89009dbbc..9b3dd81c3d1b 100644
--- a/x11-plugins/gkrellshoot/files/makefile-respect-flags.patch
+++ b/x11-plugins/gkrellshoot/files/makefile-respect-flags.patch
@@ -1,5 +1,5 @@
 a/Makefile 2006-12-09 04:24:36.0 +0100
-+++ b/Makefile 2013-03-16 13:50:00.147834790 +0100
+--- a/Makefile
 b/Makefile
 @@ -1,16 +1,20 @@
  GTK_INCLUDE = `pkg-config gtk+-2.0 --cflags`
  GTK_LIB = `pkg-config gtk+-2.0 --libs`



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

2023-01-24 Thread Sam James
commit: c60915acf99b7346718c7fbf00b5340bc21d8c99
Author: Sam James  gentoo  org>
AuthorDate: Tue Jan 24 23:54:42 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jan 24 23:54:42 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c60915ac

x11-plugins/gkrellshoot: Stabilize 0.4.4-r5 amd64, #891919

Signed-off-by: Sam James  gentoo.org>

 x11-plugins/gkrellshoot/gkrellshoot-0.4.4-r5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-plugins/gkrellshoot/gkrellshoot-0.4.4-r5.ebuild 
b/x11-plugins/gkrellshoot/gkrellshoot-0.4.4-r5.ebuild
index 9f7d5757ebe6..ff56a3187ad0 100644
--- a/x11-plugins/gkrellshoot/gkrellshoot-0.4.4-r5.ebuild
+++ b/x11-plugins/gkrellshoot/gkrellshoot-0.4.4-r5.ebuild
@@ -12,7 +12,7 @@ S="${WORKDIR}/${P/s/S}"
 
 LICENSE="GPL-2"
 SLOT="2"
-KEYWORDS="~alpha ~amd64 ~ppc sparc x86"
+KEYWORDS="~alpha amd64 ~ppc sparc x86"
 
 DEPEND="app-admin/gkrellm:2[X]"
 RDEPEND="



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

2023-01-24 Thread Sam James
commit: f33245bf6d4888649ed43e0494f21267f75b01b7
Author: Sam James  gentoo  org>
AuthorDate: Tue Jan 24 23:54:40 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jan 24 23:54:40 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f33245bf

x11-plugins/gkrellshoot: Stabilize 0.4.4-r5 x86, #891919

Signed-off-by: Sam James  gentoo.org>

 x11-plugins/gkrellshoot/gkrellshoot-0.4.4-r5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-plugins/gkrellshoot/gkrellshoot-0.4.4-r5.ebuild 
b/x11-plugins/gkrellshoot/gkrellshoot-0.4.4-r5.ebuild
index 909363c564e1..9f7d5757ebe6 100644
--- a/x11-plugins/gkrellshoot/gkrellshoot-0.4.4-r5.ebuild
+++ b/x11-plugins/gkrellshoot/gkrellshoot-0.4.4-r5.ebuild
@@ -12,7 +12,7 @@ S="${WORKDIR}/${P/s/S}"
 
 LICENSE="GPL-2"
 SLOT="2"
-KEYWORDS="~alpha ~amd64 ~ppc sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~ppc sparc x86"
 
 DEPEND="app-admin/gkrellm:2[X]"
 RDEPEND="



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

2023-01-24 Thread Arthur Zamarin
commit: 4d4a53237a47438815162a92b10e4f2e8005b7c7
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Jan 24 20:24:25 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Jan 24 20:24:25 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d4a5323

x11-plugins/gkrellshoot: Stabilize 0.4.4-r5 sparc, #891919

Signed-off-by: Arthur Zamarin  gentoo.org>

 x11-plugins/gkrellshoot/gkrellshoot-0.4.4-r5.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/x11-plugins/gkrellshoot/gkrellshoot-0.4.4-r5.ebuild 
b/x11-plugins/gkrellshoot/gkrellshoot-0.4.4-r5.ebuild
index d452d63895c9..909363c564e1 100644
--- a/x11-plugins/gkrellshoot/gkrellshoot-0.4.4-r5.ebuild
+++ b/x11-plugins/gkrellshoot/gkrellshoot-0.4.4-r5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -12,7 +12,7 @@ S="${WORKDIR}/${P/s/S}"
 
 LICENSE="GPL-2"
 SLOT="2"
-KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~ppc sparc ~x86"
 
 DEPEND="app-admin/gkrellm:2[X]"
 RDEPEND="



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

2022-12-04 Thread Sam James
commit: 19bc91aca1909164fe68851006b5b1631a6693cd
Author: Pascal Jäger  leimstift  de>
AuthorDate: Wed Nov 30 20:18:03 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Dec  4 23:56:16 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19bc91ac

x11-plugins/gkrellshoot: fix build for clang16

Closes: https://bugs.gentoo.org/874891

Signed-off-by: Pascal Jäger  leimstift.de>
Closes: https://github.com/gentoo/gentoo/pull/28486
Signed-off-by: Sam James  gentoo.org>

 .../gkrellshoot-0.4.4-r5-fix-implicit-int.patch| 25 +
 .../gkrellshoot/gkrellshoot-0.4.4-r5.ebuild| 32 ++
 2 files changed, 57 insertions(+)

diff --git 
a/x11-plugins/gkrellshoot/files/gkrellshoot-0.4.4-r5-fix-implicit-int.patch 
b/x11-plugins/gkrellshoot/files/gkrellshoot-0.4.4-r5-fix-implicit-int.patch
new file mode 100644
index ..fae0a519ba05
--- /dev/null
+++ b/x11-plugins/gkrellshoot/files/gkrellshoot-0.4.4-r5-fix-implicit-int.patch
@@ -0,0 +1,25 @@
+By default clang16 will not allow implicit integer declarations in function 
parameters.
+
+Bug: https://bugs.gentoo.org/874891
+
+Signed-off-by: Pascal Jäger 
+---
+ gkrellshoot.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/gkrellshoot.c b/gkrellshoot.c
+index 114a85e..0d74d1d 100755
+--- a/gkrellshoot.c
 b/gkrellshoot.c
+@@ -436,7 +436,7 @@ double star_screenx[NUM_STARS];
+ double star_screeny[NUM_STARS];
+ 
+ static void
+-draw_starfield ( chart_index )
++draw_starfield ( size_t  chart_index )
+ {
+   gint i;
+   guchar b;
+-- 
+2.38.1
+

diff --git a/x11-plugins/gkrellshoot/gkrellshoot-0.4.4-r5.ebuild 
b/x11-plugins/gkrellshoot/gkrellshoot-0.4.4-r5.ebuild
new file mode 100644
index ..d452d63895c9
--- /dev/null
+++ b/x11-plugins/gkrellshoot/gkrellshoot-0.4.4-r5.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gkrellm-plugin toolchain-funcs
+
+DESCRIPTION="GKrellm2 plugin to take screen shots and lock screen"
+HOMEPAGE="http://gkrellshoot.sourceforge.net/;
+SRC_URI="mirror://sourceforge/gkrellshoot/${P}.tar.gz"
+S="${WORKDIR}/${P/s/S}"
+
+LICENSE="GPL-2"
+SLOT="2"
+KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
+
+DEPEND="app-admin/gkrellm:2[X]"
+RDEPEND="
+   ${DEPEND}
+   virtual/imagemagick-tools"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=(
+   "${FILESDIR}"/makefile-respect-flags.patch
+   "${FILESDIR}/${P}"-r4-pkgconfig.patch
+   "${FILESDIR}/${P}"-r5-fix-implicit-int.patch
+)
+
+src_compile() {
+   tc-export PKG_CONFIG
+   default
+}



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

2022-08-29 Thread Andreas Sturmlechner
commit: c89a281ba851dd99a5b82e61fda68c4ad26901c5
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Mon Aug 29 07:35:45 2022 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Mon Aug 29 08:36:20 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c89a281b

x11-plugins/gkrellshoot: drop 0.4.4-r3

Closes: https://bugs.gentoo.org/867175
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 .../gkrellshoot/gkrellshoot-0.4.4-r3.ebuild| 26 --
 1 file changed, 26 deletions(-)

diff --git a/x11-plugins/gkrellshoot/gkrellshoot-0.4.4-r3.ebuild 
b/x11-plugins/gkrellshoot/gkrellshoot-0.4.4-r3.ebuild
deleted file mode 100644
index e6674a3e30d4..
--- a/x11-plugins/gkrellshoot/gkrellshoot-0.4.4-r3.ebuild
+++ /dev/null
@@ -1,26 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit gkrellm-plugin
-
-DESCRIPTION="GKrellm2 plugin to take screen shots and lock screen"
-HOMEPAGE="http://gkrellshoot.sourceforge.net/;
-SRC_URI="mirror://sourceforge/gkrellshoot/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="2"
-KEYWORDS="~alpha amd64 ~ppc sparc x86"
-IUSE=""
-
-DEPEND="app-admin/gkrellm:2[X]"
-RDEPEND="
-   ${DEPEND}
-   virtual/imagemagick-tools"
-
-S=${WORKDIR}/${P/s/S}
-
-PATCHES=(
-   "${FILESDIR}"/makefile-respect-flags.patch
-)



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

2022-08-29 Thread Agostino Sarubbo
commit: 2d5964ca53d463d924b35757d8999be65c61f662
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Aug 29 07:21:02 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Aug 29 07:21:02 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d5964ca

x11-plugins/gkrellshoot: x86 stable wrt bug #867175

Signed-off-by: Agostino Sarubbo  gentoo.org>

 x11-plugins/gkrellshoot/gkrellshoot-0.4.4-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-plugins/gkrellshoot/gkrellshoot-0.4.4-r4.ebuild 
b/x11-plugins/gkrellshoot/gkrellshoot-0.4.4-r4.ebuild
index 63992f1e1e20..dff19004a2c3 100644
--- a/x11-plugins/gkrellshoot/gkrellshoot-0.4.4-r4.ebuild
+++ b/x11-plugins/gkrellshoot/gkrellshoot-0.4.4-r4.ebuild
@@ -12,7 +12,7 @@ S="${WORKDIR}/${P/s/S}"
 
 LICENSE="GPL-2"
 SLOT="2"
-KEYWORDS="~alpha amd64 ~ppc sparc ~x86"
+KEYWORDS="~alpha amd64 ~ppc sparc x86"
 
 DEPEND="app-admin/gkrellm:2[X]"
 RDEPEND="



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

2022-08-29 Thread Agostino Sarubbo
commit: 6e6e4be8e04f9ea9633bf532068d817213a4bd7c
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Aug 29 07:18:02 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Aug 29 07:18:02 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e6e4be8

x11-plugins/gkrellshoot: amd64 stable wrt bug #867175

Signed-off-by: Agostino Sarubbo  gentoo.org>

 x11-plugins/gkrellshoot/gkrellshoot-0.4.4-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-plugins/gkrellshoot/gkrellshoot-0.4.4-r4.ebuild 
b/x11-plugins/gkrellshoot/gkrellshoot-0.4.4-r4.ebuild
index 11e4c6eb7840..63992f1e1e20 100644
--- a/x11-plugins/gkrellshoot/gkrellshoot-0.4.4-r4.ebuild
+++ b/x11-plugins/gkrellshoot/gkrellshoot-0.4.4-r4.ebuild
@@ -12,7 +12,7 @@ S="${WORKDIR}/${P/s/S}"
 
 LICENSE="GPL-2"
 SLOT="2"
-KEYWORDS="~alpha ~amd64 ~ppc sparc ~x86"
+KEYWORDS="~alpha amd64 ~ppc sparc ~x86"
 
 DEPEND="app-admin/gkrellm:2[X]"
 RDEPEND="



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

2022-08-28 Thread Arthur Zamarin
commit: 91d95a2bab3e3c5571384fcffa81508b3d9b868f
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Aug 28 20:45:29 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Aug 28 20:45:29 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91d95a2b

x11-plugins/gkrellshoot: Stabilize 0.4.4-r4 sparc, #867175

Signed-off-by: Arthur Zamarin  gentoo.org>

 x11-plugins/gkrellshoot/gkrellshoot-0.4.4-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-plugins/gkrellshoot/gkrellshoot-0.4.4-r4.ebuild 
b/x11-plugins/gkrellshoot/gkrellshoot-0.4.4-r4.ebuild
index d5bff5dbad4b..11e4c6eb7840 100644
--- a/x11-plugins/gkrellshoot/gkrellshoot-0.4.4-r4.ebuild
+++ b/x11-plugins/gkrellshoot/gkrellshoot-0.4.4-r4.ebuild
@@ -12,7 +12,7 @@ S="${WORKDIR}/${P/s/S}"
 
 LICENSE="GPL-2"
 SLOT="2"
-KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~ppc sparc ~x86"
 
 DEPEND="app-admin/gkrellm:2[X]"
 RDEPEND="



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

2022-04-21 Thread Sam James
commit: c4a5fe089e964db669c527c85ef106884bca4be7
Author: Thomas Bracht Laumann Jespersen  laumann  xyz>
AuthorDate: Thu Mar 24 20:22:33 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Apr 21 19:54:29 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4a5fe08

x11-plugins/gkrellshoot: update EAPI 6 -> 8

Signed-off-by: Thomas Bracht Laumann Jespersen  laumann.xyz>
Signed-off-by: Sam James  gentoo.org>

 .../files/gkrellshoot-0.4.4-r4-pkgconfig.patch | 25 +
 .../gkrellshoot/gkrellshoot-0.4.4-r4.ebuild| 31 ++
 2 files changed, 56 insertions(+)

diff --git a/x11-plugins/gkrellshoot/files/gkrellshoot-0.4.4-r4-pkgconfig.patch 
b/x11-plugins/gkrellshoot/files/gkrellshoot-0.4.4-r4-pkgconfig.patch
new file mode 100644
index ..d6dfb54e4354
--- /dev/null
+++ b/x11-plugins/gkrellshoot/files/gkrellshoot-0.4.4-r4-pkgconfig.patch
@@ -0,0 +1,25 @@
+From 47a80a178b4ab0225ff0540376be5b5c740530a7 Mon Sep 17 00:00:00 2001
+From: Thomas Bracht Laumann Jespersen 
+Date: Sat, 26 Mar 2022 10:32:18 +0100
+Subject: [PATCH] pkgconfig
+
+---
+ Makefile | 5 +++--
+ 1 file changed, 3 insertions(+), 2 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index e5a4895..296f807 100644
+--- a/Makefile
 b/Makefile
+@@ -1,5 +1,6 @@
+-GTK_INCLUDE = `pkg-config gtk+-2.0 --cflags`
+-GTK_LIB = `pkg-config gtk+-2.0 --libs`
++PKG_CONFIG ?= pkg-config
++GTK_INCLUDE = $(shell ${PKG_CONFIG} gtk+-2.0 --cflags)
++GTK_LIB = $(shell ${PKG_CONFIG} gtk+-2.0 --libs)
+ 
+ FLAGS = -fPIC $(GTK_INCLUDE) 
+ LIBS = $(GTK_LIB) 
+-- 
+2.34.1
+

diff --git a/x11-plugins/gkrellshoot/gkrellshoot-0.4.4-r4.ebuild 
b/x11-plugins/gkrellshoot/gkrellshoot-0.4.4-r4.ebuild
new file mode 100644
index ..d5bff5dbad4b
--- /dev/null
+++ b/x11-plugins/gkrellshoot/gkrellshoot-0.4.4-r4.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gkrellm-plugin toolchain-funcs
+
+DESCRIPTION="GKrellm2 plugin to take screen shots and lock screen"
+HOMEPAGE="http://gkrellshoot.sourceforge.net/;
+SRC_URI="mirror://sourceforge/gkrellshoot/${P}.tar.gz"
+S="${WORKDIR}/${P/s/S}"
+
+LICENSE="GPL-2"
+SLOT="2"
+KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
+
+DEPEND="app-admin/gkrellm:2[X]"
+RDEPEND="
+   ${DEPEND}
+   virtual/imagemagick-tools"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=(
+   "${FILESDIR}"/makefile-respect-flags.patch
+   "${FILESDIR}/${P}"-r4-pkgconfig.patch
+)
+
+src_compile() {
+   tc-export PKG_CONFIG
+   default
+}



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

2022-01-01 Thread Florian Schmaus
commit: fdd5a72b90396ae4a152df30a9f67437def59a74
Author: Florian Schmaus  gentoo  org>
AuthorDate: Sat Jan  1 15:47:55 2022 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Sat Jan  1 15:48:50 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fdd5a72b

x11-plugins/gkrellshoot: respect LDFLAGS

Signed-off-by: Florian Schmaus  gentoo.org>
Closes: https://bugs.gentoo.org/338867

 .../gkrellshoot/files/makefile-respect-flags.patch | 26 ++
 ...0.4.4-r2.ebuild => gkrellshoot-0.4.4-r3.ebuild} |  6 -
 2 files changed, 31 insertions(+), 1 deletion(-)

diff --git a/x11-plugins/gkrellshoot/files/makefile-respect-flags.patch 
b/x11-plugins/gkrellshoot/files/makefile-respect-flags.patch
new file mode 100644
index ..8de89009dbbc
--- /dev/null
+++ b/x11-plugins/gkrellshoot/files/makefile-respect-flags.patch
@@ -0,0 +1,26 @@
+--- a/Makefile 2006-12-09 04:24:36.0 +0100
 b/Makefile 2013-03-16 13:50:00.147834790 +0100
+@@ -1,16 +1,20 @@
+ GTK_INCLUDE = `pkg-config gtk+-2.0 --cflags`
+ GTK_LIB = `pkg-config gtk+-2.0 --libs`
+ 
+-FLAGS = -O2 -Wall -fPIC $(GTK_INCLUDE) 
++FLAGS = -fPIC $(GTK_INCLUDE) 
+ LIBS = $(GTK_LIB) 
+ LFLAGS = -shared
+ 
+-CC = gcc $(CFLAGS) $(FLAGS)
+ 
+ OBJS = gkrellshoot.o
+ 
++all: gkrellshoot.so
++
++%.o: %.c
++  $(CC) $(CFLAGS) $(LDFLAGS) $(FLAGS) -c -o $@ $<
++
+ gkrellshoot.so: $(OBJS)
+-  $(CC) $(OBJS) -o gkrellshoot.so $(LFLAGS) $(LIBS) 
++  $(CC) $(CFLAGS) $(LDFLAGS) $(FLAGS) $(OBJS) -o gkrellshoot.so $(LFLAGS) 
$(LIBS) 
+ 
+ clean:
+   rm -f *.o core *.so* *.bak *~

diff --git a/x11-plugins/gkrellshoot/gkrellshoot-0.4.4-r2.ebuild 
b/x11-plugins/gkrellshoot/gkrellshoot-0.4.4-r3.ebuild
similarity index 82%
rename from x11-plugins/gkrellshoot/gkrellshoot-0.4.4-r2.ebuild
rename to x11-plugins/gkrellshoot/gkrellshoot-0.4.4-r3.ebuild
index ad424be2249b..028ef92f7eb6 100644
--- a/x11-plugins/gkrellshoot/gkrellshoot-0.4.4-r2.ebuild
+++ b/x11-plugins/gkrellshoot/gkrellshoot-0.4.4-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -20,3 +20,7 @@ RDEPEND="
virtual/imagemagick-tools"
 
 S=${WORKDIR}/${P/s/S}
+
+PATCHES=(
+   "${FILESDIR}"/makefile-respect-flags.patch
+)



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

2018-01-04 Thread David Seifert
commit: 9585f1457b0e62369a1927fc168c4cdcf161c6a5
Author: David Seifert  gentoo  org>
AuthorDate: Wed Jan  3 22:34:32 2018 +
Commit: David Seifert  gentoo  org>
CommitDate: Thu Jan  4 09:15:18 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9585f145

x11-plugins/gkrellshoot: Eclass update

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 x11-plugins/gkrellshoot/gkrellshoot-0.4.4-r2.ebuild | 12 +++-
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/x11-plugins/gkrellshoot/gkrellshoot-0.4.4-r2.ebuild 
b/x11-plugins/gkrellshoot/gkrellshoot-0.4.4-r2.ebuild
index c423ab7a64c..0f25feb62d4 100644
--- a/x11-plugins/gkrellshoot/gkrellshoot-0.4.4-r2.ebuild
+++ b/x11-plugins/gkrellshoot/gkrellshoot-0.4.4-r2.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
+
 inherit gkrellm-plugin
 
-S=${WORKDIR}/${P/s/S}
 DESCRIPTION="GKrellm2 plugin to take screen shots and lock screen"
 HOMEPAGE="http://gkrellshoot.sourceforge.net/;
 SRC_URI="mirror://sourceforge/gkrellshoot/${P}.tar.gz"
@@ -14,7 +14,9 @@ SLOT="2"
 KEYWORDS="alpha amd64 ppc sparc x86"
 IUSE=""
 
+DEPEND="app-admin/gkrellm:2[X]"
 RDEPEND="
-   app-admin/gkrellm[X]
-   virtual/imagemagick-tools
-"
+   ${DEPEND}
+   virtual/imagemagick-tools"
+
+S=${WORKDIR}/${P/s/S}



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

2017-07-26 Thread Pacho Ramos
commit: 05750f9e91cb88ace6245ff11b1823f8854b5722
Author: Pacho Ramos  gentoo  org>
AuthorDate: Wed Jul 26 11:01:29 2017 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Wed Jul 26 11:34:33 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05750f9e

x11-plugins/gkrellshoot: Fix dependency on gkrellm[X]

Package-Manager: Portage-2.3.6, Repoman-2.3.2
RepoMan-Options: --force

 .../{gkrellshoot-0.4.4-r1.ebuild => gkrellshoot-0.4.4-r2.ebuild}   | 7 +--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/x11-plugins/gkrellshoot/gkrellshoot-0.4.4-r1.ebuild 
b/x11-plugins/gkrellshoot/gkrellshoot-0.4.4-r2.ebuild
similarity index 85%
rename from x11-plugins/gkrellshoot/gkrellshoot-0.4.4-r1.ebuild
rename to x11-plugins/gkrellshoot/gkrellshoot-0.4.4-r2.ebuild
index 7fa3804314e..c423ab7a64c 100644
--- a/x11-plugins/gkrellshoot/gkrellshoot-0.4.4-r1.ebuild
+++ b/x11-plugins/gkrellshoot/gkrellshoot-0.4.4-r2.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=4
+EAPI=6
 inherit gkrellm-plugin
 
 S=${WORKDIR}/${P/s/S}
@@ -14,4 +14,7 @@ SLOT="2"
 KEYWORDS="alpha amd64 ppc sparc x86"
 IUSE=""
 
-RDEPEND="virtual/imagemagick-tools"
+RDEPEND="
+   app-admin/gkrellm[X]
+   virtual/imagemagick-tools
+"



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

2017-02-11 Thread David Seifert
commit: 54ed500a3e3feae15a7a4401c31075ac433b5da0
Author: David Seifert  gentoo  org>
AuthorDate: Sat Feb 11 19:21:56 2017 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Feb 11 19:46:33 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54ed500a

x11-plugins/gkrellshoot: Depend on virtual/imagemagick-tools

Package-Manager: Portage-2.3.3, Repoman-2.3.1
Closes: https://github.com/gentoo/gentoo/pull/3907

 .../{gkrellshoot-0.4.4.ebuild => gkrellshoot-0.4.4-r1.ebuild} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/x11-plugins/gkrellshoot/gkrellshoot-0.4.4.ebuild 
b/x11-plugins/gkrellshoot/gkrellshoot-0.4.4-r1.ebuild
similarity index 75%
rename from x11-plugins/gkrellshoot/gkrellshoot-0.4.4.ebuild
rename to x11-plugins/gkrellshoot/gkrellshoot-0.4.4-r1.ebuild
index 8c13b711b4..932e5a693f 100644
--- a/x11-plugins/gkrellshoot/gkrellshoot-0.4.4.ebuild
+++ b/x11-plugins/gkrellshoot/gkrellshoot-0.4.4-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -15,4 +15,4 @@ SLOT="2"
 KEYWORDS="alpha amd64 ppc sparc x86"
 IUSE=""
 
-RDEPEND="|| ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] )"
+RDEPEND="virtual/imagemagick-tools"