Gentoo Archives: gentoo-commits

From: "Justin Lecher (jlec)" <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-laptop/i8kutils: ChangeLog i8kutils-1.25.ebuild i8kutils-1.25-r1.ebuild i8kutils-1.33.ebuild
Date: Sun, 01 Jul 2012 11:03:21
Message-Id: 20120701110309.C83492004B@flycatcher.gentoo.org
1 jlec 12/07/01 11:03:09
2
3 Modified: ChangeLog i8kutils-1.25.ebuild
4 i8kutils-1.25-r1.ebuild
5 Added: i8kutils-1.33.ebuild
6 Log:
7 app-laptop/i8kutils: Version BUmp, Correct HOMEPAGE, correct SRC_URI; respect CFLAGS, #240015; respect LDFLAGS, #337349; respect CC, #243602; handle examples installation through USE; move to EAPI=4
8
9 (Portage version: 2.2.0_alpha114/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.19 app-laptop/i8kutils/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-laptop/i8kutils/ChangeLog?rev=1.19&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-laptop/i8kutils/ChangeLog?rev=1.19&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-laptop/i8kutils/ChangeLog?r1=1.18&r2=1.19
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/app-laptop/i8kutils/ChangeLog,v
21 retrieving revision 1.18
22 retrieving revision 1.19
23 diff -u -r1.18 -r1.19
24 --- ChangeLog 1 Jul 2012 10:42:49 -0000 1.18
25 +++ ChangeLog 1 Jul 2012 11:03:09 -0000 1.19
26 @@ -1,10 +1,17 @@
27 # ChangeLog for app-laptop/i8kutils
28 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/app-laptop/i8kutils/ChangeLog,v 1.18 2012/07/01 10:42:49 jlec Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/app-laptop/i8kutils/ChangeLog,v 1.19 2012/07/01 11:03:09 jlec Exp $
31 +
32 +*i8kutils-1.33 (01 Jul 2012)
33 +
34 + 01 Jul 2012; Justin Lecher <jlec@g.o> i8kutils-1.25.ebuild,
35 + i8kutils-1.25-r1.ebuild, +i8kutils-1.33.ebuild:
36 + Version BUmp, Correct HOMEPAGE, correct SRC_URI; respect CFLAGS, #240015;
37 + respect LDFLAGS, #337349; respect CC, #243602; handle examples installation
38 + through USE; move to EAPI=4
39
40 01 Jul 2012; Justin Lecher <jlec@g.o> metadata.xml:
41 Fix up metadata.xml. If there's no maintainer for the package, the metadata
42 -
43 also needs to contain m-needed@g.o.
44
45 23 Sep 2009; Patrick Lauer <patrick@g.o> i8kutils-1.25.ebuild,
46
47
48
49 1.14 app-laptop/i8kutils/i8kutils-1.25.ebuild
50
51 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-laptop/i8kutils/i8kutils-1.25.ebuild?rev=1.14&view=markup
52 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-laptop/i8kutils/i8kutils-1.25.ebuild?rev=1.14&content-type=text/plain
53 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-laptop/i8kutils/i8kutils-1.25.ebuild?r1=1.13&r2=1.14
54
55 Index: i8kutils-1.25.ebuild
56 ===================================================================
57 RCS file: /var/cvsroot/gentoo-x86/app-laptop/i8kutils/i8kutils-1.25.ebuild,v
58 retrieving revision 1.13
59 retrieving revision 1.14
60 diff -u -r1.13 -r1.14
61 --- i8kutils-1.25.ebuild 1 Jan 2010 21:09:43 -0000 1.13
62 +++ i8kutils-1.25.ebuild 1 Jul 2012 11:03:09 -0000 1.14
63 @@ -1,17 +1,20 @@
64 -# Copyright 1999-2010 Gentoo Foundation
65 +# Copyright 1999-2012 Gentoo Foundation
66 # Distributed under the terms of the GNU General Public License v2
67 -# $Header: /var/cvsroot/gentoo-x86/app-laptop/i8kutils/i8kutils-1.25.ebuild,v 1.13 2010/01/01 21:09:43 ssuominen Exp $
68 +# $Header: /var/cvsroot/gentoo-x86/app-laptop/i8kutils/i8kutils-1.25.ebuild,v 1.14 2012/07/01 11:03:09 jlec Exp $
69 +
70 +EAPI=4
71
72 DESCRIPTION="Dell Inspiron and Latitude utilities"
73 -HOMEPAGE="http://people.debian.org/~dz/i8k/"
74 +HOMEPAGE="http://packages.debian.org/sid/i8kutils"
75 SRC_URI="http://people.debian.org/~dz/i8k/${P/-/_}.tar.gz"
76
77 LICENSE="GPL-2"
78 SLOT="0"
79 -KEYWORDS="-* x86 amd64"
80 +KEYWORDS="-* amd64 x86"
81 IUSE="tk"
82
83 -DEPEND="tk? ( >=dev-lang/tk-8.3.3 )"
84 +DEPEND="tk? ( dev-lang/tk )"
85 +RDEPEND="${DEPEND}"
86
87 src_compile() {
88 make all || die
89 @@ -28,16 +31,15 @@
90 newinitd "${FILESDIR}"/i8k.init i8k
91 newconfd "${FILESDIR}"/i8k.conf i8k
92
93 - if use tk
94 - then
95 + if use tk; then
96 dobin i8kmon
97 doman i8kmon.1
98 docinto /
99 dodoc i8kmon.conf
100 else
101 - echo >> ${D}/etc/conf.d/i8k
102 - echo '# i8kmon disabled because the package was installed without USE=tk' >> ${D}/etc/conf.d/i8k
103 - echo 'NOMON=1' >> ${D}/etc/conf.d/i8k
104 + echo >> "${ED}"/etc/conf.d/i8k
105 + echo '# i8kmon disabled because the package was installed without USE=tk' >> "${ED}"/etc/conf.d/i8k
106 + echo 'NOMON=1' >> "${ED}"/etc/conf.d/i8k
107 fi
108
109 }
110
111
112
113 1.4 app-laptop/i8kutils/i8kutils-1.25-r1.ebuild
114
115 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-laptop/i8kutils/i8kutils-1.25-r1.ebuild?rev=1.4&view=markup
116 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-laptop/i8kutils/i8kutils-1.25-r1.ebuild?rev=1.4&content-type=text/plain
117 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-laptop/i8kutils/i8kutils-1.25-r1.ebuild?r1=1.3&r2=1.4
118
119 Index: i8kutils-1.25-r1.ebuild
120 ===================================================================
121 RCS file: /var/cvsroot/gentoo-x86/app-laptop/i8kutils/i8kutils-1.25-r1.ebuild,v
122 retrieving revision 1.3
123 retrieving revision 1.4
124 diff -u -r1.3 -r1.4
125 --- i8kutils-1.25-r1.ebuild 1 Jan 2010 21:09:43 -0000 1.3
126 +++ i8kutils-1.25-r1.ebuild 1 Jul 2012 11:03:09 -0000 1.4
127 @@ -1,17 +1,34 @@
128 -# Copyright 1999-2010 Gentoo Foundation
129 +# Copyright 1999-2012 Gentoo Foundation
130 # Distributed under the terms of the GNU General Public License v2
131 -# $Header: /var/cvsroot/gentoo-x86/app-laptop/i8kutils/i8kutils-1.25-r1.ebuild,v 1.3 2010/01/01 21:09:43 ssuominen Exp $
132 +# $Header: /var/cvsroot/gentoo-x86/app-laptop/i8kutils/i8kutils-1.25-r1.ebuild,v 1.4 2012/07/01 11:03:09 jlec Exp $
133 +
134 +EAPI=4
135 +
136 +inherit toolchain-funcs
137
138 DESCRIPTION="Dell Inspiron and Latitude utilities"
139 -HOMEPAGE="http://people.debian.org/~dz/i8k/"
140 +HOMEPAGE="http://packages.debian.org/sid/i8kutils"
141 SRC_URI="http://people.debian.org/~dz/i8k/${P/-/_}.tar.gz"
142
143 LICENSE="GPL-2"
144 SLOT="0"
145 KEYWORDS="-* ~amd64 ~x86"
146 -IUSE="tk"
147 +IUSE="examples tk"
148 +
149 +DEPEND="tk? ( dev-lang/tk )"
150 +RDEPEND="${DEPEND}"
151 +
152 +DOCS=( README.i8kutils )
153
154 -DEPEND="tk? ( >=dev-lang/tk-8.3.3 )"
155 +src_prepare() {
156 + sed \
157 + -e '/^CC/d' \
158 + -e '/^CFLAGS/d' \
159 + -e 's: -g : $(LDFLAGS) :g' \
160 + -i Makefile || die
161 +
162 + tc-export CC
163 +}
164
165 src_compile() {
166 make all || die
167 @@ -21,23 +38,21 @@
168 dobin i8kbuttons i8kctl
169 doman i8kbuttons.1 i8kctl.1
170 dosym /usr/bin/i8kctl /usr/bin/i8kfan
171 - dodoc README.i8kutils
172 - docinto examples/
173 - dodoc examples/*
174 +
175 + use examples && dodoc -r examples
176
177 newinitd "${FILESDIR}"/i8k.init-r1 i8k
178 newconfd "${FILESDIR}"/i8k.conf i8k
179
180 - if use tk
181 - then
182 + if use tk; then
183 dobin i8kmon
184 doman i8kmon.1
185 - docinto /
186 dodoc i8kmon.conf
187 else
188 - echo >> ${D}/etc/conf.d/i8k
189 - echo '# i8kmon disabled because the package was installed without USE=tk' >> ${D}/etc/conf.d/i8k
190 - echo 'NOMON=1' >> ${D}/etc/conf.d/i8k
191 + cat >> "${ED}"/etc/conf.d/i8k <<- EOF
192 + # i8kmon disabled because the package was installed without USE=tk
193 + NOMON=1
194 + EOF
195 fi
196
197 }
198
199
200
201 1.1 app-laptop/i8kutils/i8kutils-1.33.ebuild
202
203 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-laptop/i8kutils/i8kutils-1.33.ebuild?rev=1.1&view=markup
204 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-laptop/i8kutils/i8kutils-1.33.ebuild?rev=1.1&content-type=text/plain
205
206 Index: i8kutils-1.33.ebuild
207 ===================================================================
208 # Copyright 1999-2012 Gentoo Foundation
209 # Distributed under the terms of the GNU General Public License v2
210 # $Header: /var/cvsroot/gentoo-x86/app-laptop/i8kutils/i8kutils-1.33.ebuild,v 1.1 2012/07/01 11:03:09 jlec Exp $
211
212 EAPI=4
213
214 inherit toolchain-funcs
215
216 DESCRIPTION="Dell Inspiron and Latitude utilities"
217 HOMEPAGE="http://packages.debian.org/sid/i8kutils"
218 SRC_URI="mirror://debian/pool/main/i/${PN}/${P/-/_}.tar.gz"
219
220 LICENSE="GPL-3"
221 SLOT="0"
222 KEYWORDS="-* ~amd64 ~x86"
223 IUSE="examples tk"
224
225 DEPEND="tk? ( dev-lang/tk )"
226 RDEPEND="${DEPEND}"
227
228 DOCS=( README.i8kutils )
229
230 src_prepare() {
231 sed \
232 -e '/^CC/d' \
233 -e '/^CFLAGS/d' \
234 -e 's: -g : $(LDFLAGS) :g' \
235 -i Makefile || die
236
237 tc-export CC
238 }
239
240 src_install() {
241 dobin i8kbuttons i8kctl
242 doman i8kbuttons.1 i8kctl.1
243 dosym /usr/bin/i8kctl /usr/bin/i8kfan
244
245 use examples && dodoc -r examples
246
247 newinitd "${FILESDIR}"/i8k.init-r1 i8k
248 newconfd "${FILESDIR}"/i8k.conf i8k
249
250 if use tk; then
251 dobin i8kmon
252 doman i8kmon.1
253 dodoc i8kmon.conf
254 else
255 cat >> "${ED}"/etc/conf.d/i8k <<- EOF
256 # i8kmon disabled because the package was installed without USE=tk
257 NOMON=1
258 EOF
259 fi
260
261 }