summaryrefslogtreecommitdiffstats
path: root/opensuse/core/qt3/qt3.spec
diff options
context:
space:
mode:
authorRobert Xu <robxu9@gmail.com>2011-11-19 19:30:53 -0500
committerRobert Xu <robxu9@gmail.com>2011-11-19 19:30:53 -0500
commit27c9e783c6283f8916ebee3a23c6d1ba909a5126 (patch)
treeb2e83e72bb13db04a79c6266998a84d11622549b /opensuse/core/qt3/qt3.spec
parentd23dfe93da17397db5e6f8bdf74fedf769379bdb (diff)
downloadtde-packaging-27c9e783c6283f8916ebee3a23c6d1ba909a5126.tar.gz
tde-packaging-27c9e783c6283f8916ebee3a23c6d1ba909a5126.zip
Thanks to Andrea Cascio for getting Qt3 3.3.8d building!
Diffstat (limited to 'opensuse/core/qt3/qt3.spec')
-rw-r--r--opensuse/core/qt3/qt3.spec58
1 files changed, 4 insertions, 54 deletions
diff --git a/opensuse/core/qt3/qt3.spec b/opensuse/core/qt3/qt3.spec
index 0c6df00cd..ffc2a9e61 100644
--- a/opensuse/core/qt3/qt3.spec
+++ b/opensuse/core/qt3/qt3.spec
@@ -40,8 +40,6 @@ Provides: qt_library_%version
Recommends: kdelibs3-default-style
PreReq: /bin/grep
# COMMON-BEGIN
-%define x11_free -x11-free-
-%define rversion 3.3.8b
Source0: http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/dependencies/qt3-3.3.8.d.tar.gz
Source1: build_script.sh
Source2: qtconfig3.desktop
@@ -54,10 +52,8 @@ Source9: linguist.desktop
Source5: linguist.png
Source10: qt3.sh
Source11: qt3.csh
-# Translations did not change at 3.3.8c
+# Translations did not change at 3.3.8d
Source12: qt3-3.3.8b-translations.tar.bz2
-Source100: qtkdeintegration_x11.cpp
-Source101: qtkdeintegration_x11_p.h
Source102: baselibs.conf
Source200: attributes
Source201: update_spec.pl
@@ -70,43 +66,24 @@ Patch14: lib64-plugin-support.diff
Patch15: pluginmanager-fix.diff
Patch18: no-rpath.dif
Patch19: shut-up.diff
-Patch21: fix-GL-loading.diff
Patch23: fix-accessible.diff
-Patch28: fix-key-release-event-with-imm.diff
Patch31: limit-image-size.diff
-Patch34: 0005-qpixmap_mitshm.patch
Patch35: qt-transparency.patch
Patch37: 0055-qtextedit_zoom.patch
-Patch38: 0048-qclipboard_hack_80072.patch
Patch39: fix-qtranslator-crash.diff
-Patch40: 0059-qpopup_has_mouse.patch
-Patch41: 0060-qpopup_ignore_mousepos.patch
Patch42: add_qexport_visibility.patch
-Patch43: 0056-khotkeys_input_84434.patch
-Source250: enable-designer-plugins.diff
-Patch53: fix-xinerama-dialog-placement.diff
Patch54: kmenu-search-fix.diff
-Patch55: qt3-fix-cast.diff
-Patch100: qt.patch
-Patch101: qt3-arm-gcc4.patch
-Patch102: xinerama.patch
Patch113: fix-assistant-path.patch
Patch117: qtimer-debug.diff
-Patch119: xinerama-qpopupmenu.diff
Patch121: qt3-warnings.diff
-Patch123: use-xrandr-1.2.diff
Patch125: qcstring-format-warnings.diff
Patch127: mng-reading-fix.patch
-Patch128: 0079-compositing-types.patch
-Patch129: 0080-net-wm-sync-request.patch
-Patch132: revert-qt-3.3.8-khmer-fix.diff
-Patch133: 0085-fix-buildkey.diff
Patch134: fix-xinput-clash.diff
Patch135: parseFontName.diff
Patch136: qt3-no-date.diff
Patch137: popen-leak-fix.diff
-Patch138: qt3-libpng14.diff
Patch139: gcc46.diff
+Patch140: revert-iodbc-to-uodbc.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -139,55 +116,28 @@ fi
%patch18
%patch19
%patch23
-#%patch28
%patch31
-%patch34
%patch35
%patch37
-%patch38
%patch39
-%patch40
-%patch41
%patch42
-%patch43
-%patch100
-%patch102
-%patch53
%patch54
-%patch55
-%patch101
%patch113
%patch117
-%patch119
%patch121
-%patch123
ln -sf $PWD/src/inputmethod/qinputcontextfactory.h include/
ln -sf $PWD/src/inputmethod/qinputcontextplugin.h include/
ln -sf $PWD/src/kernel/qinputcontext.h include/
ln -sf $PWD/src/kernel/qinputcontextinterface_p.h include/private/
ln -sf $PWD/src/kernel/qximinputcontext_p.h include/private/
-if [ %_lib = "lib" ]; then
-sed 's,/lib64/,/lib/,' %PATCH21 | patch -p0
-else
-%patch21
-fi
%patch125
%patch127
-%patch128
-%patch129
-%patch132
-%patch133
%patch134
%patch135
%patch136
%patch137
-%if %suse_version > 1120
-%patch138 -p1
-%endif
%patch139
-# copy qt kde integration files
-cp %SOURCE100 %SOURCE101 src/kernel/
-cp %SOURCE101 include/private/
+%patch140
cd translations
tar xvjf %SOURCE12
cd ..
@@ -337,7 +287,7 @@ fi
%files
%defattr(-,root,root,755)
# FIXME provide new changelog if kb9vqf will give one
-%doc changes-3.3.8b README* LICENSE* MANIFEST FAQ
+%doc changes-3.3.8d README* LICENSE* MANIFEST FAQ
%dir /usr/lib/qt3/translations
%dir /usr/lib/qt3
%dir /usr/lib/qt3/bin