summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gnome-phone-manager/.md5sum.i6861
-rw-r--r--gnome-phone-manager/.md5sum.x86_641
-rw-r--r--gnome-phone-manager/Pkgfile7
-rw-r--r--gnome-phone-manager/gnome-bluetooth-3.3.patch34
4 files changed, 41 insertions, 2 deletions
diff --git a/gnome-phone-manager/.md5sum.i686 b/gnome-phone-manager/.md5sum.i686
index d40b894..18cffad 100644
--- a/gnome-phone-manager/.md5sum.i686
+++ b/gnome-phone-manager/.md5sum.i686
@@ -1 +1,2 @@
+6eca9b772a3aae81343330f3db8dbe0f gnome-bluetooth-3.3.patch
c086d434bf07c8da06b03ef19c2816e3 gnome-phone-manager-0.68.tar.xz
diff --git a/gnome-phone-manager/.md5sum.x86_64 b/gnome-phone-manager/.md5sum.x86_64
index d40b894..18cffad 100644
--- a/gnome-phone-manager/.md5sum.x86_64
+++ b/gnome-phone-manager/.md5sum.x86_64
@@ -1 +1,2 @@
+6eca9b772a3aae81343330f3db8dbe0f gnome-bluetooth-3.3.patch
c086d434bf07c8da06b03ef19c2816e3 gnome-phone-manager-0.68.tar.xz
diff --git a/gnome-phone-manager/Pkgfile b/gnome-phone-manager/Pkgfile
index f07fc25..b4cf151 100644
--- a/gnome-phone-manager/Pkgfile
+++ b/gnome-phone-manager/Pkgfile
@@ -7,11 +7,14 @@
name=gnome-phone-manager
version=0.68
-release=1
-source=(http://download.gnome.org/sources/$name/$version/$name-$version.tar.xz)
+release=2
+source=(http://download.gnome.org/sources/$name/$version/$name-$version.tar.xz
+ gnome-bluetooth-3.3.patch)
build() {
cd $name-$version
+ patch -p1 < ../gnome-bluetooth-3.3.patch
+ autoconf
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var
diff --git a/gnome-phone-manager/gnome-bluetooth-3.3.patch b/gnome-phone-manager/gnome-bluetooth-3.3.patch
new file mode 100644
index 0000000..2200f9d
--- /dev/null
+++ b/gnome-phone-manager/gnome-bluetooth-3.3.patch
@@ -0,0 +1,34 @@
+From 2877c3a41b7e8feeb6eb6d6f718f4556ffb0161c Mon Sep 17 00:00:00 2001
+From: Dominique Leuenberger <dimstar@opensuse.org>
+Date: Mon, 05 Dec 2011 08:10:59 +0000
+Subject: Bug 665309: Adapt to gnome-bluetooth 3.3 API
+
+---
+diff --git a/configure.in b/configure.in
+index 101a77f..d0a7651 100644
+--- a/configure.in
++++ b/configure.in
+@@ -13,7 +13,7 @@ dnl Initialize libtool
+ AM_PROG_LIBTOOL
+
+ GNOKII_REQS="gnokii >= 0.6.28"
+-GNOME_BLUETOOTH_REQS="gnome-bluetooth-1.0 >= 3.0"
++GNOME_BLUETOOTH_REQS="gnome-bluetooth-1.0 >= 3.3"
+
+ AC_PROG_CC
+ AC_PROG_INSTALL
+diff --git a/gnome-bluetooth/phonemgr.c b/gnome-bluetooth/phonemgr.c
+index 9ebac12..fecc367 100644
+--- a/gnome-bluetooth/phonemgr.c
++++ b/gnome-bluetooth/phonemgr.c
+@@ -44,7 +44,7 @@ get_type (const char *address)
+ gboolean cont;
+
+ client = bluetooth_client_new ();
+- model = bluetooth_client_get_device_model (client, NULL);
++ model = bluetooth_client_get_device_model (client);
+ if (model == NULL) {
+ g_object_unref (client);
+ return type;
+--
+cgit v0.9.0.2