[arch-commits] Commit in (5 files)

Jan Steffens heftig at archlinux.org
Thu Mar 29 19:56:29 EDT 2012


    Date: Thursday, March 29, 2012 @ 19:56:29
  Author: heftig
Revision: 154544

add geoclue, for libwebkit 1.8.0

Added:
  geoclue/
  geoclue/repos/
  geoclue/trunk/
  geoclue/trunk/PKGBUILD
  geoclue/trunk/geoclue-gcc46.patch

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

Added: geoclue/trunk/PKGBUILD
===================================================================
--- geoclue/trunk/PKGBUILD	                        (rev 0)
+++ geoclue/trunk/PKGBUILD	2012-03-29 23:56:29 UTC (rev 154544)
@@ -0,0 +1,31 @@
+# $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=4
+pkgdesc="Modular geoinformation service built on the D-Bus messaging system."
+arch=('i686' 'x86_64')
+url="http://geoclue.freedesktop.org/"
+license=('LGPL')
+depends=('gconf' 'gtk2' 'libsoup-gnome' 'networkmanager')
+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
+  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib/$pkgname \
+              --disable-static --enable-skyhook=no
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+}


Property changes on: geoclue/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
Added: geoclue/trunk/geoclue-gcc46.patch
===================================================================
--- geoclue/trunk/geoclue-gcc46.patch	                        (rev 0)
+++ geoclue/trunk/geoclue-gcc46.patch	2012-03-29 23:56:29 UTC (rev 154544)
@@ -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