1 |
yngwin 10/02/10 20:11:29 |
2 |
|
3 |
Modified: qt-core-4.6.1.ebuild ChangeLog |
4 |
Log: |
5 |
Move QT4_EXTRACT_DIRECTORIES stuff to pkg_setup, to fix compilation on Darwin (bug 302391). |
6 |
(Portage version: 2.2_rc62/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.4 x11-libs/qt-core/qt-core-4.6.1.ebuild |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/qt-core/qt-core-4.6.1.ebuild?rev=1.4&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/qt-core/qt-core-4.6.1.ebuild?rev=1.4&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/qt-core/qt-core-4.6.1.ebuild?r1=1.3&r2=1.4 |
14 |
|
15 |
Index: qt-core-4.6.1.ebuild |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/x11-libs/qt-core/qt-core-4.6.1.ebuild,v |
18 |
retrieving revision 1.3 |
19 |
retrieving revision 1.4 |
20 |
diff -u -r1.3 -r1.4 |
21 |
--- qt-core-4.6.1.ebuild 23 Jan 2010 15:45:37 -0000 1.3 |
22 |
+++ qt-core-4.6.1.ebuild 10 Feb 2010 20:11:28 -0000 1.4 |
23 |
@@ -1,6 +1,6 @@ |
24 |
# Copyright 1999-2010 Gentoo Foundation |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-core/qt-core-4.6.1.ebuild,v 1.3 2010/01/23 15:45:37 tommy Exp $ |
27 |
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-core/qt-core-4.6.1.ebuild,v 1.4 2010/02/10 20:11:28 yngwin Exp $ |
28 |
|
29 |
EAPI="2" |
30 |
inherit qt4-build |
31 |
@@ -23,49 +23,6 @@ |
32 |
) |
33 |
|
34 |
pkg_setup() { |
35 |
- qt4-build_pkg_setup |
36 |
- |
37 |
- if has_version x11-libs/qt-core; then |
38 |
- # Check to see if they've changed the glib flag since the last time installing this package. |
39 |
- if use glib && ! built_with_use x11-libs/qt-core glib && has_version x11-libs/qt-gui; then |
40 |
- ewarn "You have changed the \"glib\" use flag since the last time you have emerged this package." |
41 |
- ewarn "You should also re-emerge x11-libs/qt-gui in order for it to pick up this change." |
42 |
- elif ! use glib && built_with_use x11-libs/qt-core glib && has_version x11-libs/qt-gui; then |
43 |
- ewarn "You have changed the \"glib\" use flag since the last time you have emerged this package." |
44 |
- ewarn "You should also re-emerge x11-libs/qt-gui in order for it to pick up this change." |
45 |
- fi |
46 |
- |
47 |
- # Check to see if they've changed the qt3support flag since the last time installing this package. |
48 |
- # If so, give a list of packages they need to uninstall first. |
49 |
- if use qt3support && ! built_with_use x11-libs/qt-core qt3support; then |
50 |
- local need_to_remove |
51 |
- ewarn "You have changed the \"qt3support\" use flag since the last time you have emerged this package." |
52 |
- for x in sql opengl gui qt3support; do |
53 |
- local pkg="x11-libs/qt-${x}" |
54 |
- if has_version $pkg; then |
55 |
- need_to_remove="${need_to_remove} ${pkg}" |
56 |
- fi |
57 |
- done |
58 |
- if [[ -n ${need_to_remove} ]]; then |
59 |
- die "You must first uninstall these packages before continuing: \n\t\t${need_to_remove}" |
60 |
- fi |
61 |
- elif ! use qt3support && built_with_use x11-libs/qt-core qt3support ; then |
62 |
- local need_to_remove |
63 |
- ewarn "You have changed the \"qt3support\" use flag since the last time you have emerged this package." |
64 |
- for x in sql opengl gui qt3support; do |
65 |
- local pkg="x11-libs/qt-${x}" |
66 |
- if has_version $pkg; then |
67 |
- need_to_remove="${need_to_remove} ${pkg}" |
68 |
- fi |
69 |
- done |
70 |
- if [[ -n ${need_to_remove} ]]; then |
71 |
- die "You must first uninstall these packages before continuing: \n\t\t${need_to_remove}" |
72 |
- fi |
73 |
- fi |
74 |
- fi |
75 |
-} |
76 |
- |
77 |
-src_unpack() { |
78 |
QT4_TARGET_DIRECTORIES=" |
79 |
src/tools/bootstrap |
80 |
src/tools/moc |
81 |
@@ -79,8 +36,6 @@ |
82 |
tools/linguist/lrelease |
83 |
tools/linguist/lupdate" |
84 |
|
85 |
- # Most ebuilds include almost everything for testing |
86 |
- # Will clear out unneeded directories after everything else works OK |
87 |
QT4_EXTRACT_DIRECTORIES=" |
88 |
include/Qt |
89 |
include/QtCore |
90 |
@@ -102,22 +57,22 @@ |
91 |
|
92 |
if use doc; then |
93 |
QT4_EXTRACT_DIRECTORIES="${QT4_EXTRACT_DIRECTORIES} |
94 |
- doc/" |
95 |
+ doc/" |
96 |
QT4_TARGET_DIRECTORIES="${QT4_TARGET_DIRECTORIES} |
97 |
- tools/qdoc3" |
98 |
+ tools/qdoc3" |
99 |
fi |
100 |
QT4_EXTRACT_DIRECTORIES="${QT4_TARGET_DIRECTORIES} |
101 |
${QT4_EXTRACT_DIRECTORIES}" |
102 |
|
103 |
- qt4-build_src_unpack |
104 |
+ qt4-build_pkg_setup |
105 |
+} |
106 |
|
107 |
+src_prepare() { |
108 |
# Don't pre-strip, bug 235026 |
109 |
for i in kr jp cn tw ; do |
110 |
echo "CONFIG+=nostrip" >> "${S}"/src/plugins/codecs/${i}/${i}.pro |
111 |
done |
112 |
-} |
113 |
|
114 |
-src_prepare() { |
115 |
qt4-build_src_prepare |
116 |
|
117 |
# bug 172219 |
118 |
|
119 |
|
120 |
|
121 |
1.89 x11-libs/qt-core/ChangeLog |
122 |
|
123 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/qt-core/ChangeLog?rev=1.89&view=markup |
124 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/qt-core/ChangeLog?rev=1.89&content-type=text/plain |
125 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/qt-core/ChangeLog?r1=1.88&r2=1.89 |
126 |
|
127 |
Index: ChangeLog |
128 |
=================================================================== |
129 |
RCS file: /var/cvsroot/gentoo-x86/x11-libs/qt-core/ChangeLog,v |
130 |
retrieving revision 1.88 |
131 |
retrieving revision 1.89 |
132 |
diff -u -r1.88 -r1.89 |
133 |
--- ChangeLog 9 Feb 2010 21:04:22 -0000 1.88 |
134 |
+++ ChangeLog 10 Feb 2010 20:11:28 -0000 1.89 |
135 |
@@ -1,6 +1,10 @@ |
136 |
# ChangeLog for x11-libs/qt-core |
137 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
138 |
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-core/ChangeLog,v 1.88 2010/02/09 21:04:22 spatz Exp $ |
139 |
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-core/ChangeLog,v 1.89 2010/02/10 20:11:28 yngwin Exp $ |
140 |
+ |
141 |
+ 10 Feb 2010; Ben de Groot <yngwin@g.o> qt-core-4.6.1.ebuild: |
142 |
+ Move QT4_EXTRACT_DIRECTORIES stuff to pkg_setup, to fix compilation on |
143 |
+ Darwin (bug 302391). |
144 |
|
145 |
09 Feb 2010; Dror Levin <spatz@g.o> -qt-core-4.6.0-r1.ebuild: |
146 |
Remove old. |