summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/vte
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2002-10-06 01:49:09 +0000
committermarcus <marcus@FreeBSD.org>2002-10-06 01:49:09 +0000
commit22706b8ba5fbd38e26c5244ad485c2ca176dc850 (patch)
treeb2ce6755112168ea164a0c70a475030f7b07bcd2 /x11-toolkits/vte
parent03908f7a11ee93ba5e322eff03e4d41d366ff86f (diff)
downloadFreeBSD-ports-22706b8ba5fbd38e26c5244ad485c2ca176dc850.zip
FreeBSD-ports-22706b8ba5fbd38e26c5244ad485c2ca176dc850.tar.gz
Add vte, a GNOME 2 terminal widget with improved accessibility and I18N
support.
Diffstat (limited to 'x11-toolkits/vte')
-rw-r--r--x11-toolkits/vte/Makefile36
-rw-r--r--x11-toolkits/vte/distinfo1
-rw-r--r--x11-toolkits/vte/files/patch-configure18
-rw-r--r--x11-toolkits/vte/files/patch-src_pty.c23
-rw-r--r--x11-toolkits/vte/files/patch-src_vte.c51
-rw-r--r--x11-toolkits/vte/pkg-comment1
-rw-r--r--x11-toolkits/vte/pkg-descr2
-rw-r--r--x11-toolkits/vte/pkg-plist36
8 files changed, 168 insertions, 0 deletions
diff --git a/x11-toolkits/vte/Makefile b/x11-toolkits/vte/Makefile
new file mode 100644
index 0000000..e694a69
--- /dev/null
+++ b/x11-toolkits/vte/Makefile
@@ -0,0 +1,36 @@
+# New ports collection makefile for: vte
+# Date created: 05 October 2002
+# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= vte
+PORTVERSION= 0.9.0
+CATEGORIES= x11-toolkits gnome
+MASTER_SITES= ${MASTER_SITE_GNOME}
+MASTER_SITE_SUBDIR= sources/${PORTNAME}/0.9
+DIST_SUBDIR= gnome2
+
+MAINTAINER= gnome@FreeBSD.org
+
+LIB_DEPENDS= gtk-x11-2.0.0:${PORTSDIR}/x11-toolkits/gtk20
+
+USE_BZIP2= yes
+USE_X_PREFIX= yes
+USE_GMAKE= yes
+USE_REINPLACE= yes
+USE_BISON= yes
+INSTALLS_SHLIB= yes
+USE_LIBTOOL= yes
+USE_GNOMENG= yes
+USE_GNOME= gnomeprefix gnomehack
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LIBS="-L${LOCALBASE}/lib"
+CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
+ s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
+
+.include <bsd.port.mk>
diff --git a/x11-toolkits/vte/distinfo b/x11-toolkits/vte/distinfo
new file mode 100644
index 0000000..dc6c93b
--- /dev/null
+++ b/x11-toolkits/vte/distinfo
@@ -0,0 +1 @@
+MD5 (gnome2/vte-0.9.0.tar.bz2) = a393bf9a0cf164491ce48232a3cfdcef
diff --git a/x11-toolkits/vte/files/patch-configure b/x11-toolkits/vte/files/patch-configure
new file mode 100644
index 0000000..5695da1
--- /dev/null
+++ b/x11-toolkits/vte/files/patch-configure
@@ -0,0 +1,18 @@
+--- configure.orig Wed Sep 11 02:36:11 2002
++++ configure Sat Oct 5 21:12:04 2002
+@@ -8137,6 +8137,7 @@
+
+ # This can be used to rebuild libtool when needed
+ LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
++$ac_aux_dir/ltconfig $LIBTOOL_DEPS
+
+ # Always use our own libtool.
+ LIBTOOL='$(SHELL) $(top_builddir)/libtool'
+@@ -12188,6 +12189,7 @@
+ cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+ #include "confdefs.h"
++#include <wchar.h>
+ $ac_includes_default
+ #ifdef F77_DUMMY_MAIN
+ # ifdef __cplusplus
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 0000000..bce9819
--- /dev/null
+++ b/x11-toolkits/vte/files/patch-src_pty.c
@@ -0,0 +1,23 @@
+--- src/pty.c.orig Wed Sep 11 02:10:46 2002
++++ src/pty.c Sat Oct 5 21:07:48 2002
+@@ -19,9 +19,10 @@
+ #ident "$Id: pty.c,v 1.25 2002/09/11 06:10:46 nalin Exp $"
+ #include "../config.h"
+ #include <sys/ioctl.h>
+-#include <sys/socket.h>
+ #include <sys/types.h>
++#include <sys/socket.h>
+ #include <sys/wait.h>
++#include <sys/uio.h>
+ #include <errno.h>
+ #include <fcntl.h>
+ #include <limits.h>
+@@ -525,7 +526,7 @@
+ msg.msg_iovlen = 1;
+ msg.msg_control = control;
+ msg.msg_controllen = sizeof(control);
+- ret = recvmsg(tunnel, &msg, MSG_NOSIGNAL);
++ ret = recvmsg(tunnel, &msg, 0);
+ if (ret == -1) {
+ return;
+ }
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 0000000..5b10c2d
--- /dev/null
+++ b/x11-toolkits/vte/files/patch-src_vte.c
@@ -0,0 +1,51 @@
+--- src/vte.c.orig Sat Oct 5 21:26:51 2002
++++ src/vte.c Sat Oct 5 21:27:06 2002
+@@ -472,48 +472,7 @@
+ static wchar_t
+ vte_wc_from_unichar(VteTerminal *terminal, gunichar c)
+ {
+-#ifdef __STDC_ISO_10646__
+ return (wchar_t) c;
+-#else
+- gpointer original, result;
+- char *local, utf8_buf[VTE_UTF8_BPC];
+- const char *localr;
+- wchar_t wc_buf[VTE_UTF8_BPC];
+- int ret;
+- gsize length, bytes_read, bytes_written;
+- mbstate_t state;
+- GError *error = NULL;
+- /* Check the cache. */
+- if (g_tree_lookup_extended(terminal->pvt->unichar_wc_map,
+- GINT_TO_POINTER(c),
+- &original,
+- &result)) {
+- return GPOINTER_TO_INT(c);
+- }
+- /* Convert the character to a locally-encoded mbs. */
+- length = g_unichar_to_utf8(c, utf8_buf);
+- local = g_locale_from_utf8(utf8_buf, length,
+- &bytes_read, &bytes_written, &error);
+- if (error == NULL) {
+- /* Convert from an mbs to a (single-character) wcs. */
+- memset(&state, 0, sizeof(state));
+- localr = local;
+- ret = mbsrtowcs(wc_buf, &localr, bytes_written, &state);
+- if (ret == 1) {
+- g_tree_insert(terminal->pvt->unichar_wc_map,
+- GINT_TO_POINTER(c),
+- GINT_TO_POINTER(wc_buf[0]));
+- return wc_buf[0];
+- }
+- }
+- /* Punt. */
+- if (error != NULL) {
+- g_printerr("g_locale_from_utf8(%d): %s", error->code,
+- error->message);
+- g_error_free(error);
+- }
+- return (wchar_t) c;
+-#endif
+ }
+
+ #ifdef VTE_PREFER_PANGOX
diff --git a/x11-toolkits/vte/pkg-comment b/x11-toolkits/vte/pkg-comment
new file mode 100644
index 0000000..a23b9f7
--- /dev/null
+++ b/x11-toolkits/vte/pkg-comment
@@ -0,0 +1 @@
+Terminal widget with improved accessibility and I18N support
diff --git a/x11-toolkits/vte/pkg-descr b/x11-toolkits/vte/pkg-descr
new file mode 100644
index 0000000..f6d86e5
--- /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 0000000..ee7be98
--- /dev/null
+++ b/x11-toolkits/vte/pkg-plist
@@ -0,0 +1,36 @@
+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.3
+lib/vte/gnome-pty-helper
+lib/vte/interpret
+lib/vte/iso8859mode
+lib/vte/slowcat
+lib/vte/utf8echo
+lib/vte/utf8mode
+libdata/pkgconfig/vte.pc
+share/doc/vte/c4.html
+share/doc/vte/index.html
+share/doc/vte/index.sgml
+share/doc/vte/vte-pty.html
+share/doc/vte/vtereaper.html
+share/doc/vte/vteterminal.html
+share/doc/vte/vteterminalaccessible.html
+share/gnome/vte/termcap/xterm
+share/locale/da/LC_MESSAGES/vte.mo
+share/locale/de/LC_MESSAGES/vte.mo
+share/locale/fr/LC_MESSAGES/vte.mo
+share/locale/nl/LC_MESSAGES/vte.mo
+share/locale/no/LC_MESSAGES/vte.mo
+share/locale/pt_BR/LC_MESSAGES/vte.mo
+share/locale/sv/LC_MESSAGES/vte.mo
+share/locale/vi/LC_MESSAGES/vte.mo
+@dirrm share/gnome/vte/termcap
+@dirrm share/gnome/vte
+@dirrm share/doc/vte
+@dirrm lib/vte
+@dirrm include/vte
OpenPOWER on IntegriCloud