1 |
commit: b0d301b28c8e395e8d6f57f00c8e285e48a01817 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Nov 30 01:23:59 2020 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Nov 30 01:24:43 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/kde-sunset.git/commit/?id=b0d301b2 |
7 |
|
8 |
dev-db/qt-unixODBC: Drop Qt3 adjacent package |
9 |
|
10 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
11 |
|
12 |
dev-db/qt-unixODBC/ChangeLog | 179 ------------------------ |
13 |
dev-db/qt-unixODBC/files/qt-no-rpath.patch | 11 -- |
14 |
dev-db/qt-unixODBC/files/unixODBC-2.2.14.patch | 39 ------ |
15 |
dev-db/qt-unixODBC/metadata.xml | 5 - |
16 |
dev-db/qt-unixODBC/qt-unixODBC-3.3.8b-r1.ebuild | 71 ---------- |
17 |
dev-db/qt-unixODBC/qt-unixODBC-3.3.8b.ebuild | 70 --------- |
18 |
6 files changed, 375 deletions(-) |
19 |
|
20 |
diff --git a/dev-db/qt-unixODBC/ChangeLog b/dev-db/qt-unixODBC/ChangeLog |
21 |
deleted file mode 100644 |
22 |
index 5a8a6b09..00000000 |
23 |
--- a/dev-db/qt-unixODBC/ChangeLog |
24 |
+++ /dev/null |
25 |
@@ -1,179 +0,0 @@ |
26 |
-# ChangeLog for dev-db/qt-unixODBC |
27 |
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-db/qt-unixODBC/ChangeLog,v 1.45 2009/04/27 20:06:56 hwoarang Exp $ |
29 |
- |
30 |
- 21 Mar 2013; Lars Wendler <polynomial-c@g.o> |
31 |
- qt-unixODBC-3.3.8b.ebuild, qt-unixODBC-3.3.8b-r1.ebuild: |
32 |
- Fixed dependencies on qt packages. |
33 |
- |
34 |
-*qt-unixODBC-3.3.8b-r1 (23 Mar 2010) |
35 |
- |
36 |
- 23 Mar 2010; Martin von Gagern (MvG) <Martin.vGagern@×××.net> |
37 |
- +files/unixODBC-2.2.14.patch, qt-unixODBC-3.3.8b.ebuild, |
38 |
- +qt-unixODBC-3.3.8b-r1.ebuild: |
39 |
- Restore compatibility with dev-db/unixODBC-2.2.14 |
40 |
- |
41 |
- 27 Apr 2009; Markos Chandras <hwoarang@g.o> |
42 |
- -qt-unixODBC-3.3.8.ebuild: |
43 |
- Remove masked file |
44 |
- |
45 |
- 17 Jan 2009; nixnut <nixnut@g.o> qt-unixODBC-3.3.8b.ebuild: |
46 |
- ppc stable #254153 |
47 |
- |
48 |
- 10 Jan 2009; Raúl Porcel <armin76@g.o> qt-unixODBC-3.3.8b.ebuild: |
49 |
- alpha/ia64/sparc/x86 stable wrt #254153 |
50 |
- |
51 |
- 09 Jan 2009; Guy Martin <gmsoft@g.o> qt-unixODBC-3.3.8b.ebuild: |
52 |
- hppa stable, #254153 |
53 |
- |
54 |
- 07 Jan 2009; Thomas Anderson <gentoofan23@g.o> |
55 |
- qt-unixODBC-3.3.8b.ebuild: |
56 |
- stable amd64, dependency for bug 253978 |
57 |
- |
58 |
- 07 Jan 2009; Brent Baude <ranger@g.o> qt-unixODBC-3.3.8b.ebuild: |
59 |
- Marking qt-unixODBC-3.3.8b ppc64 for bug 253978 |
60 |
- |
61 |
-*qt-unixODBC-3.3.8b (26 Jul 2008) |
62 |
- |
63 |
- 26 Jul 2008; Carsten Lohrke <carlo@g.o> +qt-unixODBC-3.3.8b.ebuild: |
64 |
- Version bump. |
65 |
- |
66 |
- 21 May 2008; Ingmar Vanhassel <ingmar@g.o> |
67 |
- -qt-unixODBC-3.3.4-r1.ebuild: |
68 |
- Old. |
69 |
- |
70 |
- 27 Mar 2008; Bo Ørsted Andresen <zlin@g.o> |
71 |
- qt-unixODBC-3.3.8.ebuild: |
72 |
- Respect user's CFLAGS (bug #181789). Fix quoting. Use doins. |
73 |
- |
74 |
- 13 Mar 2008; <ricmm@g.o> qt-unixODBC-3.3.4-r1.ebuild: |
75 |
- Drop to ~mips due to unstable deps |
76 |
- |
77 |
- 03 May 2007; Caleb Tennis <caleb@g.o> qt-unixODBC-3.3.4-r1.ebuild: |
78 |
- readd amd64 as it likes this version for hardened as well |
79 |
- |
80 |
- 20 Apr 2007; Caleb Tennis <caleb@g.o> -qt-unixODBC-3.3.6.ebuild: |
81 |
- remove 3.3.6 as it's qt 3.3.6 isn't in portage anymore |
82 |
- |
83 |
- 18 Apr 2007; Jose Luis Rivero <yoswink@g.o> |
84 |
- qt-unixODBC-3.3.8.ebuild: |
85 |
- Stable on alpha wrt security #172746 |
86 |
- |
87 |
- 13 Apr 2007; Gustavo Zacarias <gustavoz@g.o> |
88 |
- qt-unixODBC-3.3.8.ebuild: |
89 |
- Stable on sparc wrt security #172746 |
90 |
- |
91 |
- 12 Apr 2007; Jeroen Roovers <jer@g.o> qt-unixODBC-3.3.8.ebuild: |
92 |
- Stable for HPPA (bug #172746). |
93 |
- |
94 |
- 11 Apr 2007; Tobias Scherbaum <dertobi123@g.o> |
95 |
- qt-unixODBC-3.3.8.ebuild: |
96 |
- ppc stable, bug #172746 |
97 |
- |
98 |
- 11 Apr 2007; Markus Rothe <corsair@g.o> qt-unixODBC-3.3.8.ebuild: |
99 |
- Stable on ppc64; bug #172746 |
100 |
- |
101 |
- 11 Apr 2007; Raúl Porcel <armin76@g.o> qt-unixODBC-3.3.8.ebuild: |
102 |
- ia64 + x86 stable wrt security bug 172746 |
103 |
- |
104 |
- 11 Apr 2007; Marcus D. Hanwell <cryos@g.o> |
105 |
- qt-unixODBC-3.3.8.ebuild: |
106 |
- Stable on amd64, bug 172746. |
107 |
- |
108 |
-*qt-unixODBC-3.3.8 (22 Feb 2007) |
109 |
- |
110 |
- 22 Feb 2007; Caleb Tennis <caleb@g.o> +qt-unixODBC-3.3.8.ebuild: |
111 |
- Bump to Qt 3.3.8 |
112 |
- |
113 |
- 22 Feb 2007; Piotr Jaroszyński <peper@g.o> ChangeLog: |
114 |
- Transition to Manifest2. |
115 |
- |
116 |
- 15 Oct 2006; Bryan Østergaard <kloeri@g.o> |
117 |
- qt-unixODBC-3.3.6.ebuild: |
118 |
- Stable on ia64, bug 132887. |
119 |
- |
120 |
- 17 Jul 2006; Caleb Tennis <caleb@g.o> -qt-unixODBC-3.3.5.ebuild: |
121 |
- removing unneeded version |
122 |
- |
123 |
- 30 May 2006; Chris Gianelloni <wolf31o2@g.o> |
124 |
- qt-unixODBC-3.3.6.ebuild: |
125 |
- Stable on amd64 wrt bug #132887. |
126 |
- |
127 |
- 25 May 2006; Guy Martin <gmsoft@g.o> qt-unixODBC-3.3.6.ebuild: |
128 |
- Stable on hppa. |
129 |
- |
130 |
- 22 May 2006; Caleb Tennis <caleb@g.o> -qt-unixODBC-3.3.4.ebuild: |
131 |
- remove for GSLA 200510-14 |
132 |
- |
133 |
- 12 May 2006; Thomas Cort <tcort@g.o> qt-unixODBC-3.3.6.ebuild: |
134 |
- Stable on alpha wrt Bug #132887. |
135 |
- |
136 |
- 12 May 2006; Chris Gianelloni <wolf31o2@g.o> |
137 |
- qt-unixODBC-3.3.6.ebuild: |
138 |
- Marking stable on x86 wrt bug #132887. |
139 |
- |
140 |
- 12 May 2006; Luca Barbato <lu_zero@g.o> qt-unixODBC-3.3.6.ebuild: |
141 |
- Marked ppc |
142 |
- |
143 |
- 12 May 2006; Jason Wever <weeve@g.o> qt-unixODBC-3.3.6.ebuild: |
144 |
- Stable on SPARC wrt bug #132887. |
145 |
- |
146 |
- 11 May 2006; Markus Rothe <corsair@g.o> qt-unixODBC-3.3.6.ebuild: |
147 |
- Stable on ppc64; bug #132887 |
148 |
- |
149 |
-*qt-unixODBC-3.3.6 (17 Mar 2006) |
150 |
- |
151 |
- 17 Mar 2006; Caleb Tennis <caleb@g.o> +qt-unixODBC-3.3.6.ebuild: |
152 |
- bumped to 3.3.6 |
153 |
- |
154 |
- 29 Sep 2005; Hardave Riar <hardave@g.o> |
155 |
- qt-unixODBC-3.3.4-r1.ebuild: |
156 |
- Stable on mips, dep of bug #105695. |
157 |
- |
158 |
- 22 Sep 2005; Mark Loeser <halcy0n@g.o> qt-unixODBC-3.3.4-r1.ebuild: |
159 |
- Stable on x86; bug #105695. |
160 |
- |
161 |
- 20 Sep 2005; Marcus D. Hanwell <cryos@g.o> |
162 |
- qt-unixODBC-3.3.4-r1.ebuild: |
163 |
- Stable on amd64, bug 105695. |
164 |
- |
165 |
- 20 Sep 2005; Michael Hanselmann <hansmi@g.o> |
166 |
- qt-unixODBC-3.3.4-r1.ebuild: |
167 |
- Stable on hppa, ppc. |
168 |
- |
169 |
- 20 Sep 2005; Gustavo Zacarias <gustavoz@g.o> |
170 |
- qt-unixODBC-3.3.4-r1.ebuild: |
171 |
- Stable on sparc wrt #105695 |
172 |
- |
173 |
-*qt-unixODBC-3.3.4-r1 (20 Sep 2005) |
174 |
- |
175 |
- 20 Sep 2005; Caleb Tennis <caleb@g.o> +files/qt-no-rpath.patch, |
176 |
- +qt-unixODBC-3.3.4-r1.ebuild, qt-unixODBC-3.3.5.ebuild: |
177 |
- Rev bump to add qt-no-rpatch.patch from qt ebuild to make the portage |
178 |
- RUNPATH error checker happy |
179 |
- |
180 |
-*qt-unixODBC-3.3.5 (17 Sep 2005) |
181 |
- |
182 |
- 17 Sep 2005; Caleb Tennis <caleb@g.o> +qt-unixODBC-3.3.5.ebuild: |
183 |
- Version bump |
184 |
- |
185 |
- 17 Sep 2005; Aron Griffis <agriffis@g.o> qt-unixODBC-3.3.4.ebuild: |
186 |
- Mark 3.3.4 stable on ia64 |
187 |
- |
188 |
- 10 Sep 2005; Aron Griffis <agriffis@g.o> qt-unixODBC-3.3.4.ebuild: |
189 |
- Mark 3.3.4 stable on alpha |
190 |
- |
191 |
- 09 Sep 2005; Tom Gall <tgall@g.o> qt-unixODBC-3.3.4.ebuild: |
192 |
- stable on ppc64 bug #14178 |
193 |
- |
194 |
-*qt-unixODBC-3.3.4 (01 Jul 2005) |
195 |
- |
196 |
- 01 Jul 2005; Dan Armak <danarmak@g.o> -qt-unixODBC-3.3.3.ebuild, |
197 |
- +qt-unixODBC-3.3.4.ebuild: |
198 |
- Added 3.3.4 version. Unmasking. Cf bug 14178. |
199 |
- |
200 |
-*qt-ODBC-3.3.3 (23 Oct 2004) |
201 |
- |
202 |
- 23 Oct 2004; Dan Armak <danarmak@g.o> qt-ODBC-3.3.3.ebuild: |
203 |
- First created. A separate ebuild for the QT unixODBC plugin to fix #14178. |
204 |
- |
205 |
|
206 |
diff --git a/dev-db/qt-unixODBC/files/qt-no-rpath.patch b/dev-db/qt-unixODBC/files/qt-no-rpath.patch |
207 |
deleted file mode 100644 |
208 |
index a7d78547..00000000 |
209 |
--- a/dev-db/qt-unixODBC/files/qt-no-rpath.patch |
210 |
+++ /dev/null |
211 |
@@ -1,11 +0,0 @@ |
212 |
---- mkspecs/linux-g++/qmake.conf.orig 2004-12-21 14:57:27.315410728 -0500 |
213 |
-+++ mkspecs/linux-g++/qmake.conf 2004-12-21 14:57:40.129462696 -0500 |
214 |
-@@ -56,7 +56,7 @@ |
215 |
- QMAKE_LFLAGS_PLUGIN = $$QMAKE_LFLAGS_SHLIB |
216 |
- QMAKE_LFLAGS_SONAME = -Wl,-soname, |
217 |
- QMAKE_LFLAGS_THREAD = |
218 |
--QMAKE_RPATH = -Wl,-rpath, |
219 |
-+QMAKE_RPATH = |
220 |
- |
221 |
- QMAKE_LIBS = |
222 |
- QMAKE_LIBS_DYNLOAD = -ldl |
223 |
|
224 |
diff --git a/dev-db/qt-unixODBC/files/unixODBC-2.2.14.patch b/dev-db/qt-unixODBC/files/unixODBC-2.2.14.patch |
225 |
deleted file mode 100644 |
226 |
index 1e865715..00000000 |
227 |
--- a/dev-db/qt-unixODBC/files/unixODBC-2.2.14.patch |
228 |
+++ /dev/null |
229 |
@@ -1,39 +0,0 @@ |
230 |
-unixODBC 2.2.14 defines SQLLEN and SQLULEN using the compiler typedef |
231 |
-declaration instead of preprocessor #define macro definition. This breaks |
232 |
-the checks at the head of qsql_odbc.cpp, causing the source to fall back to |
233 |
-older types instead, leading to compile time errors like this: |
234 |
- |
235 |
-qsql_odbc.cpp:285: error: cannot convert ‘SQLINTEGER*’ to ‘SQLLEN*’ for argument ‘6’ to |
236 |
-‘SQLRETURN SQLGetData(void*, SQLUSMALLINT, SQLSMALLINT, void*, SQLLEN, SQLLEN*)’ |
237 |
-... |
238 |
-qsql_odbc.cpp:1227: error: cannot convert ‘SQLINTEGER*’ to ‘SQLLEN*’ for argument ‘10’ to |
239 |
-‘SQLRETURN SQLBindParameter(void*, SQLUSMALLINT, SQLSMALLINT, SQLSMALLINT, SQLSMALLINT, SQLULEN, SQLSMALLINT, void*, SQLLEN, SQLLEN*)’ |
240 |
- |
241 |
-This change hard-wires the new names, breaking compatibility with older |
242 |
-unixODBC versions (don't know what version number ranges) in favour of |
243 |
-support for newer releases like 2.2.14. |
244 |
- |
245 |
-2010-03-23 Martin von Gagern |
246 |
- |
247 |
-Index: qt-x11-free-3.3.8b/src/sql/drivers/odbc/qsql_odbc.cpp |
248 |
-=================================================================== |
249 |
---- qt-x11-free-3.3.8b.orig/src/sql/drivers/odbc/qsql_odbc.cpp |
250 |
-+++ qt-x11-free-3.3.8b/src/sql/drivers/odbc/qsql_odbc.cpp |
251 |
-@@ -61,17 +61,8 @@ |
252 |
- #endif |
253 |
- |
254 |
- // newer platform SDKs use SQLLEN instead of SQLINTEGER |
255 |
--#ifdef SQLLEN |
256 |
- # define QSQLLEN SQLLEN |
257 |
--#else |
258 |
--# define QSQLLEN SQLINTEGER |
259 |
--#endif |
260 |
-- |
261 |
--#ifdef SQLULEN |
262 |
- # define QSQLULEN SQLULEN |
263 |
--#else |
264 |
--# define QSQLULEN SQLUINTEGER |
265 |
--#endif |
266 |
- |
267 |
- |
268 |
- static const QSQLLEN COLNAMESIZE = 256; |
269 |
|
270 |
diff --git a/dev-db/qt-unixODBC/metadata.xml b/dev-db/qt-unixODBC/metadata.xml |
271 |
deleted file mode 100644 |
272 |
index 6f49eba8..00000000 |
273 |
--- a/dev-db/qt-unixODBC/metadata.xml |
274 |
+++ /dev/null |
275 |
@@ -1,5 +0,0 @@ |
276 |
-<?xml version="1.0" encoding="UTF-8"?> |
277 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
278 |
-<pkgmetadata> |
279 |
-<!-- maintainer-needed --> |
280 |
-</pkgmetadata> |
281 |
|
282 |
diff --git a/dev-db/qt-unixODBC/qt-unixODBC-3.3.8b-r1.ebuild b/dev-db/qt-unixODBC/qt-unixODBC-3.3.8b-r1.ebuild |
283 |
deleted file mode 100644 |
284 |
index b1e73317..00000000 |
285 |
--- a/dev-db/qt-unixODBC/qt-unixODBC-3.3.8b-r1.ebuild |
286 |
+++ /dev/null |
287 |
@@ -1,71 +0,0 @@ |
288 |
-# Copyright 1999-2013 Gentoo Foundation |
289 |
-# Distributed under the terms of the GNU General Public License v2 |
290 |
-# $Header: /var/cvsroot/gentoo-x86/dev-db/qt-unixODBC/qt-unixODBC-3.3.8b.ebuild,v 1.6 2009/01/17 16:39:16 nixnut Exp $ |
291 |
- |
292 |
-inherit eutils |
293 |
- |
294 |
-SRCTYPE="free" |
295 |
-DESCRIPTION="QT version ${PV}" |
296 |
-HOMEPAGE="http://www.trolltech.com/" |
297 |
-SRC_URI="ftp://ftp.trolltech.com/qt/source/qt-x11-${SRCTYPE}-${PV}.tar.gz" |
298 |
-IUSE="" |
299 |
-LICENSE="|| ( QPL-1.0 GPL-2 GPL-3 )" |
300 |
-SLOT="3" |
301 |
-KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86" |
302 |
- |
303 |
-RDEPEND="~dev-qt/qt-meta-${PV} |
304 |
- dev-db/unixODBC" |
305 |
-DEPEND="${RDEPEND} |
306 |
- >=dev-db/unixODBC-2.2.14" |
307 |
- |
308 |
-S="${WORKDIR}/qt-x11-${SRCTYPE}-${PV}" |
309 |
- |
310 |
-QTBASE="/usr/qt/3" |
311 |
-export QTDIR=${S} |
312 |
-export PLATFORM=linux-g++ |
313 |
- |
314 |
-src_unpack() { |
315 |
- unpack ${A} |
316 |
- cd "${S}" |
317 |
- |
318 |
- epatch "${FILESDIR}"/qt-no-rpath.patch |
319 |
- epatch "${FILESDIR}"/unixODBC-2.2.14.patch |
320 |
- |
321 |
- cp configure configure.orig |
322 |
- sed -e 's:read acceptance:acceptance=yes:' configure.orig > configure |
323 |
- |
324 |
- sed -i -e "s:QMAKE_CFLAGS_RELEASE.*=.*:QMAKE_CFLAGS_RELEASE=${CFLAGS}:" \ |
325 |
- -e "s:QMAKE_CXXFLAGS_RELEASE.*=.*:QMAKE_CXXFLAGS_RELEASE=${CXXFLAGS}:" \ |
326 |
- -e "s:QMAKE_LFLAGS_RELEASE.*=.*:QMAKE_LFLAGS_RELEASE=${LDFLAGS}:" \ |
327 |
- -e "s:\<QMAKE_CC\>.*=.*:QMAKE_CC=$(tc-getCC):" \ |
328 |
- -e "s:\<QMAKE_CXX\>.*=.*:QMAKE_CXX=$(tc-getCXX):" \ |
329 |
- -e "s:\<QMAKE_LINK\>.*=.*:QMAKE_LINK=$(tc-getCXX):" \ |
330 |
- -e "s:\<QMAKE_LINK_SHLIB\>.*=.*:QMAKE_LINK_SHLIB=$(tc-getCXX):" \ |
331 |
- "${S}"/mkspecs/${PLATFORM}/qmake.conf || die "sed to fix CFLAGS failed" |
332 |
-} |
333 |
- |
334 |
-src_compile() { |
335 |
- export QTDIR=${S} |
336 |
- export SYSCONF=${D}${QTBASE}/etc/settings |
337 |
- |
338 |
- # Let's just allow writing to these directories during Qt emerge |
339 |
- # as it makes Qt much happier. |
340 |
- addwrite "${QTBASE}/etc/settings" |
341 |
- addwrite "${HOME}/.qt" |
342 |
- |
343 |
- export YACC='byacc -d' |
344 |
- |
345 |
- ./configure -sm -thread -stl -system-libjpeg -verbose -largefile \ |
346 |
- -qt-imgfmt-{jpeg,mng,png} -tablet -system-libmng \ |
347 |
- -system-libpng -lpthread -xft -platform ${PLATFORM} -xplatform \ |
348 |
- ${PLATFORM} -xrender -prefix ${QTBASE} -fast ${myconf} \ |
349 |
- -dlopen-opengl -plugin-sql-odbc -L${QTBASE}/lib || die "configure failed" |
350 |
- |
351 |
- cd "${S}"/plugins/src/sqldrivers/odbc |
352 |
- emake || die "emake failed" |
353 |
-} |
354 |
- |
355 |
-src_install() { |
356 |
- insinto ${QTBASE}/plugins/sqldrivers |
357 |
- doins "${S}"/plugins/sqldrivers/libqsqlodbc.so || die "doins failed" |
358 |
-} |
359 |
|
360 |
diff --git a/dev-db/qt-unixODBC/qt-unixODBC-3.3.8b.ebuild b/dev-db/qt-unixODBC/qt-unixODBC-3.3.8b.ebuild |
361 |
deleted file mode 100644 |
362 |
index b5be6775..00000000 |
363 |
--- a/dev-db/qt-unixODBC/qt-unixODBC-3.3.8b.ebuild |
364 |
+++ /dev/null |
365 |
@@ -1,70 +0,0 @@ |
366 |
-# Copyright 1999-2013 Gentoo Foundation |
367 |
-# Distributed under the terms of the GNU General Public License v2 |
368 |
-# $Header: /var/cvsroot/gentoo-x86/dev-db/qt-unixODBC/qt-unixODBC-3.3.8b.ebuild,v 1.6 2009/01/17 16:39:16 nixnut Exp $ |
369 |
- |
370 |
-inherit eutils |
371 |
- |
372 |
-SRCTYPE="free" |
373 |
-DESCRIPTION="QT version ${PV}" |
374 |
-HOMEPAGE="http://www.trolltech.com/" |
375 |
-SRC_URI="ftp://ftp.trolltech.com/qt/source/qt-x11-${SRCTYPE}-${PV}.tar.gz" |
376 |
-IUSE="" |
377 |
-LICENSE="|| ( QPL-1.0 GPL-2 GPL-3 )" |
378 |
-SLOT="3" |
379 |
-KEYWORDS="~alpha amd64 ~hppa ~mips ~ppc ~ppc64 ~sparc x86" |
380 |
- |
381 |
-RDEPEND="~dev-qt/qt-meta-${PV} |
382 |
- dev-db/unixODBC" |
383 |
-DEPEND="${RDEPEND} |
384 |
- <dev-db/unixODBC-2.2.14" |
385 |
- |
386 |
-S="${WORKDIR}/qt-x11-${SRCTYPE}-${PV}" |
387 |
- |
388 |
-QTBASE="/usr/qt/3" |
389 |
-export QTDIR=${S} |
390 |
-export PLATFORM=linux-g++ |
391 |
- |
392 |
-src_unpack() { |
393 |
- unpack ${A} |
394 |
- cd "${S}" |
395 |
- |
396 |
- epatch "${FILESDIR}"/qt-no-rpath.patch |
397 |
- |
398 |
- cp configure configure.orig |
399 |
- sed -e 's:read acceptance:acceptance=yes:' configure.orig > configure |
400 |
- |
401 |
- sed -i -e "s:QMAKE_CFLAGS_RELEASE.*=.*:QMAKE_CFLAGS_RELEASE=${CFLAGS}:" \ |
402 |
- -e "s:QMAKE_CXXFLAGS_RELEASE.*=.*:QMAKE_CXXFLAGS_RELEASE=${CXXFLAGS}:" \ |
403 |
- -e "s:QMAKE_LFLAGS_RELEASE.*=.*:QMAKE_LFLAGS_RELEASE=${LDFLAGS}:" \ |
404 |
- -e "s:\<QMAKE_CC\>.*=.*:QMAKE_CC=$(tc-getCC):" \ |
405 |
- -e "s:\<QMAKE_CXX\>.*=.*:QMAKE_CXX=$(tc-getCXX):" \ |
406 |
- -e "s:\<QMAKE_LINK\>.*=.*:QMAKE_LINK=$(tc-getCXX):" \ |
407 |
- -e "s:\<QMAKE_LINK_SHLIB\>.*=.*:QMAKE_LINK_SHLIB=$(tc-getCXX):" \ |
408 |
- "${S}"/mkspecs/${PLATFORM}/qmake.conf || die "sed to fix CFLAGS failed" |
409 |
-} |
410 |
- |
411 |
-src_compile() { |
412 |
- export QTDIR=${S} |
413 |
- export SYSCONF=${D}${QTBASE}/etc/settings |
414 |
- |
415 |
- # Let's just allow writing to these directories during Qt emerge |
416 |
- # as it makes Qt much happier. |
417 |
- addwrite "${QTBASE}/etc/settings" |
418 |
- addwrite "${HOME}/.qt" |
419 |
- |
420 |
- export YACC='byacc -d' |
421 |
- |
422 |
- ./configure -sm -thread -stl -system-libjpeg -verbose -largefile \ |
423 |
- -qt-imgfmt-{jpeg,mng,png} -tablet -system-libmng \ |
424 |
- -system-libpng -lpthread -xft -platform ${PLATFORM} -xplatform \ |
425 |
- ${PLATFORM} -xrender -prefix ${QTBASE} -fast ${myconf} \ |
426 |
- -dlopen-opengl -plugin-sql-odbc -L${QTBASE}/lib || die "configure failed" |
427 |
- |
428 |
- cd "${S}"/plugins/src/sqldrivers/odbc |
429 |
- emake || die "emake failed" |
430 |
-} |
431 |
- |
432 |
-src_install() { |
433 |
- insinto ${QTBASE}/plugins/sqldrivers |
434 |
- doins "${S}"/plugins/sqldrivers/libqsqlodbc.so || die "doins failed" |
435 |
-} |