From owner-svn-ports-head@freebsd.org Sun May 26 01:23:18 2019 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 27A3F15BBE7C; Sun, 26 May 2019 01:23:18 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9F1316B648; Sun, 26 May 2019 01:23:17 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 86FE4CA1F; Sun, 26 May 2019 01:23:17 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x4Q1NHE7031358; Sun, 26 May 2019 01:23:17 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x4Q1NGn2031351; Sun, 26 May 2019 01:23:16 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201905260123.x4Q1NGn2031351@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Sun, 26 May 2019 01:23:16 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r502668 - in head/deskutils: . goesimage goesimage/files X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/deskutils: . goesimage goesimage/files X-SVN-Commit-Revision: 502668 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 9F1316B648 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.97 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.97)[-0.972,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 May 2019 01:23:18 -0000 Author: yuri Date: Sun May 26 01:23:15 2019 New Revision: 502668 URL: https://svnweb.freebsd.org/changeset/ports/502668 Log: New port: deskutils/goesimage: Wallpapers from NOAA Geostationary Operational Environment Satellite Added: head/deskutils/goesimage/ head/deskutils/goesimage/Makefile (contents, props changed) head/deskutils/goesimage/distinfo (contents, props changed) head/deskutils/goesimage/files/ head/deskutils/goesimage/files/crontab.in (contents, props changed) head/deskutils/goesimage/pkg-descr (contents, props changed) head/deskutils/goesimage/pkg-message (contents, props changed) head/deskutils/goesimage/pkg-plist (contents, props changed) Modified: head/deskutils/Makefile Modified: head/deskutils/Makefile ============================================================================== --- head/deskutils/Makefile Sun May 26 00:54:07 2019 (r502667) +++ head/deskutils/Makefile Sun May 26 01:23:15 2019 (r502668) @@ -95,6 +95,7 @@ SUBDIR += gnote SUBDIR += gnustep-wrapper SUBDIR += go-for-it + SUBDIR += goesimage SUBDIR += gourmet SUBDIR += gpicker SUBDIR += grantlee-editor Added: head/deskutils/goesimage/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/deskutils/goesimage/Makefile Sun May 26 01:23:15 2019 (r502668) @@ -0,0 +1,40 @@ +# $FreeBSD$ + +PORTNAME= goesimage +DISTVERSION= 0.1.1 +CATEGORIES= deskutils + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Wallpapers from NOAA Geostationary Operational Environment Satellite + +RUN_DEPENDS= bash:shells/bash \ + curl:ftp/curl \ + feh:graphics/feh \ + convert:graphics/ImageMagick6 + +USES= shebangfix +SHEBANG_FILES= goesimage +USE_GITHUB= yes +GH_ACCOUNT= pigmonkey + +NO_BUILD= yes +NO_ARCH= yes + +SUB_LIST= PORTNAME=${PORTNAME} +SUB_FILES= crontab + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/libexec/ + ${MKDIR} ${STAGEDIR}${DATADIR} + ${INSTALL_SCRIPT} ${WRKDIR}/crontab ${STAGEDIR}${DATADIR} + @(echo "#!/bin/sh"; \ + echo ""; \ + echo "crontab -l | ${GREP} -v '${PREFIX}/libexec/${PORTNAME}' | (cat ; cat ${DATADIR}/crontab) | crontab -;"; \ + ) > ${STAGEDIR}${PREFIX}/bin/${PORTNAME}-enable + @(echo "#!/bin/sh"; \ + echo ""; \ + echo "crontab -l | ${GREP} -v '${PREFIX}/libexec/${PORTNAME}' | crontab -"; \ + ) > ${STAGEDIR}${PREFIX}/bin/${PORTNAME}-disable + @cd ${STAGEDIR}${PREFIX}/bin && ${CHMOD} +x ${PORTNAME}-enable ${PORTNAME}-disable + +.include Added: head/deskutils/goesimage/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/deskutils/goesimage/distinfo Sun May 26 01:23:15 2019 (r502668) @@ -0,0 +1,3 @@ +TIMESTAMP = 1558824744 +SHA256 (pigmonkey-goesimage-0.1.1_GH0.tar.gz) = 616c3501625ebb96dcfc0ff7e7ac79bc1c74f0e75efda422ebbd88364432ec04 +SIZE (pigmonkey-goesimage-0.1.1_GH0.tar.gz) = 4098974 Added: head/deskutils/goesimage/files/crontab.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/deskutils/goesimage/files/crontab.in Sun May 26 01:23:15 2019 (r502668) @@ -0,0 +1 @@ +01,16,31,46 * * * * env DISPLAY=:0 %%PREFIX%%/libexec/%%PORTNAME%% -w -e Added: head/deskutils/goesimage/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/deskutils/goesimage/pkg-descr Sun May 26 01:23:15 2019 (r502668) @@ -0,0 +1,5 @@ +goesimage downloads beautiful images of planet Earth from the NOAA Geostationary +Operational Environment Satellite (https://www.goes.noaa.gov/) and makes them +your wallpaper. + +WWW: https://github.com/pigmonkey Added: head/deskutils/goesimage/pkg-message ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/deskutils/goesimage/pkg-message Sun May 26 01:23:15 2019 (r502668) @@ -0,0 +1,19 @@ +====================================================================== +You installed goesimage, the program that downloads images from +NOAA Geostationary Operational Environment Satellite and makes them +your wallpaper. + +It only makes sense to install goesimage if you are running some +graphical desktop environment. + +You need to enable goesimage by running this command: +$ goesimage-enable + +This will install the crontab procedure for your current user. + +Images will be saved in your ~/.cache/goesimage/ directory, and will +be set as a wallpaper on the Xorg server running on DISPLAY=:0 + +Before uninstalling, you need to disable it: +$ goesimage-disable +====================================================================== Added: head/deskutils/goesimage/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/deskutils/goesimage/pkg-plist Sun May 26 01:23:15 2019 (r502668) @@ -0,0 +1,4 @@ +bin/goesimage-disable +bin/goesimage-enable +libexec/goesimage +%%DATADIR%%/crontab