[arch-commits] Commit in vte3/trunk (PKGBUILD)

Ionut Biru ibiru at archlinux.org
Sat Nov 12 13:43:09 EST 2011


    Date: Saturday, November 12, 2011 @ 13:43:08
  Author: ibiru
Revision: 142686

fix alt handling in vte terminals when using gtk 3.2.2. FS#26862

Modified:
  vte3/trunk/PKGBUILD

----------+
 PKGBUILD |   21 ++++++++++++---------
 1 file changed, 12 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-11-12 18:38:35 UTC (rev 142685)
+++ PKGBUILD	2011-11-12 18:43:08 UTC (rev 142686)
@@ -4,21 +4,24 @@
 pkgbase=vte3
 pkgname=(vte3 vte-common)
 pkgver=0.30.1
-pkgrel=1
+pkgrel=2
 pkgdesc="Virtual Terminal Emulator widget for use with GTK3"
 arch=('i686' 'x86_64')
 license=('LGPL')
 options=('!libtool' '!emptydirs')
 makedepends=('intltool' 'gobject-introspection' 'gtk3')
 url="http://www.gnome.org"
-source=(http://ftp.gnome.org/pub/GNOME/sources/vte/0.30/vte-${pkgver}.tar.xz)
-sha256sums=('bbe421de3015935c22f685eea0eb8be2c1fecd5021c1f822996b8f0a282f6b64')
+source=(http://ftp.gnome.org/pub/GNOME/sources/vte/0.30/vte-$pkgver.tar.xz
+make_alt_work.patch::http://git.gnome.org/browse/vte/patch/?id=b73782a28894e25ed146271f9d6c6775a6836199)
+sha256sums=('bbe421de3015935c22f685eea0eb8be2c1fecd5021c1f822996b8f0a282f6b64'
+            '8307623b13bcaf214cc25207ee7afaf65575d334623460311c24437fbbae14d3')
 
 build() {
-  cd "${srcdir}/vte-${pkgver}"
+  cd "$srcdir/vte-$pkgver"
   #warning: type-punning to incomplete type might break strict-aliasing rules
   export CFLAGS="$CFLAGS -fno-strict-aliasing"
 
+  patch -Np1 -R -i "$srcdir/make_alt_work.patch"
   ./configure --prefix=/usr --sysconfdir=/etc \
       --libexecdir=/usr/lib/vte \
       --localstatedir=/var --disable-static \
@@ -28,15 +31,15 @@
 
 package_vte3(){
   depends=('gtk3' 'vte-common')
-  cd "${srcdir}/vte-${pkgver}"
-  make DESTDIR="${pkgdir}" install
+  cd "$srcdir/vte-$pkgver"
+  make DESTDIR="$pkgdir" install
 
-  rm "${pkgdir}"/usr/lib/vte/gnome-pty-helper
+  rm "$pkgdir"/usr/lib/vte/gnome-pty-helper
 }
 
 package_vte-common() {
   pkgdesc="Common files used by vte and vte3"
-  cd "${srcdir}/vte-${pkgver}"
+  cd "$srcdir/vte-$pkgver"
 
-  make -C gnome-pty-helper DESTDIR="${pkgdir}" install
+  make -C gnome-pty-helper DESTDIR="$pkgdir" install
 }



More information about the arch-commits mailing list