summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/vte/files
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2004-11-01 12:45:09 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2004-11-01 12:45:09 +0800
commitbe4cbaa3aa98fa138f3e5fe50ff5483e59122c62 (patch)
treee598c332b0190ee53cbee7d592bdf7daf1cadab8 /x11-toolkits/vte/files
parent564e92be0fdfe8789b8d59f17b3020f1a6303daa (diff)
downloadmarcuscom-ports-be4cbaa3aa98fa138f3e5fe50ff5483e59122c62.tar
marcuscom-ports-be4cbaa3aa98fa138f3e5fe50ff5483e59122c62.tar.gz
marcuscom-ports-be4cbaa3aa98fa138f3e5fe50ff5483e59122c62.tar.bz2
marcuscom-ports-be4cbaa3aa98fa138f3e5fe50ff5483e59122c62.tar.lz
marcuscom-ports-be4cbaa3aa98fa138f3e5fe50ff5483e59122c62.tar.xz
marcuscom-ports-be4cbaa3aa98fa138f3e5fe50ff5483e59122c62.tar.zst
marcuscom-ports-be4cbaa3aa98fa138f3e5fe50ff5483e59122c62.zip
Add vte, and add a patch to fix a black screen bug that can result with
multiple tabs open each doing lots of work. Submitted by: ahze Obtained from: jon.nettleton@gmail.com git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@3027 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11-toolkits/vte/files')
-rw-r--r--x11-toolkits/vte/files/patch-configure31
-rw-r--r--x11-toolkits/vte/files/patch-gnome-pty-helper_Makefile.in30
-rw-r--r--x11-toolkits/vte/files/patch-gnome-pty-helper_configure10
-rw-r--r--x11-toolkits/vte/files/patch-gnome-pty-helper_gnome-pty-helper.c19
-rw-r--r--x11-toolkits/vte/files/patch-src_dumpkeys.c18
-rw-r--r--x11-toolkits/vte/files/patch-src_keymap.c10
-rw-r--r--x11-toolkits/vte/files/patch-src_pty.c19
-rw-r--r--x11-toolkits/vte/files/patch-src_vte.c34
8 files changed, 171 insertions, 0 deletions
diff --git a/x11-toolkits/vte/files/patch-configure b/x11-toolkits/vte/files/patch-configure
new file mode 100644
index 000000000..f4a8f8c73
--- /dev/null
+++ b/x11-toolkits/vte/files/patch-configure
@@ -0,0 +1,31 @@
+--- configure.orig Fri Mar 19 03:38:08 2004
++++ configure Wed Apr 7 02:56:46 2004
+@@ -23732,10 +23733,6 @@
+ rm -f conftest*
+
+
+-cat >>confdefs.h <<\_ACEOF
+-#define _XOPEN_SOURCE_EXTENDED 1
+-_ACEOF
+-
+
+ cat >>confdefs.h <<\_ACEOF
+ #define _XOPEN_SOURCE 1
+@@ -23942,7 +23939,7 @@
+
+
+
+-for ac_func in cfmakeraw getpgid getpt grantpt unlockpt ptsname ptsname_r recvmsg
++for ac_func in cfmakeraw getpgid getpt posix_openpt grantpt unlockpt ptsname ptsname_r recvmsg
+ do
+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+ echo "$as_me:$LINENO: checking for $ac_func" >&5
+@@ -25977,7 +25974,7 @@
+
+
+ cat >>confdefs.h <<_ACEOF
+-#define LOCALEDIR "$mydatadir/locale"
++#define LOCALEDIR "$prefix/share/locale"
+ _ACEOF
+
+
diff --git a/x11-toolkits/vte/files/patch-gnome-pty-helper_Makefile.in b/x11-toolkits/vte/files/patch-gnome-pty-helper_Makefile.in
new file mode 100644
index 000000000..fdb419f85
--- /dev/null
+++ b/x11-toolkits/vte/files/patch-gnome-pty-helper_Makefile.in
@@ -0,0 +1,30 @@
+--- gnome-pty-helper/Makefile.in.orig Mon Jun 2 20:23:02 2003
++++ gnome-pty-helper/Makefile.in Mon Jun 2 20:26:54 2003
+@@ -65,6 +65,7 @@
+ LDFLAGS = @LDFLAGS@
+ LIBOBJS = @LIBOBJS@
+ LIBS = @LIBS@
++BSD_PTHREAD_LIBS = @BSD_PTHREAD_LIBS@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAINT = @MAINT@
+ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
+@@ -217,7 +218,7 @@
+ -test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
+ gnome-pty-helper$(EXEEXT): $(gnome_pty_helper_OBJECTS) $(gnome_pty_helper_DEPENDENCIES)
+ @rm -f gnome-pty-helper$(EXEEXT)
+- $(LINK) $(gnome_pty_helper_LDFLAGS) $(gnome_pty_helper_OBJECTS) $(gnome_pty_helper_LDADD) $(LIBS)
++ $(LINK) $(gnome_pty_helper_LDFLAGS) $(gnome_pty_helper_OBJECTS) $(gnome_pty_helper_LDADD) $(LIBS) $(BSD_PTHREAD_LIBS)
+
+ mostlyclean-compile:
+ -rm -f *.$(OBJEXT) core *.core
+@@ -514,8 +515,8 @@
+
+
+ install-exec-hook:
+- chown root.utmp $(DESTDIR)$(libexecdir)/gnome-pty-helper || true
+- chmod g+s $(DESTDIR)$(libexecdir)/gnome-pty-helper || true
++ chown root:wheel $(DESTDIR)$(libexecdir)/gnome-pty-helper || true
++ chmod u+s $(DESTDIR)$(libexecdir)/gnome-pty-helper || true
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
diff --git a/x11-toolkits/vte/files/patch-gnome-pty-helper_configure b/x11-toolkits/vte/files/patch-gnome-pty-helper_configure
new file mode 100644
index 000000000..668f2a6db
--- /dev/null
+++ b/x11-toolkits/vte/files/patch-gnome-pty-helper_configure
@@ -0,0 +1,10 @@
+--- gnome-pty-helper/configure.orig Mon Jun 2 20:27:32 2003
++++ gnome-pty-helper/configure Mon Jun 2 20:28:06 2003
+@@ -6318,6 +6318,7 @@
+ s,@ECHO_N@,$ECHO_N,;t t
+ s,@ECHO_T@,$ECHO_T,;t t
+ s,@LIBS@,$LIBS,;t t
++s,@BSD_PTHREAD_LIBS@,$BSD_PTHREAD_LIBS,;t t
+ s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
+ s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
+ s,@INSTALL_DATA@,$INSTALL_DATA,;t t
diff --git a/x11-toolkits/vte/files/patch-gnome-pty-helper_gnome-pty-helper.c b/x11-toolkits/vte/files/patch-gnome-pty-helper_gnome-pty-helper.c
new file mode 100644
index 000000000..cdadaca6a
--- /dev/null
+++ b/x11-toolkits/vte/files/patch-gnome-pty-helper_gnome-pty-helper.c
@@ -0,0 +1,19 @@
+--- gnome-pty-helper/gnome-pty-helper.c.orig Wed Nov 27 13:40:01 2002
++++ gnome-pty-helper/gnome-pty-helper.c Wed Nov 27 13:40:42 2002
+@@ -42,6 +42,7 @@
+ #include <unistd.h>
+ #include <string.h>
+ #include <signal.h>
++#include <sys/param.h>
+ #include <fcntl.h>
+ #include <termios.h>
+ #include <errno.h>
+@@ -93,7 +94,7 @@
+ #endif
+ #endif /* CMSG_DATA */
+
+-#define CONTROLLEN (sizeof (struct cmsghdr) + sizeof (int))
++#define CONTROLLEN (sizeof (struct cmsghdr) + sizeof (long))
+
+ static struct cmsghdr *cmptr;
+
diff --git a/x11-toolkits/vte/files/patch-src_dumpkeys.c b/x11-toolkits/vte/files/patch-src_dumpkeys.c
new file mode 100644
index 000000000..2bf8576ee
--- /dev/null
+++ b/x11-toolkits/vte/files/patch-src_dumpkeys.c
@@ -0,0 +1,18 @@
+--- src/dumpkeys.c.orig Fri Apr 30 10:16:53 2004
++++ src/dumpkeys.c Thu May 6 10:46:19 2004
+@@ -18,6 +18,7 @@
+
+ #ident "$Id: patch-src_dumpkeys.c,v 1.5 2004-11-01 04:45:09 marcus Exp $"
+ #include "../config.h"
++#include <sys/types.h>
+ #ifdef HAVE_SYS_SELECT_H
+ #include <sys/select.h>
+ #endif
+@@ -25,7 +26,6 @@
+ #include <sys/termios.h>
+ #endif
+ #include <sys/time.h>
+-#include <sys/types.h>
+ #include <unistd.h>
+ #include <fcntl.h>
+ #include <signal.h>
diff --git a/x11-toolkits/vte/files/patch-src_keymap.c b/x11-toolkits/vte/files/patch-src_keymap.c
new file mode 100644
index 000000000..c23eea598
--- /dev/null
+++ b/x11-toolkits/vte/files/patch-src_keymap.c
@@ -0,0 +1,10 @@
+--- src/keymap.c.orig Tue Oct 22 17:42:20 2002
++++ src/keymap.c Tue Oct 22 17:42:33 2002
+@@ -18,6 +18,7 @@
+
+ #ident "$Id: patch-src_keymap.c,v 1.5 2004-11-01 04:45:09 marcus Exp $"
+ #include "../config.h"
++#include <sys/types.h>
+ #include <stdlib.h>
+ #include <string.h>
+ #include <glib.h>
diff --git a/x11-toolkits/vte/files/patch-src_pty.c b/x11-toolkits/vte/files/patch-src_pty.c
new file mode 100644
index 000000000..a31b1192b
--- /dev/null
+++ b/x11-toolkits/vte/files/patch-src_pty.c
@@ -0,0 +1,19 @@
+--- src/pty.c.orig Tue Jun 3 15:54:15 2003
++++ src/pty.c Wed Apr 7 02:55:57 2004
+@@ -45,6 +45,7 @@
+ #include "pty.h"
+
+ #ifdef VTE_USE_GNOME_PTY_HELPER
++#include "../gnome-pty-helper/config.h"
+ #include "../gnome-pty-helper/gnome-pty.h"
+ #endif
+
+@@ -709,6 +710,8 @@
+ #ifdef HAVE_GETPT
+ /* Call the system's function for allocating a pty. */
+ fd = getpt();
++#elif defined(HAVE_POSIX_OPENPT)
++ fd = posix_openpt(O_RDWR | O_NOCTTY);
+ #else
+ /* Try to allocate a pty by accessing the pty master multiplex. */
+ fd = open("/dev/ptmx", O_RDWR | O_NOCTTY);
diff --git a/x11-toolkits/vte/files/patch-src_vte.c b/x11-toolkits/vte/files/patch-src_vte.c
new file mode 100644
index 000000000..728569d78
--- /dev/null
+++ b/x11-toolkits/vte/files/patch-src_vte.c
@@ -0,0 +1,34 @@
+--- src/vte.c.orig Sun May 2 02:43:01 2004
++++ src/vte.c Sun Oct 31 20:23:36 2004
+@@ -105,14 +105,14 @@
+ #define VTE_ADJUSTMENT_PRIORITY G_PRIORITY_DEFAULT_IDLE
+ #define VTE_INPUT_RETRY_PRIORITY G_PRIORITY_HIGH
+ #define VTE_INPUT_PRIORITY G_PRIORITY_DEFAULT_IDLE
+-#define VTE_CHILD_INPUT_PRIORITY G_PRIORITY_DEFAULT_IDLE
++#define VTE_CHILD_INPUT_PRIORITY G_PRIORITY_LOW
+ #define VTE_CHILD_OUTPUT_PRIORITY G_PRIORITY_HIGH
+ #define VTE_FX_PRIORITY G_PRIORITY_DEFAULT_IDLE
+ #define VTE_REGCOMP_FLAGS REG_EXTENDED
+ #define VTE_REGEXEC_FLAGS 0
+ #define VTE_INPUT_CHUNK_SIZE 0x1000
+ #define VTE_INVALID_BYTE '?'
+-#define VTE_COALESCE_TIMEOUT 2
++#define VTE_COALESCE_TIMEOUT 15
+
+ /* The structure we use to hold characters we're supposed to display -- this
+ * includes any supported visible attributes. */
+@@ -10534,9 +10534,13 @@
+ static gint
+ vte_terminal_visibility_notify(GtkWidget *widget, GdkEventVisibility *event)
+ {
++ VteTerminal *terminal;
+ g_return_val_if_fail(GTK_WIDGET(widget), FALSE);
+ g_return_val_if_fail(VTE_IS_TERMINAL(widget), FALSE);
+- (VTE_TERMINAL(widget))->pvt->visibility_state = event->state;
++ terminal = VTE_TERMINAL(widget);
++ terminal->pvt->visibility_state = event->state;
++ if (terminal->pvt->visibility_state == GDK_VISIBILITY_UNOBSCURED)
++ vte_invalidate_all(terminal);
+ return FALSE;
+ }
+