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.32.ebuild gpsd-2.95-r1.ebuild gpsd-2.95.ebuild
Date: Mon, 21 Feb 2011 03:29:24
Message-Id: 20110221032914.75FD620054@flycatcher.gentoo.org
1 nerdboy 11/02/21 03:29:14
2
3 Modified: ChangeLog gpsd-2.32.ebuild
4 Added: gpsd-2.95-r1.ebuild
5 Removed: gpsd-2.95.ebuild
6 Log:
7 Update for man pages, working tests, and missing header file.
8
9 (Portage version: 2.1.9.40/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.58 sci-geosciences/gpsd/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-geosciences/gpsd/ChangeLog?rev=1.58&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-geosciences/gpsd/ChangeLog?rev=1.58&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-geosciences/gpsd/ChangeLog?r1=1.57&r2=1.58
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/sci-geosciences/gpsd/ChangeLog,v
21 retrieving revision 1.57
22 retrieving revision 1.58
23 diff -u -r1.57 -r1.58
24 --- ChangeLog 25 Jan 2011 20:14:45 -0000 1.57
25 +++ ChangeLog 21 Feb 2011 03:29:14 -0000 1.58
26 @@ -1,6 +1,12 @@
27 # ChangeLog for sci-geosciences/gpsd
28 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gpsd/ChangeLog,v 1.57 2011/01/25 20:14:45 jer Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gpsd/ChangeLog,v 1.58 2011/02/21 03:29:14 nerdboy Exp $
31 +
32 +*gpsd-2.95-r1 (21 Feb 2011)
33 +
34 + 21 Feb 2011; Steve Arnold <nerdboy@g.o> -gpsd-2.95.ebuild,
35 + +gpsd-2.95-r1.ebuild:
36 + Update for man pages, working tests, and missing header file.
37
38 25 Jan 2011; Jeroen Roovers <jer@g.o> gpsd-2.38.ebuild,
39 gpsd-2.39-r1.ebuild:
40
41
42
43 1.13 sci-geosciences/gpsd/gpsd-2.32.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-geosciences/gpsd/gpsd-2.32.ebuild?rev=1.13&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-geosciences/gpsd/gpsd-2.32.ebuild?rev=1.13&content-type=text/plain
47 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-geosciences/gpsd/gpsd-2.32.ebuild?r1=1.12&r2=1.13
48
49 Index: gpsd-2.32.ebuild
50 ===================================================================
51 RCS file: /var/cvsroot/gentoo-x86/sci-geosciences/gpsd/gpsd-2.32.ebuild,v
52 retrieving revision 1.12
53 retrieving revision 1.13
54 diff -u -r1.12 -r1.13
55 --- gpsd-2.32.ebuild 21 Nov 2010 12:42:45 -0000 1.12
56 +++ gpsd-2.32.ebuild 21 Feb 2011 03:29:14 -0000 1.13
57 @@ -1,6 +1,6 @@
58 -# Copyright 1999-2010 Gentoo Foundation
59 +# Copyright 1999-2011 Gentoo Foundation
60 # Distributed under the terms of the GNU General Public License v2
61 -# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gpsd/gpsd-2.32.ebuild,v 1.12 2010/11/21 12:42:45 armin76 Exp $
62 +# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gpsd/gpsd-2.32.ebuild,v 1.13 2011/02/21 03:29:14 nerdboy Exp $
63
64 EAPI=1
65
66
67
68
69 1.1 sci-geosciences/gpsd/gpsd-2.95-r1.ebuild
70
71 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-geosciences/gpsd/gpsd-2.95-r1.ebuild?rev=1.1&view=markup
72 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-geosciences/gpsd/gpsd-2.95-r1.ebuild?rev=1.1&content-type=text/plain
73
74 Index: gpsd-2.95-r1.ebuild
75 ===================================================================
76 # Copyright 1999-2011 Gentoo Foundation
77 # Distributed under the terms of the GNU General Public License v2
78 # $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gpsd/gpsd-2.95-r1.ebuild,v 1.1 2011/02/21 03:29:14 nerdboy Exp $
79
80 EAPI=3
81
82 PYTHON_DEPEND="2:2.6"
83
84 inherit python base autotools
85
86 DESCRIPTION="GPS daemon and library to support USB/serial GPS devices and various GPS/mapping clients."
87 HOMEPAGE="http://gpsd.berlios.de/"
88 SRC_URI="mirror://berlios/gpsd/${P}.tar.gz"
89
90 LICENSE="BSD"
91 SLOT="0"
92 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
93
94 GPSD_PROTOCOLS="ashtech aivdm clientdebug earthmate evermore fv18 garmin
95 garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver
96 oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip
97 tripmate tnt ubx"
98 for protocol in ${GPSD_PROTOCOLS}; do
99 IUSE_GPSD_PROTOCOLS+=" gpsd_protocols_${protocol}"
100 done
101
102 IUSE="${IUSE_GPSD_PROTOCOLS} dbus ipv6 ntp qt4"
103
104 # those harddeps are de-facto automagicall
105 RDEPEND="
106 dev-python/pygtk
107 sys-libs/ncurses
108 virtual/libusb:1
109 dbus? (
110 sys-apps/dbus
111 dev-libs/dbus-glib
112 )
113 ntp? ( net-misc/ntp )
114 qt4? ( x11-libs/qt-gui )"
115
116 DEPEND="${RDEPEND}
117 app-text/xmlto"
118
119 PATCHES=(
120 "${FILESDIR}/${PV}-disable-strip.patch"
121 "${FILESDIR}/${PV}-fix-ldflags.patch"
122 )
123
124 pkg_setup() {
125 python_set_active_version 2
126
127 # Run the gpsd daemon as gpsd and group uucp
128 enewuser gpsd -1 -1 -1 "uucp"
129 }
130
131 src_prepare() {
132 base_src_prepare
133 eautoreconf
134 }
135
136 src_configure() {
137 local myopts
138
139 # enable specified protocols
140 for protocol in ${GPSD_PROTOCOLS}; do
141 myopts+=" $(use_enable gpsd_protocols_${protocol} ${protocol})"
142 done
143
144 if ! use qt4 ; then
145 myopts+=" --disable-libQgpsmm --disable-libgpsmm ${myopts}"
146 fi
147
148 # --disable-bluetooth: considered experimental -> disable
149 # --enable-static is required for tests, see bug 355071
150 # Hack to make it not generate docs on the fly; xmlto is
151 # needed for man pages (xsltproc is only needed for web pages)
152 econf WITH_XMLTO=yes WITH_XSLTPROC=no \
153 --build=${CBUILD} \
154 --disable-dependency-tracking \
155 --disable-bluetooth \
156 --enable-static \
157 --enable-gpsd-user=gpsd \
158 --enable-gpsd-group=uucp \
159 $(use_enable dbus) \
160 $(use_enable ipv6) \
161 $(use_enable ntp ntpshm) \
162 $(use_enable ntp pps) \
163 ${myopts}
164 }
165
166 src_install() {
167 # no it can't be done using emake cause it is non-compliant
168 make DESTDIR="${D}" install || die
169
170 # needs this header for libQgpsmm
171 if use qt4 ; then
172 insinto /usr/include
173 doins libQgpsmm/libQgpsmm_global.h
174 fi
175
176 # no need for .la files here
177 find "${D}" -type f -name '*.la' -exec rm -f '{}' +
178
179 newconfd "${FILESDIR}"/gpsd.conf-2 gpsd || die
180 newinitd "${FILESDIR}"/gpsd.init-2 gpsd || die
181 }