[arch-commits] Commit in tasque/trunk (3 files)

Jan de Groot jgc at archlinux.org
Thu Feb 26 13:20:36 UTC 2015


    Date: Thursday, February 26, 2015 @ 14:20:36
  Author: jgc
Revision: 128258

upgpkg: tasque 0.1.12-3

Added:
  tasque/trunk/dbus-sharp-2-porting.patch
  tasque/trunk/use_dbussharp_2.patch
Modified:
  tasque/trunk/PKGBUILD

----------------------------+
 PKGBUILD                   |   16 +++++++++++++---
 dbus-sharp-2-porting.patch |   22 ++++++++++++++++++++++
 use_dbussharp_2.patch      |   32 ++++++++++++++++++++++++++++++++
 3 files changed, 67 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-02-26 13:17:20 UTC (rev 128257)
+++ PKGBUILD	2015-02-26 13:20:36 UTC (rev 128258)
@@ -3,7 +3,7 @@
 
 pkgname=tasque
 pkgver=0.1.12
-pkgrel=2
+pkgrel=3
 pkgdesc="Easy quick task management app written in C Sharp"
 arch=('any')
 url="https://wiki.gnome.org/Apps/Tasque"
@@ -11,11 +11,21 @@
 depends=('notify-sharp' 'sqlite' 'hicolor-icon-theme' 'xdg-utils')
 makedepends=('intltool')
 install=$pkgname.install
-source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
-sha256sums=('db4d4a822cfa87ce8cf311189e17fa8fbda37e7c943874b6bf62c6a84b2d824d')
+source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz
+        dbus-sharp-2-porting.patch
+        use_dbussharp_2.patch)
+sha256sums=('db4d4a822cfa87ce8cf311189e17fa8fbda37e7c943874b6bf62c6a84b2d824d'
+            '9bcd0f2e854ade96203a44ca7e322d20e0a197057ea2c2271099720a211006b1'
+            'b75cdba593bcd28beef7e55212511f5ebedda38a25c210b16226d9db4b180ef6')
 
+prepare() {
+  cd $pkgname-$pkgver
+  patch -Np1 -i ../dbus-sharp-2-porting.patch
+  patch -Np1 -i ../use_dbussharp_2.patch
+}
 build() {
   cd "$srcdir/$pkgname-$pkgver"
+  autoreconf -fi
   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
               --disable-static --disable-appindicator
   make

Added: dbus-sharp-2-porting.patch
===================================================================
--- dbus-sharp-2-porting.patch	                        (rev 0)
+++ dbus-sharp-2-porting.patch	2015-02-26 13:20:36 UTC (rev 128258)
@@ -0,0 +1,22 @@
+Description: Port to dbus#2 API
+Forwarded: not-needed
+
+--- tasque-0.1.12.orig/src/Gtk.Tasque/RemoteControlProxy.cs
++++ tasque-0.1.12/src/Gtk.Tasque/RemoteControlProxy.cs
+@@ -22,8 +22,7 @@ namespace Tasque
+ 			BusG.Init ();
+ 
+ 			RemoteControl remote_control = new RemoteControl ();
+-			Bus.Session.Register (Namespace,
+-			                      new ObjectPath (Path),
++			Bus.Session.Register (new ObjectPath (Path),
+ 			                      remote_control);
+ 
+ 			if (Bus.Session.RequestName (Namespace)
+@@ -33,4 +32,4 @@ namespace Tasque
+ 			return remote_control;
+ 		}
+ 	}
+-}
+\ No newline at end of file
++}

Added: use_dbussharp_2.patch
===================================================================
--- use_dbussharp_2.patch	                        (rev 0)
+++ use_dbussharp_2.patch	2015-02-26 13:20:36 UTC (rev 128258)
@@ -0,0 +1,32 @@
+Index: tasque/configure.ac
+===================================================================
+--- tasque.orig/configure.ac	2013-11-29 00:41:30.025341888 +0000
++++ tasque/configure.ac	2013-11-29 00:41:30.021341888 +0000
+@@ -65,8 +65,8 @@
+ PKG_CHECK_MODULES([GTK_SHARP_20], [gtk-sharp-2.0 >= 2.10.0])
+ PKG_CHECK_MODULES([GTK_SHARP_2_12], gtk-sharp-2.0 >= 2.12.0, GTK_2_12="yes", GTK_2_12="no")
+ AM_CONDITIONAL(GTK_2_12, test "$GTK_2_12" = "yes")
+-PKG_CHECK_MODULES([DBUS_SHARP_10], [dbus-sharp-1.0])
+-PKG_CHECK_MODULES([DBUS_SHARP_GLIB_10], [dbus-sharp-glib-1.0])
++PKG_CHECK_MODULES([DBUS_SHARP_10], [dbus-sharp-2.0])
++PKG_CHECK_MODULES([DBUS_SHARP_GLIB_10], [dbus-sharp-glib-2.0])
+ 
+ #
+ # Allow the project to build without notify-sharp
+Index: tasque/src/Gtk.Tasque/Gtk.Tasque.csproj
+===================================================================
+--- tasque.orig/src/Gtk.Tasque/Gtk.Tasque.csproj	2013-11-29 00:33:43.000000000 +0000
++++ tasque/src/Gtk.Tasque/Gtk.Tasque.csproj	2013-11-29 00:41:53.765341045 +0000
+@@ -63,10 +63,10 @@
+     <Reference Include="notify-sharp, Version=0.4.0.0, Culture=neutral, PublicKeyToken=2df29c54e245917a">
+       <Private>False</Private>
+     </Reference>
+-    <Reference Include="dbus-sharp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=5675b0c3093115b5">
++    <Reference Include="dbus-sharp, Version=2.0.0.0, Culture=neutral, PublicKeyToken=5675b0c3093115b5">
+       <Private>False</Private>
+     </Reference>
+-    <Reference Include="dbus-sharp-glib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=5675b0c3093115b5">
++    <Reference Include="dbus-sharp-glib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=5675b0c3093115b5">
+       <Private>False</Private>
+     </Reference>
+   </ItemGroup>



More information about the arch-commits mailing list