From c1b94c8db2340ca0dbb6c945df78c68fd0f5a95b Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 10 Oct 2012 16:42:26 +0200 Subject: [PATCH] geoclue: rebuild with as-needed for shlibs. --- srcpkgs/geoclue/geoclue-devel.template | 9 +++------ srcpkgs/geoclue/geoclue.rshlibs | 2 -- srcpkgs/geoclue/template | 14 +++++++------- 3 files changed, 10 insertions(+), 15 deletions(-) diff --git a/srcpkgs/geoclue/geoclue-devel.template b/srcpkgs/geoclue/geoclue-devel.template index e57a50087f3..37777f872b9 100644 --- a/srcpkgs/geoclue/geoclue-devel.template +++ b/srcpkgs/geoclue/geoclue-devel.template @@ -1,17 +1,14 @@ # Template file for 'geoclue-devel'. # -depends="pkg-config intltool dbus-glib-devel libxml2-devel GConf-devel geoclue" +noarch=yes +depends="${sourcepkg}-${version}_${revision}" short_desc="${sourcepkg} - development files" long_desc="${long_desc} This package contains files for development, headers, static libs, etc." - - -do_install() -{ +do_install() { vmove usr/include usr - vmove "usr/lib/*.a" usr/lib vmove usr/lib/pkgconfig usr/lib vmove usr/share/gtk-doc usr/share } diff --git a/srcpkgs/geoclue/geoclue.rshlibs b/srcpkgs/geoclue/geoclue.rshlibs index ee967da531c..739dfac803b 100644 --- a/srcpkgs/geoclue/geoclue.rshlibs +++ b/srcpkgs/geoclue/geoclue.rshlibs @@ -1,9 +1,7 @@ libdbus-glib-1.so.2 -libdbus-1.so.3 libpthread.so.0 libgobject-2.0.so.0 libgthread-2.0.so.0 -librt.so.1 libglib-2.0.so.0 libxml2.so.2 libc.so.6 diff --git a/srcpkgs/geoclue/template b/srcpkgs/geoclue/template index 19ce2a9f4fc..d785ad0c50c 100644 --- a/srcpkgs/geoclue/template +++ b/srcpkgs/geoclue/template @@ -1,24 +1,24 @@ # Template file for 'geoclue' pkgname=geoclue version=0.12.0 -revision=4 -distfiles="http://launchpad.net/geoclue/trunk/0.12/+download/geoclue-$version.tar.gz" +revision=5 +subpackages="$pkgname-devel" build_style=gnu-configure -configure_args="--enable-networkmanager=no --enable-conic=no" -makedepends="automake gtk-doc pkg-config intltool dbus-glib-devel libxml2-devel GConf-devel libxslt gtk+-devel libsoup-gnome-devel" +configure_args="--disable-static --enable-networkmanager=no --enable-conic=no" +makedepends="automake gtk-doc pkg-config intltool dbus-glib-devel + libxml2-devel GConf-devel libxslt gtk+-devel libsoup-gnome-devel" short_desc="The Geoinformation Service" maintainer="Juan RP " +distfiles="http://launchpad.net/geoclue/trunk/0.12/+download/geoclue-$version.tar.gz" checksum=0f533f177ae9aa35e807a01c754840f66df9579f5524552f14f2b5ba670a4696 long_desc=" Geoclue is a modular geoinformation service built on top of the D-Bus messaging system. The goal of the Geoclue project is to make creating location-aware applications as simple as possible." -subpackages="$pkgname-devel" - - pre_configure() { sed -i 's/libnm_glib/libnm-glib/g' configure.ac sed -i '/libsoup-gnome/s/$/ gthread-2.0/' configure.ac + sed -i '/-Werror/d' configure.ac autoreconf -fi }