Commit f4e345b8 authored by Bart Ribbers's avatar Bart Ribbers Committed by Rasmus Thomsen

community/vte3: fix broken ABI

Also modernize the APKBUILD while we touch it anyway
parent 9a162844
......@@ -2,40 +2,49 @@
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=vte3
pkgver=0.61.90
pkgrel=0
pkgrel=1
pkgdesc="Virtual Terminal Emulator library"
url="https://developer.gnome.org/vte/"
arch="all"
license="LGPL-2.0-or-later"
subpackages="$pkgname-dbg $pkgname-dev $pkgname-lang"
makedepends="pango-dev gtk+3.0-dev intltool
ncurses-dev gobject-introspection-dev vala gnutls-dev
linux-headers libxml2-utils pcre2-dev gperf
meson gtk-doc icu-dev"
makedepends="
gnutls-dev
gobject-introspection-dev
gperf
gtk+3.0-dev
gtk-doc
icu-dev
intltool
libxml2-utils
linux-headers
meson
ncurses-dev
pango-dev
pcre2-dev
vala
"
source="https://download.gnome.org/sources/vte/${pkgver%.*}/vte-$pkgver.tar.xz
fix-W_EXITCODE.patch
export-vte_pty_spawn_finish-again.patch
"
builddir="$srcdir/vte-$pkgver"
build() {
meson \
--buildtype=plain \
abuild-meson . output \
-Ddocs=false \
--prefix=/usr \
--sysconfdir=/etc \
--libexecdir=/usr/lib/$pkgname \
-D_systemd=false \
. output
ninja -C output
-D_systemd=false
meson compile ${JOBS:+-j ${JOBS}} -C output
}
check() {
ninja -C output test
meson test -C output
}
package() {
DESTDIR="$pkgdir" ninja -C output install
DESTDIR="$pkgdir" meson install -C output
}
sha512sums="a52d9afc0c60f4d3d6724d3e196c58fa40aec0bb5c4650affdc103abe02ecd452cccb4b8f7dfb2f6f041033cea96fd84018b7727f83a4764ec90cc7987d6245b vte-0.61.90.tar.xz
94de7160b71f1c41aa19e8f9dc4538cd493da1a33dda6482c332f8e8932213631ccc2355506a616772dae451d653f035c66c721bd839570d6cb55e4d2b12e8a3 fix-W_EXITCODE.patch"
94de7160b71f1c41aa19e8f9dc4538cd493da1a33dda6482c332f8e8932213631ccc2355506a616772dae451d653f035c66c721bd839570d6cb55e4d2b12e8a3 fix-W_EXITCODE.patch
f3ccbba45bfaa29bd9b490c857a5bcf4f86cb23ac1d4646838b1fac8a70549f9755f43e428e7e80f81b8ce23b846aa6cbb391d9a86236a1b3ac1cfd17bbe382e export-vte_pty_spawn_finish-again.patch"
From c25ca2d0487249a8b64dfdcda4e7d88179dea75a Mon Sep 17 00:00:00 2001
From: Simon McVittie <smcv@debian.org>
Date: Thu, 3 Sep 2020 10:13:05 +0100
Subject: [PATCH] Export vte_pty_spawn_finish again
This was accidentally unexported in af649664, breaking the ABI.
Signed-off-by: Simon McVittie <smcv@debian.org>
Resolves: https://gitlab.gnome.org/GNOME/vte/-/issues/278
---
src/vte/vtepty.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/vte/vtepty.h b/src/vte/vtepty.h
index 875119b7..5d1fb38f 100644
--- a/src/vte/vtepty.h
+++ b/src/vte/vtepty.h
@@ -127,6 +127,7 @@ void vte_pty_spawn_with_fds_async(VtePty *pty,
GAsyncReadyCallback callback,
gpointer user_data) _VTE_CXX_NOEXCEPT _VTE_GNUC_NONNULL(1) _VTE_GNUC_NONNULL(3);
+_VTE_PUBLIC
gboolean vte_pty_spawn_finish(VtePty *pty,
GAsyncResult *result,
GPid *child_pid /* out */,
--
GitLab
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment