diff options
author | root <root@rshg054.dnsready.net> | 2012-05-01 00:01:20 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-05-01 00:01:20 +0000 |
commit | 752015395fc8b95cc4a86b68189cb747fe9a8499 (patch) | |
tree | 3e64f1f739447b52eab8498bf13bcbc9410cde8e /extra/gnome-phone-manager | |
parent | b7cd4b184f75d3d2b54b356e08f296df3a9afb38 (diff) |
Tue May 1 00:01:20 UTC 2012
Diffstat (limited to 'extra/gnome-phone-manager')
-rw-r--r-- | extra/gnome-phone-manager/PKGBUILD | 20 | ||||
-rw-r--r-- | extra/gnome-phone-manager/phonemgr-gnome-bluetooth-3.3.patch | 34 |
2 files changed, 46 insertions, 8 deletions
diff --git a/extra/gnome-phone-manager/PKGBUILD b/extra/gnome-phone-manager/PKGBUILD index 4bce16951..a9e098140 100644 --- a/extra/gnome-phone-manager/PKGBUILD +++ b/extra/gnome-phone-manager/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 140561 2011-10-17 08:06:31Z heftig $ +# $Id: PKGBUILD 157740 2012-04-29 05:35:15Z eric $ # Maintainer: Roman Kyrylych <roman@archlinux.org> pkgname=gnome-phone-manager pkgver=0.68 -pkgrel=1 +pkgrel=2 pkgdesc="Control your mobile phone from your GNOME desktop." arch=('i686' 'x86_64') url="http://live.gnome.org/PhoneManager" @@ -12,13 +12,17 @@ depends=('evolution-data-server' 'gnokii' 'gnome-bluetooth' 'gnome-icon-theme' ' makedepends=('intltool' 'gnome-common') options=('!emptydirs' '!libtool') install=gnome-phone-manager.install -source=(http://ftp.gnome.org/pub/GNOME/sources/gnome-phone-manager/${pkgver}/${pkgname}-${pkgver}.tar.xz) -sha256sums=('3777b62ee36492274532ece965f4688600457014f17a6f21dd01fb63bbb77f8f') +source=(http://ftp.gnome.org/pub/GNOME/sources/gnome-phone-manager/${pkgver}/${pkgname}-${pkgver}.tar.xz + phonemgr-gnome-bluetooth-3.3.patch) +sha256sums=('3777b62ee36492274532ece965f4688600457014f17a6f21dd01fb63bbb77f8f' + 'a69c1d2d1d25eca4f32215d8a8ca3c8e4a048af76d7a291b86b0aa7f0f65c452') build() { cd "${srcdir}/${pkgname}-${pkgver}" - ./configure --prefix=/usr --sysconfdir=/etc \ - --localstatedir=/var --disable-static + patch -p1 -i ../phonemgr-gnome-bluetooth-3.3.patch + autoreconf -fi + LIBS+="-lgthread-2.0" ./configure --prefix=/usr --sysconfdir=/etc \ + --localstatedir=/var --disable-static make } @@ -27,6 +31,6 @@ package() { make DESTDIR="${pkgdir}" GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 install install -m755 -d "${pkgdir}/usr/share/gconf/schemas" - gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain gnome-phone-manager ${pkgdir}/etc/gconf/schemas/*.schemas - rm -f ${pkgdir}/etc/gconf/schemas/*.schemas + gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain gnome-phone-manager "${pkgdir}"/etc/gconf/schemas/*.schemas + rm -f "${pkgdir}"/etc/gconf/schemas/*.schemas } diff --git a/extra/gnome-phone-manager/phonemgr-gnome-bluetooth-3.3.patch b/extra/gnome-phone-manager/phonemgr-gnome-bluetooth-3.3.patch new file mode 100644 index 000000000..2200f9dcf --- /dev/null +++ b/extra/gnome-phone-manager/phonemgr-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 |