[arch-commits] Commit in gnome-do-plugins/repos (4 files)
Jan de Groot
jgc at archlinux.org
Thu Feb 26 13:12:29 UTC 2015
Date: Thursday, February 26, 2015 @ 14:12:29
Author: jgc
Revision: 128254
archrelease: copy trunk to community-staging-any
Added:
gnome-do-plugins/repos/community-staging-any/
gnome-do-plugins/repos/community-staging-any/PKGBUILD
(from rev 128253, gnome-do-plugins/trunk/PKGBUILD)
gnome-do-plugins/repos/community-staging-any/flickrnet-3.2.patch
(from rev 128253, gnome-do-plugins/trunk/flickrnet-3.2.patch)
gnome-do-plugins/repos/community-staging-any/use_dbussharp_2.patch
(from rev 128253, gnome-do-plugins/trunk/use_dbussharp_2.patch)
-----------------------+
PKGBUILD | 47 +++++++++++++++++++++++++++++++++++++++++++++++
flickrnet-3.2.patch | 12 ++++++++++++
use_dbussharp_2.patch | 33 +++++++++++++++++++++++++++++++++
3 files changed, 92 insertions(+)
Copied: gnome-do-plugins/repos/community-staging-any/PKGBUILD (from rev 128253, gnome-do-plugins/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2015-02-26 13:12:29 UTC (rev 128254)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: Allan McRae <allan at archlinux.org>
+# Contributor: Doehni <dohny at gmx.de>
+
+pkgname=gnome-do-plugins
+pkgver=0.8.5
+pkgrel=2
+pkgdesc="Plugins for gnome-do"
+arch=('any')
+url="http://cooperteam.net/"
+license=('GPL3')
+depends=('gnome-do>=0.9' 'flickrnet' 'gdata-sharp' 'wnck-sharp')
+makedepends=('intltool' 'libgnome-sharp' 'libgnome-desktop-sharp')
+source=(http://launchpad.net/do-plugins/trunk/$pkgver/+download/$pkgname-$pkgver.tar.gz
+ use_dbussharp_2.patch
+ flickrnet-3.2.patch)
+md5sums=('022d184e884cabd3078716385f123c0a'
+ 'bf39bfb9f33f258938bcdf182a3a53a5'
+ '8222b36baf39657d8f4e4c214f124093')
+
+prepare() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ # Port to FlickrNet 3.2
+ patch -Np1 -i "$srcdir/flickrnet-3.2.patch"
+
+ # Disable some plugins
+ sed -i '/AptURL/d
+ /DiskMounter/d
+ /Transmission/d' Makefile.{am,in}
+
+ # Port to dbus-sharp-2
+ patch -Np1 -i ../use_dbussharp_2.patch
+}
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ autoreconf -fi
+ ./configure --prefix=/usr --enable-release
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+}
Copied: gnome-do-plugins/repos/community-staging-any/flickrnet-3.2.patch (from rev 128253, gnome-do-plugins/trunk/flickrnet-3.2.patch)
===================================================================
--- community-staging-any/flickrnet-3.2.patch (rev 0)
+++ community-staging-any/flickrnet-3.2.patch 2015-02-26 13:12:29 UTC (rev 128254)
@@ -0,0 +1,12 @@
+diff -Naur gnome-do-plugins-0.8.4.orig/Flickr/src/AccountConfig.cs gnome-do-plugins-0.8.4/Flickr/src/AccountConfig.cs
+--- gnome-do-plugins-0.8.4.orig/Flickr/src/AccountConfig.cs 2011-05-29 03:45:52.000000000 +0200
++++ gnome-do-plugins-0.8.4/Flickr/src/AccountConfig.cs 2011-11-30 12:14:02.239286506 +0100
+@@ -99,7 +99,7 @@
+ try {
+ Auth auth = flickr.AuthGetToken(Frob);
+ AuthToken = auth.Token;
+- Username = auth.User.Username;
++ Username = auth.User.UserName;
+ flickr = new FlickrNet.Flickr (ApiKey, ApiSecret, AuthToken);
+ SetBtnStateComplete ();
+ } catch (FlickrNet.FlickrException ex) {
Copied: gnome-do-plugins/repos/community-staging-any/use_dbussharp_2.patch (from rev 128253, gnome-do-plugins/trunk/use_dbussharp_2.patch)
===================================================================
--- community-staging-any/use_dbussharp_2.patch (rev 0)
+++ community-staging-any/use_dbussharp_2.patch 2015-02-26 13:12:29 UTC (rev 128254)
@@ -0,0 +1,33 @@
+From: Debian CLI Applications Team <pkg-cli-apps-team at lists.alioth.debian.org>
+Date: Tue, 18 Nov 2014 10:07:49 +0800
+Subject: use_dbussharp_2
+
+===================================================================
+---
+ configure.ac | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index 166dfd4..db2b685 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -44,7 +44,7 @@ fi
+ AC_MSG_RESULT([$BANSHEE_COLLECTION_INDEXER])
+
+ AC_MSG_CHECKING([which DBus implementation Banshee.CollectionIndexer requires])
+-if $PKG_CONFIG --print-requires $BANSHEE_COLLECTION_INDEXER 2>&1 | grep dbus-sharp-1.0 > /dev/null ; then
++if $PKG_CONFIG --print-requires $BANSHEE_COLLECTION_INDEXER 2>&1 | grep dbus-sharp-2.0 > /dev/null ; then
+ BANSHEE_USE_DBUS_SHARP=yes
+ AC_MSG_RESULT([dbus-sharp])
+ else
+@@ -53,8 +53,8 @@ else
+ fi
+
+ dnl -- DBus# required for Banshee and Telepathy support
+-PKG_CHECK_MODULES([DBUS_SHARP], [dbus-sharp-1.0], HAVE_DBUS_SHARP=yes, HAVE_DBUS_SHARP=no)
+-PKG_CHECK_MODULES([DBUS_SHARP_GLIB], [dbus-sharp-glib-1.0], HAVE_DBUS_SHARP_GLIB=yes, HAVE_DBUS_SNARP_GLIB=no)
++PKG_CHECK_MODULES([DBUS_SHARP], [dbus-sharp-2.0], HAVE_DBUS_SHARP=yes, HAVE_DBUS_SHARP=no)
++PKG_CHECK_MODULES([DBUS_SHARP_GLIB], [dbus-sharp-glib-2.0], HAVE_DBUS_SHARP_GLIB=yes, HAVE_DBUS_SNARP_GLIB=no)
+
+ if test "x$HAVE_DBUS_SHARP" = "xyes" ; then
+ DBUS_BUILD_DEFINES=-define:USE_DBUS_SHARP
More information about the arch-commits
mailing list