vte3-ng: dropped

This commit is contained in:
Danny Rawlins 2019-09-22 15:43:16 +10:00
parent 95bb0582ca
commit 28c110bedc
6 changed files with 0 additions and 205 deletions

View File

@ -1,27 +0,0 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/vte-2.91
drwxr-xr-x root/root usr/etc/
drwxr-xr-x root/root usr/etc/profile.d/
drwxr-xr-x root/root usr/include/
drwxr-xr-x root/root usr/include/vte-2.91/
drwxr-xr-x root/root usr/include/vte-2.91/vte/
-rw-r--r-- root/root usr/include/vte-2.91/vte/vte.h
-rw-r--r-- root/root usr/include/vte-2.91/vte/vtedeprecated.h
-rw-r--r-- root/root usr/include/vte-2.91/vte/vteenums.h
-rw-r--r-- root/root usr/include/vte-2.91/vte/vteglobals.h
-rw-r--r-- root/root usr/include/vte-2.91/vte/vtemacros.h
-rw-r--r-- root/root usr/include/vte-2.91/vte/vtepty.h
-rw-r--r-- root/root usr/include/vte-2.91/vte/vteregex.h
-rw-r--r-- root/root usr/include/vte-2.91/vte/vteterminal.h
-rw-r--r-- root/root usr/include/vte-2.91/vte/vtetypebuiltins.h
-rw-r--r-- root/root usr/include/vte-2.91/vte/vteversion.h
drwxr-xr-x root/root usr/lib/
-rw-r--r-- root/root usr/lib/libvte-2.91.a
-rwxr-xr-x root/root usr/lib/libvte-2.91.la
lrwxrwxrwx root/root usr/lib/libvte-2.91.so -> libvte-2.91.so.0.5400.2
lrwxrwxrwx root/root usr/lib/libvte-2.91.so.0 -> libvte-2.91.so.0.5400.2
-rwxr-xr-x root/root usr/lib/libvte-2.91.so.0.5400.2
drwxr-xr-x root/root usr/lib/pkgconfig/
-rw-r--r-- root/root usr/lib/pkgconfig/vte-2.91.pc
drwxr-xr-x root/root usr/share/

View File

@ -1,5 +0,0 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF36/6QqMvUaeZKntaZehgEEArPh1IDIddIXCljuwkOFSv+8V30EUH2AoCcQuJ96YV8AGevy44MW4SAI/o5jN4ZAE=
SHA256 (Pkgfile) = 6dbe6a166c66892d275dd44a3a34caf96de0dcb890f1c868b8157c31afe74819
SHA256 (.footprint) = 5e88cfde4f3559151072d38ca268e8b9d08e0230c958a508dc8ac3ce1313afc4
SHA256 (vte-ng-0.54.2.a.tar.gz) = 144af3a48a1be14419031915a5066647a58054dbdc91e52331f1b38dd13925bb

View File

@ -1,30 +0,0 @@
# Description: Enhanced Virtual Terminal Emulator widget for use with GTK3
# URL: https://github.com/thestinger/vte-ng
# Maintainer: Danny Rawlins, crux at romster dot me
# Depends on: gnutls gtk-doc gtk3 libpcre2 util-linux
name=vte3-ng
version=0.54.2
_version=$version.a
release=1
source=(https://github.com/thestinger/vte-ng/archive/$version/vte-ng-$_version.tar.gz)
build() {
cd vte-ng-$version
NOCONFIGURE=1 ./autogen.sh
./configure \
--prefix=/usr \
--libexecdir=/usr/lib/vte \
--enable-static \
--disable-gtk-doc \
--disable-vala \
--disable-introspection \
--disable-glade-catalogue
make
make DESTDIR=$PKG install
rm -r $PKG/usr/{share/locale,etc/profile.d/vte.sh}
}

View File

@ -1,27 +0,0 @@
From 504db1b97f684778ee52f6e280a9e734936be20f Mon Sep 17 00:00:00 2001
From: Egmont Koblinger <egmont@gmail.com>
Date: Sat, 18 Nov 2017 20:50:06 +0100
Subject: widget: Reset might need to start blinking the cursor
https://bugzilla.gnome.org/show_bug.cgi?id=790536
(cherry picked from commit f6678e7e938aaf6f4fd72ceb8f1bb71b2bf3e69e)
---
src/vte.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/vte.cc b/src/vte.cc
index 6f28670..a9f73e2 100644
--- a/src/vte.cc
+++ b/src/vte.cc
@@ -10349,7 +10349,7 @@ VteTerminalPrivate::reset(bool clear_tabstops,
adjust_adjustments_full();
}
/* DECSCUSR cursor style */
- m_cursor_style = VTE_CURSOR_STYLE_TERMINAL_DEFAULT;
+ set_cursor_style(VTE_CURSOR_STYLE_TERMINAL_DEFAULT);
/* Do more stuff we refer to as a "full" reset. */
if (clear_tabstops) {
set_default_tabstops();
--
cgit v0.12

View File

@ -1,91 +0,0 @@
From 1d200a63ac4e39035af35e80881aa4fdae5556c6 Mon Sep 17 00:00:00 2001
From: Christian Persch <chpe@src.gnome.org>
Date: Sat, 18 Nov 2017 18:40:03 +0100
Subject: matcher: Fix memory leak
Don't leak the GValueArray.
https://bugzilla.gnome.org/show_bug.cgi?id=790539
(cherry picked from commit dda73cc07250ea324b4227907197c39b93fcd365)
---
src/matcher.cc | 12 +++++++-----
src/table.cc | 19 +++++++++++--------
2 files changed, 18 insertions(+), 13 deletions(-)
diff --git a/src/matcher.cc b/src/matcher.cc
index 10f3bc7..a4f7584 100644
--- a/src/matcher.cc
+++ b/src/matcher.cc
@@ -202,14 +202,16 @@ _vte_matcher_print(struct _vte_matcher *matcher)
* we need to free those ourselves. */
void
_vte_matcher_free_params_array(struct _vte_matcher *matcher,
- GValueArray *params)
+ GValueArray *params)
{
guint i;
for (i = 0; i < params->n_values; i++) {
- GValue *value = &params->values[i];
- if (G_UNLIKELY (g_type_is_a (value->g_type, G_TYPE_POINTER))) {
- g_free (g_value_get_pointer (value));
- }
+ auto value = g_value_array_get_nth(params, i);
+ if (G_UNLIKELY (G_VALUE_HOLDS_POINTER(value))) {
+ g_free(g_value_get_pointer(value));
+ } else if (G_UNLIKELY (G_VALUE_HOLDS_BOXED(value))) {
+ g_value_array_free((GValueArray*)g_value_get_boxed(value));
+ }
}
if (G_UNLIKELY (matcher == NULL || matcher->free_params != NULL)) {
g_value_array_free (params);
diff --git a/src/table.cc b/src/table.cc
index 3c78f3a..09a6172 100644
--- a/src/table.cc
+++ b/src/table.cc
@@ -516,18 +516,14 @@ static void
_vte_table_extract_numbers(GValueArray **array,
struct _vte_table_arginfo *arginfo)
{
- GValue value = {0,};
- GValue subvalue = {0,};
- GValueArray *subarray = NULL;
- gssize i;
-
if (G_UNLIKELY (*array == NULL)) {
*array = g_value_array_new(1);
}
+ GValue value = {0,};
g_value_init(&value, G_TYPE_LONG);
- g_value_init(&subvalue, G_TYPE_VALUE_ARRAY);
- i = 0;
+ gssize i = 0;
+ GValueArray *subarray = nullptr;
do {
long total = 0;
for (; i < arginfo->length && arginfo->start[i] != ';' && arginfo->start[i] != ':'; i++) {
@@ -546,13 +542,20 @@ _vte_table_extract_numbers(GValueArray **array,
g_value_array_append(*array, &value);
} else {
g_value_array_append(subarray, &value);
- g_value_set_boxed(&subvalue, subarray);
+
+ GValue subvalue = {0,};
+ g_value_init(&subvalue, G_TYPE_VALUE_ARRAY);
+ g_value_take_boxed(&subvalue, subarray);
g_value_array_append(*array, &subvalue);
+ g_value_unset(&subvalue);
+
subarray = NULL;
}
}
} while (i++ < arginfo->length);
g_value_unset(&value);
+ if (subarray != nullptr)
+ g_value_array_free(subarray);
}
static void
--
cgit v0.12

View File

@ -1,25 +0,0 @@
From ddd6dc998d9842369ec20f8e83c380401a8aed02 Mon Sep 17 00:00:00 2001
From: Christian Persch <chpe@src.gnome.org>
Date: Sat, 18 Nov 2017 19:10:10 +0100
Subject: pty: Fix mem leak
(cherry picked from commit 304e29d8a603828f42410ceac39ad803fcac475b)
---
src/pty.cc | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/pty.cc b/src/pty.cc
index c1741d2..0c0b001 100644
--- a/src/pty.cc
+++ b/src/pty.cc
@@ -1200,5 +1200,7 @@ vte_pty_spawn_finish(VtePty *pty,
*child_pid = *(GPid*)pidptr;
if (error)
*error = nullptr;
+
+ g_free(pidptr);
return TRUE;
}
--
cgit v0.12