summaryrefslogtreecommitdiff
path: root/system/gpsd
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2014-02-05 00:01:02 +0700
committerErik Hanson <erik@slackbuilds.org>2014-02-08 11:10:10 -0600
commitb9fe91a6a6ca4c16369b0867db2e65f51ab39984 (patch)
tree6527795ca1ccaa3e00a87d4e866ae931fc1a572a /system/gpsd
parent774dab7d85268a94737b5a6bed2e8dc76af48062 (diff)
downloadslackbuilds-b9fe91a6a6ca4c16369b0867db2e65f51ab39984.tar.gz
gis/gpsd: Updated for version 3.10 + Moved from System category.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/gpsd')
-rw-r--r--system/gpsd/README34
-rw-r--r--system/gpsd/README.build73
-rw-r--r--system/gpsd/doinst.sh30
-rw-r--r--system/gpsd/gpsd.SlackBuild145
-rw-r--r--system/gpsd/gpsd.info10
-rw-r--r--system/gpsd/rc.gpsd.conf.new14
-rw-r--r--system/gpsd/rc.gpsd.new61
-rw-r--r--system/gpsd/slack-desc19
-rw-r--r--system/gpsd/xgps.desktop9
-rw-r--r--system/gpsd/xgpsspeed.desktop9
10 files changed, 0 insertions, 404 deletions
diff --git a/system/gpsd/README b/system/gpsd/README
deleted file mode 100644
index 379d93e8bd..0000000000
--- a/system/gpsd/README
+++ /dev/null
@@ -1,34 +0,0 @@
-gpsd is a service daemon that monitors one or more GPSes attached to
-a host computer through serial or USB ports, making all data on the
-location, course, and velocity available to be queried on TCP port
-2947 of the host computer. With gpsd, multiple GPS client applications
-(such as navigational and wardriving software) can share access to GPSes
-without contention or loss of data. Applications that presently use
-gpsd include Viking, foxtrotgps and Kismet.
-
-See README.build for some build options that might be useful.
-
-To enable automatic startup of gpsd at boot time, or when a GPS device
-is connected via USB, you need to do the following four steps:
-
-1. Copy the file /lib/udev/rules.d/97-gpsd.rules to /etc/udev/rules.d/
-
-2. Edit the file /etc/udev/rules.d/97-gpsd.rules and uncomment the line
-(or lines) beginning '#ATTRS' that corresponds to your GPS hardware.
-To avoid confusion with other USB serial devices that you might have,
-do not uncomment lines that do not correspond to your GPS hardware.
-But if you do not know which line to uncomment, and you do not have any
-other serial devices, you can uncomment them all :-)
-
-3. Make the file /etc/rc.d/rc.gpsd executable.
- chmod +x /etc/rc.d/rc.gpsd
-
-4. Add the following lines to /etc/rc.d/rc.local
- if [ -x /etc/rc.d/rc.gpsd ]; then
- /etc/rc.d/rc.gpsd start
- fi
-
-Configuration options may be set in the file /etc/rc.d/rc.gpsd.conf.
-The defaults will usually be adequate. However, if your GPS is on a
-real (non-USB) serial port -- for example, /dev/ttyS0 -- you should add
-/dev/ttyS0 to GPS_DEVICES in /etc/rc.d/rc.gpsd.conf.
diff --git a/system/gpsd/README.build b/system/gpsd/README.build
deleted file mode 100644
index 77610ecc8f..0000000000
--- a/system/gpsd/README.build
+++ /dev/null
@@ -1,73 +0,0 @@
-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="fixed_port_speed=9600,timing" DISABLE="bluez,ipv6" ./gpsd.SlackBuild
-
-Multiple options may be separated by commas (as shown above) or by spaces.
-
-
-The following features may be enabled (by default they are disabled).
-
- dbus_export enable DBUS export support
- profiling enable profiling support
- timing enable latency timing support
- squelch enable gpsd_report/gpsd_hexdump suppression (saves cpu)
- gpsd_group=groupname
- set privilege revocation group (default=dialout)
- gpsd_user=username
- set privilege revocation user (default=nobody)
- fixed_port_speed=nnnn
- set fixed serial port speed
- fixed_stop_bits=n
- set fixed serial port stop bits
- limited_max_clients=n
- set maximum allowed clients
- limited_max_devices=n
- set maximum allowed devices
-
-
-The following devices and features may be disabled (by default they are
-enabled).
-
- aivdm disable AIVDM support
- ashtech disable Ashtech support
- bluez disable BlueZ support for Bluetooth devices
- control_socket disable control socket for hotplug notifications
- controlsend disable gpsctl/gpsmon can change device settings
- earthmate disable DeLorme EarthMate Zodiac support
- evermore disable EverMore binary support
- fury disable Jackson Labs Fury and Firefly support
- fv18 disable San Jose Navigation FV-18 support
- garmin disable Garmin kernel driver support
- garmintxt disable Garmin Simple Text support
- geostar disable Geostar Protocol support
- gpsclock disable GPSClock support
- ipv6 disable build IPv6 support
- itrax disable iTrax hardware support
- mtk3301 disable MTK-3301 support
- navcom disable Navcom support
- netfeed disable support for handling TCP/IP data sources
- nmea disable NMEA support
- nmea2000 disable NMEA2000/CAN support
- ntpshm disable NTP time hinting support
- ntrip disable NTRIP support
- oceanserver disable OceanServer support
- oldstyle disable oldstyle (pre-JSON) protocol support
- oncore disable Motorola OnCore chipset support
- passthrough disable support for passing through JSON
- pps disable PPS time syncing support
- reconfigure disable gpsd can change device settings
- rtcm104v2 disable rtcm104v2 support
- rtcm104v3 disable rtcm104v3 support
- shm_export disable export via shared memory
- sirf disable SiRF chipset support
- socket_export disable data export over sockets
- superstar2 disable Novatel SuperStarII chipset support
- tnt disable True North Technologies support
- tripmate disable DeLorme TripMate support
- tsip disable Trimble TSIP support
- ubx disable UBX Protocol support
diff --git a/system/gpsd/doinst.sh b/system/gpsd/doinst.sh
deleted file mode 100644
index 81e9fca8c2..0000000000
--- a/system/gpsd/doinst.sh
+++ /dev/null
@@ -1,30 +0,0 @@
-config() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- # If there's no config file by that name, mv it over:
- if [ ! -r $OLD ]; then
- mv $NEW $OLD
- elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
- # toss the redundant copy
- rm $NEW
- fi
- # Otherwise, we leave the .new copy for the admin to consider...
-}
-
-preserve_perms() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- if [ -e $OLD ]; then
- cp -a $OLD ${NEW}.incoming
- cat $NEW > ${NEW}.incoming
- mv ${NEW}.incoming $NEW
- fi
- config $NEW
-}
-
-preserve_perms etc/rc.d/rc.gpsd.new
-config etc/rc.d/rc.gpsd.conf.new
-
-if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
-fi
diff --git a/system/gpsd/gpsd.SlackBuild b/system/gpsd/gpsd.SlackBuild
deleted file mode 100644
index eb9ea7595c..0000000000
--- a/system/gpsd/gpsd.SlackBuild
+++ /dev/null
@@ -1,145 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for gpsd
-
-# Copyright 2011 David Spencer, Baildon, West Yorkshire, U.K.
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-PRGNAM=gpsd
-VERSION=${VERSION:-3.9}
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-ENABLELIST=""
-set -- $(echo $ENABLE | sed 's/,/ /g')
-while [ "$1" != "" ]
-do
- case "$1" in
- *=* )
- ENABLELIST+=" $1"
- ;;
- * )
- ENABLELIST+=" $1=yes"
- ;;
- esac
- shift
-done
-DISABLELIST=""
-set -- $(echo $DISABLE | sed 's/,/ /g')
-while [ "$1" != "" ]
-do
- DISABLELIST+=" $1=no"
- shift
-done
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-CFLAGS=$SLKCFLAGS \
-scons \
- prefix=/usr \
- libdir=/usr/lib${LIBDIRSUFFIX} \
- pkgconfigdir=/usr/lib${LIBDIRSUFFIX}/pkgconfig \
- mandir=/usr/man \
- chrpath=no \
- $ENABLELIST \
- $DISABLELIST
-
-DESTDIR=$PKG \
-scons \
- --implicit-deps-unchanged \
- install
-
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $(find $PKG/usr/man -type l) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-
-install -D -m 0644 $CWD/xgps.desktop \
- $PKG/usr/share/applications/xgps.desktop
-install -D -m 0644 $CWD/xgpsspeed.desktop \
- $PKG/usr/share/applications/xgpsspeed.desktop
-install -D -m 0644 packaging/X11/gpsd-logo.png \
- $PKG/usr/share/pixmaps/gpsd-logo.png
-
-# Get hotplug config from /etc/rc.d/rc.gpsd.conf not /etc/default/gpsd
-sed -i 's;/etc/default/gpsd;/etc/rc.d/rc.gpsd.conf;' gpsd.hotplug
-install -D -m 0755 gpsd.hotplug \
- $PKG/lib/udev/gpsd.hotplug
-mkdir -p $PKG/lib/udev/rules.d
-
-# Comment out all udev rules: the user is expected to enable only the
-# rules required (see README)
-cat gpsd.rules | \
- sed 's/^ATTRS/#&/' \
- >$PKG/lib/udev/rules.d/97-gpsd.rules
-
-install -D -m 0644 $CWD/rc.gpsd.new \
- $PKG/etc/rc.d/rc.gpsd.new
-install -D -m 0644 $CWD/rc.gpsd.conf.new \
- $PKG/etc/rc.d/rc.gpsd.conf.new
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING INSTALL README TODO $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/system/gpsd/gpsd.info b/system/gpsd/gpsd.info
deleted file mode 100644
index 99e1c8e9c5..0000000000
--- a/system/gpsd/gpsd.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="gpsd"
-VERSION="3.9"
-HOMEPAGE="http://catb.org/gpsd/"
-DOWNLOAD="http://download-mirror.savannah.gnu.org/releases/gpsd/gpsd-3.9.tar.gz"
-MD5SUM="53a88f24a0973d23427e82e9a8914f19"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="scons"
-MAINTAINER="David Spencer"
-EMAIL="baildon.research@googlemail.com"
diff --git a/system/gpsd/rc.gpsd.conf.new b/system/gpsd/rc.gpsd.conf.new
deleted file mode 100644
index 3566b69c08..0000000000
--- a/system/gpsd/rc.gpsd.conf.new
+++ /dev/null
@@ -1,14 +0,0 @@
-# /etc/rc.d/rc.gpsd.conf
-# Configuration settings for gpsd
-
-# If your GPS is on a real (non-USB) serial port, add /dev/ttyS<n> here,
-# for example
-# GPSD_DEVICES="/dev/gps* /dev/ttyS1"
-GPSD_DEVICES="/dev/gps*"
-
-# Command line options for the gpsd daemon, see 'man gpsd' for details.
-# The most likely options that you might want to set include -b and -n.
-GPSD_OPTIONS=""
-
-# Control socket pathname. It's unlikely you'll want to change this.
-GPSD_SOCKET="/var/run/gpsd.sock"
diff --git a/system/gpsd/rc.gpsd.new b/system/gpsd/rc.gpsd.new
deleted file mode 100644
index 0db22b9600..0000000000
--- a/system/gpsd/rc.gpsd.new
+++ /dev/null
@@ -1,61 +0,0 @@
-#!/bin/sh
-
-# /etc/rc.d/rc.gpsd
-# Start/stop/restart gpsd
-# Sebastian Arcus and David Spencer
-#
-# To enable automatic discovery of your GPS device by udev, uncomment the
-# appropriate line of /etc/udev/rules.d/97-gpsd.rules
-#
-# Configuration options may be set in /etc/rc.d/rc.gpsd.conf
-# but the defaults will usually be adequate.
-
-gpsd_start() {
-
- if [ ! -x /lib/udev/gpsd.hotplug ]; then
- echo "$(basename $0): /lib/udev/gpsd.hotplug not found (or not executable); cannot start."
- exit 1
- fi
-
- if [ -r /etc/rc.d/rc.gpsd.conf ]; then
- . /etc/rc.d/rc.gpsd.conf
- fi
- # Set config defaults in case the .conf file was absent or bogus
- GPSD_DEVICES="${GPSD_DEVICES:-/dev/gps*}"
- GPSD_OPTIONS="${GPSD_OPTIONS:-}"
- GPSD_SOCKET="${GPSD_SOCKET:-/var/run/gpsd.sock}"
-
- for DEVNAME in $GPSD_DEVICES; do
- if [ -e $DEVNAME ]; then
- echo "$(basename $0): Starting gpsd for $DEVNAME"
- ACTION=add DEVNAME=$DEVNAME /lib/udev/gpsd.hotplug
- else
- echo "$(basename $0): $DEVNAME not found, gpsd not started"
- fi
- done
-
-}
-
-gpsd_stop() {
- echo "Stopping gpsd..."
- killall gpsd >/dev/null 2>&1
- return 0
-}
-
-case "$1" in
- start)
- gpsd_start
- ;;
- stop)
- gpsd_stop
- ;;
- restart)
- gpsd_stop
- sleep 1
- gpsd_start
- ;;
- *)
- echo "Usage: $0 start|stop|restart"
- exit 1
- ;;
-esac
diff --git a/system/gpsd/slack-desc b/system/gpsd/slack-desc
deleted file mode 100644
index fe1267ea89..0000000000
--- a/system/gpsd/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-gpsd: gpsd (GPS service daemon)
-gpsd:
-gpsd: gpsd is a service daemon that monitors one or more GPSes attached to
-gpsd: a host computer through serial or USB ports, making all data on the
-gpsd: location/course/velocity available to be queried on TCP port 2947
-gpsd: of the host computer. With gpsd, multiple GPS client applications
-gpsd: (such as navigational and wardriving software) can share access to
-gpsd: GPSes without contention or loss of data.
-gpsd:
-gpsd: Homepage: http://gpsd.berlios.de/
-gpsd:
diff --git a/system/gpsd/xgps.desktop b/system/gpsd/xgps.desktop
deleted file mode 100644
index dc61b1264b..0000000000
--- a/system/gpsd/xgps.desktop
+++ /dev/null
@@ -1,9 +0,0 @@
-[Desktop Entry]
-Name=xgps
-GenericName=GPS information
-Comment=Display GPS information from a gpsd daemon
-Exec=xgps
-Icon=/usr/share/pixmaps/gpsd-logo.png
-Terminal=false
-Type=Application
-Categories=Utility;
diff --git a/system/gpsd/xgpsspeed.desktop b/system/gpsd/xgpsspeed.desktop
deleted file mode 100644
index c327074411..0000000000
--- a/system/gpsd/xgpsspeed.desktop
+++ /dev/null
@@ -1,9 +0,0 @@
-[Desktop Entry]
-Name=xgpsspeed
-GenericName=GPS speedometer
-Comment=Display GPS speed from a gpsd daemon
-Exec=xgpsspeed
-Icon=/usr/share/pixmaps/gpsd-logo.png
-Terminal=false
-Type=Application
-Categories=Utility;