Gentoo Archives: gentoo-commits

From: "Ali Polatel (hawking)" <hawking@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-libs/qscintilla: qscintilla-1.7.1.ebuild ChangeLog qscintilla-1.5.1.ebuild Manifest qscintilla-2.1-r1.ebuild metadata.xml
Date: Tue, 20 Nov 2007 05:17:28
Message-Id: E1IuLU9-0005dY-KQ@stork.gentoo.org
1 hawking 07/11/20 05:17:21
2
3 Added: qscintilla-1.7.1.ebuild ChangeLog
4 qscintilla-1.5.1.ebuild Manifest
5 qscintilla-2.1-r1.ebuild metadata.xml
6 Log:
7 move dev-python/qscintilla to x11-libs/qscintilla and split python bindings to a separate package qscintilla-python to break circular dependency, bug 199543. install designerplugin into the correct directory, bug 196701 thanks to Franz Feller.
8 (Portage version: 2.1.3.19, RepoMan options: --force)
9
10 Revision Changes Path
11 1.1 x11-libs/qscintilla/qscintilla-1.7.1.ebuild
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/qscintilla/qscintilla-1.7.1.ebuild?rev=1.1&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/qscintilla/qscintilla-1.7.1.ebuild?rev=1.1&content-type=text/plain
15
16 Index: qscintilla-1.7.1.ebuild
17 ===================================================================
18 # Copyright 1999-2007 Gentoo Foundation
19 # Distributed under the terms of the GNU General Public License v2
20 # $Header: /var/cvsroot/gentoo-x86/x11-libs/qscintilla/qscintilla-1.7.1.ebuild,v 1.1 2007/11/20 05:17:20 hawking Exp $
21
22 inherit eutils toolchain-funcs qt3
23
24 SCINTILLA_VER="1.71"
25 MY_P="${PN/qs/QS}-${SCINTILLA_VER}-gpl-${PV}"
26 MY_P=${MY_P/_pre/snapshot-}
27
28 DESCRIPTION="QScintilla is a port to Qt of Neil Hodgson's Scintilla C++ editor class."
29 HOMEPAGE="http://www.riverbankcomputing.co.uk/qscintilla/"
30 SRC_URI="http://www.riverbankcomputing.com/Downloads/QScintilla1/${MY_P}.tar.gz"
31
32 SLOT="0"
33 LICENSE="GPL-2"
34 KEYWORDS="alpha ~amd64 hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd"
35 IUSE="doc"
36
37 DEPEND="$(qt_min_version 3.3)"
38 RDEPEND="${DEPEND}"
39
40 S=${WORKDIR}/${MY_P}
41
42 src_unpack() {
43 unpack ${A}
44
45 cd "${S}/qt"
46 sed -i -e "s:DESTDIR = \$(QTDIR)/lib:DESTDIR = lib:" qscintilla.pro
47 echo -e "\nQMAKE_CFLAGS_RELEASE=${CFLAGS} -w\nQMAKE_CXXFLAGS_RELEASE=${CXXFLAGS} -w\nQMAKE_LFLAGS_RELEASE=${LDFLAGS}" >> qscintilla.pro
48 ${QTDIR}/bin/qmake -o Makefile qscintilla.pro || die "qmake qscintilla failed"
49
50 cd "${S}"
51 epatch "${FILESDIR}/${P}.patch"
52
53 cd "${S}/designer"
54 echo -e "\nQMAKE_CFLAGS_RELEASE=${CFLAGS} -w\nQMAKE_CXXFLAGS_RELEASE=${CXXFLAGS} -w\nQMAKE_LFLAGS_RELEASE=${LDFLAGS}" >> designer.pro
55 ${QTDIR}/bin/qmake -o Makefile designer.pro || die "qmake designer failed"
56 }
57
58 src_compile() {
59 cd "${S}/qt"
60 emake all staticlib CC="$(tc-getCC)" CXX="$(tc-getCXX)" LINK="$(tc-getCXX)" || die "emake failed"
61 cd "${S}/designer"
62 dodir ${QTDIR}/plugins/designer
63 emake || die "emake designer failed"
64 }
65
66 src_install() {
67 dodoc ChangeLog NEWS README*
68 dodir /usr/{include,$(get_libdir),share/qscintilla/translations}
69 cd "${S}"/qt
70 cp qextscintilla*.h "${D}/usr/include"
71 cp qscintilla*.qm "${D}/usr/share/qscintilla/translations"
72 cp lib/libqscintilla.a* "${D}/usr/$(get_libdir)"
73 cp -R lib/libqscintilla.so.* "${D}/usr/$(get_libdir)"
74 dodir ${QTDIR}/translations/
75 for I in $(ls -1 qscintilla*.qm) ; do
76 dosym "/usr/share/qscintilla/translations/${I}" "${QTDIR}/translations/${I}"
77 done
78 if use doc ; then
79 dohtml "${S}"/doc/html/*
80 insinto /usr/share/doc/${PF}/Scintilla
81 doins "${S}"/doc/Scintilla/*
82 fi
83 insinto ${QTDIR}/plugins/designer
84 insopts -m0755
85 doins "${S}"/designer/libqscintillaplugin.so
86 }
87
88
89
90 1.1 x11-libs/qscintilla/ChangeLog
91
92 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/qscintilla/ChangeLog?rev=1.1&view=markup
93 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/qscintilla/ChangeLog?rev=1.1&content-type=text/plain
94
95 Index: ChangeLog
96 ===================================================================
97 # ChangeLog for dev-python/qscintilla
98 # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
99 # $Header: /var/cvsroot/gentoo-x86/x11-libs/qscintilla/ChangeLog,v 1.1 2007/11/20 05:17:20 hawking Exp $
100
101 *qscintilla-2.1-r1 (20 Nov 2007)
102
103 20 Nov 2007; Ali Polatel <hawking@g.o>
104 +files/qscintilla-1.5-sandbox.patch, +files/qscintilla-1.7.1.patch,
105 +files/qscintilla-2.1-qt.patch, +files/qscintilla-2.1-qt4.patch,
106 +metadata.xml, +qscintilla-1.5.1.ebuild, +qscintilla-1.7.1.ebuild,
107 +qscintilla-2.1-r1.ebuild:
108 move dev-python/qscintilla to x11-libs/qscintilla and split python bindings
109 to a separate package qscintilla-python to break circular dependency, bug
110 199543. install designerplugin into the correct directory, bug 196701 thanks
111 to Franz Feller.
112
113 13 Nov 2007; Jeroen Roovers <jer@g.o> qscintilla-2.1.ebuild:
114 Marked ~hppa (bug #198456). Do not install LICENSE.
115
116 08 Nov 2007; Ali Polatel <hawking@g.o> qscintilla-1.7.1.ebuild,
117 qscintilla-2.1.ebuild:
118 Fixed quoting.
119
120 07 Nov 2007; Raúl Porcel <armin76@g.o> qscintilla-1.7.1.ebuild,
121 qscintilla-2.1.ebuild:
122 Add ~alpha/~ia64/~sparc to 2.1 and alpha/ia64/sparc/x86 stable for 1.7.1
123
124 15 Oct 2007; Markus Rothe <corsair@g.o> qscintilla-1.7.1.ebuild:
125 Stable on ppc64
126
127 09 Sep 2007; Ali Polatel <hawking@g.o> qscintilla-2.1.ebuild:
128 Fix multilib issue (bug 191910), thanks to Kenneth Prugh
129
130 *qscintilla-2.1 (07 Sep 2007)
131
132 07 Sep 2007; Ali Polatel <hawking@g.o>
133 +files/qscintilla-2.1-qt.patch, +files/qscintilla-2.1-qt4.patch,
134 +qscintilla-2.1.ebuild:
135 version bump. thanks to everyone on bug 158116 and jokey
136
137 13 Aug 2007; Tobias Scherbaum <dertobi123@g.o>
138 qscintilla-1.7.1.ebuild:
139 ppc. stable
140
141 24 Jun 2007; Tiziano Müller <dev-zero@g.o>
142 qscintilla-1.5.1.ebuild, qscintilla-1.7.1.ebuild:
143 Fixed $ROOT abuse (bug #167271)
144
145 15 Jun 2007; Diego Pettenò <flameeyes@g.o>
146 qscintilla-1.7.1.ebuild:
147 Add ~x86-fbsd keyword.
148
149 15 Jun 2007; Diego Pettenò <flameeyes@g.o>
150 qscintilla-1.7.1.ebuild:
151 Fix the copy of shared libraries to use standard posix cp options.
152
153 03 May 2007; Jeroen Roovers <jer@g.o> qscintilla-1.7.1.ebuild:
154 Stable for HPPA (bug #176471).
155
156 22 Feb 2007; Piotr Jaroszyński <peper@g.o> ChangeLog:
157 Transition to Manifest2.
158
159 09 Jan 2007; Tiziano Müller <dev-zero@g.o>
160 files/qscintilla-1.7.1.patch:
161 Fixed patch, bug #160931 (thanks to Brian Merrill).
162
163 06 Jan 2007; Tiziano Müller <dev-zero@g.o>
164 qscintilla-1.7.1.ebuild:
165 Added qt3 to inherit, fixed bug #140345. Some cleanups.
166
167 *qscintilla-1.7.1 (26 Dec 2006)
168
169 26 Dec 2006; Tiziano Müller <dev-zero@g.o>
170 -files/qscintilla-1.6-sandbox.patch, +files/qscintilla-1.7.1.patch,
171 -files/qscintilla-1.7.patch, -files/qscintilla-1.60-sandbox.patch,
172 -files/qscintilla-1.61-sandbox.patch,
173 -files/qscintilla-1.65-sandbox.patch, -qscintilla-1.6.ebuild,
174 -qscintilla-1.7.ebuild, +qscintilla-1.7.1.ebuild:
175 Version bump. Dropped old versions.
176
177 *qscintilla-1.7 (14 Nov 2006)
178
179 14 Nov 2006; Caleb Tennis <caleb@g.o> +files/qscintilla-1.7.patch,
180 +qscintilla-1.7.ebuild:
181 version bump, with some patch changes
182
183 20 May 2006; Tobias Scherbaum <dertobi123@g.o>
184 qscintilla-1.6.ebuild:
185 Added ~hppa
186
187 22 Feb 2006; Carsten Lohrke <carlo@g.o>
188 -files/qscintilla-1.54-sandbox.patch, -qscintilla-1.54.ebuild,
189 -qscintilla-1.60.ebuild, -qscintilla-1.61.ebuild, -qscintilla-1.65.ebuild:
190 Clean up.
191
192 17 Feb 2006; Aron Griffis <agriffis@g.o> qscintilla-1.5.1.ebuild,
193 qscintilla-1.54.ebuild, qscintilla-1.61.ebuild:
194 Mark 1.5.1 stable on ia64, regress 1.61 1.54 from ia64 to ~ia64. Regress
195 1.61 from alpha to ~alpha #117246
196
197 31 Jan 2006; Aron Griffis <agriffis@g.o> qscintilla-1.61.ebuild:
198 Mark 1.61 stable on alpha
199
200 24 Jan 2006; Markus Rothe <corsair@g.o> qscintilla-1.5.1.ebuild,
201 qscintilla-1.61.ebuild, qscintilla-1.65.ebuild:
202 1.5.1 stable on ppc64, everything else ~ppc64; bug #117246
203
204 14 Jan 2006; Jose Luis Rivero <yoswink@g.o>
205 qscintilla-1.5.1.ebuild, qscintilla-1.54.ebuild, qscintilla-1.60.ebuild,
206 qscintilla-1.61.ebuild:
207 Some alpha and ~alpha keywords wrt #117246
208
209 05 Jan 2006; Carsten Lohrke <carlo@g.o> qscintilla-1.54.ebuild,
210 qscintilla-1.60.ebuild, qscintilla-1.61.ebuild:
211 Mark obsolete qscintilla versions ~amd64.
212
213 05 Jan 2006; Gustavo Zacarias <gustavoz@g.o>
214 qscintilla-1.5.1.ebuild, qscintilla-1.54.ebuild, qscintilla-1.60.ebuild,
215 qscintilla-1.61.ebuild:
216 Some sparc and ~sparc keywords wrt #117246
217
218 05 Jan 2006; Chris White <chriswhite@g.o> qscintilla-1.54.ebuild,
219 qscintilla-1.60.ebuild, qscintilla-1.61.ebuild, qscintilla-1.65.ebuild:
220 ~x86 and x86 stable marking as described in bug #117246.
221
222 31 Dec 2005; Simon Stelling <blubb@g.o> qscintilla-1.5.1.ebuild:
223 stable on amd64
224
225 10 Dec 2005; Carsten Lohrke <carlo@g.o>
226 +files/qscintilla-1.6-sandbox.patch:
227 missing patch
228
229 10 Dec 2005; Carsten Lohrke <carlo@g.o> qscintilla-1.5.1.ebuild,
230 qscintilla-1.6.ebuild:
231 minor fixes
232
233 09 Dec 2005; Carsten Lohrke <carlo@g.o> qscintilla-1.6.ebuild:
234 fix whitespace
235
236 *qscintilla-1.6 (09 Dec 2005)
237
238 09 Dec 2005; Carsten Lohrke <carlo@g.o> +qscintilla-1.6.ebuild:
239 version bump
240
241 25 Nov 2005; Tom Gall <tgall@g.o> qscintilla-1.65.ebuild,
242 qscintilla-1.61.ebuild:
243 stable on ppc64
244
245 07 Oct 2005; Simon Stelling <blubb@g.o> qscintilla-1.65.ebuild:
246 make multilib-strict happy
247
248 *qscintilla-1.65 (26 Sep 2005)
249
250 26 Sep 2005; Chris Bainbridge <chrb@g.o>
251 +files/qscintilla-1.65-sandbox.patch, +qscintilla-1.65.ebuild:
252 Version bump for #107104
253
254 18 Aug 2005; Michael Hanselmann <hansmi@g.o>
255 qscintilla-1.5.1.ebuild:
256 Stable on ppc.
257
258 07 Jul 2005; Caleb Tennis <caleb@g.o> qscintilla-1.4-r1.ebuild,
259 qscintilla-1.5-r1.ebuild, qscintilla-1.5.1.ebuild, qscintilla-1.54.ebuild,
260 qscintilla-1.60.ebuild, qscintilla-1.61.ebuild:
261 Fix qt deps
262
263 02 Jul 2005; Carsten Lohrke <carlo@g.o> qscintilla-1.4-r1.ebuild,
264 qscintilla-1.5.1.ebuild:
265 stable on x86
266
267 01 Jul 2005; Caleb Tennis <caleb@g.o> qscintilla-1.4-r1.ebuild,
268 qscintilla-1.5-r1.ebuild, qscintilla-1.5.1.ebuild, qscintilla-1.54.ebuild,
269 qscintilla-1.60.ebuild, qscintilla-1.61.ebuild:
270 Fix qmake dir per bug #97535
271
272 21 Apr 2005; Michael Hanselmann <hansmi@g.o>
273 qscintilla-1.61.ebuild:
274 Stable on ppc.
275
276 01 Apr 2005; Aron Griffis <agriffis@g.o> qscintilla-1.61.ebuild:
277 stable on ia64
278
279 31 Mar 2005; Bryan Østergaard <kloeri@g.o> qscintilla-1.61.ebuild:
280 Stable on alpha.
281
282 *qscintilla-1.5.1 (07 Mar 2005)
283
284 07 Mar 2005; Carsten Lohrke <carlo@g.o> +qscintilla-1.5.1.ebuild:
285 version bump
286
287 *qscintilla-1.4-r1 (21 Feb 2005)
288
289 21 Feb 2005; Carsten Lohrke <carlo@g.o> +qscintilla-1.4-r1.ebuild,
290 -qscintilla-1.4.ebuild, +qscintilla-1.5-r1.ebuild, -qscintilla-1.5.ebuild:
291 fixed stupid ebuild error, #82808
292
293 20 Feb 2005; Carsten Lohrke <carlo@g.o> qscintilla-1.4.ebuild,
294 qscintilla-1.5.ebuild:
295 dropped ppc64 keyword by accident
296
297 *qscintilla-1.5 (20 Feb 2005)
298
299 20 Feb 2005; Carsten Lohrke <carlo@g.o>
300 +files/qscintilla-1.4-sandbox.patch, +files/qscintilla-1.5-sandbox.patch,
301 +qscintilla-1.4.ebuild, +qscintilla-1.5.ebuild:
302 correcting versioning and bump
303
304 31 Dec 2004; Ciaran McCreesh <ciaranm@g.o> :
305 Change encoding to UTF-8 for GLEP 31 compliance
306
307 16 Dec 2004; Dylan Carlson <absinthe@g.o> qscintilla-1.61.ebuild:
308 Stable on amd64.
309
310 09 Dec 2004; Gustavo Zacarias <gustavoz@g.o> qscintilla-1.61.ebuild:
311 Stable on sparc
312
313 23 Nov 2004; Carsten Lohrke <carlo@g.o> qscintilla-1.61.ebuild:
314 stable on x86
315
316 08 Nov 2004; Daniel Ostrow <dostrow@g.o> qscintilla-1.61.ebuild:
317 Marked ~ppc64
318
319 26 Sep 2004; Carsten Lohrke <carlo@g.o> qscintilla-1.61.ebuild:
320 the lib should really be compiled...
321
322 *qscintilla-1.61 (16 Sep 2004)
323
324 16 Sep 2004; Carsten Lohrke <carlo@g.o>
325 +files/qscintilla-1.61-sandbox.patch, +qscintilla-1.61.ebuild:
326 version bump
327
328 21 Aug 2004; Danny van Dyk <kugelfang@g.o> qscintilla-1.60.ebuild:
329 Marked stable on amd64.
330
331 18 Jul 2004; Jason Wever <weeve@g.o> qscintilla-1.60.ebuild:
332 Stable on sparc wrt bug #56712.
333
334 18 Jul 2004; Bryan Østergaard <kloeri@g.o> qscintilla-1.60.ebuild:
335 Stable on alpha.
336
337 11 Jul 2004; Carsten Lohrke <carlo@g.o> qscintilla-1.60.ebuild:
338 stable on x86
339
340 01 Jul 2004; Jon Hood <squinky86@g.o> qscintilla-1.54.ebuild,
341 qscintilla-1.60.ebuild:
342 change virtual/glibc to virtual/libc
343
344 25 May 2004; Carsten Lohrke <carlo@g.o> qscintilla-1.54.ebuild:
345 marked 1.54 stable on ppc
346
347 25 May 2004; Carsten Lohrke <carlo@g.o> qscintilla-1.49-r1.ebuild,
348 qscintilla-1.49.ebuild, qscintilla-1.52.ebuild, qscintilla-1.53.ebuild,
349 qscintilla-1.54.ebuild, qscintilla-1.60.ebuild,
350 files/qscintilla-1.49-sandbox.patch, files/qscintilla-1.52-sandbox.patch,
351 files/qscintilla-1.53-sandbox.patch:
352 mirror://gentoo, cleanup
353
354 *qscintilla-1.60 (21 May 2004)
355
356 21 May 2004; <carsten@g.o> qscintilla-1.60.ebuild,
357 files/qscintilla-1.60-sandbox.patch:
358 Version bump
359
360 04 May 2004; Bryan Østergaard <kloeri@g.o> qscintilla-1.49-r1.ebuild,
361 qscintilla-1.49.ebuild, qscintilla-1.52.ebuild, qscintilla-1.53.ebuild:
362 Add missing IUSE.
363
364 21 Apr 2004; Daniel Ahlberg <aliz@g.o> qscintilla-1.54.ebuild:
365 Mark stable on amd64.
366
367 14 Mar 2004; Jon Portnoy <avenj@g.o> qscintilla-1.54.ebuild :
368 AMD64 keywords.
369
370 26 Feb 2004; Sven Blumenstein <bazik@g.o> qscintilla-1.54.ebuild:
371 Stable on sparc.
372
373 17 Feb 2004; Aron Griffis <agriffis@g.o> qscintilla-1.54.ebuild:
374 stable on alpha and ia64
375
376 16 Dec 2003; Jason Wever <weeve@g.o> qscintilla-1.54.ebuild:
377 Added ~sparc keyword to keywords to fix broken dependencies of dev-python/PyQt.
378
379 *qscintilla-1.54 (14 Oct 2003)
380
381 14 Oct 2003; Rob Cakebread <pythonhead@g.o> qscintilla-1.54.ebuild,
382 files/qscintilla-1.54-sandbox.patch:
383 Version bump
384
385 31 Jul 2003; Caleb Tennis <caleb@g.o> qscintilla-1.53.ebuild:
386 Moved to x86 stable, and remove dep on any specific qt version.
387
388 *qscintilla-1.53 (16 Jun 2003)
389 16 Jun 2003; Michele Balistreri <brain@g.o> qscintilla-1.53.ebuild :
390 Version bump
391
392 09 May 2003; Luca Barbato <lu_zero@g.o> qscintilla-1.52.ebuild :
393 Keyworded ~ppc
394
395 *qscintilla-1.52 (29 Apr 2003)
396
397 29 Apr 2003; Michele Balistreri <brain@g.o> qscintilla-1.52.ebuild :
398 Version bump
399
400 *qscintilla-1.49-r1 (1 Feb 2003)
401
402 01 Feb 2003; Joachim Blaabjerg <styx@g.o>
403
404 1 Feb 2003; Joachim Blaabjerg <styx@g.o> qscintilla-1.49-r1.ebuild,
405 files/qscintilla-1.49-sandbox.patch, files/digest-qscintilla-1.49-r1 :
406
407 Made the ebuild install libqscintilla.a as well, by request of John Landahl.
408
409 21 Jan 2003; Joachim Blaabjerg <styx@g.o> qscintilla-1.49.ebuild,
410 files/qscintilla-1.49-sandbox.patch :
411
412 Fixed the ebuild a little, sandbox violations etc.
413
414 *qscintilla-1.49 (19 Dec 2002)
415
416 19 Dec 2002; Bart Verwilst <verwilst@g.o>
417
418 initial ebuild.
419
420
421
422
423 1.1 x11-libs/qscintilla/qscintilla-1.5.1.ebuild
424
425 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/qscintilla/qscintilla-1.5.1.ebuild?rev=1.1&view=markup
426 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/qscintilla/qscintilla-1.5.1.ebuild?rev=1.1&content-type=text/plain
427
428 Index: qscintilla-1.5.1.ebuild
429 ===================================================================
430 # Copyright 1999-2007 Gentoo Foundation
431 # Distributed under the terms of the GNU General Public License v2
432 # $Header: /var/cvsroot/gentoo-x86/x11-libs/qscintilla/qscintilla-1.5.1.ebuild,v 1.1 2007/11/20 05:17:20 hawking Exp $
433
434 inherit eutils toolchain-funcs
435
436 SCINTILLA_VER="1.62"
437 MY_P="${PN}-${SCINTILLA_VER}-gpl-${PV}"
438 MY_P=${MY_P/_pre/snapshot-}
439 S=${WORKDIR}/${MY_P}
440
441 DESCRIPTION="QScintilla is a port to Qt of Neil Hodgson's Scintilla C++ editor class."
442 HOMEPAGE="http://www.riverbankcomputing.co.uk/qscintilla/"
443 #SRC_URI="http://www.river-bank.demon.co.uk/download/snapshots/QScintilla/${MY_P}.tar.gz"
444 #SRC_URI="http://www.river-bank.demon.co.uk/download/QScintilla/${MY_P}.tar.gz"
445 SRC_URI="mirror://gentoo/${MY_P}.tar.gz"
446
447 SLOT="0"
448 LICENSE="GPL-2"
449 KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86"
450 IUSE="doc"
451
452 DEPEND="virtual/libc
453 sys-apps/sed
454 =x11-libs/qt-3*"
455
456 LIBDIR="/usr/$(get_libdir)"
457
458 src_unpack() {
459 unpack ${A} ; cd ${S}/qt
460 sed -i -e "s:DESTDIR = \$(QTDIR)/lib:DESTDIR = \${destdir}:" qscintilla.pro
461 echo -e "\nQMAKE_CFLAGS_RELEASE=${CFLAGS} -w\nQMAKE_CXXFLAGS_RELEASE=${CXXFLAGS} -w\nQMAKE_LFLAGS_RELEASE=${LDFLAGS}" >> qscintilla.pro
462
463 ${QTDIR}/bin/qmake -o Makefile qscintilla.pro
464 epatch ${FILESDIR}/${PN}-1.5-sandbox.patch
465 }
466
467 src_compile() {
468 cd ${S}/qt
469 # It uses g++'s syntax while linking (-Wl,) so it can't use tc-getLD.
470 make destdir=${LIBDIR} all staticlib CC="$(tc-getCC)" CXX="$(tc-getCXX)" LINK="$(tc-getCXX)" || die "make failed"
471 }
472
473 src_install() {
474 dodoc ChangeLog LICENSE NEWS README README.MacOS
475 dodir /usr/include ${LIBDIR} /usr/share/qscintilla/translations
476 cd ${S}/qt
477 cp qextscintilla*.h "${D}/usr/include"
478 cp qscintilla*.qm "${D}/usr/share/qscintilla/translations"
479 cp libqscintilla.a* "${D}${LIBDIR}"
480 cp -d libqscintilla.so.* "${D}${LIBDIR}"
481 dodir ${QTDIR}/translations/
482 for I in $(ls -1 qscintilla*.qm) ; do
483 dosym "/usr/share/qscintilla/translations/${I}" "${QTDIR}/translations/${I}"
484 done
485 if use doc ; then
486 dohtml ${S}/doc/html/*
487 insinto /usr/share/doc/${PF}/Scintilla
488 doins ${S}/doc/Scintilla/*
489 fi
490 }
491
492
493
494 1.1 x11-libs/qscintilla/Manifest
495
496 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/qscintilla/Manifest?rev=1.1&view=markup
497 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/qscintilla/Manifest?rev=1.1&content-type=text/plain
498
499 Index: Manifest
500 ===================================================================
501 AUX qscintilla-1.5-sandbox.patch 1041 RMD160 baf1c1ce082fdcead195941e4b3d3b2cfa48ce72 SHA1 f8625430db1692006e927f84110779786c281c2b SHA256 e1086b472285474fa3591a3bd9eb6b064a448e48d105f84b2fdd2c6977bcec8b
502 MD5 bacbcf22f2420b5d982a6d04f171b44a files/qscintilla-1.5-sandbox.patch 1041
503 RMD160 baf1c1ce082fdcead195941e4b3d3b2cfa48ce72 files/qscintilla-1.5-sandbox.patch 1041
504 SHA256 e1086b472285474fa3591a3bd9eb6b064a448e48d105f84b2fdd2c6977bcec8b files/qscintilla-1.5-sandbox.patch 1041
505 AUX qscintilla-1.7.1.patch 398 RMD160 ebbd518a1bf6068f143fa902390ab772feea9627 SHA1 1bfb73303bab3251cf7351b6d6302c212880d705 SHA256 2aee04714bd2366326c21f2a559a6db4421e2e3e548811c72ee4d37e22e8873d
506 MD5 0efd9405b361a911e69727f0ff22274f files/qscintilla-1.7.1.patch 398
507 RMD160 ebbd518a1bf6068f143fa902390ab772feea9627 files/qscintilla-1.7.1.patch 398
508 SHA256 2aee04714bd2366326c21f2a559a6db4421e2e3e548811c72ee4d37e22e8873d files/qscintilla-1.7.1.patch 398
509 AUX qscintilla-2.1-qt.patch 351 RMD160 99756fe8a0105c649c7666609625f942e2ff502c SHA1 6ef678ef5c345746295be78db700e8175dc2f682 SHA256 b6c4cdfc9af82ab04e885b2e30204e291391fe9111ed34dbe12a9af36e41ede9
510 MD5 ffa02327d47728e1fbda7c10f321d0e0 files/qscintilla-2.1-qt.patch 351
511 RMD160 99756fe8a0105c649c7666609625f942e2ff502c files/qscintilla-2.1-qt.patch 351
512 SHA256 b6c4cdfc9af82ab04e885b2e30204e291391fe9111ed34dbe12a9af36e41ede9 files/qscintilla-2.1-qt.patch 351
513 AUX qscintilla-2.1-qt4.patch 443 RMD160 d226eb16020ba1288e1b3c0fe418601f5134bd40 SHA1 14092204c892dbb19c1749ae629bf06944dc4cbb SHA256 0ca4ad564038c6241b80e3a48d444fd5431b478e964ab41100221580c8674a22
514 MD5 d42d052e47eeda423793d1e199050e9d files/qscintilla-2.1-qt4.patch 443
515 RMD160 d226eb16020ba1288e1b3c0fe418601f5134bd40 files/qscintilla-2.1-qt4.patch 443
516 SHA256 0ca4ad564038c6241b80e3a48d444fd5431b478e964ab41100221580c8674a22 files/qscintilla-2.1-qt4.patch 443
517 DIST QScintilla-1.71-gpl-1.7.1.tar.gz 1060119 RMD160 ba85db98e552b388510df5d1f7e0e78f52856ed2 SHA1 424415960e5cbcd58306e87d1d610bd8e72f3368 SHA256 437e5fc6e5905f9aa7d0f4ea8eb41c96fcddf7ce3cb9b786066a315c5b9ff70c
518 DIST QScintilla-1.73-gpl-2.1.tar.gz 1866929 RMD160 ef114b468b3cea5d36346c915bc407ce2ad3ec65 SHA1 ca9ac61cc3d537d7b53202ff5d8565365c3f8734 SHA256 545fcefb75fe159b48e2a17485c12ba8ca548f387f594923664258b10831bf86
519 DIST qscintilla-1.62-gpl-1.5.1.tar.gz 727606 RMD160 fe7fa31ec1ecbc7f4bbf887817830630dfbd5d88 SHA1 240bafd43f3f1f7c73f76daf98b23da3f071bc43 SHA256 5dfc860a8d91c15775ae03f40a57f0c26f51f90b8266236e457cb8cbb3f6e30e
520 EBUILD qscintilla-1.5.1.ebuild 2064 RMD160 64b0a2b3a16134dc2788db64971a0c8c9ec3a7c2 SHA1 e5dbd29235c51429913c48ca234ccf37a6761d6c SHA256 91bf56d151b38f7f6629d03d6a0aa29b1a9bb8d52cee24e320f589f11e9e0e56
521 MD5 ab0132a9f40b31f9bb8259468a3ee067 qscintilla-1.5.1.ebuild 2064
522 RMD160 64b0a2b3a16134dc2788db64971a0c8c9ec3a7c2 qscintilla-1.5.1.ebuild 2064
523 SHA256 91bf56d151b38f7f6629d03d6a0aa29b1a9bb8d52cee24e320f589f11e9e0e56 qscintilla-1.5.1.ebuild 2064
524 EBUILD qscintilla-1.7.1.ebuild 2306 RMD160 86034dc420742e7a009062ae863799423fec8d28 SHA1 c88d071dfe28a20e61d205ae4b45fa883a637725 SHA256 7b17d1c5c8f17bc80797a590eff8ec1a122cf70898ed7175823a35e171159bf4
525 MD5 b4ef432bca20670d24478c95c2933da3 qscintilla-1.7.1.ebuild 2306
526 RMD160 86034dc420742e7a009062ae863799423fec8d28 qscintilla-1.7.1.ebuild 2306
527 SHA256 7b17d1c5c8f17bc80797a590eff8ec1a122cf70898ed7175823a35e171159bf4 qscintilla-1.7.1.ebuild 2306
528 EBUILD qscintilla-2.1-r1.ebuild 3867 RMD160 9aef83214a67dc2b9ccd17d4f3677fead7528e92 SHA1 f46ff2e07e2fda250cfaa46ae2582e46ba815e65 SHA256 e8da7aecefddaaac4483d777ca58bdb9ecb95f4554b5318b23216bde39932bdf
529 MD5 0b8977b5aa16096ed35d9990789eb6f7 qscintilla-2.1-r1.ebuild 3867
530 RMD160 9aef83214a67dc2b9ccd17d4f3677fead7528e92 qscintilla-2.1-r1.ebuild 3867
531 SHA256 e8da7aecefddaaac4483d777ca58bdb9ecb95f4554b5318b23216bde39932bdf qscintilla-2.1-r1.ebuild 3867
532 MISC ChangeLog 11239 RMD160 1558ec13d67a7d6b21251aad9cffa29932c784eb SHA1 76e671215606a50ee29b330675a5148a1c868153 SHA256 94ee1ef93967c9bbf4fb146f310bd1865b757870a6b55778de6dd0e5ca251a0b
533 MD5 72112bb345606cc67b72ce5206f408aa ChangeLog 11239
534 RMD160 1558ec13d67a7d6b21251aad9cffa29932c784eb ChangeLog 11239
535 SHA256 94ee1ef93967c9bbf4fb146f310bd1865b757870a6b55778de6dd0e5ca251a0b ChangeLog 11239
536 MISC metadata.xml 175 RMD160 74ecde8b999da503a2733b49ed618d5d50d26476 SHA1 ec86e15b85c2bc4429ad67bb52238b44f2b16cbd SHA256 26b18db06b1665422af8905fb70f8f48920a048578172d62b9689e273ee39a2d
537 MD5 811c07ba7510a315382249fc3adb44fc metadata.xml 175
538 RMD160 74ecde8b999da503a2733b49ed618d5d50d26476 metadata.xml 175
539 SHA256 26b18db06b1665422af8905fb70f8f48920a048578172d62b9689e273ee39a2d metadata.xml 175
540 MD5 bc039dd45da83ea04834dc110ec744eb files/digest-qscintilla-1.5.1 277
541 RMD160 2d943dc5c02925c4d85eef3252420f6694a56a31 files/digest-qscintilla-1.5.1 277
542 SHA256 3511be993d405b0ac536096991c3066f251ca00051d7f73dc0c404a8a80a0954 files/digest-qscintilla-1.5.1 277
543 MD5 d38be2c484f64faf27ac2e8dce45afec files/digest-qscintilla-1.7.1 280
544 RMD160 cdb1ab95d2509c53fb7771a7f9861bdb48d6fc2c files/digest-qscintilla-1.7.1 280
545 SHA256 9788d402534d5658ad18ea85e069bbb0d5571af7a5f8e0e1c3f2ee5a8f1c5a5e files/digest-qscintilla-1.7.1 280
546 MD5 c0f46ad71728da6bfd697bc57fc6166c files/digest-qscintilla-2.1-r1 274
547 RMD160 24e09cda021729fd2fab241f31eb722b06e6a907 files/digest-qscintilla-2.1-r1 274
548 SHA256 94e1d9000cf93970c99ef1658d17d58c34e959a350603c4ae98ba785f6287838 files/digest-qscintilla-2.1-r1 274
549
550
551
552 1.1 x11-libs/qscintilla/qscintilla-2.1-r1.ebuild
553
554 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/qscintilla/qscintilla-2.1-r1.ebuild?rev=1.1&view=markup
555 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/qscintilla/qscintilla-2.1-r1.ebuild?rev=1.1&content-type=text/plain
556
557 Index: qscintilla-2.1-r1.ebuild
558 ===================================================================
559 # Copyright 1999-2007 Gentoo Foundation
560 # Distributed under the terms of the GNU General Public License v2
561 # $Header: /var/cvsroot/gentoo-x86/x11-libs/qscintilla/qscintilla-2.1-r1.ebuild,v 1.1 2007/11/20 05:17:20 hawking Exp $
562
563 inherit eutils toolchain-funcs multilib
564
565 SCINTILLA_VER="1.73"
566 MY_P="${PN/qs/QS}-${SCINTILLA_VER}-gpl-${PV}"
567 S=${WORKDIR}/${MY_P}
568
569 DESCRIPTION="QScintilla is a port to Qt of Neil Hodgson's Scintilla C++ editor class."
570 HOMEPAGE="http://www.riverbankcomputing.co.uk/qscintilla/"
571 SRC_URI="http://www.riverbankcomputing.com/Downloads/QScintilla2/${MY_P}.tar.gz"
572 #SRC_URI="mirror://gentoo/${MY_P}.tar.gz"
573
574 SLOT="0"
575 LICENSE="GPL-2"
576 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
577 IUSE="qt4 python doc examples debug"
578
579 RDEPEND="qt4? ( =x11-libs/qt-4* )
580 !qt4? ( =x11-libs/qt-3* )"
581 # dev-python/PyQt needs qscintilla to build and qscintilla's python bindings
582 # need dev-python/PyQt, bug 199543
583 PDEPEND="python? ( dev-python/qscintilla-python )"
584
585 src_unpack() {
586 unpack ${A}
587
588 local myqmake myqtdir
589 if use qt4; then
590 myqmake=/usr/bin/qmake
591 myqtdir=Qt4
592 else
593 myqmake="${QTDIR}/bin/qmake"
594 myqtdir=Qt3
595 fi
596
597 cd "${S}/${myqtdir}"
598 sed -i \
599 -e "s:DESTDIR = \$(QTDIR)/lib:DESTDIR = lib:" \
600 -e "s:DESTDIR = \$\$\[QT_INSTALL_LIBS\]:DESTDIR = lib:"\
601 qscintilla.pro || die "sed in qscintilla.pro failed"
602
603 cat <<- EOF >> qscintilla.pro
604 QMAKE_CFLAGS_RELEASE=${CFLAGS} -w
605 QMAKE_CXXFLAGS_RELEASE=${CXXFLAGS} -w
606 QMAKE_LFLAGS_RELEASE=${LDFLAGS}
607 EOF
608
609 ${myqmake} -o Makefile qscintilla.pro
610 cd "${S}/designer-${myqtdir}"
611
612 if use qt4; then
613 epatch "${FILESDIR}/${P}-qt4.patch"
614 else
615 epatch "${FILESDIR}/${P}-qt.patch"
616
617 sed -i \
618 -e "s:DESTDIR = \$(QTDIR)/plugins/designer:DESTDIR = .:" \
619 designer.pro || die "sed in designer.pro failed"
620 fi
621
622 cat <<- EOF >> designer.pro
623 QMAKE_CFLAGS_RELEASE=${CFLAGS} -w
624 QMAKE_CXXFLAGS_RELEASE=${CXXFLAGS} -w
625 QMAKE_LFLAGS_RELEASE=${LDFLAGS}
626 EOF
627
628 ${myqmake} -o Makefile designer.pro
629 }
630
631 src_compile() {
632 if use qt4; then
633 cd "${S}"/Qt4
634 else
635 cd "${S}"/Qt3
636 fi
637 make all staticlib CC="$(tc-getCC)" CXX="$(tc-getCXX)" LINK="$(tc-getCXX)" || die "make failed"
638
639 if use qt4; then
640 cd "${S}"/designer-Qt4
641 make DESTDIR="${D}"/usr/lib/qt4/plugins/designer || die "make failed"
642 dodir /usr/lib/qt4/plugins/designer
643 else
644 cd "${S}"/designer-Qt3
645 make DESTDIR="${D}"/${QTDIR}/plugins/designer || die "make failed"
646 dodir ${QTDIR}/plugins/designer
647 fi
648 make
649 }
650
651 src_install() {
652 dodoc ChangeLog NEWS README*
653 dodir /usr/{include,$(get_libdir),share/qscintilla/translations}
654 if use qt4; then
655 cd "${S}"/Qt4
656 else
657 cd "${S}"/Qt3
658 fi
659 cp -r Qsci "${D}/usr/include"
660 #cp qextscintilla*.h "${D}/usr/include"
661 cp qscintilla*.qm "${D}/usr/share/qscintilla/translations"
662 cp lib/libqscintilla2.a* "${D}/usr/$(get_libdir)"
663 cp -d lib/libqscintilla2.so.* "${D}/usr/$(get_libdir)"
664 if use qt4; then
665 dodir /usr/share/qt4/translations/
666 for I in $(ls -1 qscintilla*.qm) ; do
667 dosym "/usr/share/qscintilla/translations/${I}" "/usr/share/qt4/translations/${I}"
668 done
669 else
670 dodir ${QTDIR}/translations/
671 for I in $(ls -1 qscintilla*.qm) ; do
672 dosym "/usr/share/qscintilla/translations/${I}" "${QTDIR}/translations/${I}"
673 done
674 fi
675 if use doc ; then
676 dohtml "${S}"/doc/html/*
677 insinto /usr/share/doc/${PF}/Scintilla
678 doins "${S}"/doc/Scintilla/*
679 fi
680 if use qt4; then
681 insinto /usr/$(get_libdir)/qt4/plugins/designer
682 insopts -m0755
683 doins "${S}"/designer-Qt4/libqscintillaplugin.so
684 else
685 insinto ${QTDIR}/plugins/designer
686 insopts -m0755
687 doins "${S}"/designer-Qt3/libqscintillaplugin.so
688 fi
689 }
690
691 pkg_postinst() {
692 if use qt4; then
693 ewarn "Please remerge dev-python/PyQt4 if you have problems with eric4"
694 else
695 ewarn "Please remerge dev-python/PyQt if you have problems with eric3"
696 fi
697 ewarn "or other qscintilla related packages before submitting bug reports."
698 }
699
700
701
702 1.1 x11-libs/qscintilla/metadata.xml
703
704 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/qscintilla/metadata.xml?rev=1.1&view=markup
705 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/qscintilla/metadata.xml?rev=1.1&content-type=text/plain
706
707 Index: metadata.xml
708 ===================================================================
709 <?xml version="1.0" encoding="UTF-8"?>
710 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
711 <pkgmetadata>
712 <herd>python</herd>
713 <herd>qt</herd>
714 </pkgmetadata>
715
716
717
718 --
719 gentoo-commits@g.o mailing list