1 |
nerdboy 09/07/18 17:47:15 |
2 |
|
3 |
Modified: metadata.xml ChangeLog gpsd-2.32.ebuild |
4 |
Added: gpsd-2.39.ebuild |
5 |
Removed: gpsd-2.36.ebuild gpsd-2.34-r1.ebuild |
6 |
gpsd-2.37.ebuild gpsd-2.33-r1.ebuild |
7 |
Log: |
8 |
Updated to latest stable upstream, cleaned up older unstable versions. |
9 |
(Portage version: 2.2_rc33/cvs/Linux x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.5 sci-geosciences/gpsd/metadata.xml |
13 |
|
14 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-geosciences/gpsd/metadata.xml?rev=1.5&view=markup |
15 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-geosciences/gpsd/metadata.xml?rev=1.5&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-geosciences/gpsd/metadata.xml?r1=1.4&r2=1.5 |
17 |
|
18 |
Index: metadata.xml |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/sci-geosciences/gpsd/metadata.xml,v |
21 |
retrieving revision 1.4 |
22 |
retrieving revision 1.5 |
23 |
diff -u -r1.4 -r1.5 |
24 |
--- metadata.xml 23 Mar 2009 03:25:39 -0000 1.4 |
25 |
+++ metadata.xml 18 Jul 2009 17:47:15 -0000 1.5 |
26 |
@@ -12,8 +12,8 @@ |
27 |
</longdescription> |
28 |
<use> |
29 |
<flag name='garmin'>Enable support for Garmin simple text protocol</flag> |
30 |
- <flag name='italk'>Enable iTalk protocol support</flag> |
31 |
- <flag name='itrax'>Enable iTrax hardware support</flag> |
32 |
+ <flag name='minimal'>Reduced install set, limited number of devices and |
33 |
+ client, no X deps</flag> |
34 |
<flag name='ntp'>Enable <pkg>net-misc/ntp</pkg> shared memory interface |
35 |
and PPS kernel support for GPS time</flag> |
36 |
<flag name='ocean'>Enable OceanServer support</flag> |
37 |
|
38 |
|
39 |
|
40 |
1.40 sci-geosciences/gpsd/ChangeLog |
41 |
|
42 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-geosciences/gpsd/ChangeLog?rev=1.40&view=markup |
43 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-geosciences/gpsd/ChangeLog?rev=1.40&content-type=text/plain |
44 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-geosciences/gpsd/ChangeLog?r1=1.39&r2=1.40 |
45 |
|
46 |
Index: ChangeLog |
47 |
=================================================================== |
48 |
RCS file: /var/cvsroot/gentoo-x86/sci-geosciences/gpsd/ChangeLog,v |
49 |
retrieving revision 1.39 |
50 |
retrieving revision 1.40 |
51 |
diff -u -r1.39 -r1.40 |
52 |
--- ChangeLog 5 Jun 2009 02:34:37 -0000 1.39 |
53 |
+++ ChangeLog 18 Jul 2009 17:47:15 -0000 1.40 |
54 |
@@ -1,6 +1,14 @@ |
55 |
# ChangeLog for sci-geosciences/gpsd |
56 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
57 |
-# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gpsd/ChangeLog,v 1.39 2009/06/05 02:34:37 nerdboy Exp $ |
58 |
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gpsd/ChangeLog,v 1.40 2009/07/18 17:47:15 nerdboy Exp $ |
59 |
+ |
60 |
+*gpsd-2.39 (18 Jul 2009) |
61 |
+ |
62 |
+ 18 Jul 2009; Steve Arnold <nerdboy@g.o> metadata.xml, |
63 |
+ gpsd-2.32.ebuild, -gpsd-2.33-r1.ebuild, -gpsd-2.34-r1.ebuild, |
64 |
+ -gpsd-2.36.ebuild, -gpsd-2.37.ebuild, +gpsd-2.39.ebuild: |
65 |
+ Updated to latest stable upstream, cleaned up older unstable versions |
66 |
+ (see bug # 276309). |
67 |
|
68 |
05 Jun 2009; Steve Arnold <nerdboy@g.o> files/99-gpsd-usb.rules, |
69 |
gpsd-2.38.ebuild: |
70 |
|
71 |
|
72 |
|
73 |
1.9 sci-geosciences/gpsd/gpsd-2.32.ebuild |
74 |
|
75 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-geosciences/gpsd/gpsd-2.32.ebuild?rev=1.9&view=markup |
76 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-geosciences/gpsd/gpsd-2.32.ebuild?rev=1.9&content-type=text/plain |
77 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-geosciences/gpsd/gpsd-2.32.ebuild?r1=1.8&r2=1.9 |
78 |
|
79 |
Index: gpsd-2.32.ebuild |
80 |
=================================================================== |
81 |
RCS file: /var/cvsroot/gentoo-x86/sci-geosciences/gpsd/gpsd-2.32.ebuild,v |
82 |
retrieving revision 1.8 |
83 |
retrieving revision 1.9 |
84 |
diff -u -r1.8 -r1.9 |
85 |
--- gpsd-2.32.ebuild 8 Sep 2008 03:46:33 -0000 1.8 |
86 |
+++ gpsd-2.32.ebuild 18 Jul 2009 17:47:15 -0000 1.9 |
87 |
@@ -1,6 +1,6 @@ |
88 |
-# Copyright 1999-2008 Gentoo Foundation |
89 |
+# Copyright 1999-2009 Gentoo Foundation |
90 |
# Distributed under the terms of the GNU General Public License v2 |
91 |
-# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gpsd/gpsd-2.32.ebuild,v 1.8 2008/09/08 03:46:33 nerdboy Exp $ |
92 |
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gpsd/gpsd-2.32.ebuild,v 1.9 2009/07/18 17:47:15 nerdboy Exp $ |
93 |
|
94 |
inherit eutils libtool distutils |
95 |
|
96 |
@@ -49,7 +49,7 @@ |
97 |
distutils_python_version |
98 |
export MY_ECONF="--with-pic $(use_with X x) $(use_enable dbus)" |
99 |
econf ${MY_ECONF} || die "econf failed" |
100 |
- emake LDFLAGS="${LDFLAGS} -lm" || die "emake failed" |
101 |
+ emake || die "emake failed" |
102 |
} |
103 |
|
104 |
src_install() { |
105 |
|
106 |
|
107 |
|
108 |
1.1 sci-geosciences/gpsd/gpsd-2.39.ebuild |
109 |
|
110 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-geosciences/gpsd/gpsd-2.39.ebuild?rev=1.1&view=markup |
111 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-geosciences/gpsd/gpsd-2.39.ebuild?rev=1.1&content-type=text/plain |
112 |
|
113 |
Index: gpsd-2.39.ebuild |
114 |
=================================================================== |
115 |
# Copyright 1999-2009 Gentoo Foundation |
116 |
# Distributed under the terms of the GNU General Public License v2 |
117 |
# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gpsd/gpsd-2.39.ebuild,v 1.1 2009/07/18 17:47:15 nerdboy Exp $ |
118 |
|
119 |
inherit autotools eutils distutils flag-o-matic |
120 |
|
121 |
DESCRIPTION="GPS daemon and library to support USB/serial GPS devices and various GPS/mapping clients." |
122 |
HOMEPAGE="http://gpsd.berlios.de/" |
123 |
SRC_URI="mirror://berlios/gpsd/${P}.tar.gz" |
124 |
|
125 |
LICENSE="BSD" |
126 |
SLOT="0" |
127 |
KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86" |
128 |
|
129 |
IUSE="dbus garmin minimal ntp ocean python tntc usb X" |
130 |
|
131 |
RDEPEND="X? ( |
132 |
x11-libs/libXmu |
133 |
x11-libs/libXext |
134 |
x11-libs/libXp |
135 |
x11-libs/libX11 |
136 |
x11-libs/libXt |
137 |
x11-libs/libSM |
138 |
x11-libs/libICE |
139 |
x11-libs/libXpm |
140 |
x11-libs/libXaw |
141 |
) |
142 |
python? ( dev-lang/python ) |
143 |
|
144 |
dbus? ( >=sys-apps/dbus-0.94 |
145 |
>=dev-libs/glib-2.6 |
146 |
dev-libs/dbus-glib ) |
147 |
ntp? ( net-misc/ntp ) |
148 |
usb? ( virtual/dev-manager )" |
149 |
|
150 |
DEPEND="${RDEPEND} |
151 |
X? ( |
152 |
x11-proto/xproto |
153 |
x11-proto/xextproto |
154 |
) |
155 |
!minimal? ( |
156 |
dev-libs/libxslt |
157 |
sys-libs/ncurses |
158 |
)" |
159 |
|
160 |
src_unpack() { |
161 |
unpack ${A} |
162 |
cd "${S}" |
163 |
# add -lm to setup.py again (see bug #250757) |
164 |
sed -i \ |
165 |
-e "s:, gpspacket_sources:, gpspacket_sources, libraries=['m']:g" \ |
166 |
-e "s:geoid.c\"]:geoid.c\"], libraries=['m']:g" \ |
167 |
setup.py || die "sed 1 failed" |
168 |
# fix Garmin text struct |
169 |
sed -i -e "s:RTCM2_PACKET;:RTCM2_PACKET,:g" \ |
170 |
drivers.c || die "sed 2 failed" |
171 |
# add missing include file (see bug #162361) |
172 |
sed -i -e "s:gps.h libgpsmm.h:gps.h libgpsmm.h gpsd_config.h:g" \ |
173 |
Makefile.am || die "sed 3 failed" |
174 |
|
175 |
eautoreconf |
176 |
} |
177 |
|
178 |
src_compile() { |
179 |
|
180 |
local my_conf="--enable-shared --with-pic --enable-static \ |
181 |
--disable-fast-install" |
182 |
# --enable-superstar2 is missing a header file |
183 |
|
184 |
use python && distutils_python_version |
185 |
|
186 |
if use ntp; then |
187 |
my_conf="${my_conf} --enable-ntpshm --enable-pps" |
188 |
else |
189 |
my_conf="${my_conf} --disable-ntpshm --disable-pps" |
190 |
fi |
191 |
|
192 |
if use minimal; then |
193 |
local max_clients="5" |
194 |
local max_devices="2" |
195 |
if ! use ntp; then |
196 |
my_conf="${my_conf} --disable-pps --disable-ntpshm" |
197 |
fi |
198 |
my_conf="${my_conf} --enable-squelch --without-x \ |
199 |
--enable-max-devices=${max_devices} \ |
200 |
--enable-max-clients=${max_clients}" |
201 |
|
202 |
WITH_XSLTPROC=no WITH_XMLTO=no econf ${my_conf} \ |
203 |
$(use_enable dbus) $(use_enable ocean oceanserver) \ |
204 |
$(use_enable tntc tnt) $(use_enable python) \ |
205 |
$(use_enable garmin garmintxt) || die "econf failed" |
206 |
else |
207 |
econf ${my_conf} $(use_enable dbus) $(use_enable tntc tnt) \ |
208 |
$(use_enable ocean oceanserver) $(use_enable python) \ |
209 |
$(use_enable garmin garmintxt) $(use_with X x) \ |
210 |
|| die "econf failed" |
211 |
fi |
212 |
|
213 |
# still needs an explicit link flag (bug #250757) |
214 |
append-ldflags -Wl,-z,-defs -Wl,--no-undefined |
215 |
|
216 |
emake -j1 || die "emake failed" |
217 |
} |
218 |
|
219 |
src_install() { |
220 |
|
221 |
make DESTDIR="${D}" install || die "make install failed" |
222 |
|
223 |
if ! test -x "${D}"usr/sbin/gpsd; then |
224 |
ewarn "gpsd link error detected; please re-emerge gpsd." |
225 |
fi |
226 |
|
227 |
if use usb ; then |
228 |
insinto /etc/hotplug/usb |
229 |
doins gpsd.usermap |
230 |
exeinto /etc/hotplug/usb |
231 |
doexe gpsd.hotplug |
232 |
insinto /etc/udev/rules.d |
233 |
doins "${FILESDIR}"/99-gpsd-usb.rules |
234 |
keepdir /var/run/usb # needed for REMOVER |
235 |
else |
236 |
newconfd "${FILESDIR}"/gpsd.conf gpsd |
237 |
newinitd "${FILESDIR}"/gpsd.init gpsd |
238 |
fi |
239 |
|
240 |
if use X && ! use minimal ; then |
241 |
insinto /etc/X11/app-defaults |
242 |
newins xgps.ad Xgps |
243 |
newins xgpsspeed.ad Xgpsspeed |
244 |
else |
245 |
rm "${D}usr/share/man/man1/xgpsspeed.1.bz2" \ |
246 |
"${D}usr/share/man/man1/xgps.1.bz2" |
247 |
fi |
248 |
|
249 |
use python && distutils_src_install |
250 |
|
251 |
dodoc INSTALL README TODO |
252 |
|
253 |
# add missing dgpsip-servers and capabilities files |
254 |
insinto /usr/share/${PN} |
255 |
doins dgpsip-servers gpscap.ini |
256 |
|
257 |
if use minimal; then |
258 |
doman gpsctl.1 gpsd.8 gps.1 cgps.1 gpxlogger.1 gpspipe.1 |
259 |
use python && doman gpsprof.1 |
260 |
else |
261 |
diropts "-m0644" |
262 |
dobin logextract |
263 |
use python && dobin striplog |
264 |
fi |
265 |
} |
266 |
|
267 |
pkg_postinst() { |
268 |
elog "" |
269 |
elog "This version of gpsd has broken support for the SuperStarII" |
270 |
elog "chipset which is currently disabled." |
271 |
elog "" |
272 |
elog "Other than the above, all default devices are enabled, and all" |
273 |
elog "optional devices and formats are controlled via USE flags." |
274 |
elog "" |
275 |
elog "Recent versions of udev (>=udev-115 or so) should have correct" |
276 |
elog "usb device detection and startup of gpsd (ie, without hotplug)." |
277 |
elog "" |
278 |
elog "Certain GPS devices also require the corresponding kernel options" |
279 |
elog "to be enabled, such as USB_SERIAL_GARMIN, or a USB serial driver" |
280 |
elog "for an adapter such as those that come with Deluo GPS units (eg," |
281 |
elog "USB_SERIAL_PL2303). Straight serial devices should always work," |
282 |
elog "even without udev/hotplug support." |
283 |
elog "" |
284 |
elog "Note: the supplied gpsd udev rules are now device-specific, so" |
285 |
elog "if your device isn't detected correctly, please use lsusb or" |
286 |
elog "another suitable tool to determine the proper device IDs and" |
287 |
elog "use the commented rules to fill in the blanks for your device." |
288 |
elog "" |
289 |
elog "Please see this post about the new capabilities database:" |
290 |
elog "" |
291 |
elog "http://lists.berlios.de/pipermail/gpsd-dev/2009-January/006333.html" |
292 |
elog "" |
293 |
elog "on current hardware, adding new hardware, etc. Read the above" |
294 |
elog "and the INSTALL doc for more information on supported hardware," |
295 |
elog "and make sure udev has the right group permissions set on the" |
296 |
elog "devices if using USB (it should Do The Right Thing (TM))..." |
297 |
elog "" |
298 |
} |