[arch-commits] Commit in gpsd/repos (16 files)
Tom Gundersen
tomegun at archlinux.org
Fri Apr 27 21:14:32 UTC 2012
Date: Friday, April 27, 2012 @ 17:14:32
Author: tomegun
Revision: 157357
archrelease: copy trunk to extra-i686, extra-x86_64
Added:
gpsd/repos/extra-i686/PKGBUILD
(from rev 157356, gpsd/trunk/PKGBUILD)
gpsd/repos/extra-i686/gpsd
(from rev 157356, gpsd/trunk/gpsd)
gpsd/repos/extra-i686/gpsd.conf.d
(from rev 157356, gpsd/trunk/gpsd.conf.d)
gpsd/repos/extra-i686/gpsd.install
(from rev 157356, gpsd/trunk/gpsd.install)
gpsd/repos/extra-x86_64/PKGBUILD
(from rev 157356, gpsd/trunk/PKGBUILD)
gpsd/repos/extra-x86_64/gpsd
(from rev 157356, gpsd/trunk/gpsd)
gpsd/repos/extra-x86_64/gpsd.conf.d
(from rev 157356, gpsd/trunk/gpsd.conf.d)
gpsd/repos/extra-x86_64/gpsd.install
(from rev 157356, gpsd/trunk/gpsd.install)
Deleted:
gpsd/repos/extra-i686/PKGBUILD
gpsd/repos/extra-i686/gpsd
gpsd/repos/extra-i686/gpsd.conf.d
gpsd/repos/extra-i686/gpsd.install
gpsd/repos/extra-x86_64/PKGBUILD
gpsd/repos/extra-x86_64/gpsd
gpsd/repos/extra-x86_64/gpsd.conf.d
gpsd/repos/extra-x86_64/gpsd.install
---------------------------+
extra-i686/PKGBUILD | 160 ++++++++++++++++++++++----------------------
extra-i686/gpsd | 88 ++++++++++++------------
extra-i686/gpsd.conf.d | 10 +-
extra-i686/gpsd.install | 32 ++++----
extra-x86_64/PKGBUILD | 160 ++++++++++++++++++++++----------------------
extra-x86_64/gpsd | 88 ++++++++++++------------
extra-x86_64/gpsd.conf.d | 10 +-
extra-x86_64/gpsd.install | 32 ++++----
8 files changed, 290 insertions(+), 290 deletions(-)
Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD 2012-04-27 20:56:02 UTC (rev 157356)
+++ extra-i686/PKGBUILD 2012-04-27 21:14:32 UTC (rev 157357)
@@ -1,80 +0,0 @@
-# $Id$
-# Maintainer: Tom Gundersen <teg at jklm.no>
-# Contributor: Andrea Scarpino <andrea at archlinux.org>
-# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Giacomo Rizzo <alt at free-os.it>
-
-pkgname=gpsd
-pkgver=3.5
-pkgrel=1
-pkgdesc="GPS daemon and library to support USB/serial GPS devices"
-arch=('i686' 'x86_64')
-url="http://catb.org/gpsd/"
-license=('BSD')
-depends=('python2' 'libusb' 'bluez' 'desktop-file-utils')
-optdepends=('php: generate a PHP status page for your GPS'
- 'php-gd: image support for the PHP status page'
- 'pygtk: GUI frontends')
-makedepends=('scons' 'docbook-xsl' 'chrpath')
-backup=('etc/conf.d/gpsd')
-options=('!libtool')
-install="${pkgname}.install"
-source=("http://download.savannah.gnu.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.gz"{,.sig}
- 'gpsd' 'gpsd.conf.d')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- # fix python 2.7 path
- sed -i -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \
- -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \
- $(find . -name '*.py')
- sed -i 's|/usr/bin/env python|/usr/bin/env python2|' gegps \
- gpscat gpsfake gpsprof xgps xgpsspeed
-
- scons prefix=/usr \
- systemd=yes \
- libQgpsmm=no \
- PYTHONPATH=/usr/bin/python2
- scons build
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- # Fix man pages path (FS#21715)
- sed -i 's|.so gps.1|.so man1/gps.1|' cgps.1 lcdgps.1 xgps.1 xgpsspeed.1
-
- export DESTDIR="${pkgdir}"
- scons install
-
- install -D -m644 "${srcdir}/gpsd.conf.d" "${pkgdir}/etc/conf.d/gpsd"
-
- sed -i 's|/lib/udev/gpsd|/usr/lib/udev/gpsd|' gpsd.rules
-
- install -D -m644 "gpsd.rules" "${pkgdir}/usr/lib/udev/rules.d/99-gpsd-usb.rules"
-
- sed -i 's|/etc/default/gpsd|/etc/conf.d/gpsd|' gpsd.hotplug
- install -D -m755 gpsd.hotplug "${pkgdir}/usr/lib/udev/gpsd.hotplug"
-
- # GPSD needs RPATH
- chrpath -r /usr/lib/ "${pkgdir}"/usr/lib/libgps{,d}.so.20.0.0
- chrpath -r /usr/lib/ "${pkgdir}"/usr/bin/{gpsdecode,gpsctl,gpspipe,gpxlogger,lcdgps}
- chrpath -r /usr/lib/ "${pkgdir}"/usr/sbin/{gpsd,gpsdctl}
- chrpath -r /usr/lib/ "${pkgdir}"/usr/lib/python2.7/site-packages/gps/{clienthelpers,packet}.so
-
- install -D -m644 packaging/X11/xgps.desktop \
- "${pkgdir}/usr/share/applications/xgps.desktop"
- install -D -m644 packaging/X11/xgpsspeed.desktop \
- "${pkgdir}/usr/share/applications/xgpsspeed.desktop"
- install -D -m644 packaging/X11/gpsd-logo.png \
- "${pkgdir}/usr/share/gpsd/gpsd-logo.png"
-
- install -D -m755 "${srcdir}/gpsd" "${pkgdir}/etc/rc.d/gpsd"
-
- install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
-md5sums=('e96881798a0ab67aa3cd5f3249f0e536'
- 'f6b3718b205be7853d49bae6ef587853'
- '1f3402f8e33a7032b9ae6dfd077234f7'
- '3e963df3f9f7ef3572ecc648ae829315')
Copied: gpsd/repos/extra-i686/PKGBUILD (from rev 157356, gpsd/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD (rev 0)
+++ extra-i686/PKGBUILD 2012-04-27 21:14:32 UTC (rev 157357)
@@ -0,0 +1,80 @@
+# $Id$
+# Maintainer: Tom Gundersen <teg at jklm.no>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Giacomo Rizzo <alt at free-os.it>
+
+pkgname=gpsd
+pkgver=3.5
+pkgrel=1
+pkgdesc="GPS daemon and library to support USB/serial GPS devices"
+arch=('i686' 'x86_64')
+url="http://catb.org/gpsd/"
+license=('BSD')
+depends=('python2' 'libusb' 'bluez' 'desktop-file-utils')
+optdepends=('php: generate a PHP status page for your GPS'
+ 'php-gd: image support for the PHP status page'
+ 'pygtk: GUI frontends')
+makedepends=('scons' 'docbook-xsl' 'chrpath')
+backup=('etc/conf.d/gpsd')
+options=('!libtool')
+install="${pkgname}.install"
+source=("http://download.savannah.gnu.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.gz"{,.sig}
+ 'gpsd' 'gpsd.conf.d')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ # fix python 2.7 path
+ sed -i -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \
+ -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \
+ $(find . -name '*.py')
+ sed -i 's|/usr/bin/env python|/usr/bin/env python2|' gegps \
+ gpscat gpsfake gpsprof xgps xgpsspeed
+
+ scons prefix=/usr \
+ systemd=yes \
+ libQgpsmm=no \
+ PYTHONPATH=/usr/bin/python2
+ scons build
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ # Fix man pages path (FS#21715)
+ sed -i 's|.so gps.1|.so man1/gps.1|' cgps.1 lcdgps.1 xgps.1 xgpsspeed.1
+
+ export DESTDIR="${pkgdir}"
+ scons install
+
+ install -D -m644 "${srcdir}/gpsd.conf.d" "${pkgdir}/etc/conf.d/gpsd"
+
+ sed -i 's|/lib/udev/gpsd|/usr/lib/udev/gpsd|' gpsd.rules
+
+ install -D -m644 "gpsd.rules" "${pkgdir}/usr/lib/udev/rules.d/99-gpsd-usb.rules"
+
+ sed -i 's|/etc/default/gpsd|/etc/conf.d/gpsd|' gpsd.hotplug
+ install -D -m755 gpsd.hotplug "${pkgdir}/usr/lib/udev/gpsd.hotplug"
+
+ # GPSD needs RPATH
+ chrpath -r /usr/lib/ "${pkgdir}"/usr/lib/libgps{,d}.so.20.0.0
+ chrpath -r /usr/lib/ "${pkgdir}"/usr/bin/{gpsdecode,gpsctl,gpspipe,gpxlogger,lcdgps}
+ chrpath -r /usr/lib/ "${pkgdir}"/usr/sbin/{gpsd,gpsdctl}
+ chrpath -r /usr/lib/ "${pkgdir}"/usr/lib/python2.7/site-packages/gps/{clienthelpers,packet}.so
+
+ install -D -m644 packaging/X11/xgps.desktop \
+ "${pkgdir}/usr/share/applications/xgps.desktop"
+ install -D -m644 packaging/X11/xgpsspeed.desktop \
+ "${pkgdir}/usr/share/applications/xgpsspeed.desktop"
+ install -D -m644 packaging/X11/gpsd-logo.png \
+ "${pkgdir}/usr/share/gpsd/gpsd-logo.png"
+
+ install -D -m755 "${srcdir}/gpsd" "${pkgdir}/etc/rc.d/gpsd"
+
+ install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+md5sums=('e96881798a0ab67aa3cd5f3249f0e536'
+ 'f6b3718b205be7853d49bae6ef587853'
+ '1f3402f8e33a7032b9ae6dfd077234f7'
+ '3e963df3f9f7ef3572ecc648ae829315')
Deleted: extra-i686/gpsd
===================================================================
--- extra-i686/gpsd 2012-04-27 20:56:02 UTC (rev 157356)
+++ extra-i686/gpsd 2012-04-27 21:14:32 UTC (rev 157357)
@@ -1,44 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-[ -f /etc/conf.d/gpsd ] && . /etc/conf.d/gpsd
-
-NAME=gpsd
-DAEMON=/usr/sbin/$NAME
-PIDFILE=/var/run/$NAME/$NAME.pid
-PID=$(cat $PIDFILE 2>/dev/null)
-
-case "$1" in
- start)
- stat_busy "Starting $NAME"
- [ ! -d /var/run/$NAME ] && install -d /var/run/$NAME
- [ -z "$PID" ] && "$DAEMON" -P $PIDFILE -F /var/run/$NAME/$NAME.sock ${GPSD_OPTIONS} ${DEVICES}
- if [ $? -gt 0 ]; then
- stat_fail
- else
- add_daemon $NAME
- stat_done
- fi
- ;;
- stop)
- stat_busy "Stopping $NAME"
- [ ! -z "$PID" ] && kill $PID &> /dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm -f $PIDFILE &>/dev/null
- rm_daemon $NAME
- stat_done
- fi
- ;;
-
- restart)
- $0 stop
- sleep 2
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
-exit 0
Copied: gpsd/repos/extra-i686/gpsd (from rev 157356, gpsd/trunk/gpsd)
===================================================================
--- extra-i686/gpsd (rev 0)
+++ extra-i686/gpsd 2012-04-27 21:14:32 UTC (rev 157357)
@@ -0,0 +1,44 @@
+#!/bin/bash
+
+. /etc/rc.conf
+. /etc/rc.d/functions
+[ -f /etc/conf.d/gpsd ] && . /etc/conf.d/gpsd
+
+NAME=gpsd
+DAEMON=/usr/sbin/$NAME
+PIDFILE=/var/run/$NAME/$NAME.pid
+PID=$(cat $PIDFILE 2>/dev/null)
+
+case "$1" in
+ start)
+ stat_busy "Starting $NAME"
+ [ ! -d /var/run/$NAME ] && install -d /var/run/$NAME
+ [ -z "$PID" ] && "$DAEMON" -P $PIDFILE -F /var/run/$NAME/$NAME.sock ${GPSD_OPTIONS} ${DEVICES}
+ if [ $? -gt 0 ]; then
+ stat_fail
+ else
+ add_daemon $NAME
+ stat_done
+ fi
+ ;;
+ stop)
+ stat_busy "Stopping $NAME"
+ [ ! -z "$PID" ] && kill $PID &> /dev/null
+ if [ $? -gt 0 ]; then
+ stat_fail
+ else
+ rm -f $PIDFILE &>/dev/null
+ rm_daemon $NAME
+ stat_done
+ fi
+ ;;
+
+ restart)
+ $0 stop
+ sleep 2
+ $0 start
+ ;;
+ *)
+ echo "usage: $0 {start|stop|restart}"
+esac
+exit 0
Deleted: extra-i686/gpsd.conf.d
===================================================================
--- extra-i686/gpsd.conf.d 2012-04-27 20:56:02 UTC (rev 157356)
+++ extra-i686/gpsd.conf.d 2012-04-27 21:14:32 UTC (rev 157357)
@@ -1,5 +0,0 @@
-# Default settings for gpsd.
-START_DAEMON="true"
-GPSD_OPTIONS=""
-DEVICES=""
-USBAUTO="true"
Copied: gpsd/repos/extra-i686/gpsd.conf.d (from rev 157356, gpsd/trunk/gpsd.conf.d)
===================================================================
--- extra-i686/gpsd.conf.d (rev 0)
+++ extra-i686/gpsd.conf.d 2012-04-27 21:14:32 UTC (rev 157357)
@@ -0,0 +1,5 @@
+# Default settings for gpsd.
+START_DAEMON="true"
+GPSD_OPTIONS=""
+DEVICES=""
+USBAUTO="true"
Deleted: extra-i686/gpsd.install
===================================================================
--- extra-i686/gpsd.install 2012-04-27 20:56:02 UTC (rev 157356)
+++ extra-i686/gpsd.install 2012-04-27 21:14:32 UTC (rev 157357)
@@ -1,16 +0,0 @@
-post_install() {
- echo ">>> Note: the supplied gpsd udev rules are device-specific, so"
- echo ">>> if your device isn't detected correctly, please use lsusb or"
- echo ">>> another suitable tool to determine the proper device IDs and"
- echo ">>> use the commented rules to fill in the blanks for your device."
-
- update-desktop-database -q
-}
-
-post_upgrade() {
- update-desktop-database -q
-}
-
-post_remove() {
- update-desktop-database -q
-}
Copied: gpsd/repos/extra-i686/gpsd.install (from rev 157356, gpsd/trunk/gpsd.install)
===================================================================
--- extra-i686/gpsd.install (rev 0)
+++ extra-i686/gpsd.install 2012-04-27 21:14:32 UTC (rev 157357)
@@ -0,0 +1,16 @@
+post_install() {
+ echo ">>> Note: the supplied gpsd udev rules are device-specific, so"
+ echo ">>> if your device isn't detected correctly, please use lsusb or"
+ echo ">>> another suitable tool to determine the proper device IDs and"
+ echo ">>> use the commented rules to fill in the blanks for your device."
+
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ update-desktop-database -q
+}
+
+post_remove() {
+ update-desktop-database -q
+}
Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD 2012-04-27 20:56:02 UTC (rev 157356)
+++ extra-x86_64/PKGBUILD 2012-04-27 21:14:32 UTC (rev 157357)
@@ -1,80 +0,0 @@
-# $Id$
-# Maintainer: Tom Gundersen <teg at jklm.no>
-# Contributor: Andrea Scarpino <andrea at archlinux.org>
-# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Giacomo Rizzo <alt at free-os.it>
-
-pkgname=gpsd
-pkgver=3.5
-pkgrel=1
-pkgdesc="GPS daemon and library to support USB/serial GPS devices"
-arch=('i686' 'x86_64')
-url="http://catb.org/gpsd/"
-license=('BSD')
-depends=('python2' 'libusb' 'bluez' 'desktop-file-utils')
-optdepends=('php: generate a PHP status page for your GPS'
- 'php-gd: image support for the PHP status page'
- 'pygtk: GUI frontends')
-makedepends=('scons' 'docbook-xsl' 'chrpath')
-backup=('etc/conf.d/gpsd')
-options=('!libtool')
-install="${pkgname}.install"
-source=("http://download.savannah.gnu.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.gz"{,.sig}
- 'gpsd' 'gpsd.conf.d')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- # fix python 2.7 path
- sed -i -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \
- -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \
- $(find . -name '*.py')
- sed -i 's|/usr/bin/env python|/usr/bin/env python2|' gegps \
- gpscat gpsfake gpsprof xgps xgpsspeed
-
- scons prefix=/usr \
- systemd=yes \
- libQgpsmm=no \
- PYTHONPATH=/usr/bin/python2
- scons build
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- # Fix man pages path (FS#21715)
- sed -i 's|.so gps.1|.so man1/gps.1|' cgps.1 lcdgps.1 xgps.1 xgpsspeed.1
-
- export DESTDIR="${pkgdir}"
- scons install
-
- install -D -m644 "${srcdir}/gpsd.conf.d" "${pkgdir}/etc/conf.d/gpsd"
-
- sed -i 's|/lib/udev/gpsd|/usr/lib/udev/gpsd|' gpsd.rules
-
- install -D -m644 "gpsd.rules" "${pkgdir}/usr/lib/udev/rules.d/99-gpsd-usb.rules"
-
- sed -i 's|/etc/default/gpsd|/etc/conf.d/gpsd|' gpsd.hotplug
- install -D -m755 gpsd.hotplug "${pkgdir}/usr/lib/udev/gpsd.hotplug"
-
- # GPSD needs RPATH
- chrpath -r /usr/lib/ "${pkgdir}"/usr/lib/libgps{,d}.so.20.0.0
- chrpath -r /usr/lib/ "${pkgdir}"/usr/bin/{gpsdecode,gpsctl,gpspipe,gpxlogger,lcdgps}
- chrpath -r /usr/lib/ "${pkgdir}"/usr/sbin/{gpsd,gpsdctl}
- chrpath -r /usr/lib/ "${pkgdir}"/usr/lib/python2.7/site-packages/gps/{clienthelpers,packet}.so
-
- install -D -m644 packaging/X11/xgps.desktop \
- "${pkgdir}/usr/share/applications/xgps.desktop"
- install -D -m644 packaging/X11/xgpsspeed.desktop \
- "${pkgdir}/usr/share/applications/xgpsspeed.desktop"
- install -D -m644 packaging/X11/gpsd-logo.png \
- "${pkgdir}/usr/share/gpsd/gpsd-logo.png"
-
- install -D -m755 "${srcdir}/gpsd" "${pkgdir}/etc/rc.d/gpsd"
-
- install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
-md5sums=('e96881798a0ab67aa3cd5f3249f0e536'
- 'f6b3718b205be7853d49bae6ef587853'
- '1f3402f8e33a7032b9ae6dfd077234f7'
- '3e963df3f9f7ef3572ecc648ae829315')
Copied: gpsd/repos/extra-x86_64/PKGBUILD (from rev 157356, gpsd/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD (rev 0)
+++ extra-x86_64/PKGBUILD 2012-04-27 21:14:32 UTC (rev 157357)
@@ -0,0 +1,80 @@
+# $Id$
+# Maintainer: Tom Gundersen <teg at jklm.no>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Giacomo Rizzo <alt at free-os.it>
+
+pkgname=gpsd
+pkgver=3.5
+pkgrel=1
+pkgdesc="GPS daemon and library to support USB/serial GPS devices"
+arch=('i686' 'x86_64')
+url="http://catb.org/gpsd/"
+license=('BSD')
+depends=('python2' 'libusb' 'bluez' 'desktop-file-utils')
+optdepends=('php: generate a PHP status page for your GPS'
+ 'php-gd: image support for the PHP status page'
+ 'pygtk: GUI frontends')
+makedepends=('scons' 'docbook-xsl' 'chrpath')
+backup=('etc/conf.d/gpsd')
+options=('!libtool')
+install="${pkgname}.install"
+source=("http://download.savannah.gnu.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.gz"{,.sig}
+ 'gpsd' 'gpsd.conf.d')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ # fix python 2.7 path
+ sed -i -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \
+ -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \
+ $(find . -name '*.py')
+ sed -i 's|/usr/bin/env python|/usr/bin/env python2|' gegps \
+ gpscat gpsfake gpsprof xgps xgpsspeed
+
+ scons prefix=/usr \
+ systemd=yes \
+ libQgpsmm=no \
+ PYTHONPATH=/usr/bin/python2
+ scons build
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ # Fix man pages path (FS#21715)
+ sed -i 's|.so gps.1|.so man1/gps.1|' cgps.1 lcdgps.1 xgps.1 xgpsspeed.1
+
+ export DESTDIR="${pkgdir}"
+ scons install
+
+ install -D -m644 "${srcdir}/gpsd.conf.d" "${pkgdir}/etc/conf.d/gpsd"
+
+ sed -i 's|/lib/udev/gpsd|/usr/lib/udev/gpsd|' gpsd.rules
+
+ install -D -m644 "gpsd.rules" "${pkgdir}/usr/lib/udev/rules.d/99-gpsd-usb.rules"
+
+ sed -i 's|/etc/default/gpsd|/etc/conf.d/gpsd|' gpsd.hotplug
+ install -D -m755 gpsd.hotplug "${pkgdir}/usr/lib/udev/gpsd.hotplug"
+
+ # GPSD needs RPATH
+ chrpath -r /usr/lib/ "${pkgdir}"/usr/lib/libgps{,d}.so.20.0.0
+ chrpath -r /usr/lib/ "${pkgdir}"/usr/bin/{gpsdecode,gpsctl,gpspipe,gpxlogger,lcdgps}
+ chrpath -r /usr/lib/ "${pkgdir}"/usr/sbin/{gpsd,gpsdctl}
+ chrpath -r /usr/lib/ "${pkgdir}"/usr/lib/python2.7/site-packages/gps/{clienthelpers,packet}.so
+
+ install -D -m644 packaging/X11/xgps.desktop \
+ "${pkgdir}/usr/share/applications/xgps.desktop"
+ install -D -m644 packaging/X11/xgpsspeed.desktop \
+ "${pkgdir}/usr/share/applications/xgpsspeed.desktop"
+ install -D -m644 packaging/X11/gpsd-logo.png \
+ "${pkgdir}/usr/share/gpsd/gpsd-logo.png"
+
+ install -D -m755 "${srcdir}/gpsd" "${pkgdir}/etc/rc.d/gpsd"
+
+ install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+md5sums=('e96881798a0ab67aa3cd5f3249f0e536'
+ 'f6b3718b205be7853d49bae6ef587853'
+ '1f3402f8e33a7032b9ae6dfd077234f7'
+ '3e963df3f9f7ef3572ecc648ae829315')
Deleted: extra-x86_64/gpsd
===================================================================
--- extra-x86_64/gpsd 2012-04-27 20:56:02 UTC (rev 157356)
+++ extra-x86_64/gpsd 2012-04-27 21:14:32 UTC (rev 157357)
@@ -1,44 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-[ -f /etc/conf.d/gpsd ] && . /etc/conf.d/gpsd
-
-NAME=gpsd
-DAEMON=/usr/sbin/$NAME
-PIDFILE=/var/run/$NAME/$NAME.pid
-PID=$(cat $PIDFILE 2>/dev/null)
-
-case "$1" in
- start)
- stat_busy "Starting $NAME"
- [ ! -d /var/run/$NAME ] && install -d /var/run/$NAME
- [ -z "$PID" ] && "$DAEMON" -P $PIDFILE -F /var/run/$NAME/$NAME.sock ${GPSD_OPTIONS} ${DEVICES}
- if [ $? -gt 0 ]; then
- stat_fail
- else
- add_daemon $NAME
- stat_done
- fi
- ;;
- stop)
- stat_busy "Stopping $NAME"
- [ ! -z "$PID" ] && kill $PID &> /dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm -f $PIDFILE &>/dev/null
- rm_daemon $NAME
- stat_done
- fi
- ;;
-
- restart)
- $0 stop
- sleep 2
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
-exit 0
Copied: gpsd/repos/extra-x86_64/gpsd (from rev 157356, gpsd/trunk/gpsd)
===================================================================
--- extra-x86_64/gpsd (rev 0)
+++ extra-x86_64/gpsd 2012-04-27 21:14:32 UTC (rev 157357)
@@ -0,0 +1,44 @@
+#!/bin/bash
+
+. /etc/rc.conf
+. /etc/rc.d/functions
+[ -f /etc/conf.d/gpsd ] && . /etc/conf.d/gpsd
+
+NAME=gpsd
+DAEMON=/usr/sbin/$NAME
+PIDFILE=/var/run/$NAME/$NAME.pid
+PID=$(cat $PIDFILE 2>/dev/null)
+
+case "$1" in
+ start)
+ stat_busy "Starting $NAME"
+ [ ! -d /var/run/$NAME ] && install -d /var/run/$NAME
+ [ -z "$PID" ] && "$DAEMON" -P $PIDFILE -F /var/run/$NAME/$NAME.sock ${GPSD_OPTIONS} ${DEVICES}
+ if [ $? -gt 0 ]; then
+ stat_fail
+ else
+ add_daemon $NAME
+ stat_done
+ fi
+ ;;
+ stop)
+ stat_busy "Stopping $NAME"
+ [ ! -z "$PID" ] && kill $PID &> /dev/null
+ if [ $? -gt 0 ]; then
+ stat_fail
+ else
+ rm -f $PIDFILE &>/dev/null
+ rm_daemon $NAME
+ stat_done
+ fi
+ ;;
+
+ restart)
+ $0 stop
+ sleep 2
+ $0 start
+ ;;
+ *)
+ echo "usage: $0 {start|stop|restart}"
+esac
+exit 0
Deleted: extra-x86_64/gpsd.conf.d
===================================================================
--- extra-x86_64/gpsd.conf.d 2012-04-27 20:56:02 UTC (rev 157356)
+++ extra-x86_64/gpsd.conf.d 2012-04-27 21:14:32 UTC (rev 157357)
@@ -1,5 +0,0 @@
-# Default settings for gpsd.
-START_DAEMON="true"
-GPSD_OPTIONS=""
-DEVICES=""
-USBAUTO="true"
Copied: gpsd/repos/extra-x86_64/gpsd.conf.d (from rev 157356, gpsd/trunk/gpsd.conf.d)
===================================================================
--- extra-x86_64/gpsd.conf.d (rev 0)
+++ extra-x86_64/gpsd.conf.d 2012-04-27 21:14:32 UTC (rev 157357)
@@ -0,0 +1,5 @@
+# Default settings for gpsd.
+START_DAEMON="true"
+GPSD_OPTIONS=""
+DEVICES=""
+USBAUTO="true"
Deleted: extra-x86_64/gpsd.install
===================================================================
--- extra-x86_64/gpsd.install 2012-04-27 20:56:02 UTC (rev 157356)
+++ extra-x86_64/gpsd.install 2012-04-27 21:14:32 UTC (rev 157357)
@@ -1,16 +0,0 @@
-post_install() {
- echo ">>> Note: the supplied gpsd udev rules are device-specific, so"
- echo ">>> if your device isn't detected correctly, please use lsusb or"
- echo ">>> another suitable tool to determine the proper device IDs and"
- echo ">>> use the commented rules to fill in the blanks for your device."
-
- update-desktop-database -q
-}
-
-post_upgrade() {
- update-desktop-database -q
-}
-
-post_remove() {
- update-desktop-database -q
-}
Copied: gpsd/repos/extra-x86_64/gpsd.install (from rev 157356, gpsd/trunk/gpsd.install)
===================================================================
--- extra-x86_64/gpsd.install (rev 0)
+++ extra-x86_64/gpsd.install 2012-04-27 21:14:32 UTC (rev 157357)
@@ -0,0 +1,16 @@
+post_install() {
+ echo ">>> Note: the supplied gpsd udev rules are device-specific, so"
+ echo ">>> if your device isn't detected correctly, please use lsusb or"
+ echo ">>> another suitable tool to determine the proper device IDs and"
+ echo ">>> use the commented rules to fill in the blanks for your device."
+
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ update-desktop-database -q
+}
+
+post_remove() {
+ update-desktop-database -q
+}
More information about the arch-commits
mailing list