diff options
-rw-r--r-- | x11-toolkits/vte/Makefile | 42 | ||||
-rw-r--r-- | x11-toolkits/vte/distinfo | 3 | ||||
-rw-r--r-- | x11-toolkits/vte/files/patch-04_dsp_non_alias | 12 | ||||
-rw-r--r-- | x11-toolkits/vte/files/patch-07_set_backspace_to_utf8 | 14 | ||||
-rw-r--r-- | x11-toolkits/vte/files/patch-configure | 31 | ||||
-rw-r--r-- | x11-toolkits/vte/files/patch-gnome-pty-helper_Makefile.in | 30 | ||||
-rw-r--r-- | x11-toolkits/vte/files/patch-gnome-pty-helper_configure | 10 | ||||
-rw-r--r-- | x11-toolkits/vte/files/patch-gnome-pty-helper_gnome-pty-helper.c | 26 | ||||
-rw-r--r-- | x11-toolkits/vte/files/patch-src_keymap.c | 10 | ||||
-rw-r--r-- | x11-toolkits/vte/files/patch-src_pty.c | 19 | ||||
-rw-r--r-- | x11-toolkits/vte/pkg-descr | 2 | ||||
-rw-r--r-- | x11-toolkits/vte/pkg-plist | 125 |
12 files changed, 324 insertions, 0 deletions
diff --git a/x11-toolkits/vte/Makefile b/x11-toolkits/vte/Makefile new file mode 100644 index 000000000..de317d026 --- /dev/null +++ b/x11-toolkits/vte/Makefile @@ -0,0 +1,42 @@ +# New ports collection makefile for: vte +# Date created: 05 October 2002 +# Whom: Joe Marcus Clarke <marcus@FreeBSD.org> +# +# $FreeBSD$ +# $MCom$ +# + +PORTNAME= vte +PORTVERSION= 0.12.0 +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_BISON= yes +INSTALLS_SHLIB= yes +GNU_CONFIGURE= yes +USE_GNOME= gnomeprefix gnomehack 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} "" + +.include <bsd.port.mk> diff --git a/x11-toolkits/vte/distinfo b/x11-toolkits/vte/distinfo new file mode 100644 index 000000000..27ba335db --- /dev/null +++ b/x11-toolkits/vte/distinfo @@ -0,0 +1,3 @@ +MD5 (gnome2/vte-0.12.0.tar.bz2) = 2c3a321e7e6a8ec9d9740a7cb683c1d0 +SHA256 (gnome2/vte-0.12.0.tar.bz2) = d1a1f37ab90d5853a95de4bc53ff4c8a13afbab68d4d31fac04fa0a9ed5c1030 +SIZE (gnome2/vte-0.12.0.tar.bz2) = 952289 diff --git a/x11-toolkits/vte/files/patch-04_dsp_non_alias b/x11-toolkits/vte/files/patch-04_dsp_non_alias new file mode 100644 index 000000000..34e12ab63 --- /dev/null +++ b/x11-toolkits/vte/files/patch-04_dsp_non_alias @@ -0,0 +1,12 @@ +diff -urN vte-0.11.11.orig/src/vtefc.c vte-0.11.11/src/vtefc.c +--- src/vtefc.c 2004-05-11 09:03:59.000000000 +0000 ++++ src/vtefc.c 2004-05-11 09:05:48.000000000 +0000 +@@ -465,7 +465,7 @@ + tmp = FcFontRenderPrepare(NULL, + pattern, + fontset->fonts[i]); +- _vte_fc_defaults_from_gtk(widget, tmp, antialias); ++ FcConfigSubstitute (NULL, tmp, FcMatchPattern); + _vte_fc_set_antialias(tmp, antialias); + save = FcPatternDuplicate(tmp); + FcPatternDestroy(tmp); diff --git a/x11-toolkits/vte/files/patch-07_set_backspace_to_utf8 b/x11-toolkits/vte/files/patch-07_set_backspace_to_utf8 new file mode 100644 index 000000000..cf1d41e6b --- /dev/null +++ b/x11-toolkits/vte/files/patch-07_set_backspace_to_utf8 @@ -0,0 +1,14 @@ +--- src/vte.c.orig 2004-12-20 00:57:39 -0800 ++++ src/vte.c 2004-12-20 00:57:44 -0800 +@@ -7125,7 +7125,11 @@ + break; + default: + if (pid != 0) { ++ char *codeset; + terminal->pvt->pty_master = i; ++ g_get_charset(&codeset); ++ _vte_pty_set_utf8(terminal->pvt->pty_master, ++ (strcmp(codeset, "UTF-8") == 0)); + } + } + diff --git a/x11-toolkits/vte/files/patch-configure b/x11-toolkits/vte/files/patch-configure new file mode 100644 index 000000000..424e74a57 --- /dev/null +++ b/x11-toolkits/vte/files/patch-configure @@ -0,0 +1,31 @@ +--- configure.orig Tue Aug 23 20:29:13 2005 ++++ configure Tue Aug 23 20:30:09 2005 +@@ -26765,10 +26765,6 @@ + rm -f conftest* + + +-cat >>confdefs.h <<\_ACEOF +-#define _XOPEN_SOURCE_EXTENDED 1 +-_ACEOF +- + + cat >>confdefs.h <<\_ACEOF + #define _XOPEN_SOURCE 1 +@@ -27067,7 +27063,7 @@ + + + +-for ac_func in cfmakeraw getpgid getpt grantpt unlockpt ptsname ptsname_r ++for ac_func in cfmakeraw getpgid getpt posix_openpt grantpt unlockpt ptsname ptsname_r + do + as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` + echo "$as_me:$LINENO: checking for $ac_func" >&5 +@@ -29400,7 +29396,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..6be543a31 --- /dev/null +++ b/x11-toolkits/vte/files/patch-gnome-pty-helper_gnome-pty-helper.c @@ -0,0 +1,26 @@ +--- gnome-pty-helper/gnome-pty-helper.c.orig Tue Feb 14 03:58:10 2006 ++++ gnome-pty-helper/gnome-pty-helper.c Sat Feb 25 16:38:04 2006 +@@ -95,12 +95,12 @@ static pty_info *pty_list; + #endif /* CMSG_DATA */ + + static struct cmsghdr *cmptr; +-static int CONTROLLEN; ++static socklen_t CONTROLLEN; + + static int + init_msg_pass (void) + { +- CONTROLLEN = (CMSG_DATA (cmptr) - (unsigned char *)cmptr) + sizeof(int); ++ CONTROLLEN = CMSG_SPACE (sizeof (int)); + cmptr = malloc (CONTROLLEN); + + if (cmptr) +@@ -128,7 +128,7 @@ pass_fd (int client_fd, int fd) + + cmptr->cmsg_level = SOL_SOCKET; + cmptr->cmsg_type = SCM_RIGHTS; +- cmptr->cmsg_len = CONTROLLEN; ++ cmptr->cmsg_len = CMSG_LEN (sizeof (fd)); + *(int *)CMSG_DATA (cmptr) = fd; + + if (sendmsg (client_fd, &msg, 0) != 1) 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..c72b805b6 --- /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.7 2006-03-13 06:27:52 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/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..43aced284 --- /dev/null +++ b/x11-toolkits/vte/pkg-plist @@ -0,0 +1,125 @@ +bin/vte +include/vte/pty.h +include/vte/reaper.h +include/vte/vte.h +include/vte/vteaccess.h +lib/libvte.a +lib/libvte.la +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 +%%DOCSDIR%%/VteReaper.html +%%DOCSDIR%%/VteTerminal.html +%%DOCSDIR%%/VteTerminalAccessible.html +%%DOCSDIR%%/ch01.html +%%DOCSDIR%%/home.png +%%DOCSDIR%%/index.html +%%DOCSDIR%%/index.sgml +%%DOCSDIR%%/left.png +%%DOCSDIR%%/right.png +%%DOCSDIR%%/style.css +%%DOCSDIR%%/up.png +%%DOCSDIR%%/vte.devhelp +share/gnome/vte/termcap/xterm +share/locale/am/LC_MESSAGES/vte.mo +share/locale/ang/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/bs/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/gl/LC_MESSAGES/vte.mo +share/locale/gu/LC_MESSAGES/vte.mo +share/locale/he/LC_MESSAGES/vte.mo +share/locale/hi/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/ka/LC_MESSAGES/vte.mo +share/locale/kn/LC_MESSAGES/vte.mo +share/locale/ko/LC_MESSAGES/vte.mo +share/locale/ku/LC_MESSAGES/vte.mo +share/locale/ky/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/mi/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/nb/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/or/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/rw/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/ta/LC_MESSAGES/vte.mo +share/locale/th/LC_MESSAGES/vte.mo +share/locale/tr/LC_MESSAGES/vte.mo +share/locale/ug/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/xh/LC_MESSAGES/vte.mo +share/locale/zh_CN/LC_MESSAGES/vte.mo +share/locale/zh_HK/LC_MESSAGES/vte.mo +share/locale/zh_TW/LC_MESSAGES/vte.mo +@dirrmtry share/locale/zh_HK/LC_MESSAGES +@dirrmtry share/locale/zh_HK +@dirrmtry share/locale/ug/LC_MESSAGES +@dirrmtry share/locale/ug +@dirrmtry share/locale/ky/LC_MESSAGES +@dirrmtry share/locale/ky +@dirrmtry share/locale/ku/LC_MESSAGES +@dirrmtry share/locale/ku +@dirrmtry share/locale/ang/LC_MESSAGES +@dirrmtry share/locale/ang +@dirrm share/gnome/vte/termcap +@dirrm share/gnome/vte +@dirrm %%DOCSDIR%% +@dirrm lib/vte +@dirrm include/vte |