Sat Nov 27 12:33:20 2021 UTC ()
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.
(pho)
diff -r0 -r1.1 pkgsrc/misc/gkrellsun/DESCR
diff -r0 -r1.1 pkgsrc/misc/gkrellsun/Makefile
diff -r0 -r1.1 pkgsrc/misc/gkrellsun/PLIST
diff -r0 -r1.1 pkgsrc/misc/gkrellsun/distinfo
diff -r0 -r1.1 pkgsrc/misc/gkrellsun/options.mk
diff -r0 -r1.1 pkgsrc/misc/gkrellsun/patches/patch-src20_Makefile
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.
# $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
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"
@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
$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
# $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
$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)