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

2024-05-08 Thread Sam James
commit: a152cde44054df6ec7792c37a8c91c6ac340277d
Author: NHOrus  yahoo  com>
AuthorDate: Mon Apr  1 09:57:26 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu May  9 00:18:22 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a152cde4

x11-plugins/gkrellsun: Make errors fatal, fix build

There is a way to correctly call make in subdirectory. New revision
uses it.

Also, uses proper include in main C file, like it does in other files
for glib dependency. This fixes compilation error.

[sam: Update SRC_URI/HOMEPAGE.]

Closes: https://bugs.gentoo.org/901369
Signed-off-by: NHOrus  yahoo.com>
Closes: https://github.com/gentoo/gentoo/pull/36036
Signed-off-by: Sam James  gentoo.org>

 .../files/gkrellsun-1.0.0-r6-include.patch | 16 +
 .../files/gkrellsun-1.0.0-r6-makefile-fixes.patch  | 83 ++
 x11-plugins/gkrellsun/gkrellsun-1.0.0-r5.ebuild|  2 +-
 ...n-1.0.0-r5.ebuild => gkrellsun-1.0.0-r6.ebuild} |  7 +-
 4 files changed, 104 insertions(+), 4 deletions(-)

diff --git a/x11-plugins/gkrellsun/files/gkrellsun-1.0.0-r6-include.patch 
b/x11-plugins/gkrellsun/files/gkrellsun-1.0.0-r6-include.patch
new file mode 100644
index ..d37fa73e6472
--- /dev/null
+++ b/x11-plugins/gkrellsun/files/gkrellsun-1.0.0-r6-include.patch
@@ -0,0 +1,16 @@
+includes exist for a reason. No reason to use badly written extern declarations
+diff -ru gkrellsun-1.0.0.orig/src20/gkrellsun.c 
gkrellsun-1.0.0/src20/gkrellsun.c
+--- a/src20/gkrellsun.c2024-04-01 09:51:43.815461580 +
 b/src20/gkrellsun.c2024-04-01 09:53:30.245006285 +
+@@ -15,10 +15,9 @@
+ #endif
+ 
+ #include 
++#include 
+ 
+ /* splint */
+-extern gchar* g_string_free (/*@only@*/ GString *, gboolean);
+-extern void pango_font_description_free (/*@owned@*/PangoFontDescription *);
+ 
+ #define PLUGIN_HEIGHT 54
+ #define SUN_WIDTH 54

diff --git 
a/x11-plugins/gkrellsun/files/gkrellsun-1.0.0-r6-makefile-fixes.patch 
b/x11-plugins/gkrellsun/files/gkrellsun-1.0.0-r6-makefile-fixes.patch
new file mode 100644
index ..4ea9935533a2
--- /dev/null
+++ b/x11-plugins/gkrellsun/files/gkrellsun-1.0.0-r6-makefile-fixes.patch
@@ -0,0 +1,83 @@
+Call inner make in sane way, with error propagation. So build will fail on 
errors
+--- a/Makefile 2024-04-01 09:38:48.800355255 +
 b/Makefile 2024-04-01 09:40:12.944908086 +
+@@ -2,7 +2,7 @@
+ TMP=.
+ 
+ all: comment
+-  cd src20; make; cd ..
++  $(MAKE) -C src20
+ 
+ comment:
+   @echo
+@@ -12,12 +12,12 @@
+   @echo 
+ 
+ install: comment
+-  cd src20; make install; cd ..
++  $(MAKE) -C src20 install
+ 
+ distclean: clean
+ 
+ clean:
+-  cd src20; make clean; cd ..
++  $(MAKE) -C src20 clean
+   rm -f gkrellsun*.zip gkrellsun*.tar.gz
+ 
+ dist:
+Don't call gcc directly, remove -O2 -Wall flags, respect user's pkg-config
+--- a/src20/Makefile
 b/src20/Makefile
+@@ -1,8 +1,8 @@
+ PACKAGE ?= gkrellsun
+ 
+-GTK_CONFIG ?=pkg-config gtk+-2.0
+-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)
+ 
+ INSTALL ?= install
+ 
+@@ -11,7 +11,7 @@ INSTALLDIR ?= $(DESTDIR)$(PREFIX)
+ PLUGINDIR ?= $(INSTALLDIR)/lib/gkrellm2/plugins
+ LOCALEDIR ?= $(INSTALLDIR)/share/locale
+ 
+-FLAGS = -O2 -Wall -fPIC $(GTK_INCLUDE)
++FLAGS = -fPIC $(GTK_INCLUDE)
+ #FLAGS = -g -Wall -fPIC $(GTK_INCLUDE)
+ LIBS = $(GTK_LIB)
+ LFLAGS = -shared
+@@ -25,7 +25,7 @@ endif
+ FLAGS += -DPACKAGE="\"$(PACKAGE)\""
+ export PACKAGE LOCALEDIR
+ 
+-CC = gcc $(CFLAGS) $(FLAGS)
++CC = $(CC)
+ 
+ OBJS = gkrellsun.o CalcEphem.o Moon.o MoonRise.o
+ 
+@@ -37,10 +37,10 @@ all: gkrellsun.so
+ 
+ gkrellsun.so: $(OBJS)
+   (cd po && ${MAKE})
+-  $(CC) $(OBJS) -o gkrellsun.so $(LFLAGS) $(LIBS)
++  $(CC) $(CFLAGS) $(FLAGS) $(OBJS) -o gkrellsun.so $(LFLAGS) $(LIBS)
+ 
+ suninfo: suninfo.o CalcEphem.o Moon.o MoonRise.o
+-  $(CC) $^ -o suninfo -lm $(LIBS)
++  $(CC) $(CFLAGS) $(FLAGS) $^ -o suninfo -lm $(LIBS)
+ 
+ clean:
+   rm -f *.o core *.so* *.bak *~
+@@ -49,7 +49,8 @@ gkrellsun.o: gkrellsun.c $(IMAGES)
+ 
+ $(OBJS): CalcEphem.h Moon.h MoonRise.h
+ 
+-#%.o: %.c
++%.o: %.c
++  $(CC) $(CFLAGS) $(FLAGS) -c -o $@ $<
+ 
+ install: gkrellsun.so
+   (cd po && ${MAKE} install )

diff --git a/x11-plugins/gkrellsun/gkrellsun-1.0.0-r5.ebuild 
b/x11-plugins/gkrellsun/gkrellsun-1.0.0-r5.ebuild
index 09e8cfac5ae7..c5c9713d2d80 100644
--- a/x11-plugins/gkrellsun/gkrellsun-1.0.0-r5.ebuild
+++ b/x11-plugins/gkrellsun/gkrellsun-1.0.0-r5.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 inherit gkrellm-plugin multilib toolchain-funcs
 
 DESCRIPTION="A GKrellM plugin that shows sunrise and sunset times"
-HOMEPAGE="http://gkrellsun.sourceforge.net/;
+HOMEPAGE="https://gkrellsun.sourceforge.net/;
 SRC_URI="https://downloads.sourceforge.net/gkrellsun/${P}.tar.gz;
 
 

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

2023-02-10 Thread David Seifert
commit: a34a2481264416099efd1c194953bc85a5b3dadf
Author: David Seifert  gentoo  org>
AuthorDate: Fri Feb 10 21:14:20 2023 +
Commit: David Seifert  gentoo  org>
CommitDate: Fri Feb 10 21:14:20 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a34a2481

x11-plugins/gkrellsun: fix IndirectInherits on multilib

Signed-off-by: David Seifert  gentoo.org>

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

diff --git a/x11-plugins/gkrellsun/gkrellsun-1.0.0-r5.ebuild 
b/x11-plugins/gkrellsun/gkrellsun-1.0.0-r5.ebuild
index 17262d6e9998..6a028f6a52fb 100644
--- a/x11-plugins/gkrellsun/gkrellsun-1.0.0-r5.ebuild
+++ b/x11-plugins/gkrellsun/gkrellsun-1.0.0-r5.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-inherit gkrellm-plugin toolchain-funcs
+inherit gkrellm-plugin multilib toolchain-funcs
 
 DESCRIPTION="A GKrellM plugin that shows sunrise and sunset times"
 HOMEPAGE="http://gkrellsun.sourceforge.net/;



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

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

x11-plugins/gkrellsun: 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/gkrellsun/metadata.xml | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/x11-plugins/gkrellsun/metadata.xml 
b/x11-plugins/gkrellsun/metadata.xml
index 58242da549d6..12ea6bc09219 100644
--- a/x11-plugins/gkrellsun/metadata.xml
+++ b/x11-plugins/gkrellsun/metadata.xml
@@ -1,7 +1,10 @@
 
 https://www.gentoo.org/dtd/metadata.dtd;>
 
-   
+   
+   s...@gentoo.org
+   Sam James
+   

gkrellsun




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

2023-02-02 Thread Sam James
commit: 399ccbfccc88d73531b6e5ebf3ee29ef48fbd7e2
Author: Sam James  gentoo  org>
AuthorDate: Fri Feb  3 05:03:55 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Feb  3 05:10:21 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=399ccbfc

x11-plugins/gkrellsun: scrub patches

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

 x11-plugins/gkrellsun/files/gkrellsun-1.0.0-Respect-LDFLAGS.patch | 2 --
 x11-plugins/gkrellsun/files/gkrellsun-1.0.0-reenable.patch| 2 --
 2 files changed, 4 deletions(-)

diff --git a/x11-plugins/gkrellsun/files/gkrellsun-1.0.0-Respect-LDFLAGS.patch 
b/x11-plugins/gkrellsun/files/gkrellsun-1.0.0-Respect-LDFLAGS.patch
index 548039dd0e0b..dc3ddaefab2a 100644
--- a/x11-plugins/gkrellsun/files/gkrellsun-1.0.0-Respect-LDFLAGS.patch
+++ b/x11-plugins/gkrellsun/files/gkrellsun-1.0.0-Respect-LDFLAGS.patch
@@ -1,5 +1,3 @@
-diff --git a/src20/Makefile b/src20/Makefile
-index 3e8e62c..ef96fa2 100644
 --- a/src20/Makefile
 +++ b/src20/Makefile
 @@ -16,6 +16,8 @@ FLAGS = -O2 -Wall -fPIC $(GTK_INCLUDE)

diff --git a/x11-plugins/gkrellsun/files/gkrellsun-1.0.0-reenable.patch 
b/x11-plugins/gkrellsun/files/gkrellsun-1.0.0-reenable.patch
index f47b96e88905..4b15d8467e64 100644
--- a/x11-plugins/gkrellsun/files/gkrellsun-1.0.0-reenable.patch
+++ b/x11-plugins/gkrellsun/files/gkrellsun-1.0.0-reenable.patch
@@ -1,5 +1,3 @@
-diff --git a/src20/gkrellsun.c b/src20/gkrellsun.c
-index f3adff5..0738bfc 100644
 --- a/src20/gkrellsun.c
 +++ b/src20/gkrellsun.c
 @@ -1140,7 +1140,10 @@ cb_plugin_disabled()



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

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

x11-plugins/gkrellsun: drop 1.0.0-r4

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

 x11-plugins/gkrellsun/gkrellsun-1.0.0-r4.ebuild | 34 -
 1 file changed, 34 deletions(-)

diff --git a/x11-plugins/gkrellsun/gkrellsun-1.0.0-r4.ebuild 
b/x11-plugins/gkrellsun/gkrellsun-1.0.0-r4.ebuild
deleted file mode 100644
index 3e9401aa303e..
--- a/x11-plugins/gkrellsun/gkrellsun-1.0.0-r4.ebuild
+++ /dev/null
@@ -1,34 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit gkrellm-plugin
-
-DESCRIPTION="A GKrellM plugin that shows sunrise and sunset times"
-HOMEPAGE="http://gkrellsun.sourceforge.net/;
-SRC_URI="mirror://sourceforge/gkrellsun/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="1"
-KEYWORDS="~alpha amd64 ~hppa ~ia64 ~ppc sparc x86"
-IUSE="nls"
-
-RDEPEND="app-admin/gkrellm:2[X]"
-DEPEND="${RDEPEND}
-   nls? ( sys-devel/gettext )"
-
-PATCHES=(
-   "${FILESDIR}"/${P}-reenable.patch
-   "${FILESDIR}"/${P}-Respect-LDFLAGS.patch
-)
-
-src_configure() {
-   PLUGIN_SO=( src20/gkrellsun$(get_modname) )
-   default
-}
-
-src_compile() {
-   use nls && local myconf="enable_nls=1"
-   emake ${myconf}
-}



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

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

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

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

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

diff --git a/x11-plugins/gkrellsun/gkrellsun-1.0.0-r5.ebuild 
b/x11-plugins/gkrellsun/gkrellsun-1.0.0-r5.ebuild
index 70423148b06b..17262d6e9998 100644
--- a/x11-plugins/gkrellsun/gkrellsun-1.0.0-r5.ebuild
+++ b/x11-plugins/gkrellsun/gkrellsun-1.0.0-r5.ebuild
@@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/gkrellsun/${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="1"
-KEYWORDS="~alpha amd64 ~hppa ~ia64 ~ppc sparc ~x86"
+KEYWORDS="~alpha amd64 ~hppa ~ia64 ~ppc sparc x86"
 IUSE="nls"
 
 RDEPEND="app-admin/gkrellm:2[X]"



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

2022-08-29 Thread Agostino Sarubbo
commit: 955bdd5fb9b5784ddac178810e54f875a48ef981
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Aug 29 07:18:05 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Aug 29 07:18:05 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=955bdd5f

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

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

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

diff --git a/x11-plugins/gkrellsun/gkrellsun-1.0.0-r5.ebuild 
b/x11-plugins/gkrellsun/gkrellsun-1.0.0-r5.ebuild
index 7901504327fa..70423148b06b 100644
--- a/x11-plugins/gkrellsun/gkrellsun-1.0.0-r5.ebuild
+++ b/x11-plugins/gkrellsun/gkrellsun-1.0.0-r5.ebuild
@@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/gkrellsun/${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="1"
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc sparc ~x86"
+KEYWORDS="~alpha amd64 ~hppa ~ia64 ~ppc sparc ~x86"
 IUSE="nls"
 
 RDEPEND="app-admin/gkrellm:2[X]"



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

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

x11-plugins/gkrellsun: Stabilize 1.0.0-r5 sparc, #867175

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

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

diff --git a/x11-plugins/gkrellsun/gkrellsun-1.0.0-r5.ebuild 
b/x11-plugins/gkrellsun/gkrellsun-1.0.0-r5.ebuild
index 4d5e865d0b77..7901504327fa 100644
--- a/x11-plugins/gkrellsun/gkrellsun-1.0.0-r5.ebuild
+++ b/x11-plugins/gkrellsun/gkrellsun-1.0.0-r5.ebuild
@@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/gkrellsun/${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="1"
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc sparc ~x86"
 IUSE="nls"
 
 RDEPEND="app-admin/gkrellm:2[X]"



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

2022-04-21 Thread Sam James
commit: ef22f7ce168f7ff7115dab8cf81af29bc4497a5a
Author: Thomas Bracht Laumann Jespersen  laumann  xyz>
AuthorDate: Sat Apr  2 13:01:03 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Apr 21 19:54:36 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef22f7ce

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

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

 .../files/gkrellsun-1.0.0-r5-makefile-fixes.patch  | 56 ++
 x11-plugins/gkrellsun/gkrellsun-1.0.0-r5.ebuild| 37 ++
 2 files changed, 93 insertions(+)

diff --git 
a/x11-plugins/gkrellsun/files/gkrellsun-1.0.0-r5-makefile-fixes.patch 
b/x11-plugins/gkrellsun/files/gkrellsun-1.0.0-r5-makefile-fixes.patch
new file mode 100644
index ..186933030860
--- /dev/null
+++ b/x11-plugins/gkrellsun/files/gkrellsun-1.0.0-r5-makefile-fixes.patch
@@ -0,0 +1,56 @@
+Don't call gcc directly, remove -O2 -Wall flags, respect user's pkg-config
+--- a/src20/Makefile
 b/src20/Makefile
+@@ -1,8 +1,8 @@
+ PACKAGE ?= gkrellsun
+ 
+-GTK_CONFIG ?=pkg-config gtk+-2.0
+-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)
+ 
+ INSTALL ?= install
+ 
+@@ -11,7 +11,7 @@ INSTALLDIR ?= $(DESTDIR)$(PREFIX)
+ PLUGINDIR ?= $(INSTALLDIR)/lib/gkrellm2/plugins
+ LOCALEDIR ?= $(INSTALLDIR)/share/locale
+ 
+-FLAGS = -O2 -Wall -fPIC $(GTK_INCLUDE)
++FLAGS = -fPIC $(GTK_INCLUDE)
+ #FLAGS = -g -Wall -fPIC $(GTK_INCLUDE)
+ LIBS = $(GTK_LIB)
+ LFLAGS = -shared
+@@ -25,7 +25,7 @@ endif
+ FLAGS += -DPACKAGE="\"$(PACKAGE)\""
+ export PACKAGE LOCALEDIR
+ 
+-CC = gcc $(CFLAGS) $(FLAGS)
++CC = $(CC)
+ 
+ OBJS = gkrellsun.o CalcEphem.o Moon.o MoonRise.o
+ 
+@@ -37,10 +37,10 @@ all: gkrellsun.so
+ 
+ gkrellsun.so: $(OBJS)
+   (cd po && ${MAKE})
+-  $(CC) $(OBJS) -o gkrellsun.so $(LFLAGS) $(LIBS)
++  $(CC) $(CFLAGS) $(FLAGS) $(OBJS) -o gkrellsun.so $(LFLAGS) $(LIBS)
+ 
+ suninfo: suninfo.o CalcEphem.o Moon.o MoonRise.o
+-  $(CC) $^ -o suninfo -lm $(LIBS)
++  $(CC) $(CFLAGS) $(FLAGS) $^ -o suninfo -lm $(LIBS)
+ 
+ clean:
+   rm -f *.o core *.so* *.bak *~
+@@ -49,7 +49,8 @@ gkrellsun.o: gkrellsun.c $(IMAGES)
+ 
+ $(OBJS): CalcEphem.h Moon.h MoonRise.h
+ 
+-#%.o: %.c
++%.o: %.c
++  $(CC) $(CFLAGS) $(FLAGS) -c -o $@ $<
+ 
+ install: gkrellsun.so
+   (cd po && ${MAKE} install )

diff --git a/x11-plugins/gkrellsun/gkrellsun-1.0.0-r5.ebuild 
b/x11-plugins/gkrellsun/gkrellsun-1.0.0-r5.ebuild
new file mode 100644
index ..4d5e865d0b77
--- /dev/null
+++ b/x11-plugins/gkrellsun/gkrellsun-1.0.0-r5.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gkrellm-plugin toolchain-funcs
+
+DESCRIPTION="A GKrellM plugin that shows sunrise and sunset times"
+HOMEPAGE="http://gkrellsun.sourceforge.net/;
+SRC_URI="mirror://sourceforge/gkrellsun/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="1"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86"
+IUSE="nls"
+
+RDEPEND="app-admin/gkrellm:2[X]"
+DEPEND="${RDEPEND}
+   nls? ( sys-devel/gettext )"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=(
+   "${FILESDIR}"/${P}-reenable.patch
+   "${FILESDIR}"/${P}-Respect-LDFLAGS.patch
+   "${FILESDIR}"/${P}-r5-makefile-fixes.patch
+)
+
+src_configure() {
+   PLUGIN_SO=( src20/gkrellsun$(get_modname) )
+   default
+}
+
+src_compile() {
+   tc-export PKG_CONFIG
+   use nls && local myconf="enable_nls=1"
+   emake CC="$(tc-getCC)" ${myconf}
+}



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

2022-03-10 Thread Sam James
commit: edca28f9b6f55eb8c60367394cf1986824e2a865
Author: Sam James  gentoo  org>
AuthorDate: Thu Mar 10 22:47:02 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar 10 22:47:02 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=edca28f9

x11-plugins/gkrellsun: fix DoubleEmptyLine

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

 x11-plugins/gkrellsun/gkrellsun-1.0.0-r4.ebuild | 1 -
 1 file changed, 1 deletion(-)

diff --git a/x11-plugins/gkrellsun/gkrellsun-1.0.0-r4.ebuild 
b/x11-plugins/gkrellsun/gkrellsun-1.0.0-r4.ebuild
index c6d635b3beb1..3e9401aa303e 100644
--- a/x11-plugins/gkrellsun/gkrellsun-1.0.0-r4.ebuild
+++ b/x11-plugins/gkrellsun/gkrellsun-1.0.0-r4.ebuild
@@ -23,7 +23,6 @@ PATCHES=(
"${FILESDIR}"/${P}-Respect-LDFLAGS.patch
 )
 
-
 src_configure() {
PLUGIN_SO=( src20/gkrellsun$(get_modname) )
default



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

2022-03-10 Thread Sam James
commit: 9eae3933af8c484df4e0c28253c6e3efed98273a
Author: Sam James  gentoo  org>
AuthorDate: Thu Mar 10 22:44:30 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar 10 22:44:30 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9eae3933

x11-plugins/gkrellsun: fix commands in global scope

Closes: https://bugs.gentoo.org/788067
Signed-off-by: Sam James  gentoo.org>

 x11-plugins/gkrellsun/gkrellsun-1.0.0-r4.ebuild | 6 +-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/x11-plugins/gkrellsun/gkrellsun-1.0.0-r4.ebuild 
b/x11-plugins/gkrellsun/gkrellsun-1.0.0-r4.ebuild
index 3a4d0df4a5b6..c6d635b3beb1 100644
--- a/x11-plugins/gkrellsun/gkrellsun-1.0.0-r4.ebuild
+++ b/x11-plugins/gkrellsun/gkrellsun-1.0.0-r4.ebuild
@@ -23,7 +23,11 @@ PATCHES=(
"${FILESDIR}"/${P}-Respect-LDFLAGS.patch
 )
 
-PLUGIN_SO=( src20/gkrellsun$(get_modname) )
+
+src_configure() {
+   PLUGIN_SO=( src20/gkrellsun$(get_modname) )
+   default
+}
 
 src_compile() {
use nls && local myconf="enable_nls=1"



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

2020-02-08 Thread Mart Raudsepp
commit: 46dd93580c6d4a6dded29cd5e034b45886afb1ec
Author: Mart Raudsepp  gentoo  org>
AuthorDate: Sat Feb  8 11:46:04 2020 +
Commit: Mart Raudsepp  gentoo  org>
CommitDate: Sat Feb  8 21:39:38 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46dd9358

x11-plugins/gkrellsun: drop to ~hppa

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Mart Raudsepp  gentoo.org>

 x11-plugins/gkrellsun/gkrellsun-1.0.0-r4.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/x11-plugins/gkrellsun/gkrellsun-1.0.0-r4.ebuild 
b/x11-plugins/gkrellsun/gkrellsun-1.0.0-r4.ebuild
index 912376efd40..10521a08124 100644
--- a/x11-plugins/gkrellsun/gkrellsun-1.0.0-r4.ebuild
+++ b/x11-plugins/gkrellsun/gkrellsun-1.0.0-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=6
@@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/gkrellsun/${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="1"
-KEYWORDS="~alpha amd64 hppa ia64 ppc sparc x86"
+KEYWORDS="~alpha amd64 ~hppa ia64 ppc sparc x86"
 IUSE="nls"
 
 RDEPEND="app-admin/gkrellm:2[X]"



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

2017-06-10 Thread Michael Palimaka
commit: c97fe714d4c39ead2ef4bf578c1b3c173f8755eb
Author: Michael Palimaka  gentoo  org>
AuthorDate: Sun Jun 11 03:57:18 2017 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Sun Jun 11 04:00:20 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c97fe714

x11-plugins/gkrellsun: remove old

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 x11-plugins/gkrellsun/gkrellsun-1.0.0-r1.ebuild | 22 ---
 x11-plugins/gkrellsun/gkrellsun-1.0.0-r3.ebuild | 28 -
 2 files changed, 50 deletions(-)

diff --git a/x11-plugins/gkrellsun/gkrellsun-1.0.0-r1.ebuild 
b/x11-plugins/gkrellsun/gkrellsun-1.0.0-r1.ebuild
deleted file mode 100644
index 8f8bd40f181..000
--- a/x11-plugins/gkrellsun/gkrellsun-1.0.0-r1.ebuild
+++ /dev/null
@@ -1,22 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-inherit gkrellm-plugin
-
-IUSE="nls"
-DESCRIPTION="A GKrellM plugin that shows sunrise and sunset times"
-HOMEPAGE="http://gkrellsun.sourceforge.net/;
-SRC_URI="mirror://sourceforge/gkrellsun/${P}.tar.gz"
-
-SLOT="1"
-LICENSE="GPL-2"
-KEYWORDS="alpha amd64 hppa ia64 ppc sparc x86"
-
-DEPEND="nls? ( sys-devel/gettext )"
-
-PLUGIN_SO=src20/gkrellsun.so
-
-src_compile() {
-   use nls && myconf="$myconf enable_nls=1"
-   emake ${myconf}
-}

diff --git a/x11-plugins/gkrellsun/gkrellsun-1.0.0-r3.ebuild 
b/x11-plugins/gkrellsun/gkrellsun-1.0.0-r3.ebuild
deleted file mode 100644
index e8d7a4e66f5..000
--- a/x11-plugins/gkrellsun/gkrellsun-1.0.0-r3.ebuild
+++ /dev/null
@@ -1,28 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="3"
-inherit gkrellm-plugin eutils
-
-IUSE="nls"
-DESCRIPTION="A GKrellM plugin that shows sunrise and sunset times"
-HOMEPAGE="http://gkrellsun.sourceforge.net/;
-SRC_URI="mirror://sourceforge/gkrellsun/${P}.tar.gz"
-
-SLOT="1"
-LICENSE="GPL-2"
-KEYWORDS="~alpha amd64 ~hppa ~ia64 ~ppc ~sparc x86"
-
-DEPEND="nls? ( sys-devel/gettext )"
-
-PLUGIN_SO=src20/gkrellsun.so
-
-src_prepare() {
-   epatch "${FILESDIR}/${P}-reenable.patch"
-   epatch "${FILESDIR}/${P}-Respect-LDFLAGS.patch"
-}
-
-src_compile() {
-   use nls && myconf="$myconf enable_nls=1"
-   emake ${myconf}
-}



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

2017-06-10 Thread Agostino Sarubbo
commit: c9cd699ef035a7fd4d3f6e60c80acbfff702a57b
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sat Jun 10 15:09:18 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sat Jun 10 15:09:18 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9cd699e

x11-plugins/gkrellsun: ia64 stable wrt bug #613836

Package-Manager: Portage-2.3.5, Repoman-2.3.1
RepoMan-Options: --include-arches="ia64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

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

diff --git a/x11-plugins/gkrellsun/gkrellsun-1.0.0-r4.ebuild 
b/x11-plugins/gkrellsun/gkrellsun-1.0.0-r4.ebuild
index e39dd90a29b..40deb42b572 100644
--- a/x11-plugins/gkrellsun/gkrellsun-1.0.0-r4.ebuild
+++ b/x11-plugins/gkrellsun/gkrellsun-1.0.0-r4.ebuild
@@ -10,7 +10,7 @@ HOMEPAGE="http://gkrellsun.sourceforge.net/;
 SRC_URI="mirror://sourceforge/gkrellsun/${P}.tar.gz"
 LICENSE="GPL-2"
 SLOT="1"
-KEYWORDS="alpha amd64 hppa ~ia64 ppc sparc x86"
+KEYWORDS="alpha amd64 hppa ia64 ppc sparc x86"
 IUSE="nls"
 
 COMMON_DEPEND="app-admin/gkrellm[X]



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

2017-04-18 Thread Jeroen Roovers
commit: 3a3642e3cbc6d315d6851ea52d2fae17f9b96cb4
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Tue Apr 18 06:41:15 2017 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Tue Apr 18 06:41:15 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a3642e3

x11-plugins/gkrellsun: Stable for HPPA (bug #613836).

Package-Manager: Portage-2.3.5, Repoman-2.3.2
RepoMan-Options: --ignore-arches

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

diff --git a/x11-plugins/gkrellsun/gkrellsun-1.0.0-r4.ebuild 
b/x11-plugins/gkrellsun/gkrellsun-1.0.0-r4.ebuild
index d17ab22196f..9f578ca69ff 100644
--- a/x11-plugins/gkrellsun/gkrellsun-1.0.0-r4.ebuild
+++ b/x11-plugins/gkrellsun/gkrellsun-1.0.0-r4.ebuild
@@ -10,7 +10,7 @@ HOMEPAGE="http://gkrellsun.sourceforge.net/;
 SRC_URI="mirror://sourceforge/gkrellsun/${P}.tar.gz"
 LICENSE="GPL-2"
 SLOT="1"
-KEYWORDS="alpha amd64 ~hppa ~ia64 ppc ~sparc x86"
+KEYWORDS="alpha amd64 hppa ~ia64 ppc ~sparc x86"
 IUSE="nls"
 
 COMMON_DEPEND="app-admin/gkrellm[X]



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

2017-04-04 Thread Tobias Klausmann
commit: 79814713f56aaa8008571f4fb7636dcfda6e62e2
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Tue Apr  4 19:27:51 2017 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Tue Apr  4 19:27:51 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79814713

x11-plugins/gkrellsun-1.0.0-r4: add alpha keyword

Gentoo-Bug: 613836

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

diff --git a/x11-plugins/gkrellsun/gkrellsun-1.0.0-r4.ebuild 
b/x11-plugins/gkrellsun/gkrellsun-1.0.0-r4.ebuild
index 753f6d2ae2f..d17ab22196f 100644
--- a/x11-plugins/gkrellsun/gkrellsun-1.0.0-r4.ebuild
+++ b/x11-plugins/gkrellsun/gkrellsun-1.0.0-r4.ebuild
@@ -10,7 +10,7 @@ HOMEPAGE="http://gkrellsun.sourceforge.net/;
 SRC_URI="mirror://sourceforge/gkrellsun/${P}.tar.gz"
 LICENSE="GPL-2"
 SLOT="1"
-KEYWORDS="~alpha amd64 ~hppa ~ia64 ppc ~sparc x86"
+KEYWORDS="alpha amd64 ~hppa ~ia64 ppc ~sparc x86"
 IUSE="nls"
 
 COMMON_DEPEND="app-admin/gkrellm[X]



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

2017-04-01 Thread Agostino Sarubbo
commit: 3586b4d01b49ecb1eed4bfc5f13466dc68a89fac
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sat Apr  1 16:04:22 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sat Apr  1 16:04:22 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3586b4d0

x11-plugins/gkrellsun: x86 stable wrt bug #613836

Package-Manager: Portage-2.3.3, Repoman-2.3.1
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

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

diff --git a/x11-plugins/gkrellsun/gkrellsun-1.0.0-r4.ebuild 
b/x11-plugins/gkrellsun/gkrellsun-1.0.0-r4.ebuild
index 0fe49d608ba..753f6d2ae2f 100644
--- a/x11-plugins/gkrellsun/gkrellsun-1.0.0-r4.ebuild
+++ b/x11-plugins/gkrellsun/gkrellsun-1.0.0-r4.ebuild
@@ -10,7 +10,7 @@ HOMEPAGE="http://gkrellsun.sourceforge.net/;
 SRC_URI="mirror://sourceforge/gkrellsun/${P}.tar.gz"
 LICENSE="GPL-2"
 SLOT="1"
-KEYWORDS="~alpha amd64 ~hppa ~ia64 ppc ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~hppa ~ia64 ppc ~sparc x86"
 IUSE="nls"
 
 COMMON_DEPEND="app-admin/gkrellm[X]



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

2017-03-28 Thread Agostino Sarubbo
commit: a99a755d030c913a8324a89b1f7a344f86fb5bd8
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Mar 28 09:55:53 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Mar 28 09:55:53 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a99a755d

x11-plugins/gkrellsun: amd64 stable wrt bug #613836

Package-Manager: Portage-2.3.3, Repoman-2.3.1
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 x11-plugins/gkrellsun/gkrellsun-1.0.0-r4.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/x11-plugins/gkrellsun/gkrellsun-1.0.0-r4.ebuild 
b/x11-plugins/gkrellsun/gkrellsun-1.0.0-r4.ebuild
index c1205efe328..33d18ba3631 100644
--- a/x11-plugins/gkrellsun/gkrellsun-1.0.0-r4.ebuild
+++ b/x11-plugins/gkrellsun/gkrellsun-1.0.0-r4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -10,7 +10,7 @@ HOMEPAGE="http://gkrellsun.sourceforge.net/;
 SRC_URI="mirror://sourceforge/gkrellsun/${P}.tar.gz"
 LICENSE="GPL-2"
 SLOT="1"
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~hppa ~ia64 ~ppc ~sparc ~x86"
 IUSE="nls"
 
 COMMON_DEPEND="app-admin/gkrellm[X]



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

2016-08-05 Thread Michael Orlitzky
commit: 8b9da2f3f46654c66a7d8ebdab869aa7433818a9
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Fri Aug  5 23:05:41 2016 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Fri Aug  5 23:32:09 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b9da2f3

x11-plugins/gkrellsun: remove old revision gkrellsun-1.0.0-r2.

Package-Manager: portage-2.2.28

 x11-plugins/gkrellsun/gkrellsun-1.0.0-r2.ebuild | 28 -
 1 file changed, 28 deletions(-)

diff --git a/x11-plugins/gkrellsun/gkrellsun-1.0.0-r2.ebuild 
b/x11-plugins/gkrellsun/gkrellsun-1.0.0-r2.ebuild
deleted file mode 100644
index 63b7c7d..000
--- a/x11-plugins/gkrellsun/gkrellsun-1.0.0-r2.ebuild
+++ /dev/null
@@ -1,28 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="3"
-inherit gkrellm-plugin eutils
-
-IUSE="nls"
-DESCRIPTION="A GKrellM plugin that shows sunrise and sunset times"
-HOMEPAGE="http://gkrellsun.sourceforge.net/;
-SRC_URI="mirror://sourceforge/gkrellsun/${P}.tar.gz"
-
-SLOT="1"
-LICENSE="GPL-2"
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86"
-
-DEPEND="nls? ( sys-devel/gettext )"
-
-PLUGIN_SO=src20/gkrellsun.so
-
-src_prepare() {
-   epatch "${FILESDIR}/${P}-reenable.patch"
-}
-
-src_compile() {
-   use nls && myconf="$myconf enable_nls=1"
-   emake ${myconf}
-}



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

2016-08-05 Thread Michael Orlitzky
commit: 9c32c73de5c993525bdf76535b94f32b9a6b2635
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Fri Aug  5 23:21:12 2016 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Fri Aug  5 23:32:09 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c32c73d

x11-plugins/gkrellsun: new revision with EAPI=6.

This new revision updates to EAPI=6 for a few reasons. First, the old
EAPI in use was deprecated. There is also a faked USE dependency in
the eclass (reported in bug 514108) that was turnen into a real
one. Finally, the default src_prepare was adopted.

Gentoo-Bug: 514108

Package-Manager: portage-2.2.28

 x11-plugins/gkrellsun/gkrellsun-1.0.0-r4.ebuild | 32 +
 1 file changed, 32 insertions(+)

diff --git a/x11-plugins/gkrellsun/gkrellsun-1.0.0-r4.ebuild 
b/x11-plugins/gkrellsun/gkrellsun-1.0.0-r4.ebuild
new file mode 100644
index 000..200303e
--- /dev/null
+++ b/x11-plugins/gkrellsun/gkrellsun-1.0.0-r4.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit gkrellm-plugin
+
+DESCRIPTION="A GKrellM plugin that shows sunrise and sunset times"
+HOMEPAGE="http://gkrellsun.sourceforge.net/;
+SRC_URI="mirror://sourceforge/gkrellsun/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="1"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86"
+IUSE="nls"
+
+COMMON_DEPEND="app-admin/gkrellm[X]
+   nls? ( sys-devel/gettext )"
+DEPEND+=" ${COMMON_DEPEND}"
+RDEPEND+=" ${COMMON_DEPEND}"
+
+PLUGIN_SO=src20/gkrellsun.so
+
+PATCHES=(
+   "${FILESDIR}/${P}-reenable.patch"
+   "${FILESDIR}/${P}-Respect-LDFLAGS.patch"
+)
+
+src_compile() {
+   use nls && myconf="$myconf enable_nls=1"
+   emake ${myconf}
+}