Gentoo Archives: gentoo-commits

From: "Steve Arnold (nerdboy)" <nerdboy@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-geosciences/gpsd: ChangeLog gpsd-2.34-r1.ebuild gpsd-2.32.ebuild gpsd-2.33-r1.ebuild gpsd-2.36.ebuild
Date: Sat, 23 Feb 2008 20:04:03
Message-Id: E1JT0bH-0000sf-0C@stork.gentoo.org
1 nerdboy 08/02/23 20:03:58
2
3 Modified: ChangeLog gpsd-2.34-r1.ebuild gpsd-2.32.ebuild
4 gpsd-2.33-r1.ebuild
5 Added: gpsd-2.36.ebuild
6 Log:
7 updated to latest version and new udev rules (closes bug #210079)
8 (Portage version: 2.1.4.1)
9
10 Revision Changes Path
11 1.29 sci-geosciences/gpsd/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-geosciences/gpsd/ChangeLog?rev=1.29&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-geosciences/gpsd/ChangeLog?rev=1.29&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-geosciences/gpsd/ChangeLog?r1=1.28&r2=1.29
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sci-geosciences/gpsd/ChangeLog,v
20 retrieving revision 1.28
21 retrieving revision 1.29
22 diff -u -r1.28 -r1.29
23 --- ChangeLog 22 Jul 2007 07:10:12 -0000 1.28
24 +++ ChangeLog 23 Feb 2008 20:03:58 -0000 1.29
25 @@ -1,6 +1,15 @@
26 # ChangeLog for sci-geosciences/gpsd
27 -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gpsd/ChangeLog,v 1.28 2007/07/22 07:10:12 dberkholz Exp $
29 +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gpsd/ChangeLog,v 1.29 2008/02/23 20:03:58 nerdboy Exp $
31 +
32 +*gpsd-2.36 (23 Feb 2008)
33 +
34 + 23 Feb 2008; Steve Arnold <nerdboy@g.o> +files/99-gpsd-usb.rules,
35 + files/gpsd.conf, +gpsd-2.36.ebuild:
36 + Updated to latest version and new udev rules (closes bug #210079). Note
37 + the new rules supercede the older ones (but the older ones were not
38 + installed by default anyway). The gpsd script is still installed
39 + under /etc/hotplug but it only depends on udev now.
40
41 22 Jul 2007; Donnie Berkholz <dberkholz@g.o>; gpsd-2.32.ebuild,
42 gpsd-2.33-r1.ebuild, gpsd-2.34-r1.ebuild:
43
44
45
46 1.3 sci-geosciences/gpsd/gpsd-2.34-r1.ebuild
47
48 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-geosciences/gpsd/gpsd-2.34-r1.ebuild?rev=1.3&view=markup
49 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-geosciences/gpsd/gpsd-2.34-r1.ebuild?rev=1.3&content-type=text/plain
50 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-geosciences/gpsd/gpsd-2.34-r1.ebuild?r1=1.2&r2=1.3
51
52 Index: gpsd-2.34-r1.ebuild
53 ===================================================================
54 RCS file: /var/cvsroot/gentoo-x86/sci-geosciences/gpsd/gpsd-2.34-r1.ebuild,v
55 retrieving revision 1.2
56 retrieving revision 1.3
57 diff -u -r1.2 -r1.3
58 --- gpsd-2.34-r1.ebuild 22 Jul 2007 07:10:12 -0000 1.2
59 +++ gpsd-2.34-r1.ebuild 23 Feb 2008 20:03:58 -0000 1.3
60 @@ -1,6 +1,6 @@
61 -# Copyright 1999-2007 Gentoo Foundation
62 +# Copyright 1999-2008 Gentoo Foundation
63 # Distributed under the terms of the GNU General Public License v2
64 -# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gpsd/gpsd-2.34-r1.ebuild,v 1.2 2007/07/22 07:10:12 dberkholz Exp $
65 +# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gpsd/gpsd-2.34-r1.ebuild,v 1.3 2008/02/23 20:03:58 nerdboy Exp $
66
67 inherit eutils autotools distutils
68
69 @@ -47,7 +47,7 @@
70
71 src_unpack() {
72 unpack ${A}
73 - cd ${S}
74 + cd "${S}"
75 eautoreconf
76 }
77
78 @@ -81,8 +81,8 @@
79 }
80
81 src_install() {
82 - cd ${S}
83 - make DESTDIR=${D} install
84 +
85 + make DESTDIR="${D}" install
86
87 if use usb ; then
88 insinto /etc/hotplug/usb
89 @@ -91,8 +91,8 @@
90 doexe gpsd.hotplug
91 keepdir /var/run/usb # needed for REMOVER
92 else
93 - newconfd ${FILESDIR}/gpsd.conf gpsd
94 - newinitd ${FILESDIR}/gpsd.init gpsd
95 + newconfd "${FILESDIR}"/gpsd.conf gpsd
96 + newinitd "${FILESDIR}"/gpsd.init gpsd
97 fi
98
99 if use X ; then
100 @@ -109,7 +109,7 @@
101 doexe gps.py gpsfake.py gpspacket.so
102 fi
103
104 - dodoc AUTHORS COPYING INSTALL README TODO
105 + dodoc AUTHORS INSTALL README TODO
106
107 # add missing include file (see bug #162361)
108 insinto /usr/include
109
110
111
112 1.5 sci-geosciences/gpsd/gpsd-2.32.ebuild
113
114 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-geosciences/gpsd/gpsd-2.32.ebuild?rev=1.5&view=markup
115 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-geosciences/gpsd/gpsd-2.32.ebuild?rev=1.5&content-type=text/plain
116 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-geosciences/gpsd/gpsd-2.32.ebuild?r1=1.4&r2=1.5
117
118 Index: gpsd-2.32.ebuild
119 ===================================================================
120 RCS file: /var/cvsroot/gentoo-x86/sci-geosciences/gpsd/gpsd-2.32.ebuild,v
121 retrieving revision 1.4
122 retrieving revision 1.5
123 diff -u -r1.4 -r1.5
124 --- gpsd-2.32.ebuild 25 Aug 2007 14:28:13 -0000 1.4
125 +++ gpsd-2.32.ebuild 23 Feb 2008 20:03:58 -0000 1.5
126 @@ -1,6 +1,6 @@
127 -# Copyright 1999-2007 Gentoo Foundation
128 +# Copyright 1999-2008 Gentoo Foundation
129 # Distributed under the terms of the GNU General Public License v2
130 -# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gpsd/gpsd-2.32.ebuild,v 1.4 2007/08/25 14:28:13 vapier Exp $
131 +# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gpsd/gpsd-2.32.ebuild,v 1.5 2008/02/23 20:03:58 nerdboy Exp $
132
133 inherit eutils libtool distutils
134
135 @@ -41,7 +41,7 @@
136
137 src_unpack() {
138 unpack ${A}
139 - cd ${S}
140 + cd "${S}"
141 elibtoolize
142 }
143
144 @@ -55,8 +55,8 @@
145 }
146
147 src_install() {
148 - cd ${S}
149 - make DESTDIR=${D} install
150 +
151 + make DESTDIR="${D}" install
152
153 if use usb ; then
154 sed -i -e "s/gpsd.hotplug/gpsd/g" gpsd.hotplug gpsd.usermap
155 @@ -65,8 +65,8 @@
156 exeinto /etc/hotplug/usb
157 newexe gpsd.hotplug gpsd
158 else
159 - newconfd ${FILESDIR}/gpsd.conf gpsd
160 - newinitd ${FILESDIR}/gpsd.init gpsd
161 + newconfd "${FILESDIR}"/gpsd.conf gpsd
162 + newinitd "${FILESDIR}"/gpsd.init gpsd
163 fi
164 if use X ; then
165 insinto /etc/X11/app-defaults
166 @@ -77,7 +77,7 @@
167 diropts "-m0644"
168 exeinto /usr/$(get_libdir)/python${PYVER}/site-packages
169 doexe gps.py gpsfake.py
170 - dodoc AUTHORS HACKING INSTALL README TODO ${FILESDIR}/40-usb-serial.rules
171 + dodoc AUTHORS HACKING INSTALL README TODO "${FILESDIR}"/40-usb-serial.rules
172 }
173
174 pkg_postinst() {
175
176
177
178 1.4 sci-geosciences/gpsd/gpsd-2.33-r1.ebuild
179
180 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-geosciences/gpsd/gpsd-2.33-r1.ebuild?rev=1.4&view=markup
181 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-geosciences/gpsd/gpsd-2.33-r1.ebuild?rev=1.4&content-type=text/plain
182 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-geosciences/gpsd/gpsd-2.33-r1.ebuild?r1=1.3&r2=1.4
183
184 Index: gpsd-2.33-r1.ebuild
185 ===================================================================
186 RCS file: /var/cvsroot/gentoo-x86/sci-geosciences/gpsd/gpsd-2.33-r1.ebuild,v
187 retrieving revision 1.3
188 retrieving revision 1.4
189 diff -u -r1.3 -r1.4
190 --- gpsd-2.33-r1.ebuild 22 Jul 2007 07:10:12 -0000 1.3
191 +++ gpsd-2.33-r1.ebuild 23 Feb 2008 20:03:58 -0000 1.4
192 @@ -1,6 +1,6 @@
193 -# Copyright 1999-2007 Gentoo Foundation
194 +# Copyright 1999-2008 Gentoo Foundation
195 # Distributed under the terms of the GNU General Public License v2
196 -# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gpsd/gpsd-2.33-r1.ebuild,v 1.3 2007/07/22 07:10:12 dberkholz Exp $
197 +# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gpsd/gpsd-2.33-r1.ebuild,v 1.4 2008/02/23 20:03:58 nerdboy Exp $
198
199 inherit eutils libtool distutils
200
201 @@ -41,10 +41,11 @@
202 RESTRICT="test"
203
204 src_unpack() {
205 +
206 unpack ${A}
207 - epatch ${FILESDIR}/${P}-duplicate-device-add-hang.patch
208 - epatch ${FILESDIR}/${P}-hotplug-background-fix.patch
209 - cd ${S}
210 + epatch "${FILESDIR}"/${P}-duplicate-device-add-hang.patch
211 + epatch "${FILESDIR}"/${P}-hotplug-background-fix.patch
212 + cd "${S}"
213 elibtoolize
214 }
215
216 @@ -70,8 +71,7 @@
217 }
218
219 src_install() {
220 - cd ${S}
221 - make DESTDIR=${D} install
222 + make DESTDIR="${D}" install
223
224 if use usb ; then
225 sed -i -e "s/gpsd.hotplug/gpsd/g" gpsd.hotplug gpsd.usermap
226 @@ -81,8 +81,8 @@
227 newexe gpsd.hotplug gpsd
228 keepdir /var/run/usb # needed for REMOVER
229 else
230 - newconfd ${FILESDIR}/gpsd.conf gpsd
231 - newinitd ${FILESDIR}/gpsd.init gpsd
232 + newconfd "${FILESDIR}"/gpsd.conf gpsd
233 + newinitd "${FILESDIR}"/gpsd.init gpsd
234 fi
235 if use X ; then
236 insinto /etc/X11/app-defaults
237 @@ -93,7 +93,7 @@
238 diropts "-m0644"
239 exeinto /usr/$(get_libdir)/python${PYVER}/site-packages
240 doexe gps.py gpsfake.py
241 - dodoc AUTHORS HACKING INSTALL README TODO ${FILESDIR}/40-usb-serial.rules
242 + dodoc AUTHORS HACKING INSTALL README TODO "${FILESDIR}"/40-usb-serial.rules
243 }
244
245 pkg_postinst() {
246
247
248
249 1.1 sci-geosciences/gpsd/gpsd-2.36.ebuild
250
251 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-geosciences/gpsd/gpsd-2.36.ebuild?rev=1.1&view=markup
252 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-geosciences/gpsd/gpsd-2.36.ebuild?rev=1.1&content-type=text/plain
253
254 Index: gpsd-2.36.ebuild
255 ===================================================================
256 # Copyright 1999-2008 Gentoo Foundation
257 # Distributed under the terms of the GNU General Public License v2
258 # $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gpsd/gpsd-2.36.ebuild,v 1.1 2008/02/23 20:03:58 nerdboy Exp $
259
260 inherit eutils autotools distutils
261
262 DESCRIPTION="GPS daemon and library to support USB/serial GPS devices and various GPS/mapping clients."
263 HOMEPAGE="http://gpsd.berlios.de/"
264 SRC_URI="http://download.berlios.de/gpsd/${P}.tar.gz"
265
266 LICENSE="BSD"
267 SLOT="0"
268 KEYWORDS="~arm ~amd64 ~ppc ~ppc64 ~sparc ~x86"
269
270 IUSE="dbus italk itrax minimal ntp python usb X"
271 # tnt support is broken in this version - add tntc back when fixed
272
273 RDEPEND="X? (
274 x11-libs/libXmu
275 x11-libs/libXext
276 x11-libs/libXp
277 x11-libs/libX11
278 x11-libs/libXt
279 x11-libs/libSM
280 x11-libs/libICE
281 x11-libs/libXpm
282 x11-libs/libXaw
283 virtual/motif
284 )
285 python? ( dev-lang/python )
286 app-text/xmlto
287 dev-libs/libxslt
288 sys-libs/ncurses
289 dbus? ( >=sys-apps/dbus-0.94
290 >=dev-libs/glib-2.6
291 dev-libs/dbus-glib )
292 ntp? ( net-misc/ntp )
293 usb? ( virtual/dev-manager )"
294
295 DEPEND="${RDEPEND}
296 X? (
297 x11-proto/xproto
298 x11-proto/xextproto
299 )"
300
301 RESTRICT="test"
302
303 WANT_AUTOMAKE="latest"
304 WANT_AUTOCONF=2.5
305
306 src_unpack() {
307 unpack ${A}
308 cd "${S}"
309 eautoreconf
310 }
311
312 src_compile() {
313
314 local my_conf="--enable-shared --with-pic --enable-static \
315 --disable-garmin --disable-garmintxt"
316 # Garmin support is broken in this version
317
318 use python && distutils_python_version
319
320 if use ntp; then
321 my_conf="${my_conf} --enable-ntpshm --enable-pps"
322 else
323 my_conf="${my_conf} --disable-ntpshm --disable-pps"
324 fi
325
326 if use minimal; then
327 local max_clients="5"
328 local max_devices="1"
329 my_conf="${my_conf} --enable-squelch --disable-pps"
330 my_conf="${my_conf} --enable-max-clients=${max_clients} \
331 --enable-max-devices=${max_devices} \
332 --without-x"
333 else
334 my_conf="${my_conf} $(use_with X x)"
335 fi
336
337 econf ${my_conf} $(use_enable dbus) $(use_enable python) \
338 $(use_enable italk) $(use_enable itrax) \
339 || die "econf failed"
340 # Support for the TNT digital compass is currently broken
341 # $(use_enable tntc tnt)
342
343 emake || die "emake failed"
344 }
345
346 src_install() {
347
348 make DESTDIR="${D}" install
349
350 if use usb ; then
351 insinto /etc/hotplug/usb
352 doins gpsd.usermap
353 exeinto /etc/hotplug/usb
354 doexe gpsd.hotplug
355 insinto /etc/udev/rules.d
356 doins "${FILESDIR}"/99-gpsd-usb.rules
357 keepdir /var/run/usb # needed for REMOVER
358 else
359 newconfd "${FILESDIR}"/gpsd.conf gpsd
360 newinitd "${FILESDIR}"/gpsd.init gpsd
361 fi
362
363 if use X && ! use minimal ; then
364 insinto /etc/X11/app-defaults
365 newins xgps.ad Xgps
366 newins xgpsspeed.ad Xgpsspeed
367 fi
368
369 diropts "-m0644"
370 dobin logextract
371
372 if use python ; then
373 exeinto /usr/$(get_libdir)/python${PYVER}/site-packages
374 doexe gps.py gpsfake.py gpspacket.so
375 fi
376
377 dodoc AUTHORS INSTALL README TODO
378
379 # add missing include file (see bug #162361)
380 insinto /usr/include
381 doins gpsd_config.h
382 }
383
384 pkg_postinst() {
385 einfo ""
386 einfo "This version of gpsd has broken the support for the TNT compass"
387 einfo "so it is temporarily disabled. If you need it, stay with the"
388 einfo "previous version for now. The minimal flag now removes X and"
389 einfo "enables the embedded device (ie, small footprint) support, but"
390 einfo "you'll need to modify the ebuild if you need to change either"
391 einfo "the number of clients or the number of devices. Although pps"
392 einfo "is enabled, it still needs the correct kernel patches. All"
393 einfo "recent versions of udev (>=udev-115 or so) should have correct"
394 einfo "usb device detection and startup of gpsd (ie, without hotplug)."
395 einfo ""
396 einfo "Most GPS devices will require the corresponding kernel options"
397 einfo "to be enabled, such as USB_SERIAL_GARMIN, or a USB serial driver"
398 einfo "for an adapter such as those that come with Deluo GPS units (eg,"
399 einfo "USB_SERIAL_PL2303). Straight serial devices should always work,"
400 einfo "even without udev/hotplug support (assuming you have the serial"
401 einfo "drivers enabled for your hardware)."
402 einfo ""
403 einfo "Read the INSTALL doc for more information on supported hardware,"
404 einfo "and make sure udev has the right group permissions set on the"
405 einfo "tty devices if using USB (it should Do The Right Thing (TM))..."
406 einfo ""
407 }
408
409
410
411 --
412 gentoo-commits@l.g.o mailing list