pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/misc/gkrellsun



Module Name:    pkgsrc
Committed By:   pho
Date:           Sat Nov 27 12:33:20 UTC 2021

Added Files:
        pkgsrc/misc/gkrellsun: DESCR Makefile PLIST distinfo options.mk
        pkgsrc/misc/gkrellsun/patches: patch-src20_Makefile

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/misc/gkrellsun/DESCR \
    pkgsrc/misc/gkrellsun/Makefile pkgsrc/misc/gkrellsun/PLIST \
    pkgsrc/misc/gkrellsun/distinfo pkgsrc/misc/gkrellsun/options.mk
cvs rdiff -u -r0 -r1.1 pkgsrc/misc/gkrellsun/patches/patch-src20_Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/misc/gkrellsun/DESCR
diff -u /dev/null pkgsrc/misc/gkrellsun/DESCR:1.1
--- /dev/null   Sat Nov 27 12:33:20 2021
+++ pkgsrc/misc/gkrellsun/DESCR Sat Nov 27 12:33:20 2021
@@ -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.
Index: pkgsrc/misc/gkrellsun/Makefile
diff -u /dev/null pkgsrc/misc/gkrellsun/Makefile:1.1
--- /dev/null   Sat Nov 27 12:33:20 2021
+++ pkgsrc/misc/gkrellsun/Makefile      Sat Nov 27 12:33:20 2021
@@ -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"
Index: pkgsrc/misc/gkrellsun/PLIST
diff -u /dev/null pkgsrc/misc/gkrellsun/PLIST:1.1
--- /dev/null   Sat Nov 27 12:33:20 2021
+++ pkgsrc/misc/gkrellsun/PLIST Sat Nov 27 12:33:20 2021
@@ -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
Index: pkgsrc/misc/gkrellsun/distinfo
diff -u /dev/null pkgsrc/misc/gkrellsun/distinfo:1.1
--- /dev/null   Sat Nov 27 12:33:20 2021
+++ pkgsrc/misc/gkrellsun/distinfo      Sat Nov 27 12:33:20 2021
@@ -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
Index: pkgsrc/misc/gkrellsun/options.mk
diff -u /dev/null pkgsrc/misc/gkrellsun/options.mk:1.1
--- /dev/null   Sat Nov 27 12:33:20 2021
+++ pkgsrc/misc/gkrellsun/options.mk    Sat Nov 27 12:33:20 2021
@@ -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

Index: pkgsrc/misc/gkrellsun/patches/patch-src20_Makefile
diff -u /dev/null pkgsrc/misc/gkrellsun/patches/patch-src20_Makefile:1.1
--- /dev/null   Sat Nov 27 12:33:20 2021
+++ pkgsrc/misc/gkrellsun/patches/patch-src20_Makefile  Sat Nov 27 12:33:20 2021
@@ -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