summaryrefslogtreecommitdiffstats
path: root/extra
diff options
context:
space:
mode:
Diffstat (limited to 'extra')
-rw-r--r--extra/qt3/.footprint.x86_6414
-rw-r--r--extra/qt3/.md5sum.x86_645
-rw-r--r--extra/qt3/Pkgfile52
3 files changed, 71 insertions, 0 deletions
diff --git a/extra/qt3/.footprint.x86_64 b/extra/qt3/.footprint.x86_64
new file mode 100644
index 000000000..b1cf2726a
--- /dev/null
+++ b/extra/qt3/.footprint.x86_64
@@ -0,0 +1,14 @@
+drwxr-xr-x root/root opt/
+drwxr-xr-x root/root opt/qt/
+drwxr-xr-x root/root opt/qt/lib/
+-rw-r--r-- root/root opt/qt/lib/libqt-mt.la
+-rw-r--r-- root/root opt/qt/lib/libqt-mt.prl
+lrwxrwxrwx root/root opt/qt/lib/libqt-mt.so -> libqt-mt.so.3.3.8
+lrwxrwxrwx root/root opt/qt/lib/libqt-mt.so.3 -> libqt-mt.so.3.3.8
+lrwxrwxrwx root/root opt/qt/lib/libqt-mt.so.3.3 -> libqt-mt.so.3.3.8
+-rwxr-xr-x root/root opt/qt/lib/libqt-mt.so.3.3.8
+drwxr-xr-x root/root opt/qt/plugins/
+drwxr-xr-x root/root opt/qt/plugins/imageformats/
+-rwxr-xr-x root/root opt/qt/plugins/imageformats/libqjpeg.so
+-rwxr-xr-x root/root opt/qt/plugins/imageformats/libqmng.so
+-rwxr-xr-x root/root opt/qt/plugins/imageformats/libqpng.so
diff --git a/extra/qt3/.md5sum.x86_64 b/extra/qt3/.md5sum.x86_64
new file mode 100644
index 000000000..da58a2025
--- /dev/null
+++ b/extra/qt3/.md5sum.x86_64
@@ -0,0 +1,5 @@
+ce498b3d6994d765edc54dc08872813e qt-3.3.8b-png14-1.patch
+e0a3ede21ab2876d2295897d38f592b8 qt-copy-kde-patches.tar.bz2
+2f00e5c0c1e2c2a23dddc982cd79f3e0 qt-patches.tar.bz2
+9f05b4125cfe477cc52c9742c3c09009 qt-x11-free-3.3.8b.tar.gz
+f6b3b39040f2b8f19ba1cf1445468c28 utf8-bug-qt3.diff
diff --git a/extra/qt3/Pkgfile b/extra/qt3/Pkgfile
new file mode 100644
index 000000000..460eaa3d4
--- /dev/null
+++ b/extra/qt3/Pkgfile
@@ -0,0 +1,52 @@
+# Description: Librairie très complète de chez Trolltech
+# URL: http://trolltech.com/products/qt/qt3
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: xorg, libcups
+
+name=qt3
+version=3.3.8b
+release=3
+source=( ftp://ftp.trolltech.com/qt/source/qt-x11-free-$version.tar.gz \
+ http://nutyx.meticul.eu/files/patchs/qt3/qt-3.3.8b-png14-1.patch \
+ http://nutyx.meticul.eu/files/patchs/qt3/qt-patches.tar.bz2 \
+ http://nutyx.meticul.eu/files/patchs/qt3/qt-copy-kde-patches.tar.bz2\
+ http://nutyx.meticul.eu/files/patchs/qt3/utf8-bug-qt3.diff)
+
+build() {
+ cd qt-x11-free-$version
+ for i in ../qt-copy-kde-patches/*
+ do patch -Np0 -i $i
+ done
+ for i in ../qt-patches/*
+ do patch -Np1 -i $i
+ done
+ patch -Np1 -i ../qt-3.3.8b-png14-1.patch
+# patch -Np0 -i ../utf8-bug-qt3.diff
+ export QTDIR=$PWD
+ export PATH=$PWD/bin:$PATH
+
+ echo "yes"|./configure -prefix /opt/qt \
+ -docdir /opt/qt/share/doc/qt \
+ -sysconfdir /etc/qt3 \
+ -qt-gif \
+ -system-zlib \
+ -system-libpng \
+ -system-libjpeg \
+ -system-libmng \
+ -plugin-imgfmt-png \
+ -plugin-imgfmt-jpeg \
+ -plugin-imgfmt-mng \
+ -no-exceptions \
+ -thread \
+ -tablet
+ cd src && make
+ cd ..
+ cd plugins/src
+ make sub-imageformats
+ cd ../..
+ mkdir -p $PKG/opt/qt/{lib,plugins/imageformats}
+ cp -a lib/libqt-mt.* $PKG/opt/qt/lib/
+ cp -a plugins/imageformats/* \
+ $PKG/opt/qt/plugins/imageformats/
+}