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

Jan Steffens heftig at archlinux.org
Sun Apr 1 07:32:24 EDT 2012


    Date: Sunday, April 1, 2012 @ 07:32:23
  Author: heftig
Revision: 155082

db-move: moved geoclue from [gnome-unstable] to [testing] (x86_64)

Added:
  geoclue/repos/testing-x86_64/
  geoclue/repos/testing-x86_64/PKGBUILD
    (from rev 155005, geoclue/repos/gnome-unstable-x86_64/PKGBUILD)
  geoclue/repos/testing-x86_64/geoclue-gcc46.patch
    (from rev 155005, geoclue/repos/gnome-unstable-x86_64/geoclue-gcc46.patch)
Deleted:
  geoclue/repos/gnome-unstable-x86_64/

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

Copied: geoclue/repos/testing-x86_64/PKGBUILD (from rev 155005, geoclue/repos/gnome-unstable-x86_64/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2012-04-01 11:32:23 UTC (rev 155082)
@@ -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
+}

Copied: geoclue/repos/testing-x86_64/geoclue-gcc46.patch (from rev 155005, geoclue/repos/gnome-unstable-x86_64/geoclue-gcc46.patch)
===================================================================
--- testing-x86_64/geoclue-gcc46.patch	                        (rev 0)
+++ testing-x86_64/geoclue-gcc46.patch	2012-04-01 11:32:23 UTC (rev 155082)
@@ -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