Date: Thursday, February 26, 2015 @ 14:20:41
  Author: jgc
Revision: 128259

archrelease: copy trunk to community-staging-any

Added:
  tasque/repos/community-staging-any/
  tasque/repos/community-staging-any/PKGBUILD
    (from rev 128258, tasque/trunk/PKGBUILD)
  tasque/repos/community-staging-any/dbus-sharp-2-porting.patch
    (from rev 128258, tasque/trunk/dbus-sharp-2-porting.patch)
  tasque/repos/community-staging-any/tasque.install
    (from rev 128258, tasque/trunk/tasque.install)
  tasque/repos/community-staging-any/use_dbussharp_2.patch
    (from rev 128258, tasque/trunk/use_dbussharp_2.patch)

----------------------------+
 PKGBUILD                   |   38 ++++++++++++++++++++++++++++++++++++++
 dbus-sharp-2-porting.patch |   22 ++++++++++++++++++++++
 tasque.install             |   11 +++++++++++
 use_dbussharp_2.patch      |   32 ++++++++++++++++++++++++++++++++
 4 files changed, 103 insertions(+)

Copied: tasque/repos/community-staging-any/PKGBUILD (from rev 128258, 
tasque/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2015-02-26 13:20:41 UTC (rev 128259)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+
+pkgname=tasque
+pkgver=0.1.12
+pkgrel=3
+pkgdesc="Easy quick task management app written in C Sharp"
+arch=('any')
+url="https://wiki.gnome.org/Apps/Tasque";
+license=('MIT')
+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
+        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
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" install
+  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+}

Copied: tasque/repos/community-staging-any/dbus-sharp-2-porting.patch (from rev 
128258, tasque/trunk/dbus-sharp-2-porting.patch)
===================================================================
--- community-staging-any/dbus-sharp-2-porting.patch                            
(rev 0)
+++ community-staging-any/dbus-sharp-2-porting.patch    2015-02-26 13:20:41 UTC 
(rev 128259)
@@ -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
++}

Copied: tasque/repos/community-staging-any/tasque.install (from rev 128258, 
tasque/trunk/tasque.install)
===================================================================
--- community-staging-any/tasque.install                                (rev 0)
+++ community-staging-any/tasque.install        2015-02-26 13:20:41 UTC (rev 
128259)
@@ -0,0 +1,11 @@
+post_install() {
+  xdg-icon-resource forceupdate
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+post_remove() {
+  post_install $1
+}

Copied: tasque/repos/community-staging-any/use_dbussharp_2.patch (from rev 
128258, tasque/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:20:41 UTC (rev 
128259)
@@ -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>

Reply via email to