From 6db6462ab7360ef79a10ec23d9e09d9dedfe9bcc Mon Sep 17 00:00:00 2001 From: James Meyer Date: Wed, 30 Sep 2009 22:04:09 -0500 Subject: pyqt,qcscintilla,sip: checkin needed for bld --- abs/extra-testing/pyqt/ChangeLog | 21 +++++++++++++ abs/extra-testing/pyqt/PKGBUILD | 30 +++++++++++++++++++ abs/extra-testing/qscintilla/ChangeLog | 13 ++++++++ abs/extra-testing/qscintilla/PKGBUILD | 55 ++++++++++++++++++++++++++++++++++ abs/extra-testing/sip/ChangeLog | 17 +++++++++++ abs/extra-testing/sip/PKGBUILD | 29 ++++++++++++++++++ 6 files changed, 165 insertions(+) create mode 100644 abs/extra-testing/pyqt/ChangeLog create mode 100644 abs/extra-testing/pyqt/PKGBUILD create mode 100644 abs/extra-testing/qscintilla/ChangeLog create mode 100644 abs/extra-testing/qscintilla/PKGBUILD create mode 100644 abs/extra-testing/sip/ChangeLog create mode 100644 abs/extra-testing/sip/PKGBUILD diff --git a/abs/extra-testing/pyqt/ChangeLog b/abs/extra-testing/pyqt/ChangeLog new file mode 100644 index 0000000..e20b55a --- /dev/null +++ b/abs/extra-testing/pyqt/ChangeLog @@ -0,0 +1,21 @@ + +2009-04-11 Douglas Soares de Andrade + + * Fixing the rpath issue, thanks Gerardo + +2008-11-22 Douglas Soares de Andrade + + * Updated for i686: 4.4.4 + +2008-10-22 Douglas Soares de Andrade + + * Rebuilt for python 2.6 + +2008-08-09 Douglas Soares de Andrade + + * Updated for i686: 4.4.3 + +2008-07-06 Douglas Soares de Andrade + + * Updated for i686: 4.4.2 + diff --git a/abs/extra-testing/pyqt/PKGBUILD b/abs/extra-testing/pyqt/PKGBUILD new file mode 100644 index 0000000..f6645c7 --- /dev/null +++ b/abs/extra-testing/pyqt/PKGBUILD @@ -0,0 +1,30 @@ +# $Id: PKGBUILD 47994 2009-07-30 10:33:54Z pierre $ +# Maintainer: Douglas Soares de Andrade +# Contributor: riai Ben + +pkgname=pyqt +pkgver=4.6 +pkgrel=1 +pkgdesc="A set of Python bindings for the Qt toolkit." +arch=(i686 x86_64) +url="http://riverbankcomputing.co.uk/software/pyqt/intro" +depends=('sip>=4.8.2' 'qscintilla>=2.4.0' 'qt>=4.5.2' 'dbus-python' 'openssl') +license=('GPL') +provides=('pyqt4') +replaces=('pyqt4') +conflicts=('pyqt4') +source=(http://riverbankcomputing.com/static/Downloads/PyQt4/PyQt-x11-gpl-$pkgver.tar.gz) + +build() { + cd ${srcdir}/PyQt-x11-gpl-${pkgver} + + python configure.py --confirm-license -b /usr/bin \ + -d /usr/lib/python2.6/site-packages \ + -v /usr/share/sip + + # Thanks Gerardo for the rpath fix + find -name 'Makefile' | xargs sed -i 's|-Wl,-rpath,/usr/lib||g;s|-Wl,-rpath,.* ||g' + + make || return 1 + make DESTDIR=${pkgdir} install +} diff --git a/abs/extra-testing/qscintilla/ChangeLog b/abs/extra-testing/qscintilla/ChangeLog new file mode 100644 index 0000000..8e78889 --- /dev/null +++ b/abs/extra-testing/qscintilla/ChangeLog @@ -0,0 +1,13 @@ + +2008-11-22 Douglas Soares de Andrade + + * Updated for i686: 2.3.2 + +2008-10-15 Douglas Soares de Andrade + + * Updated for i686: 2.3 + +2008-07-06 Douglas Soares de Andrade + + * Updated for i686: 2.2 + diff --git a/abs/extra-testing/qscintilla/PKGBUILD b/abs/extra-testing/qscintilla/PKGBUILD new file mode 100644 index 0000000..9b3bf94 --- /dev/null +++ b/abs/extra-testing/qscintilla/PKGBUILD @@ -0,0 +1,55 @@ +# $Id: PKGBUILD 46926 2009-07-22 04:56:17Z pierre $ +# Maintainer: Douglas Soares de Andrade +# Contributor: Michal Krenek +# Bug #8577 Modifications made by DaNiMoTh + +pkgname=qscintilla +pkgver=2.4.0 +_pkgver=2.4 +pkgrel=1 +license=('GPL') +pkgdesc="A port to Qt4 of Neil Hodgson's Scintilla C++ editor class." +arch=('i686' 'x86_64') +url="http://www.riverbankcomputing.co.uk/software/qscintilla/download" +depends=('qt') +provides=('qscintilla2') +conflicts=('qscintilla2') +replaces=('qscintilla2') +source=(http://riverbankcomputing.com/static/Downloads/QScintilla2/QScintilla-gpl-$_pkgver.tar.gz) +md5sums=('dd69520ec91f1acb97a4eb74ddde37c9') + +build() { + cd $srcdir/QScintilla-gpl-$_pkgver/Qt4 + sed -i "s|DESTDIR = .*|DESTDIR = $pkgdir/usr/lib|g" qscintilla.pro + sed -i "s|header.path = .*|header.path = $pkgdir/usr/include|g" qscintilla.pro + sed -i "s|trans.path = .*|trans.path = $pkgdir/usr/share/qt/translations|g" qscintilla.pro + sed -i "s|qsci.path = .*|qsci.path = $pkgdir/usr/share/qt/translations|g" qscintilla.pro + + qmake qscintilla.pro + sed -i 's|$(MOVE) $(TARGET)|$(COPY) $(TARGET)|g' Makefile + make || return 1 + make DESTDIR=$pkgdir install + + cd ../designer-Qt4 + + # Qt4 designer qscintilla2 plugin + mkdir -p $pkgdir/usr/lib/qt/plugins/designer + + echo "INCPATH += ../Qt4" >> designer.pro + sed -i "s|LIBS.*|LIBS += -L../Qt4 -lqscintilla2|g" designer.pro + qmake designer.pro + make || return 1 + cp libqscintillaplugin.so $pkgdir/usr/lib/qt/plugins/designer/ || return 1 + + msg "Installing the libs to the right place" + + cd ../Qt4 + + cp libqscintilla2.so.5.1.0 $pkgdir/usr/lib/ || return 1 + + pushd $pkgdir/usr/lib/ + ln -s libqscintilla2.so.5.1.0 libqscintilla2.so + ln -s libqscintilla2.so.5.1.0 libqscintilla2.so.5 + ln -s libqscintilla2.so.5.1.0 libqscintilla2.so.5.1 + popd +} diff --git a/abs/extra-testing/sip/ChangeLog b/abs/extra-testing/sip/ChangeLog new file mode 100644 index 0000000..bb87e31 --- /dev/null +++ b/abs/extra-testing/sip/ChangeLog @@ -0,0 +1,17 @@ + +2008-11-22 Douglas Soares de Andrade + + * Updating for i686: 4.7.9 + +2008-10-06 Douglas Soares de Andrade + + * Updating source_urls + +2008-08-09 Douglas Soares de Andrade + + * Updated for i686: 4.7.7 + +2008-07-06 Douglas Soares de Andrade + + * Updated for i686: 4.7.6 + diff --git a/abs/extra-testing/sip/PKGBUILD b/abs/extra-testing/sip/PKGBUILD new file mode 100644 index 0000000..e3486f4 --- /dev/null +++ b/abs/extra-testing/sip/PKGBUILD @@ -0,0 +1,29 @@ +# $Id: PKGBUILD 47992 2009-07-30 10:16:59Z pierre $ +# Maintainer: Douglas Soares de Andrade +# Contributor: riai , Ben + +pkgname=sip +pkgver=4.9 +pkgrel=1 +pkgdesc="A tool that makes it easy to create Python bindings for C and C++ libraries." +arch=(i686 x86_64) +url="http://www.riverbankcomputing.com/software/sip/" +license=('custom:"sip"') +depends=('python>=2.6' 'gcc-libs') +source=(http://riverbankcomputing.com/static/Downloads/sip4/${pkgname}-${pkgver}.tar.gz) + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + + python configure.py -b /usr/bin \ + -d /usr/lib/python2.6/site-packages \ + -e /usr/include/python2.6 \ + -v /usr/share/sip + + make || return 1 + make DESTDIR=${pkgdir} install + # fix permissions + chmod 644 ${pkgdir}/usr/lib/python2.6/site-packages/sipdistutils.py + + install -m 644 -D LICENSE ${pkgdir}/usr/share/licenses/sip/LICENSE +} -- cgit v0.12