diff --git a/science/gis/gpsd/actions.py b/science/gis/gpsd/actions.py index c1c3a67ddb..072bca0dfd 100644 --- a/science/gis/gpsd/actions.py +++ b/science/gis/gpsd/actions.py @@ -8,33 +8,28 @@ from pisi.actionsapi import autotools from pisi.actionsapi import pisitools from pisi.actionsapi import shelltools from pisi.actionsapi import get - -def setup(): - shelltools.touch("%s/ChangeLog" % get.curDIR()) - autotools.autoreconf("-fi") - - autotools.configure("--disable-static \ - --disable-libQgpsmm \ - --enable-dbus") - - pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ") - +from pisi.actionsapi import scons + +shelltools.export("PYTHONDONTWRITEBYTECODE", "1") def build(): - autotools.make() + scons.make( "prefix=/usr \ + systemd=no \ + libQgpsmm=no \ + PYTHONPATH=/usr/bin/python") def install(): - autotools.install() + scons.install("--install-sandbox=%s" % get.installDIR()) # We're using conf.d instead of sysconfig - pisitools.dosed("gpsd.hotplug.wrapper", "sysconfig\/", "conf.d/") + #pisitools.dosed("gpsd.hotplug.wrapper", "sysconfig\/", "conf.d/") # Install UDEV files pisitools.insinto("/lib/udev/rules.d", "gpsd.rules", "99-gpsd.rules") pisitools.dobin("gpsd.hotplug", "/lib/udev") - pisitools.dobin("gpsd.hotplug.wrapper", "/lib/udev") + #pisitools.dobin("gpsd.hotplug.wrapper", "/lib/udev") # Fix permissions - shelltools.chmod("%s/usr/lib/%s/site-packages/gps/gps.py" % (get.installDIR(), get.curPYTHON())) + #lsshelltools.chmod("%s/usr/lib/%s/site-packages/gps/gps.py" % (get.installDIR(), get.curPYTHON())) pisitools.dodoc("README", "TODO", "AUTHORS", "COPYING") diff --git a/science/gis/gpsd/actions.py.old b/science/gis/gpsd/actions.py.old new file mode 100644 index 0000000000..c1c3a67ddb --- /dev/null +++ b/science/gis/gpsd/actions.py.old @@ -0,0 +1,40 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/licenses/gpl.txt + +from pisi.actionsapi import autotools +from pisi.actionsapi import pisitools +from pisi.actionsapi import shelltools +from pisi.actionsapi import get + +def setup(): + shelltools.touch("%s/ChangeLog" % get.curDIR()) + autotools.autoreconf("-fi") + + autotools.configure("--disable-static \ + --disable-libQgpsmm \ + --enable-dbus") + + pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ") + + +def build(): + autotools.make() + +def install(): + autotools.install() + + # We're using conf.d instead of sysconfig + pisitools.dosed("gpsd.hotplug.wrapper", "sysconfig\/", "conf.d/") + + # Install UDEV files + pisitools.insinto("/lib/udev/rules.d", "gpsd.rules", "99-gpsd.rules") + pisitools.dobin("gpsd.hotplug", "/lib/udev") + pisitools.dobin("gpsd.hotplug.wrapper", "/lib/udev") + + # Fix permissions + shelltools.chmod("%s/usr/lib/%s/site-packages/gps/gps.py" % (get.installDIR(), get.curPYTHON())) + + pisitools.dodoc("README", "TODO", "AUTHORS", "COPYING") diff --git a/science/gis/gpsd/pspec.xml b/science/gis/gpsd/pspec.xml index 1714860c32..04f3180b02 100644 --- a/science/gis/gpsd/pspec.xml +++ b/science/gis/gpsd/pspec.xml @@ -3,7 +3,7 @@ gpsd - http://gpsd.berlios.de + http://catb.org/gpsd/ PisiLinux Community admins@pisilinux.org @@ -11,15 +11,25 @@ BSD GPS daemon and library to support serial/USB GPS devices gpsd is a service daemon that monitor one or more GPSes attached to a host computer through serial or USB ports, making all data of the sensors available to be queried on TCP port 2947 of the host computer. - http://www.openadk.org/distfiles/gpsd-2.95.tar.gz + http://download.savannah.gnu.org/releases/gpsd/gpsd-3.15.tar.gz xmlto + libusb-devel + desktop-file-utils + ncurses-devel + python-devel + dbus-devel + bluez-libs-devel + util-linux + libxslt + scons + docbook-xsl - + @@ -45,7 +55,7 @@ - + - + + + 2015-07-09 + 3.15 + Version bump. + Ertuğrul Erata + ertugrulerata@gmail.com + 2014-09-13 2.95