pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/time/xtide



Module Name:    pkgsrc
Committed By:   plunky
Date:           Fri Jan 10 17:05:40 UTC 2020

Modified Files:
        pkgsrc/time/xtide: Makefile PLIST distinfo
Added Files:
        pkgsrc/time/xtide/patches: patch-configure
Removed Files:
        pkgsrc/time/xtide/patches: patch-aa patch-ab patch-ac patch-ad patch-ae

Log Message:
update XTide to 2.15.2

Changes are many, it has been 13 years of development. See

  https://flaterco.com/xtide/changelog.html

for more information


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/time/xtide/Makefile
cvs rdiff -u -r1.1.1.1 -r1.2 pkgsrc/time/xtide/PLIST
cvs rdiff -u -r1.4 -r1.5 pkgsrc/time/xtide/distinfo
cvs rdiff -u -r1.1.1.1 -r0 pkgsrc/time/xtide/patches/patch-aa \
    pkgsrc/time/xtide/patches/patch-ab pkgsrc/time/xtide/patches/patch-ad
cvs rdiff -u -r1.2 -r0 pkgsrc/time/xtide/patches/patch-ac
cvs rdiff -u -r1.1 -r0 pkgsrc/time/xtide/patches/patch-ae
cvs rdiff -u -r0 -r1.1 pkgsrc/time/xtide/patches/patch-configure

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/time/xtide/Makefile
diff -u pkgsrc/time/xtide/Makefile:1.8 pkgsrc/time/xtide/Makefile:1.9
--- pkgsrc/time/xtide/Makefile:1.8      Sat Nov  2 16:28:42 2019
+++ pkgsrc/time/xtide/Makefile  Fri Jan 10 17:05:40 2020
@@ -1,48 +1,52 @@
-# $NetBSD: Makefile,v 1.8 2019/11/02 16:28:42 rillig Exp $
+# $NetBSD: Makefile,v 1.9 2020/01/10 17:05:40 plunky Exp $
 
-DISTNAME=      xtide-2.8.3
-PKGREVISION=   5
-CATEGORIES=    misc x11
-MASTER_SITES=  ftp://ftp.flaterco.com/xtide/
-DISTFILES=     ${DISTNAME}.tar.bz2 ${HARMONICS_FILE}.bz2
+DISTNAME=      xtide-2.15.2
+CATEGORIES=    time misc x11
+MASTER_SITES=  https://flaterco.com/files/xtide/
+DISTFILES=     ${DISTNAME}.tar.bz2 ${HARMONICS_FILE}.bz2 wvs.tar.bz2
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      http://www.flaterco.com/
+HOMEPAGE=      http://flaterco.com/
 COMMENT=       X11 tide predictor
+LICENSE=       gnu-gpl-v3
 
 GNU_CONFIGURE= yes
-USE_LANGUAGES= c c++03
+USE_LANGUAGES= c c++
+USE_LIBTOOL=   yes
 
 PREV_PKGPATH=  misc/xtide
 
 HARMONICS_FILE=        harmonics-dwf-20060708.tcd
 
-CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFDIR:Q} X11BASE=${X11BASE:Q}
-EGDIR=                 ${PREFIX}/share/examples/xtide
-CONF_FILES=            ${EGDIR}/xtide.conf ${PKG_SYSCONFDIR}/xtide.conf
+EGDIR=         ${PREFIX}/share/examples/xtide
+CONF_FILES=    ${EGDIR}/xtide.conf ${PKG_SYSCONFDIR}/xtide.conf
 
 LDFLAGS.SunOS+=        -lsocket -lnsl
 
-SUBST_CLASSES+=        xt
-SUBST_STAGE.xt=        pre-configure
-SUBST_FILES.xt=        DOCUMENTATION/*
-SUBST_SED.xt=  -e 's|/usr/local|${PREFIX}|g'
-
-PLIST_SUBST+=  HARMONICS_FILE=${HARMONICS_FILE:Q}
-
-INSTALLATION_DIRS=     share/xtide ${EGDIR}
-INSTALL_MAKE_FLAGS+=   prefix=${DESTDIR}${PREFIX} \
-                       mandir=${DESTDIR}${PREFIX}/${PKGMANDIR}
+SUBST_CLASSES+=                paths
+SUBST_STAGE.paths=     pre-configure
+SUBST_FILES.paths=     libxtide/Global.cc tide.1 xtide.1 xttpd.8
+SUBST_SED.paths=       -e 's,/etc/xtide.conf,${PKG_SYSCONFDIR}/xtide.conf,'
+SUBST_SED.paths+=      -e 's,/usr/local,${PREFIX},'
+
+INSTALLATION_DIRS=     share/xtide share/xtide/wvs ${EGDIR}
+
+PLIST_SUBST+=          HARMONICS_FILE=${HARMONICS_FILE:Q}
+
+DEPENDS+=      font-schumacher-misc>=1.1.2:../../fonts/font-schumacher-misc
 
 post-extract:
        ${ECHO} "${PREFIX}/share/xtide/${HARMONICS_FILE}" > ${WRKDIR}/xtide.conf
+       ${ECHO} "${PREFIX}/share/xtide/wvs" >> ${WRKDIR}/xtide.conf
 
 post-install:
        ${INSTALL_DATA} ${WRKDIR}/xtide.conf ${DESTDIR}${EGDIR}/xtide.conf
        ${INSTALL_DATA} ${WRKDIR}/${HARMONICS_FILE} ${DESTDIR}${PREFIX}/share/xtide
+       ${INSTALL_DATA} ${WRKDIR}/wvs*.dat ${DESTDIR}${PREFIX}/share/xtide/wvs
 
+.include "../../databases/libtcd/buildlink3.mk"
 .include "../../graphics/png/buildlink3.mk"
 .include "../../x11/libXaw/buildlink3.mk"
-.include "../../x11/libXi/buildlink3.mk"
+.include "../../x11/libXaw3d/buildlink3.mk"
 .include "../../x11/libXpm/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/time/xtide/PLIST
diff -u pkgsrc/time/xtide/PLIST:1.1.1.1 pkgsrc/time/xtide/PLIST:1.2
--- pkgsrc/time/xtide/PLIST:1.1.1.1     Sun Mar 14 16:39:24 2010
+++ pkgsrc/time/xtide/PLIST     Fri Jan 10 17:05:40 2020
@@ -1,9 +1,70 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2010/03/14 16:39:24 wiz Exp $
+@comment $NetBSD: PLIST,v 1.2 2020/01/10 17:05:40 plunky Exp $
 bin/tide
 bin/xtide
+include/libxtide/Amplitude.hh
+include/libxtide/Angle.hh
+include/libxtide/Banner.hh
+include/libxtide/BetterMap.hh
+include/libxtide/Calendar.hh
+include/libxtide/CalendarFormC.hh
+include/libxtide/CalendarFormH.hh
+include/libxtide/CalendarFormL.hh
+include/libxtide/CalendarFormNotC.hh
+include/libxtide/CalendarFormT.hh
+include/libxtide/ClientSideFont.hh
+include/libxtide/Colors.hh
+include/libxtide/Configurable.hh
+include/libxtide/Constituent.hh
+include/libxtide/ConstituentSet.hh
+include/libxtide/Coordinates.hh
+include/libxtide/CurrentBearing.hh
+include/libxtide/Date.hh
+include/libxtide/Dstr.hh
+include/libxtide/Errors.hh
+include/libxtide/Global.hh
+include/libxtide/Graph.hh
+include/libxtide/HarmonicsFile.hh
+include/libxtide/HarmonicsPath.hh
+include/libxtide/Interval.hh
+include/libxtide/MetaField.hh
+include/libxtide/ModeFormat.hh
+include/libxtide/Nullable.hh
+include/libxtide/NullableInterval.hh
+include/libxtide/NullablePredictionValue.hh
+include/libxtide/Offsets.hh
+include/libxtide/PixelatedGraph.hh
+include/libxtide/PredictionValue.hh
+include/libxtide/RGBGraph.hh
+include/libxtide/SVGGraph.hh
+include/libxtide/SafeVector.hh
+include/libxtide/Settings.hh
+include/libxtide/Skycal.hh
+include/libxtide/Speed.hh
+include/libxtide/Station.hh
+include/libxtide/StationIndex.hh
+include/libxtide/StationRef.hh
+include/libxtide/SubordinateStation.hh
+include/libxtide/TTYGraph.hh
+include/libxtide/TideEvent.hh
+include/libxtide/TideEventsOrganizer.hh
+include/libxtide/Timestamp.hh
+include/libxtide/Units.hh
+include/libxtide/Year.hh
+include/libxtide/autoconf-defines.h
+include/libxtide/config.hh
+include/libxtide/libxtide.hh
+include/libxtide/rgb.hh
+include/libxtide/xmlparser.hh
+lib/libxtide.la
 man/man1/tide.1
 man/man1/xtide.1
 man/man8/xttpd.8
 sbin/xttpd
 share/examples/xtide/xtide.conf
 share/xtide/${HARMONICS_FILE}
+share/xtide/wvs/wvs1.dat
+share/xtide/wvs/wvs12.dat
+share/xtide/wvs/wvs250k.dat
+share/xtide/wvs/wvs3.dat
+share/xtide/wvs/wvs43.dat
+share/xtide/wvs/wvsfull.dat

Index: pkgsrc/time/xtide/distinfo
diff -u pkgsrc/time/xtide/distinfo:1.4 pkgsrc/time/xtide/distinfo:1.5
--- pkgsrc/time/xtide/distinfo:1.4      Mon Nov  2 23:31:47 2015
+++ pkgsrc/time/xtide/distinfo  Fri Jan 10 17:05:40 2020
@@ -1,15 +1,15 @@
-$NetBSD: distinfo,v 1.4 2015/11/02 23:31:47 agc Exp $
+$NetBSD: distinfo,v 1.5 2020/01/10 17:05:40 plunky Exp $
 
 SHA1 (harmonics-dwf-20060708.tcd.bz2) = 1f54ed856b064e485f7e386eb4a71965e83abfa4
 RMD160 (harmonics-dwf-20060708.tcd.bz2) = 754255ac5f2e36cf2dce587e7f9f7bd0561226d9
 SHA512 (harmonics-dwf-20060708.tcd.bz2) = 38988e5db30d734c6e937077a473a69eb1ef34ab9c5d493f4818f197734104223bdc0f069bd5a919d15c4d2685effc62aa85a439ae1803d7fa502a1a95d07fe5
 Size (harmonics-dwf-20060708.tcd.bz2) = 477682 bytes
-SHA1 (xtide-2.8.3.tar.bz2) = 0abfdf8a695facfeb239af0018e7b3c392592cb4
-RMD160 (xtide-2.8.3.tar.bz2) = 926d116d6d36b3e4ff5e4630e0df394a4f9a0a8b
-SHA512 (xtide-2.8.3.tar.bz2) = d1138890663756c0373f512e580fd09dc874ede96b17c32c1d08236b8ea16cf965e7a8fe7c4c1283c9e2db8e8127d4630a18790be7b1d13c63424a5fdf115e96
-Size (xtide-2.8.3.tar.bz2) = 463382 bytes
-SHA1 (patch-aa) = 8b9059e2870f6b8149e72ca33c452e75650f8230
-SHA1 (patch-ab) = 889c68bce0bd78cfc1b5f7410364e8c39182cfec
-SHA1 (patch-ac) = 5ba4062c3b0d2c05e3d758281bf6099a476d127a
-SHA1 (patch-ad) = cf18fb73096b3cef07fbf501fa1205fe126d1155
-SHA1 (patch-ae) = d93d25768341ac52a7379e4d4043c8f799072329
+SHA1 (wvs.tar.bz2) = 25149a2f8fbbd67e488c2ec3445443819b227925
+RMD160 (wvs.tar.bz2) = 0e83b847efc635f18bd96cc5a29149d5af41dc4d
+SHA512 (wvs.tar.bz2) = 780710449946a9a4118d7bcce4a9a62d253801744ec8d911f50b1e4a1530d1bb994fd92364fcd8fd9592d33053606e18c7b3d17acc22336d8f32bca887a88850
+Size (wvs.tar.bz2) = 37461520 bytes
+SHA1 (xtide-2.15.2.tar.bz2) = 0684d72df6e463822ac36016e248eaea07228340
+RMD160 (xtide-2.15.2.tar.bz2) = 70ce6fb263dcde492ccdf4d7541cf63c13a415cb
+SHA512 (xtide-2.15.2.tar.bz2) = adfcaeb0f87defb5918d80651b90de47f5afd5cf651fcf12fc1d02d970e8ac3fec613445b91464e72806037cfa9e576b880c8d361d3062f1bc3bc2df58da1ba6
+Size (xtide-2.15.2.tar.bz2) = 727048 bytes
+SHA1 (patch-configure) = 5b1ff8e08066e376da1817ad8d7a2358beb2a8a1

Added files:

Index: pkgsrc/time/xtide/patches/patch-configure
diff -u /dev/null pkgsrc/time/xtide/patches/patch-configure:1.1
--- /dev/null   Fri Jan 10 17:05:41 2020
+++ pkgsrc/time/xtide/patches/patch-configure   Fri Jan 10 17:05:40 2020
@@ -0,0 +1,78 @@
+$NetBSD: patch-configure,v 1.1 2020/01/10 17:05:40 plunky Exp $
+
+ensure test statement is portable
+
+--- configure.orig     2019-02-24 20:18:33.000000000 +0000
++++ configure
+@@ -16825,7 +16825,7 @@ fi
+ # Check whether --enable-time-workaround was given.
+ if test "${enable_time_workaround+set}" = set; then :
+   enableval=$enable_time_workaround;
+-    if test "$enable_time_workaround" == yes; then :
++    if test "$enable_time_workaround" = yes; then :
+ 
+        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Y2038 workaround is enabled; time zones are disabled." >&5
+ $as_echo "$as_me: WARNING: Y2038 workaround is enabled; time zones are disabled." >&2;}
+@@ -16840,7 +16840,7 @@ fi
+ # Check whether --enable-systemd was given.
+ if test "${enable_systemd+set}" = set; then :
+   enableval=$enable_systemd;
+-    if test "$enable_systemd" == yes; then :
++    if test "$enable_systemd" = yes; then :
+ 
+        { $as_echo "$as_me:${as_lineno-$LINENO}: Configuring xttpd for systemd." >&5
+ $as_echo "$as_me: Configuring xttpd for systemd." >&6;}
+@@ -16857,7 +16857,7 @@ fi
+ # Check whether --enable-gnu-attributes was given.
+ if test "${enable_gnu_attributes+set}" = set; then :
+   enableval=$enable_gnu_attributes;
+-    if test "$enable_gnu_attributes" == yes; then :
++    if test "$enable_gnu_attributes" = yes; then :
+ 
+        { $as_echo "$as_me:${as_lineno-$LINENO}: GNU attributes are enabled." >&5
+ $as_echo "$as_me: GNU attributes are enabled." >&6;}
+@@ -16872,7 +16872,7 @@ fi
+ # Check whether --enable-semicolon-pathsep was given.
+ if test "${enable_semicolon_pathsep+set}" = set; then :
+   enableval=$enable_semicolon_pathsep;
+-    if test "$enable_semicolon_pathsep" == yes; then :
++    if test "$enable_semicolon_pathsep" = yes; then :
+ 
+        { $as_echo "$as_me:${as_lineno-$LINENO}: Using semicolon as HFILE_PATH separator." >&5
+ $as_echo "$as_me: Using semicolon as HFILE_PATH separator." >&6;}
+@@ -16887,7 +16887,7 @@ fi
+ # Check whether --enable-local-files was given.
+ if test "${enable_local_files+set}" = set; then :
+   enableval=$enable_local_files;
+-    if test "$enable_local_files" == yes; then :
++    if test "$enable_local_files" = yes; then :
+ 
+        { $as_echo "$as_me:${as_lineno-$LINENO}: Using local files." >&5
+ $as_echo "$as_me: Using local files." >&6;}
+@@ -16902,7 +16902,7 @@ fi
+ # Check whether --enable-3d was given.
+ if test "${enable_3d+set}" = set; then :
+   enableval=$enable_3d;
+-    if test "$enable_3d" == no; then :
++    if test "$enable_3d" = no; then :
+ 
+        { $as_echo "$as_me:${as_lineno-$LINENO}: Forcing plain Athena Widgets." >&5
+ $as_echo "$as_me: Forcing plain Athena Widgets." >&6;}
+@@ -16915,7 +16915,7 @@ fi
+ # Check whether --enable-moon-age was given.
+ if test "${enable_moon_age+set}" = set; then :
+   enableval=$enable_moon_age;
+-    if test "$enable_moon_age" == yes; then :
++    if test "$enable_moon_age" = yes; then :
+ 
+        { $as_echo "$as_me:${as_lineno-$LINENO}: Enabling experimental moon age code." >&5
+ $as_echo "$as_me: Enabling experimental moon age code." >&6;}
+@@ -16930,7 +16930,7 @@ fi
+ # Check whether --enable-lm_hard was given.
+ if test "${enable_lm_hard+set}" = set; then :
+   enableval=$enable_lm_hard;
+-    if test "$enable_lm_hard" == yes; then :
++    if test "$enable_lm_hard" = yes; then :
+ 
+        { $as_echo "$as_me:${as_lineno-$LINENO}: Linking with libm_hard instead of libm." >&5
+ $as_echo "$as_me: Linking with libm_hard instead of libm." >&6;}



Home | Main Index | Thread Index | Old Index