From nobody Thu Oct 17 22:07:36 2024 X-Original-To: dev-commits-ports-main@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 4XV2544cMBz5ZXqk; Thu, 17 Oct 2024 22:07:36 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XV2543yv5z4t4Q; Thu, 17 Oct 2024 22:07:36 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729202856; 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=of+8LH5iHgqiIJEw/nkSw8CR6IDYs2dPXpriAiHf55E=; b=GoCGZJeC6y9LlO4QZZq89BsUkTeU2NqvsmSU8NFC78vhzTKaKLHQbrhbCWN7EZNw/vdRgf piBmYQ4rLPX6i70NTCm3QYCoRbOfKzlLnjO/vaTj42Qt2Fb/5HvUiYwexgE9YobSnoykQy dmyCxrhe//eY+SnUkObEY+cMNnARFy3rdWTOw0kdTHvt1Ep9d3fn2buvsRXQ8/EBIWy7jx 47z3l8qnJGbp/3THe7IDLjkka8W+se932xB9em3zHTFLfEo/h3LWwRMBwdvVwimvpzxpDe kTVhMzqQAwF7m0f/rofbzjN9Ueyve5/xAfshvpDatbsyKtbuPhnobtxVBflQlA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729202856; 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=of+8LH5iHgqiIJEw/nkSw8CR6IDYs2dPXpriAiHf55E=; b=LfMlhJMpSvIJW1O1lUUFKRzAaMtULrOnM1Apha6juyyXXbHXjBq2b7gN1s3/O34baPk//G HlS0W/mGdfAwATHlzgRtOr9hSRp89eM6ATjpV5CgvlApr0kZZWjqOlAt/xCFPLyBobLQ03 DA3ur4OTOHnO0U0OPgZyQ/wkrkiIqV+Q2UdqoFwnOQr+fxg5x4XPE3cA65YqCAHH7Lr69m 9VckyZne/STIxIro2XRL0SeJUeoawkcjYfjEhzpF+zPAP7jqcGrLTA8oBRzpt1NRfYrjZE z20pUT/H41+l0BuwNG9F/fS5V8dZ/ggoa62l5QV2D5eEiS4ni7FXBgsBgj1A5w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729202856; a=rsa-sha256; cv=none; b=otdFOA6QOjZ+edGd5xdBv4IOSP6ZuwimBqbree8Cgfl/jB4yindCtzoAVvOnKST8YiURzi RVeesr8TgSuP8eD6w3IrZQbJi0OsJVPFY7joqctoJ30nRYCDfCAjNHxWKeWDFXwHW/21Wv aYmVjKizCbXb2F+mVsF6HHW/v26he8973uwGP7YNRbfotcR7NgRC3Bc+tvuKrZyKt4dupV TRpkWLxmuYHTWOhxcW/CDc9sdihkDYRaxWng5VQLijqr5/nLp/GTKNTY5jkq3rC5+03r60 8iwfOneqew/4XqBjampxCAq3lfW78RSnY4cR5hdIxM92mt4apmpegut0R8OaOA== 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 4XV2543ZDDz16pj; Thu, 17 Oct 2024 22:07:36 +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 49HM7apl000440; Thu, 17 Oct 2024 22:07:36 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49HM7adW000437; Thu, 17 Oct 2024 22:07:36 GMT (envelope-from git) Date: Thu, 17 Oct 2024 22:07:36 GMT Message-Id: <202410172207.49HM7adW000437@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Rodrigo Osorio Subject: git: f641d910db00 - main - astro/wmsun: update to 1.06 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: rodrigo X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f641d910db00b2da0c8ea893b3884a1c839f3c10 Auto-Submitted: auto-generated The branch main has been updated by rodrigo: URL: https://cgit.FreeBSD.org/ports/commit/?id=f641d910db00b2da0c8ea893b3884a1c839f3c10 commit f641d910db00b2da0c8ea893b3884a1c839f3c10 Author: Rodrigo Osorio AuthorDate: 2024-10-17 22:00:17 +0000 Commit: Rodrigo Osorio CommitDate: 2024-10-17 22:04:57 +0000 astro/wmsun: update to 1.06 Changelog: https://repo.or.cz/dockapps.git/blob_plain/HEAD:/wmsun/ChangeLog Major changes: * Fix typo in manpage. * Move version number definition to Makefile * Add 'dist' target to Makefile to generate tarball Port changes: * reformat Makefile to make portfmt happy * update WWW (error 404) --- astro/wmsun/Makefile | 15 +++++++++------ astro/wmsun/distinfo | 6 +++--- astro/wmsun/files/patch-Makefile | 10 +++++----- astro/wmsun/files/patch-wmsun.c | 10 +++++----- 4 files changed, 22 insertions(+), 19 deletions(-) diff --git a/astro/wmsun/Makefile b/astro/wmsun/Makefile index 79548bc622ce..693bf4a1d3eb 100644 --- a/astro/wmsun/Makefile +++ b/astro/wmsun/Makefile @@ -1,12 +1,12 @@ PORTNAME= wmsun -DISTVERSION= 1.05 +DISTVERSION= 1.06 PORTEPOCH= 1 CATEGORIES= astro windowmaker MASTER_SITES= https://www.dockapps.net/download/ MAINTAINER= ports@FreeBSD.org COMMENT= Dockapp that displays the rise and set times of the Sun -WWW= https://www.dockapps.net/wmsun/ +WWW= https://www.dockapps.net/wmsun LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING @@ -16,13 +16,16 @@ LIB_DEPENDS= libdockapp.so:x11-wm/libdockapp USES= xorg USE_XORG= x11 xext xpm -MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" \ - INCDIR="-I${LOCALBASE}/include" LIBDIR="-L${LOCALBASE}/lib" +MAKE_ARGS= CC="${CC}" \ + CFLAGS="${CFLAGS}" \ + INCDIR="-I${LOCALBASE}/include" \ + LIBDIR="-L${LOCALBASE}/lib" MAKE_JOBS_UNSAFE= yes -WRKSRC= ${WRKDIR}/dockapps-a1e67bd +#WRKSRC= ${WRKDIR}/dockapps-a1e67bd -PLIST_FILES= bin/wmsun share/man/man1/wmsun.1.gz +PLIST_FILES= bin/wmsun \ + share/man/man1/wmsun.1.gz do-install: ${INSTALL_PROGRAM} ${WRKSRC}/wmsun ${STAGEDIR}${PREFIX}/bin diff --git a/astro/wmsun/distinfo b/astro/wmsun/distinfo index f4c99c1135db..05290db224ba 100644 --- a/astro/wmsun/distinfo +++ b/astro/wmsun/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1549747586 -SHA256 (wmsun-1.05.tar.gz) = 29c7d2da4c0731a20955af9ba01bde3901dc269bfa1020ff707927c62d5b83a0 -SIZE (wmsun-1.05.tar.gz) = 20640 +TIMESTAMP = 1729200043 +SHA256 (wmsun-1.06.tar.gz) = 32fccc7d2f7fa1c2a2fda6a9d24e6747f79789396e975d7ca20cb97742ce5a21 +SIZE (wmsun-1.06.tar.gz) = 20127 diff --git a/astro/wmsun/files/patch-Makefile b/astro/wmsun/files/patch-Makefile index 96f3b04f10ca..bc74d5d939b8 100644 --- a/astro/wmsun/files/patch-Makefile +++ b/astro/wmsun/files/patch-Makefile @@ -1,11 +1,11 @@ ---- Makefile.orig 2015-08-28 11:57:39 UTC +--- Makefile.orig 2024-10-17 21:56:44 UTC +++ Makefile -@@ -19,14 +19,14 @@ LIBS = -lXpm -lX11 -lXext -lm -ldockapp - OBJS = wmsun.o SunRise.o +@@ -21,14 +21,14 @@ .c.o: -- $(CC) $(CPPFLAGS) $(CFLAGS) -c $< -o $*.o -+ $(CC) $(CPPFLAGS) $(CFLAGS) -c $< -o $@ $(INCDIR) + $(CC) $(CPPFLAGS) -DWMSUN_VERSION=\"$(WMSUN_VERSION)\" $(CFLAGS) -c $< \ +- -o $*.o ++ -o $@ $(INCDIR) all: wmsun.o wmsun diff --git a/astro/wmsun/files/patch-wmsun.c b/astro/wmsun/files/patch-wmsun.c index 50e79ebe9595..5644a39c0f1b 100644 --- a/astro/wmsun/files/patch-wmsun.c +++ b/astro/wmsun/files/patch-wmsun.c @@ -1,20 +1,20 @@ ---- wmsun.c.orig 2015-08-28 11:57:39 UTC +--- wmsun.c.orig 2024-10-17 21:51:08 UTC +++ wmsun.c -@@ -43,7 +43,6 @@ +@@ -43,7 +43,7 @@ /* * Includes */ -#define _POSIX_C_SOURCE 1 ++#define _POSIX_C_SOURCE 200112L #include /* for ButtonPress, ButtonRelease, etc */ #include /* for XEvent, ConnectionNumber, etc */ #include /* for cos, sin */ -@@ -106,7 +105,8 @@ int main(int argc, char *argv[]) { +@@ -105,7 +105,7 @@ int n; int Year, Month; int DayOfMonth; - long CurrentLocalTime, CurrentGMTTime, date; -+ time_t CurrentLocalTime, CurrentGMTTime; -+ long date; ++ time_t CurrentLocalTime, CurrentGMTTime, date; double UT, val, LTRise, LTSet, LocalHour, hour24(); int H, M; struct timeval timeout;