mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
system/gpsd: Updated for version 2.39
This commit is contained in:
parent
7f62b352aa
commit
6ff4df3eeb
6 changed files with 92 additions and 64 deletions
|
@ -8,60 +8,4 @@ GPSes without contention or loss of data.
|
|||
Applications that presently use gpsd include pyGPS, Kismet, GPSdrive,
|
||||
gpeGPS, position, roadmap, roadnav, and gaia.
|
||||
|
||||
|
||||
Enabling and disabling devices and features
|
||||
-------------------------------------------
|
||||
|
||||
Support for various devices and features may be enabled
|
||||
and/or disabled by setting the variables ENABLE and DISABLE
|
||||
before running gpsd.SlackBuild, for example
|
||||
|
||||
ENABLE=garmintxt DISABLE="garmin dbus" ./gpsd.SlackBuild
|
||||
|
||||
|
||||
The following devices and features may be enabled
|
||||
(by default they are disabled).
|
||||
|
||||
garmintxt enable Garmin Simple Text support
|
||||
tnt enable True North Technologies support
|
||||
oceanserver enable OceanServer support
|
||||
profiling enable profiling support
|
||||
pps-on-cts Enable PPS pulse on CTS rather than DCD
|
||||
gpsd-user=username
|
||||
GPSD privilege revokation user (default 'nobody')
|
||||
fixed-port-speed=nnn
|
||||
compile with fixed serial port speed
|
||||
max-clients=nnn
|
||||
compile with limited maximum clients
|
||||
max-devices=nnn
|
||||
compile with maximum allowed devices
|
||||
squelch squelch gpsd_report and gpsd_hexdump to save cpu
|
||||
|
||||
|
||||
The following devices and features may be disabled
|
||||
(by default they are enabled).
|
||||
|
||||
dbus disable DBUS support
|
||||
nmea disable NMEA support
|
||||
sirf disable SiRF chipset support
|
||||
superstar2 disable SuperStarII chipset support
|
||||
tsip disable Trimble TSIP support
|
||||
fv18 disable San Jose Navigation FV-18 support
|
||||
tripmate disable DeLorme TripMate support
|
||||
earthmate disable DeLorme EarthMate Zodiac support
|
||||
itrax disable iTrax hardware support
|
||||
ashtech disable Ashtech support
|
||||
navcom disable Navcom support
|
||||
garmin disable Garmin kernel driver support
|
||||
ubx disable UBX Protocol support
|
||||
evermore disable EverMore binary support
|
||||
mkt3301 disable MKT-3301 support
|
||||
gpsclock disable GPSClock support
|
||||
rtcm104v2 disable rtcm104v2 support
|
||||
rtcm104v3 disable rtcm104v3 support
|
||||
ntrip disable NTRIP support
|
||||
aivdm disable Aivdm support
|
||||
ntpshm disable NTP time hinting support
|
||||
pps disable PPS time syncing support
|
||||
reconfigure do not allow gpsd to change device settings
|
||||
controlsend do not allow gpsd to change device settings
|
||||
See README.build for some additional build options that might be useful.
|
||||
|
|
56
system/gpsd/README.build
Normal file
56
system/gpsd/README.build
Normal file
|
@ -0,0 +1,56 @@
|
|||
Enabling and disabling devices and features
|
||||
-------------------------------------------
|
||||
|
||||
Support for various devices and features may be enabled
|
||||
and/or disabled by setting the variables ENABLE and DISABLE
|
||||
before running gpsd.SlackBuild, for example
|
||||
|
||||
ENABLE=garmintxt DISABLE="garmin dbus" ./gpsd.SlackBuild
|
||||
|
||||
|
||||
The following devices and features may be enabled
|
||||
(by default they are disabled).
|
||||
|
||||
garmintxt enable Garmin Simple Text support
|
||||
tnt enable True North Technologies support
|
||||
oceanserver enable OceanServer support
|
||||
profiling enable profiling support
|
||||
pps-on-cts Enable PPS pulse on CTS rather than DCD
|
||||
gpsd-user=username
|
||||
GPSD privilege revokation user (default 'nobody')
|
||||
fixed-port-speed=nnn
|
||||
compile with fixed serial port speed
|
||||
max-clients=nnn
|
||||
compile with limited maximum clients
|
||||
max-devices=nnn
|
||||
compile with maximum allowed devices
|
||||
squelch squelch gpsd_report and gpsd_hexdump to save cpu
|
||||
|
||||
|
||||
The following devices and features may be disabled
|
||||
(by default they are enabled).
|
||||
|
||||
dbus disable DBUS support
|
||||
nmea disable NMEA support
|
||||
sirf disable SiRF chipset support
|
||||
superstar2 disable SuperStarII chipset support
|
||||
tsip disable Trimble TSIP support
|
||||
fv18 disable San Jose Navigation FV-18 support
|
||||
tripmate disable DeLorme TripMate support
|
||||
earthmate disable DeLorme EarthMate Zodiac support
|
||||
itrax disable iTrax hardware support
|
||||
ashtech disable Ashtech support
|
||||
navcom disable Navcom support
|
||||
garmin disable Garmin kernel driver support
|
||||
ubx disable UBX Protocol support
|
||||
evermore disable EverMore binary support
|
||||
mkt3301 disable MKT-3301 support
|
||||
gpsclock disable GPSClock support
|
||||
rtcm104v2 disable rtcm104v2 support
|
||||
rtcm104v3 disable rtcm104v3 support
|
||||
ntrip disable NTRIP support
|
||||
aivdm disable Aivdm support
|
||||
ntpshm disable NTP time hinting support
|
||||
pps disable PPS time syncing support
|
||||
reconfigure do not allow gpsd to change device settings
|
||||
controlsend do not allow gpsd to change device settings
|
22
system/gpsd/gpsd-pkgconfig_templates.patch
Normal file
22
system/gpsd/gpsd-pkgconfig_templates.patch
Normal file
|
@ -0,0 +1,22 @@
|
|||
diff -Nur gpsd-2.39.orig/libgps.pc.in gpsd-2.39/libgps.pc.in
|
||||
--- gpsd-2.39.orig/libgps.pc.in 2009-02-17 06:56:57.000000000 -0600
|
||||
+++ gpsd-2.39/libgps.pc.in 2009-10-05 14:30:12.894417725 -0500
|
||||
@@ -1,6 +1,6 @@
|
||||
prefix=@prefix@
|
||||
exec_prefix=${prefix}
|
||||
-libdir=${exec_prefix}/lib
|
||||
+libdir=@libdir@
|
||||
includedir=${prefix}/include
|
||||
|
||||
Name: GPSD
|
||||
diff -Nur gpsd-2.39.orig/libgpsd.pc.in gpsd-2.39/libgpsd.pc.in
|
||||
--- gpsd-2.39.orig/libgpsd.pc.in 2009-02-17 06:56:57.000000000 -0600
|
||||
+++ gpsd-2.39/libgpsd.pc.in 2009-10-05 14:30:22.191417725 -0500
|
||||
@@ -1,6 +1,6 @@
|
||||
prefix=@prefix@
|
||||
exec_prefix=${prefix}
|
||||
-libdir=${exec_prefix}/lib
|
||||
+libdir=@libdir@
|
||||
includedir=${prefix}/include
|
||||
|
||||
Name: libgpsd
|
|
@ -3,13 +3,12 @@
|
|||
# Written by David Spencer <nobbutl@yahoo.co.uk>
|
||||
# This script is dedicated to the public domain
|
||||
|
||||
set -e
|
||||
|
||||
PRGNAM=gpsd
|
||||
VERSION=2.39
|
||||
ARCH=${ARCH:-i486}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
CWD=$(pwd)
|
||||
TMP=${TMP:-/tmp/SBo}
|
||||
PKG=$TMP/package-$PRGNAM
|
||||
|
@ -26,6 +25,8 @@ elif [ "$ARCH" = "x86_64" ]; then
|
|||
LIBDIRSUFFIX="64"
|
||||
fi
|
||||
|
||||
set -e
|
||||
|
||||
ENABLELIST=""
|
||||
set -- $ENABLE
|
||||
while [[ "$1" != "" ]]
|
||||
|
@ -50,6 +51,9 @@ cd $PRGNAM-$VERSION
|
|||
chown -R root:root .
|
||||
chmod -R u+w,go+r-w,a-s .
|
||||
|
||||
# Fixup the pkgconfig file templates
|
||||
patch -p1 < $CWD/gpsd-pkgconfig_templates.patch
|
||||
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
./configure \
|
||||
|
@ -60,7 +64,7 @@ CXXFLAGS="$SLKCFLAGS" \
|
|||
--mandir=/usr/man \
|
||||
--enable-dbus \
|
||||
$ENABLELIST \
|
||||
$DISABLELIST || exit 1
|
||||
$DISABLELIST
|
||||
|
||||
make
|
||||
make install-strip DESTDIR=$PKG
|
||||
|
@ -78,4 +82,4 @@ mkdir -p $PKG/install
|
|||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||
|
||||
cd $PKG
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
|
||||
|
|
|
@ -2,7 +2,9 @@ PRGNAM="gpsd"
|
|||
VERSION="2.39"
|
||||
HOMEPAGE="http://gpsd.berlios.de/"
|
||||
DOWNLOAD="http://download.berlios.de/gpsd/gpsd-2.39.tar.gz"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM="3db437196a6840c252fca99b6c19d4d0"
|
||||
MD5SUM_x86_64=""
|
||||
MAINTAINER="David Spencer"
|
||||
EMAIL="nobbutl@yahoo.co.uk"
|
||||
APPROVED="dsomero"
|
||||
|
|
Loading…
Reference in a new issue