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