1 |
tampakrap 09/12/01 14:50:46 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: qt-gui-4.6.0.ebuild |
5 |
Log: |
6 |
Version bump to 4.6.0 |
7 |
(Portage version: 2.2_rc54/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.85 x11-libs/qt-gui/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/qt-gui/ChangeLog?rev=1.85&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/qt-gui/ChangeLog?rev=1.85&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/qt-gui/ChangeLog?r1=1.84&r2=1.85 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/x11-libs/qt-gui/ChangeLog,v |
19 |
retrieving revision 1.84 |
20 |
retrieving revision 1.85 |
21 |
diff -u -r1.84 -r1.85 |
22 |
--- ChangeLog 18 Nov 2009 20:50:35 -0000 1.84 |
23 |
+++ ChangeLog 1 Dec 2009 14:50:46 -0000 1.85 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for x11-libs/qt-gui |
26 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-gui/ChangeLog,v 1.84 2009/11/18 20:50:35 wired Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-gui/ChangeLog,v 1.85 2009/12/01 14:50:46 tampakrap Exp $ |
29 |
+ |
30 |
+*qt-gui-4.6.0 (01 Dec 2009) |
31 |
+ |
32 |
+ 01 Dec 2009; Theo Chatzimichos <tampakrap@g.o> |
33 |
+ +qt-gui-4.6.0.ebuild: |
34 |
+ Version Bump to 4.6.0 |
35 |
|
36 |
*qt-gui-4.6.0_rc1 (18 Nov 2009) |
37 |
|
38 |
|
39 |
|
40 |
|
41 |
1.1 x11-libs/qt-gui/qt-gui-4.6.0.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/qt-gui/qt-gui-4.6.0.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/qt-gui/qt-gui-4.6.0.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: qt-gui-4.6.0.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2009 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-gui/qt-gui-4.6.0.ebuild,v 1.1 2009/12/01 14:50:46 tampakrap Exp $ |
51 |
|
52 |
EAPI="2" |
53 |
inherit eutils qt4-build |
54 |
|
55 |
DESCRIPTION="The GUI module for the Qt toolkit" |
56 |
SLOT="4" |
57 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
58 |
IUSE="+accessibility cups dbus +glib gtk mng nas nis raster tiff qt3support xinerama" |
59 |
|
60 |
RDEPEND="media-libs/fontconfig |
61 |
>=media-libs/freetype-2 |
62 |
media-libs/jpeg |
63 |
media-libs/libpng |
64 |
sys-libs/zlib |
65 |
x11-libs/libX11 |
66 |
x11-libs/libXext |
67 |
x11-libs/libXrandr |
68 |
x11-libs/libXcursor |
69 |
x11-libs/libXfont |
70 |
x11-libs/libSM |
71 |
x11-libs/libXi |
72 |
~x11-libs/qt-core-${PV}[debug=,glib=,qt3support=] |
73 |
~x11-libs/qt-script-${PV}[debug=] |
74 |
cups? ( net-print/cups ) |
75 |
dbus? ( ~x11-libs/qt-dbus-${PV}[debug=] ) |
76 |
gtk? ( x11-libs/gtk+:2 ) |
77 |
mng? ( >=media-libs/libmng-1.0.9 ) |
78 |
nas? ( >=media-libs/nas-1.5 ) |
79 |
tiff? ( media-libs/tiff ) |
80 |
xinerama? ( x11-libs/libXinerama ) |
81 |
" |
82 |
DEPEND="${RDEPEND} |
83 |
xinerama? ( x11-proto/xineramaproto ) |
84 |
x11-proto/xextproto |
85 |
x11-proto/inputproto" |
86 |
PDEPEND="qt3support? ( ~x11-libs/qt-qt3support-${PV}[debug=] )" |
87 |
|
88 |
QT4_TARGET_DIRECTORIES=" |
89 |
src/gui |
90 |
src/scripttools |
91 |
tools/designer |
92 |
tools/linguist/linguist |
93 |
src/plugins/imageformats/gif |
94 |
src/plugins/imageformats/ico |
95 |
src/plugins/imageformats/jpeg |
96 |
src/plugins/inputmethods" |
97 |
|
98 |
QT4_EXTRACT_DIRECTORIES=" |
99 |
include |
100 |
src |
101 |
tools/linguist/phrasebooks |
102 |
tools/linguist/shared |
103 |
tools/shared" |
104 |
|
105 |
pkg_setup() { |
106 |
if ! use qt3support; then |
107 |
ewarn "WARNING: if you need 'qtconfig', you _must_ enable qt3support." |
108 |
ebeep 5 |
109 |
fi |
110 |
|
111 |
if use raster; then |
112 |
ewarn "WARNING: You have enabled raster backend rendering engine." |
113 |
ewarn "This is a new feature and may lead to composite problems" |
114 |
ewarn "screen corruption and broken qt4 or kde4 applications. " |
115 |
ewarn "If you encounter such problems please" |
116 |
ewarn "remove 'raster' use flag and re-compile qt-gui before" |
117 |
ewarn "filling a bug on gentoo bugzilla." |
118 |
ebeep 5 |
119 |
fi |
120 |
qt4-build_pkg_setup |
121 |
} |
122 |
|
123 |
src_unpack() { |
124 |
use dbus && QT4_TARGET_DIRECTORIES="${QT4_TARGET_DIRECTORIES} tools/qdbus/qdbusviewer" |
125 |
use mng && QT4_TARGET_DIRECTORIES="${QT4_TARGET_DIRECTORIES} src/plugins/imageformats/mng" |
126 |
use tiff && QT4_TARGET_DIRECTORIES="${QT4_TARGET_DIRECTORIES} src/plugins/imageformats/tiff" |
127 |
use accessibility && QT4_TARGET_DIRECTORIES="${QT4_TARGET_DIRECTORIES} src/plugins/accessible/widgets" |
128 |
QT4_EXTRACT_DIRECTORIES="${QT4_TARGET_DIRECTORIES} ${QT4_EXTRACT_DIRECTORIES}" |
129 |
|
130 |
qt4-build_src_unpack |
131 |
} |
132 |
|
133 |
src_prepare() { |
134 |
qt4-build_src_prepare |
135 |
|
136 |
# Don't build plugins this go around, because they depend on qt3support lib |
137 |
sed -i -e "s:CONFIG(shared:# &:g" "${S}"/tools/designer/src/src.pro |
138 |
} |
139 |
|
140 |
src_configure() { |
141 |
export PATH="${S}/bin:${PATH}" |
142 |
export LD_LIBRARY_PATH="${S}/lib:${LD_LIBRARY_PATH}" |
143 |
|
144 |
myconf="$(qt_use accessibility) |
145 |
$(qt_use cups) |
146 |
$(qt_use glib) |
147 |
$(qt_use mng libmng system) |
148 |
$(qt_use nis) |
149 |
$(qt_use tiff libtiff system) |
150 |
$(qt_use dbus qdbus) |
151 |
$(qt_use qt3support) |
152 |
$(qt_use gtk gtkstyle) |
153 |
$(qt_use xinerama)" |
154 |
|
155 |
use nas && myconf="${myconf} -system-nas-sound" |
156 |
use raster && myconf="${myconf} -graphicssystem raster" |
157 |
|
158 |
myconf="${myconf} -qt-gif -system-libpng -system-libjpeg |
159 |
-no-sql-mysql -no-sql-psql -no-sql-ibase -no-sql-sqlite -no-sql-sqlite2 -no-sql-odbc |
160 |
-xrender -xrandr -xkb -xshape -sm -no-svg" |
161 |
|
162 |
# Explicitly don't compile these packages. |
163 |
# Emerge "qt-webkit", "qt-phonon", etc for their functionality. |
164 |
myconf="${myconf} -no-webkit -no-phonon -no-dbus -no-opengl" |
165 |
|
166 |
qt4-build_src_configure |
167 |
} |
168 |
|
169 |
src_install() { |
170 |
QCONFIG_ADD="x11sm xshape xcursor xfixes xrandr xrender xkb fontconfig |
171 |
$(usev accessibility) $(usev xinerama) $(usev cups) $(usev nas) |
172 |
gif png system-png system-jpeg |
173 |
$(use mng && echo system-mng) |
174 |
$(use tiff && echo system-tiff)" |
175 |
QCONFIG_REMOVE="no-gif no-png" |
176 |
QCONFIG_DEFINE="$(use accessibility && echo QT_ACCESSIBILITY) |
177 |
$(use cups && echo QT_CUPS) QT_FONTCONFIG QT_IMAGEFORMAT_JPEG |
178 |
$(use mng && echo QT_IMAGEFORMAT_MNG) |
179 |
$(use nas && echo QT_NAS) |
180 |
$(use nis && echo QT_NIS) QT_IMAGEFORMAT_PNG QT_SESSIONMANAGER QT_SHAPE |
181 |
$(use tiff && echo QT_IMAGEFORMAT_TIFF) QT_XCURSOR |
182 |
$(use xinerama && echo QT_XINERAMA) QT_XFIXES QT_XKB QT_XRANDR QT_XRENDER" |
183 |
|
184 |
qt4-build_src_install |
185 |
|
186 |
# remove some unnecessary headers |
187 |
rm -f "${D}${QTHEADERDIR}"/{Qt,QtGui}/{qmacstyle_mac.h,qwindowdefs_win.h} \ |
188 |
"${D}${QTHEADERDIR}"/QtGui/QMacStyle |
189 |
|
190 |
# qt-creator |
191 |
# some qt-creator headers are located |
192 |
# under /usr/include/qt4/QtDesigner/private. |
193 |
# those headers are just includes of the headers |
194 |
# which are located under tools/designer/src/lib/* |
195 |
# So instead of installing both, we create the private folder |
196 |
# and drop tools/designer/src/lib/* headers in it. |
197 |
dodir /usr/include/qt4/QtDesigner/private/ |
198 |
insinto /usr/include/qt4/QtDesigner/private/ |
199 |
doins "${S}"/tools/designer/src/lib/shared/* |
200 |
doins "${S}"/tools/designer/src/lib/sdk/* |
201 |
|
202 |
# install correct designer and linguist icons, bug 241208 |
203 |
doicon tools/linguist/linguist/images/icons/linguist-128-32.png \ |
204 |
tools/designer/src/designer/images/designer.png \ |
205 |
|| die "doicon failed" |
206 |
# Note: absolute image path required here! |
207 |
make_desktop_entry /usr/bin/linguist Linguist \ |
208 |
/usr/share/pixmaps/linguist-128-32.png \ |
209 |
'Qt;Development;GUIDesigner' \ |
210 |
|| die "linguist make_desktop_entry failed" |
211 |
make_desktop_entry /usr/bin/designer Designer \ |
212 |
/usr/share/pixmaps/designer.png \ |
213 |
'Qt;Development;GUIDesigner' \ |
214 |
|| die "designer make_desktop_entry failed" |
215 |
} |