[arch-commits] Commit in telepathy-rakia/trunk (2 files)

Ionut Biru ibiru at archlinux.org
Wed May 9 17:39:22 UTC 2012


    Date: Wednesday, May 9, 2012 @ 13:39:22
  Author: ibiru
Revision: 158777

update to 0.7.4

Added:
  telepathy-rakia/trunk/0001-Check-for-gio-to-avoid-linking-issue.patch
Modified:
  telepathy-rakia/trunk/PKGBUILD

-------------------------------------------------+
 0001-Check-for-gio-to-avoid-linking-issue.patch |   29 ++++++++++++++++++++++
 PKGBUILD                                        |   16 +++++++-----
 2 files changed, 39 insertions(+), 6 deletions(-)

Added: 0001-Check-for-gio-to-avoid-linking-issue.patch
===================================================================
--- 0001-Check-for-gio-to-avoid-linking-issue.patch	                        (rev 0)
+++ 0001-Check-for-gio-to-avoid-linking-issue.patch	2012-05-09 17:39:22 UTC (rev 158777)
@@ -0,0 +1,29 @@
+From 797d2b3792a0d4c4260075c2b05a1aba63715363 Mon Sep 17 00:00:00 2001
+From: Ionut Biru <ibiru at archlinux.org>
+Date: Wed, 9 May 2012 17:34:10 +0000
+Subject: [PATCH] Check for gio to avoid linking issue
+
+/usr/bin/ld: note: 'g_inet_address_new_from_string' is defined in DSO
+/usr/lib/libgio-2.0.so.0 so try adding it to the linker command line
+
+Signed-off-by: Ionut Biru <ibiru at archlinux.org>
+---
+ configure.ac |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure.ac b/configure.ac
+index 2a6cb2a..461d464 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -62,7 +62,7 @@ dnl GTK docs
+ GTK_DOC_CHECK
+ 
+ dnl Check for Glib 
+-PKG_CHECK_MODULES(GLIB, gobject-2.0 >= 2.30, have_glib=yes, have_glib=no)
++PKG_CHECK_MODULES(GLIB, [gobject-2.0 >= 2.30, gio-2.0 >= 2.30], have_glib=yes, have_glib=no)
+ 
+ if test x$have_glib = xno ; then
+     AC_MSG_ERROR([GLib development libraries not found])
+-- 
+1.7.10.1
+

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-05-09 17:05:27 UTC (rev 158776)
+++ PKGBUILD	2012-05-09 17:39:22 UTC (rev 158777)
@@ -2,7 +2,7 @@
 # Maintainer : Ionut Biru <ibiru at archlinux.org>
 
 pkgname=telepathy-rakia
-pkgver=0.7.3
+pkgver=0.7.4
 pkgrel=1
 pkgdesc="SIP connection manager for Telepathy"
 arch=('i686' 'x86_64')
@@ -13,16 +13,20 @@
 install=telepathy-rakia.install
 groups=('telepathy')
 replaces=('telepathy-sofiasip')
-source=(http://telepathy.freedesktop.org/releases/$pkgname/$pkgname-$pkgver.tar.gz)
-md5sums=('dea76f93fe6234d18c6c7746c9ce0d6e')
+source=(http://telepathy.freedesktop.org/releases/$pkgname/$pkgname-$pkgver.tar.gz
+        0001-Check-for-gio-to-avoid-linking-issue.patch)
+md5sums=('f9f47f18db033afe29fd6963c7748e37'
+         '6d0372c4c8a22bf9682e4b45ee614d5c')
 
 build() {
-  cd "$srcdir/$pkgname-$pkgver"
+  cd "$pkgname-$pkgver"
+  patch -Np1 -i $srcdir/0001-Check-for-gio-to-avoid-linking-issue.patch
+  autoreconf -fi
   ./configure --prefix=/usr --libexecdir=/usr/lib/telepathy
   make
 }
 
 package() {
-  cd "$srcdir/$pkgname-$pkgver"
-  make DESTDIR="${pkgdir}" install
+  cd "$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" install
 }




More information about the arch-commits mailing list