summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaleb Tennis <caleb@gentoo.org>2003-11-07 19:37:11 +0000
committerCaleb Tennis <caleb@gentoo.org>2003-11-07 19:37:11 +0000
commit79e7062f4f1cff42843a0bed51ad7c5e00d84582 (patch)
tree2440418a9686873e0fa876153b5dd1ae53960009 /x11-libs/qt
parentFix a crash and mark as x86 stable (diff)
downloadhistorical-79e7062f4f1cff42843a0bed51ad7c5e00d84582.tar.gz
historical-79e7062f4f1cff42843a0bed51ad7c5e00d84582.tar.bz2
historical-79e7062f4f1cff42843a0bed51ad7c5e00d84582.zip
Remove stale versions
Diffstat (limited to 'x11-libs/qt')
-rw-r--r--x11-libs/qt/ChangeLog6
-rw-r--r--x11-libs/qt/Manifest14
-rw-r--r--x11-libs/qt/files/digest-qt-3.1.0-r31
-rw-r--r--x11-libs/qt/files/digest-qt-3.1.1-r21
-rw-r--r--x11-libs/qt/files/digest-qt-3.2.01
-rw-r--r--x11-libs/qt/files/digest-qt-3.2.1-r11
-rw-r--r--x11-libs/qt/files/digest-qt-3.2.1-r21
-rw-r--r--x11-libs/qt/files/digest-qt-3.2.21
-rw-r--r--x11-libs/qt/qt-3.1.0-r3.ebuild161
-rw-r--r--x11-libs/qt/qt-3.1.1-r2.ebuild156
-rw-r--r--x11-libs/qt/qt-3.2.0.ebuild154
-rw-r--r--x11-libs/qt/qt-3.2.1-r1.ebuild196
-rw-r--r--x11-libs/qt/qt-3.2.1-r2.ebuild203
-rw-r--r--x11-libs/qt/qt-3.2.2.ebuild207
14 files changed, 6 insertions, 1097 deletions
diff --git a/x11-libs/qt/ChangeLog b/x11-libs/qt/ChangeLog
index 19e7e5a9125b..d4161a3bff35 100644
--- a/x11-libs/qt/ChangeLog
+++ b/x11-libs/qt/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for x11-libs/qt
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt/ChangeLog,v 1.91 2003/11/07 19:30:19 caleb Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt/ChangeLog,v 1.92 2003/11/07 19:37:06 caleb Exp $
+
+ 07 Nov 2003; Caleb Tennis <caleb@gentoo.org> qt-3.1.0-r3.ebuild, qt-3.1.1-r2.ebuild,
+ qt-3.2.0.ebuild, qt-3.2.1-r1.ebuild, qt-3.2.1-r2.ebuild, qt-3.2.2.ebuild:
+ Remove stale versions
*qt-3.2.2-r1 (07 Nov 2003)
diff --git a/x11-libs/qt/Manifest b/x11-libs/qt/Manifest
index bb709df1a519..3c720a13597a 100644
--- a/x11-libs/qt/Manifest
+++ b/x11-libs/qt/Manifest
@@ -1,16 +1,10 @@
-MD5 6fe86faef45e7705d6d4972abdcf44c0 qt-3.2.2.ebuild 6228
-MD5 42cd5976a5be37ca6d3c663f2ed51bbf qt-3.2.1-r2.ebuild 6070
MD5 232c9a440f58d6f1a15c750ba4a25c48 qt-3.1.2-r3.ebuild 4979
MD5 e7dd29ee0d73658a07a0e7a559380601 qt-3.2.2-r1.ebuild 6272
MD5 3ea4b4de8bf408a89bad7560499c5517 qt-2.3.2-r1.ebuild 2274
MD5 c47d4bd47ef74b87a7eaa1c5969ec48e qt-3.2.1.ebuild 4937
-MD5 651404c4830d5a1094cd9b8bad46d7de qt-3.2.1-r1.ebuild 5857
MD5 a3dd25c9f882f04df789dddc02ed3177 qt-3.0.5-r2.ebuild 3896
-MD5 00e9d63f2373eecbf8d070845e3ed794 qt-3.1.0-r3.ebuild 4698
MD5 aff33d960efe2f7ef7782bd0a7cc9441 qt-3.1.2-r4.ebuild 5340
-MD5 b1227e9708a51d583e96b533764e5f5c qt-3.1.1-r2.ebuild 4510
-MD5 c2026904ef73059c2f6e8138d2d62caa qt-3.2.0.ebuild 4339
-MD5 5b7120082e559a302330c5947e07b55a ChangeLog 15259
+MD5 998c3f7de74fa504f46aa68f1da41de8 ChangeLog 15447
MD5 512150b47a904b0240101e319856aab1 metadata.xml 156
MD5 f036a81a9440e146ca67fb23dbb2b535 files/0013-qtabwidget-less_flicker.patch 2785
MD5 8ffca1b1b7523339af04fd24b4595ce4 files/0001-dnd_optimization.patch 5623
@@ -19,9 +13,7 @@ MD5 8b3da5dae8babfcbdee3be465579d6c2 files/0002-dnd_active_window_fix.patch 7289
MD5 2d5b68b38185a30a28ffb2b652258cb8 files/45qt3 83
MD5 7a287bc7609ad2420f70af6d4c58302f files/50qt2 63
MD5 65c6cd464a60955c85a85b1dfd487c04 files/0004-qiconview_etc_ctrl_selecting.patch 2207
-MD5 edd5c27031cc5f29070a9094425f09d9 files/digest-qt-3.2.0 72
MD5 b79277b535797e854be75d1c396de0f2 files/digest-qt-3.2.1 72
-MD5 1fd4137cd6f3d062dfd25523ee18468d files/digest-qt-3.2.2 72
MD5 8fd2bb8fe0c4752252d064ff62257f9a files/0028-fix_sub_popup_crash.patch 302
MD5 e4054a5914b182318d548c53beea9590 files/0020-designer-deletetabs.patch 3493
MD5 c6dc1b6fadcb4897d4c7b0a768c2d196 files/qt-3.1.2-r3-qsocket.diff 447
@@ -32,12 +24,8 @@ MD5 08fa63b47b7a7cf4886c151e1ce0e33f files/0022-qdragobject-hotspot.patch 1266
MD5 905e62743eb9d6304dc70510c5d3ee69 files/0027-dnd-leak.patch 345
MD5 001400cb2710d783deb4380ca6056bc2 files/qsocket-3.1.2.diff 3136
MD5 c8a8d41028d22397dcc86041f1856a79 files/digest-qt-3.0.5-r2 71
-MD5 52e7df9b93f281c262716caac4cb7705 files/digest-qt-3.1.0-r3 72
-MD5 cfa73af7c2f2661be4ea9f3c9347db84 files/digest-qt-3.1.1-r2 72
MD5 f197d87f2b33685cadba08c9cf2d08ee files/digest-qt-3.1.2-r3 72
MD5 f197d87f2b33685cadba08c9cf2d08ee files/digest-qt-3.1.2-r4 72
-MD5 b79277b535797e854be75d1c396de0f2 files/digest-qt-3.2.1-r1 72
-MD5 b79277b535797e854be75d1c396de0f2 files/digest-qt-3.2.1-r2 72
MD5 1fd4137cd6f3d062dfd25523ee18468d files/digest-qt-3.2.2-r1 72
MD5 024632ca815ede1ccdd13cacea10e64a files/qt-3.1.2-thai-complextext.patch 528
MD5 1a268563c150260e99ed24dd4d2f5fd0 files/0021-qiconview-dragalittle.patch 2341
diff --git a/x11-libs/qt/files/digest-qt-3.1.0-r3 b/x11-libs/qt/files/digest-qt-3.1.0-r3
deleted file mode 100644
index 5601495b3a0e..000000000000
--- a/x11-libs/qt/files/digest-qt-3.1.0-r3
+++ /dev/null
@@ -1 +0,0 @@
-MD5 594a00a7eeb463251ef56515d6f81b0a qt-x11-free-3.1.0.tar.bz2 13375991
diff --git a/x11-libs/qt/files/digest-qt-3.1.1-r2 b/x11-libs/qt/files/digest-qt-3.1.1-r2
deleted file mode 100644
index d4b747ade4b0..000000000000
--- a/x11-libs/qt/files/digest-qt-3.1.1-r2
+++ /dev/null
@@ -1 +0,0 @@
-MD5 977b9f59eed14f33343a797544b5418a qt-x11-free-3.1.1.tar.bz2 12393902
diff --git a/x11-libs/qt/files/digest-qt-3.2.0 b/x11-libs/qt/files/digest-qt-3.2.0
deleted file mode 100644
index bed65a0f7fba..000000000000
--- a/x11-libs/qt/files/digest-qt-3.2.0
+++ /dev/null
@@ -1 +0,0 @@
-MD5 9a639588000d0274666bcbb19e3d0af6 qt-x11-free-3.2.0.tar.bz2 14213184
diff --git a/x11-libs/qt/files/digest-qt-3.2.1-r1 b/x11-libs/qt/files/digest-qt-3.2.1-r1
deleted file mode 100644
index bdba907c9968..000000000000
--- a/x11-libs/qt/files/digest-qt-3.2.1-r1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 9ae022ffe7603ec34aba150f6cca257a qt-x11-free-3.2.1.tar.bz2 13981279
diff --git a/x11-libs/qt/files/digest-qt-3.2.1-r2 b/x11-libs/qt/files/digest-qt-3.2.1-r2
deleted file mode 100644
index bdba907c9968..000000000000
--- a/x11-libs/qt/files/digest-qt-3.2.1-r2
+++ /dev/null
@@ -1 +0,0 @@
-MD5 9ae022ffe7603ec34aba150f6cca257a qt-x11-free-3.2.1.tar.bz2 13981279
diff --git a/x11-libs/qt/files/digest-qt-3.2.2 b/x11-libs/qt/files/digest-qt-3.2.2
deleted file mode 100644
index b164363232cf..000000000000
--- a/x11-libs/qt/files/digest-qt-3.2.2
+++ /dev/null
@@ -1 +0,0 @@
-MD5 77d6e71e603fa54b9898d3364ef42aef qt-x11-free-3.2.2.tar.bz2 13943674
diff --git a/x11-libs/qt/qt-3.1.0-r3.ebuild b/x11-libs/qt/qt-3.1.0-r3.ebuild
deleted file mode 100644
index eafd0d539753..000000000000
--- a/x11-libs/qt/qt-3.1.0-r3.ebuild
+++ /dev/null
@@ -1,161 +0,0 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt/qt-3.1.0-r3.ebuild,v 1.11 2003/09/07 00:23:28 msterret Exp $
-
-DESCRIPTION="QT version ${PV}"
-HOMEPAGE="http://www.trolltech.com/"
-SRC_URI="ftp://ftp.trolltech.com/qt/source/qt-x11-free-${PV}.tar.bz2"
-
-LICENSE="QPL-1.0 | GPL-2"
-SLOT="3"
-KEYWORDS="x86 ppc ~alpha sparc hppa"
-IUSE="cups nas postgres opengl mysql odbc gif"
-
-DEPEND="virtual/x11
- media-libs/libpng
- media-libs/lcms
- media-libs/jpeg
- >=media-libs/libmng-1.0.0
- >=media-libs/freetype-2
- virtual/xft
- nas? ( >=media-libs/nas-1.4.1 )
- odbc? ( >=dev-db/unixODBC-2.0 )
- mysql? ( >=dev-db/mysql-3.2.10 )
- opengl? ( virtual/opengl virtual/glu )
- postgres? ( >=dev-db/postgresql-7.2 )"
-
-S=${WORKDIR}/qt-x11-free-${PV}
-
-QTBASE=/usr/qt/3
-export QTDIR=${S}
-
-src_unpack() {
- unpack ${A}
-
- cd ${S}
-
- # this patch fixes child windows being hidden randomly.
- epatch ${FILESDIR}/${P}-minimized.diff
- epatch ${FILESDIR}/designer.diff
-
- cp configure configure.orig
- sed -e 's:read acceptance:acceptance=yes:' configure.orig > configure
-
- cd mkspecs/linux-g++
- # use env's $CC, $CXX
- if [ -n "$CXX" ]; then
- einfo 'Using environment definition of $CXX'
- cp qmake.conf qmake.conf.orig
- sed -e "s:= g++:= ${CXX}:" qmake.conf.orig > qmake.conf
- fi
- if [ -n "$CC" ]; then
- einfo 'Using environment definition of $CC'
- cp qmake.conf qmake.conf.orig
- sed -e "s:= gcc:= ${CC}:" qmake.conf.orig > qmake.conf
- fi
-
- # hppa need some additional flags
- if [ "${ARCH}" = "hppa" ]; then
- echo "QMAKE_CFLAGS += -fPIC -ffunction-sections" >> qmake.conf
- echo "QMAKE_CXXFLAGS += -fPIC -ffunction-sections" >> qmake.conf
- echo "QMAKE_LFLAGS += -ffunction-sections -Wl,--stub-group-size=25000" >> qmake.conf
- fi
-
- # on alpha we need to compile everything with -fPIC
- if [ ${ARCH} == "alpha" ]; then
- cp qmake.conf qmake.conf.orig
- sed -e "s:= -O2:= -O2 -fPIC:" qmake.conf.orig > qmake.conf
- cat >> ${S}/tools/designer/editor/editor.pro <<_EOF_
-QMAKE_CFLAGS += -fPIC
-QMAKE_CXXFLAGS += -fPIC
-_EOF_
- fi
-
-}
-
-src_compile() {
- # fix #11144; qt wants to create lock files etc. in that directory
- [ -d "$QTBASE/etc/settings" ] && addwrite "$QTBASE/etc/settings"
-
- export LDFLAGS="-ldl"
-
- use cups || myconf="${myconf} -no-cups"
- use nas && myconf="${myconf} -system-nas-sound"
- use gif && myconf="${myconf} -qt-gif"
- use mysql && myconf="${myconf} -plugin-sql-mysql -I/usr/include/mysql -L/usr/lib/mysql"
- use postgres && myconf="${myconf} -plugin-sql-psql -I/usr/include/postgresql/server"
- use odbc && myconf="${myconf} -plugin-sql-odbc"
- use opengl && myconf="${myconf} -enable-module=opengl" || myconf="${myconf} -disable-opengl"
- use debug && myconf="${myconf} -debug" || myconf="${myconf} -release -no-g++-exceptions"
-
- # avoid wasting time building things we won't install
- rm -rf tutorial examples
-
- export YACC='byacc -d'
-
- ./configure -sm -thread -stl -system-zlib -system-libjpeg \
- -qt-imgfmt-{jpeg,mng,png} -tablet -system-libmng \
- -system-libpng -ldl -lpthread -xft -platform linux-g++ -xplatform \
- linux-g++ -xrender -prefix ${QTBASE} -fast ${myconf} || die
-
- export QTDIR=${S}
- emake src-qmake src-moc sub-src sub-tools || die
-}
-
-src_install() {
- # binaries
- into $QTBASE
- dobin bin/*
-
- # libraries
- dolib lib/libqt-mt.so.3.1.0 lib/libqui.so.1.0.0 lib/lib{editor,qassistantclient,designer}.a
- cd ${D}$QTBASE/lib
- for x in libqui.so ; do
- ln -s $x.1.0.0 $x.1.0
- ln -s $x.1.0 $x.1
- ln -s $x.1 $x
- done
-
- # version symlinks - 3.0.3->3.0->3->.so
- ln -s libqt-mt.so.3.1.0 libqt-mt.so.3.1
- ln -s libqt-mt.so.3.1 libqt-mt.so.3
- ln -s libqt-mt.so.3 libqt-mt.so
-
- # libqt -> libqt-mt symlinks
- ln -s libqt-mt.so.3.1.0 libqt.so.3.1.0
- ln -s libqt-mt.so.3.1 libqt.so.3.1
- ln -s libqt-mt.so.3 libqt.so.3
- ln -s libqt-mt.so libqt.so
-
- # includes
- cd ${S}
- dodir ${QTBASE}/include/private
- cp include/* ${D}/${QTBASE}/include/
- cp include/private/* ${D}/${QTBASE}/include/private/
-
- # misc
- insinto /etc/env.d
- doins ${FILESDIR}/{45qt3,50qtdir3}
-
- # misc build reqs
- dodir ${QTBASE}/mkspecs
- cp -R ${S}/mkspecs/linux-g++ ${D}/${QTBASE}/mkspecs/
-
- sed -e "s:${S}:${QTBASE}:g" \
- ${S}/.qmake.cache > ${D}${QTBASE}/.qmake.cache
-
- # plugins
- cd ${S}
- plugins=`find plugins -name "lib*.so" -print`
- for x in $plugins; do
- insinto ${QTBASE}/`dirname $x`
- doins $x
- done
-}
-
-pkg_postinst() {
- ewarn "If you upgraded from QT 3.0.x to 3.1.x, you should remerge any copies of kdelibs"
- ewarn "you have installed. Otherwise, other kde packages may not compile properly."
- ewarn "If you upgraded QT from 3.0.x to 3.1.x in the past but have not remerged kdelibs"
- ewarn "since then, please do so now."
-}
diff --git a/x11-libs/qt/qt-3.1.1-r2.ebuild b/x11-libs/qt/qt-3.1.1-r2.ebuild
deleted file mode 100644
index 6b03c447169f..000000000000
--- a/x11-libs/qt/qt-3.1.1-r2.ebuild
+++ /dev/null
@@ -1,156 +0,0 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt/qt-3.1.1-r2.ebuild,v 1.7 2003/09/07 00:23:28 msterret Exp $
-
-DESCRIPTION="QT version ${PV}"
-HOMEPAGE="http://www.trolltech.com/"
-SRC_URI="ftp://ftp.trolltech.com/qt/source/qt-x11-free-${PV}.tar.bz2"
-
-LICENSE="QPL-1.0 | GPL-2"
-SLOT="3"
-KEYWORDS="~x86 ~ppc ~alpha ~sparc ~hppa"
-IUSE="cups nas postgres opengl mysql odbc gif debug"
-
-DEPEND="virtual/x11
- media-libs/libpng
- media-libs/lcms
- media-libs/jpeg
- >=media-libs/libmng-1.0.0
- >=media-libs/freetype-2
- virtual/xft
- nas? ( >=media-libs/nas-1.4.1 )
- odbc? ( >=dev-db/unixODBC-2.0 )
- mysql? ( >=dev-db/mysql-3.2.10 )
- opengl? ( virtual/opengl virtual/glu )
- postgres? ( >=dev-db/postgresql-7.2 )"
-
-S=${WORKDIR}/qt-x11-free-${PV}
-
-QTBASE=/usr/qt/3
-export QTDIR=${S}
-
-src_unpack() {
- unpack ${A}
-
- cd ${S}
-
- epatch ${FILESDIR}/designer.diff
-
- cp configure configure.orig
- sed -e 's:read acceptance:acceptance=yes:' configure.orig > configure
-
- cd mkspecs/linux-g++
- # use env's $CC, $CXX
- if [ -n "$CXX" ]; then
- einfo 'Using environment definition of $CXX'
- cp qmake.conf qmake.conf.orig
- sed -e "s:= g++:= ${CXX}:" qmake.conf.orig > qmake.conf
- fi
- if [ -n "$CC" ]; then
- einfo 'Using environment definition of $CC'
- cp qmake.conf qmake.conf.orig
- sed -e "s:= gcc:= ${CC}:" qmake.conf.orig > qmake.conf
- fi
-
- # hppa need some additional flags
- if [ "${ARCH}" = "hppa" ]; then
- echo "QMAKE_CFLAGS += -fPIC -ffunction-sections" >> qmake.conf
- echo "QMAKE_CXXFLAGS += -fPIC -ffunction-sections" >> qmake.conf
- echo "QMAKE_LFLAGS += -ffunction-sections -Wl,--stub-group-size=25000" >> qmake.conf
- fi
-
- # on alpha we need to compile everything with -fPIC
- if [ ${ARCH} == "alpha" ]; then
- cp qmake.conf qmake.conf.orig
- sed -e "s:= -O2:= -O2 -fPIC:" qmake.conf.orig > qmake.conf
- fi
-
-}
-
-src_compile() {
- # fix #11144; qt wants to create lock files etc. in that directory
- [ -d "$QTBASE/etc/settings" ] && addwrite "$QTBASE/etc/settings"
-
- export LDFLAGS="-ldl"
-
- use cups || myconf="${myconf} -no-cups"
- use nas && myconf="${myconf} -system-nas-sound"
- use gif && myconf="${myconf} -qt-gif"
- use mysql && myconf="${myconf} -plugin-sql-mysql -I/usr/include/mysql -L/usr/lib/mysql"
- use postgres && myconf="${myconf} -plugin-sql-psql -I/usr/include/postgresql/server"
- use odbc && myconf="${myconf} -plugin-sql-odbc"
- use opengl && myconf="${myconf} -enable-module=opengl" || myconf="${myconf} -disable-opengl"
- use debug && myconf="${myconf} -debug" || myconf="${myconf} -release -no-g++-exceptions"
-
- # avoid wasting time building things we won't install
- rm -rf tutorial examples
-
- export YACC='byacc -d'
-
- ./configure -sm -thread -stl -system-zlib -system-libjpeg -verbose \
- -qt-imgfmt-{jpeg,mng,png} -tablet -system-libmng \
- -system-libpng -ldl -lpthread -xft -platform linux-g++ -xplatform \
- linux-g++ -xrender -prefix ${QTBASE} -fast ${myconf} || die
-
- export QTDIR=${S}
- emake src-qmake src-moc sub-src sub-tools || die
-}
-
-src_install() {
- # binaries
- into $QTBASE
- dobin bin/*
-
- # libraries
- dolib lib/libqt-mt.so.3.1.1 lib/libqui.so.1.0.0 lib/lib{editor,qassistantclient,designer}.a
- cd ${D}$QTBASE/lib
- for x in libqui.so ; do
- ln -s $x.1.0.0 $x.1.0
- ln -s $x.1.0 $x.1
- ln -s $x.1 $x
- done
-
- # version symlinks - 3.1.1->3.1->3->.so
- ln -s libqt-mt.so.3.1.1 libqt-mt.so.3.1
- ln -s libqt-mt.so.3.1 libqt-mt.so.3
- ln -s libqt-mt.so.3 libqt-mt.so
-
- # libqt -> libqt-mt symlinks
- ln -s libqt-mt.so.3.1.1 libqt.so.3.1.1
- ln -s libqt-mt.so.3.1 libqt.so.3.1
- ln -s libqt-mt.so.3 libqt.so.3
- ln -s libqt-mt.so libqt.so
-
- # includes
- cd ${S}
- dodir ${QTBASE}/include/private
- cp include/* ${D}/${QTBASE}/include/
- cp include/private/* ${D}/${QTBASE}/include/private/
-
- # misc
- insinto /etc/env.d
- doins ${FILESDIR}/{45qt3,50qtdir3}
-
- # misc build reqs
- dodir ${QTBASE}/mkspecs
- cp -R ${S}/mkspecs/linux-g++ ${D}/${QTBASE}/mkspecs/
-
- sed -e "s:${S}:${QTBASE}:g" \
- ${S}/.qmake.cache > ${D}${QTBASE}/.qmake.cache
-
- # plugins
- cd ${S}
- plugins=`find plugins -name "lib*.so" -print`
- for x in $plugins; do
- insinto ${QTBASE}/`dirname $x`
- doins $x
- done
-
-}
-
-pkg_postinst() {
- ewarn "If you upgraded from QT 3.0.x to 3.1.x, you should remerge any copies of kdelibs"
- ewarn "you have installed. Otherwise, other kde packages may not compile properly."
- ewarn "If you upgraded QT from 3.0.x to 3.1.x in the past but have not remerged kdelibs"
- ewarn "since then, please do so now."
-}
diff --git a/x11-libs/qt/qt-3.2.0.ebuild b/x11-libs/qt/qt-3.2.0.ebuild
deleted file mode 100644
index 438d76c8698c..000000000000
--- a/x11-libs/qt/qt-3.2.0.ebuild
+++ /dev/null
@@ -1,154 +0,0 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt/qt-3.2.0.ebuild,v 1.4 2003/09/07 00:23:28 msterret Exp $
-
-DESCRIPTION="QT version ${PV}"
-HOMEPAGE="http://www.trolltech.com/"
-SRC_URI="ftp://ftp.trolltech.com/qt/source/qt-x11-free-${PV}.tar.bz2"
-
-LICENSE="QPL-1.0 | GPL-2"
-SLOT="3"
-KEYWORDS="~x86"
-IUSE="cups nas postgres opengl mysql odbc gif"
-
-DEPEND="virtual/x11
- media-libs/libpng
- media-libs/lcms
- media-libs/jpeg
- >=media-libs/libmng-1.0.0
- >=media-libs/freetype-2
- virtual/xft
- !<kde-base/kdelibs-3.2
- nas? ( >=media-libs/nas-1.4.1 )
- odbc? ( >=dev-db/unixODBC-2.0 )
- mysql? ( >=dev-db/mysql-3.2.10 )
- opengl? ( virtual/opengl virtual/glu )
- postgres? ( >=dev-db/postgresql-7.2 )"
-RDEPEND="${DEPEND}"
- #doc? ( ~app-doc/qt-docs- )"
-
-S=${WORKDIR}/${PV}
-
-QTBASE=/usr/qt/3
-export QTDIR=${S}
-
-src_unpack() {
- unpack ${A}
-
- cd ${S}
-
- cp configure configure.orig
- sed -e 's:read acceptance:acceptance=yes:' configure.orig > configure
-
- cd mkspecs/linux-g++
- # use env's $CC, $CXX
- if [ -n "$CXX" ]; then
- einfo 'Using environment definition of $CXX'
- cp qmake.conf qmake.conf.orig
- sed -e "s:= g++:= ${CXX}:" qmake.conf.orig > qmake.conf
- fi
- if [ -n "$CC" ]; then
- einfo 'Using environment definition of $CC'
- cp qmake.conf qmake.conf.orig
- sed -e "s:= gcc:= ${CC}:" qmake.conf.orig > qmake.conf
- fi
-
- # hppa and alpha people, please review the following
-
- # hppa need some additional flags
- if [ "${ARCH}" = "hppa" ]; then
- echo "QMAKE_CFLAGS += -fPIC -ffunction-sections" >> qmake.conf
- echo "QMAKE_CXXFLAGS += -fPIC -ffunction-sections" >> qmake.conf
- echo "QMAKE_LFLAGS += -ffunction-sections -Wl,--stub-group-size=25000" >> qmake.conf
- fi
-
- # on alpha we need to compile everything with -fPIC
- if [ ${ARCH} == "alpha" ]; then
- cp qmake.conf qmake.conf.orig
- sed -e "s:= -O2:= -O2 -fPIC:" qmake.conf.orig > qmake.conf
- cat >> ${S}/tools/designer/editor/editor.pro <<_EOF_
-QMAKE_CFLAGS += -fPIC
-QMAKE_CXXFLAGS += -fPIC
-_EOF_
- fi
-}
-
-src_compile() {
- # fix #11144; qt wants to create lock files etc. in that directory
- [ -d "$QTBASE/etc/settings" ] && addwrite "$QTBASE/etc/settings"
-
- export LDFLAGS="-ldl"
-
- use cups || myconf="${myconf} -no-cups"
- use nas && myconf="${myconf} -system-nas-sound"
- use gif && myconf="${myconf} -qt-gif"
- use mysql && myconf="${myconf} -plugin-sql-mysql -I/usr/include/mysql -L/usr/lib/mysql"
- use postgres && myconf="${myconf} -plugin-sql-psql -I/usr/include/postgresql/server"
- use odbc && myconf="${myconf} -plugin-sql-odbc"
- use opengl && myconf="${myconf} -enable-module=opengl" || myconf="${myconf} -disable-opengl"
- use debug && myconf="${myconf} -debug" || myconf="${myconf} -release -no-g++-exceptions"
-
- # avoid wasting time building things we won't install
- rm -rf tutorial examples
-
- export YACC='byacc -d'
-
- ./configure -sm -thread -stl -system-zlib -system-libjpeg -verbose \
- -qt-imgfmt-{jpeg,mng,png} -tablet -system-libmng \
- -system-libpng -ldl -lpthread -xft -platform linux-g++ -xplatform \
- linux-g++ -xrender -prefix ${QTBASE} -fast ${myconf} || die
-
- export QTDIR=${S}
- emake src-qmake src-moc sub-src sub-tools || die
-}
-
-src_install() {
- # binaries
- into $QTBASE
- dobin bin/*
-
- # libraries
- dolib lib/libqt-mt.so.3.2.0 lib/libqui.so.1.0.0 lib/lib{editor,qassistantclient,designer}.a
- cd ${D}$QTBASE/lib
- for x in libqui.so ; do
- ln -s $x.1.0.0 $x.1.0
- ln -s $x.1.0 $x.1
- ln -s $x.1 $x
- done
-
- # version symlinks - 3.2.0->3.2->3->.so
- ln -s libqt-mt.so.3.2.0 libqt-mt.so.3.2
- ln -s libqt-mt.so.3.2 libqt-mt.so.3
- ln -s libqt-mt.so.3 libqt-mt.so
-
- # libqt -> libqt-mt symlinks
- ln -s libqt-mt.so.3.2.0 libqt.so.3.2.0
- ln -s libqt-mt.so.3.2 libqt.so.3.2
- ln -s libqt-mt.so.3 libqt.so.3
- ln -s libqt-mt.so libqt.so
-
- # includes
- cd ${S}
- dodir ${QTBASE}/include/private
- cp include/* ${D}/${QTBASE}/include/
- cp include/private/* ${D}/${QTBASE}/include/private/
-
- # misc
- insinto /etc/env.d
- doins ${FILESDIR}/{45qt3,50qtdir3}
-
- # misc build reqs
- dodir ${QTBASE}/mkspecs
- cp -R ${S}/mkspecs/linux-g++ ${D}/${QTBASE}/mkspecs/
-
- sed -e "s:${S}:${QTBASE}:g" \
- ${S}/.qmake.cache > ${D}${QTBASE}/.qmake.cache
-
- # plugins
- cd ${S}
- plugins=`find plugins -name "lib*.so" -print`
- for x in $plugins; do
- insinto ${QTBASE}/`dirname $x`
- doins $x
- done
-}
diff --git a/x11-libs/qt/qt-3.2.1-r1.ebuild b/x11-libs/qt/qt-3.2.1-r1.ebuild
deleted file mode 100644
index 72976825ece2..000000000000
--- a/x11-libs/qt/qt-3.2.1-r1.ebuild
+++ /dev/null
@@ -1,196 +0,0 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt/qt-3.2.1-r1.ebuild,v 1.2 2003/10/01 13:08:11 caleb Exp $
-
-DESCRIPTION="QT version ${PV}"
-HOMEPAGE="http://www.trolltech.com/"
-SRC_URI="ftp://ftp.trolltech.com/qt/source/qt-x11-free-${PV}.tar.bz2"
-
-LICENSE="QPL-1.0 | GPL-2"
-SLOT="3"
-KEYWORDS="~x86 ~ppc"
-IUSE="cups nas postgres opengl mysql odbc gif"
-
-DEPEND="virtual/x11
- media-libs/libpng
- media-libs/lcms
- media-libs/jpeg
- >=media-libs/libmng-1.0.0
- >=media-libs/freetype-2
- virtual/xft
- !<kde-base/kdelibs-3.1.4
- nas? ( >=media-libs/nas-1.4.1 )
- odbc? ( >=dev-db/unixODBC-2.0 )
- mysql? ( >=dev-db/mysql-3.2.10 )
- opengl? ( virtual/opengl virtual/glu )
- postgres? ( >=dev-db/postgresql-7.2 )"
-RDEPEND="${DEPEND}"
-
-S=${WORKDIR}/qt-x11-free-${PV}
-
-QTBASE=/usr/qt/3
-export QTDIR=${S}
-
-src_unpack() {
- unpack ${A}
-
- export QTDIR=${S}
- cd ${S}
-
- cp configure configure.orig
- sed -e 's:read acceptance:acceptance=yes:' configure.orig > configure
-
- cd mkspecs/linux-g++
- # use env's $CC, $CXX
- if [ -n "$CXX" ]; then
- einfo 'Using environment definition of $CXX'
- cp qmake.conf qmake.conf.orig
- sed -e "s:= g++:= ${CXX}:" qmake.conf.orig > qmake.conf
- fi
- if [ -n "$CC" ]; then
- einfo 'Using environment definition of $CC'
- cp qmake.conf qmake.conf.orig
- sed -e "s:= gcc:= ${CC}:" qmake.conf.orig > qmake.conf
- fi
-
- # hppa and alpha people, please review the following
-
- # hppa need some additional flags
- if [ "${ARCH}" = "hppa" ]; then
- echo "QMAKE_CFLAGS += -fPIC -ffunction-sections" >> qmake.conf
- echo "QMAKE_CXXFLAGS += -fPIC -ffunction-sections" >> qmake.conf
- echo "QMAKE_LFLAGS += -ffunction-sections -Wl,--stub-group-size=25000" >> qmake.conf
- fi
-
- # on alpha we need to compile everything with -fPIC
- if [ ${ARCH} == "alpha" ]; then
- cp qmake.conf qmake.conf.orig
- sed -e "s:= -O2:= -O2 -fPIC:" qmake.conf.orig > qmake.conf
- cat >> ${S}/tools/designer/editor/editor.pro <<_EOF_
-QMAKE_CFLAGS += -fPIC
-QMAKE_CXXFLAGS += -fPIC
-_EOF_
- fi
-
- cd ${S}
- epatch ${FILESDIR}/0001-dnd_optimization.patch
- epatch ${FILESDIR}/0002-dnd_active_window_fix.patch
- epatch ${FILESDIR}/0003-qmenubar_fitts_law.patch
- epatch ${FILESDIR}/0004-qiconview_etc_ctrl_selecting.patch
- epatch ${FILESDIR}/0009-window_group.patch
- epatch ${FILESDIR}/0011-listview_keys.patch
- epatch ${FILESDIR}/0013-qtabwidget-less_flicker.patch
- epatch ${FILESDIR}/0014-qiconview-autoscroll.patch
- epatch ${FILESDIR}/0015-qiconview-finditem.patch
- epatch ${FILESDIR}/0016-qiconview-rebuildcontainer.patch
- epatch ${FILESDIR}/0017-qiconview-ctrl_rubber.patch
- epatch ${FILESDIR}/0018-qlistview-paintcell.patch
- epatch ${FILESDIR}/0019-qlistview-adjustcolumn.patch
- epatch ${FILESDIR}/0020-designer-deletetabs.patch
- epatch ${FILESDIR}/0021-qiconview-dragalittle.patch
- epatch ${FILESDIR}/0022-qdragobject-hotspot.patch
- epatch ${FILESDIR}/0024-fix_enter_leave_notify.patch
-}
-
-src_compile() {
- export QTDIR=${S}
- export SYSCONF=${QTBASE}/etc/settings
- LD_LIBRARY_PATH_OLD=${LD_LIBRARY_PATH}
- export LD_LIBRARY_PATH=${S}/lib:${LD_LIBRARY_PATH}
-
- # fix #11144; qt wants to create lock files etc. in that directory
- [ -d "$QTBASE/etc/settings" ] && addwrite "$QTBASE/etc/settings"
- [ ! -d "$QTBASE/etc/settings" ] && dodir ${QTBASE}/etc/settings
-
- export LDFLAGS="-ldl"
-
- use cups || myconf="${myconf} -no-cups"
- use nas && myconf="${myconf} -system-nas-sound"
- use gif && myconf="${myconf} -qt-gif"
- use mysql && myconf="${myconf} -plugin-sql-mysql -I/usr/include/mysql -L/usr/lib/mysql"
- use postgres && myconf="${myconf} -plugin-sql-psql -I/usr/include/postgresql/server"
- use odbc && myconf="${myconf} -plugin-sql-odbc"
- use opengl && myconf="${myconf} -enable-module=opengl" || myconf="${myconf} -disable-opengl"
- use debug && myconf="${myconf} -debug" || myconf="${myconf} -release -no-g++-exceptions"
- use xinerama && myconf="${myconf} -xinerama"
-
- # avoid wasting time building things we won't install
- #rm -rf tutorial examples
-
- export YACC='byacc -d'
-
- ./configure -sm -thread -stl -system-zlib -system-libjpeg -verbose \
- -qt-imgfmt-{jpeg,mng,png} -tablet -system-libmng \
- -system-libpng -ldl -lpthread -xft -platform linux-g++ -xplatform \
- linux-g++ -xrender -prefix ${D}${QTBASE} -plugindir ${QTBASE}/plugins \
- -fast ${myconf} || die
-
- export QTDIR=${S}
- emake src-qmake src-moc sub-src sub-tools || die
- export LD_LIBRARY_PATH=${LD_LIBRARY_PATH_OLD}
-}
-
-src_install() {
- export QTDIR=${S}
-
- # binaries
- into $QTBASE
- dobin bin/*
-
- # libraries
- dolib lib/libqt-mt.so.3.2.1 lib/libqui.so.1.0.0 lib/lib{editor,qassistantclient,designer}.a
- cd ${D}$QTBASE/lib
- for x in libqui.so ; do
- ln -s $x.1.0.0 $x.1.0
- ln -s $x.1.0 $x.1
- ln -s $x.1 $x
- done
-
- # version symlinks - 3.2.1->3.2->3->.so
- ln -s libqt-mt.so.3.2.1 libqt-mt.so.3.2
- ln -s libqt-mt.so.3.2 libqt-mt.so.3
- ln -s libqt-mt.so.3 libqt-mt.so
-
- # libqt -> libqt-mt symlinks
- ln -s libqt-mt.so.3.2.1 libqt.so.3.2.1
- ln -s libqt-mt.so.3.2 libqt.so.3.2
- ln -s libqt-mt.so.3 libqt.so.3
- ln -s libqt-mt.so libqt.so
-
- # includes
- cd ${S}
- dodir ${QTBASE}/include/private
- cp include/* ${D}/${QTBASE}/include/
- cp include/private/* ${D}/${QTBASE}/include/private/
-
- # misc
- insinto /etc/env.d
- doins ${FILESDIR}/{45qt3,50qtdir3}
-
- dodir ${QTBASE}/tools/designer/templates
-
- cd ${S}/doc
- dodir ${QTBASE}/doc
- for x in html flyers; do
- cp -r $x ${D}/${QTBASE}/doc
- done
-
- cp -r ${S}/doc/man ${D}/${QTBASE}
- cp -r ${S}/examples ${D}/${QTBASE}
- cp -r ${S}/tutorial ${D}/${QTBASE}
-
- # misc build reqs
- dodir ${QTBASE}/mkspecs
- cp -R ${S}/mkspecs/linux-g++ ${D}/${QTBASE}/mkspecs/
-
- sed -e "s:${S}:${QTBASE}:g" \
- ${S}/.qmake.cache > ${D}${QTBASE}/.qmake.cache
-
- # plugins
- cd ${S}
- plugins=`find plugins -name "lib*.so" -print`
- for x in $plugins; do
- insinto ${QTBASE}/`dirname $x`
- doins $x
- done
-}
diff --git a/x11-libs/qt/qt-3.2.1-r2.ebuild b/x11-libs/qt/qt-3.2.1-r2.ebuild
deleted file mode 100644
index ee20c9e57f03..000000000000
--- a/x11-libs/qt/qt-3.2.1-r2.ebuild
+++ /dev/null
@@ -1,203 +0,0 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt/qt-3.2.1-r2.ebuild,v 1.2 2003/10/08 19:15:24 caleb Exp $
-
-DESCRIPTION="QT version ${PV}"
-HOMEPAGE="http://www.trolltech.com/"
-SRC_URI="ftp://ftp.trolltech.com/qt/source/qt-x11-free-${PV}.tar.bz2"
-
-LICENSE="QPL-1.0 | GPL-2"
-SLOT="3"
-KEYWORDS="~x86 ~ppc"
-IUSE="cups nas postgres opengl mysql odbc gif doc"
-
-DEPEND="virtual/x11
- media-libs/libpng
- media-libs/lcms
- media-libs/jpeg
- >=media-libs/libmng-1.0.0
- >=media-libs/freetype-2
- virtual/xft
- !<kde-base/kdelibs-3.1.4
- nas? ( >=media-libs/nas-1.4.1 )
- odbc? ( >=dev-db/unixODBC-2.0 )
- mysql? ( >=dev-db/mysql-3.2.10 )
- opengl? ( virtual/opengl virtual/glu )
- postgres? ( >=dev-db/postgresql-7.2 )"
-RDEPEND="${DEPEND}"
-
-S=${WORKDIR}/qt-x11-free-${PV}
-
-QTBASE=/usr/qt/3
-export QTDIR=${S}
-
-src_unpack() {
- unpack ${A}
-
- export QTDIR=${S}
- cd ${S}
-
- cp configure configure.orig
- sed -e 's:read acceptance:acceptance=yes:' configure.orig > configure
-
- cd mkspecs/linux-g++
- # use env's $CC, $CXX
- if [ -n "$CXX" ]; then
- einfo 'Using environment definition of $CXX'
- cp qmake.conf qmake.conf.orig
- sed -e "s:= g++:= ${CXX}:" qmake.conf.orig > qmake.conf
- fi
- if [ -n "$CC" ]; then
- einfo 'Using environment definition of $CC'
- cp qmake.conf qmake.conf.orig
- sed -e "s:= gcc:= ${CC}:" qmake.conf.orig > qmake.conf
- fi
-
- # hppa and alpha people, please review the following
-
- # hppa need some additional flags
- if [ "${ARCH}" = "hppa" ]; then
- echo "QMAKE_CFLAGS += -fPIC -ffunction-sections" >> qmake.conf
- echo "QMAKE_CXXFLAGS += -fPIC -ffunction-sections" >> qmake.conf
- echo "QMAKE_LFLAGS += -ffunction-sections -Wl,--stub-group-size=25000" >> qmake.conf
- fi
-
- # on alpha we need to compile everything with -fPIC
- if [ ${ARCH} == "alpha" ]; then
- cp qmake.conf qmake.conf.orig
- sed -e "s:= -O2:= -O2 -fPIC:" qmake.conf.orig > qmake.conf
- cat >> ${S}/tools/designer/editor/editor.pro <<_EOF_
-QMAKE_CFLAGS += -fPIC
-QMAKE_CXXFLAGS += -fPIC
-_EOF_
- fi
-
- cd ${S}
- epatch ${FILESDIR}/0001-dnd_optimization.patch
- epatch ${FILESDIR}/0002-dnd_active_window_fix.patch
- epatch ${FILESDIR}/0003-qmenubar_fitts_law.patch
- epatch ${FILESDIR}/0004-qiconview_etc_ctrl_selecting.patch
- epatch ${FILESDIR}/0009-window_group.patch
- epatch ${FILESDIR}/0011-listview_keys.patch
- epatch ${FILESDIR}/0013-qtabwidget-less_flicker.patch
- epatch ${FILESDIR}/0014-qiconview-autoscroll.patch
- epatch ${FILESDIR}/0015-qiconview-finditem.patch
- epatch ${FILESDIR}/0016-qiconview-rebuildcontainer.patch
- epatch ${FILESDIR}/0017-qiconview-ctrl_rubber.patch
- epatch ${FILESDIR}/0018-qlistview-paintcell.patch
- epatch ${FILESDIR}/0019-qlistview-adjustcolumn.patch
- epatch ${FILESDIR}/0020-designer-deletetabs.patch
- epatch ${FILESDIR}/0021-qiconview-dragalittle.patch
- epatch ${FILESDIR}/0022-qdragobject-hotspot.patch
- epatch ${FILESDIR}/0024-fix_enter_leave_notify.patch
-}
-
-src_compile() {
- export QTDIR=${S}
- export SYSCONF=${QTBASE}/etc/settings
- LD_LIBRARY_PATH_OLD=${LD_LIBRARY_PATH}
- export LD_LIBRARY_PATH=${S}/lib:${LD_LIBRARY_PATH}
-
- # fix #11144; qt wants to create lock files etc. in that directory
- [ -d "$QTBASE/etc/settings" ] && addwrite "$QTBASE/etc/settings"
- [ ! -d "$QTBASE/etc/settings" ] && dodir ${QTBASE}/etc/settings
-
- export LDFLAGS="-ldl"
-
- use cups || myconf="${myconf} -no-cups"
- use nas && myconf="${myconf} -system-nas-sound"
- use gif && myconf="${myconf} -qt-gif"
- use mysql && myconf="${myconf} -plugin-sql-mysql -I/usr/include/mysql -L/usr/lib/mysql"
- use postgres && myconf="${myconf} -plugin-sql-psql -I/usr/include/postgresql/server"
- use odbc && myconf="${myconf} -plugin-sql-odbc"
- use opengl && myconf="${myconf} -enable-module=opengl" || myconf="${myconf} -disable-opengl"
- use debug && myconf="${myconf} -debug" || myconf="${myconf} -release -no-g++-exceptions"
- use xinerama && myconf="${myconf} -xinerama"
-
- export YACC='byacc -d'
-
- ./configure -sm -thread -stl -system-zlib -system-libjpeg -verbose \
- -qt-imgfmt-{jpeg,mng,png} -tablet -system-libmng \
- -system-libpng -ldl -lpthread -xft -platform linux-g++ -xplatform \
- linux-g++ -xrender -prefix ${D}${QTBASE} -plugindir ${QTBASE}/plugins \
- -docdir ${QTBASE}/doc -translationdir ${QTBASE}/translations \
- -datadir ${QTBASE} -fast ${myconf} || die
-
- export QTDIR=${S}
- emake src-qmake src-moc sub-src sub-tools || die
- export LD_LIBRARY_PATH=${LD_LIBRARY_PATH_OLD}
-}
-
-src_install() {
- export QTDIR=${S}
-
- # binaries
- into $QTBASE
- dobin bin/*
-
- # libraries
- dolib lib/libqt-mt.so.3.2.1 lib/libqui.so.1.0.0 lib/lib{editor,qassistantclient,designercore}.a
- cd ${D}/$QTBASE/lib
- for x in libqui.so ; do
- ln -s $x.1.0.0 $x.1.0
- ln -s $x.1.0 $x.1
- ln -s $x.1 $x
- done
-
- # version symlinks - 3.2.1->3.2->3->.so
- ln -s libqt-mt.so.3.2.1 libqt-mt.so.3.2
- ln -s libqt-mt.so.3.2 libqt-mt.so.3
- ln -s libqt-mt.so.3 libqt-mt.so
-
- # libqt -> libqt-mt symlinks
- ln -s libqt-mt.so.3.2.1 libqt.so.3.2.1
- ln -s libqt-mt.so.3.2 libqt.so.3.2
- ln -s libqt-mt.so.3 libqt.so.3
- ln -s libqt-mt.so libqt.so
-
- # includes
- cd ${S}
- dodir ${QTBASE}/include/private
- cp include/* ${D}/${QTBASE}/include/
- cp include/private/* ${D}/${QTBASE}/include/private/
-
- # misc
- insinto /etc/env.d
- doins ${FILESDIR}/{45qt3,50qtdir3}
-
- dodir ${QTBASE}/tools/designer/templates
- cd ${S}
- cp tools/designer/templates/* ${D}/${QTBASE}/tools/designer/templates
-
- dodir ${QTBASE}/translations
- cd ${S}
- cp translations/* ${D}/${QTBASE}/translations
-
- dodir ${QTBASE}/doc
-
- if [ `use doc` ]; then
- cd ${S}/doc
- for x in html flyers; do
- cp -r $x ${D}/${QTBASE}/doc
- done
-
- cp -r ${S}/doc/man ${D}/${QTBASE}
- cp -r ${S}/examples ${D}/${QTBASE}
- cp -r ${S}/tutorial ${D}/${QTBASE}
- fi
-
- # misc build reqs
- dodir ${QTBASE}/mkspecs
- cp -R ${S}/mkspecs/linux-g++ ${D}/${QTBASE}/mkspecs/
-
- sed -e "s:${S}:${QTBASE}:g" \
- ${S}/.qmake.cache > ${D}${QTBASE}/.qmake.cache
-
- # plugins
- cd ${S}
- plugins=`find plugins -name "lib*.so" -print`
- for x in $plugins; do
- insinto ${QTBASE}/`dirname $x`
- doins $x
- done
-}
diff --git a/x11-libs/qt/qt-3.2.2.ebuild b/x11-libs/qt/qt-3.2.2.ebuild
deleted file mode 100644
index e55cb9144269..000000000000
--- a/x11-libs/qt/qt-3.2.2.ebuild
+++ /dev/null
@@ -1,207 +0,0 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt/qt-3.2.2.ebuild,v 1.1 2003/10/16 13:16:11 caleb Exp $
-
-SRCTYPE="free"
-DESCRIPTION="QT version ${PV}"
-HOMEPAGE="http://www.trolltech.com/"
-SRC_URI="ftp://ftp.trolltech.com/qt/source/qt-x11-${SRCTYPE}-${PV}.tar.bz2"
-
-LICENSE="QPL-1.0 | GPL-2"
-SLOT="3"
-KEYWORDS="~x86"
-IUSE="cups nas postgres opengl mysql odbc gif doc"
-
-DEPEND="virtual/x11
- media-libs/libpng
- media-libs/lcms
- media-libs/jpeg
- >=media-libs/libmng-1.0.0
- >=media-libs/freetype-2
- virtual/xft
- !<kde-base/kdelibs-3.1.4
- nas? ( >=media-libs/nas-1.4.1 )
- odbc? ( >=dev-db/unixODBC-2.0 )
- mysql? ( >=dev-db/mysql-3.2.10 )
- opengl? ( virtual/opengl virtual/glu )
- postgres? ( >=dev-db/postgresql-7.2 )"
-RDEPEND="${DEPEND}"
-
-S=${WORKDIR}/qt-x11-${SRCTYPE}-${PV}
-
-QTBASE=/usr/qt/3
-export QTDIR=${S}
-
-src_unpack() {
- unpack ${A}
-
- export QTDIR=${S}
- cd ${S}
-
- cp configure configure.orig
- sed -e 's:read acceptance:acceptance=yes:' configure.orig > configure
-
- cd mkspecs/linux-g++
- # use env's $CC, $CXX
- if [ -n "$CXX" ]; then
- einfo 'Using environment definition of $CXX'
- cp qmake.conf qmake.conf.orig
- sed -e "s:= g++:= ${CXX}:" qmake.conf.orig > qmake.conf
- fi
- if [ -n "$CC" ]; then
- einfo 'Using environment definition of $CC'
- cp qmake.conf qmake.conf.orig
- sed -e "s:= gcc:= ${CC}:" qmake.conf.orig > qmake.conf
- fi
-
- # hppa and alpha people, please review the following
-
- # hppa need some additional flags
- if [ "${ARCH}" = "hppa" ]; then
- echo "QMAKE_CFLAGS += -fPIC -ffunction-sections" >> qmake.conf
- echo "QMAKE_CXXFLAGS += -fPIC -ffunction-sections" >> qmake.conf
- echo "QMAKE_LFLAGS += -ffunction-sections -Wl,--stub-group-size=25000" >> qmake.conf
- fi
-
- # on alpha we need to compile everything with -fPIC
- if [ ${ARCH} == "alpha" ]; then
- cp qmake.conf qmake.conf.orig
- sed -e "s:= -O2:= -O2 -fPIC:" qmake.conf.orig > qmake.conf
- cat >> ${S}/tools/designer/editor/editor.pro <<_EOF_
-QMAKE_CFLAGS += -fPIC
-QMAKE_CXXFLAGS += -fPIC
-_EOF_
- fi
-
- cd ${S}
- epatch ${FILESDIR}/0001-dnd_optimization.patch
- epatch ${FILESDIR}/0002-dnd_active_window_fix.patch
- epatch ${FILESDIR}/0003-qmenubar_fitts_law.patch
- epatch ${FILESDIR}/0004-qiconview_etc_ctrl_selecting.patch
- epatch ${FILESDIR}/0009-window_group.patch
- epatch ${FILESDIR}/0011-listview_keys.patch
- epatch ${FILESDIR}/0013-qtabwidget-less_flicker.patch
- epatch ${FILESDIR}/0014-qiconview-autoscroll.patch
- epatch ${FILESDIR}/0015-qiconview-finditem.patch
- epatch ${FILESDIR}/0016-qiconview-rebuildcontainer.patch
- epatch ${FILESDIR}/0017-qiconview-ctrl_rubber.patch
- epatch ${FILESDIR}/0018-qlistview-paintcell.patch
- epatch ${FILESDIR}/0019-qlistview-adjustcolumn.patch
- epatch ${FILESDIR}/0020-designer-deletetabs.patch
- epatch ${FILESDIR}/0021-qiconview-dragalittle.patch
- epatch ${FILESDIR}/0022-qdragobject-hotspot.patch
- epatch ${FILESDIR}/0024-fix_enter_leave_notify.patch
- epatch ${FILESDIR}/0026-netwm-fullscreen.patch
- epatch ${FILESDIR}/0027-dnd-leak.patch
- epatch ${FILESDIR}/0028-fix_sub_popup_crash.patch
-}
-
-src_compile() {
- export QTDIR=${S}
- export SYSCONF=${QTBASE}/etc/settings
- LD_LIBRARY_PATH_OLD=${LD_LIBRARY_PATH}
- export LD_LIBRARY_PATH=${S}/lib:${LD_LIBRARY_PATH}
-
- # fix #11144; qt wants to create lock files etc. in that directory
- [ -d "$QTBASE/etc/settings" ] && addwrite "$QTBASE/etc/settings"
- [ ! -d "$QTBASE/etc/settings" ] && dodir ${QTBASE}/etc/settings
-
- export LDFLAGS="-ldl"
-
- use cups || myconf="${myconf} -no-cups"
- use nas && myconf="${myconf} -system-nas-sound"
- use gif && myconf="${myconf} -qt-gif"
- use mysql && myconf="${myconf} -plugin-sql-mysql -I/usr/include/mysql -L/usr/lib/mysql"
- use postgres && myconf="${myconf} -plugin-sql-psql -I/usr/include/postgresql/server"
- use odbc && myconf="${myconf} -plugin-sql-odbc"
- use opengl && myconf="${myconf} -enable-module=opengl" || myconf="${myconf} -disable-opengl"
- use debug && myconf="${myconf} -debug" || myconf="${myconf} -release -no-g++-exceptions"
- use xinerama && myconf="${myconf} -xinerama"
-
- export YACC='byacc -d'
-
- ./configure -sm -thread -stl -system-zlib -system-libjpeg -verbose \
- -qt-imgfmt-{jpeg,mng,png} -tablet -system-libmng \
- -system-libpng -ldl -lpthread -xft -platform linux-g++ -xplatform \
- linux-g++ -xrender -prefix ${D}${QTBASE} -plugindir ${QTBASE}/plugins \
- -docdir ${QTBASE}/doc -translationdir ${QTBASE}/translations \
- -datadir ${QTBASE} -fast ${myconf} || die
-
- export QTDIR=${S}
- emake src-qmake src-moc sub-src sub-tools || die
- export LD_LIBRARY_PATH=${LD_LIBRARY_PATH_OLD}
-}
-
-src_install() {
- export QTDIR=${S}
-
- # binaries
- into $QTBASE
- dobin bin/*
-
- # libraries
- dolib lib/libqt-mt.so.3.2.2 lib/libqui.so.1.0.0 lib/lib{editor,qassistantclient,designercore}.a
- cd ${D}/$QTBASE/lib
- for x in libqui.so ; do
- ln -s $x.1.0.0 $x.1.0
- ln -s $x.1.0 $x.1
- ln -s $x.1 $x
- done
-
- # version symlinks - 3.2.1->3.2->3->.so
- ln -s libqt-mt.so.3.2.2 libqt-mt.so.3.2
- ln -s libqt-mt.so.3.2 libqt-mt.so.3
- ln -s libqt-mt.so.3 libqt-mt.so
-
- # libqt -> libqt-mt symlinks
- ln -s libqt-mt.so.3.2.2 libqt.so.3.2.2
- ln -s libqt-mt.so.3.2 libqt.so.3.2
- ln -s libqt-mt.so.3 libqt.so.3
- ln -s libqt-mt.so libqt.so
-
- # includes
- cd ${S}
- dodir ${QTBASE}/include/private
- cp include/* ${D}/${QTBASE}/include/
- cp include/private/* ${D}/${QTBASE}/include/private/
-
- # misc
- insinto /etc/env.d
- doins ${FILESDIR}/{45qt3,50qtdir3}
-
- dodir ${QTBASE}/tools/designer/templates
- cd ${S}
- cp tools/designer/templates/* ${D}/${QTBASE}/tools/designer/templates
-
- dodir ${QTBASE}/translations
- cd ${S}
- cp translations/* ${D}/${QTBASE}/translations
-
- dodir ${QTBASE}/doc
-
- if [ `use doc` ]; then
- cd ${S}/doc
- for x in html flyers; do
- cp -r $x ${D}/${QTBASE}/doc
- done
-
- cp -r ${S}/doc/man ${D}/${QTBASE}
- cp -r ${S}/examples ${D}/${QTBASE}
- cp -r ${S}/tutorial ${D}/${QTBASE}
- fi
-
- # misc build reqs
- dodir ${QTBASE}/mkspecs
- cp -R ${S}/mkspecs/linux-g++ ${D}/${QTBASE}/mkspecs/
-
- sed -e "s:${S}:${QTBASE}:g" \
- ${S}/.qmake.cache > ${D}${QTBASE}/.qmake.cache
-
- # plugins
- cd ${S}
- plugins=`find plugins -name "lib*.so" -print`
- for x in $plugins; do
- insinto ${QTBASE}/`dirname $x`
- doins $x
- done
-}