summaryrefslogtreecommitdiffstats
path: root/gnome-phone-manager
diff options
context:
space:
mode:
authorpiernov <piernov@piernov.org>2012-02-04 17:22:25 +0100
committerpiernov <piernov@piernov.org>2012-02-04 17:22:25 +0100
commitdaed4c683c5c3a301d598fb02ef7dd8694e9e409 (patch)
treedf6763f14d2b2bfd2b02681b418306df654bb178 /gnome-phone-manager
parent83429dcae76bc755442df8d76436a107b573632e (diff)
downloadgnome3-daed4c683c5c3a301d598fb02ef7dd8694e9e409.tar.gz
gnome3-daed4c683c5c3a301d598fb02ef7dd8694e9e409.tar.bz2
gnome3-daed4c683c5c3a301d598fb02ef7dd8694e9e409.tar.xz
gnome3-daed4c683c5c3a301d598fb02ef7dd8694e9e409.zip
gnome-phone-manager 0.68-2 correction port gnome-bluetooth 3.3
Diffstat (limited to 'gnome-phone-manager')
-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