Gentoo Archives: gentoo-commits

From: "Tomas Chvatal (scarabeus)" <scarabeus@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-geosciences/gpsd: ChangeLog gpsd-2.95.ebuild
Date: Sun, 03 Oct 2010 16:17:06
Message-Id: 20101003161701.8916B20054@flycatcher.gentoo.org
1 scarabeus 10/10/03 16:17:01
2
3 Modified: ChangeLog gpsd-2.95.ebuild
4 Log:
5 Fix ldflags and strip issues. Bug #339114.
6
7 (Portage version: 2.2_rc88/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.52 sci-geosciences/gpsd/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-geosciences/gpsd/ChangeLog?rev=1.52&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-geosciences/gpsd/ChangeLog?rev=1.52&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-geosciences/gpsd/ChangeLog?r1=1.51&r2=1.52
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sci-geosciences/gpsd/ChangeLog,v
19 retrieving revision 1.51
20 retrieving revision 1.52
21 diff -u -r1.51 -r1.52
22 --- ChangeLog 30 Sep 2010 23:07:55 -0000 1.51
23 +++ ChangeLog 3 Oct 2010 16:17:01 -0000 1.52
24 @@ -1,6 +1,11 @@
25 # ChangeLog for sci-geosciences/gpsd
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gpsd/ChangeLog,v 1.51 2010/09/30 23:07:55 swegener Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gpsd/ChangeLog,v 1.52 2010/10/03 16:17:01 scarabeus Exp $
29 +
30 + 03 Oct 2010; Tomáš Chvátal <scarabeus@g.o>
31 + +files/2.95-disable-strip.patch, gpsd-2.95.ebuild,
32 + +files/2.95-fix-ldflags.patch:
33 + Fix ldflags and strip issues. Bug #339114.
34
35 30 Sep 2010; Sven Wegener <swegener@g.o> files/gpsd.init-2:
36 Change NAME to SVCNAME in init script.
37
38
39
40 1.2 sci-geosciences/gpsd/gpsd-2.95.ebuild
41
42 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-geosciences/gpsd/gpsd-2.95.ebuild?rev=1.2&view=markup
43 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-geosciences/gpsd/gpsd-2.95.ebuild?rev=1.2&content-type=text/plain
44 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-geosciences/gpsd/gpsd-2.95.ebuild?r1=1.1&r2=1.2
45
46 Index: gpsd-2.95.ebuild
47 ===================================================================
48 RCS file: /var/cvsroot/gentoo-x86/sci-geosciences/gpsd/gpsd-2.95.ebuild,v
49 retrieving revision 1.1
50 retrieving revision 1.2
51 diff -u -r1.1 -r1.2
52 --- gpsd-2.95.ebuild 26 Sep 2010 13:36:50 -0000 1.1
53 +++ gpsd-2.95.ebuild 3 Oct 2010 16:17:01 -0000 1.2
54 @@ -1,12 +1,12 @@
55 # Copyright 1999-2010 Gentoo Foundation
56 # Distributed under the terms of the GNU General Public License v2
57 -# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gpsd/gpsd-2.95.ebuild,v 1.1 2010/09/26 13:36:50 scarabeus Exp $
58 +# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gpsd/gpsd-2.95.ebuild,v 1.2 2010/10/03 16:17:01 scarabeus Exp $
59
60 EAPI=3
61
62 PYTHON_DEPEND="2:2.6"
63
64 -inherit python base
65 +inherit python base autotools
66
67 DESCRIPTION="GPS daemon and library to support USB/serial GPS devices and various GPS/mapping clients."
68 HOMEPAGE="http://gpsd.berlios.de/"
69 @@ -39,6 +39,11 @@
70 "
71 DEPEND="${RDEPEND}"
72
73 +PATCHES=(
74 + "${FILESDIR}/${PV}-disable-strip.patch"
75 + "${FILESDIR}/${PV}-fix-ldflags.patch"
76 +)
77 +
78 pkg_setup() {
79 python_set_active_version 2
80
81 @@ -46,6 +51,11 @@
82 enewuser gpsd -1 -1 -1 "uucp"
83 }
84
85 +src_prepare() {
86 + base_src_prepare
87 + eautoreconf
88 +}
89 +
90 src_configure() {
91 local myopts
92
93 @@ -73,7 +83,11 @@
94 }
95
96 src_install() {
97 - base_src_install
98 + # no it cant be done using emake cause it is non-compilant
99 + make DESTDIR="${D}" install || die
100 +
101 + # no need for .la files here
102 + find "${D}" -type f -name '*.la' -exec rm -f '{}' +
103
104 newconfd "${FILESDIR}"/gpsd.conf-2 gpsd || die
105 newinitd "${FILESDIR}"/gpsd.init-2 gpsd || die