[dev-python/PyQt4] Removed, (newer, more current builds on Gentoo tree).

This commit is contained in:
Mitch Harder
2010-05-05 15:13:47 -05:00
parent 5e2638ec0c
commit 463293933e
10 changed files with 0 additions and 677 deletions
-261
View File
@@ -1,261 +0,0 @@
# ChangeLog for dev-python/PyQt4
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/PyQt4/ChangeLog,v 1.63 2009/06/09 20:45:17 hwoarang Exp $
09 Jun 2009; Markos Chandras <hwoarang@gentoo.org> PyQt4-4.4.4-r2.ebuild,
PyQt4-4.4.4-r4.ebuild, PyQt4-4.4.4-r5.ebuild:
Add correct sip dependencies, fixes bug 273430
*PyQt4-4.5 (09 Jun 2009)
09 Jun 2009; Markos Chandras <hwoarang@gentoo.org> +PyQt4-4.5.ebuild:
Version bump
05 Jun 2009; Ben de Groot <yngwin@gentoo.org> PyQt4-4.4.4-r5.ebuild:
Specify !kde for qt-phonon dep
03 Jun 2009; Ben de Groot <yngwin@gentoo.org> PyQt4-4.4.4-r5.ebuild,
metadata.xml:
Add kde useflag, for selecting media-sound/phonon, bug 270188
02 Jun 2009; Ben de Groot <yngwin@gentoo.org> PyQt4-4.4.4-r5.ebuild:
QtDesigner is triggered by USE=X, so hide sed behind X useflag. Thanks
to Davide Pesavento for alerting.
01 Jun 2009; Markos Chandras <hwoarang@gentoo.org>
+files/fix_license_check.patch:
Add missing patch. Fixes bug 272126
*PyQt4-4.4.4-r5 (01 Jun 2009)
01 Jun 2009; Markos Chandras <hwoarang@gentoo.org> +PyQt4-4.4.4-r5.ebuild,
files/configure.py.patch, metadata.xml:
Fixed automagic dependency issue. ( bug 236341 ). Fixed rpath issues ( bug
235819 , bug 271870 ). Thanks to Davide Pesavento <davidepesa@gmail.com>
for the ebuilds and the rpath patch.
20 May 2009; Ben de Groot <yngwin@gentoo.org> -PyQt4-4.4-r1.ebuild,
-PyQt4-4.4.4-r1.ebuild, -PyQt4-4.4.4-r3.ebuild, PyQt4-4.4.4-r4.ebuild:
Turn on default useflags for all Qt modules. Remove old. Move src_unpack
content to src_prepare, where it belongs.
15 May 2009; Alexis Ballier <aballier@gentoo.org> PyQt4-4.4.4-r4.ebuild:
keyword ~x86-fbsd, bug #269880
*PyQt4-4.4.4-r4 (26 Apr 2009)
26 Apr 2009; Markos Chandras <hwoarang@gentoo.org>
+files/PyQt4-4.4.4-qgraphicsproxywidget-avoid-event-callback-loop.patch,
+PyQt4-4.4.4-r4.ebuild:
Adding qt-xmlpatterns as dependency. Add patch for QGraphicsProxyWidget (
thanks to Fabio Erculiani <lxnay@sabayonlinux.org> for providing the patch
). Fixes bug #267012
*PyQt4-4.4.4-r3 (07 Apr 2009)
07 Apr 2009; Markos Chandras <hwoarang@gentoo.org>
+files/configure.py.patch, +PyQt4-4.4.4-r3.ebuild:
Fixed bug #204877 ( thanks to Davide Pesavento <davidepesa@gmail.com> )
27 Mar 2009; Jeroen Roovers <jer@gentoo.org> PyQt4-4.4.4-r2.ebuild:
Stable for HPPA (bug #261652).
24 Mar 2009; Brent Baude <ranger@gentoo.org> PyQt4-4.4.4-r2.ebuild:
stable ppc64, bug 261652
22 Mar 2009; Markus Meier <maekke@gentoo.org> PyQt4-4.4.4-r2.ebuild:
amd64 stable, bug #261652
20 Mar 2009; Raúl Porcel <armin76@gentoo.org> PyQt4-4.4.4-r2.ebuild:
alpha/ia64/sparc/x86 stable wrt #261652
20 Mar 2009; Brent Baude <ranger@gentoo.org> PyQt4-4.4.4-r2.ebuild:
stable ppc, bug 261652
20 Mar 2009; Markos Chandras <hwoarang@gentoo.org> -PyQt4-4.3.1.ebuild,
-PyQt4-4.3.3.ebuild:
Dropping old packages due to qt-4.3 removal
18 Feb 2009; Jeroen Roovers <jer@gentoo.org> PyQt4-4.4.4-r1.ebuild:
Stable for HPPA (bug #248083).
06 Feb 2009; Raúl Porcel <armin76@gentoo.org> PyQt4-4.4.4-r1.ebuild:
ia64/sparc stable wrt #248038
04 Feb 2009; Brent Baude <ranger@gentoo.org> PyQt4-4.4.4-r1.ebuild:
Marking PyQt4-4.4.4-r1 ppc64 stable for bug 248038
31 Jan 2009; Tobias Klausmann <klausman@gentoo.org> PyQt4-4.4.4-r1.ebuild:
Stable on alpha, bug #248038
*PyQt4-4.4.4-r2 (25 Jan 2009)
25 Jan 2009; Ben de Groot <yngwin@gentoo.org> +PyQt4-4.4.4-r2.ebuild:
Add dbus-python dep, thanks to Maciej Mrozowski. Remove no longer needed
zlib useflag check.
18 Jan 2009; Markus Meier <maekke@gentoo.org> PyQt4-4.4.4-r1.ebuild:
amd64/x86 stable, bug #248038
17 Jan 2009; nixnut <nixnut@gentoo.org> PyQt4-4.4.4-r1.ebuild:
ppc stable #248038
09 Jan 2009; Patrick Lauer <patrick@gentoo.org> -PyQt4-4.4.3.ebuild,
-PyQt4-4.4.4.ebuild:
Removing old
*PyQt4-4.4.4-r1 (23 Nov 2008)
23 Nov 2008; Patrick Lauer <patrick@gentoo.org> +PyQt4-4.4.4-r1.ebuild:
Adding webkit useflag. Fixes pykde failing to build because of ordering
issues.
*PyQt4-4.4.4 (21 Nov 2008)
21 Nov 2008; Ben de Groot <yngwin@gentoo.org> -PyQt4-4.4.2.ebuild,
PyQt4-4.4.3.ebuild, +PyQt4-4.4.4.ebuild:
Drop ~x86-fbsd, as qt-core isn't keyworded for that arch yet.
Version bump, with updated deps. Remove hardmasked 4.4.2 version.
07 Oct 2008; Jeroen Roovers <jer@gentoo.org> PyQt4-4.3.3.ebuild:
Stable for HPPA too.
*PyQt4-4.4.3 (06 Sep 2008)
06 Sep 2008; Ben de Groot <yngwin@gentoo.org> +PyQt4-4.4.3.ebuild:
Version bump. Fixes bug 234559.
06 Aug 2008; Jesus Rivero <neurogeek@gentoo.org> metadata.xml:
add GLEP 56 USE flag desc from use.local.desc
*PyQt4-4.4-r1 (31 Jul 2008)
31 Jul 2008; Jesus Rivero <neurogeek@gentoo.org>
+files/PyQt4-4.4_compile.patch, -PyQt4-4.4.ebuild, +PyQt4-4.4-r1.ebuild:
Fixes bugs #233369 and #222435, thanks to Remy Bosch for the patch.
Removed old version
25 May 2008; Ingmar Vanhassel <ingmar@gentoo.org> PyQt4-4.4.2.ebuild:
dev-python/PyQt4-4.4.2 needs Qt-4.4.0, fix dependencies, mask package.
*PyQt4-4.4.2 (24 May 2008)
24 May 2008; Ben de Groot <yngwin@gentoo.org> +PyQt4-4.4.2.ebuild:
Version bump. Updated homepage URL. Added split qt deps from bug 222709.
*PyQt4-4.4 (14 May 2008)
14 May 2008; Ali Polatel <hawking@gentoo.org> PyQt4-4.3.1.ebuild,
PyQt4-4.3.3.ebuild, +PyQt4-4.4.ebuild:
Version bump. Change SRC_URI of old ebuilds to mirror://gentoo because
upstream doesn't have it anymore.
13 May 2008; Ali Polatel <hawking@gentoo.org> PyQt4-4.3.1.ebuild,
PyQt4-4.3.3.ebuild:
Changed HOMEPAGE. Thanks to Elias Probst, #220653
12 May 2008; Markus Rothe <corsair@gentoo.org> PyQt4-4.3.3.ebuild:
Stable on ppc64
07 Apr 2008; Alexis Ballier <aballier@gentoo.org> PyQt4-4.3.3.ebuild:
keyword ~x86-fbsd
02 Mar 2008; Wulf C. Krueger <philantrop@gentoo.org> PyQt4-4.3.1.ebuild:
Marked stable on amd64 as per bug 201474.
21 Feb 2008; Raúl Porcel <armin76@gentoo.org> PyQt4-4.3.3.ebuild:
alpha/ia64/sparc stable
15 Feb 2008; nixnut <nixnut@gentoo.org> PyQt4-4.3.1.ebuild:
Stable on ppc wrt bug 201474
09 Feb 2008; Markus Ullmann <jokey@gentoo.org> PyQt4-4.3.3.ebuild:
Stable on x86
28 Dec 2007; Caleb Tennis <caleb@gentoo.org> PyQt4-4.3.1.ebuild,
PyQt4-4.3.3.ebuild:
Explicitly depend on Qt 4.3 for these versions
*PyQt4-4.3.3 (26 Dec 2007)
26 Dec 2007; Caleb Tennis <caleb@gentoo.org> +PyQt4-4.3.3.ebuild:
version bump
28 Nov 2007; Caleb Tennis <caleb@gentoo.org> -PyQt4-4.2.ebuild,
-PyQt4-4.3.ebuild:
Remove old versions
09 Nov 2007; Jeroen Roovers <jer@gentoo.org> PyQt4-4.3.1.ebuild:
Marked ~hppa (bug #198456). Fixed quoting issues.
07 Nov 2007; Raúl Porcel <armin76@gentoo.org> PyQt4-4.3.1.ebuild:
Add ~alpha/~ia64/~sparc
20 Oct 2007; Markus Rothe <corsair@gentoo.org> PyQt4-4.3.1.ebuild:
Added ~ppc64; bug #196474
*PyQt4-4.3.1 (02 Oct 2007)
02 Oct 2007; Caleb Tennis <caleb@gentoo.org> +PyQt4-4.3.1.ebuild:
version bump
22 Aug 2007; Robert Buchholz <rbu@gentoo.org> PyQt4-4.3.ebuild:
Added ~ppc (bug #188998)
21 Aug 2007; Caleb Tennis <caleb@gentoo.org> PyQt4-4.3.ebuild:
add a check for zlib, per bug #188389
*PyQt4-4.3 (09 Aug 2007)
09 Aug 2007; Caleb Tennis <caleb@gentoo.org> +PyQt4-4.3.ebuild:
Version bump
24 Jun 2007; Tiziano Müller <dev-zero@gentoo.org> PyQt4-4.2.ebuild:
Fixed $ROOT abuse (bug #167271) and some cleanup
30 May 2007; Caleb Tennis <caleb@gentoo.org> -PyQt4-4.0.ebuild,
-PyQt4-4.1.1.ebuild:
remove old versions
30 May 2007; Caleb Tennis <caleb@gentoo.org> PyQt4-4.2.ebuild:
Fix doc install per bug #160675
10 May 2007; Caleb Tennis <caleb@gentoo.org> PyQt4-4.2.ebuild:
fix from bug #177973
*PyQt4-4.2 (10 May 2007)
10 May 2007; Caleb Tennis <caleb@gentoo.org> +PyQt4-4.2.ebuild:
version bump
*PyQt4-4.1.1 (20 Dec 2006)
20 Dec 2006; Markus Ullmann <jokey@gentoo.org> -PyQt4-4.1.ebuild,
+PyQt4-4.1.1.ebuild:
Version bump
15 Nov 2006; Caleb Tennis <caleb@gentoo.org> -PyQt4-4.0_beta1.ebuild:
remove old version
*PyQt4-4.1 (14 Nov 2006)
14 Nov 2006; Caleb Tennis <caleb@gentoo.org> +PyQt4-4.1.ebuild:
version bump
22 Oct 2006; Thomas Cort <tcort@gentoo.org> PyQt4-4.0.ebuild:
Added ~amd64 keyword wrt Bug #137948.
11 Jul 2006; Caleb Tennis <caleb@gentoo.org> PyQt4-4.0.ebuild:
Fix a few minor issues with ebuild
*PyQt4-4.0 (26 Jun 2006)
26 Jun 2006; Caleb Tennis <caleb@gentoo.org> +PyQt4-4.0.ebuild:
adding the release version
*PyQt4-4.0_beta1 (05 May 2006)
05 May 2006; Caleb Tennis <caleb@gentoo.org> +metadata.xml,
+PyQt4-4.0_beta1.ebuild:
initial import, from bug #121554
-11
View File
@@ -1,11 +0,0 @@
AUX PyQt4-4.4.4-qgraphicsproxywidget-avoid-event-callback-loop.patch 1004 RMD160 5fa5609d31b53978846999be8045c75b940c3dd1 SHA1 a7122535d44bd8a81984870e98322b14521d2ced SHA256 db539a666d834756013fc48012914dd181116df7f5d1d21485ff947e20441eed
AUX PyQt4-4.4_compile.patch 883 RMD160 016122f1e9cbf8c74da760fd094e280fd5ec0257 SHA1 b745edae97d52882b44a53461b98c96e11dbee20 SHA256 dc95ae5b5f7d07431d563c2035d68c6097b8f20dbb2285d2762066938c69e830
AUX PyQt4-4.5.1-qgraphicslinearlayout-fix.patch 572 RMD160 81e80c650ef118a7fe9b1a0c581117774552daa7 SHA1 90980166dbe91f4b8e32b82736c92761547c2126 SHA256 b489794c26b1884971dc4bebaec3a625a1827df7b9532965b321ba2c00472562
AUX configure.py.patch 1727 RMD160 31802058d0b0488264cdbcfeebd7ce9aff250957 SHA1 df4fee27f1486422b25d0072cfc388b207814c8f SHA256 06ee44a9fe43615b6bfada4aa7294303c016fd7c378ddf537823e33546306926
AUX fix_license_check.patch 643 RMD160 f8934e527bb8bf4f9edf98e068c07fc7b3380d97 SHA1 41fa9b3962add04c8196695c9d9b82b69d7d3ea8 SHA256 117025432a5db37375554577c66edbe7a6fdef6e120fb865b2f4304961dc2c42
DIST PyQt-x11-gpl-4.5.1.tar.gz 6942490 RMD160 ef0ace225b66d21aa83106364850cfa960e67705 SHA1 b50b58c3e6f9a15e0986fe63d978eb85db363a46 SHA256 5ec778056dcbbd5078d696e7407ba6274c1e8dab9b7778c2bb158a29a0b96bfe
DIST PyQt-x11-gpl-4.5.4.tar.gz 6970552 RMD160 0f7a48edb65116c8fb23357f66d164ff1fe48684 SHA1 be8b01b8b2343a6a85f18d16f10bc549e88265d6 SHA256 b3d06c7bda701055769add93b48103ee35c6fc9a4b00c67599cb426f9efda5a8
EBUILD PyQt4-4.5.1-r1.ebuild 3343 RMD160 f5b8c0de7344184fa650b073ce5219d8dd347743 SHA1 39e3ed6b1d3ee0c5487b25c12618316b77ea6815 SHA256 1d0e1246adfa266bcb9032ea9059d8823401bb983cf43a88e9e2bed26232eafb
EBUILD PyQt4-4.5.4-r1.ebuild 3899 RMD160 cf76842f05d08a295f02174cfd98752c6f4c84fd SHA1 62e969474aa0b8b75fe913c7f543317761995868 SHA256 f14936d82b76825be73d33598ee01c54e6f390da12624acc023b742bb1720677
MISC ChangeLog 8732 RMD160 c7e54d2765665ae3074cc85d93f5c2895e83939a SHA1 e3c792057c87f036de03f44f6c4c52b26ffef74d SHA256 925c72b4990035572641390c572cbcb80917fed8574d8afebb7b471ad2116081
MISC metadata.xml 859 RMD160 3da7dcc5dc212af8ed4f98e73c561f2365081c98 SHA1 f607feed53689fa15b62d474d6763bc674fbcb2a SHA256 00475be82d27e0e1dab95eafcea3751ae70ee39b53a268063772d76752556d8b
-123
View File
@@ -1,123 +0,0 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/PyQt4/PyQt4-4.5.ebuild,v 1.2 2009/06/16 15:15:35 hwoarang Exp $
EAPI="2"
inherit distutils qt4
MY_P=PyQt-x11-gpl-${PV}
QTVER="4.5.1"
DESCRIPTION="A set of Python bindings for the Qt toolkit"
HOMEPAGE="http://www.riverbankcomputing.co.uk/software/pyqt/intro/"
SRC_URI="http://www.riverbankcomputing.com/static/Downloads/${PN}/${MY_P}.tar.gz"
SLOT="0"
LICENSE="|| ( GPL-2 GPL-3 )"
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
IUSE="X assistant +dbus debug doc examples kde opengl phonon +qt3support sql svg webkit xmlpatterns"
DEPEND=">=dev-python/sip-4.8
>=x11-libs/qt-core-${QTVER}:4
>=x11-libs/qt-script-${QTVER}:4
>=x11-libs/qt-test-${QTVER}:4
X? ( >=x11-libs/qt-gui-${QTVER}:4[dbus?,qt3support?] )
assistant? ( >=x11-libs/qt-assistant-${QTVER}:4 )
dbus? (
>=dev-python/dbus-python-0.80
>=x11-libs/qt-dbus-${QTVER}:4
)
opengl? ( >=x11-libs/qt-opengl-${QTVER}:4[qt3support?] )
phonon? (
!kde? ( || ( >=x11-libs/qt-phonon-${QTVER}:4 media-sound/phonon ) )
kde? ( media-sound/phonon )
)
qt3support? ( >=x11-libs/qt-qt3support-${QTVER}:4 )
sql? ( >=x11-libs/qt-sql-${QTVER}:4 )
svg? ( >=x11-libs/qt-svg-${QTVER}:4 )
webkit? ( >=x11-libs/qt-webkit-${QTVER}:4 )
xmlpatterns? ( >=x11-libs/qt-xmlpatterns-${QTVER}:4 )"
RDEPEND="${DEPEND}"
S="${WORKDIR}/${MY_P}"
PATCHES=(
"${FILESDIR}/configure.py.patch"
"${FILESDIR}/fix_license_check.patch"
"${FILESDIR}/${P}-qgraphicslinearlayout-fix.patch"
)
pyqt4_use_enable() {
use $1 && echo "--enable=${2:-$1}"
}
src_prepare() {
if ! use dbus; then
sed -i -e 's,^\([[:blank:]]\+\)check_dbus(),\1pass,' \
"${S}"/configure.py || die
fi
qt4_src_prepare
# Remove this code after removing Python 2 from the tree.
python_version
if [[ "${PYVER:0:1}" == "3" ]]; then
rm -fr pyuic/uic/port_v2
else
rm -fr pyuic/uic/port_v3
fi
}
src_configure() {
distutils_python_version
local myconf="${python} configure.py
--confirm-license
--bindir=/usr/bin
--destdir=$(python_get_sitedir)
--sipdir=/usr/share/sip
$(use debug && echo '--debug')
--enable=QtCore
--enable=QtNetwork
--enable=QtScript
--enable=QtTest
--enable=QtXml
$(pyqt4_use_enable X QtGui)
$(pyqt4_use_enable X QtDesigner)
$(pyqt4_use_enable assistant QtAssistant)
$(pyqt4_use_enable assistant QtHelp)
$(pyqt4_use_enable opengl QtOpenGL)
$(pyqt4_use_enable phonon)
$(pyqt4_use_enable sql QtSql)
$(pyqt4_use_enable svg QtSvg)
$(pyqt4_use_enable webkit QtWebKit)
$(pyqt4_use_enable xmlpatterns QtXmlPatterns)"
echo ${myconf}
${myconf} || die "configuration failed"
# Fix insecure runpath
if use X ; then
for pkg in QtDesigner QtGui QtCore; do
sed -i -e "/^LFLAGS/s:-Wl,-rpath,${S}/qpy/${pkg}::" \
"${S}"/${pkg}/Makefile || die "failed to fix rpath issues"
done
fi
}
src_install() {
python_need_rebuild
# INSTALL_ROOT is needed for the QtDesigner module,
# the other Makefiles use DESTDIR.
emake DESTDIR="${D}" INSTALL_ROOT="${D}" install || die "installation failed"
dodoc ChangeLog NEWS THANKS || die
if use doc; then
dohtml -r doc/html/* || die
fi
if use examples; then
insinto /usr/share/doc/${PF}
doins -r examples || die
fi
}
-152
View File
@@ -1,152 +0,0 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/PyQt4/PyQt4-4.5.4-r1.ebuild,v 1.1 2009/08/05 22:27:25 hwoarang Exp $
EAPI="2"
SUPPORT_PYTHON_ABIS="1"
inherit python qt4
MY_P=PyQt-x11-gpl-${PV}
QTVER="4.5.1"
DESCRIPTION="A set of Python bindings for the Qt toolkit"
HOMEPAGE="http://www.riverbankcomputing.co.uk/software/pyqt/intro/"
SRC_URI="http://www.riverbankcomputing.com/static/Downloads/${PN}/${MY_P}.tar.gz"
SLOT="0"
LICENSE="|| ( GPL-2 GPL-3 )"
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
IUSE="X assistant +dbus debug doc examples kde opengl phonon sql svg webkit xmlpatterns"
DEPEND=">=dev-python/sip-4.8.2
>=x11-libs/qt-core-${QTVER}:4
>=x11-libs/qt-script-${QTVER}:4
>=x11-libs/qt-test-${QTVER}:4
X? ( >=x11-libs/qt-gui-${QTVER}:4[dbus?] )
assistant? ( >=x11-libs/qt-assistant-${QTVER}:4 )
dbus? (
>=dev-python/dbus-python-0.80
>=x11-libs/qt-dbus-${QTVER}:4
)
opengl? ( >=x11-libs/qt-opengl-${QTVER}:4 )
phonon? (
!kde? ( || ( >=x11-libs/qt-phonon-${QTVER}:4 media-sound/phonon ) )
kde? ( media-sound/phonon )
)
sql? ( >=x11-libs/qt-sql-${QTVER}:4 )
svg? ( >=x11-libs/qt-svg-${QTVER}:4 )
webkit? ( >=x11-libs/qt-webkit-${QTVER}:4 )
xmlpatterns? ( >=x11-libs/qt-xmlpatterns-${QTVER}:4 )"
RDEPEND="${DEPEND}"
S="${WORKDIR}/${MY_P}"
PATCHES=(
"${FILESDIR}/configure.py.patch"
"${FILESDIR}/${PN}-4.5.1-qgraphicslinearlayout-fix.patch"
)
src_prepare() {
if ! use dbus; then
sed -i -e 's,^\([[:blank:]]\+\)check_dbus(),\1pass,' \
"${S}"/configure.py || die
fi
qt4_src_prepare
python_copy_sources
preparation() {
if [[ "${PYTHON_ABI:0:1}" == "3" ]]; then
rm -fr pyuic/uic/port_v2
else
rm -fr pyuic/uic/port_v3
fi
}
python_execute_function -s preparation
}
pyqt4_use_enable() {
use $1 && echo "--enable=${2:-$1}"
}
src_configure() {
configuration() {
local myconf="$(PYTHON) configure.py
--confirm-license
--bindir=/usr/bin
--destdir=$(python_get_sitedir)
--sipdir=/usr/share/sip
$(use debug && echo '--debug')
--enable=QtCore
--enable=QtNetwork
--enable=QtScript
--enable=QtTest
--enable=QtXml
$(pyqt4_use_enable X QtGui)
$(pyqt4_use_enable X QtDesigner)
$(pyqt4_use_enable assistant QtAssistant)
$(pyqt4_use_enable assistant QtHelp)
$(pyqt4_use_enable opengl QtOpenGL)
$(pyqt4_use_enable phonon)
$(pyqt4_use_enable sql QtSql)
$(pyqt4_use_enable svg QtSvg)
$(pyqt4_use_enable webkit QtWebKit)
$(pyqt4_use_enable xmlpatterns QtXmlPatterns)
CC=$(tc-getCC) CXX=$(tc-getCXX)
CFLAGS='${CFLAGS}' CXXFLAGS='${CXXFLAGS}' LFLAGS='${LDFLAGS}'"
echo ${myconf}
eval ${myconf} || return 1
# Fix insecure runpath.
for mod in QtCore $(use X && echo "QtDesigner QtGui"); do
# Run eqmake4 to inside the qpy subdirs to prevent
# stripping and many QA issues
pushd qpy/${mod} > /dev/null || die
eqmake4 $(ls w_qpy*.pro)
popd > /dev/null || die
sed -i -e "/^LFLAGS/s:-Wl,-rpath,${BUILDDIR}/qpy/${mod}::" ${mod}/Makefile || die "Failed to fix rpath issues"
done
# Fix pre-stripping of libpythonplugin.so
if use X; then
cd "${BUILDDIR}"/designer
eqmake4 python.pro
fi
}
python_execute_function -s configuration
}
src_compile() {
python_execute_function -d -s
}
src_install() {
python_need_rebuild
installation() {
# INSTALL_ROOT is needed for the QtDesigner module,
# the other Makefiles use DESTDIR.
emake DESTDIR="${D}" INSTALL_ROOT="${D}" install
}
python_execute_function -s installation
dodoc ChangeLog doc/pyqt4ref.txt NEWS THANKS || die
if use doc; then
dohtml -r doc/* || die
fi
if use examples; then
insinto /usr/share/doc/${PF}
doins -r examples || die
fi
}
pkg_postinst() {
python_mod_optimize PyQt4
}
pkg_postrm() {
python_mod_cleanup PyQt4
}
@@ -1,16 +0,0 @@
diff -Nurp PyQt-x11-gpl-4.4.4.orig/sip/QtGui/qgraphicsproxywidget.sip PyQt-x11-gpl-4.4.4/sip/QtGui/qgraphicsproxywidget.sip
--- PyQt-x11-gpl-4.4.4.orig/sip/QtGui/qgraphicsproxywidget.sip 2008-11-08 12:55:56.000000000 +0100
+++ PyQt-x11-gpl-4.4.4/sip/QtGui/qgraphicsproxywidget.sip 2009-04-21 21:59:09.938689971 +0200
@@ -87,6 +87,12 @@ protected:
virtual void mousePressEvent(QGraphicsSceneMouseEvent *event);
virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent *event);
virtual void mouseDoubleClickEvent(QGraphicsSceneMouseEvent *event);
+
+ virtual void dragEnterEvent(QGraphicsSceneDragDropEvent *event);
+ virtual void dragLeaveEvent(QGraphicsSceneDragDropEvent *event);
+ virtual void dragMoveEvent(QGraphicsSceneDragDropEvent *event);
+ virtual void dropEvent(QGraphicsSceneDragDropEvent *event);
+
virtual void wheelEvent(QGraphicsSceneWheelEvent *event);
virtual void keyPressEvent(QKeyEvent *event);
virtual void keyReleaseEvent(QKeyEvent *event);
@@ -1,21 +0,0 @@
diff -ru PyQt-x11-gpl-4.4_old/designer/pluginloader.cpp PyQt-x11-gpl-4.4/designer/pluginloader.cpp
--- PyQt-x11-gpl-4.4_old/designer/pluginloader.cpp 2008-05-20 20:12:41.000000000 +0200
+++ PyQt-x11-gpl-4.4/designer/pluginloader.cpp 2008-05-20 20:13:37.000000000 +0200
@@ -280,7 +280,7 @@
// Return the named attribute object from the named module.
PyObject *PyCustomWidgets::getModuleAttr(const char *module, const char *attr)
{
-#if PY_VERSION_HEX >= 0x020500
+#if PY_VERSION_HEX >= 0x02050000
PyObject *mod = PyImport_ImportModule(module);
#else
PyObject *mod = PyImport_ImportModule(const_cast<char *>(module));
@@ -292,7 +292,7 @@
return 0;
}
-#if PY_VERSION_HEX >= 0x020500
+#if PY_VERSION_HEX >= 0x02050000
PyObject *obj = PyObject_GetAttrString(mod, attr);
#else
PyObject *obj = PyObject_GetAttrString(mod, const_cast<char *>(attr));
@@ -1,12 +0,0 @@
diff -Nurp PyQt-x11-gpl-4.5.orig/sip/QtGui/qgraphicslinearlayout.sip PyQt-x11-gpl-4.5/sip/QtGui/qgraphicslinearlayout.sip
--- PyQt-x11-gpl-4.5.orig/sip/QtGui/qgraphicslinearlayout.sip 2009-06-05 10:50:38.000000000 +0200
+++ PyQt-x11-gpl-4.5/sip/QtGui/qgraphicslinearlayout.sip 2009-06-25 15:22:56.297020424 +0200
@@ -74,7 +74,7 @@ public:
{
PyObject *itmo = sipGetPyObject(itm, sipType_QGraphicsLayoutItem);
- if (itmo)
+ if (itmo && ! itm->parentLayoutItem())
sipTransferBack(itmo);
}
%End
-47
View File
@@ -1,47 +0,0 @@
diff -Naur PyQt-x11-gpl-4.4.4~orig/configure.py PyQt-x11-gpl-4.4.4/configure.py
--- PyQt-x11-gpl-4.4.4~orig/configure.py 2009-06-01 01:54:27.000000000 +0200
+++ PyQt-x11-gpl-4.4.4/configure.py 2009-06-01 01:55:57.000000000 +0200
@@ -300,7 +300,8 @@
check_module("QtWebKit", "qwebpage.h", "new QWebPage()")
check_module("QtXml", "qdom.h", "new QDomDocument()")
check_module("QtXmlPatterns", "qxmlname.h", "new QXmlName()")
- check_module("phonon", "phonon", "new Phonon::VideoWidget()")
+ check_module("phonon", "videowidget.h", "new Phonon::VideoWidget()",
+ extra_include_dirs=["/usr/include/phonon"])
check_module("QtAssistant", "qassistantclient.h",
"new QAssistantClient(\"foo\")", extra_lib_dirs=ass_lib_dirs,
extra_libs=ass_libs)
@@ -394,7 +395,7 @@
generate_code("QtXmlPatterns")
if "phonon" in pyqt_modules:
- generate_code("phonon")
+ generate_code("phonon", extra_include_dirs=["/usr/include/phonon"])
if "QtAssistant" in pyqt_modules:
generate_code("QtAssistant")
@@ -666,6 +667,7 @@
install_dir=pydbusmoddir,
qt=["QtCore"],
debug=opts.debug,
+ strip=0,
universal=sipcfg.universal
)
@@ -1350,6 +1352,7 @@
warnings=1,
static=opts.static,
debug=opts.debug,
+ strip=0,
universal=sipcfg.universal
)
@@ -1510,7 +1513,7 @@
# The Qt binary installer has macx-xcode as the default.
args = "-spec macx-g++ " + args
- return args
+ return " QMAKE_STRIP= " + args
def get_qt_configuration():
@@ -1,14 +0,0 @@
Index: configure.py
===================================================================
--- configure.py
+++ configure.py
@@ -1469,7 +1469,8 @@ def check_license():
# Common checks.
if qt_edition and ltype != "internal":
if qt_edition != "free" and ltype == "GPL":
- sipconfig.error("This version of PyQt and the %s edition of Qt have incompatible licenses." % qt_edition)
+ if qt_edition != "Desktop":
+ sipconfig.error("This version of PyQt and the %s edition of Qt have incompatible licenses." % qt_edition)
# Confirm the license if not already done.
if not opts.license_confirmed:
-20
View File
@@ -1,20 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>python</herd>
<herd>qt</herd>
<use>
<flag name='X'>Build the QtGui and QtDesigner modules</flag>
<flag name='assistant'>Build the QtHelp and QtAssistant modules</flag>
<flag name='kde'>
Select <pkg>media-sound/phonon</pkg> as phonon variant needed for kde
</flag>
<flag name='opengl'>Build the QtOpenGL module</flag>
<flag name='phonon'>Build the phonon module</flag>
<flag name='qt3support'>Enable the Qt3Support libraries for Qt4</flag>
<flag name='sql'>Build the QtSql module</flag>
<flag name='svg'>Build the QtSvg module</flag>
<flag name='webkit'>Build the QtWebKit module</flag>
<flag name='xmlpatterns'>Build the QtXmlPatterns module</flag>
</use>
</pkgmetadata>