[arch-commits] Commit in gpsd/repos (8 files)
Evangelos Foutras
foutrelis at archlinux.org
Mon Sep 7 19:38:40 UTC 2015
Date: Monday, September 7, 2015 @ 21:38:40
Author: foutrelis
Revision: 245494
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
gpsd/repos/staging-i686/
gpsd/repos/staging-i686/PKGBUILD
(from rev 245493, gpsd/trunk/PKGBUILD)
gpsd/repos/staging-i686/gpsd.conf
(from rev 245493, gpsd/trunk/gpsd.conf)
gpsd/repos/staging-i686/gpsd.install
(from rev 245493, gpsd/trunk/gpsd.install)
gpsd/repos/staging-x86_64/
gpsd/repos/staging-x86_64/PKGBUILD
(from rev 245493, gpsd/trunk/PKGBUILD)
gpsd/repos/staging-x86_64/gpsd.conf
(from rev 245493, gpsd/trunk/gpsd.conf)
gpsd/repos/staging-x86_64/gpsd.install
(from rev 245493, gpsd/trunk/gpsd.install)
-----------------------------+
staging-i686/PKGBUILD | 82 ++++++++++++++++++++++++++++++++++++++++++
staging-i686/gpsd.conf | 5 ++
staging-i686/gpsd.install | 11 +++++
staging-x86_64/PKGBUILD | 82 ++++++++++++++++++++++++++++++++++++++++++
staging-x86_64/gpsd.conf | 5 ++
staging-x86_64/gpsd.install | 11 +++++
6 files changed, 196 insertions(+)
Copied: gpsd/repos/staging-i686/PKGBUILD (from rev 245493, gpsd/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2015-09-07 19:38:40 UTC (rev 245494)
@@ -0,0 +1,82 @@
+# $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.15
+pkgrel=3
+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-libs' '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' 'hardening-wrapper')
+backup=('etc/gpsd')
+install="${pkgname}.install"
+source=("http://download.savannah.gnu.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.gz"{,.sig}
+ 'gpsd.conf')
+validpgpkeys=('3CE764D4FAFF5FA810B203BFADF516D38421F11C') # Eric S. Raymond
+
+prepare() {
+ 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
+
+ sed -i 's/sbin/bin/g' systemd/*.service
+}
+
+build() {
+ cd $pkgname-$pkgver
+
+ scons prefix=/usr \
+ systemd=yes \
+ libQgpsmm=no \
+ gpsd_group=uucp \
+ PYTHONPATH=/usr/bin/python2 \
+ sbindir=/usr/bin
+ scons build
+}
+
+package() {
+ cd $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" "$pkgdir/etc/gpsd"
+
+ install -D -m644 "gpsd.rules" "$pkgdir/usr/lib/udev/rules.d/25-gpsd-usb.rules"
+
+ sed -e 's|/etc/default/gpsd|/etc/gpsd|' -i gpsd.hotplug -i systemd/*.service
+ install -D -m755 gpsd.hotplug "$pkgdir/usr/lib/udev/gpsd.hotplug"
+
+ 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 -m644 systemd/gpsd.service "$pkgdir/usr/lib/systemd/system/gpsd.service"
+ install -D -m644 systemd/gpsd.socket "$pkgdir/usr/lib/systemd/system/gpsd.socket"
+ install -D -m644 systemd/gpsdctl at .service "$pkgdir/usr/lib/systemd/system/gpsdctl at .service"
+
+ install -D -m644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+md5sums=('afd79b87337fadf38ee2a7c4314dac79'
+ 'SKIP'
+ '3e963df3f9f7ef3572ecc648ae829315')
Copied: gpsd/repos/staging-i686/gpsd.conf (from rev 245493, gpsd/trunk/gpsd.conf)
===================================================================
--- staging-i686/gpsd.conf (rev 0)
+++ staging-i686/gpsd.conf 2015-09-07 19:38:40 UTC (rev 245494)
@@ -0,0 +1,5 @@
+# Default settings for gpsd.
+START_DAEMON="true"
+GPSD_OPTIONS=""
+DEVICES=""
+USBAUTO="true"
Copied: gpsd/repos/staging-i686/gpsd.install (from rev 245493, gpsd/trunk/gpsd.install)
===================================================================
--- staging-i686/gpsd.install (rev 0)
+++ staging-i686/gpsd.install 2015-09-07 19:38:40 UTC (rev 245494)
@@ -0,0 +1,11 @@
+post_install() {
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ update-desktop-database -q
+}
+
+post_remove() {
+ update-desktop-database -q
+}
Copied: gpsd/repos/staging-x86_64/PKGBUILD (from rev 245493, gpsd/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2015-09-07 19:38:40 UTC (rev 245494)
@@ -0,0 +1,82 @@
+# $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.15
+pkgrel=3
+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-libs' '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' 'hardening-wrapper')
+backup=('etc/gpsd')
+install="${pkgname}.install"
+source=("http://download.savannah.gnu.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.gz"{,.sig}
+ 'gpsd.conf')
+validpgpkeys=('3CE764D4FAFF5FA810B203BFADF516D38421F11C') # Eric S. Raymond
+
+prepare() {
+ 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
+
+ sed -i 's/sbin/bin/g' systemd/*.service
+}
+
+build() {
+ cd $pkgname-$pkgver
+
+ scons prefix=/usr \
+ systemd=yes \
+ libQgpsmm=no \
+ gpsd_group=uucp \
+ PYTHONPATH=/usr/bin/python2 \
+ sbindir=/usr/bin
+ scons build
+}
+
+package() {
+ cd $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" "$pkgdir/etc/gpsd"
+
+ install -D -m644 "gpsd.rules" "$pkgdir/usr/lib/udev/rules.d/25-gpsd-usb.rules"
+
+ sed -e 's|/etc/default/gpsd|/etc/gpsd|' -i gpsd.hotplug -i systemd/*.service
+ install -D -m755 gpsd.hotplug "$pkgdir/usr/lib/udev/gpsd.hotplug"
+
+ 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 -m644 systemd/gpsd.service "$pkgdir/usr/lib/systemd/system/gpsd.service"
+ install -D -m644 systemd/gpsd.socket "$pkgdir/usr/lib/systemd/system/gpsd.socket"
+ install -D -m644 systemd/gpsdctl at .service "$pkgdir/usr/lib/systemd/system/gpsdctl at .service"
+
+ install -D -m644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+md5sums=('afd79b87337fadf38ee2a7c4314dac79'
+ 'SKIP'
+ '3e963df3f9f7ef3572ecc648ae829315')
Copied: gpsd/repos/staging-x86_64/gpsd.conf (from rev 245493, gpsd/trunk/gpsd.conf)
===================================================================
--- staging-x86_64/gpsd.conf (rev 0)
+++ staging-x86_64/gpsd.conf 2015-09-07 19:38:40 UTC (rev 245494)
@@ -0,0 +1,5 @@
+# Default settings for gpsd.
+START_DAEMON="true"
+GPSD_OPTIONS=""
+DEVICES=""
+USBAUTO="true"
Copied: gpsd/repos/staging-x86_64/gpsd.install (from rev 245493, gpsd/trunk/gpsd.install)
===================================================================
--- staging-x86_64/gpsd.install (rev 0)
+++ staging-x86_64/gpsd.install 2015-09-07 19:38:40 UTC (rev 245494)
@@ -0,0 +1,11 @@
+post_install() {
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ update-desktop-database -q
+}
+
+post_remove() {
+ update-desktop-database -q
+}
More information about the arch-commits
mailing list