summaryrefslogtreecommitdiffstats
path: root/main/vte
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2013-06-06 09:28:03 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2013-06-06 09:30:38 +0000
commit31932e6108ad1f5949ba1480d278e2f11c2ece3b (patch)
treed0d5ea342630c2c1d7ecef2dd824abbc9e794050 /main/vte
parentd0a259e0b50429d8867eec8f5cf80b8978551198 (diff)
downloadaports-31932e6108ad1f5949ba1480d278e2f11c2ece3b.tar.bz2
aports-31932e6108ad1f5949ba1480d278e2f11c2ece3b.tar.xz
main/vte: allow alt combination in termimal
https://bugzilla.gnome.org/show_bug.cgi?id=663917
Diffstat (limited to 'main/vte')
-rw-r--r--main/vte/APKBUILD12
-rw-r--r--main/vte/allow_alt_in_terminal.patch11
2 files changed, 20 insertions, 3 deletions
diff --git a/main/vte/APKBUILD b/main/vte/APKBUILD
index bdb5adcdc..d862f0687 100644
--- a/main/vte/APKBUILD
+++ b/main/vte/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=vte
pkgver=0.28.2
-pkgrel=2
+pkgrel=3
pkgdesc="Virtual Terminal Emulator library"
url="http://www.gnome.org"
arch="all"
@@ -9,7 +9,8 @@ license="LGPL"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
depends=
makedepends="pkgconfig gtk+-dev intltool python ncurses-dev"
-source="http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2"
+source="http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2
+ allow_alt_in_terminal.patch"
depends_dev="glib-dev pango-dev gtk+-dev"
prepare() {
@@ -39,4 +40,9 @@ package() {
ln -sf /usr/share/vte/termcap-0.0 "$pkgdir"/usr/share/vte/termcap
find "$pkgdir" -name '*.la' -delete
}
-md5sums="f07a4bf943194f94b7f142db8f7f36dc vte-0.28.2.tar.bz2"
+md5sums="f07a4bf943194f94b7f142db8f7f36dc vte-0.28.2.tar.bz2
+6ae30139b7d7ca78b56a3b55426c83f2 allow_alt_in_terminal.patch"
+sha256sums="8d04e202b617373dfb47689e5e628febe2c58840b34cccc4af4feb88c48df903 vte-0.28.2.tar.bz2
+6e4488f9a60f52a2a7eeb09865bdc42f00c309eb4cf8d548b524b9c33fadcd8a allow_alt_in_terminal.patch"
+sha512sums="271aecbc0444c424afb70d81838d0f6f49957a3b74d3952c0b97fadacfe359eab989abae03b9b64a8b598abdb189db00ee534254d8044e496906c51947d314d1 vte-0.28.2.tar.bz2
+a4786a97a5caa42db3b29808c3542777684fcf7d931a116d4e3d847e859a64fb59a2d5b60927dc8e5c2733efc55c29aa4d30aeb02597aff5f034c172cc528833 allow_alt_in_terminal.patch"
diff --git a/main/vte/allow_alt_in_terminal.patch b/main/vte/allow_alt_in_terminal.patch
new file mode 100644
index 000000000..d8437173c
--- /dev/null
+++ b/main/vte/allow_alt_in_terminal.patch
@@ -0,0 +1,11 @@
+--- vte-0.28.2/src/keymap.h.orig
++++ vte-0.28.2/src/keymap.h
+@@ -27,7 +27,7 @@
+
+ G_BEGIN_DECLS
+
+-#define VTE_META_MASK GDK_META_MASK
++#define VTE_META_MASK GDK_MOD1_MASK
+ #define VTE_NUMLOCK_MASK GDK_MOD2_MASK
+
+ /* Map the specified keyval/modifier setup, dependent on the mode, to either