Date: Wednesday, November 19, 2014 @ 17:57:43 Author: fyan Revision: 226429
archrelease: copy trunk to testing-i686, testing-x86_64 Added: kdebindings-qyoto/repos/testing-i686/ kdebindings-qyoto/repos/testing-i686/PKGBUILD (from rev 226428, kdebindings-qyoto/trunk/PKGBUILD) kdebindings-qyoto/repos/testing-i686/fix-build.patch (from rev 226428, kdebindings-qyoto/trunk/fix-build.patch) kdebindings-qyoto/repos/testing-x86_64/ kdebindings-qyoto/repos/testing-x86_64/PKGBUILD (from rev 226428, kdebindings-qyoto/trunk/PKGBUILD) kdebindings-qyoto/repos/testing-x86_64/fix-build.patch (from rev 226428, kdebindings-qyoto/trunk/fix-build.patch) --------------------------------+ testing-i686/PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++ testing-i686/fix-build.patch | 28 ++++++++++++++++++++++++++++ testing-x86_64/PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++ testing-x86_64/fix-build.patch | 28 ++++++++++++++++++++++++++++ 4 files changed, 134 insertions(+) Copied: kdebindings-qyoto/repos/testing-i686/PKGBUILD (from rev 226428, kdebindings-qyoto/trunk/PKGBUILD) =================================================================== --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2014-11-19 16:57:43 UTC (rev 226429) @@ -0,0 +1,39 @@ +# $Id$ +# Maintainer: Andrea Scarpino <and...@archlinux.org> + +pkgname=kdebindings-qyoto +pkgver=4.14.3 +pkgrel=1 +pkgdesc=".NET/Mono bindings for the Qt libraries" +url="https://projects.kde.org/projects/kde/kdebindings/csharp/qyoto" +arch=('i686' 'x86_64') +license=('GPL' 'LGPL' 'FDL') +groups=('kdebindings') +depends=('kdebindings-smokeqt' 'mono') +makedepends=('cmake' 'automoc4' 'kdebindings-smokegen') +conflicts=('kdebindings-csharp') +source=("http://download.kde.org/stable/${pkgver}/src/qyoto-${pkgver}.tar.xz" + 'fix-build.patch') +sha1sums=('adf43a0635425cbe0f81848bb7cd71dfb6cc7371' + '8ee518bfebb5a92bb8ceb325088e6055d4e61e8a') + +prepare() { + mkdir build + + cd qyoto-${pkgver} + patch -p1 -i "${srcdir}"/fix-build.patch +} + +build() { + cd build + cmake ../qyoto-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DKDE4_BUILD_TESTS=OFF \ + -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd build + make DESTDIR="${pkgdir}" install +} Copied: kdebindings-qyoto/repos/testing-i686/fix-build.patch (from rev 226428, kdebindings-qyoto/trunk/fix-build.patch) =================================================================== --- testing-i686/fix-build.patch (rev 0) +++ testing-i686/fix-build.patch 2014-11-19 16:57:43 UTC (rev 226429) @@ -0,0 +1,28 @@ +Index: qyoto-4.14.2/qdbus/QDBusReply.cs +=================================================================== +--- qyoto-4.14.2.orig/qdbus/QDBusReply.cs ++++ qyoto-4.14.2/qdbus/QDBusReply.cs +@@ -4,9 +4,12 @@ namespace Qyoto { + using System.Runtime.InteropServices; + using System.Collections.Generic; + +- public class QDBusReply<T> { ++ class QDBusReplyFill { + [DllImport("qyoto", CharSet=CharSet.Ansi)] +- private static extern void qyoto_qdbus_reply_fill(IntPtr msg, IntPtr error, IntPtr variant); ++ public static extern void qyoto_qdbus_reply_fill(IntPtr msg, IntPtr error, IntPtr variant); ++ } ++ ++ public class QDBusReply<T> { + + public QDBusReply(QDBusMessage reply) { + m_error = new QDBusError(reply); +@@ -18,7 +21,7 @@ namespace Qyoto { + variant = QVariant.FromValue<T>(default(T)); + } + +- qyoto_qdbus_reply_fill((IntPtr) GCHandle.Alloc(reply), (IntPtr) GCHandle.Alloc(m_error), ++ QDBusReplyFill.qyoto_qdbus_reply_fill((IntPtr) GCHandle.Alloc(reply), (IntPtr) GCHandle.Alloc(m_error), + (IntPtr) GCHandle.Alloc(variant)); + + if (!m_error.IsValid()) { Copied: kdebindings-qyoto/repos/testing-x86_64/PKGBUILD (from rev 226428, kdebindings-qyoto/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2014-11-19 16:57:43 UTC (rev 226429) @@ -0,0 +1,39 @@ +# $Id$ +# Maintainer: Andrea Scarpino <and...@archlinux.org> + +pkgname=kdebindings-qyoto +pkgver=4.14.3 +pkgrel=1 +pkgdesc=".NET/Mono bindings for the Qt libraries" +url="https://projects.kde.org/projects/kde/kdebindings/csharp/qyoto" +arch=('i686' 'x86_64') +license=('GPL' 'LGPL' 'FDL') +groups=('kdebindings') +depends=('kdebindings-smokeqt' 'mono') +makedepends=('cmake' 'automoc4' 'kdebindings-smokegen') +conflicts=('kdebindings-csharp') +source=("http://download.kde.org/stable/${pkgver}/src/qyoto-${pkgver}.tar.xz" + 'fix-build.patch') +sha1sums=('adf43a0635425cbe0f81848bb7cd71dfb6cc7371' + '8ee518bfebb5a92bb8ceb325088e6055d4e61e8a') + +prepare() { + mkdir build + + cd qyoto-${pkgver} + patch -p1 -i "${srcdir}"/fix-build.patch +} + +build() { + cd build + cmake ../qyoto-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DKDE4_BUILD_TESTS=OFF \ + -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd build + make DESTDIR="${pkgdir}" install +} Copied: kdebindings-qyoto/repos/testing-x86_64/fix-build.patch (from rev 226428, kdebindings-qyoto/trunk/fix-build.patch) =================================================================== --- testing-x86_64/fix-build.patch (rev 0) +++ testing-x86_64/fix-build.patch 2014-11-19 16:57:43 UTC (rev 226429) @@ -0,0 +1,28 @@ +Index: qyoto-4.14.2/qdbus/QDBusReply.cs +=================================================================== +--- qyoto-4.14.2.orig/qdbus/QDBusReply.cs ++++ qyoto-4.14.2/qdbus/QDBusReply.cs +@@ -4,9 +4,12 @@ namespace Qyoto { + using System.Runtime.InteropServices; + using System.Collections.Generic; + +- public class QDBusReply<T> { ++ class QDBusReplyFill { + [DllImport("qyoto", CharSet=CharSet.Ansi)] +- private static extern void qyoto_qdbus_reply_fill(IntPtr msg, IntPtr error, IntPtr variant); ++ public static extern void qyoto_qdbus_reply_fill(IntPtr msg, IntPtr error, IntPtr variant); ++ } ++ ++ public class QDBusReply<T> { + + public QDBusReply(QDBusMessage reply) { + m_error = new QDBusError(reply); +@@ -18,7 +21,7 @@ namespace Qyoto { + variant = QVariant.FromValue<T>(default(T)); + } + +- qyoto_qdbus_reply_fill((IntPtr) GCHandle.Alloc(reply), (IntPtr) GCHandle.Alloc(m_error), ++ QDBusReplyFill.qyoto_qdbus_reply_fill((IntPtr) GCHandle.Alloc(reply), (IntPtr) GCHandle.Alloc(m_error), + (IntPtr) GCHandle.Alloc(variant)); + + if (!m_error.IsValid()) {