summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavide Pesavento <pesa@gentoo.org>2011-11-28 23:53:23 +0000
committerDavide Pesavento <pesa@gentoo.org>2011-11-28 23:53:23 +0000
commit8ca0da94cd8c212654a0cf9fb2ad444f3a28421e (patch)
tree126ed4fc58935a45d52f45f200c32bbb4efed02f /x11-libs
parentRemove Qt 4.7.3 (diff)
downloadgentoo-2-8ca0da94cd8c212654a0cf9fb2ad444f3a28421e.tar.gz
gentoo-2-8ca0da94cd8c212654a0cf9fb2ad444f3a28421e.tar.bz2
gentoo-2-8ca0da94cd8c212654a0cf9fb2ad444f3a28421e.zip
Remove Qt 4.7.3
(Portage version: 2.2.0_alpha79/cvs/Linux x86_64)
Diffstat (limited to 'x11-libs')
-rw-r--r--x11-libs/qt-sql/ChangeLog6
-rw-r--r--x11-libs/qt-sql/files/qt-4.5-nolibx11.diff18
-rw-r--r--x11-libs/qt-sql/files/qt-sql-4.7.1_postgres_9.patch58
-rw-r--r--x11-libs/qt-sql/qt-sql-4.7.3.ebuild71
4 files changed, 5 insertions, 148 deletions
diff --git a/x11-libs/qt-sql/ChangeLog b/x11-libs/qt-sql/ChangeLog
index 1a88f5aabf1d..7bfa1f237a88 100644
--- a/x11-libs/qt-sql/ChangeLog
+++ b/x11-libs/qt-sql/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for x11-libs/qt-sql
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-sql/ChangeLog,v 1.114 2011/11/26 20:03:56 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-sql/ChangeLog,v 1.115 2011/11/28 23:53:23 pesa Exp $
+
+ 28 Nov 2011; Davide Pesavento <pesa@gentoo.org> -files/qt-4.5-nolibx11.diff,
+ -files/qt-sql-4.7.1_postgres_9.patch, -qt-sql-4.7.3.ebuild:
+ Remove Qt 4.7.3
26 Nov 2011; Robin H. Johnson <robbat2@gentoo.org> Manifest:
Bug 385719: upstream altered qt-everywhere-opensource-src-4.7.4.tar.gz, mass
diff --git a/x11-libs/qt-sql/files/qt-4.5-nolibx11.diff b/x11-libs/qt-sql/files/qt-4.5-nolibx11.diff
deleted file mode 100644
index f94be77b742d..000000000000
--- a/x11-libs/qt-sql/files/qt-4.5-nolibx11.diff
+++ /dev/null
@@ -1,18 +0,0 @@
-diff -Nur qt-x11-opensource-src-4.5.1-orig/configure qt-x11-opensource-src-4.5.1/configure
---- qt-x11-opensource-src-4.5.1-orig/configure 2009-04-22 02:57:35.000000000 +0300
-+++ qt-x11-opensource-src-4.5.1/configure 2009-06-03 00:59:44.108245373 +0300
-@@ -4733,14 +4733,6 @@
- X11TESTS_FLAGS="$X11TESTS_FLAGS -fpermissive"
- fi
-
-- # Check we actually have X11 :-)
-- if ! "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/x11/xlib "XLib" $L_FLAGS $I_FLAGS $l_FLAGS $X11TESTS_FLAGS; then
-- echo "Basic XLib functionality test failed!"
-- echo " You might need to modify the include and library search paths by editing"
-- echo " QMAKE_INCDIR_X11 and QMAKE_LIBDIR_X11 in ${XQMAKESPEC}."
-- exit 1
-- fi
--
- # auto-detect OpenGL support (es1 = OpenGL ES 1.x Common, es1cl = ES 1.x common lite, es2 = OpenGL ES 2.x)
- if [ "$CFG_OPENGL" = "auto" ] || [ "$CFG_OPENGL" = "yes" ]; then
- if "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/x11/opengl "OpenGL" $L_FLAGS $I_FLAGS $l_FLAGS $X11TESTS_FLAGS; then
diff --git a/x11-libs/qt-sql/files/qt-sql-4.7.1_postgres_9.patch b/x11-libs/qt-sql/files/qt-sql-4.7.1_postgres_9.patch
deleted file mode 100644
index eebc50ad6da7..000000000000
--- a/x11-libs/qt-sql/files/qt-sql-4.7.1_postgres_9.patch
+++ /dev/null
@@ -1,58 +0,0 @@
---- qt-everywhere-opensource-src-4.7.1/src/sql/drivers/psql/qsql_psql.cpp 2010-09-10 11:05:25.000000000 +0200
-+++ qsql_psql.cpp 2010-11-03 12:37:55.966977333 +0100
-@@ -661,6 +661,17 @@
- break;
- }
- break;
-+ case 9:
-+ switch (vMin) {
-+ case 0:
-+ serverVersion = QPSQLDriver::Version9;
-+ break;
-+ default:
-+ serverVersion = QPSQLDriver::Version9;
-+ break;
-+ }
-+ break;
-+
- default:
- break;
- }
-@@ -852,7 +863,8 @@
- // This hack can dissapear once there is an API to query this sort of information.
- if (d->pro == QPSQLDriver::Version8 ||
- d->pro == QPSQLDriver::Version81 ||
-- d->pro == QPSQLDriver::Version82) {
-+ d->pro == QPSQLDriver::Version82 ||
-+ d->pro == QPSQLDriver::Version9) {
- transaction_failed = qstrcmp(PQcmdStatus(res), "ROLLBACK") == 0;
- }
-
-@@ -963,6 +975,7 @@
- case QPSQLDriver::Version8:
- case QPSQLDriver::Version81:
- case QPSQLDriver::Version82:
-+ case QPSQLDriver::Version9:
- stmt = QLatin1String("SELECT pg_attribute.attname, pg_attribute.atttypid::int, "
- "pg_class.relname "
- "FROM pg_attribute, pg_class "
-@@ -1046,6 +1059,7 @@
- case QPSQLDriver::Version8:
- case QPSQLDriver::Version81:
- case QPSQLDriver::Version82:
-+ case QPSQLDriver::Version9:
- stmt = QLatin1String("select pg_attribute.attname, pg_attribute.atttypid::int, "
- "pg_attribute.attnotnull, pg_attribute.attlen, pg_attribute.atttypmod, "
- "pg_attrdef.adsrc "
---- qt-everywhere-opensource-src-4.7.1/src/sql/drivers/psql/qsql_psql.h 2010-09-10 11:05:25.000000000 +0200
-+++ qsql_psql.h 2010-11-03 12:36:16.380310668 +0100
-@@ -104,7 +104,8 @@
- Version74 = 10,
- Version8 = 11,
- Version81 = 12,
-- Version82 = 13
-+ Version82 = 13,
-+ Version9 = 14
- };
-
- explicit QPSQLDriver(QObject *parent=0);
diff --git a/x11-libs/qt-sql/qt-sql-4.7.3.ebuild b/x11-libs/qt-sql/qt-sql-4.7.3.ebuild
deleted file mode 100644
index 2fbae66f1ed6..000000000000
--- a/x11-libs/qt-sql/qt-sql-4.7.3.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-sql/qt-sql-4.7.3.ebuild,v 1.1 2011/05/10 20:08:10 tampakrap Exp $
-
-EAPI="3"
-inherit qt4-build
-
-DESCRIPTION="The SQL module for the Qt toolkit"
-SLOT="4"
-KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 -sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris"
-IUSE="firebird freetds iconv mysql odbc postgres qt3support +sqlite"
-
-DEPEND="~x11-libs/qt-core-${PV}[aqua=,debug=,qt3support=]
- firebird? ( dev-db/firebird )
- freetds? ( dev-db/freetds )
- mysql? ( virtual/mysql )
- odbc? ( dev-db/unixODBC )
- postgres? ( dev-db/postgresql-base )
- sqlite? ( dev-db/sqlite:3 )"
-RDEPEND="${DEPEND}"
-
-pkg_setup() {
- QT4_TARGET_DIRECTORIES="src/sql src/plugins/sqldrivers"
- QT4_EXTRACT_DIRECTORIES="${QT4_TARGET_DIRECTORIES}
- include/Qt/
- include/QtCore/
- include/QtSql/
- include/QtScript/
- src/src.pro
- src/corelib/
- src/plugins
- src/3rdparty
- src/tools"
-
- if ! ( use firebird || use freetds || use mysql || use odbc || use postgres || use sqlite );
- then
- ewarn "You need to enable at least one SQL driver. Enable at least"
- ewarn "one of these USE flags: \"firebird freetds mysql odbc postgres sqlite tds\"."
- die "Enable at least one SQL driver."
- fi
-
- qt4-build_pkg_setup
-}
-
-src_prepare() {
- qt4-build_src_prepare
-
- sed -e '/pg_config --libs/d' -i "${S}"/configure \
- || die "sed to fix postgresql usage in ./configure failed"
-}
-
-src_configure() {
- # Don't support sqlite2 anymore
- myconf="${myconf} -no-sql-sqlite2
- $(qt_use mysql sql-mysql plugin) $(use mysql && echo "-I${EPREFIX}/usr/include/mysql -L${EPREFIX}/usr/$(get_libdir)/mysql ")
- $(qt_use postgres sql-psql plugin) $(use postgres && echo "-I${EPREFIX}/usr/include/postgresql/pgsql ")
- $(qt_use sqlite sql-sqlite plugin) $(use sqlite && echo '-system-sqlite')
- $(qt_use odbc sql-odbc plugin)
- $(qt_use freetds sql-tds plugin)
- $(qt_use firebird sql-ibase plugin)
- $(qt_use qt3support)"
-
- myconf="${myconf} $(qt_use iconv) -no-xkb -no-fontconfig -no-xrender
- -no-xrandr -no-xfixes -no-xcursor -no-xinerama -no-xshape -no-sm
- -no-opengl -no-nas-sound -no-dbus -no-cups -no-nis -no-gif -no-libpng
- -no-libmng -no-libjpeg -no-openssl -system-zlib -no-webkit -no-phonon
- -no-xmlpatterns -no-freetype -no-libtiff -no-accessibility
- -no-fontconfig -no-glib -no-opengl -no-svg -no-gtkstyle"
-
- qt4-build_src_configure
-}