summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Arnold <nerdboy@gentoo.org>2005-09-06 06:18:25 +0000
committerSteve Arnold <nerdboy@gentoo.org>2005-09-06 06:18:25 +0000
commit2a85ce24fbd6dff173181cdb8792fade0476c442 (patch)
treecc7518afa3c82b0f430e2f608a50ef03841259f0 /sci-geosciences
parentCleanup build system and dont filter k6 CFLAGS anymore #104953. (diff)
downloadgentoo-2-2a85ce24fbd6dff173181cdb8792fade0476c442.tar.gz
gentoo-2-2a85ce24fbd6dff173181cdb8792fade0476c442.tar.bz2
gentoo-2-2a85ce24fbd6dff173181cdb8792fade0476c442.zip
fixed dbus depends and added new version
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'sci-geosciences')
-rw-r--r--sci-geosciences/gpsd/ChangeLog10
-rw-r--r--sci-geosciences/gpsd/Manifest17
-rw-r--r--sci-geosciences/gpsd/files/digest-gpsd-2.25-r1 (renamed from sci-geosciences/gpsd/files/digest-gpsd-2.25)0
-rw-r--r--sci-geosciences/gpsd/files/digest-gpsd-2.291
-rw-r--r--sci-geosciences/gpsd/files/gpsd-2.25-SiRF.patch20
-rw-r--r--sci-geosciences/gpsd/gpsd-2.25-r1.ebuild (renamed from sci-geosciences/gpsd/gpsd-2.25.ebuild)7
-rw-r--r--sci-geosciences/gpsd/gpsd-2.26.ebuild8
-rw-r--r--sci-geosciences/gpsd/gpsd-2.29.ebuild95
8 files changed, 143 insertions, 15 deletions
diff --git a/sci-geosciences/gpsd/ChangeLog b/sci-geosciences/gpsd/ChangeLog
index 18ad399e6897..f754a83b555f 100644
--- a/sci-geosciences/gpsd/ChangeLog
+++ b/sci-geosciences/gpsd/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for sci-geosciences/gpsd
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gpsd/ChangeLog,v 1.4 2005/08/20 21:12:04 ribosome Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gpsd/ChangeLog,v 1.5 2005/09/06 06:18:25 nerdboy Exp $
+
+*gpsd-2.29 (06 Sep 2005)
+*gpsd-2.25-r1 (06 Sep 2005)
+
+ 06 Sep 2005; Steve Arnold <nerdboy@gentoo.org>
+ +files/gpsd-2.25-SiRF.patch, -gpsd-2.25.ebuild, +gpsd-2.25-r1.ebuild,
+ gpsd-2.26.ebuild, +gpsd-2.29.ebuild:
+ fixed dbus depends and added new version
20 Aug 2005; Olivier Fisette <ribosome@gentoo.org> gpsd-2.26.ebuild:
Depend on dbus version 0.23.4 or later (fixes bug #102049).
diff --git a/sci-geosciences/gpsd/Manifest b/sci-geosciences/gpsd/Manifest
index 6650150f5c6a..919c020406f1 100644
--- a/sci-geosciences/gpsd/Manifest
+++ b/sci-geosciences/gpsd/Manifest
@@ -1,12 +1,15 @@
-MD5 777248bf38c53c855d2b381befae0721 gpsd-2.25.ebuild 3603
-MD5 979f21aae19bdea6cf779fd9464d2ad2 gpsd-2.26.ebuild 3634
-MD5 18c038373992c23c60310d592aeef078 ChangeLog 1256
MD5 78ec9f0a49a5a89267a4b8953d904de9 metadata.xml 420
-MD5 99f9af655eb3229584632db5cc25d3a5 files/gpsd-2.26-python.patch 525
-MD5 20476e3f2208bbe360308b3d159b7d47 files/gpsd-2.26-dbus.patch 830
+MD5 9225f402d77929150b08cb2a728bce60 gpsd-2.26.ebuild 3639
+MD5 7a4649d92588a32e2e3f6c9e44d6245c ChangeLog 1514
+MD5 640750b11fa75f49011fac29bda58048 gpsd-2.25-r1.ebuild 3639
+MD5 ee29108ab8df70af90fb153f24ff2fc4 gpsd-2.29.ebuild 3133
MD5 f6622a741ad185c494741151fac6f920 files/40-usb-serial.rules 212
-MD5 2760a88bc02861b5ff0f752758db08a3 files/digest-gpsd-2.25 61
-MD5 516c464c491b74356c0583f15bbf754e files/digest-gpsd-2.26 61
MD5 b84a0fec652fc8df8b533eb160055841 files/gpsd.conf 867
MD5 56fd36d7f177ce4c229e2d61abcf7d15 files/gpsd.init 949
MD5 7e6d1d3e16536b0ccd1ad7f0c0d92c58 files/gpsd-2.25-y-format.patch 3987
+MD5 45dc7d436da7eb835597bd28d5f6d292 files/digest-gpsd-2.29 61
+MD5 20476e3f2208bbe360308b3d159b7d47 files/gpsd-2.26-dbus.patch 830
+MD5 99f9af655eb3229584632db5cc25d3a5 files/gpsd-2.26-python.patch 525
+MD5 516c464c491b74356c0583f15bbf754e files/digest-gpsd-2.26 61
+MD5 355d862d9200d39a11a276b18109254f files/gpsd-2.25-SiRF.patch 681
+MD5 2760a88bc02861b5ff0f752758db08a3 files/digest-gpsd-2.25-r1 61
diff --git a/sci-geosciences/gpsd/files/digest-gpsd-2.25 b/sci-geosciences/gpsd/files/digest-gpsd-2.25-r1
index 7c015bc52257..7c015bc52257 100644
--- a/sci-geosciences/gpsd/files/digest-gpsd-2.25
+++ b/sci-geosciences/gpsd/files/digest-gpsd-2.25-r1
diff --git a/sci-geosciences/gpsd/files/digest-gpsd-2.29 b/sci-geosciences/gpsd/files/digest-gpsd-2.29
new file mode 100644
index 000000000000..813db3af5ac5
--- /dev/null
+++ b/sci-geosciences/gpsd/files/digest-gpsd-2.29
@@ -0,0 +1 @@
+MD5 3ff80db0e7d906457e5a7a1b04fcb4ec gpsd-2.29.tar.gz 602411
diff --git a/sci-geosciences/gpsd/files/gpsd-2.25-SiRF.patch b/sci-geosciences/gpsd/files/gpsd-2.25-SiRF.patch
new file mode 100644
index 000000000000..5f4bb5a4d9e0
--- /dev/null
+++ b/sci-geosciences/gpsd/files/gpsd-2.25-SiRF.patch
@@ -0,0 +1,20 @@
+--- libgpsd_core.c.orig 2005-05-30 20:17:49.000000000 -0700
++++ libgpsd_core.c 2005-05-30 20:19:49.000000000 -0700
+@@ -407,7 +407,7 @@
+ gmtime_r(&intfixtime, &tm);
+ if (session->gpsdata.fix.mode > 1) {
+ sprintf(bufp,
+- "$GPGGA,%02d%02d%02d,%07.4f,%c,%08.4f,%c,%d,%02d,%s,%.1f,%c,",
++ "$GPGGA,%02d%02d%02d,%09.4f,%c,%010.4f,%c,%d,%02d,%s,%.1f,%c,",
+ tm.tm_hour,
+ tm.tm_min,
+ tm.tm_sec,
+@@ -435,7 +435,7 @@
+ bufp += strlen(bufp);
+ }
+ sprintf(bufp,
+- "$GPRMC,%02d%02d%02d,%c,%07.4f,%c,%08.4f,%c,%.4f,%.3f,%02d%02d%02d,,",
++ "$GPRMC,%02d%02d%02d,%c,%09.4f,%c,%010.4f,%c,%.4f,%.3f,%02d%02d%02d,,",
+ tm.tm_hour,
+ tm.tm_min,
+ tm.tm_sec,
diff --git a/sci-geosciences/gpsd/gpsd-2.25.ebuild b/sci-geosciences/gpsd/gpsd-2.25-r1.ebuild
index af737e1d78c6..6a6d16fde616 100644
--- a/sci-geosciences/gpsd/gpsd-2.25.ebuild
+++ b/sci-geosciences/gpsd/gpsd-2.25-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gpsd/gpsd-2.25.ebuild,v 1.3 2005/08/08 01:14:31 nerdboy Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gpsd/gpsd-2.25-r1.ebuild,v 1.1 2005/09/06 06:18:25 nerdboy Exp $
inherit eutils libtool distutils
@@ -18,7 +18,7 @@ DEPEND="X? ( virtual/motif
virtual/x11
)
usb? ( sys-apps/hotplug )
- dbus? ( >=sys-apps/dbus-0.23.4 )
+ dbus? ( =sys-apps/dbus-0.23.4* )
dev-lang/python
app-text/xmlto
virtual/libc
@@ -27,8 +27,9 @@ DEPEND="X? ( virtual/motif
src_unpack() {
unpack ${A}
cd ${S}
- # remove patch for >=2.26
+ # remove patch for >=2.27
epatch ${FILESDIR}/${P}-y-format.patch
+ epatch ${FILESDIR}/${P}-SiRF.patch
elibtoolize
}
diff --git a/sci-geosciences/gpsd/gpsd-2.26.ebuild b/sci-geosciences/gpsd/gpsd-2.26.ebuild
index 942b970ea87d..b70ea204fe21 100644
--- a/sci-geosciences/gpsd/gpsd-2.26.ebuild
+++ b/sci-geosciences/gpsd/gpsd-2.26.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gpsd/gpsd-2.26.ebuild,v 1.2 2005/08/20 21:12:04 ribosome Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gpsd/gpsd-2.26.ebuild,v 1.3 2005/09/06 06:18:25 nerdboy Exp $
inherit eutils libtool distutils
@@ -17,7 +17,7 @@ IUSE="X usb dbus"
DEPEND="X? ( virtual/motif
virtual/x11 )
usb? ( sys-apps/hotplug )
- dbus? ( >=sys-apps/dbus-0.23.4 )
+ dbus? ( =sys-apps/dbus-0.23.4* )
dev-lang/python
app-text/xmlto
virtual/libc
@@ -44,11 +44,11 @@ src_install() {
make DESTDIR=${D} install
if use usb ; then
-# sed -i -e "s/gpsd.hotplug/gpsd/g" gpsd.hotplug gpsd.usermap
+ sed -i -e "s/gpsd.hotplug/gpsd/g" gpsd.hotplug gpsd.usermap
insinto /etc/hotplug/usb
doins gpsd.usermap
exeinto /etc/hotplug/usb
- doexe gpsd.hotplug
+ newexe gpsd.hotplug gpsd
else
newconfd ${FILESDIR}/gpsd.conf gpsd
newinitd ${FILESDIR}/gpsd.init gpsd
diff --git a/sci-geosciences/gpsd/gpsd-2.29.ebuild b/sci-geosciences/gpsd/gpsd-2.29.ebuild
new file mode 100644
index 000000000000..dea4fe6c55c0
--- /dev/null
+++ b/sci-geosciences/gpsd/gpsd-2.29.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gpsd/gpsd-2.29.ebuild,v 1.1 2005/09/06 06:18:25 nerdboy Exp $
+
+inherit eutils libtool distutils
+
+DESCRIPTION="GPS daemon and library to support USB/serial GPS devices and various GPS/mapping clients."
+HOMEPAGE="http://gpsd.berlios.de/"
+SRC_URI="http://download.berlios.de/gpsd/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~amd64 ~ppc64 ~sparc ~arm"
+
+IUSE="X usb dbus"
+
+DEPEND="X? ( virtual/motif
+ virtual/x11
+ )
+ usb? ( sys-apps/hotplug )
+ dbus? ( =sys-apps/dbus-0.23.4* )
+ dev-lang/python
+ app-text/xmlto
+ virtual/libc
+ sys-devel/gcc"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ elibtoolize
+}
+
+src_compile() {
+ distutils_python_version
+ export MY_ECONF="--with-gnu-ld --with-pic $(use_with X x) $(use_enable dbus)"
+ econf ${MY_ECONF} || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ cd ${S}
+ make DESTDIR=${D} install
+
+ if use usb ; then
+ sed -i -e "s/gpsd.hotplug/gpsd/g" gpsd.hotplug gpsd.usermap
+ insinto /etc/hotplug/usb
+ doins gpsd.usermap
+ exeinto /etc/hotplug/usb
+ newexe gpsd.hotplug gpsd
+ else
+ newconfd ${FILESDIR}/gpsd.conf gpsd
+ newinitd ${FILESDIR}/gpsd.init gpsd
+ fi
+ if use X ; then
+ insinto /usr/lib/X11/app-defaults
+ newins xgps.ad xgps
+ newins xgpsspeed.ad xgpsspeed
+ fi
+ dobin logextract
+ diropts "-m0644"
+ exeinto /usr/lib/python${PYVER}/site-packages
+ doexe gps.py
+ dodoc AUTHORS HACKING INSTALL README TODO ${FILESDIR}/40-usb-serial.rules
+}
+
+pkg_postinst() {
+ einfo "To use hotplugging (USB devices) your kernel has to be compiled"
+ einfo "with CONFIG_HOTPLUG enabled and sys-apps/hotplug must be emerged"
+ einfo "(both usb and dbus support are optional)."
+ einfo
+ einfo "Different GPS devices require the corresponding kernel options"
+ einfo "to be enabled, such as USB_SERIAL_GARMIN, or a USB serial driver"
+ einfo "for an adapter, such as those that come with Deluo GPS units (eg,"
+ einfo "USB_SERIAL_PL2303). Straight serial devices should always work,"
+ einfo "even without hotplug support."
+ ewarn
+ ewarn "If your client connection shows no data when gpsd is started via"
+ ewarn "the normal hotplug action, then kill the existing gpsd process"
+ ewarn "and try starting it directly via something like:"
+ ewarn "sudo /usr/sbin/gpsd -p /dev/ttyUSB0"
+ ewarn "or whatever your device is. This will verify whether your device"
+ ewarn "is working or not."
+ ewarn
+ einfo "Read the INSTALL doc for more information on supported hardware,"
+ einfo "and make sure udev has the right group permissions set on the tty"
+ einfo "devices if using USB (it should Do The Right Thing (TM))..."
+ einfo
+ einfo "Finally, the default gpsd setup looks for /dev/ttyUSB0, in the"
+ einfo "case of the USB-serial adapter mentioned above. Depending on"
+ einfo "your default device scheme (ie, udev, devfs, static), you will"
+ einfo "need to create a device alias if the default name is different."
+ einfo "A udev rule file has been provided with an example rule in the"
+ einfo "docs directory. If the device names are correct, gpsd will"
+ einfo "start automatically when the GPS device is plugged in."
+}