summaryrefslogtreecommitdiffstats
path: root/x11-toolkits
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
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')
-rw-r--r--x11-toolkits/vte/Makefile47
-rw-r--r--x11-toolkits/vte/distinfo2
-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
-rw-r--r--x11-toolkits/vte/pkg-descr2
-rw-r--r--x11-toolkits/vte/pkg-plist85
12 files changed, 307 insertions, 0 deletions
diff --git a/x11-toolkits/vte/Makefile b/x11-toolkits/vte/Makefile
new file mode 100644
index 000000000..20ed2c7d3
--- /dev/null
+++ b/x11-toolkits/vte/Makefile
@@ -0,0 +1,47 @@
+# New ports collection makefile for: vte
+# Date created: 05 October 2002
+# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= vte
+PORTVERSION= 0.11.11
+PORTREVISION= 1
+CATEGORIES= x11-toolkits gnome
+MASTER_SITES= ${MASTER_SITE_GNOME}
+MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:R}
+DIST_SUBDIR= gnome2
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= Terminal widget with improved accessibility and I18N support
+
+USE_BZIP2= yes
+USE_X_PREFIX= yes
+USE_GMAKE= yes
+USE_REINPLACE= yes
+USE_BISON= yes
+INSTALLS_SHLIB= yes
+USE_INC_LIBTOOL_VER=13
+USE_GNOME= gnomeprefix gnomehack lthack gtk20
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" \
+ BSD_PTHREAD_LIBS="${PTHREAD_LIBS}"
+CONFIGURE_ARGS= --disable-python
+
+.ifdef(WITH_GLX)
+CONFIGURE_ARGS+= --with-glX
+USE_GL= yes
+.endif
+
+pre-everything::
+ @${ECHO_MSG} ""
+ @${ECHO_MSG} "Vte supports the following configurable option(s):"
+ @${ECHO_MSG} " WITH_GLX=yes Enable support for DRI rendering (may improve performance)"
+ @${ECHO_MSG} ""
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|malloc\.h|stdlib.h|g' \
+ ${WRKSRC}/gnome-pty-helper/gnome-pty-helper.c
+
+.include <bsd.port.mk>
diff --git a/x11-toolkits/vte/distinfo b/x11-toolkits/vte/distinfo
new file mode 100644
index 000000000..05604c70e
--- /dev/null
+++ b/x11-toolkits/vte/distinfo
@@ -0,0 +1,2 @@
+MD5 (gnome2/vte-0.11.11.tar.bz2) = 4d7a3674df5b8be7f1adffa981c1fc3d
+SIZE (gnome2/vte-0.11.11.tar.bz2) = 888405
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;
+ }
+
diff --git a/x11-toolkits/vte/pkg-descr b/x11-toolkits/vte/pkg-descr
new file mode 100644
index 000000000..f6d86e5ca
--- /dev/null
+++ b/x11-toolkits/vte/pkg-descr
@@ -0,0 +1,2 @@
+Terminal widget with improved font, internationalisation and accessibility
+support for the GNOME 2 desktop. Designed to replace libzvt.
diff --git a/x11-toolkits/vte/pkg-plist b/x11-toolkits/vte/pkg-plist
new file mode 100644
index 000000000..ae1484d66
--- /dev/null
+++ b/x11-toolkits/vte/pkg-plist
@@ -0,0 +1,85 @@
+bin/vte
+include/vte/pty.h
+include/vte/reaper.h
+include/vte/vte.h
+include/vte/vteaccess.h
+lib/libvte.a
+lib/libvte.so
+lib/libvte.so.8
+lib/vte/decset
+lib/vte/interpret
+lib/vte/iso8859mode
+lib/vte/nativeecho
+lib/vte/osc
+lib/vte/slowcat
+lib/vte/utf8echo
+lib/vte/utf8mode
+lib/vte/vterdb
+lib/vte/window
+libdata/pkgconfig/vte.pc
+libexec/gnome-pty-helper
+share/gnome/vte/termcap/xterm
+share/locale/am/LC_MESSAGES/vte.mo
+share/locale/ar/LC_MESSAGES/vte.mo
+share/locale/az/LC_MESSAGES/vte.mo
+share/locale/be/LC_MESSAGES/vte.mo
+share/locale/bg/LC_MESSAGES/vte.mo
+share/locale/bn/LC_MESSAGES/vte.mo
+share/locale/ca/LC_MESSAGES/vte.mo
+share/locale/cs/LC_MESSAGES/vte.mo
+share/locale/cy/LC_MESSAGES/vte.mo
+share/locale/da/LC_MESSAGES/vte.mo
+share/locale/de/LC_MESSAGES/vte.mo
+share/locale/el/LC_MESSAGES/vte.mo
+share/locale/en_CA/LC_MESSAGES/vte.mo
+share/locale/en_GB/LC_MESSAGES/vte.mo
+share/locale/es/LC_MESSAGES/vte.mo
+share/locale/et/LC_MESSAGES/vte.mo
+share/locale/eu/LC_MESSAGES/vte.mo
+share/locale/fa/LC_MESSAGES/vte.mo
+share/locale/fi/LC_MESSAGES/vte.mo
+share/locale/fr/LC_MESSAGES/vte.mo
+share/locale/ga/LC_MESSAGES/vte.mo
+share/locale/gu/LC_MESSAGES/vte.mo
+share/locale/he/LC_MESSAGES/vte.mo
+share/locale/hr/LC_MESSAGES/vte.mo
+share/locale/hu/LC_MESSAGES/vte.mo
+share/locale/id/LC_MESSAGES/vte.mo
+share/locale/is/LC_MESSAGES/vte.mo
+share/locale/it/LC_MESSAGES/vte.mo
+share/locale/ja/LC_MESSAGES/vte.mo
+share/locale/ko/LC_MESSAGES/vte.mo
+share/locale/li/LC_MESSAGES/vte.mo
+share/locale/lt/LC_MESSAGES/vte.mo
+share/locale/lv/LC_MESSAGES/vte.mo
+share/locale/mk/LC_MESSAGES/vte.mo
+share/locale/ml/LC_MESSAGES/vte.mo
+share/locale/mn/LC_MESSAGES/vte.mo
+share/locale/ms/LC_MESSAGES/vte.mo
+share/locale/ne/LC_MESSAGES/vte.mo
+share/locale/nl/LC_MESSAGES/vte.mo
+share/locale/nn/LC_MESSAGES/vte.mo
+share/locale/no/LC_MESSAGES/vte.mo
+share/locale/pa/LC_MESSAGES/vte.mo
+share/locale/pl/LC_MESSAGES/vte.mo
+share/locale/pt/LC_MESSAGES/vte.mo
+share/locale/pt_BR/LC_MESSAGES/vte.mo
+share/locale/ro/LC_MESSAGES/vte.mo
+share/locale/ru/LC_MESSAGES/vte.mo
+share/locale/sk/LC_MESSAGES/vte.mo
+share/locale/sl/LC_MESSAGES/vte.mo
+share/locale/sq/LC_MESSAGES/vte.mo
+share/locale/sr/LC_MESSAGES/vte.mo
+share/locale/sr@Latn/LC_MESSAGES/vte.mo
+share/locale/sv/LC_MESSAGES/vte.mo
+share/locale/tr/LC_MESSAGES/vte.mo
+share/locale/uk/LC_MESSAGES/vte.mo
+share/locale/vi/LC_MESSAGES/vte.mo
+share/locale/wa/LC_MESSAGES/vte.mo
+share/locale/zh_CN/LC_MESSAGES/vte.mo
+share/locale/zh_TW/LC_MESSAGES/vte.mo
+@dirrm share/gnome/vte/termcap
+@dirrm share/gnome/vte
+@dirrm share/doc/vte
+@dirrm lib/vte
+@dirrm include/vte