Date: Monday, May 13, 2013 @ 22:14:10
  Author: tomegun
Revision: 185404

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  gpsd/repos/testing-i686/
  gpsd/repos/testing-i686/PKGBUILD
    (from rev 185403, gpsd/trunk/PKGBUILD)
  gpsd/repos/testing-i686/gpsd.conf
    (from rev 185403, gpsd/trunk/gpsd.conf)
  gpsd/repos/testing-i686/gpsd.install
    (from rev 185403, gpsd/trunk/gpsd.install)
  gpsd/repos/testing-x86_64/
  gpsd/repos/testing-x86_64/PKGBUILD
    (from rev 185403, gpsd/trunk/PKGBUILD)
  gpsd/repos/testing-x86_64/gpsd.conf
    (from rev 185403, gpsd/trunk/gpsd.conf)
  gpsd/repos/testing-x86_64/gpsd.install
    (from rev 185403, gpsd/trunk/gpsd.install)

-----------------------------+
 testing-i686/PKGBUILD       |   84 ++++++++++++++++++++++++++++++++++++++++++
 testing-i686/gpsd.conf      |    5 ++
 testing-i686/gpsd.install   |   11 +++++
 testing-x86_64/PKGBUILD     |   84 ++++++++++++++++++++++++++++++++++++++++++
 testing-x86_64/gpsd.conf    |    5 ++
 testing-x86_64/gpsd.install |   11 +++++
 6 files changed, 200 insertions(+)

Copied: gpsd/repos/testing-i686/PKGBUILD (from rev 185403, gpsd/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD                               (rev 0)
+++ testing-i686/PKGBUILD       2013-05-13 20:14:10 UTC (rev 185404)
@@ -0,0 +1,84 @@
+# $Id$
+# Maintainer: Tom Gundersen <t...@jklm.no>
+# Contributor: Andrea Scarpino <and...@archlinux.org>
+# Contributor: Sergej Pupykin <pupykin.s+a...@gmail.com>
+# Contributor: Giacomo Rizzo <a...@free-os.it>
+
+pkgname=gpsd
+pkgver=3.9
+pkgrel=2
+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/gpsd.conf')
+options=('!libtool')
+install="${pkgname}.install"
+source=("http://download.savannah.gnu.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.gz"{,.sig}
+        'gpsd.conf')
+
+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" "${pkgdir}/etc/gpsd.conf"
+
+  install -D -m644 "gpsd.rules" 
"${pkgdir}/usr/lib/udev/rules.d/25-gpsd-usb.rules"
+
+  sed -i 's|/etc/default/gpsd|/etc/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.so.20.0.0
+  chrpath -r /usr/lib/ "${pkgdir}"/usr/lib/libgpsd.so.21.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 -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 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+
+  # move to /usr/bin
+  sed -i -e 's,/usr/sbin,/usr/bin,g' 
"${pkgdir}/usr/lib/systemd/system/gpsd.service"
+  mv "${pkgdir}/usr/sbin/"* "${pkgdir}/usr/bin/"
+  rm -r "${pkgdir}/usr/sbin"
+}
+md5sums=('53a88f24a0973d23427e82e9a8914f19'
+         'SKIP'
+         '3e963df3f9f7ef3572ecc648ae829315')

Copied: gpsd/repos/testing-i686/gpsd.conf (from rev 185403, 
gpsd/trunk/gpsd.conf)
===================================================================
--- testing-i686/gpsd.conf                              (rev 0)
+++ testing-i686/gpsd.conf      2013-05-13 20:14:10 UTC (rev 185404)
@@ -0,0 +1,5 @@
+# Default settings for gpsd.
+START_DAEMON="true"
+GPSD_OPTIONS=""
+DEVICES=""
+USBAUTO="true"

Copied: gpsd/repos/testing-i686/gpsd.install (from rev 185403, 
gpsd/trunk/gpsd.install)
===================================================================
--- testing-i686/gpsd.install                           (rev 0)
+++ testing-i686/gpsd.install   2013-05-13 20:14:10 UTC (rev 185404)
@@ -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/testing-x86_64/PKGBUILD (from rev 185403, 
gpsd/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD                             (rev 0)
+++ testing-x86_64/PKGBUILD     2013-05-13 20:14:10 UTC (rev 185404)
@@ -0,0 +1,84 @@
+# $Id$
+# Maintainer: Tom Gundersen <t...@jklm.no>
+# Contributor: Andrea Scarpino <and...@archlinux.org>
+# Contributor: Sergej Pupykin <pupykin.s+a...@gmail.com>
+# Contributor: Giacomo Rizzo <a...@free-os.it>
+
+pkgname=gpsd
+pkgver=3.9
+pkgrel=2
+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/gpsd.conf')
+options=('!libtool')
+install="${pkgname}.install"
+source=("http://download.savannah.gnu.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.gz"{,.sig}
+        'gpsd.conf')
+
+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" "${pkgdir}/etc/gpsd.conf"
+
+  install -D -m644 "gpsd.rules" 
"${pkgdir}/usr/lib/udev/rules.d/25-gpsd-usb.rules"
+
+  sed -i 's|/etc/default/gpsd|/etc/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.so.20.0.0
+  chrpath -r /usr/lib/ "${pkgdir}"/usr/lib/libgpsd.so.21.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 -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 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+
+  # move to /usr/bin
+  sed -i -e 's,/usr/sbin,/usr/bin,g' 
"${pkgdir}/usr/lib/systemd/system/gpsd.service"
+  mv "${pkgdir}/usr/sbin/"* "${pkgdir}/usr/bin/"
+  rm -r "${pkgdir}/usr/sbin"
+}
+md5sums=('53a88f24a0973d23427e82e9a8914f19'
+         'SKIP'
+         '3e963df3f9f7ef3572ecc648ae829315')

Copied: gpsd/repos/testing-x86_64/gpsd.conf (from rev 185403, 
gpsd/trunk/gpsd.conf)
===================================================================
--- testing-x86_64/gpsd.conf                            (rev 0)
+++ testing-x86_64/gpsd.conf    2013-05-13 20:14:10 UTC (rev 185404)
@@ -0,0 +1,5 @@
+# Default settings for gpsd.
+START_DAEMON="true"
+GPSD_OPTIONS=""
+DEVICES=""
+USBAUTO="true"

Copied: gpsd/repos/testing-x86_64/gpsd.install (from rev 185403, 
gpsd/trunk/gpsd.install)
===================================================================
--- testing-x86_64/gpsd.install                         (rev 0)
+++ testing-x86_64/gpsd.install 2013-05-13 20:14:10 UTC (rev 185404)
@@ -0,0 +1,11 @@
+post_install() {
+    update-desktop-database -q
+}
+
+post_upgrade() {
+    update-desktop-database -q
+}
+
+post_remove() {
+    update-desktop-database -q
+}

Reply via email to