source: projects/specs/branches/6/q/qt4/qt4-vl.spec @ 8222

Revision 8222, 59.2 KB checked in by iwamoto, 10 years ago (diff)

Qt4: fix CVE-2013-4549

Line 
1#define _default_patch_fuzz 3
2
3%define phonon 0
4%define MySQL 1
5%define PostgreSQL 1
6%define ODBC 1
7%define SQLite 1
8
9%define type everywhere-opensource-src
10%define qtdir %{_libdir}/qt-%{version}
11%define _qt4_prefix %{_libdir}/qt-%{version}
12%define _qt4_bindir %{_qt4_prefix}/bin
13# _qt4_datadir is not multilib clean, and hacks to workaround that breaks stuff.
14#define _qt4_datadir %{_datadir}/qt4
15%define _qt4_datadir %{_qt4_prefix}
16%define _qt4_demosdir %{_qt4_prefix}/demos
17%define _qt4_docdir %{_docdir}/qt4
18%define _qt4_examplesdir %{_qt4_prefix}/examples
19%define _qt4_headerdir %{_qt4_prefix}/include
20%define _qt4_importdir %{_qt4_prefix}/imports
21%define _qt4_libdir %{_qt4_prefix}/lib
22%define _qt4_plugindir %{_qt4_prefix}/plugins
23%define _qt4_sysconfdir %{_sysconfdir}
24%define _qt4_translationdir %{_datadir}/qt4/translations
25
26%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
27
28# enable kde-qt integration/patches
29%define kde_qt 1
30
31# See http://bugzilla.redhat.com/223663
32%define multilib_archs x86_64 %{ix86} ppc64 ppc s390x s390 sparc64 sparcv9
33
34Summary: Qt toolkit
35Summary(ja): Qt ツールキット
36Name: qt4
37Version: 4.7.2
38Release: 10%{?_dist_release}
39
40# See LGPL_EXCEPTIONS.txt, LICENSE.GPL3, respectively, for exception details
41License: (LGPLv2 with exceptions or GPLv3 with exceptions) and ASL 2.0 and BSD and FTL and MIT
42Group: System Environment/Libraries
43URL: http://www.qtsoftware.com/
44
45Source: ftp://ftp.qtsoftware.com/qt/source/qt-%{type}-%{version}.tar.gz
46# default Qt config file
47Source4: Trolltech.conf
48# header file to workaround multilib issue
49Source5: qconfig-multilib.h
50
51# desktop files
52Source20: assistant.desktop.vine
53Source21: designer.desktop.vine
54Source22: linguist.desktop.vine
55Source23: qtdemo.desktop.vine
56Source24: qtconfig.desktop.vine
57
58# upstream qt4-logo, http://trolltech.com/images/products/qt/qt4-logo
59Source30: hi128-app-qt4-logo.png
60Source31: hi48-app-qt4-logo.png
61
62# set default QMAKE_CFLAGS_RELEASE
63Patch2: qt-x11-opensource-src-4.2.2-multilib-optflags.patch
64
65# get rid of timestamp which causes multilib problem
66Patch4: qt-everywhere-opensource-src-4.7.0-beta1-uic_multilib.patch
67
68# enable ft lcdfilter
69Patch15: qt-x11-opensource-src-4.5.1-enable_ft_lcdfilter.patch
70
71# include kde4 plugin path, http://bugzilla.redhat.com/498809
72# omit for now, (seems?) causes unwelcome side-effects -- Rex
73Patch16: qt-everywhere-opensource-src-4.7.0-beta2-kde4_plugins.patch
74
75# phonon gstreamer services
76Patch19: qt-everywhere-opensource-src-4.7.0-beta2-phonon_servicesfile.patch
77
78# may be upstreamable, not sure yet
79# workaround for gdal/grass crashers wrt glib_eventloop null deref's
80Patch23: qt-everywhere-opensource-src-4.6.3-glib_eventloop_nullcheck.patch
81
82# remove dependency of webkit in assistant
83Patch24: qt-everywhere-opensource-src-4.7.1-assistant_no_webkit.patch
84
85## upstreamable bits
86# fix invalid inline assembly in qatomic_{i386,x86_64}.h (de)ref implementations
87Patch53: qt-x11-opensource-src-4.5.0-fix-qatomic-inline-asm.patch
88
89# fix invalid assumptions about mysql_config --libs
90# http://bugzilla.redhat.com/440673
91Patch54: qt-everywhere-opensource-src-4.7.0-beta2-mysql_config.patch
92
93# http://bugs.kde.org/show_bug.cgi?id=180051#c22
94Patch55: qt-everywhere-opensource-src-4.6.2-cups.patch
95
96# Add s390x as 64bit and s390 as 31bit bigendian platform
97Patch56: qt-everywhere-opensource-src-4.7.0-beta1-s390x.patch
98
99# qtwebkit to search nspluginwrapper paths too
100Patch58: qt-everywhere-opensource-src-4.7.0-beta1-qtwebkit_pluginpath.patch
101
102# indic incorrect rendering
103Patch59: qt-4.6.3-bn-rendering-bz562049.patch
104Patch60: qt-4.6.3-bn-rendering-bz562058.patch
105Patch61: qt-4.6.3-indic-rendering-bz631732.patch
106Patch62: qt-4.6.3-indic-rendering-bz636399.patch
107
108# fix 24bit color issue
109Patch63: qt-everywhere-opensource-src-4.7.0-bpp24.patch
110
111# Fails to create debug build of Qt projects on mingw (rhbz#653674)
112Patch64: qt-everywhere-opensource-src-4.7.1-QTBUG-14467.patch
113
114# fix QTreeView crash triggered by KPackageKit (patch by David Faure)
115Patch65: qt-everywhere-opensource-src-4.7.1-qtreeview-kpackagekit-crash.patch
116
117# upstream patches
118# adds debug support to webkit/JavaScriptCore
119# UPSTREAM ME
120Patch105: qt-everywhere-opensource-src-4.7.1-webkit_debug_javascriptcore.patch
121# Fix QNetworkConfigurationManager crash due to null private pointer. (QTBUG-17305, rhbz#682656)
122Patch106: http://qt.gitorious.org/qt/qt/commit/4d3b9aa83cf7f6d9f9b88d9936e5980629daac2a.patch
123
124# kde-qt git patches
125Patch202: 0002-This-patch-makes-override-redirect-windows-popup-men.patch
126Patch205: 0005-When-tabs-are-inserted-or-removed-in-a-QTabBar.patch
127Patch212: 0012-Add-context-to-tr-calls-in-QShortcut.patch
128
129# security patches
130Patch300: qt-everywhere-opensource-src-4.7.0-CVE-2010-1822-crash-svg-image.patch
131Patch301: qt-ssl-QTBUG-18338.patch
132# http://qt.gitorious.org/+qt-developers/qt/staging/commit/b87528a71b66e786c11804d7b79e408aae612748
133# followup to 301
134Patch302: qt-ssl-QTBUG-18338-2.patch
135Patch310: qt4-CVE-2011-3193.patch
136Patch320: qt4-CVE-2011-3194.patch
137Patch330: qt4-4.7.2_CVE-2013-0254.patch
138
139# fix CVE-2013-4549 and perfomance regression
140Patch340: libqt4-disallow-deep-or-widely-nested-entity-references.patch
141Patch350: libqt4-fully-expand-all-entities.patch
142
143# Vine Patches
144# use system ca-bundle certs, http://bugzilla.redhat.com/521911
145Patch1022: qt-everywhere-opensource-src-4.7.2-system_ca_certificates_vine.patch
146
147BuildRoot: %{_tmppath}/%{name}-%{version}-root
148BuildRequires: alsa-lib-devel
149BuildRequires: cups-devel >= 1.1.9
150BuildRequires: dbus-devel >= 0.62
151BuildRequires: desktop-file-utils
152BuildRequires: findutils
153BuildRequires: fontconfig-devel
154BuildRequires: glib2-devel
155# -gtk-style
156BuildRequires: gtk2-devel
157BuildRequires: libjpeg-devel
158BuildRequires: libmng-devel
159BuildRequires: libpng-devel >= 1.2.5
160BuildRequires: libtiff-devel
161BuildRequires: NetworkManager-devel
162BuildRequires: openssl-devel
163BuildRequires: pkgconfig
164BuildRequires: pulseaudio-libs-devel
165BuildRequires: WebKit-gtk-devel
166BuildRequires: zlib-devel
167
168# X11 dependencies
169%define x_deps libICE-devel libSM-devel libXcursor-devel libXext-devel libXfixes-devel libXft-devel libXi-devel libXinerama-devel libXrandr-devel libXrender-devel libXt-devel libXv-devel libX11-devel xorg-x11-proto-devel libGL-devel libGLU-devel
170BuildRequires: %{x_deps}
171
172%if %{MySQL}
173BuildRequires: MySQL-devel
174%endif
175%if %{PostgreSQL}
176BuildRequires: postgresql-devel
177BuildRequires: krb5-devel libxslt-devel openssl-devel pam-devel
178BuildRequires: readline-devel zlib-devel
179%endif
180%if %{ODBC}
181BuildRequires: unixODBC-devel
182%endif
183%if %{ODBC}
184BuildRequires: sqlite3-devel
185%endif
186Requires: libexpat
187Requires: libpng >= 1.2.5
188
189Provides: WebKit-qt
190
191Obsoletes: qgtkstyle < 0.1
192Provides:  qgtkstyle = 0.1-1
193
194Vendor: Project Vine
195Distribution: Vine Linux
196
197%description
198Qt is a GUI software toolkit which simplifies the task of writing and
199maintaining GUI (Graphical User Interface) applications
200for the X Window System.
201
202Qt is written in C++ and is fully object-oriented.
203
204This package contains the shared library needed to run qt
205applications, as well as the README files for qt.
206
207
208%package config
209Summary: Graphical configuration tool for programs using Qt 4
210Group: User Interface/Desktops
211Requires: %{name} = %{version}-%{release}
212Requires(post): alternatives
213Requires(postun): alternatives
214
215%description config
216%{summary}.
217
218
219%package designer
220Summary: Interface designer (IDE) for the Qt toolkit
221Summary(ja): Qt ツールキットのインターフェースデザイナ
222Group: Applications/Development
223Requires: %{name}-devel = %{version}-%{release}
224Requires(post): alternatives
225Requires(postun): alternatives
226
227%description designer
228The qt-designer package contains an User Interface designer tool
229for the Qt toolkit.
230
231
232%package devel
233Summary: Development files for the Qt GUI toolkit.
234Summary(ja): Qt ツールキットの開発用ファイル
235Group: Development/Libraries
236Requires: %{name} = %{version}-%{release}
237Requires: %{x_deps}
238Requires: libpng-devel
239Requires: libjpeg-devel
240Requires: pkgconfig
241Requires(post): alternatives
242Requires(postun): alternatives
243Provides:  WebKit-qt-devel
244
245%description devel
246This package contains the files necessary to develop
247applications using the Qt toolkit.
248
249
250%package doc
251Summary: API documentation for Qt4
252Summary(ja): Qt4 の API ドキュメント
253Group: Documentation
254Requires: %{name} = %{version}-%{release}
255
256%description doc
257%{summary}.
258
259%description doc -l ja
260Qt4 の API ドキュメントです.
261
262
263%package tools
264Summary: Qt 4 development tools
265Summary(ja): Qt 4 開発ツール集
266Group: Development/Tools
267Requires: %{name}-devel  = %{version}-%{release}
268Requires: %{name}-sqlite = %{version}-%{release}
269Requires(post): alternatives
270Requires(postun): alternatives
271
272%description tools
273This package contains tools used to assist in Qt 4 development.
274
275
276%package MySQL
277Summary: MySQL drivers for Qt's SQL classes.
278Group: System Environment/Libraries
279Requires: %{name} = %{version}-%{release}
280
281%description MySQL
282MySQL driver for Qt's SQL classes (QSQL)
283
284%package PostgreSQL
285Summary: PostgreSQL drivers for Qt's SQL classes.
286Group: System Environment/Libraries
287Requires: %{name} = %{version}-%{release}
288
289%description PostgreSQL
290PostgreSQL driver for Qt's SQL classes (QSQL)
291
292%package ODBC
293Summary: ODBC drivers for Qt's SQL classes.
294Group: System Environment/Libraries
295Requires: %{name} = %{version}-%{release}
296
297%description ODBC
298ODBC driver for Qt's SQL classes (QSQL)
299
300%package sqlite
301Summary: SQLite driver for Qt's SQL classes
302Group: System Environment/Libraries
303Requires: %{name} = %{version}-%{release}
304
305%description sqlite
306SQLite driver for Qt's SQL classes (QSQL)
307
308# compat32
309%package -n compat32-%{name}
310Summary: Qt toolkit
311Summary(ja): Qt ツールキット
312Group: System Environment/Libraries
313Requires: %{name} = %{version}-%{release}
314
315%description -n compat32-%{name}
316Qt is a GUI software toolkit which simplifies the task of writing and
317maintaining GUI (Graphical User Interface) applications
318for the X Window System.
319
320Qt is written in C++ and is fully object-oriented.
321
322This package contains the shared library needed to run qt
323applications, as well as the README files for qt.
324
325%package -n compat32-%{name}-devel
326Summary: Development files and documentation for the Qt GUI toolkit.
327Summary(ja): Qt ツールキットの開発用ファイル
328Group: Development/Libraries
329Requires: %{name}-devel = %{version}-%{release}
330Requires: compat32-%{name} = %{version}-%{release}
331
332%description -n compat32-%{name}-devel
333This package contains the files necessary to develop
334applications using the Qt toolkit.
335
336
337%prep
338%setup -q -n qt-everywhere-opensource-src-%{version}
339
340%patch15 -p1 -b .enable_ft_lcdfilter
341#patch16 -p1 -b .kde4_plugins
342%patch19 -p1 -b .phonon_servicesfile
343%patch23 -p1 -b .glib_eventloop_nullcheck
344## make -assistant subpkg instead (#660287#9)
345#patch24 -p1 -b .assistant_no_webkit
346## TODO: still worth carrying?  if so, upstream it.
347%patch53 -p1 -b .qatomic-inline-asm
348## TODO: upstream me
349%patch54 -p1 -b .mysql_config
350%patch55 -p1 -b .cups-1
351%patch56 -p1 -b .s390x
352%patch58 -p1 -b .qtwebkit_pluginpath
353%patch59 -p1 -b .bn-rendering-bz562049
354%patch60 -p1 -b .bn-rendering-bz562058
355%patch61 -p1 -b .indic-rendering-bz631732
356%patch62 -p1 -b .indic-rendering-bz636399
357%patch63 -p1 -b .bpp24
358%patch64 -p1 -b .QTBUG-14467
359%patch65 -p1 -b .qtreeview-kpackagekit-crash
360
361# upstream patches
362%patch105 -p1 -b .webkit_debug_javascriptcore
363%patch106 -p1 -b .QNetworkConfigurationManager-null-pointer
364
365# kde-qt branch
366%if 0%{?kde_qt}
367%patch202 -p1 -b .kde-qt-0002
368%patch205 -p1 -b .kde-qt-0005
369%patch212 -p1 -b .kde-qt-0012
370%endif
371
372# security fixes
373%patch300 -p1 -b .CVE-2010-1822-crash-svg-image
374%patch301 -p1 -b .ssl-QTBUG-18338
375%patch302 -p1 -b .ssl-QTBUG-18338-2
376%patch310 -p1 -b .CVE-2011-3193
377%patch320 -p1 -b .CVE-2011-3194
378%patch330 -p1 -b .CVE-2013-0254
379%patch340 -p1 -b .disallow-deep-or-widely-nested-entity-references
380%patch350 -p1 -b .fully-expand-all-entities.patch
381
382# Patches for Vine
383%patch1022 -p0 -b .system_ca_certificates
384
385# drop -fexceptions from $RPM_OPT_FLAGS
386RPM_OPT_FLAGS=`echo $RPM_OPT_FLAGS | sed 's|-fexceptions||g'`
387
388%define platform linux-g++
389
390# some 64bit platforms assume -64 suffix, https://bugzilla.redhat.com/569542
391%if "%{?__isa_bits}"  == "64"
392%define platform linux-g++-64                   
393%endif
394
395# https://bugzilla.redhat.com/478481
396%ifarch x86_64
397%define platform linux-g++
398%endif
399
400# multilib hacks
401# multilib hacks no longer required
402%patch2 -p1 -b .multilib
403# drop backup file(s), else they get installed too, http://bugzilla.redhat.com/639463
404rm -fv mkspecs/linux-g++*/qmake.conf.multilib
405%patch4 -p1 -b .uic_multilib
406
407sed -i \
408  -e "s|-O2|$RPM_OPT_FLAGS|g" \
409  -e "s|g++.conf|g++-multilib.conf|g" mkspecs/%{platform}/qmake.conf
410
411sed -e "s|^QMAKE_CFLAGS_RELEASE|#QMAKE_CFLAGS_RELEASE|g" \
412  mkspecs/common/g++.conf > mkspecs/common/g++-multilib.conf
413
414%if "%{_qt4_libdir}" == "%{_libdir}"
415  sed -i -e "s|^QMAKE_LIBDIR_QT.*=.*|QMAKE_LIBDIR_QT       =|" mkspecs/common/linux.conf
416%endif
417 
418# set correct lib path
419if [ "%{_lib}" == "lib64" ] ; then
420  sed -i -e "s,/usr/lib /lib,/usr/%{_lib} /%{_lib},g" config.tests/{unix,x11}/*.test
421  sed -i -e "s,/lib /usr/lib,/%{_lib} /usr/%{_lib},g" config.tests/{unix,x11}/*.test
422fi
423
424# let makefile create missing .qm files, the .qm files should be included in qt upstream
425for f in translations/*.ts ; do
426    touch ${f%.ts}.qm
427done
428
429# desktop menu
430sed -e 's:$(QTBIN):%{_qt4_bindir}:g' %{SOURCE20} > assistant.desktop
431sed -e 's:$(QTBIN):%{_qt4_bindir}:g' %{SOURCE21} > designer.desktop
432sed -e 's:$(QTBIN):%{_qt4_bindir}:g' %{SOURCE22} > linguist.desktop
433sed -e 's:$(QTBIN):%{_qt4_bindir}:g' %{SOURCE23} > qtdemo.desktop
434sed -e 's:$(QTBIN):%{_qt4_bindir}:g' %{SOURCE24} > qtconfig.desktop
435
436%build
437# build shared, threaded (default) libraries
438./configure -v \
439  -confirm-license \
440  -opensource \
441  -optimized-qmake \
442  -prefix %{_qt4_prefix} \
443  -bindir %{_qt4_bindir} \
444  -datadir %{_qt4_datadir} \
445  -demosdir %{_qt4_demosdir} \
446  -docdir %{_qt4_docdir} \
447  -examplesdir %{_qt4_examplesdir} \
448  -headerdir %{_qt4_headerdir} \
449  -libdir %{_qt4_libdir} \
450  -plugindir %{_qt4_plugindir} \
451  -sysconfdir %{_qt4_sysconfdir} \
452  -translationdir %{_qt4_translationdir} \
453  -platform %{platform} \
454  -release \
455  -shared \
456  -cups \
457  -fontconfig \
458  -largefile \
459  -gtkstyle \
460  -qt-gif \
461  -no-rpath \
462  -reduce-relocations \
463  -no-separate-debug-info \
464  -no-phonon \
465  -pch \
466  -no-javascript-jit \
467  -sm \
468  -stl \
469  -system-libmng \
470  -system-libpng \
471  -system-libjpeg \
472  -system-libtiff \
473  -system-zlib \
474  -xinput \
475  -xcursor \
476  -xfixes \
477  -xinerama \
478  -xshape \
479  -xrandr \
480  -xrender \
481  -xkb \
482  -glib \
483  -openssl-linked \
484  -xmlpatterns \
485  -dbus-linked \
486  -webkit \
487  -no-nas-sound \
488%if %{MySQL}
489  -plugin-sql-mysql -I/usr/include/mysql \
490%else
491  -no-sql-mysql \
492%endif
493%if %{PostgreSQL}
494  -plugin-sql-psql -I/usr/include/pgsql \
495%else
496  -no-sql-psql \
497%endif
498%if %{ODBC}
499  -plugin-sql-odbc \
500%else
501  -no-sql-odbc \
502%endif
503  -system-sqlite \
504  -nomake demos \
505  -nomake examples
506
507make %{?_smp_mflags}
508
509# recreate .qm files
510LD_LIBRARY_PATH=`pwd`/lib bin/lrelease translations/*.ts
511
512%install
513rm -rf $RPM_BUILD_ROOT
514make install INSTALL_ROOT=$RPM_BUILD_ROOT
515
516ln -s qt-%{version} $RPM_BUILD_ROOT%{_libdir}/qt4
517
518# Add desktop file(s)
519mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
520desktop-file-install \
521  --dir=$RPM_BUILD_ROOT%{_datadir}/applications \
522  --vendor="" \
523  assistant.desktop designer.desktop linguist.desktop qtconfig.desktop
524
525## pkg-config
526# strip extraneous dirs/libraries
527# safe ones
528glib2_libs=$(pkg-config --libs glib-2.0 gobject-2.0 gthread-2.0)
529ssl_libs=$(pkg-config --libs openssl)
530for dep in \
531  -laudio -ldbus-1 -lfreetype -lfontconfig ${glib2_libs} \
532  -ljpeg -lm -lmng -lpng -lpulse -lpulse-mainloop-glib ${ssl_libs} -lsqlite3 -lz \
533  -L/usr/X11R6/lib -L/usr/X11R6/%{_lib} -L%{_libdir} ; do
534  sed -i -e "s|$dep ||g" %{buildroot}%{_qt4_libdir}/lib*.la
535#  sed -i -e "s|$dep ||g" %{buildroot}%{_qt4_libdir}/pkgconfig/*.pc
536  sed -i -e "s|$dep ||g" %{buildroot}%{_qt4_libdir}/*.prl
537done
538# riskier
539for dep in -ldl -lphonon -lpthread -lICE -lSM -lX11 -lXcursor -lXext -lXfixes -lXft -lXinerama -lXi -lXrandr -lXrender -lXt ; do
540  sed -i -e "s|$dep ||g" %{buildroot}%{_qt4_libdir}/lib*.la
541#  sed -i -e "s|$dep ||g" %{buildroot}%{_qt4_libdir}/pkgconfig/*.pc
542  sed -i -e "s|$dep ||g" %{buildroot}%{_qt4_libdir}/*.prl
543done
544
545# nuke dangling reference(s) to %buildroot
546sed -i -e "/^QMAKE_PRL_BUILD_DIR/d" $RPM_BUILD_ROOT%{_qt4_libdir}/*.prl
547sed -i -e "s|-L%{_builddir}/qt-everywhere-opensource-src-%{version}/lib||g" \
548  $RPM_BUILD_ROOT%{_qt4_libdir}/pkgconfig/*.pc \
549  $RPM_BUILD_ROOT%{_qt4_libdir}/*.prl
550
551# .la files, die, die, die.
552rm -f $RPM_BUILD_ROOT%{_qt4_libdir}/lib*.la
553
554# let rpm handle binaries conflicts
555mkdir -p $RPM_BUILD_ROOT%{_bindir}
556for i in $RPM_BUILD_ROOT%{_qt4_bindir}/*; do
557        ln -s ../%{_lib}/qt-%{version}/bin/`basename $i` $RPM_BUILD_ROOT/%{_bindir}
558done
559
560%ifarch %{multilib_archs}
561# multilib: qconfig.h
562  mv $RPM_BUILD_ROOT%{_qt4_headerdir}/Qt/qconfig.h $RPM_BUILD_ROOT%{_qt4_headerdir}/QtCore/qconfig-%{_arch}.h
563  install -p -m644 -D %{SOURCE5} $RPM_BUILD_ROOT%{_qt4_headerdir}/QtCore/qconfig-multilib.h
564  ln -sf qconfig-multilib.h $RPM_BUILD_ROOT%{_qt4_headerdir}/QtCore/qconfig.h
565  ln -sf ../QtCore/qconfig.h $RPM_BUILD_ROOT%{_qt4_headerdir}/Qt/qconfig.h
566
567%if "%{_qt4_datadir}" != "%{_qt4_prefix}"
568# multilib: mkspecs hacks, unfortunately, breaks some stuff
569  mkdir $RPM_BUILD_ROOT%{_qt4_prefix}/mkspecs
570  mv $RPM_BUILD_ROOT%{_qt4_datadir}/mkspecs/{default,linux-g++*,qconfig.pri} \
571     $RPM_BUILD_ROOT%{_qt4_prefix}/mkspecs/
572  ln -s %{_qt4_datadir}/mkspecs/common $RPM_BUILD_ROOT%{_qt4_prefix}/mkspecs/common
573%endif
574%endif
575
576%if "%{_qt4_libdir}" != "%{_libdir}"
577    mkdir -p $RPM_BUILD_ROOT/etc/ld.so.conf.d
578    echo "%{_qt4_libdir}" > $RPM_BUILD_ROOT/etc/ld.so.conf.d/qt4.conf
579%if %{build_compat32}
580    echo "%{_qt4_libdir}" > $RPM_BUILD_ROOT/etc/ld.so.conf.d/qt4-i386.conf
581%endif
582%endif
583
584# Trolltech.conf
585install -p -m644 -D %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/Trolltech.conf
586
587mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/{16x16,32x32,48x48,64x64,128x128}/apps
588# qt4-logo (generic) icons
589install -p -m644 -D %{SOURCE30} $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/128x128/apps/qt4-logo.png
590install -p -m644 -D %{SOURCE31} $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps/qt4-logo.png
591
592# assistant icons
593install -p -m644 -D tools/assistant/tools/assistant/images/assistant.png $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps/assistant.png
594install -p -m644 -D tools/assistant/tools/assistant/images/assistant-128.png $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/128x128/apps/assistant.png
595# designer icons
596install -p -m644 -D tools/designer/src/designer/images/designer.png $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/128x128/apps/designer.png
597# linguist icons
598for icon in tools/linguist/linguist/images/icons/linguist-*-32.png ; do
599  size=$(echo $(basename ${icon}) | cut -d- -f2)
600  install -p -m644 -D ${icon} $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/${size}x${size}/apps/linguist4.png
601done
602
603# pkg-config files
604mkdir -p $RPM_BUILD_ROOT%{_libdir}/pkgconfig
605cp $RPM_BUILD_ROOT%{_qt4_libdir}/pkgconfig/*.pc $RPM_BUILD_ROOT%{_libdir}/pkgconfig
606rm -rf $RPM_BUILD_ROOT%{_qt4_libdir}/pkgconfig
607
608# Qt.pc
609cat > $RPM_BUILD_ROOT%{_libdir}/pkgconfig/Qt.pc << EOF
610prefix=%{_qt4_prefix}
611bindir=%{_qt4_bindir}
612datadir=%{_qt4_datadir}
613demosdir=%{_qt4_demosdir}
614docdir=%{_qt4_docdir}
615examplesdir=%{_qt4_examplesdir}
616headerdir=%{_qt4_headerdir}
617importdir=%{_qt4_importdir}
618libdir=%{_qt4_libdir}
619moc=%{_qt4_bindir}/moc
620plugindir=%{_qt4_plugindir}
621qmake=%{_qt4_bindir}/qmake
622sysconfdir=%{_qt4_sysconfdir}
623translationdir=%{_qt4_translationdir}
624
625Name: Qt
626Description: Qt Configuration
627Version: %{version}
628EOF
629
630# rpm macros
631mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/rpm
632cat > $RPM_BUILD_ROOT%{_sysconfdir}/rpm/macros.qt4 << EOF
633%%_qt4 %{name}
634%%_qt47 %{version}
635%%_qt4_version %{version}
636%%_qt4_prefix %%{_libdir}/qt-%{version}
637%%_qt4_bindir %%{_qt4_prefix}/bin
638%%_qt4_datadir %%{_qt4_prefix}
639%%_qt4_demosdir %%{_qt4_prefix}/demos
640%%_qt4_docdir %%{_docdir}/qt4
641%%_qt4_examples %%{_qt4_prefix}/examples
642%%_qt4_headerdir %%{_qt4_prefix}/include
643%%_qt4_importdir %%{_qt4_prefix}/imports
644%%_qt4_libdir %%{_qt4_prefix}/lib
645%%_qt4_plugindir %%{_qt4_prefix}/plugins
646%%_qt4_qmake %%{_qt4_bindir}/qmake
647%%_qt4_sysconfdir %%{_sysconfdir}
648%%_qt4_translationdir %%{_datadir}/qt4/translations
649EOF
650
651# /etc/prodile.d
652mkdir -p $RPM_BUILD_ROOT/etc/profile.d
653cat > $RPM_BUILD_ROOT/etc/profile.d/qt4.sh <<EOF
654# Qt initialization script (sh)
655if [ -z "\$QTDIR" ] ; then
656        QTDIR="%{_qt4_libdir}"
657fi
658export QTDIR
659EOF
660
661cat > $RPM_BUILD_ROOT/etc/profile.d/qt4.csh <<EOF
662# Qt initialization script (csh)
663if ( \$?QTDIR ) then
664         exit
665endif
666setenv QTDIR %{_qt4_libdir}
667EOF
668
669chmod 755 $RPM_BUILD_ROOT/etc/profile.d/qt4.sh
670chmod 755 $RPM_BUILD_ROOT/etc/profile.d/qt4.csh
671
672# create/own stuff under %%_qt4_plugindir
673mkdir $RPM_BUILD_ROOT%{_qt4_plugindir}/crypto
674mkdir $RPM_BUILD_ROOT%{_qt4_plugindir}/gui_platform
675mkdir $RPM_BUILD_ROOT%{_qt4_plugindir}/styles
676
677# remove qvfb translations, we don't ship qvfb
678rm -fv  $RPM_BUILD_ROOT%{_qt4_translationdir}/qvfb_*.qm
679
680# delete files to use alternatives
681rm -f $RPM_BUILD_ROOT%{_bindir}/assistant
682rm -f $RPM_BUILD_ROOT%{_bindir}/designer
683rm -f $RPM_BUILD_ROOT%{_bindir}/linguist
684rm -f $RPM_BUILD_ROOT%{_bindir}/lrelease
685rm -f $RPM_BUILD_ROOT%{_bindir}/lupdate
686rm -f $RPM_BUILD_ROOT%{_bindir}/moc
687rm -f $RPM_BUILD_ROOT%{_bindir}/qmake
688rm -f $RPM_BUILD_ROOT%{_bindir}/qtconfig
689rm -f $RPM_BUILD_ROOT%{_bindir}/uic
690
691%clean
692rm -rf $RPM_BUILD_ROOT
693
694%post
695/sbin/ldconfig
696touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
697
698%posttrans
699gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
700
701%postun
702/sbin/ldconfig
703if [ $1 -eq 0 ] ; then
704    touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
705    gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
706fi
707
708# config
709%post config
710/sbin/update-alternatives --install \
711    %{_bindir}/qtconfig qtconfig %{_qt4_bindir}/qtconfig 20
712
713%posttrans config
714# fix broken symlink if it's there
715if [ ! -f %{_bindir}/qtconfig ] ; then
716    /sbin/update-alternatives --auto qtconfig
717fi
718
719%postun config
720if [ $1 -eq 0 ] ; then
721    /sbin/update-alternatives --remove qtconfig %{_qt4_bindir}/qtconfig
722    /sbin/update-alternatives --auto qtconfig
723fi
724exit 0
725
726# designer
727%post designer
728touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
729/sbin/update-alternatives --install \
730    %{_bindir}/designer designer %{_qt4_bindir}/designer 20
731
732%posttrans designer
733gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
734# fix broken symlink if it's there
735if [ ! -f %{_bindir}/designer ] ; then
736    /sbin/update-alternatives --auto designer
737fi
738
739%postun designer
740if [ $1 -eq 0 ] ; then
741    touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
742    gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
743    /sbin/update-alternatives --remove designer %{_qt4_bindir}/designer
744    /sbin/update-alternatives --auto designer
745fi
746exit 0
747
748# devel
749%post devel
750/sbin/update-alternatives --install \
751    %{_bindir}/qmake qmake %{_qt4_bindir}/qmake 20 \
752    --slave %{_bindir}/moc \
753        moc \
754        %{_qt4_bindir}/moc \
755    --slave %{_bindir}/uic \
756        uic \
757        %{_qt4_bindir}/uic \
758    --slave %{_bindir}/lrelease \
759        lrelease \
760        %{_qt4_bindir}/lrelease \
761    --slave %{_bindir}/lupdate \
762        lupdate \
763        %{_qt4_bindir}/lupdate
764
765%posttrans devel
766# fix broken symlink if it's there
767if [ ! -f %{_bindir}/qmake ] ; then
768    /sbin/update-alternatives --auto qmake
769fi
770
771%postun devel
772if [ $1 -eq 0 ] ; then
773    /sbin/update-alternatives --remove qmake %{_qt4_bindir}/qmake
774    /sbin/update-alternatives --auto qmake
775fi
776exit 0
777
778%post tools
779/sbin/update-alternatives --install \
780    %{_bindir}/assistant assistant %{_qt4_bindir}/assistant 20
781/sbin/update-alternatives --install \
782    %{_bindir}/linguist  linguist  %{_qt4_bindir}/linguist 20
783
784%posttrans tools
785# fix broken symlink if it's there
786if [ ! -f %{_bindir}/assistant ] ; then
787    /sbin/update-alternatives --auto assistant
788fi
789if [ ! -f %{_bindir}/linguist ] ; then
790    /sbin/update-alternatives --auto linguist
791fi
792
793%postun tools
794if [ $1 -eq 0 ] ; then
795    /sbin/update-alternatives --remove assistant %{_qt4_bindir}/assistant
796    /sbin/update-alternatives --remove linguist %{_qt4_bindir}/linguist
797    /sbin/update-alternatives --auto assistant
798    /sbin/update-alternatives --auto linguist
799fi
800exit 0
801
802%post -n compat32-%{name} -p /sbin/ldconfig
803
804%postun -n compat32-%{name} -p /sbin/ldconfig
805
806%files
807%defattr(-,root,root,-)
808%doc README LGPL_EXCEPTION.txt LICENSE.LGPL LICENSE.GPL3
809%{_sysconfdir}/rpm/macros.*
810%config(noreplace) %{_sysconfdir}/Trolltech.conf
811%if "%{_qt4_libdir}" != "%{_libdir}"
812%config %{_sysconfdir}/ld.so.conf.d/qt4.conf
813%endif
814%{_bindir}/qdbus
815%{_qt4_bindir}/qdbus
816%{_libdir}/qt4
817%dir %{_qt4_prefix}
818%dir %{_qt4_libdir}
819%{_qt4_libdir}/libQt*.so.*
820%dir %{_qt4_importdir}
821%dir %{_qt4_importdir}/Qt
822%{_qt4_importdir}/Qt/*
823%dir %{_qt4_importdir}/QtWebKit
824%{_qt4_importdir}/QtWebKit/*
825%dir %{_qt4_plugindir}
826%dir %{_qt4_plugindir}/accessible
827%{_qt4_plugindir}/accessible/*
828%dir %{_qt4_plugindir}/bearer
829%{_qt4_plugindir}/bearer/*
830%dir %{_qt4_plugindir}/codecs
831%{_qt4_plugindir}/codecs/*
832%dir %{_qt4_plugindir}/crypto/
833%dir %{_qt4_plugindir}/graphicssystems
834%{_qt4_plugindir}/graphicssystems/*
835%dir %{_qt4_plugindir}/iconengines
836%{_qt4_plugindir}/iconengines/*
837%dir %{_qt4_plugindir}/imageformats
838%{_qt4_plugindir}/imageformats/*
839%dir %{_qt4_plugindir}/inputmethods
840%{_qt4_plugindir}/inputmethods/*
841%dir %{_qt4_plugindir}/qmltooling
842%{_qt4_plugindir}/qmltooling/*
843%dir %{_qt4_plugindir}/script
844%{_qt4_plugindir}/script/*
845%dir %{_qt4_translationdir}
846%{_qt4_translationdir}/*
847%{_datadir}/icons/hicolor/*/apps/qt4-logo.*
848
849%files config
850%defattr(-,root,root,-)
851%{_qt4_bindir}/qtconfig
852%{_datadir}/applications/qtconfig.desktop
853
854%files designer
855%defattr(-,root,root,-)
856%{_qt4_bindir}/designer
857%dir %{_qt4_plugindir}/designer
858%{_qt4_plugindir}/designer/*
859%{_datadir}/applications/designer.desktop
860%{_datadir}/icons/hicolor/*/apps/designer*
861%{_qt4_docdir}/qch/designer.qch
862
863%files devel
864%defattr(-,root,root,-)
865%attr(0755,root,root) %config /etc/profile.d/*
866%{_bindir}/qdbuscpp2xml
867%{_bindir}/qdbusxml2cpp
868%{_bindir}/qt3to4
869%{_bindir}/rcc
870%{_bindir}/uic3
871%{_qt4_bindir}/lrelease
872%{_qt4_bindir}/lupdate
873%{_qt4_bindir}/moc
874%{_qt4_bindir}/qdbuscpp2xml
875%{_qt4_bindir}/qdbusxml2cpp
876%{_qt4_bindir}/qmake
877%{_qt4_bindir}/qt3to4
878%{_qt4_bindir}/rcc
879%{_qt4_bindir}/uic
880%{_qt4_bindir}/uic3
881%{_qt4_headerdir}
882%{_qt4_libdir}/libQt*.so
883%{_qt4_libdir}/libQtUiTools*.a
884%{_qt4_libdir}/libQt*.prl
885%{_qt4_datadir}/mkspecs
886%{_qt4_datadir}/phrasebooks
887%{_qt4_datadir}/q3porting.xml
888%{_libdir}/pkgconfig/*.pc
889#{_qt4_docdir}/*
890
891%files doc
892%defattr(-,root,root,-)
893%{_qt4_docdir}/html
894%{_qt4_docdir}/qch/*.qch
895%exclude %{_qt4_docdir}/qch/designer.qch
896%exclude %{_qt4_docdir}/qch/linguist.qch
897%{_qt4_docdir}/src
898# Qt Assistant (bin moved to -x11)
899#{_datadir}/applications/*assistant.desktop
900#{_datadir}/icons/hicolor/*/apps/assistant*
901
902%files tools
903%defattr(-,root,root,-)
904%{_bindir}/lconvert
905%{_bindir}/pixeltool
906%{_bindir}/qcollectiongenerator
907%{_bindir}/qdbusviewer
908%{_bindir}/qdoc3
909%{_bindir}/qhelpconverter
910%{_bindir}/qhelpgenerator
911%{_bindir}/qmlviewer
912%{_bindir}/qttracereplay
913%{_bindir}/xmlpatterns
914%{_bindir}/xmlpatternsvalidator
915%{_qt4_bindir}/assistant
916%{_qt4_bindir}/lconvert
917%{_qt4_bindir}/linguist
918%{_qt4_bindir}/pixeltool
919%{_qt4_bindir}/qcollectiongenerator
920%{_qt4_bindir}/qdbusviewer
921%{_qt4_bindir}/qdoc3
922%{_qt4_bindir}/qhelpconverter
923%{_qt4_bindir}/qhelpgenerator
924%{_qt4_bindir}/qmlviewer
925%{_qt4_bindir}/qttracereplay
926%{_qt4_bindir}/xmlpatterns
927%{_qt4_bindir}/xmlpatternsvalidator
928%{_datadir}/applications/assistant.desktop
929%{_datadir}/applications/linguist.desktop
930%{_datadir}/icons/hicolor/*/apps/assistant*
931%{_datadir}/icons/hicolor/*/apps/linguist*
932%{_qt4_docdir}/qch/linguist.qch
933
934%if %{MySQL}
935%files MySQL
936%defattr(-,root,root,-)
937%{_qt4_plugindir}/sqldrivers/libqsqlmysql*
938%endif
939
940%if %{PostgreSQL}
941%files PostgreSQL
942%defattr(-,root,root,-)
943%{_qt4_plugindir}/sqldrivers/libqsqlpsql*
944%endif
945
946%if %{ODBC}
947%files ODBC
948%defattr(-,root,root,-)
949%{_qt4_plugindir}/sqldrivers/libqsqlodbc*
950%endif
951
952%if %{SQLite}
953%files sqlite
954%defattr(-,root,root,-)
955%{_qt4_plugindir}/sqldrivers/libqsqlite*
956%endif
957
958# compat32
959%if %{build_compat32}
960%files -n compat32-%{name}
961%defattr(-,root,root,-)
962%if "%{_qt4_libdir}" != "%{_libdir}"
963%config %{_sysconfdir}/ld.so.conf.d/qt4-i386.conf
964%endif
965%{_qt4_bindir}/qdbus
966%{_libdir}/qt4
967%dir %{_qt4_prefix}
968%dir %{_qt4_libdir}
969%{_qt4_libdir}/libQt*.so.*
970%dir %{_qt4_plugindir}
971%dir %{_qt4_plugindir}/accessible
972%{_qt4_plugindir}/accessible/*
973%dir %{_qt4_plugindir}/codecs
974%{_qt4_plugindir}/codecs/*
975%dir %{_qt4_plugindir}/graphicssystems
976%{_qt4_plugindir}/graphicssystems/*
977%dir %{_qt4_plugindir}/iconengines
978%{_qt4_plugindir}/iconengines/*
979%dir %{_qt4_plugindir}/imageformats
980%{_qt4_plugindir}/imageformats/*
981%dir %{_qt4_plugindir}/inputmethods
982%{_qt4_plugindir}/inputmethods/*
983%dir %{_qt4_plugindir}/script
984%{_qt4_plugindir}/script/*
985#dir %{_qt4_translationdir}
986#{_qt4_translationdir}/*
987
988
989%files -n compat32-%{name}-devel
990%defattr(-,root,root,-)
991%{_qt4_bindir}/*
992%exclude %{_qt4_bindir}/qdbus
993%exclude %{_qt4_bindir}/designer
994%exclude %{_qt4_bindir}/linguist
995%exclude %{_qt4_bindir}/lrelease
996%exclude %{_qt4_bindir}/lupdate
997#{_qt4_docdir}
998%{_qt4_headerdir}
999%{_qt4_libdir}/libQt*.so
1000%{_qt4_libdir}/libQtUiTools.a
1001%{_qt4_libdir}/libQt*.prl
1002%{_qt4_datadir}/mkspecs
1003%{_qt4_datadir}/phrasebooks
1004%{_qt4_datadir}/q3porting.xml
1005%{_libdir}/pkgconfig/*.pc
1006%endif
1007
1008%changelog
1009* Sun Jan 26 2014 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 4.7.2-10
1010- Add patch340,340 for fix CVE-2013-4549 and perfomance regression
1011  These patches are from opensuse12.2, thanks.
1012
1013* Fri Feb  8 2013 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 4.7.2-9
1014- add patch330 for fix CVE-2013-0254 (QSharedMemory class)
1015
1016* Thu Jun 28 2012 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 4.7.2-8
1017- fix postun script-let typo (Thanks to inagaki-san)
1018
1019* Thu Jun 21 2012 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 4.7.2-7
1020- add patch310 for fix CVE-2011-3193
1021- add patch320 for fix CVE-2011-3194
1022
1023* Sat Jun 16 2012 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.2-6
1024- fixed scriptlet
1025
1026* Tue May 24 2011 IWAI, Masaharu <iwai@alib.jp> 4.7.2-5
1027- rebuild with unixODBC-2.2.14: broken by 4.7.2-4
1028- add Vendor and Distribution tags
1029
1030* Tue Apr 12 2011 Shu KONNO <owa@bg.wakwak.com> 4.7.2-4
1031- rebuilt with postgresql-9.0.3
1032
1033* Mon Apr 11 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.2-3
1034- rebuilt with unixODBC-2.2.14
1035
1036* Sat Apr  9 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.2-2
1037- added Patch 106, 301 and 302
1038- fixed /etc/rpm/macros.qt4
1039
1040* Sun Mar  6 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.2-1
1041- new upstream release
1042- updated Patch1022
1043- added config, tools subpackage
1044- added /etc/rpm/macros.qt4
1045- updated %%post, %%posttrans and %%postun section
1046
1047* Sat Jan 29 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.1-1
1048- new upstream release
1049
1050* Wed Jan 12 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.6.3-3
1051- rebuild with openssl-1.0.0c
1052- add BuildRequires: alsa-lib-devel
1053
1054* Mon Sep 20 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.6.3-2
1055- rebuilt with rpm-4.8.1
1056
1057* Sat Jul 24 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.6.3-1
1058- new upstream release
1059- moved %{_bindir}/qdbus to main package
1060
1061* Fri Feb 12 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.6.1-5
1062- rebuilt with gcc-4.4.3-3 on ppc
1063
1064* Fri Feb  5 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.6.1-4
1065- rebuilt with new toolchains
1066
1067* Sun Jan 31 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.6.1-3
1068- added BR: desktop-file-utils
1069
1070* Sat Jan 23 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.6.1-2
1071- fixed devel %%files (forgot removing documents...)
1072
1073* Thu Jan 21 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.6.1-1
1074- new upstream release
1075- moved documents to doc sub-package
1076- updated macros
1077- installed translation to %%{_datadir}/qt4/translations now
1078
1079* Sun Nov 22 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.5.3-1
1080- new upstream release
1081- dropped Patch90 (merged into upstream)
1082- updated Patches from Fedora
1083- added sqlite subpackage
1084
1085* Wed Sep 02 2009 NAKAMURA Kenta <kenta@vinelinux.org> 4.5.2-2
1086- added Patch90 for fix CVE-2009-2700
1087
1088* Wed Aug 26 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.5.2-1
1089- new upstream release
1090- updated qt-copy patches
1091- added Qt.pc
1092- added BuildRequires: WebKit-gtk-devel
1093
1094* Thu Jul 23 2009 NAKAMURA Kenta <kenta@vinelinux.org> 4.4.3-4
1095- added compat32 package for x86_64 arch support
1096
1097* Sun Apr 26 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.4.3-3
1098- changed qt4-designer Group to Applications/Development
1099- updated URL
1100- remove Requires: XOrg-libs, XOrg-gl
1101
1102* Wed Mar 24 2009 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 4.4.3-2
1103- update qt-copy patches
1104
1105* Mon Nov 24 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 4.4.3-1
1106- new upstream release
1107- update qt-copy patches
1108
1109* Tue Nov 11 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 4.4.2-2
1110- update qt-copy patches
1111
1112* Mon Sep 22 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 4.4.2-1
1113- new upstream release
1114- update qt-copy patches
1115
1116* Tue Sep 02 2008 Shu KONNO <owa@bg.wakwak.com> 4.4.1-2
1117- fixed symbolic-link path of %{_bindir}/* at %%install section (for lib64)
1118
1119* Mon Aug  4 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 4.4.1-1
1120- new upstream release
1121- update qt-copy patches
1122
1123* Sun Jul  6 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 4.4.0-1
1124- new upstream release
1125- update qt-copy patches
1126- add -no-phonon
1127
1128* Mon Mar 24 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 4.3.4-1
1129- fix release ([VineSeed:1527])
1130- add BuildPrereq: gcc4 gcc4-c++ for Vine 4.x
1131- add Requires(post,postun): alternatives to -devel and -designer package
1132
1133* Tue Mar  4 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 4.3.4-0vl1
1134- new upstream release
1135- update qt-copy patches
1136
1137* Wed Feb  6 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 4.3.3-0vl2
1138- update qt-copy patches
1139
1140* Thu Dec  6 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 4.3.3-0vl1
1141- new upstream release
1142- update and re-number qt-copy patches
1143- add BuildPrereq: glib2-devel
1144- update URL
1145
1146* Fri Nov  2 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 4.3.2-0vl1
1147- new upstream release
1148- update qt-copy patches
1149
1150* Tue Sep 18 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 4.3.1-0vl2
1151- update qt-copy patches (CVE-2007-4137)
1152
1153* Wed Aug 15 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 4.3.1-0vl1
1154- new upstream release
1155- update qt-copy patches
1156
1157* Thu Jun 28 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 4.3.0-0vl1
1158- new upstream release
1159- add qt-copy patches
1160
1161* Wed May 16 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 4.3.0-0vl0.20070423
1162- new upstream release
1163
1164* Mon Mar 12 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 4.2.3-0vl1
1165- new upstream release
1166
1167* Tue Oct 31 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 4.2.1-0vl1
1168- new upstream release
1169- add ld.so.conf.d and qt4.conf
1170- BuildPrereq: dbus-devel >= 0.62
1171
1172* Fri Oct  6 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 4.2.0-0vl1
1173- new upstream release
1174- remove static package
1175
1176* Mon Sep 25 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 4.1.4-0vl1
1177- new upstream release
1178- update %%fiels
1179- remove Xt and styles package
1180- add BuildPrereq: postgresql-libs MySQL-shared
1181- remove all patches
1182
1183* Mon Sep 19 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.5-0vl4
1184- move %%{_libdir}/qt3 from develop to main
1185- fix typo
1186- add patch503
1187 -- Thu Sep 14 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.3.5-0vl2.0imm.1
1188  - import qt-x11-immodule-unified-quiet.patch (patch503) from FC
1189- add patch500-502
1190 -- Thu Sep 14 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.3.5-0vl2.0imm
1191  - add immodule for Qt support (patch500-502)
1192    - patch500: revert some part of patch300,301 (conflict with patch501)
1193    - patch501: immodule for Qt patch
1194    - patch502: apply some part of patch300,301 again
1195    cf. http://immodule-qt.freedesktop.org/
1196        http://people.freedesktop.org/~daisuke/
1197
1198* Sun Sep 10 2006 NAKAMURA Kenta <kenta@vinelinux.org> 3.3.5-0vl3
1199- added configure options for builing on 64-bit archs
1200
1201* Tue Sep 13 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.5-0vl2
1202- rebuild for VineSeed
1203
1204* Tue Sep 13 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.5-0vl1
1205- new upstream release
1206- stop building nonthreaded libs
1207- delete Obsoletes
1208- add Patch0
1209
1210* Tue Jul  5 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.4-0vl6
1211- rebuild for VineSeed
1212
1213* Tue Jul  5 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.4-0vl5
1214- build for Vine3.1
1215- add -v to configure option
1216- move three static libs to main package
1217
1218* Wed Mar 16 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.4-0vl4
1219- rebuild for VineSeed
1220
1221* Sat Mar 12 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.4-0vl3
1222- (security) stop using rpath
1223- cleanup this file
1224
1225* Thu Feb 17 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.4-0vl2
1226- rebuild for VineSeed
1227
1228* Thu Feb 17 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.4-0vl1
1229- new upstream release
1230- update Patch400
1231
1232* Sat Dec 11 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.3-0vl3
1233- rebuld
1234
1235* Wed Nov 17 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.3-0vl2
1236- add Obsoletes: qt32-*
1237
1238* Sun Sep  5 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.3-0vl1
1239- source upgrade
1240- remove patch100
1241- update patch300 and remove patch302-303
1242- update patch400
1243- update BuildPrereq and Requires
1244
1245* Wed Jul 28 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.2-0vl3
1246- add patch302-303 from KuserML
1247- delete lines about vine26
1248
1249* Sun Jun  6 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.2-0vl2
1250- add patch100 from webcvs.kde.org/cgi-bin/cvsweb.cgi/qt-copy/patches/
1251
1252* Fri Apr 30 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.2-0vl1
1253- source upgrade
1254- remove patch100 (it is needed only for 3.3.1)
1255
1256* Sun Apr 18 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.1-0vl3
1257- rebuild with XOrg
1258
1259* Mon Mar 29 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.1-0vl2
1260- rebuild
1261
1262* Mon Mar  8 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.1-0vl1
1263- source upgrade
1264- remove patch800
1265- add patch100 (only for qt-x11-free-3.3.1)
1266
1267* Sun Feb  1 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.2.3-0vl3
1268- enable cups support
1269
1270* Sun Dec 21 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.2.3-0vl2
1271- build for VineSeed with new toolchain
1272- disable cup support
1273
1274* Wed Dec  3 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.2.3-0vl1
1275- source upgrade
1276- revised Patch402 and 403
1277- remove Patch100
1278- add patch800 to build against freetype2-2.1.7
1279- (VinePlus/2.6) BuildPrereq: autoconf258
1280
1281* Sun Nov  9 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.2.2-0vl1
1282- source upgrade
1283- revised Patch400
1284- remove Patch15
1285
1286* Sun Nov  2 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.2.1-0vl4
1287- enable cups support
1288
1289* Sun Oct 19 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.2.1-0.26vl3
1290- rebuild for Vine2.6
1291
1292* Sun Oct 19 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.2.1-0vl3
1293- revised Patch400 and Patch402
1294- clean up spec
1295
1296* Sun Sep 28 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.2.1-0.26vl2
1297- rebuild for Vine2.6
1298
1299* Sun Sep 28 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.2.1-0vl2
1300- revised Patch400-
1301- clean up spec
1302
1303* Mon Sep 15 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.2.1-0.26vl1
1304- rebuild for Vine2.6
1305
1306* Mon Sep 15 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.2.1-0vl1
1307- source upgrade
1308- add Patch100
1309- remove Patch302 (it is included in this source)
1310- stop using Patch400-
1311- build with gcc-3.2.3
1312- add export LANG=C
1313- add *.pc (pkg-config files) to qt-devel package
1314
1315* Fri Aug 15 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.1.2-0.26vl5
1316- rebuild for Vine2.6
1317
1318* Wed Aug 13 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.1.2-0vl5
1319- add Patch302 to fix performance of jmode
1320- change make option for SMP and add script
1321
1322* Thu Jun 19 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.1.2-0vl4
1323- update Patch400 and 401
1324
1325* Wed Jun 18 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.1.2-0vl3
1326- change spec to build with g++-2.95.3
1327
1328* Mon Apr 21 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.1.2-0.26vl2
1329- rebuild for Vine2.6
1330
1331* Wed Apr 16 2003 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 3.1.2-0vl2
1332- rebuilt with libpng >= 1.2.5 when %%{vine26} is set to 0 (ie VineSeedPlus)
1333
1334* Fri Mar 21 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.1.2-0vl1
1335- source upgrade
1336- remove all patches except patch15
1337- revised patch 300-
1338- stop building Xt package
1339
1340* Mon Feb 24 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.1.1-0vl3
1341- revised patch 301 and 302
1342- enable patch 301 and 302 to Vine2.5/2.6
1343
1344* Sun Feb  9 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.1.1-0vl2
1345- change spec to build both VineSeed and Vine2.5/2.6
1346- re-number patch300-
1347- delete patch4 (qt-3.1.1 does not need it)
1348- add patch13 and 14
1349 -- Thu Dec 19 2002 Than Ngo <than@redhat.com> 3.1.1-3
1350  - add monospace patch file from Leon Ho (bug #79949)
1351  - add small patch file from Sysoltsev Slawa (bug #79731)
1352- add patch15
1353 -- Mon Dec 30 2002 Florian La Roche <Florian.LaRoche@redhat.de>
1354  - Change qmlined.h to not include an attic header that is also not shipped
1355    with Red Hat Linux. This also fixes building unixODBC, that includes this
1356    header (apparently also without needing it).
1357
1358
1359* Sat Jan  4 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.1.1-0vl1
1360- source upgrade
1361- cleanup spec
1362- revised Patch7, 301
1363- add Patch306, 307, 308 from kde.gr.jp
1364
1365* Sun Dec 15 2002 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.1.0-0vl1
1366- source upgrade
1367- stop using objprelink2, it does not work with gcc3
1368- add Patch304 and Patch305 from www.kde.gr.jp/~akito/xft/patch_xft.html
1369- add Patch1 - Patch12 from rawhide 3.1.0-1.3
1370- add BuildPrereq: openMotif-devel >= 2.2.2 for build qt-Xt
1371- cleanup spec for build x11 package only
1372
1373* Mon Nov 11 2002 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.0.5-0vl3
1374- add export PATH=`pwd`:$PATH to %build section
1375
1376* Mon Oct 15 2002 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.0.5-0vl2
1377- objprelink2 support only i386 (add %ifarch i386 ... again)
1378- delete BuildPrereq: libmng-static (it merged to libmng-devel)
1379- delete %doc ANNOUNCE
1380- Requires: XFree86-gl instead of Mesa
1381
1382* Fri Oct  4 2002 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.0.5-0vl1
1383- add BuildPrereq: objprelink2 instead of BuildPrereq: objprelink
1384- add BuildPrereq: autoconf253 automake15
1385- delete Patch199 (objprelink2 do not need this patch)
1386- source upgrade
1387- revised all patches [Kdeveloper:02404]
1388- add man files to qt-devel sub-package
1389
1390* Tue Jul 16 2002 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 3.0.3-1vl5
1391- add patch304 from kde.gr.jp [Kdeveloper:02368]
1392
1393* Thu Jul  4 2002 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 3.0.3-1vl4
1394- add patch303 from kde.gr.jp [Kdeveloper:02378]
1395
1396* Wed Apr 17 2002 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 3.0.3-1vl3
1397- add patch302 from kde.gr.jp
1398
1399* Thu Apr  4 2002 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 3.0.3-1vl2
1400- revised patch300 from kde.gr.jp and XIMInputStyle=Over The Spot in qtrc
1401- add patch301 from kde.gr.jp
1402- make unixODBC plugin (delete define odbcplugins 0 and if %{odbcplugins})
1403
1404* Sat Mar 30 2002 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 3.0.3-1vl1
1405- merged with rawhide 3.0.3-0.cvs20020314.1
1406- source update to 3.0.3
1407- add patch199 (objprelink)
1408- add patch300 and add defaultInputStyle=OverTheSpot in qtrc
1409- define cups 0 (Vine does not have cups)
1410- define odbcplugins 0 (unixODBC requires libqt-mt.so.2 of qt-2)
1411- cleanup spec
1412- There is Vine's previous changes, hacked for Vine
1413 -- Sat Jan  5 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 2.3.1-6vl4
1414  - rebuild with -xft support (XFree86-4.1.99.4)
1415 -- Mon Dec 31 2001 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 2.3.1-6vl3
1416  - rebuild with glibc-2.2.4
1417 -- Sun Nov 25 2001 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 2.3.1-6vl2
1418  - add Source2 and Patch4 (use objprelink, i386 only)
1419 -- Sat Oct 13 2001 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 2.3.1-6vl1
1420  - Build for VineSeed
1421  - Add qt.using_new_library.patch from Kondara
1422 -- Mon Jun 11 2001 net_hal <net_hal@cwa.bai.ne.jp>
1423  - First build for Vine2.1.5
1424 -- Thu Apr 12 2001 Rex Dieter <rdieter@unl.edu> 2.3.0-0.6x.3
1425  - redhat 6.x backport based on rawhide's qt-2.3.0-3
1426  - remove -xft support (because we're using XFree-3)   
1427
1428* Thu Mar 14 2002 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.3-0.cvs20020314.1
1429- Update to 3.0.3-pre, required for KDE3
1430- force -fPIC usage
1431- Remove conflict with qt2 < 2.3.2-1, the new qt2 2.3.1 is fixed and qt 2.3.2
1432  is broken
1433- Ship the qmake config files (so qmake works for building any 3rd party stuff,
1434  e.g. aethera)
1435
1436* Wed Mar  6 2002 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.2-2
1437- Add some fixes from KDE's qt-copy CVS
1438- Pluginize image formats
1439
1440* Mon Feb 25 2002 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.2-1
1441- 3.0.2 final
1442
1443* Tue Feb 19 2002 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.2-0.cvs20020118.3
1444- Add GB18030 codec patch, #60034
1445- Force-build jpeg support, fixing #59775 and #59795
1446
1447* Sat Jan 26 2002 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.2-0.cvs20020118.2
1448- Build with CUPS support
1449
1450* Fri Jan 18 2002 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.2-0.cvs20020118.1
1451- Fix up /usr/bin/moc links, they should point to qt3
1452
1453* Mon Jan 14 2002 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.2-0.cvs20020114.1
1454- Build styles directly into the main library for now, there's too much broken
1455  code out there depending on this ATM.
1456
1457* Wed Jan  9 2002 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.2-0.cvs20020109.1
1458- Stop excluding alpha, gcc has been fixed
1459
1460* Tue Jan  8 2002 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.2-0.cvs20020108.1
1461- Add fixes from CVS; this fixes the "Alt + F1, arrow up, arrow up doesn't work
1462  in KDE" bug
1463
1464* Mon Dec 17 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.1-2
1465- Fix up settings search path
1466- Add default qtrc allowing to use KDE 3.x Qt plugins
1467- Make sure QLibrary uses RTLD_GLOBAL when dlopen()ing libraries
1468
1469* Thu Dec 13 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.1.0-1
1470- Work around gcc bug #57467
1471
1472* Wed Dec 12 2001 Bernhard Rosenkraenzer <bero@redhat.com>
1473- 3.0.1 final
1474
1475* Mon Dec 10 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.1-0.cvs20011210.1
1476- Update to current (needed by KDE 3.x)
1477- Rebuild with current libstdc++
1478- Temporarily disable building on alpha
1479- Fix build with PostgreSQL 7.2
1480
1481* Mon Nov 26 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.0-5
1482- Fix up glweak
1483
1484* Mon Nov  5 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.0-4
1485- Give designer, uic, moc, etc. their real names - the qt2 versions
1486  have been renamed in qt2-2.3.2-1.
1487  Conflict with qt2 < 2.3.2-1.
1488
1489* Thu Oct 25 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.0-3
1490- Add symlink /usr/lib/qt-3.0.0 -> /usr/lib/qt3 and set QTDIR to the
1491  symlink, allowing to update to 3.0.1 without breaking rpath'ed binaries
1492
1493* Tue Oct 16 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.0-1
1494- 3.0.0 final
1495- fix some minor specfile bugs
1496- Modularize some more (image format plugins)
1497- Build codecs
1498
1499* Tue Sep 18 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.0-0.beta5.1
1500- beta5
1501- Share more code between qt-x11 and qt-embedded builds
1502
1503* Wed Aug 29 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.0-0.beta4.1
1504- beta4
1505- build the Motif style directly into Qt rather than as a plugin - Qt should
1506  always have at least one style...
1507- replace the designer3 symlink with a shell script that sets QTDIR correctly
1508  before launching designer
1509- Add desktop file for designer
1510
1511* Mon Aug  6 2001 Tim Powers <timp@redhat.com> 3.0.0-0.beta3.4
1512- explicitly include qm2ts, qmake, qtconfig in the devel package file list to avoid dangling symlinks
1513
1514* Thu Aug  2 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.0-0.beta3.3
1515- Try yet another workaround for buildsystem breakages
1516
1517* Tue Jul 31 2001 Bernhard Rosenkraenzer <bero@redhat.com>
1518- Add another ugly workaround for build system problems, this should finally
1519  get rid of the dangling symlinks
1520
1521* Tue Jul 31 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.0-0.beta3.2
1522- Rephrase parts of the spec file, hopefully pleasing the build system
1523
1524* Sun Jul 29 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.0-0.beta3.1
1525- beta3
1526- Fix dangling symlinks
1527
1528* Sun Jun 24 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.0-0.beta1.2
1529- Fix up QSQL Postgres classes for Postgres 7.1.x
1530- Fix various bugs:
1531  - QtMultilineEdit and QtTableView should actually compile
1532  - Link libqsqlpsql with libpq
1533  - Don't link the base library with libmysqlclient, linking the MySQL
1534    module with it is sufficient
1535- Add missing const qualifier
1536- move the SQL drivers to separate packages to avoid dependencies
1537- build and install designer plugins - converting glade files to Qt is fun. ;)
1538- handle RPM_OPT_FLAGS
1539
1540* Tue May 22 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.0-0.beta1.1
1541- 3.0 beta 1
1542
1543* Wed May 16 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.0-0.cvs20010516.1
1544- Update, remove conflicts with Qt 2.x
1545
1546* Mon May 14 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.0-0.cvs20010514.1
1547- Initial build of 3.0 branch
1548
1549* Fri Apr 27 2001 Bernhard Rosenkraenzer <bero@redhat.com> 2.3.0-6
1550- Fix crashes on ia64, Patch from Bill Nottingham <notting@redhat.com>
1551- Allow building qt-nox
1552
1553* Fri Apr 20 2001 Bernhard Rosenkraenzer <bero@redhat.com> 2.3.0-5
1554- Make sure uic and designer use the libqui from the source tree, not
1555  a previously installed one.
1556  Linking uic-x11 against libqui-embedded is definitely not a feature. ;)
1557- The qclipboard fix is needed for qt-x11 only, don't apply it if we're
1558  building qt-embedded
1559
1560* Sat Apr 14 2001 Bernhard Rosenkraenzer <bero@redhat.com>
1561- Handle LPRng specific constructs in printcap, Bug #35937
1562
1563* Sun Mar 25 2001 Florian La Roche <Florian.LaRoche@redhat.de>
1564- add qfont patch from Trolltech
1565
1566* Tue Mar 13 2001 Harald Hoyer <harald@redhat.de>
1567- added patch for '@euro' language settings
1568
1569* Tue Mar  6 2001 Bernhard Rosenkraenzer <bero@redhat.com>
1570- 2.3.0 final
1571- BuildRequires XFree86-devel >= 4.0.2 (#30486)
1572
1573* Mon Feb 26 2001 Than Ngo <than@redhat.com>
1574- fix check_env function, so that qt does not crash if QT_XFT is not set
1575- fix symlinks
1576
1577* Mon Feb 26 2001 Bernhard Rosenkraenzer <bero@redhat.com>
1578- 2.3.0b1
1579- Add a patch to qpsprinter that handles TrueType fonts even if they come from xfs
1580
1581* Tue Feb 13 2001 Preston Brown <pbrown@redhat.com>
1582- japanese input and clipboard fixes applied.  Changes have been sent upstream by patch authors.
1583
1584* Fri Feb  9 2001 Bernhard Rosenkraenzer <bero@redhat.com>
1585- Rebuild with new Mesa to get rid of pthreads linkage
1586- Add Xft fix from KDE CVS
1587
1588* Wed Feb  7 2001 Bernhard Rosenkraenzer <bero@redhat.com>
1589- Add printing bugfix patch from Trolltech
1590
1591* Sat Feb  3 2001 Bernhard Rosenkraenzer <bero@redhat.com>
1592- 2.2.4
1593- Qt Embedded: Add QVfb and VNC support
1594
1595* Tue Jan 16 2001 Bernhard Rosenkraenzer <bero@redhat.com>
1596- Don't segfault when running Qt/Embedded applications as root
1597- Improve the Qt/Embedded sparc patch so we don't need the specfile hacks
1598  anymore
1599- Fix a bug in QPrintDialog (causing KDE Bug #18608)
1600
1601* Thu Jan 11 2001 Bernhard Rosenkraenzer <bero@redhat.com>
1602- bzip2 source to save space
1603- Qt/Embedded 2.2.3
1604- Fix qte build on sparc
1605
1606* Wed Dec 20 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1607- Run ldconfig in %%post and %%postun for qt-Xt
1608
1609* Sun Dec 17 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1610- Build with the Xrender extension
1611  (Patch from Keith Packard <keithp@keithp.com>)
1612
1613* Wed Dec 13 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1614- 2.2.3
1615
1616* Tue Dec 12 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1617- Rebuild to fix permissions on doc dir
1618- Don't exclude ia64 anymore
1619
1620* Fri Nov 17 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1621- Fix up uic (Patch from trolltech)
1622
1623* Wed Nov 15 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1624- Build qt-embedded
1625  changes to base: fix build, fix ISO C99 compliance, fix 64bit support
1626
1627* Mon Nov 13 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1628- 2.2.2
1629
1630* Tue Oct 24 2000 Than Ngo <than@redhat.com>
1631- call ldconfig for updating (Bug #19687)
1632- added patch from Trolltech, thanks to Rainer <rms@trolltech.com>
1633
1634* Wed Oct 18 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1635- Add missing msg2qm, msgmerge, qconfig tools (Bug #18997), introduced
1636  by broken Makefiles in base
1637- fix up %%install so it works both with old-style and new-style fileutils
1638  (fileutils <= 4.0z don't know about -L)
1639
1640* Fri Oct 13 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1641- Disable exception handling; this speeds up KDE 2.x and reduces its
1642  memory footprint by 20 MB.
1643
1644* Tue Oct 10 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1645- dereference symlinks in include
1646
1647* Sun Oct  8 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1648- fix -devel
1649- update to the new version of 2.2.1 on trolltech.com; the initial tarball
1650  contained broken docs
1651
1652* Thu Oct  5 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1653- 2.2.1
1654
1655* Mon Sep 25 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1656- Add missing uic
1657
1658* Thu Sep 21 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1659- Move Qt designer to a different source RPM to get rid of a
1660  circular dependency (kdelibs2->qt, qt->kdelibs2)
1661- Enable MNG support
1662- Don't compile (just include) examples and tutorials
1663- move the static libraries to a separate package (qt-static).
1664  They're HUGE, and most people won't ever need them.
1665- clean up spec file
1666- fix up dependencies (-devel requires base, -static requires devel,
1667  Xt requires base)
1668- add BuildRequires line
1669
1670* Tue Sep 12 2000 Than Ngo <than@redhat.com>
1671- update release 2.2.0
1672- changed copyright to GPL
1673- added missing static libraries
1674- made symbolic link for designer to load the help files correct
1675- made designer and designer-kde2 as sub packages
1676- added missing templates for designer
1677- remove jakub patch, since the release 2.2.0 already
1678  contains this patch.
1679- fixed qt again to compile with gcc-2.96
1680- use make -j for building
1681
1682* Wed Aug 23 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1683- Work around compiler bugs (Patch from Jakub)
1684- Use relative symlinks (Bug #16750)
1685
1686* Mon Aug 21 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1687- beta2
1688
1689* Mon Aug 14 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1690- new qt-copy from KDE2 CVS
1691
1692* Wed Aug 9 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1693- official beta 1
1694
1695* Thu Aug 3 2000 Than Ngo <than@redhat.de>
1696- rebuilt against the libpng-1.0.8
1697
1698* Thu Jul 27 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1699- rebuild (so we have it on all arches)
1700
1701* Tue Jul 25 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1702- move man pages to a more reasonable place (this fixes Bug #14126)
1703- exclude ia64 for now (compiler problems!!!)
1704
1705* Mon Jul 24 2000 Harald Hoyer <harald@redhat.de>
1706- modified connect patch to fit qt 2.2.0 beta.
1707
1708* Thu Jul 20 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1709- update to current qt-copy; this is now a qt 2.2.0 beta.
1710
1711* Mon Jul 17 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1712- update to current qt-copy in kde CVS, required
1713
1714* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
1715- automatic rebuild
1716
1717* Sun Jul 11 2000 Harald Hoyer <harald@redhat.de>
1718- made patch smaller and binary compatible when recompiled with 6.2
1719- modified connect and moc to cope with the new g++ class layout
1720
1721* Sun Jul 09 2000 Than Ngo <than@redhat.de>
1722- rebuilt qt with gcc-2.96-34
1723
1724* Fri Jul 07 2000 Than Ngo <than@redhat.de>
1725- rebuilt qt with c++ 2.96
1726
1727* Mon Jul  3 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1728- Fix dependancies
1729
1730* Sun Jul  2 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1731- Use egcs++ for now ** FIXME
1732
1733* Wed Jun 28 2000 Preston Brown <pbrown@redhat.com>
1734- fix up qt.sh
1735
1736* Sun Jun 25 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1737- Build in jpeg and threading support
1738- Fix a bug in clipboard pasting code
1739
1740* Wed Jun 07 2000 Preston Brown <pbrown@redhat.com>
1741- fix qt.{sh,csh}
1742- use new rpm macro paths
1743- package man pages
1744
1745* Fri Jun  2 2000 Bill Nottingham <notting@redhat.com>
1746- build without optimization on ia64
1747
1748* Mon May 29 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1749- 2.1.1
1750
1751* Thu May 18 2000 Florian La Roche <Florian.LaRoche@redhat.com>
1752- recompile with correct libstdc++
1753
1754* Thu Apr 13 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1755- 2.1.0 final
1756
1757* Wed Apr  5 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1758- beta4
1759- depend on libGL.so.1 rather than Mesa - XFree86 4.0 provides that
1760  lib, too
1761
1762* Wed Mar 22 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1763- beta3
1764
1765* Tue Mar  7 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1766- beta2
1767- fix compilation of the NSPlugin add-on
1768
1769* Fri Mar  3 2000 Bill Nottingham <notting@redhat.com>
1770- fix %postun script
1771
1772* Fri Feb 18 2000 Bernhard Rosenkr?nzer <bero@redhat.com>
1773- beta1
1774- get rid of qt-ImageIO, the functionality is now in the main Qt library
1775- remove qt-Network, the functionality is now in the main Qt library
1776- add changes-2.1.0 to %doc
1777
1778* Thu Feb 17 2000 Preston Brown <pbrown@redhat.com>
1779- no refcount check on postun script, we want it to happen even on upgrades
1780
1781* Thu Feb 10 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1782- new snapshot, should fix QWhatsThisButton
1783- remove executable permissions from *.pro files
1784
1785* Mon Feb 07 2000 Preston Brown <pbrown@redhat.com>
1786- strip binaries in examples, tutorial
1787
1788* Mon Jan 31 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1789- new snapshot - should fix the hotkey bug
1790- Fix up the Makefiles so it compiles
1791
1792* Tue Jan 18 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1793- new snapshot - we need those QVariant fixes
1794
1795* Thu Jan 13 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1796- switch from glxMesa to Mesa for the GL addon
1797
1798* Wed Jan 5 2000 Bernhard Rosenkr?nzer <bero@redhat.com>
1799- Fix up dependencies
1800- new snapshot
1801
1802* Mon Jan 3 2000 Ngo Than <than@redhat.de>
1803- new snapshot for Red Hat Linux 6.2
1804- increase version number
1805
1806* Mon Dec 20 1999 Bernhard Rosenkraenzer <bero@redhat.com>
1807- new snapshot
1808- handle RPM_OPT_FLAGS
1809
1810* Mon Dec 13 1999 Bernhard Rosenkraenzer <bero@redhat.com>
1811- new snapshot
1812- -GL requires libGL.so.1 instead of Mesa (might as well be glxMesa
1813  or some commercial OpenGL)
1814- -GL BuildPrereqs /usr/X11R6/include/GL/gl.h instead of Mesa-devel
1815  (might as well be glxMesa or some commercial OpenGL)
1816
1817* Sun Dec 05 1999 Bernhard Rosenkraenzer <bero@redhat.com>
1818- update to current RSYNC version
1819- remove compilation patch - it finally works out of the box
1820
1821* Wed Oct 27 1999 Bernhard Rosenkraenzer <bero@redhat.com>
1822- update to current CVS snapshot
1823- build extensions
1824- add patch to fix QNetwork compilation
1825
1826* Sun Oct 24 1999 Bernhard Rosenkraenzer <bero@redhat.de>
1827- current CVS snapshot
1828- fix compilation with gcc 2.95.x
1829- use install -c rather than just install to make BSD install happy
1830
1831* Mon Oct 11 1999 Bernhard Rosenkraenzer <bero@redhat.de>
1832- 2.1.0 snapshot (for KDE2)
1833- Fix typo in spec
1834
1835* Thu Sep 23 1999 Preston Brown <pbrown@redhat.com>
1836- don't ship tutorial or example binaries
1837
1838* Tue Sep 21 1999 Preston Brown <pbrown@redhat.com>
1839- substitution in tutorial and examples so that dependencies are correct and
1840  they can be successfully rebuilt.
1841- switched to completely using QTDIR.  trying to coexist with links into
1842  /usr/{include,lib} and still compile with qt 1.x is very hard for
1843  configure scripts to cope with.
1844
1845* Thu Aug 19 1999 Preston Brown <pbrown@redhat.com>
1846- implemented QTDIR compatibility.
1847
1848* Tue Jul 20 1999 Preston Brown <pbrown@redhat.com>
1849- qt 2.0.1 packaged.
1850
1851* Wed Jul 14 1999 Preston Brown <pbrown@redhat.com>
1852- Qt 2.00 packaged.
1853- examples, html documentation, tutorial moved to /usr/doc
1854
1855* Sat Apr 17 1999 Preston Brown <pbrown@redhat.com>
1856- static library supplied in dev package.
1857
1858* Wed Apr 07 1999 Preston Brown <pbrown@redhat.com>
1859- turn on internal GIF reading support
1860
1861* Tue Apr 06 1999 Preston Brown <pbrown@redhat.com>
1862- strip binaries
1863
1864* Mon Mar 15 1999 Preston Brown <pbrown@redhat.com>
1865- upgrade to qt 1.44.
1866
1867* Wed Feb 24 1999 Preston Brown <pbrown@redhat.com>
1868- Injected new description and group.
1869
1870* Tue Jan 19 1999 Preston Brown <pbrown@redhat.com>
1871- moved includes to /usr/include/qt
1872
1873* Mon Jan 04 1999 Preston Brown <pbrown@redhat.com>
1874- made setup phase silent.
1875
1876* Fri Dec 04 1998 Preston Brown <pbrown@redhat.com>
1877- upgraded to qt 1.42, released today.
1878
1879* Tue Dec 01 1998 Preston Brown <pbrown@redhat.com>
1880- took Arnts RPM and made some minor changes for Red Hat.
Note: See TracBrowser for help on using the repository browser.