[arch-commits] Commit in kdebindings (3 files)

Andrea Scarpino andrea at archlinux.org
Thu Nov 25 09:40:34 UTC 2010


    Date: Thursday, November 25, 2010 @ 04:40:34
  Author: andrea
Revision: 100675

KDE 4.6 beta1

Added:
  kdebindings/kde-unstable/
Modified:
  kdebindings/kde-unstable/PKGBUILD	(contents, properties)
Deleted:
  kdebindings/kde-unstable/fix-pyqt4-build.patch

-----------------------+
 PKGBUILD              |   12 +++------
 fix-pyqt4-build.patch |   64 ------------------------------------------------
 2 files changed, 4 insertions(+), 72 deletions(-)

Modified: kde-unstable/PKGBUILD
===================================================================
--- trunk/PKGBUILD	2010-11-25 09:35:34 UTC (rev 100674)
+++ kde-unstable/PKGBUILD	2010-11-25 09:40:34 UTC (rev 100675)
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 59825 2009-11-28 01:40:17Z andrea $
+# $Id$
 # Maintainer: Andrea Scarpino <andrea at archlinux.org>
 # Contributor: Pierre Schmitz <pierre at archlinux.de>
 
@@ -7,23 +7,19 @@
          'kdebindings-python'
          'kdebindings-ruby'
          'kdebindings-smoke')
-pkgver=4.5.3
+pkgver=4.5.80
 pkgrel=1
 arch=('i686' 'x86_64')
 url='http://www.kde.org'
 license=('GPL' 'LGPL')
 makedepends=('pkgconfig' 'cmake' 'automoc4' 'pyqt' 'kdepim-runtime' 'mono'
 	'kdegraphics-okular' 'qwt' 'docbook-xsl' 'boost' 'qscintilla' 'ruby')
-source=("http://download.kde.org/stable/${pkgver}/src/${pkgbase}-${pkgver}.tar.bz2"
-	'fix-pyqt4-build.patch')
-sha1sums=('84a86395cf0dfb328111a5492e78a1967f6a1146'
-          '36b52d147fee24a65c756baaad00e3d1ac081d3d')
+source=("http://download.kde.org/unstable/${pkgver}/src/${pkgbase}-${pkgver}.tar.bz2")
+sha1sums=('60dfca6b6015b18441a8642934a8d79e91926dd7')
 
 build() {
 	cd ${srcdir}/${pkgbase}-${pkgver}
 
-	patch -Np0 -i ${srcdir}/fix-pyqt4-build.patch
-
 	# fix ruby
 	for f in `find ruby -name CMakeLists.txt`; do
 	  sed -i "s|\${RUBY_INCLUDE_PATH}|\${RUBY_INCLUDE_PATH} /usr/include/ruby-1.9.1/${_ARCHITECTURE}-linux|" "${f}"


Property changes on: kdebindings/kde-unstable/PKGBUILD
___________________________________________________________________
Added: svn:keywords
   + Id

Deleted: kde-unstable/fix-pyqt4-build.patch
===================================================================
--- trunk/fix-pyqt4-build.patch	2010-11-25 09:35:34 UTC (rev 100674)
+++ kde-unstable/fix-pyqt4-build.patch	2010-11-25 09:40:34 UTC (rev 100675)
@@ -1,64 +0,0 @@
---- python/pykde4/sip/kdecore/typedefs.sip
-+++ python/pykde4/sip/kdecore/typedefs.sip
-@@ -733,61 +733,6 @@
- };
- 
- 
--%MappedType QList<uint>
--{
--%TypeHeaderCode
--#include <qlist.h>
--%End
--
--%ConvertFromTypeCode
--    // Create the list.
--    PyObject *l;
--
--    if ((l = PyList_New(sipCpp->size())) == NULL)
--        return NULL;
--
--    // Set the list elements.
--    for (int i = 0; i < sipCpp->size(); ++i) {
--        PyObject *pobj;
--
--#if PY_MAJOR_VERSION >= 3
--        if ((pobj = PyLong_FromLong(sipCpp->value(i))) == NULL) {
--#else
--        if ((pobj = PyInt_FromLong(sipCpp->value(i))) == NULL) {
--#endif
--            Py_DECREF(l);
--
--            return NULL;
--        }
--
--        PyList_SET_ITEM(l, i, pobj);
--    }
--
--    return l;
--%End
--
--%ConvertToTypeCode
--    // Check the type if that is all that is required.
--    if (sipIsErr == NULL)
--        return PyList_Check(sipPy);
--
--    QList<uint> *ql = new QList<uint>;
-- 
--    for (int i = 0; i < PyList_GET_SIZE(sipPy); ++i) {
--#if PY_MAJOR_VERSION >= 3
--        ql->append(PyLong_AsLong(PyList_GET_ITEM(sipPy, i)));
--#else
--        ql->append(PyInt_AsLong(PyList_GET_ITEM(sipPy, i)));
--#endif        
--    }
--    
--    *sipCppPtr = ql;
-- 
--    return sipGetState(sipTransferObj);
--%End
--};
--
--
- template <TYPE*>
- %MappedType QStack<TYPE*>
- {




More information about the arch-commits mailing list