summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-03-20 20:30:06 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-03-20 20:30:06 +0000
commit2da8d116b21f81ec56fb546aa3ac36ee7d6bbbeb (patch)
tree597777506912e48695715d9a5ec528c6fb33afa7 /user
parente7e7003ef7dcc228be7da348caf2951735fda062 (diff)
downloadpackages-2da8d116b21f81ec56fb546aa3ac36ee7d6bbbeb.tar.gz
packages-2da8d116b21f81ec56fb546aa3ac36ee7d6bbbeb.tar.bz2
packages-2da8d116b21f81ec56fb546aa3ac36ee7d6bbbeb.tar.xz
packages-2da8d116b21f81ec56fb546aa3ac36ee7d6bbbeb.zip
user/vte: fix compatibility with Vala 0.43+
Diffstat (limited to 'user')
-rw-r--r--user/vte/APKBUILD12
-rw-r--r--user/vte/vala.patch29
2 files changed, 35 insertions, 6 deletions
diff --git a/user/vte/APKBUILD b/user/vte/APKBUILD
index 73af32453..0808c026e 100644
--- a/user/vte/APKBUILD
+++ b/user/vte/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
pkgname=vte
pkgver=0.54.3
-pkgrel=0
+pkgrel=1
pkgdesc="Virtual terminal emulator library for Gnome"
url="https://www.gnome.org"
arch="all"
@@ -11,10 +11,11 @@ makedepends="intltool gtk+3.0-dev gnutls-dev zlib-dev pcre2-dev
gobject-introspection-dev vala vala-dev libxml2-utils"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://download.gnome.org/sources/vte/0.54/vte-$pkgver.tar.xz
- exitcode.patch"
+ exitcode.patch
+ vala.patch
+ "
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -26,14 +27,13 @@ build() {
}
check() {
- cd "$builddir"
make check
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}
sha512sums="dd7d2ac361ed9ac0550599bb3164a3bd6ba95535275c9b559c81ce0af1bbf4b3d150a7489f987b2e626b32d4a8adc82d1ff78e8c8640e5b1c036fe4076c5d8ce vte-0.54.3.tar.xz
-4987254439a136f66a7b7be1300f5efbf85db74bdb64fdd8d0c9a555173a172b4fd519174f932e73d58a2618ef37273e82fe681bb129891f2792a414025f6c61 exitcode.patch"
+4987254439a136f66a7b7be1300f5efbf85db74bdb64fdd8d0c9a555173a172b4fd519174f932e73d58a2618ef37273e82fe681bb129891f2792a414025f6c61 exitcode.patch
+6f699507326dcef82ab2eb1b94eb0a21255e90053d27db24c38e0dd1ec389ed7710b8032b4c12374448b59ff5b73852bbdd5ce0f5e5cdd4c84be290c7203aafc vala.patch"
diff --git a/user/vte/vala.patch b/user/vte/vala.patch
new file mode 100644
index 000000000..fe07dbbf0
--- /dev/null
+++ b/user/vte/vala.patch
@@ -0,0 +1,29 @@
+From 53690d5cee51bdb7c3f7680d3c22b316b1086f2c Mon Sep 17 00:00:00 2001
+From: Rico Tzschichholz <ricotz@ubuntu.com>
+Date: Sat, 1 Dec 2018 19:04:59 +0100
+Subject: [PATCH] vala: Fix build with vala 0.43+ git master due to empty
+ struct definition
+
+This should get a proper refactoring as the FIXME suggests.
+
+See https://gitlab.gnome.org/GNOME/vte/issues/76
+---
+ bindings/vala/app.vala | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/bindings/vala/app.vala b/bindings/vala/app.vala
+index 8663d63c..a534e76b 100644
+--- a/bindings/vala/app.vala
++++ b/bindings/vala/app.vala
+@@ -819,6 +819,8 @@ class App : Gtk.Application
+
+ public struct Options
+ {
++ //FIXME Merge this struct into App class
++ public int dummy;
+ public static bool audible = false;
+ public static string? command = null;
+ private static string? cjk_ambiguous_width_string = null;
+--
+2.18.1
+