[arch-commits] Commit in geoclue/repos (4 files)

Ionut Biru ibiru at archlinux.org
Mon Apr 23 05:05:31 EDT 2012


    Date: Monday, April 23, 2012 @ 05:05:30
  Author: ibiru
Revision: 156781

db-move: moved geoclue from [testing] to [extra] (i686)

Added:
  geoclue/repos/extra-i686/
  geoclue/repos/extra-i686/PKGBUILD
    (from rev 156695, geoclue/repos/testing-i686/PKGBUILD)
  geoclue/repos/extra-i686/geoclue-gcc46.patch
    (from rev 156695, geoclue/repos/testing-i686/geoclue-gcc46.patch)
Deleted:
  geoclue/repos/testing-i686/

---------------------+
 PKGBUILD            |   39 +++++++++++++++++++++++++++++++++++++++
 geoclue-gcc46.patch |   23 +++++++++++++++++++++++
 2 files changed, 62 insertions(+)

Copied: geoclue/repos/extra-i686/PKGBUILD (from rev 156695, geoclue/repos/testing-i686/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD	                        (rev 0)
+++ extra-i686/PKGBUILD	2012-04-23 09:05:30 UTC (rev 156781)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: György Balló <ballogy at freestart.hu>
+
+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' 'networkmanager' '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
+}

Copied: geoclue/repos/extra-i686/geoclue-gcc46.patch (from rev 156695, geoclue/repos/testing-i686/geoclue-gcc46.patch)
===================================================================
--- extra-i686/geoclue-gcc46.patch	                        (rev 0)
+++ extra-i686/geoclue-gcc46.patch	2012-04-23 09:05:30 UTC (rev 156781)
@@ -0,0 +1,23 @@
+From 90669619d1d621080ef00dcb8db1c3d206ee0bfe Mon Sep 17 00:00:00 2001
+From: Dan Williams <dcbw at redhat.com>
+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



More information about the arch-commits mailing list