mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
astro/gpsd: update to 3.23.1
PR: 258109 Approved by: z7dr6ut7gs@snkmail.com (maintainer timeout, >2 months)
This commit is contained in:
parent
0ca7866c61
commit
c77cd8547d
5 changed files with 125 additions and 115 deletions
|
@ -1,8 +1,7 @@
|
||||||
# Created by: Anton Karpov <toxa@toxahost.ru>
|
# Created by: Anton Karpov <toxa@toxahost.ru>
|
||||||
|
|
||||||
PORTNAME= gpsd
|
PORTNAME= gpsd
|
||||||
PORTVERSION= 3.20
|
PORTVERSION= 3.23.1
|
||||||
PORTREVISION= 2
|
|
||||||
CATEGORIES= astro geography
|
CATEGORIES= astro geography
|
||||||
MASTER_SITES= SAVANNAH
|
MASTER_SITES= SAVANNAH
|
||||||
|
|
||||||
|
@ -12,29 +11,32 @@ COMMENT= Daemon that monitors one or more GPSes attached to a host computer
|
||||||
LICENSE= BSD3CLAUSE
|
LICENSE= BSD3CLAUSE
|
||||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||||
|
|
||||||
USES= cpe pathfix pkgconfig python:3.6+ scons shebangfix
|
USES= cpe pathfix pkgconfig python:3.6+ scons
|
||||||
CPE_VENDOR= gpsd_project
|
CPE_VENDOR= gpsd_project
|
||||||
USE_LDCONFIG= yes
|
USE_LDCONFIG= yes
|
||||||
USE_RC_SUBR= gpsd
|
USE_RC_SUBR= gpsd
|
||||||
SHEBANG_FILES= *.py gps/*.py gegps xgps gpscat xgpsspeed gpsprof \
|
|
||||||
gpsfake ubxtool zerk
|
|
||||||
|
|
||||||
MAKE_ARGS= prefix="${PREFIX}" mandir="man" pkgconfig="libdata/pkgconfig" \
|
MAKE_ARGS= manbuild=no \
|
||||||
manbuild=no target_python="${PYTHON_CMD}" qt=no
|
mandir="man" \
|
||||||
|
pkgconfig="libdata/pkgconfig" \
|
||||||
|
prefix="${PREFIX}" \
|
||||||
|
qt=no \
|
||||||
|
target_python="${PYTHON_CMD}"
|
||||||
MAKE_ENV= DESTDIR="${STAGEDIR}"
|
MAKE_ENV= DESTDIR="${STAGEDIR}"
|
||||||
PLIST_SUB= PYTHON_EGGINFO=gps-${PORTVERSION}.egg-info
|
PLIST_SUB= PYTHON_EGGINFO=gps-${PORTVERSION}.egg-info
|
||||||
|
|
||||||
OPTIONS_DEFINE= AIVDM ASHTECH CPPBIND DBUS EARTHMATE EVERMORE FURY FV18 GARMIN \
|
OPTIONS_DEFINE= AIVDM ASHTECH CPPBIND DBUS EARTHMATE EVERMORE FURY FV18 \
|
||||||
GARMINTXT GEOSTAR GPSCLOCK IPV6 ITRAX MTK NAVCOM NCURSES \
|
GARMIN GARMINTXT GEOSTAR GPSCLOCK IPV6 ITRAX MTK NAVCOM \
|
||||||
NETFEED NMEA0183 NTP NTPSHM NTRIP OCEANSERVER ONCORE \
|
NCURSES NETFEED NMEA0183 NTP NTPSHM NTRIP OCEANSERVER \
|
||||||
PASSTHROUGH PPS PROFILING RECONFIGURE RTCM104V2 RTCM104V3 \
|
ONCORE PASSTHROUGH PPS PROFILING PYSERIAL RECONFIGURE \
|
||||||
SHMEXPORT SIRF SOCKEXPORT SUPERSTARII TIMING TNT TRIPMATE \
|
RTCM104V2 RTCM104V3 SHMEXPORT SIRF SOCKEXPORT \
|
||||||
TSIP 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 X11
|
SUPERSTARII TIMING TNT TRIPMATE TSIP 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 PYSERIAL RECONFIGURE RTCM104V2 RTCM104V3 \
|
||||||
|
SHMEXPORT SIRF SOCKEXPORT SUPERSTARII TIMING TNT \
|
||||||
|
TRIPMATE TSIP UBLOX USB X11
|
||||||
OPTIONS_SUB= yes
|
OPTIONS_SUB= yes
|
||||||
|
|
||||||
AIVDM_DESC= Aivdm support
|
AIVDM_DESC= Aivdm support
|
||||||
|
@ -62,6 +64,7 @@ ONCORE_DESC= Motorola OnCore chipset support
|
||||||
PASSTHROUGH_DESC= Build support for passing through JSON
|
PASSTHROUGH_DESC= Build support for passing through JSON
|
||||||
PPS_DESC= PPS time syncing support
|
PPS_DESC= PPS time syncing support
|
||||||
PROFILING_DESC= Profiling support
|
PROFILING_DESC= Profiling support
|
||||||
|
PYSERIAL_DESC= Python serial port support
|
||||||
RECONFIGURE_DESC= Allow gpsd to change device settings
|
RECONFIGURE_DESC= Allow gpsd to change device settings
|
||||||
RTCM104V2_DESC= rtcm104v2 support
|
RTCM104V2_DESC= rtcm104v2 support
|
||||||
RTCM104V3_DESC= rtcm104v3 support
|
RTCM104V3_DESC= rtcm104v3 support
|
||||||
|
@ -132,9 +135,12 @@ NCURSES_MAKE_ARGS_OFF= ncurses=no
|
||||||
NCURSES_USES= ncurses
|
NCURSES_USES= ncurses
|
||||||
RECONFIGURE_MAKE_ARGS_OFF= reconfigure=no
|
RECONFIGURE_MAKE_ARGS_OFF= reconfigure=no
|
||||||
CPPBIND_MAKE_ARGS_OFF= libgpsmm=no
|
CPPBIND_MAKE_ARGS_OFF= libgpsmm=no
|
||||||
|
PYSERIAL_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyserial>=0:comms/py-pyserial@${PY_FLAVOR}
|
||||||
|
PYSERIAL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyserial>=0:comms/py-pyserial@${PY_FLAVOR}
|
||||||
|
X11_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cairo>=0:graphics/py-cairo@${PY_FLAVOR} \
|
||||||
|
${PYTHON_PKGNAMEPREFIX}gobject3>=0:devel/py-gobject3@${PY_FLAVOR}
|
||||||
X11_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cairo>=0:graphics/py-cairo@${PY_FLAVOR} \
|
X11_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cairo>=0:graphics/py-cairo@${PY_FLAVOR} \
|
||||||
${PYTHON_PKGNAMEPREFIX}gobject3>=0:devel/py-gobject3@${PY_FLAVOR} \
|
${PYTHON_PKGNAMEPREFIX}gobject3>=0:devel/py-gobject3@${PY_FLAVOR}
|
||||||
${PYTHON_PKGNAMEPREFIX}pyserial>=0:comms/py-pyserial@${PY_FLAVOR}
|
|
||||||
X11_USES= gnome
|
X11_USES= gnome
|
||||||
X11_USE= GNOME=gtk30
|
X11_USE= GNOME=gtk30
|
||||||
X11_MAKE_ARGS_OFF= xgps=no
|
X11_MAKE_ARGS_OFF= xgps=no
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
TIMESTAMP = 1581144632
|
TIMESTAMP = 1640093689
|
||||||
SHA256 (gpsd-3.20.tar.gz) = 172a7805068eacb815a3c5225436fcb0be46e7e49a5001a94034eac43df85e50
|
SHA256 (gpsd-3.23.1.tar.gz) = 0b991ce9a46538c4ea450f7a8ee428ff44fb4f8d665fddf2ffe40fe0ae9a6c09
|
||||||
SIZE (gpsd-3.20.tar.gz) = 3600835
|
SIZE (gpsd-3.23.1.tar.gz) = 4904121
|
||||||
|
|
38
astro/gpsd/files/patch-SConscript
Normal file
38
astro/gpsd/files/patch-SConscript
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
--- SConscript.orig 2021-09-21 21:53:44 UTC
|
||||||
|
+++ SConscript
|
||||||
|
@@ -20,7 +20,7 @@ import re
|
||||||
|
import subprocess
|
||||||
|
import sys
|
||||||
|
import time
|
||||||
|
-from distutils import sysconfig
|
||||||
|
+import sysconfig
|
||||||
|
import SCons
|
||||||
|
|
||||||
|
# scons does not like targets that come and go (if cleaning, if python,
|
||||||
|
@@ -243,7 +243,7 @@ website = "https://gpsd.io/"
|
||||||
|
# Hosting information ends here
|
||||||
|
|
||||||
|
|
||||||
|
-PYTHON_SYSCONFIG_IMPORT = 'from distutils import sysconfig'
|
||||||
|
+PYTHON_SYSCONFIG_IMPORT = 'import sysconfig'
|
||||||
|
|
||||||
|
# Utility productions
|
||||||
|
|
||||||
|
@@ -1419,7 +1419,7 @@ if not cleaning and not helping:
|
||||||
|
|
||||||
|
# Set up configuration for target Python
|
||||||
|
|
||||||
|
-PYTHON_LIBDIR_CALL = 'sysconfig.get_python_lib()'
|
||||||
|
+PYTHON_LIBDIR_CALL = 'sysconfig.get_paths()["purelib"]'
|
||||||
|
|
||||||
|
PYTHON_CONFIG_NAMES = ['SO'] # Now a fairly degenerate list
|
||||||
|
PYTHON_CONFIG_QUOTED = ["'%s'" % s for s in PYTHON_CONFIG_NAMES]
|
||||||
|
@@ -1520,7 +1520,7 @@ if not cleaning and not helping and config.env['python
|
||||||
|
'import sys',
|
||||||
|
'"%d.%d" % sys.version_info[0:2]')
|
||||||
|
|
||||||
|
- if 3 > int(sysver[0]) or 6 > int(sysver[2]):
|
||||||
|
+ if 3 > int(sysver[0]) or 6 > int(sysver[2:]):
|
||||||
|
config.env['aiogps'] = False
|
||||||
|
announce("WARNING: Python%s too old (need 3.6): "
|
||||||
|
"gps/aiogps.py will not be installed" %
|
|
@ -1,56 +0,0 @@
|
||||||
--- SConstruct.orig 2020-02-08 06:51:40 UTC
|
|
||||||
+++ SConstruct
|
|
||||||
@@ -1267,32 +1267,32 @@ else:
|
|
||||||
config.env['aiogps'] = True
|
|
||||||
|
|
||||||
# check for pyserial
|
|
||||||
- try:
|
|
||||||
- imp.find_module('serial')
|
|
||||||
- announce("Python module serial (pyserial) found.")
|
|
||||||
- except ImportError:
|
|
||||||
- # no pycairo, don't build xgps, xgpsspeed
|
|
||||||
- announce("WARNING: Python module serial (pyserial) not found.")
|
|
||||||
- config.env['xgps'] = False
|
|
||||||
+ #try:
|
|
||||||
+ # imp.find_module('serial')
|
|
||||||
+ # announce("Python module serial (pyserial) found.")
|
|
||||||
+ #except ImportError:
|
|
||||||
+ # # no pycairo, don't build xgps, xgpsspeed
|
|
||||||
+ # announce("WARNING: Python module serial (pyserial) not found.")
|
|
||||||
+ # config.env['xgps'] = False
|
|
||||||
|
|
||||||
if config.env['xgps']:
|
|
||||||
# check for pycairo
|
|
||||||
- try:
|
|
||||||
- imp.find_module('cairo')
|
|
||||||
- announce("Python module cairo (pycairo) found.")
|
|
||||||
- except ImportError:
|
|
||||||
- # no pycairo, don't build xgps, xgpsspeed
|
|
||||||
- announce("WARNING: Python module cairo (pycairo) not found.")
|
|
||||||
- config.env['xgps'] = False
|
|
||||||
+ #try:
|
|
||||||
+ # imp.find_module('cairo')
|
|
||||||
+ # announce("Python module cairo (pycairo) found.")
|
|
||||||
+ #except ImportError:
|
|
||||||
+ # # no pycairo, don't build xgps, xgpsspeed
|
|
||||||
+ # announce("WARNING: Python module cairo (pycairo) not found.")
|
|
||||||
+ # config.env['xgps'] = False
|
|
||||||
|
|
||||||
# check for pygobject
|
|
||||||
- try:
|
|
||||||
- imp.find_module('gi')
|
|
||||||
- announce("Python module gi (pygobject) found.")
|
|
||||||
- except ImportError:
|
|
||||||
- # no pygobject, don't build xgps, xgpsspeed
|
|
||||||
- announce("WARNING: Python module gi (pygobject) not found.")
|
|
||||||
- config.env['xgps'] = False
|
|
||||||
+ #try:
|
|
||||||
+ # imp.find_module('gi')
|
|
||||||
+ # announce("Python module gi (pygobject) found.")
|
|
||||||
+ #except ImportError:
|
|
||||||
+ # # no pygobject, don't build xgps, xgpsspeed
|
|
||||||
+ # announce("WARNING: Python module gi (pygobject) not found.")
|
|
||||||
+ # config.env['xgps'] = False
|
|
||||||
|
|
||||||
if not config.CheckPKG('gtk+-3.0'):
|
|
||||||
config.env['xgps'] = False
|
|
|
@ -2,13 +2,18 @@
|
||||||
bin/gegps
|
bin/gegps
|
||||||
bin/gps2udp
|
bin/gps2udp
|
||||||
bin/gpscat
|
bin/gpscat
|
||||||
|
bin/gpscsv
|
||||||
bin/gpsctl
|
bin/gpsctl
|
||||||
|
bin/gpsdebuginfo
|
||||||
bin/gpsdecode
|
bin/gpsdecode
|
||||||
bin/gpsfake
|
bin/gpsfake
|
||||||
%%NCURSES%%bin/gpsmon
|
%%NCURSES%%bin/gpsmon
|
||||||
bin/gpspipe
|
bin/gpspipe
|
||||||
|
bin/gpsplot
|
||||||
bin/gpsprof
|
bin/gpsprof
|
||||||
bin/gpsrinex
|
bin/gpsrinex
|
||||||
|
bin/gpssnmp
|
||||||
|
bin/gpssubframe
|
||||||
bin/gpxlogger
|
bin/gpxlogger
|
||||||
bin/lcdgps
|
bin/lcdgps
|
||||||
%%PPS%%bin/ntpshmmon
|
%%PPS%%bin/ntpshmmon
|
||||||
|
@ -19,20 +24,28 @@ bin/zerk
|
||||||
include/gps.h
|
include/gps.h
|
||||||
include/libgpsmm.h
|
include/libgpsmm.h
|
||||||
lib/libgps.so
|
lib/libgps.so
|
||||||
lib/libgps.so.25
|
lib/libgps.so.29
|
||||||
lib/libgps.so.25.0.0
|
lib/libgps.so.29.0.0
|
||||||
|
lib/libgpsdpacket.so
|
||||||
|
lib/libgpsdpacket.so.29
|
||||||
|
lib/libgpsdpacket.so.29.0.0
|
||||||
man/man1/cgps.1.gz
|
man/man1/cgps.1.gz
|
||||||
man/man1/gegps.1.gz
|
man/man1/gegps.1.gz
|
||||||
man/man1/gps.1.gz
|
man/man1/gps.1.gz
|
||||||
man/man1/gps2udp.1.gz
|
man/man1/gps2udp.1.gz
|
||||||
man/man1/gpscat.1.gz
|
man/man1/gpscat.1.gz
|
||||||
|
man/man1/gpscsv.1.gz
|
||||||
man/man1/gpsctl.1.gz
|
man/man1/gpsctl.1.gz
|
||||||
|
man/man1/gpsdebuginfo.1.gz
|
||||||
man/man1/gpsdecode.1.gz
|
man/man1/gpsdecode.1.gz
|
||||||
man/man1/gpsfake.1.gz
|
man/man1/gpsfake.1.gz
|
||||||
man/man1/gpsmon.1.gz
|
man/man1/gpsmon.1.gz
|
||||||
man/man1/gpspipe.1.gz
|
man/man1/gpspipe.1.gz
|
||||||
|
man/man1/gpsplot.1.gz
|
||||||
man/man1/gpsprof.1.gz
|
man/man1/gpsprof.1.gz
|
||||||
man/man1/gpsrinex.1.gz
|
man/man1/gpsrinex.1.gz
|
||||||
|
man/man1/gpssnmp.1.gz
|
||||||
|
man/man1/gpssubframe.1.gz
|
||||||
man/man1/gpxlogger.1.gz
|
man/man1/gpxlogger.1.gz
|
||||||
man/man1/lcdgps.1.gz
|
man/man1/lcdgps.1.gz
|
||||||
man/man1/ntpshmmon.1.gz
|
man/man1/ntpshmmon.1.gz
|
||||||
|
@ -44,10 +57,10 @@ man/man3/libQgpsmm.3.gz
|
||||||
man/man3/libgps.3.gz
|
man/man3/libgps.3.gz
|
||||||
man/man3/libgpsmm.3.gz
|
man/man3/libgpsmm.3.gz
|
||||||
man/man5/gpsd_json.5.gz
|
man/man5/gpsd_json.5.gz
|
||||||
man/man5/srec.5.gz
|
|
||||||
man/man8/gpsd.8.gz
|
man/man8/gpsd.8.gz
|
||||||
man/man8/gpsdctl.8.gz
|
man/man8/gpsdctl.8.gz
|
||||||
man/man8/gpsinit.8.gz
|
man/man8/gpsinit.8.gz
|
||||||
|
man/man8/ppscheck.8.gz
|
||||||
%%PYTHON_SITELIBDIR%%/%%PYTHON_EGGINFO%%
|
%%PYTHON_SITELIBDIR%%/%%PYTHON_EGGINFO%%
|
||||||
%%PYTHON_SITELIBDIR%%/gps/__init__.py
|
%%PYTHON_SITELIBDIR%%/gps/__init__.py
|
||||||
%%PYTHON_SITELIBDIR%%/gps/aiogps.py
|
%%PYTHON_SITELIBDIR%%/gps/aiogps.py
|
||||||
|
@ -56,8 +69,17 @@ man/man8/gpsinit.8.gz
|
||||||
%%PYTHON_SITELIBDIR%%/gps/fake.py
|
%%PYTHON_SITELIBDIR%%/gps/fake.py
|
||||||
%%PYTHON_SITELIBDIR%%/gps/gps.py
|
%%PYTHON_SITELIBDIR%%/gps/gps.py
|
||||||
%%PYTHON_SITELIBDIR%%/gps/misc.py
|
%%PYTHON_SITELIBDIR%%/gps/misc.py
|
||||||
%%PYTHON_SITELIBDIR%%/gps/packet%%PYTHON_EXT_SUFFIX%%.so
|
%%PYTHON_SITELIBDIR%%/gps/packet.py
|
||||||
|
%%PYTHON_SITELIBDIR%%/gps/ubx.py
|
||||||
%%PYTHON_SITELIBDIR%%/gps/watch_options.py
|
%%PYTHON_SITELIBDIR%%/gps/watch_options.py
|
||||||
libdata/pkgconfig/libgps.pc
|
libdata/pkgconfig/libgps.pc
|
||||||
|
%%DATADIR%%/doc/AUTHORS
|
||||||
|
%%DATADIR%%/doc/COPYING
|
||||||
|
%%DATADIR%%/doc/NEWS
|
||||||
|
%%DATADIR%%/doc/README.adoc
|
||||||
|
%%DATADIR%%/doc/SUPPORT.adoc
|
||||||
|
%%DATADIR%%/doc/build.adoc
|
||||||
|
%%DATADIR%%/doc/example1.c.txt
|
||||||
|
%%DATADIR%%/icons/gpsd-logo.png
|
||||||
sbin/gpsd
|
sbin/gpsd
|
||||||
sbin/gpsdctl
|
sbin/gpsdctl
|
||||||
|
|
Loading…
Add table
Reference in a new issue