summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Arnold <nerdboy@gentoo.org>2006-05-27 02:21:42 +0000
committerSteve Arnold <nerdboy@gentoo.org>2006-05-27 02:21:42 +0000
commit0e4946c9331bd7b8a8eb28d9d4e1452fed5c6719 (patch)
tree72f8c607c2ff2512bfe797c12b81cf1dc072b1eb /sci-geosciences
parentrev bump for 0.4.x and 0.6.x series (diff)
downloadgentoo-2-0e4946c9331bd7b8a8eb28d9d4e1452fed5c6719.tar.gz
gentoo-2-0e4946c9331bd7b8a8eb28d9d4e1452fed5c6719.tar.bz2
gentoo-2-0e4946c9331bd7b8a8eb28d9d4e1452fed5c6719.zip
Stable bump for older versions, added latest version
(Portage version: 2.1_rc1-r3)
Diffstat (limited to 'sci-geosciences')
-rw-r--r--sci-geosciences/gpsd/ChangeLog9
-rw-r--r--sci-geosciences/gpsd/files/digest-gpsd-2.323
-rw-r--r--sci-geosciences/gpsd/gpsd-2.30-r1.ebuild8
-rw-r--r--sci-geosciences/gpsd/gpsd-2.31.ebuild8
-rw-r--r--sci-geosciences/gpsd/gpsd-2.32.ebuild119
5 files changed, 134 insertions, 13 deletions
diff --git a/sci-geosciences/gpsd/ChangeLog b/sci-geosciences/gpsd/ChangeLog
index 9ef5931121fb..a4a99b386696 100644
--- a/sci-geosciences/gpsd/ChangeLog
+++ b/sci-geosciences/gpsd/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sci-geosciences/gpsd
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gpsd/ChangeLog,v 1.13 2006/05/08 05:30:35 nerdboy Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gpsd/ChangeLog,v 1.14 2006/05/27 02:21:41 nerdboy Exp $
+
+*gpsd-2.32 (27 May 2006)
+
+ 27 May 2006; Steve Arnold <nerdboy@gentoo.org> gpsd-2.30-r1.ebuild,
+ gpsd-2.31.ebuild, +gpsd-2.32.ebuild:
+ Stable bump for older versions, added latest version, and reverted
+ the socket dir change.
08 May 2006; Steve Arnold <nerdboy@gentoo.org> files/gpsd.conf,
files/gpsd.init, gpsd-2.30-r1.ebuild, gpsd-2.31.ebuild:
diff --git a/sci-geosciences/gpsd/files/digest-gpsd-2.32 b/sci-geosciences/gpsd/files/digest-gpsd-2.32
new file mode 100644
index 000000000000..ef1b11715586
--- /dev/null
+++ b/sci-geosciences/gpsd/files/digest-gpsd-2.32
@@ -0,0 +1,3 @@
+MD5 4bb9b0c1642d36265c807a04da3d6f60 gpsd-2.32.tar.gz 617947
+RMD160 87cd19a4e8126ee98f8a6908829569a2a1dc5ccd gpsd-2.32.tar.gz 617947
+SHA256 95bee94daaf0168387152223fac186ba40d7b02657bfc0336c90edc5ea15bf10 gpsd-2.32.tar.gz 617947
diff --git a/sci-geosciences/gpsd/gpsd-2.30-r1.ebuild b/sci-geosciences/gpsd/gpsd-2.30-r1.ebuild
index 4e0efb6452b0..ed134bc29e70 100644
--- a/sci-geosciences/gpsd/gpsd-2.30-r1.ebuild
+++ b/sci-geosciences/gpsd/gpsd-2.30-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gpsd/gpsd-2.30-r1.ebuild,v 1.3 2006/05/08 05:30:35 nerdboy Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gpsd/gpsd-2.30-r1.ebuild,v 1.4 2006/05/27 02:21:41 nerdboy Exp $
inherit eutils libtool distutils
@@ -10,7 +10,7 @@ SRC_URI="http://download.berlios.de/gpsd/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
-KEYWORDS="~arm ~amd64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~arm amd64 ppc ~ppc64 ~sparc x86"
IUSE="X usb dbus"
@@ -67,7 +67,6 @@ src_install() {
if use usb ; then
sed -i -e "s/gpsd.hotplug/gpsd/g" gpsd.hotplug gpsd.usermap
- sed -i -e "s:run/gpsd.sock:run/gpsd/gpsd.sock:g" gpsd.hotplug
insinto /etc/hotplug/usb
doins gpsd.usermap
exeinto /etc/hotplug/usb
@@ -86,9 +85,6 @@ src_install() {
exeinto /usr/$(get_libdir)/python${PYVER}/site-packages
doexe gps.py gpsfake.py
dodoc AUTHORS HACKING INSTALL README TODO ${FILESDIR}/40-usb-serial.rules
- diropts "-m1755"
- dodir /var/run/gpsd
- fowners nobody /var/run/gpsd
}
pkg_postinst() {
diff --git a/sci-geosciences/gpsd/gpsd-2.31.ebuild b/sci-geosciences/gpsd/gpsd-2.31.ebuild
index 9bea5262af3a..2ce4073c5ca1 100644
--- a/sci-geosciences/gpsd/gpsd-2.31.ebuild
+++ b/sci-geosciences/gpsd/gpsd-2.31.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gpsd/gpsd-2.31.ebuild,v 1.4 2006/05/08 05:30:35 nerdboy Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gpsd/gpsd-2.31.ebuild,v 1.5 2006/05/27 02:21:41 nerdboy Exp $
inherit eutils libtool distutils
@@ -10,7 +10,7 @@ SRC_URI="http://download.berlios.de/gpsd/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
-KEYWORDS="~arm ~amd64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~arm amd64 ppc ~ppc64 ~sparc x86"
IUSE="X usb dbus"
@@ -67,7 +67,6 @@ src_install() {
if use usb ; then
sed -i -e "s/gpsd.hotplug/gpsd/g" gpsd.hotplug gpsd.usermap
- sed -i -e "s:run/gpsd.sock:run/gpsd/gpsd.sock:g" gpsd.hotplug
insinto /etc/hotplug/usb
doins gpsd.usermap
exeinto /etc/hotplug/usb
@@ -86,9 +85,6 @@ src_install() {
exeinto /usr/$(get_libdir)/python${PYVER}/site-packages
doexe gps.py gpsfake.py
dodoc AUTHORS HACKING INSTALL README TODO ${FILESDIR}/40-usb-serial.rules
- diropts "-m1755"
- dodir /var/run/gpsd
- fowners nobody /var/run/gpsd
}
pkg_postinst() {
diff --git a/sci-geosciences/gpsd/gpsd-2.32.ebuild b/sci-geosciences/gpsd/gpsd-2.32.ebuild
new file mode 100644
index 000000000000..71218f4cada8
--- /dev/null
+++ b/sci-geosciences/gpsd/gpsd-2.32.ebuild
@@ -0,0 +1,119 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gpsd/gpsd-2.32.ebuild,v 1.1 2006/05/27 02:21:41 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="~arm ~amd64 ~ppc ~ppc64 ~sparc ~x86"
+
+IUSE="X usb dbus"
+
+RDEPEND="X? ( || (
+ ( x11-libs/libXmu
+ x11-libs/libXext
+ x11-libs/libXp
+ x11-libs/libX11
+ x11-libs/libXt
+ x11-libs/libSM
+ x11-libs/libICE
+ x11-libs/libXpm
+ x11-libs/libXaw )
+ || (
+ x11-libs/openmotif
+ x11-libs/lesstif
+ )
+ ( virtual/motif
+ virtual/x11 )
+ )
+ )
+ usb? ( sys-apps/hotplug )
+ dbus? ( >=sys-apps/dbus-0.6 )
+ dev-lang/python
+ app-text/xmlto
+ virtual/libc
+ sys-devel/gcc"
+
+DEPEND="${RDEPEND}
+ X? ( || (
+ ( x11-proto/xproto x11-proto/xextproto )
+ virtual/x11
+ )
+ )"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ elibtoolize
+}
+
+RESTRICT="test"
+
+src_compile() {
+ distutils_python_version
+ export MY_ECONF="--with-pic $(use_with X x) $(use_enable dbus)"
+ econf ${MY_ECONF} || die "econf failed"
+ emake LDFLAGS="${LDFLAGS} -lm" || 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 /etc/X11/app-defaults
+ newins xgps.ad Xgps
+ newins xgpsspeed.ad Xgpsspeed
+ fi
+ dobin logextract
+ diropts "-m0644"
+ exeinto /usr/$(get_libdir)/python${PYVER}/site-packages
+ doexe gps.py gpsfake.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 may"
+ 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."
+}