[arch-commits] Commit in ubuntuone-client/repos (8 files)
Ángel Velásquez
angvp at nymeria.archlinux.org
Mon Aug 19 10:59:02 UTC 2013
Date: Monday, August 19, 2013 @ 12:59:01
Author: angvp
Revision: 96030
archrelease: copy trunk to community-testing-i686, community-testing-x86_64
Added:
ubuntuone-client/repos/community-testing-i686/
ubuntuone-client/repos/community-testing-i686/PKGBUILD
(from rev 96029, ubuntuone-client/trunk/PKGBUILD)
ubuntuone-client/repos/community-testing-i686/fix-notify-hint.patch
(from rev 96029, ubuntuone-client/trunk/fix-notify-hint.patch)
ubuntuone-client/repos/community-testing-i686/ubuntuone-client.install
(from rev 96029, ubuntuone-client/trunk/ubuntuone-client.install)
ubuntuone-client/repos/community-testing-x86_64/
ubuntuone-client/repos/community-testing-x86_64/PKGBUILD
(from rev 96029, ubuntuone-client/trunk/PKGBUILD)
ubuntuone-client/repos/community-testing-x86_64/fix-notify-hint.patch
(from rev 96029, ubuntuone-client/trunk/fix-notify-hint.patch)
ubuntuone-client/repos/community-testing-x86_64/ubuntuone-client.install
(from rev 96029, ubuntuone-client/trunk/ubuntuone-client.install)
---------------------------------------------------+
community-testing-i686/PKGBUILD | 49 ++++++++++++++++++++
community-testing-i686/fix-notify-hint.patch | 19 +++++++
community-testing-i686/ubuntuone-client.install | 11 ++++
community-testing-x86_64/PKGBUILD | 49 ++++++++++++++++++++
community-testing-x86_64/fix-notify-hint.patch | 19 +++++++
community-testing-x86_64/ubuntuone-client.install | 11 ++++
6 files changed, 158 insertions(+)
Copied: ubuntuone-client/repos/community-testing-i686/PKGBUILD (from rev 96029, ubuntuone-client/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2013-08-19 10:59:01 UTC (rev 96030)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+
+pkgname=ubuntuone-client
+pkgver=4.2.0
+pkgrel=2
+pkgdesc="Ubuntu One helps you store, sync and share files between your computers"
+arch=('i686' 'x86_64')
+url="https://launchpad.net/ubuntuone-client"
+license=('GPL' 'CCPL:cc-by-sa')
+depends=('dbus-glib' 'python2-configglue' 'python2-setuptools' 'python2-gobject' 'libnotify' 'python2-pyinotify' 'ubuntu-sso-client' 'python2-ubuntuone-storageprotocol' 'hicolor-icon-theme' 'xdg-utils')
+makedepends=('intltool' 'imake' 'python2-distutils-extra')
+options=('!libtool')
+install=$pkgname.install
+source=(https://launchpad.net/ubuntuone-client/stable-4-2/$pkgver/+download/$pkgname-$pkgver.tar.gz
+ https://launchpad.net/ubuntuone-client-data/stable-4-2/$pkgver/+download/$pkgname-data-$pkgver.tar.gz
+ fix-notify-hint.patch)
+md5sums=('37d2de5c6e795e75f447682ee1c3bacc'
+ 'd3c445a9957a80471a84f323f24e8f84'
+ 'c38cb043e3241f12610ed6eb9ae0f087')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ # Python2 fix
+ sed -i 's@^#!.*python$@#!/usr/bin/python2@' bin/*
+
+ # Workaround for crash in notification-daemon
+ # https://bugzilla.gnome.org/show_bug.cgi?id=665166
+ patch -Np1 -i "$srcdir/fix-notify-hint.patch"
+
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib/$pkgname \
+ --disable-static \
+ PYTHON=python2
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir/" install
+
+ # Install data
+ cd "$srcdir/$pkgname-data-$pkgver"
+ python2 setup.py install --root=$pkgdir/ --optimize=1
+
+ # We don't have Apport in Arch Linux
+ rm -r "$pkgdir"/{etc/apport,usr/share/apport}
+}
Copied: ubuntuone-client/repos/community-testing-i686/fix-notify-hint.patch (from rev 96029, ubuntuone-client/trunk/fix-notify-hint.patch)
===================================================================
--- community-testing-i686/fix-notify-hint.patch (rev 0)
+++ community-testing-i686/fix-notify-hint.patch 2013-08-19 10:59:01 UTC (rev 96030)
@@ -0,0 +1,19 @@
+diff -Naur ubuntuone-client-4.2.0.orig/ubuntuone/platform/notification/linux.py ubuntuone-client-4.2.0/ubuntuone/platform/notification/linux.py
+--- ubuntuone-client-4.2.0.orig/ubuntuone/platform/notification/linux.py 2013-04-01 16:37:48.530956424 +0000
++++ ubuntuone-client-4.2.0/ubuntuone/platform/notification/linux.py 2013-04-01 16:38:32.333945773 +0000
+@@ -32,7 +32,7 @@
+ USE_NOTIFY = False
+
+ try:
+- from gi.repository import Notify
++ from gi.repository import GLib, Notify
+ USE_NOTIFY = True
+ except ImportError:
+ pass
+@@ -67,5 +67,5 @@
+ if append:
+ self.notification.set_hint_string('x-canonical-append', '')
+
+- self.notification.set_hint_int32('transient', int(True))
++ self.notification.set_hint('transient', GLib.Variant.new_boolean(1))
+ self.notification.show()
Copied: ubuntuone-client/repos/community-testing-i686/ubuntuone-client.install (from rev 96029, ubuntuone-client/trunk/ubuntuone-client.install)
===================================================================
--- community-testing-i686/ubuntuone-client.install (rev 0)
+++ community-testing-i686/ubuntuone-client.install 2013-08-19 10:59:01 UTC (rev 96030)
@@ -0,0 +1,11 @@
+post_install() {
+ xdg-icon-resource forceupdate
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}
Copied: ubuntuone-client/repos/community-testing-x86_64/PKGBUILD (from rev 96029, ubuntuone-client/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2013-08-19 10:59:01 UTC (rev 96030)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+
+pkgname=ubuntuone-client
+pkgver=4.2.0
+pkgrel=2
+pkgdesc="Ubuntu One helps you store, sync and share files between your computers"
+arch=('i686' 'x86_64')
+url="https://launchpad.net/ubuntuone-client"
+license=('GPL' 'CCPL:cc-by-sa')
+depends=('dbus-glib' 'python2-configglue' 'python2-setuptools' 'python2-gobject' 'libnotify' 'python2-pyinotify' 'ubuntu-sso-client' 'python2-ubuntuone-storageprotocol' 'hicolor-icon-theme' 'xdg-utils')
+makedepends=('intltool' 'imake' 'python2-distutils-extra')
+options=('!libtool')
+install=$pkgname.install
+source=(https://launchpad.net/ubuntuone-client/stable-4-2/$pkgver/+download/$pkgname-$pkgver.tar.gz
+ https://launchpad.net/ubuntuone-client-data/stable-4-2/$pkgver/+download/$pkgname-data-$pkgver.tar.gz
+ fix-notify-hint.patch)
+md5sums=('37d2de5c6e795e75f447682ee1c3bacc'
+ 'd3c445a9957a80471a84f323f24e8f84'
+ 'c38cb043e3241f12610ed6eb9ae0f087')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ # Python2 fix
+ sed -i 's@^#!.*python$@#!/usr/bin/python2@' bin/*
+
+ # Workaround for crash in notification-daemon
+ # https://bugzilla.gnome.org/show_bug.cgi?id=665166
+ patch -Np1 -i "$srcdir/fix-notify-hint.patch"
+
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib/$pkgname \
+ --disable-static \
+ PYTHON=python2
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir/" install
+
+ # Install data
+ cd "$srcdir/$pkgname-data-$pkgver"
+ python2 setup.py install --root=$pkgdir/ --optimize=1
+
+ # We don't have Apport in Arch Linux
+ rm -r "$pkgdir"/{etc/apport,usr/share/apport}
+}
Copied: ubuntuone-client/repos/community-testing-x86_64/fix-notify-hint.patch (from rev 96029, ubuntuone-client/trunk/fix-notify-hint.patch)
===================================================================
--- community-testing-x86_64/fix-notify-hint.patch (rev 0)
+++ community-testing-x86_64/fix-notify-hint.patch 2013-08-19 10:59:01 UTC (rev 96030)
@@ -0,0 +1,19 @@
+diff -Naur ubuntuone-client-4.2.0.orig/ubuntuone/platform/notification/linux.py ubuntuone-client-4.2.0/ubuntuone/platform/notification/linux.py
+--- ubuntuone-client-4.2.0.orig/ubuntuone/platform/notification/linux.py 2013-04-01 16:37:48.530956424 +0000
++++ ubuntuone-client-4.2.0/ubuntuone/platform/notification/linux.py 2013-04-01 16:38:32.333945773 +0000
+@@ -32,7 +32,7 @@
+ USE_NOTIFY = False
+
+ try:
+- from gi.repository import Notify
++ from gi.repository import GLib, Notify
+ USE_NOTIFY = True
+ except ImportError:
+ pass
+@@ -67,5 +67,5 @@
+ if append:
+ self.notification.set_hint_string('x-canonical-append', '')
+
+- self.notification.set_hint_int32('transient', int(True))
++ self.notification.set_hint('transient', GLib.Variant.new_boolean(1))
+ self.notification.show()
Copied: ubuntuone-client/repos/community-testing-x86_64/ubuntuone-client.install (from rev 96029, ubuntuone-client/trunk/ubuntuone-client.install)
===================================================================
--- community-testing-x86_64/ubuntuone-client.install (rev 0)
+++ community-testing-x86_64/ubuntuone-client.install 2013-08-19 10:59:01 UTC (rev 96030)
@@ -0,0 +1,11 @@
+post_install() {
+ xdg-icon-resource forceupdate
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}
More information about the arch-commits
mailing list