svn commit: r503258 - in head/deskutils/goesimage: . files
Yuri Victorovich
yuri at FreeBSD.org
Sat Jun 1 21:55:39 UTC 2019
Author: yuri
Date: Sat Jun 1 21:55:37 2019
New Revision: 503258
URL: https://svnweb.freebsd.org/changeset/ports/503258
Log:
deskutils/goesimage: Update 0.1.1-1 -> 0.1.1-4
Port changes:
* Use nitrogen to set the wallpaper because it can handle interaction with desktop managers which feh can't
* Change the cron schedule to match wallpaper updates on the server
* Update pkg-message
Modified:
head/deskutils/goesimage/Makefile
head/deskutils/goesimage/distinfo
head/deskutils/goesimage/files/crontab.in
head/deskutils/goesimage/pkg-message
Modified: head/deskutils/goesimage/Makefile
==============================================================================
--- head/deskutils/goesimage/Makefile Sat Jun 1 21:23:02 2019 (r503257)
+++ head/deskutils/goesimage/Makefile Sat Jun 1 21:55:37 2019 (r503258)
@@ -1,9 +1,8 @@
# $FreeBSD$
PORTNAME= goesimage
-DISTVERSION= 0.1.1-1
-DISTVERSIONSUFFIX= -g0021b16
-PORTREVISION= 1
+DISTVERSION= 0.1.1-4
+DISTVERSIONSUFFIX= -gce8f849
CATEGORIES= deskutils
MAINTAINER= yuri at FreeBSD.org
@@ -15,7 +14,7 @@ LICENSE_FILE= ${WRKSRC}/UNLICENSE
RUN_DEPENDS= bash:shells/bash \
convert:graphics/ImageMagick6 \
curl:ftp/curl \
- feh:graphics/feh
+ nitrogen:sysutils/nitrogen
USES= shebangfix
SHEBANG_FILES= goesimage
@@ -25,10 +24,10 @@ GH_ACCOUNT= pigmonkey
NO_BUILD= yes
NO_ARCH= yes
-SUB_LIST= PORTNAME=${PORTNAME} RUN_ARGS="${RUN_ARGS}"
+SUB_LIST= PORTNAME=${PORTNAME}
SUB_FILES= crontab
-RUN_ARGS= -w -e
+RUN_ARGS= -w -e -o # -w: NOAA GOES West satellite, -e: NOAA GOES East satellite, -o: print output, don't set as a wallpaper (it is set by nitrogen)
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/libexec/
@@ -44,7 +43,7 @@ do-install:
) > ${STAGEDIR}${PREFIX}/bin/${PORTNAME}-disable
@(echo "#!/bin/sh"; \
echo ""; \
- echo "${PREFIX}/libexec/${PORTNAME} ${RUN_ARGS}"; \
+ echo "${PREFIX}/bin/nitrogen --set-zoom "$$"(${PREFIX}/libexec/${PORTNAME} ${RUN_ARGS})"; \
) > ${STAGEDIR}${PREFIX}/bin/${PORTNAME}-run-now
@cd ${STAGEDIR}${PREFIX}/bin && ${CHMOD} +x ${PORTNAME}-enable ${PORTNAME}-disable ${PORTNAME}-run-now
Modified: head/deskutils/goesimage/distinfo
==============================================================================
--- head/deskutils/goesimage/distinfo Sat Jun 1 21:23:02 2019 (r503257)
+++ head/deskutils/goesimage/distinfo Sat Jun 1 21:55:37 2019 (r503258)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1558845555
-SHA256 (pigmonkey-goesimage-0.1.1-1-g0021b16_GH0.tar.gz) = d95bb307b717763e08bd8bd6504a9e2be06c1ea2574b73c05d88743cb505d323
-SIZE (pigmonkey-goesimage-0.1.1-1-g0021b16_GH0.tar.gz) = 4099645
+TIMESTAMP = 1559423375
+SHA256 (pigmonkey-goesimage-0.1.1-4-gce8f849_GH0.tar.gz) = 108b972dbb29a7e92f9229a0e0efe1829c1382702924c14b88d049b08d86b32b
+SIZE (pigmonkey-goesimage-0.1.1-4-gce8f849_GH0.tar.gz) = 4099823
Modified: head/deskutils/goesimage/files/crontab.in
==============================================================================
--- head/deskutils/goesimage/files/crontab.in Sat Jun 1 21:23:02 2019 (r503257)
+++ head/deskutils/goesimage/files/crontab.in Sat Jun 1 21:55:37 2019 (r503258)
@@ -1 +1 @@
-01,16,31,46 * * * * env DISPLAY=:0 %%PREFIX%%/libexec/%%PORTNAME%% %%RUN_ARGS%%
+01,11,21,31,41,51 * * * * env DISPLAY=:0 %%PREFIX%%/bin/%%PORTNAME%%-run-now
Modified: head/deskutils/goesimage/pkg-message
==============================================================================
--- head/deskutils/goesimage/pkg-message Sat Jun 1 21:23:02 2019 (r503257)
+++ head/deskutils/goesimage/pkg-message Sat Jun 1 21:55:37 2019 (r503258)
@@ -16,4 +16,7 @@ be set as a wallpaper on the Xorg server running on DI
Before uninstalling, you need to disable it:
$ goesimage-disable
+
+You can also download and update the wallpaper any time:
+$ goesimage-run-now
======================================================================
More information about the svn-ports-head
mailing list