nerdboy 08/02/23 20:03:58
Modified: ChangeLog gpsd-2.34-r1.ebuild gpsd-2.32.ebuild
gpsd-2.33-r1.ebuild
Added: gpsd-2.36.ebuild
Log:
updated to latest version and new udev rules (closes bug #210079)
(Portage version: 2.1.4.1)
Revision Changes Path
1.29 sci-geosciences/gpsd/ChangeLog
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-geosciences/gpsd/ChangeLog?rev=1.29&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-geosciences/gpsd/ChangeLog?rev=1.29&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-geosciences/gpsd/ChangeLog?r1=1.28&r2=1.29
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-geosciences/gpsd/ChangeLog,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- ChangeLog 22 Jul 2007 07:10:12 -0000 1.28
+++ ChangeLog 23 Feb 2008 20:03:58 -0000 1.29
@@ -1,6 +1,15 @@
# ChangeLog for sci-geosciences/gpsd
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gpsd/ChangeLog,v 1.28 2007/07/22 07:10:12 dberkholz Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gpsd/ChangeLog,v 1.29 2008/02/23 20:03:58 nerdboy Exp $
+
+*gpsd-2.36 (23 Feb 2008)
+
+ 23 Feb 2008; Steve Arnold <nerdboy@g.o> +files/99-gpsd-usb.rules,
+ files/gpsd.conf, +gpsd-2.36.ebuild:
+ Updated to latest version and new udev rules (closes bug #210079). Note
+ the new rules supercede the older ones (but the older ones were not
+ installed by default anyway). The gpsd script is still installed
+ under /etc/hotplug but it only depends on udev now.
22 Jul 2007; Donnie Berkholz <dberkholz@g.o>; gpsd-2.32.ebuild,
gpsd-2.33-r1.ebuild, gpsd-2.34-r1.ebuild:
1.3 sci-geosciences/gpsd/gpsd-2.34-r1.ebuild
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-geosciences/gpsd/gpsd-2.34-r1.ebuild?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-geosciences/gpsd/gpsd-2.34-r1.ebuild?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-geosciences/gpsd/gpsd-2.34-r1.ebuild?r1=1.2&r2=1.3
Index: gpsd-2.34-r1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-geosciences/gpsd/gpsd-2.34-r1.ebuild,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- gpsd-2.34-r1.ebuild 22 Jul 2007 07:10:12 -0000 1.2
+++ gpsd-2.34-r1.ebuild 23 Feb 2008 20:03:58 -0000 1.3
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gpsd/gpsd-2.34-r1.ebuild,v 1.2 2007/07/22 07:10:12 dberkholz Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gpsd/gpsd-2.34-r1.ebuild,v 1.3 2008/02/23 20:03:58 nerdboy Exp $
inherit eutils autotools distutils
@@ -47,7 +47,7 @@
src_unpack() {
unpack ${A}
- cd ${S}
+ cd "${S}"
eautoreconf
}
@@ -81,8 +81,8 @@
}
src_install() {
- cd ${S}
- make DESTDIR=${D} install
+
+ make DESTDIR="${D}" install
if use usb ; then
insinto /etc/hotplug/usb
@@ -91,8 +91,8 @@
doexe gpsd.hotplug
keepdir /var/run/usb # needed for REMOVER
else
- newconfd ${FILESDIR}/gpsd.conf gpsd
- newinitd ${FILESDIR}/gpsd.init gpsd
+ newconfd "${FILESDIR}"/gpsd.conf gpsd
+ newinitd "${FILESDIR}"/gpsd.init gpsd
fi
if use X ; then
@@ -109,7 +109,7 @@
doexe gps.py gpsfake.py gpspacket.so
fi
- dodoc AUTHORS COPYING INSTALL README TODO
+ dodoc AUTHORS INSTALL README TODO
# add missing include file (see bug #162361)
insinto /usr/include
1.5 sci-geosciences/gpsd/gpsd-2.32.ebuild
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-geosciences/gpsd/gpsd-2.32.ebuild?rev=1.5&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-geosciences/gpsd/gpsd-2.32.ebuild?rev=1.5&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-geosciences/gpsd/gpsd-2.32.ebuild?r1=1.4&r2=1.5
Index: gpsd-2.32.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-geosciences/gpsd/gpsd-2.32.ebuild,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- gpsd-2.32.ebuild 25 Aug 2007 14:28:13 -0000 1.4
+++ gpsd-2.32.ebuild 23 Feb 2008 20:03:58 -0000 1.5
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 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.4 2007/08/25 14:28:13 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gpsd/gpsd-2.32.ebuild,v 1.5 2008/02/23 20:03:58 nerdboy Exp $
inherit eutils libtool distutils
@@ -41,7 +41,7 @@
src_unpack() {
unpack ${A}
- cd ${S}
+ cd "${S}"
elibtoolize
}
@@ -55,8 +55,8 @@
}
src_install() {
- cd ${S}
- make DESTDIR=${D} install
+
+ make DESTDIR="${D}" install
if use usb ; then
sed -i -e "s/gpsd.hotplug/gpsd/g" gpsd.hotplug gpsd.usermap
@@ -65,8 +65,8 @@
exeinto /etc/hotplug/usb
newexe gpsd.hotplug gpsd
else
- newconfd ${FILESDIR}/gpsd.conf gpsd
- newinitd ${FILESDIR}/gpsd.init gpsd
+ newconfd "${FILESDIR}"/gpsd.conf gpsd
+ newinitd "${FILESDIR}"/gpsd.init gpsd
fi
if use X ; then
insinto /etc/X11/app-defaults
@@ -77,7 +77,7 @@
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
+ dodoc AUTHORS HACKING INSTALL README TODO "${FILESDIR}"/40-usb-serial.rules
}
pkg_postinst() {
1.4 sci-geosciences/gpsd/gpsd-2.33-r1.ebuild
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-geosciences/gpsd/gpsd-2.33-r1.ebuild?rev=1.4&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-geosciences/gpsd/gpsd-2.33-r1.ebuild?rev=1.4&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-geosciences/gpsd/gpsd-2.33-r1.ebuild?r1=1.3&r2=1.4
Index: gpsd-2.33-r1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-geosciences/gpsd/gpsd-2.33-r1.ebuild,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- gpsd-2.33-r1.ebuild 22 Jul 2007 07:10:12 -0000 1.3
+++ gpsd-2.33-r1.ebuild 23 Feb 2008 20:03:58 -0000 1.4
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gpsd/gpsd-2.33-r1.ebuild,v 1.3 2007/07/22 07:10:12 dberkholz Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gpsd/gpsd-2.33-r1.ebuild,v 1.4 2008/02/23 20:03:58 nerdboy Exp $
inherit eutils libtool distutils
@@ -41,10 +41,11 @@
RESTRICT="test"
src_unpack() {
+
unpack ${A}
- epatch ${FILESDIR}/${P}-duplicate-device-add-hang.patch
- epatch ${FILESDIR}/${P}-hotplug-background-fix.patch
- cd ${S}
+ epatch "${FILESDIR}"/${P}-duplicate-device-add-hang.patch
+ epatch "${FILESDIR}"/${P}-hotplug-background-fix.patch
+ cd "${S}"
elibtoolize
}
@@ -70,8 +71,7 @@
}
src_install() {
- cd ${S}
- make DESTDIR=${D} install
+ make DESTDIR="${D}" install
if use usb ; then
sed -i -e "s/gpsd.hotplug/gpsd/g" gpsd.hotplug gpsd.usermap
@@ -81,8 +81,8 @@
newexe gpsd.hotplug gpsd
keepdir /var/run/usb # needed for REMOVER
else
- newconfd ${FILESDIR}/gpsd.conf gpsd
- newinitd ${FILESDIR}/gpsd.init gpsd
+ newconfd "${FILESDIR}"/gpsd.conf gpsd
+ newinitd "${FILESDIR}"/gpsd.init gpsd
fi
if use X ; then
insinto /etc/X11/app-defaults
@@ -93,7 +93,7 @@
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
+ dodoc AUTHORS HACKING INSTALL README TODO "${FILESDIR}"/40-usb-serial.rules
}
pkg_postinst() {
1.1 sci-geosciences/gpsd/gpsd-2.36.ebuild
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-geosciences/gpsd/gpsd-2.36.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-geosciences/gpsd/gpsd-2.36.ebuild?rev=1.1&content-type=text/plain
Index: gpsd-2.36.ebuild
===================================================================
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gpsd/gpsd-2.36.ebuild,v 1.1 2008/02/23 20:03:58 nerdboy Exp $
inherit eutils autotools 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="dbus italk itrax minimal ntp python usb X"
# tnt support is broken in this version - add tntc back when fixed
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
virtual/motif
)
python? ( dev-lang/python )
app-text/xmlto
dev-libs/libxslt
sys-libs/ncurses
dbus? ( >=sys-apps/dbus-0.94
>=dev-libs/glib-2.6
dev-libs/dbus-glib )
ntp? ( net-misc/ntp )
usb? ( virtual/dev-manager )"
DEPEND="${RDEPEND}
X? (
x11-proto/xproto
x11-proto/xextproto
)"
RESTRICT="test"
WANT_AUTOMAKE="latest"
WANT_AUTOCONF=2.5
src_unpack() {
unpack ${A}
cd "${S}"
eautoreconf
}
src_compile() {
local my_conf="--enable-shared --with-pic --enable-static \
--disable-garmin --disable-garmintxt"
# Garmin support is broken in this version
use python && distutils_python_version
if use ntp; then
my_conf="${my_conf} --enable-ntpshm --enable-pps"
else
my_conf="${my_conf} --disable-ntpshm --disable-pps"
fi
if use minimal; then
local max_clients="5"
local max_devices="1"
my_conf="${my_conf} --enable-squelch --disable-pps"
my_conf="${my_conf} --enable-max-clients=${max_clients} \
--enable-max-devices=${max_devices} \
--without-x"
else
my_conf="${my_conf} $(use_with X x)"
fi
econf ${my_conf} $(use_enable dbus) $(use_enable python) \
$(use_enable italk) $(use_enable itrax) \
|| die "econf failed"
# Support for the TNT digital compass is currently broken
# $(use_enable tntc tnt)
emake || die "emake failed"
}
src_install() {
make DESTDIR="${D}" install
if use usb ; then
insinto /etc/hotplug/usb
doins gpsd.usermap
exeinto /etc/hotplug/usb
doexe gpsd.hotplug
insinto /etc/udev/rules.d
doins "${FILESDIR}"/99-gpsd-usb.rules
keepdir /var/run/usb # needed for REMOVER
else
newconfd "${FILESDIR}"/gpsd.conf gpsd
newinitd "${FILESDIR}"/gpsd.init gpsd
fi
if use X && ! use minimal ; then
insinto /etc/X11/app-defaults
newins xgps.ad Xgps
newins xgpsspeed.ad Xgpsspeed
fi
diropts "-m0644"
dobin logextract
if use python ; then
exeinto /usr/$(get_libdir)/python${PYVER}/site-packages
doexe gps.py gpsfake.py gpspacket.so
fi
dodoc AUTHORS INSTALL README TODO
# add missing include file (see bug #162361)
insinto /usr/include
doins gpsd_config.h
}
pkg_postinst() {
einfo ""
einfo "This version of gpsd has broken the support for the TNT compass"
einfo "so it is temporarily disabled. If you need it, stay with the"
einfo "previous version for now. The minimal flag now removes X and"
einfo "enables the embedded device (ie, small footprint) support, but"
einfo "you'll need to modify the ebuild if you need to change either"
einfo "the number of clients or the number of devices. Although pps"
einfo "is enabled, it still needs the correct kernel patches. All"
einfo "recent versions of udev (>=udev-115 or so) should have correct"
einfo "usb device detection and startup of gpsd (ie, without hotplug)."
einfo ""
einfo "Most GPS devices will 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 udev/hotplug support (assuming you have the serial"
einfo "drivers enabled for your hardware)."
einfo ""
einfo "Read the INSTALL doc for more information on supported hardware,"
einfo "and make sure udev has the right group permissions set on the"
einfo "tty devices if using USB (it should Do The Right Thing (TM))..."
einfo ""
}
--
gentoo-commits@g.o mailing list
|