summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Arnold <nerdboy@gentoo.org>2008-03-01 21:35:42 +0000
committerSteve Arnold <nerdboy@gentoo.org>2008-03-01 21:35:42 +0000
commitd7835c4d4460e72f6588134290cd397c7525d908 (patch)
tree35203c601e718bcb7fa69339b32261eab9d0b66b /sci-geosciences
parentstable ppc, bug 211966 (diff)
downloadhistorical-d7835c4d4460e72f6588134290cd397c7525d908.tar.gz
historical-d7835c4d4460e72f6588134290cd397c7525d908.tar.bz2
historical-d7835c4d4460e72f6588134290cd397c7525d908.zip
cleaned up minimal use logic and updated for bug #211456
Package-Manager: portage-2.1.4.1
Diffstat (limited to 'sci-geosciences')
-rw-r--r--sci-geosciences/gpsd/ChangeLog6
-rw-r--r--sci-geosciences/gpsd/Manifest4
-rw-r--r--sci-geosciences/gpsd/gpsd-2.36.ebuild68
3 files changed, 48 insertions, 30 deletions
diff --git a/sci-geosciences/gpsd/ChangeLog b/sci-geosciences/gpsd/ChangeLog
index b73223546488..3b9d7548282d 100644
--- a/sci-geosciences/gpsd/ChangeLog
+++ b/sci-geosciences/gpsd/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-geosciences/gpsd
# 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 $
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gpsd/ChangeLog,v 1.30 2008/03/01 21:35:42 nerdboy Exp $
+
+ 01 Mar 2008; Steve Arnold <nerdboy@gentoo.org> gpsd-2.36.ebuild:
+ Cleaned up minimal use logic and updated for bug #211456; updated version
+ of 2.34-r1 waiting for user testing.
*gpsd-2.36 (23 Feb 2008)
diff --git a/sci-geosciences/gpsd/Manifest b/sci-geosciences/gpsd/Manifest
index afcbb0ec9440..97f87bdf1189 100644
--- a/sci-geosciences/gpsd/Manifest
+++ b/sci-geosciences/gpsd/Manifest
@@ -11,6 +11,6 @@ DIST gpsd-2.36.tar.gz 736220 RMD160 aa3c4741dba4c07f145f62fb027e2ba303d16284 SHA
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
+EBUILD gpsd-2.36.ebuild 4618 RMD160 880e298d4ad0014e2ea7d849c94128065982068a SHA1 3cf1e8449d2b9b2d73150648aa865cd86d83dc42 SHA256 86dc5af8f3eea5147545c00c819b682f9606516c20cf3849e63ea8f96b1c06b2
+MISC ChangeLog 6336 RMD160 9b651f4afe65e066f0dbbd2e1b7fb6b90691959e SHA1 1c42b851d2ebde1b828bb70a415f14ed239b80ce SHA256 88b2d443c7522f80609329f2abe6174d8333faa21aa97e60e5bdb64f987cdd0d
MISC metadata.xml 432 RMD160 5af3627f9b65a58e04c58e031fcc8d911aa9d9e1 SHA1 548e9d03dacdcc4beac0d58deac74e40b9dc96e1 SHA256 5076d78647d5149ffa3fb8795e8736a785929ae0c218d80938df272a1a57b14b
diff --git a/sci-geosciences/gpsd/gpsd-2.36.ebuild b/sci-geosciences/gpsd/gpsd-2.36.ebuild
index 07b4793976b8..de25c65b79d0 100644
--- a/sci-geosciences/gpsd/gpsd-2.36.ebuild
+++ b/sci-geosciences/gpsd/gpsd-2.36.ebuild
@@ -1,8 +1,11 @@
# 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 $
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gpsd/gpsd-2.36.ebuild,v 1.2 2008/03/01 21:35:42 nerdboy Exp $
-inherit eutils autotools distutils
+WANT_AUTOMAKE="latest"
+WANT_AUTOCONF=2.5
+
+inherit eutils autotools distutils flag-o-matic
DESCRIPTION="GPS daemon and library to support USB/serial GPS devices and various GPS/mapping clients."
HOMEPAGE="http://gpsd.berlios.de/"
@@ -28,9 +31,7 @@ RDEPEND="X? (
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 )
@@ -41,13 +42,14 @@ DEPEND="${RDEPEND}
X? (
x11-proto/xproto
x11-proto/xextproto
+ )
+ !minimal? (
+ dev-libs/libxslt
+ sys-libs/ncurses
)"
RESTRICT="test"
-WANT_AUTOMAKE="latest"
-WANT_AUTOCONF=2.5
-
src_unpack() {
unpack ${A}
cd "${S}"
@@ -70,20 +72,25 @@ src_compile() {
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} \
+ local max_devices="2"
+ if ! use ntp; then
+ my_conf="${my_conf} --disable-pps"
+ fi
+ my_conf="${my_conf} --enable-squelch --without-x \
--enable-max-devices=${max_devices} \
- --without-x"
+ --enable-max-clients=${max_clients}"
+
+ WITH_XSLTPROC=no WITH_XMLTO=no econf ${my_conf} \
+ $(use_enable dbus) $(use_enable italk) \
+ $(use_enable itrax) $(use_enable python) \
+ || die "econf failed"
else
- my_conf="${my_conf} $(use_with X x)"
+ econf ${my_conf} $(use_enable dbus) $(use_enable italk) \
+ $(use_enable itrax) $(use_enable python) $(use_with X x) \
+ || die "econf failed"
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)
+ # Support for the TNT digital compass is currently broken
+ # $(use_enable tntc tnt)
emake || die "emake failed"
}
@@ -109,6 +116,9 @@ src_install() {
insinto /etc/X11/app-defaults
newins xgps.ad Xgps
newins xgpsspeed.ad Xgpsspeed
+ else
+ rm "${D}usr/share/man/man1/xgpsspeed.1.bz2" \
+ "${D}usr/share/man/man1/xgps.1.bz2"
fi
diropts "-m0644"
@@ -119,7 +129,12 @@ src_install() {
doexe gps.py gpsfake.py gpspacket.so
fi
- dodoc AUTHORS INSTALL README TODO
+ if use minimal; then
+ doman gpsctl.1 gpsflash.1 gpspipe.1 gpsd.8 gps.1
+ use python && doman gpsprof.1 gpsfake.1 gpscat.1
+ fi
+
+ dodoc INSTALL README TODO
# add missing include file (see bug #162361)
insinto /usr/include
@@ -129,7 +144,7 @@ src_install() {
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 "and Garmin so they are 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"
@@ -138,15 +153,14 @@ pkg_postinst() {
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 "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 udev/hotplug support (assuming you have the serial"
- einfo "drivers enabled for your hardware)."
+ einfo "USB_SERIAL_PL2303). Straight serial devices should always work,"
+ einfo "even without udev/hotplug support."
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 "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 ""
}