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