[arch-commits] Commit in evince/trunk (PKGBUILD introspection-fix.patch)

Ionut Biru ibiru at archlinux.org
Tue May 10 16:22:31 UTC 2011


    Date: Tuesday, May 10, 2011 @ 12:22:31
  Author: ibiru
Revision: 123362

fix building introspection support

Added:
  evince/trunk/introspection-fix.patch
Modified:
  evince/trunk/PKGBUILD

-------------------------+
 PKGBUILD                |   14 ++++++++++----
 introspection-fix.patch |   11 +++++++++++
 2 files changed, 21 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-05-10 16:19:38 UTC (rev 123361)
+++ PKGBUILD	2011-05-10 16:22:31 UTC (rev 123362)
@@ -3,7 +3,7 @@
 
 pkgname=evince
 pkgver=3.0.0
-pkgrel=3
+pkgrel=4
 pkgdesc="Simply a document viewer"
 url="http://projects.gnome.org/evince/"
 arch=('i686' 'x86_64')
@@ -15,19 +15,25 @@
 groups=('gnome-extra')
 install=evince.install
 options=('!libtool' '!emptydirs')
-source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2)
-sha256sums=('7c994a94200114ea7077d3348a03cbbad01c819ece2ec24b436b16e04386291b')
+source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2
+        introspection-fix.patch)
+sha256sums=('7c994a94200114ea7077d3348a03cbbad01c819ece2ec24b436b16e04386291b'
+            '897b8c77c5cda31f4f8d860cd6a7ad8ad986dbf3cf26b56acf054cc650e94be1')
 
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
 
+  patch -Np1 -i "${srcdir}/introspection-fix.patch"
+  autoreconf -fi
+
   ./configure --prefix=/usr   --sysconfdir=/etc \
       --localstatedir=/var    --libexecdir=/usr/lib/evince \
       --disable-static        --enable-nautilus \
       --enable-pdf            --enable-tiff \
       --enable-djvu           --enable-dvi \
       --enable-t1lib          --enable-comics \
-      --disable-scrollkeeper  --disable-schemas-compile
+      --disable-scrollkeeper  --disable-schemas-compile \
+      --enable-introspection
   make
 }
 

Added: introspection-fix.patch
===================================================================
--- introspection-fix.patch	                        (rev 0)
+++ introspection-fix.patch	2011-05-10 16:22:31 UTC (rev 123362)
@@ -0,0 +1,11 @@
+diff a/libview/Makefile.am b/libview/Makefile.am
+--- a/libview/Makefile.am
++++ b/libview/Makefile.am
+@@ -136,6 +136,7 @@ EvinceView-$(EV_API_VERSION).gir: libevview3.la Makefile $(INST_H_FILES) $(filte
+ 	--output $@ \
+ 	--pkg evince-document-$(EV_API_VERSION) \
+ 	--pkg evince-view-$(EV_API_VERSION) \
++	-L$(top_builddir)/libdocument/ \
+ 	-I$(top_srcdir) \
+ 	-I$(top_builddir) \
+ 	-DEVINCE_COMPILATION \




More information about the arch-commits mailing list