From nobody Mon Jul 21 09:11:44 2025 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4blvm15XJrz62PBL; Mon, 21 Jul 2025 09:11:45 +0000 (UTC) (envelope-from git@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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4blvm11bRBz4Dn9; Mon, 21 Jul 2025 09:11:45 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1753089105; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=65IyB/VtDnLOAYTKurWrUOzHcHSI+lcpDsWO6z940Ps=; b=BNexxCGtquVfWa1wvZUfCFYht6e8skVtVYceZ4/pFR/YmXtlc9awtRe03g5WKe4NuHc5FV +JZqdPgAVv8oEQAlxNOCIedDA5js7awHkcPmp01f7lPF3kraxrdvl/pC3MA0xWQ+mc2uii jYd/HQ479kCtBJL5rFZpnOKBZ/TwxwYlKn/nTinnLrAbSgEEQ/ZS+17ewhGRLpahNvq/K9 sYcSPps43vYnxYdhsP/ZAv+i7+m/TJHAbX/NbK7/M7XEbAduGfZM0ZDs0TlOX9RbsIWtLJ 3eOfdQ8d4HReGHbmIZ/CEJOM4k4VUh98WyDKO+XbPY9aRp5gPZ98p+euBMmxgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1753089105; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=65IyB/VtDnLOAYTKurWrUOzHcHSI+lcpDsWO6z940Ps=; b=YuIpcgKTqAzoxuFKvNKfqDMvGLe+P1KnKT6AHIMJ0iMQVV4g3NmO2ioPtMdGo++bmg/H3q bbrYRrL2mVP9hzKPjNL7eQcswssFjxaQPGHR1lxgLu/m4MaQuYBGfmU4sksyEe36xVFmSG RBWaC+cZdvPqGbKxU6ct3wdJ3tY7noGycj9DZ2wL0X7H9UBe5NeGraHiWJMT0w4HysLADT YN6BK5XeKkY2UbH+FHBRjyx6a+CzBkEJ0ma51zOy/KE66aGz34BGHVszwr6SaVnsUm9ACY u1xDK16EyK6xKQIp9yPaNSoev5gAPrtE2BvAk0FoJcbNOBnLms9w37Q/WUPSSg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1753089105; a=rsa-sha256; cv=none; b=TJIpiEH1H1Nsl3WP9TYjeAka5bNMmSo9Rcm9bunQ53kIY9negjQWxMQbFHTVfZiuFLUD7f VSN17oA/TJKpkVrgJrpScunIUumSmy+L213EaOmJUyg5vme/LxUK34565wPXZcEfR/oRWH Gx7PC3pdhcWjvWRGfDdbLuRwN5YfVbumuVN66Ga9FdNpfrkNi+vrO+02h40EIqCXn7+res EtyRYBq16NE0GUmOQZhA7btKASqQdbRJBHYDhiyjBa2ySy13/Rpid+/7fiz1NOilr0w3ns LQnouhZKPzBsspeo+PGA0H1aAjDr5SYCyaoYe2a2U3oAQmQof8DT+zU5u1WxLw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4blvm06rfYzrVW; Mon, 21 Jul 2025 09:11:44 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 56L9BiUn007859; Mon, 21 Jul 2025 09:11:44 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 56L9BiVM007856; Mon, 21 Jul 2025 09:11:44 GMT (envelope-from git) Date: Mon, 21 Jul 2025 09:11:44 GMT Message-Id: <202507210911.56L9BiVM007856@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Robert Clausecker Subject: git: f32368395220 - main - astro/pngphoon: update to 1.4 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: fuz X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f32368395220346c8a379cd2ef2cda592159ffdc Auto-Submitted: auto-generated The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=f32368395220346c8a379cd2ef2cda592159ffdc commit f32368395220346c8a379cd2ef2cda592159ffdc Author: Robert Clausecker AuthorDate: 2025-07-18 07:32:56 +0000 Commit: Robert Clausecker CommitDate: 2025-07-21 09:11:24 +0000 astro/pngphoon: update to 1.4 Now comes with a man page. Changelog: https://svolli.de/software/pngphoon/1.4.php --- astro/pngphoon/Makefile | 15 +++++++++------ astro/pngphoon/distinfo | 6 +++--- astro/pngphoon/files/patch-moon.c | 11 +++++++++++ astro/pngphoon/files/patch-tws.h | 11 +++++++++++ astro/pngphoon/pkg-descr | 1 - 5 files changed, 34 insertions(+), 10 deletions(-) diff --git a/astro/pngphoon/Makefile b/astro/pngphoon/Makefile index 2a562534ae48..3bcc5b1df0ec 100644 --- a/astro/pngphoon/Makefile +++ b/astro/pngphoon/Makefile @@ -1,24 +1,27 @@ PORTNAME= pngphoon -DISTVERSION= 1.3 +DISTVERSION= 1.4 CATEGORIES= astro MASTER_SITES= https://svolli.de/software/pngphoon/ -COMMENT= PNG Phase of Moon MAINTAINER= fuz@FreeBSD.org +COMMENT= PNG Phase of Moon WWW= https://svolli.de/software/pngphoon/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING -LIB_DEPENDS= libpng.so:graphics/png +LIB_DEPENDS= libpng16.so:graphics/png -USES= gmake localbase:ldflags tar:bz2 +USES= gmake localbase:ldflags shebangfix tar:bz2 +SHEBANG_FILES= contrib/phoonX MAKE_ARGS= CC=${CC} CFLAGS="${CFLAGS}" -PLIST_FILES= bin/pngphoon +PLIST_FILES= bin/pngphoon bin/phoonX share/man/man1/pngphoon.1.gz do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/pngphoon ${STAGEDIR}${PREFIX}/bin/pngphoon + ${INSTALL_PROGRAM} ${WRKSRC}/pngphoon ${STAGEDIR}${PREFIX}/bin/ + ${INSTALL_SCRIPT} ${WRKSRC}/contrib/phoonX ${STAGEDIR}${PREFIX}/bin/ + ${INSTALL_MAN} ${WRKSRC}/contrib/pngphoon.1 ${STAGEDIR}${PREFIX}/share/man/man1/ .include diff --git a/astro/pngphoon/distinfo b/astro/pngphoon/distinfo index 8532d06226f7..d06a2fcb694f 100644 --- a/astro/pngphoon/distinfo +++ b/astro/pngphoon/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1703936409 -SHA256 (pngphoon-1.3.tar.bz2) = 86bd37d37d23da12aa38b239fa0b197d7a5052c6b96b82361716b54e152d3b23 -SIZE (pngphoon-1.3.tar.bz2) = 67264 +TIMESTAMP = 1752050037 +SHA256 (pngphoon-1.4.tar.bz2) = 5492a1b75edd90e37e7f71b69ca8ed57c71c32bd5a35328085c79fb417cfd524 +SIZE (pngphoon-1.4.tar.bz2) = 77764 diff --git a/astro/pngphoon/files/patch-moon.c b/astro/pngphoon/files/patch-moon.c new file mode 100644 index 000000000000..9fdf5936475c --- /dev/null +++ b/astro/pngphoon/files/patch-moon.c @@ -0,0 +1,11 @@ +--- moon.c.orig 2025-07-18 07:32:17 UTC ++++ moon.c +@@ -148,7 +148,7 @@ void mooncopy( image_t *image, moon_t *moondata, int c + moonoff = y * ( moondata->width ) / 8; + imageoff = (y + yoffset) * image->xbytes + xoffset / 8; + +- shade = blackflag ? shade = 0xff : shades[shadeindex][y % 8]; ++ shade = blackflag ? 0xff : shades[shadeindex][y % 8]; + + /* finally, hack the bits */ + if( bytexleft == bytexright ) diff --git a/astro/pngphoon/files/patch-tws.h b/astro/pngphoon/files/patch-tws.h new file mode 100644 index 000000000000..e4e6e992dfe8 --- /dev/null +++ b/astro/pngphoon/files/patch-tws.h @@ -0,0 +1,11 @@ +--- tws.h.orig 2025-07-18 07:31:08 UTC ++++ tws.h +@@ -33,7 +33,7 @@ struct tws + + /* Declarations of routines. */ + +-struct tws *dlocaltime( ); ++struct tws *dlocaltime( long * ); + /* dlocaltime( &clock ) turns a time(3) clock value into a tws */ + + struct tws *dtwstime( ); diff --git a/astro/pngphoon/pkg-descr b/astro/pngphoon/pkg-descr index 2e0f07f3e4cb..99f51534f4b5 100644 --- a/astro/pngphoon/pkg-descr +++ b/astro/pngphoon/pkg-descr @@ -13,4 +13,3 @@ program was originally written for. The image must have a width of at least 760 pixels to place the moon. If the image is smaller just the stars will be drawn. And by the way: it is pronounced "pingphoon" (like "typhoon"). -