pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/misc/gkrellsun Import gkrellsun-1.0.0
details: https://anonhg.NetBSD.org/pkgsrc/rev/3db24ae706db
branches: trunk
changeset: 770203:3db24ae706db
user: pho <pho%pkgsrc.org@localhost>
date: Sat Nov 27 12:33:20 2021 +0000
description:
Import gkrellsun-1.0.0
gkrellsun is a plugin for gkrellm which can display the following:
* Sun's setting time
* Sun's rising time
* Sun's estimate time before setting/rising
* Sun's path and current location on that path
* Sun's apogee path
* As of 0.11.0:
* Moon displayed as a full image (identical to gkrellmoon).
* User can click on image to toggle between Sun/Moon.
* Sun/Moon images will be toggled every X minutes (changable).
* Moon has a tooltip with more info.
There are currently two background images. One is a static UltraViolet
image and the other is an Orange image consists of six levels of
brightness. The text color for each of the Suns' rise/set/eta times
can be set independantly. The font type and size can also be set for
all the times.
diffstat:
misc/gkrellsun/DESCR | 18 ++++++++++++++++++
misc/gkrellsun/Makefile | 21 +++++++++++++++++++++
misc/gkrellsun/PLIST | 4 ++++
misc/gkrellsun/distinfo | 6 ++++++
misc/gkrellsun/options.mk | 13 +++++++++++++
misc/gkrellsun/patches/patch-src20_Makefile | 15 +++++++++++++++
6 files changed, 77 insertions(+), 0 deletions(-)
diffs (101 lines):
diff -r 0c68bf851696 -r 3db24ae706db misc/gkrellsun/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/gkrellsun/DESCR Sat Nov 27 12:33:20 2021 +0000
@@ -0,0 +1,18 @@
+gkrellsun is a plugin for gkrellm which can display the following:
+
+* Sun's setting time
+* Sun's rising time
+* Sun's estimate time before setting/rising
+* Sun's path and current location on that path
+* Sun's apogee path
+* As of 0.11.0:
+ * Moon displayed as a full image (identical to gkrellmoon).
+ * User can click on image to toggle between Sun/Moon.
+ * Sun/Moon images will be toggled every X minutes (changable).
+ * Moon has a tooltip with more info.
+
+There are currently two background images. One is a static UltraViolet
+image and the other is an Orange image consists of six levels of
+brightness. The text color for each of the Suns' rise/set/eta times
+can be set independantly. The font type and size can also be set for
+all the times.
diff -r 0c68bf851696 -r 3db24ae706db misc/gkrellsun/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/gkrellsun/Makefile Sat Nov 27 12:33:20 2021 +0000
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1 2021/11/27 12:33:20 pho Exp $
+DISTNAME= gkrellsun-1.0.0
+CATEGORIES= misc
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gkrellsun/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= http://gkrellsun.sourceforge.net/
+COMMENT= GKrellM plugin to display sun rise and sun set times
+LICENSE= gnu-gpl-v2
+
+USE_TOOLS+= pkg-config gmake
+
+.include "options.mk"
+
+INSTALLATION_DIRS+= share/doc/${PKGBASE}
+post-install:
+ ${INSTALL_DATA} "${WRKSRC}/README" \
+ "${DESTDIR}${PREFIX}/share/doc/${PKGBASE}"
+
+.include "../../sysutils/gkrellm/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 0c68bf851696 -r 3db24ae706db misc/gkrellsun/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/gkrellsun/PLIST Sat Nov 27 12:33:20 2021 +0000
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1 2021/11/27 12:33:20 pho Exp $
+lib/gkrellm2/plugins/gkrellsun.so
+share/doc/gkrellsun/README
+share/locale/ru/LC_MESSAGES/gkrellsun.mo
diff -r 0c68bf851696 -r 3db24ae706db misc/gkrellsun/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/gkrellsun/distinfo Sat Nov 27 12:33:20 2021 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2021/11/27 12:33:20 pho Exp $
+
+BLAKE2s (gkrellsun-1.0.0.tar.gz) = 29aebc2c39df47ce9b06a27882f2ba2b0853fa5c1504c01d3e735ba267a33e03
+SHA512 (gkrellsun-1.0.0.tar.gz) = 1a34812e94f16d19311c23d44a0353dade50b802dd3ab115738959b9322c3bc6a28daa2bcea889700e6cc2ff8eb9400b989bf02c6f138bb878b94118ffd6e27a
+Size (gkrellsun-1.0.0.tar.gz) = 96970 bytes
+SHA1 (patch-src20_Makefile) = aa82b3842f704ced762830bf65de5b69e368c78d
diff -r 0c68bf851696 -r 3db24ae706db misc/gkrellsun/options.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/gkrellsun/options.mk Sat Nov 27 12:33:20 2021 +0000
@@ -0,0 +1,13 @@
+# $NetBSD: options.mk,v 1.1 2021/11/27 12:33:20 pho Exp $
+PKG_OPTIONS_VAR= PKG_OPTIONS.gkrellsun
+PKG_SUPPORTED_OPTIONS= nls
+PKG_SUGGESTED_OPTIONS= nls
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mnls)
+USE_TOOLS+= gmake msgfmt
+MAKE_FLAGS+= enable_nls=1
+MAKE_FLAGS+= LOCALEDIR="${PREFIX}/${PKGLOCALEDIR}/locale"
+MAKE_FLAGS+= INSTALL_PREFIX="${DESTDIR}"
+.endif
diff -r 0c68bf851696 -r 3db24ae706db misc/gkrellsun/patches/patch-src20_Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/gkrellsun/patches/patch-src20_Makefile Sat Nov 27 12:33:20 2021 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-src20_Makefile,v 1.1 2021/11/27 12:33:20 pho Exp $
+
+Honor LDFLAGS to support RELRO.
+
+--- src20/Makefile.orig 2006-03-16 18:59:17.000000000 +0000
++++ src20/Makefile
+@@ -35,7 +35,7 @@ all: gkrellsun.so
+
+ gkrellsun.so: $(OBJS)
+ (cd po && ${MAKE})
+- $(CC) $(OBJS) -o gkrellsun.so $(LFLAGS) $(LIBS)
++ $(CC) $(OBJS) -o gkrellsun.so $(LFLAGS) $(LDFLAGS) $(LIBS)
+
+ suninfo: suninfo.o CalcEphem.o Moon.o MoonRise.o
+ $(CC) $^ -o suninfo -lm $(LIBS)
Home |
Main Index |
Thread Index |
Old Index