mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
Add vte, a GNOME 2 terminal widget with improved accessibility and I18N
support.
This commit is contained in:
parent
638e9e1fdc
commit
25fde6ad9c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=67446
@ -149,6 +149,7 @@
|
||||
SUBDIR += vdkbuilder
|
||||
SUBDIR += viewkit
|
||||
SUBDIR += viewklass
|
||||
SUBDIR += vte
|
||||
SUBDIR += whistlerk
|
||||
SUBDIR += wxgtk
|
||||
SUBDIR += wxgtk-devel
|
||||
|
36
x11-toolkits/vte/Makefile
Normal file
36
x11-toolkits/vte/Makefile
Normal file
@ -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>
|
1
x11-toolkits/vte/distinfo
Normal file
1
x11-toolkits/vte/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (gnome2/vte-0.9.0.tar.bz2) = a393bf9a0cf164491ce48232a3cfdcef
|
18
x11-toolkits/vte/files/patch-configure
Normal file
18
x11-toolkits/vte/files/patch-configure
Normal file
@ -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
|
23
x11-toolkits/vte/files/patch-src_pty.c
Normal file
23
x11-toolkits/vte/files/patch-src_pty.c
Normal file
@ -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;
|
||||
}
|
51
x11-toolkits/vte/files/patch-src_vte.c
Normal file
51
x11-toolkits/vte/files/patch-src_vte.c
Normal file
@ -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
|
1
x11-toolkits/vte/pkg-comment
Normal file
1
x11-toolkits/vte/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
Terminal widget with improved accessibility and I18N support
|
2
x11-toolkits/vte/pkg-descr
Normal file
2
x11-toolkits/vte/pkg-descr
Normal file
@ -0,0 +1,2 @@
|
||||
Terminal widget with improved font, internationalisation and accessibility
|
||||
support for the GNOME 2 desktop. Designed to replace libzvt.
|
36
x11-toolkits/vte/pkg-plist
Normal file
36
x11-toolkits/vte/pkg-plist
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user