diff options
Diffstat (limited to 'sci-geosciences')
-rw-r--r-- | sci-geosciences/gpsd/ChangeLog | 13 | ||||
-rw-r--r-- | sci-geosciences/gpsd/Manifest | 13 | ||||
-rw-r--r-- | sci-geosciences/gpsd/files/99-gpsd-usb.rules | 9 | ||||
-rw-r--r-- | sci-geosciences/gpsd/files/gpsd.conf | 5 | ||||
-rw-r--r-- | sci-geosciences/gpsd/gpsd-2.32.ebuild | 16 | ||||
-rw-r--r-- | sci-geosciences/gpsd/gpsd-2.33-r1.ebuild | 20 | ||||
-rw-r--r-- | sci-geosciences/gpsd/gpsd-2.34-r1.ebuild | 16 | ||||
-rw-r--r-- | sci-geosciences/gpsd/gpsd-2.36.ebuild | 152 |
8 files changed, 210 insertions, 34 deletions
diff --git a/sci-geosciences/gpsd/ChangeLog b/sci-geosciences/gpsd/ChangeLog index c96bf7493613..b73223546488 100644 --- a/sci-geosciences/gpsd/ChangeLog +++ b/sci-geosciences/gpsd/ChangeLog @@ -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@gentoo.org> +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@gentoo.org>; gpsd-2.32.ebuild, gpsd-2.33-r1.ebuild, gpsd-2.34-r1.ebuild: diff --git a/sci-geosciences/gpsd/Manifest b/sci-geosciences/gpsd/Manifest index 7d6028c79a28..afcbb0ec9440 100644 --- a/sci-geosciences/gpsd/Manifest +++ b/sci-geosciences/gpsd/Manifest @@ -1,13 +1,16 @@ AUX 40-usb-serial.rules 213 RMD160 f29e28c0ea6e349811d26676da9d9eea56dfb167 SHA1 7afbf73c4deda1f247cc4256bfd0a1cf08ec8a1c SHA256 39e131d15c59fcf23e946309a5aef91b5cbe515d2902d74aac87eeea2802c74a +AUX 99-gpsd-usb.rules 267 RMD160 711e223001aa060558c5027842bf15a70f6dae9e SHA1 4a3d43b732306b5b5e5e9a2d316894c6da17d552 SHA256 2ffba7431b8b325e0601058c93296719c10f549dd21882e0b2abba45e778995f AUX gpsd-2.33-duplicate-device-add-hang.patch 1094 RMD160 651375eacec543581266b3bfbf996ee31f4bbc03 SHA1 b00cd23f00bdd24280664c8a38efa752838909fe SHA256 504784c891073fa8825704c9e94598fceb1c95c0750566e230ace19e7c777b83 AUX gpsd-2.33-hotplug-background-fix.patch 2231 RMD160 1b5d0326501627ec99dd08fb10a2b0eaed2f69e1 SHA1 9ba7b5a3f802d12527ad6937121027a41ecccbce SHA256 acf258d1b15fda4aa303105a62807d28cde1173817a7e46ad719be479cf28a33 -AUX gpsd.conf 970 RMD160 df2a14d63048e5854a046b775beb006c9232f906 SHA1 a4aebb7b4bbac15485ada0993e6942e6a4f6d244 SHA256 8d6ed6b5fa2042764300fe6b865034be2e6feec508bc58f920c4d789abd303ff +AUX gpsd.conf 1067 RMD160 8447ea231556079586993b51836da40618b8b185 SHA1 e25bc5aa7acd239dc28fc850ab8debcdd55e8f59 SHA256 ac7e21d444926fe37377b8a6ed61773d17bf4c1faafe1474dee3e6b8d578e833 AUX gpsd.init 894 RMD160 44c6eba4d7e81fb7226e0432a2eba2ab30988d8a SHA1 3bc473dcca4ab4695ca68e679df63b949d974197 SHA256 7c5ade04f6ea215fcdb7cbe36fce2570568a7eb3795e874520983afe58193c82 DIST gpsd-2.32.tar.gz 617947 RMD160 87cd19a4e8126ee98f8a6908829569a2a1dc5ccd SHA1 9fd6010834f1c56e755ea6515dba80431544a277 SHA256 95bee94daaf0168387152223fac186ba40d7b02657bfc0336c90edc5ea15bf10 DIST gpsd-2.33.tar.gz 639348 RMD160 175b90cb8dda1d85964078a4f14cec84b0cc4885 SHA1 0dbb3dad459fc4a0ca7e4ba5884e67c93d4b679f SHA256 e6a055689ad05f6adba7dbb9490891a18a240d1a30e34424b3a034f4152f2c28 DIST gpsd-2.34.tar.gz 668063 RMD160 cefe9f08c8164597bd04e51622d2175a40781bdb SHA1 96d8ab99445dc68136e4ee3622a58f4c464f7510 SHA256 39e8d629da469d2032ad3554ff502d270e1037490707d7ae0e8a2de7b06263d8 -EBUILD gpsd-2.32.ebuild 3487 RMD160 e89e7033709d13d7435540c42417faaa1cb3d6c4 SHA1 4424ba5c51683e974ba2a25a994419fa6cc695ac SHA256 b5d3c4f4cc5c1d40a28f76e605b20d0d3004fc8dcff5d0b29a52e460ba2f37bb -EBUILD gpsd-2.33-r1.ebuild 3896 RMD160 bf381986c89223e0f4f5e26d8743f9b24335fd9f SHA1 364f6f9e5fb076a38fa5cff28873cfb147f25ba6 SHA256 2b9a57006c7ca4f16b1d7304ae9eb314577a40dcd781fe924fd609ce21e4ae55 -EBUILD gpsd-2.34-r1.ebuild 3895 RMD160 3b0a1886de89f25458525fc9cc84e114add84c65 SHA1 cd57196a51486ea78ceb03c8154edac150623fcc SHA256 61d27678e1f116e8b22499753c847ac015dc4c703f2bbdc8bec6bbd55f487978 -MISC ChangeLog 5749 RMD160 cffc5d487a12eefdb6332b1e3e86dd390c179801 SHA1 26cf1fcfa550a848ba84f3814d79f06c1d3f8b39 SHA256 e6888184894b468805e23a7400422e5720cb685230ef549ecdc70180dba7b33b +DIST gpsd-2.36.tar.gz 736220 RMD160 aa3c4741dba4c07f145f62fb027e2ba303d16284 SHA1 4faee0e3e1e5422702f354a85849fd4e8c3a98c2 SHA256 0c9bf796b932dab2baab70829780eccde4113c08ce649768facd5010d6da640a +EBUILD gpsd-2.32.ebuild 3490 RMD160 79741a30d6e2a21a0622e933c08c595035311874 SHA1 a76f5a4bac5d3ea56b84c4e4531aa3cf394e893c SHA256 0da18a0cebfa16cb1e45626bad6da574bd466468d40b8cde1fb090eb291de4cb +EBUILD gpsd-2.33-r1.ebuild 3900 RMD160 793986a5cf0a0e39734720fff0c4965b5b4b0495 SHA1 e6e43738fb802f1381e480eca39057bc843489d5 SHA256 2fb7b26253eeb25795a04770bd8d688eba73b12d0208ddabc7da233b78882472 +EBUILD gpsd-2.34-r1.ebuild 3885 RMD160 fd4c03adc1ae7aab766777e2844e334c1af3f272 SHA1 5c786154f2ff4ea84d7b48a91974bfc2a96cc38f SHA256 33e1ff21ad4699938f85f4160dcc2c40a2c8936f27455173eaac323ecc6fba6a +EBUILD gpsd-2.36.ebuild 4293 RMD160 1fb8ecd1b1027bef48d4d2c45acd6f0cd5094dd7 SHA1 29364dbae08358f5264465c9170fd68567a2072e SHA256 66c76f26a4e89fd19f82c225b698753861745629dc78a61df7a904d8b83e2837 +MISC ChangeLog 6153 RMD160 f258de22521f6be03d6ff74e92754c8ac239850f SHA1 fddeaae451947eccbaff9b8ca7b05deae2dfbc43 SHA256 c2c7264c84d8ca54d8a7341e729b4b130ec6792eb359bce9d36b32901f458c61 MISC metadata.xml 432 RMD160 5af3627f9b65a58e04c58e031fcc8d911aa9d9e1 SHA1 548e9d03dacdcc4beac0d58deac74e40b9dc96e1 SHA256 5076d78647d5149ffa3fb8795e8736a785929ae0c218d80938df272a1a57b14b diff --git a/sci-geosciences/gpsd/files/99-gpsd-usb.rules b/sci-geosciences/gpsd/files/99-gpsd-usb.rules new file mode 100644 index 000000000000..592b509314b8 --- /dev/null +++ b/sci-geosciences/gpsd/files/99-gpsd-usb.rules @@ -0,0 +1,9 @@ +# udev rules for the gpsd USB hotplugging (without hotplug) + +SUBSYSTEM!="tty", GOTO="gpsd-usb_rules_end" +ACTION!="add", GOTO="gpsd-usb_rules_end" + +KERNEL=="ttyUSB[0-9]*", SYMLINK="gps%n", RUN+="/etc/hotplug/usb/gpsd.hotplug add $root/%k" + +LABEL="gpsd-usb_rules_end" + diff --git a/sci-geosciences/gpsd/files/gpsd.conf b/sci-geosciences/gpsd/files/gpsd.conf index b96b63aa10d8..f9c7c4a2d763 100644 --- a/sci-geosciences/gpsd/files/gpsd.conf +++ b/sci-geosciences/gpsd/files/gpsd.conf @@ -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/files/gpsd.conf,v 1.5 2007/01/14 23:01:11 nerdboy Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gpsd/files/gpsd.conf,v 1.6 2008/02/23 20:03:59 nerdboy Exp $ # Config file for gpsd server @@ -21,5 +21,8 @@ #GPS_DEV="/dev/ttyS0 +# Use the following for gpsd with ntp instead of the older one below +#GPSD_OPTS="-n ${GPS_DEV}" + GPSD_OPTS="-P /var/run/gpsd.pid -f GPS0 -F /var/run/gpsd.sock" diff --git a/sci-geosciences/gpsd/gpsd-2.32.ebuild b/sci-geosciences/gpsd/gpsd-2.32.ebuild index 052a06a8741c..4963d948e335 100644 --- a/sci-geosciences/gpsd/gpsd-2.32.ebuild +++ b/sci-geosciences/gpsd/gpsd-2.32.ebuild @@ -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 @@ DEPEND="${RDEPEND} src_unpack() { unpack ${A} - cd ${S} + cd "${S}" elibtoolize } @@ -55,8 +55,8 @@ src_compile() { } 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 @@ src_install() { 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 @@ src_install() { 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() { diff --git a/sci-geosciences/gpsd/gpsd-2.33-r1.ebuild b/sci-geosciences/gpsd/gpsd-2.33-r1.ebuild index 32c451a115a2..a99041c90854 100644 --- a/sci-geosciences/gpsd/gpsd-2.33-r1.ebuild +++ b/sci-geosciences/gpsd/gpsd-2.33-r1.ebuild @@ -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 @@ DEPEND="${RDEPEND} 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_compile() { } 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 @@ src_install() { 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 @@ src_install() { 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() { diff --git a/sci-geosciences/gpsd/gpsd-2.34-r1.ebuild b/sci-geosciences/gpsd/gpsd-2.34-r1.ebuild index 694b4c13c444..b7da424b212c 100644 --- a/sci-geosciences/gpsd/gpsd-2.34-r1.ebuild +++ b/sci-geosciences/gpsd/gpsd-2.34-r1.ebuild @@ -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 @@ WANT_AUTOCONF=2.5 src_unpack() { unpack ${A} - cd ${S} + cd "${S}" eautoreconf } @@ -81,8 +81,8 @@ src_compile() { } src_install() { - cd ${S} - make DESTDIR=${D} install + + make DESTDIR="${D}" install if use usb ; then insinto /etc/hotplug/usb @@ -91,8 +91,8 @@ src_install() { 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 @@ src_install() { 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 diff --git a/sci-geosciences/gpsd/gpsd-2.36.ebuild b/sci-geosciences/gpsd/gpsd-2.36.ebuild new file mode 100644 index 000000000000..07b4793976b8 --- /dev/null +++ b/sci-geosciences/gpsd/gpsd-2.36.ebuild @@ -0,0 +1,152 @@ +# 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 "" +} |