source: projects/specs/trunk/q/qt4/qt4-vl.spec @ 7037

Revision 7037, 62.5 KB checked in by daisuke, 12 years ago (diff)

qt4:

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