aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2019-06-01 21:55:37 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2019-06-01 21:55:37 +0000
commitf553c9ac17697e3d8819faf7662d0154b7c7e0e3 (patch)
tree803e16092016144a57ce1b79b9c9fbe7865b30a0
parente6ddba48c597e047c1234c143721beba3d862156 (diff)
downloadports-f553c9ac17697e3d8819faf7662d0154b7c7e0e3.tar.gz
ports-f553c9ac17697e3d8819faf7662d0154b7c7e0e3.zip
Notes
-rw-r--r--deskutils/goesimage/Makefile13
-rw-r--r--deskutils/goesimage/distinfo6
-rw-r--r--deskutils/goesimage/files/crontab.in2
-rw-r--r--deskutils/goesimage/pkg-message3
4 files changed, 13 insertions, 11 deletions
diff --git a/deskutils/goesimage/Makefile b/deskutils/goesimage/Makefile
index ee7b111d29f6..bd8931e91cfc 100644
--- a/deskutils/goesimage/Makefile
+++ b/deskutils/goesimage/Makefile
@@ -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@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
diff --git a/deskutils/goesimage/distinfo b/deskutils/goesimage/distinfo
index 5aeed46db177..4f46b1f62175 100644
--- a/deskutils/goesimage/distinfo
+++ b/deskutils/goesimage/distinfo
@@ -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
diff --git a/deskutils/goesimage/files/crontab.in b/deskutils/goesimage/files/crontab.in
index 56c43d1d1db2..aa4026c261f2 100644
--- a/deskutils/goesimage/files/crontab.in
+++ b/deskutils/goesimage/files/crontab.in
@@ -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
diff --git a/deskutils/goesimage/pkg-message b/deskutils/goesimage/pkg-message
index 1f3f765d1e94..2256d44d844a 100644
--- a/deskutils/goesimage/pkg-message
+++ b/deskutils/goesimage/pkg-message
@@ -16,4 +16,7 @@ be set as a wallpaper on the Xorg server running on DISPLAY=:0
Before uninstalling, you need to disable it:
$ goesimage-disable
+
+You can also download and update the wallpaper any time:
+$ goesimage-run-now
======================================================================