diff options
author | riggs <riggs@FreeBSD.org> | 2018-01-21 23:19:42 +0800 |
---|---|---|
committer | riggs <riggs@FreeBSD.org> | 2018-01-21 23:19:42 +0800 |
commit | a8ae9de8ae5c799e082757304535f6b07eaea74a (patch) | |
tree | c0931c6d2954910d968029a8abff34a9f0934caa /astro/gpsd | |
parent | 82f276affed68130d9e591f465d3321aba98e1e7 (diff) | |
download | freebsd-ports-gnome-a8ae9de8ae5c799e082757304535f6b07eaea74a.tar.gz freebsd-ports-gnome-a8ae9de8ae5c799e082757304535f6b07eaea74a.tar.zst freebsd-ports-gnome-a8ae9de8ae5c799e082757304535f6b07eaea74a.zip |
Update to upstream version 3.17
Details:
- bin/ntpshmmon is dependent on PPS option (see sConstruct)
- remove patch that has been upstreamed
- explicitly reference python2.7 rather than python2 (per current ports
tree guidelines)
- use python flavors (Note: there is support for python3 in upstream.
Reserving that change for a future update (as yet untested) )
- plist changes to reflect upstream changes: lib version bumps, added man
page, removed a pkg-config file
- add X11 option for bin/xpgs*; update dependencies for 3.17 version of
xgps* (needs python gi module & gtk3)
PR: 225310
Submitted by: z7dr6ut7gs@snkmail.com
Diffstat (limited to 'astro/gpsd')
-rw-r--r-- | astro/gpsd/Makefile | 15 | ||||
-rw-r--r-- | astro/gpsd/distinfo | 6 | ||||
-rw-r--r-- | astro/gpsd/files/patch-SConstruct | 101 | ||||
-rw-r--r-- | astro/gpsd/pkg-plist | 20 |
4 files changed, 23 insertions, 119 deletions
diff --git a/astro/gpsd/Makefile b/astro/gpsd/Makefile index 7a4913e73577..b40216a42e72 100644 --- a/astro/gpsd/Makefile +++ b/astro/gpsd/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= gpsd -PORTVERSION= 3.16 +PORTVERSION= 3.17 CATEGORIES= astro geography MASTER_SITES= SAVANNAH @@ -12,14 +12,15 @@ COMMENT= Daemon that monitors one or more GPSes attached to a host computer LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING -USES= cpe pathfix pkgconfig python:2 scons shebangfix +USES= cpe pathfix pkgconfig python:2.7 scons shebangfix CPE_VENDOR= gpsd_project +USE_PYTHON= flavors USE_RC_SUBR= gpsd SHEBANG_FILES= *.py gps/*.py gegps xgps gpscat xgpsspeed gpsprof \ gpsfake MAKE_ARGS= prefix="${PREFIX}" mandir="man" pkgconfig="libdata/pkgconfig" \ - manbuild=no + manbuild=no target_python="${PYTHON_CMD}" MAKE_ENV= DESTDIR="${STAGEDIR}" PLIST_SUB= PYTHON_EGGINFO=gps-${PORTVERSION}.egg-info @@ -28,12 +29,12 @@ OPTIONS_DEFINE= AIVDM ASHTECH CPPBIND DBUS EARTHMATE EVERMORE FURY FV18 GARMIN \ NETFEED NMEA0183 NTP NTPSHM NTRIP OCEANSERVER ONCORE \ PASSTHROUGH PPS PROFILING RECONFIGURE RTCM104V2 RTCM104V3 \ SHMEXPORT SIRF SOCKEXPORT SUPERSTARII TIMING TNT TRIPMATE \ - TSIP QTBIND UBLOX USB + TSIP QTBIND UBLOX USB X11 OPTIONS_DEFAULT= AIVDM ASHTECH CPPBIND EARTHMATE EVERMORE FURY FV18 GARMIN \ GARMINTXT GEOSTAR GPSCLOCK ITRAX NAVCOM NCURSES NETFEED \ NMEA0183 NTP NTPSHM NTRIP OCEANSERVER ONCORE PASSTHROUGH \ RECONFIGURE RTCM104V2 RTCM104V3 SHMEXPORT SIRF SOCKEXPORT \ - SUPERSTARII TIMING TNT TRIPMATE TSIP UBLOX USB + SUPERSTARII TIMING TNT TRIPMATE TSIP UBLOX USB X11 OPTIONS_SUB= yes AIVDM_DESC= Aivdm support @@ -137,6 +138,10 @@ QTBIND_PLIST_SUB= QTBIND="" QTBIND_PLIST_SUB_OFF= QTBIND="@comment " RECONFIGURE_MAKE_ARGS_OFF= reconfigure=no CPPBIND_MAKE_ARGS_OFF= libgpsmm=no +X11_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cairo>=0:graphics/py-cairo@${FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}gobject3>=0:devel/py-gobject3@${FLAVOR} +#X11_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cairo>=0:graphics/py-cairo@${FLAVOR} +X11_USE= GNOME=gtk30 # Build control PROFILING_MAKE_ARGS= profiling=yes diff --git a/astro/gpsd/distinfo b/astro/gpsd/distinfo index a05485c9d5d1..26ce34fe6285 100644 --- a/astro/gpsd/distinfo +++ b/astro/gpsd/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1493742351 -SHA256 (gpsd-3.16.tar.gz) = 03579af13a4d3fe0c5b79fa44b5f75c9f3cac6749357f1d99ce5d38c09bc2029 -SIZE (gpsd-3.16.tar.gz) = 8587490 +TIMESTAMP = 1516146278 +SHA256 (gpsd-3.17.tar.gz) = 68e0dbecfb5831997f8b3d6ba48aed812eb465d8c0089420ab68f9ce4d85e77a +SIZE (gpsd-3.17.tar.gz) = 8755304 diff --git a/astro/gpsd/files/patch-SConstruct b/astro/gpsd/files/patch-SConstruct deleted file mode 100644 index 36d5f221c4a7..000000000000 --- a/astro/gpsd/files/patch-SConstruct +++ /dev/null @@ -1,101 +0,0 @@ -Remove LIBPATH='.' - see http://lists.nongnu.org/archive/html/gpsd-dev/2016-02/msg00042.html - ---- SConstruct.orig 2016-01-08 19:25:48 UTC -+++ SConstruct -@@ -985,37 +985,37 @@ gpsmon_sources = [ - ## Production programs - - gpsd = env.Program('gpsd', gpsd_sources, -- LIBS=['gpsd', 'gps_static'], LIBPATH='.', -+ LIBS=['gpsd', 'gps_static'], - parse_flags=gpsdflags+gpsflags) - gpsdecode = env.Program('gpsdecode', ['gpsdecode.c'], -- LIBS=['gpsd', 'gps_static'], LIBPATH='.', -+ LIBS=['gpsd', 'gps_static'], - parse_flags=gpsdflags+gpsflags) - gpsctl = env.Program('gpsctl', ['gpsctl.c'], -- LIBS=['gpsd', 'gps_static'], LIBPATH='.', -+ LIBS=['gpsd', 'gps_static'], - parse_flags=gpsdflags+gpsflags) - gpsmon = env.Program('gpsmon', gpsmon_sources, -- LIBS=['gpsd', 'gps_static'], LIBPATH='.', -+ LIBS=['gpsd', 'gps_static'], - parse_flags=gpsdflags + gpsflags + ncurseslibs) - gpsdctl = env.Program('gpsdctl', ['gpsdctl.c'], -- LIBS=['gps_static'], LIBPATH='.', -+ LIBS=['gps_static'], - parse_flags=gpsflags) - gpspipe = env.Program('gpspipe', ['gpspipe.c'], -- LIBS=['gps_static'], LIBPATH='.', -+ LIBS=['gps_static'], - parse_flags=gpsflags) - gps2udp = env.Program('gps2udp', ['gps2udp.c'], -- LIBS=['gps_static'], LIBPATH='.', -+ LIBS=['gps_static'], - parse_flags=gpsflags) - gpxlogger = env.Program('gpxlogger', ['gpxlogger.c'], -- LIBS=['gps_static'], LIBPATH='.', -+ LIBS=['gps_static'], - parse_flags=gpsflags) - lcdgps = env.Program('lcdgps', ['lcdgps.c'], -- LIBS=['gps_static'], LIBPATH='.', -+ LIBS=['gps_static'], - parse_flags=gpsflags) - cgps = env.Program('cgps', ['cgps.c'], -- LIBS=['gps_static'], LIBPATH='.', -+ LIBS=['gps_static'], - parse_flags=gpsflags + ncurseslibs) - ntpshmmon = env.Program('ntpshmmon', ['ntpshmmon.c'], -- LIBS=['gps_static'], LIBPATH='.', -+ LIBS=['gps_static'], - parse_flags=gpsflags) - - binaries = [gpsd, gpsdecode, gpsctl, gpsdctl, gpspipe, gps2udp, gpxlogger, lcdgps, ntpshmmon] -@@ -1024,26 +1024,26 @@ if env["ncurses"]: - - # Test programs - always link locally and statically - test_bits = env.Program('test_bits', ['test_bits.c'], -- LIBS=['gps_static'], LIBPATH='.') -+ LIBS=['gps_static']) - test_float = env.Program('test_float', ['test_float.c']) - test_geoid = env.Program('test_geoid', ['test_geoid.c'], - LIBS=['gpsd', 'gps_static'], -- LIBPATH='.', parse_flags=gpsdflags) -+ parse_flags=gpsdflags) - test_matrix = env.Program('test_matrix', ['test_matrix.c'], - LIBS=['gpsd', 'gps_static'], -- LIBPATH='.', parse_flags=gpsdflags) -+ parse_flags=gpsdflags) - test_mktime = env.Program('test_mktime', ['test_mktime.c'], -- LIBS=['gps_static'], LIBPATH='.', parse_flags=["-lm"]) -+ LIBS=['gps_static'], parse_flags=["-lm"]) - test_packet = env.Program('test_packet', ['test_packet.c'], - LIBS=['gpsd', 'gps_static'], -- LIBPATH='.', parse_flags=gpsdflags) -+ parse_flags=gpsdflags) - test_timespec = env.Program('test_timespec', ['test_timespec.c'], - LIBS=['gpsd', 'gps_static'], -- LIBPATH='.', parse_flags=gpsdflags) -+ parse_flags=gpsdflags) - test_trig = env.Program('test_trig', ['test_trig.c'], parse_flags=["-lm"]) - # test_libgps for glibc older than 2.17 - test_libgps = env.Program('test_libgps', ['test_libgps.c'], -- LIBS=['gps_static'], LIBPATH='.', parse_flags=["-lm"] + rtlibs + dbusflags) -+ LIBS=['gps_static'], parse_flags=["-lm"] + rtlibs + dbusflags) - - if not env['socket_export']: - announce("test_json not building because socket_export is disabled") -@@ -1051,11 +1051,11 @@ if not env['socket_export']: - else: - test_json = env.Program( - 'test_json', ['test_json.c'], -- LIBS=['gps_static'], LIBPATH='.', -+ LIBS=['gps_static'], - parse_flags=["-lm"] + rtlibs + usbflags + dbusflags) - - test_gpsmm = env.Program('test_gpsmm', ['test_gpsmm.cpp'], -- LIBS=['gps_static'], LIBPATH='.', parse_flags=["-lm"]) -+ LIBS=['gps_static'], parse_flags=["-lm"]) - testprogs = [test_bits, test_float, test_geoid, test_libgps, test_matrix, test_mktime, test_packet, test_timespec, test_trig] - if env['socket_export']: - testprogs.append(test_json) diff --git a/astro/gpsd/pkg-plist b/astro/gpsd/pkg-plist index af0372997383..7ae4ef93f79f 100644 --- a/astro/gpsd/pkg-plist +++ b/astro/gpsd/pkg-plist @@ -10,18 +10,18 @@ bin/gpspipe bin/gpsprof bin/gpxlogger bin/lcdgps -bin/ntpshmmon -bin/xgps -bin/xgpsspeed +%%PPS%%bin/ntpshmmon +%%X11%%bin/xgps +%%X11%%bin/xgpsspeed include/gps.h include/libgpsmm.h %%QTBIND%%lib/libQgpsmm.prl %%QTBIND%%lib/libQgpsmm.so -%%QTBIND%%lib/libQgpsmm.so.22 -%%QTBIND%%lib/libQgpsmm.so.22.0.0 +%%QTBIND%%lib/libQgpsmm.so.23 +%%QTBIND%%lib/libQgpsmm.so.23.0.0 lib/libgps.so -lib/libgps.so.22 -lib/libgps.so.22.0.0 +lib/libgps.so.23 +lib/libgps.so.23.0.0 man/man1/cgps.1.gz man/man1/gegps.1.gz man/man1/gps.1.gz @@ -33,10 +33,11 @@ man/man1/gpsfake.1.gz man/man1/gpsmon.1.gz man/man1/gpspipe.1.gz man/man1/gpsprof.1.gz +man/man1/gpxlogger.1.gz man/man1/lcdgps.1.gz man/man1/ntpshmmon.1.gz -man/man1/xgps.1.gz -man/man1/xgpsspeed.1.gz +%%X11%%man/man1/xgps.1.gz +%%X11%%man/man1/xgpsspeed.1.gz man/man3/libQgpsmm.3.gz man/man3/libgps.3.gz man/man3/libgpsmm.3.gz @@ -65,6 +66,5 @@ man/man8/gpsinit.8.gz %%PYTHON_SITELIBDIR%%/gps/packet.so %%QTBIND%%libdata/pkgconfig/Qgpsmm.pc libdata/pkgconfig/libgps.pc -libdata/pkgconfig/libgpsd.pc sbin/gpsd sbin/gpsdctl |