[arch-commits] Commit in epiphany-extensions/trunk (PKGBUILD rss-link-dbus-glib.patch)

Ionut Biru ibiru at archlinux.org
Sun Nov 20 04:42:34 EST 2011


    Date: Sunday, November 20, 2011 @ 04:42:33
  Author: ibiru
Revision: 142996

fix rss plugin. FS#26502

Added:
  epiphany-extensions/trunk/rss-link-dbus-glib.patch
Modified:
  epiphany-extensions/trunk/PKGBUILD

--------------------------+
 PKGBUILD                 |   19 ++++++++++++-------
 rss-link-dbus-glib.patch |   29 +++++++++++++++++++++++++++++
 2 files changed, 41 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-11-20 09:11:34 UTC (rev 142995)
+++ PKGBUILD	2011-11-20 09:42:33 UTC (rev 142996)
@@ -3,21 +3,26 @@
 
 pkgname=epiphany-extensions
 pkgver=3.2.0
-pkgrel=1
+pkgrel=2
 url="http://www.gnome.org/projects/epiphany/"
 pkgdesc="Various extentions for the Epiphany web browser"
 arch=('i686' 'x86_64')
 license=('GPL')
 depends=('epiphany' 'opensp' 'hicolor-icon-theme')
-makedepends=('gnome-doc-utils' 'intltool')
+makedepends=('gnome-doc-utils' 'intltool' 'gnome-common')
 options=('!libtool' '!emptydirs')
 install=epiphany-extensions.install
-source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz)
-sha256sums=('0707c9109bc6070f5f4e6ef3a9653e18ad5200eb57f396852b4c13cbac69baae')
+source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz
+        rss-link-dbus-glib.patch)
+sha256sums=('0707c9109bc6070f5f4e6ef3a9653e18ad5200eb57f396852b4c13cbac69baae'
+            '6e1ba177e8480984b4c5447aca5e7cf8bcfacbb90bcf041fa1b6d2a4dc3e818b')
 
 build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
+  cd "$srcdir/$pkgname-$pkgver"
 
+  patch -Np1 -i "$srcdir/rss-link-dbus-glib.patch"
+  autoreconf -fi
+
   ./configure --prefix=/usr --sysconfdir=/etc \
       --localstatedir=/var \
       --disable-scrollkeeper
@@ -25,6 +30,6 @@
 }
 
 package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  make DESTDIR="${pkgdir}" install
+  cd "$srcdir/$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" install
 }

Added: rss-link-dbus-glib.patch
===================================================================
--- rss-link-dbus-glib.patch	                        (rev 0)
+++ rss-link-dbus-glib.patch	2011-11-20 09:42:33 UTC (rev 142996)
@@ -0,0 +1,29 @@
+From 2066084961b77810477b658cabbb7f6e90a17b94 Mon Sep 17 00:00:00 2001
+From: Alexandre Rostovtsev <tetromino at gentoo.org>
+Date: Sat, 19 Nov 2011 01:01:12 -0500
+Subject: [PATCH] rss: add DBUS_LIBS to librssextension_la_LIBADD
+
+Otherwise, epiphany-3.2 crashes.
+
+https://bugzilla.gnome.org/show_bug.cgi?id=664369
+---
+ extensions/rss/Makefile.am |    3 +++
+ 1 files changed, 3 insertions(+), 0 deletions(-)
+
+diff --git a/extensions/rss/Makefile.am b/extensions/rss/Makefile.am
+index ed6962f..da669c8 100644
+--- a/extensions/rss/Makefile.am
++++ b/extensions/rss/Makefile.am
+@@ -25,6 +25,9 @@ librssextension_la_LDFLAGS = \
+ 	-export-symbols $(top_srcdir)/ephy-extension.symbols \
+ 	$(AM_LDFLAGS)
+ 
++librssextension_la_LIBADD = \
++	$(DBUS_LIBS)
++
+ uidir = $(pkgdatadir)/ui
+ ui_DATA = rss-ui.ui
+ 
+-- 
+1.7.8.rc3
+



More information about the arch-commits mailing list