From 4ba1ae02f5991ab191788ae43c5499799b826e3b Mon Sep 17 00:00:00 2001 From: James Meyer Date: Wed, 15 Aug 2012 10:43:36 -0500 Subject: geoclue 0.12.0 -new --- abs/extra/geoclue/PKGBUILD | 39 +++++++++++++++++++++++++++++++++++ abs/extra/geoclue/__changelog | 1 + abs/extra/geoclue/geoclue-gcc46.patch | 23 +++++++++++++++++++++ 3 files changed, 63 insertions(+) create mode 100644 abs/extra/geoclue/PKGBUILD create mode 100644 abs/extra/geoclue/__changelog create mode 100644 abs/extra/geoclue/geoclue-gcc46.patch diff --git a/abs/extra/geoclue/PKGBUILD b/abs/extra/geoclue/PKGBUILD new file mode 100644 index 0000000..78936e4 --- /dev/null +++ b/abs/extra/geoclue/PKGBUILD @@ -0,0 +1,39 @@ +# $Id: PKGBUILD 156782 2012-04-23 09:05:31Z ibiru $ +# Maintainer: Jan Alexander Steffens (heftig) +# Contributor: György Balló + +pkgname=geoclue +pkgver=0.12.0 +pkgrel=5 +pkgdesc="Modular geoinformation service built on the D-Bus messaging system." +arch=('i686' 'x86_64') +url="http://geoclue.freedesktop.org/" +license=('LGPL') +depends=('dbus-glib' 'libxml2') +optdepends=('networkmanager: geolocation' + 'gconf: geolocation' + 'libsoup-gnome: Skyhook location provider') +makedepends=('gconf' 'libsoup-gnome' 'gtk-doc') +options=('!libtool') +source=(https://launchpad.net/geoclue/trunk/${pkgver%.*}/+download/$pkgname-$pkgver.tar.gz + geoclue-gcc46.patch) +md5sums=('33af8307f332e0065af056ecba65fec2' + '0cf8ecc350be702f623ed9a9715818c5') + +build() { + cd $pkgname-$pkgver + patch -Np1 -i ../geoclue-gcc46.patch + + sed -i 's/libnm_glib/libnm-glib/g' configure.ac + sed -i '/libsoup-gnome/s/$/ gthread-2.0/' configure.ac + autoreconf -f -i + + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib/$pkgname \ + --disable-static + make +} + +package() { + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install +} diff --git a/abs/extra/geoclue/__changelog b/abs/extra/geoclue/__changelog new file mode 100644 index 0000000..bffe724 --- /dev/null +++ b/abs/extra/geoclue/__changelog @@ -0,0 +1 @@ +removed networkmanager diff --git a/abs/extra/geoclue/geoclue-gcc46.patch b/abs/extra/geoclue/geoclue-gcc46.patch new file mode 100644 index 0000000..11bf485 --- /dev/null +++ b/abs/extra/geoclue/geoclue-gcc46.patch @@ -0,0 +1,23 @@ +From 90669619d1d621080ef00dcb8db1c3d206ee0bfe Mon Sep 17 00:00:00 2001 +From: Dan Williams +Date: Mon, 07 Mar 2011 23:46:15 +0000 +Subject: master: Fix warning with GCC 4.6 + +--- +diff --git a/src/master-provider.c b/src/master-provider.c +index 790c043..e4ea053 100644 +--- a/src/master-provider.c ++++ b/src/master-provider.c +@@ -846,10 +846,6 @@ gc_master_provider_initialize_interfaces (GcMasterProvider *provider) + static gboolean + gc_master_provider_initialize (GcMasterProvider *provider) + { +- GcMasterProviderPrivate *priv; +- +- priv = GET_PRIVATE (provider); +- + if (!gc_master_provider_initialize_interfaces (provider)) { + return FALSE; + } +-- +cgit v0.8.3-6-g21f6 -- cgit v0.12