summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2003-04-12 12:52:53 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2003-04-12 12:52:53 +0800
commit06d8a9170cb774d07bc1df71da3649fe21da4a99 (patch)
tree50aeb28a2668c6d5ab285dc4b926f6bd367f88ea
parentf93b0d13332aac0b2ea887ef32d1150805f16f28 (diff)
downloadmarcuscom-ports-06d8a9170cb774d07bc1df71da3649fe21da4a99.tar
marcuscom-ports-06d8a9170cb774d07bc1df71da3649fe21da4a99.tar.gz
marcuscom-ports-06d8a9170cb774d07bc1df71da3649fe21da4a99.tar.bz2
marcuscom-ports-06d8a9170cb774d07bc1df71da3649fe21da4a99.tar.lz
marcuscom-ports-06d8a9170cb774d07bc1df71da3649fe21da4a99.tar.xz
marcuscom-ports-06d8a9170cb774d07bc1df71da3649fe21da4a99.tar.zst
marcuscom-ports-06d8a9170cb774d07bc1df71da3649fe21da4a99.zip
Add vte-0.11.x.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@585 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r--x11-toolkits/vte/Makefile38
-rw-r--r--x11-toolkits/vte/distinfo1
-rw-r--r--x11-toolkits/vte/files/patch-configure10
-rw-r--r--x11-toolkits/vte/files/patch-gnome-pty-helper_Makefile.in13
-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.c15
-rw-r--r--x11-toolkits/vte/files/patch-src_keymap.c10
-rw-r--r--x11-toolkits/vte/files/patch-src_pty.c10
-rw-r--r--x11-toolkits/vte/files/patch-src_vte.c20
-rw-r--r--x11-toolkits/vte/pkg-descr2
-rw-r--r--x11-toolkits/vte/pkg-plist65
11 files changed, 203 insertions, 0 deletions
diff --git a/x11-toolkits/vte/Makefile b/x11-toolkits/vte/Makefile
new file mode 100644
index 000000000..a82084697
--- /dev/null
+++ b/x11-toolkits/vte/Makefile
@@ -0,0 +1,38 @@
+# New ports collection makefile for: vte
+# Date created: 05 October 2002
+# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
+#
+# $FreeBSD: ports/x11-toolkits/vte/Makefile,v 1.20 2003/04/04 07:25:58 marcus Exp $
+#
+
+PORTNAME= vte
+PORTVERSION= 0.11.0
+CATEGORIES= x11-toolkits gnome
+MASTER_SITES= ${MASTER_SITE_GNOME}
+MASTER_SITE_SUBDIR= sources/${PORTNAME}/0.11
+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_LIBTOOL= yes
+USE_GNOME= gnomeprefix gnomehack gtk20
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LIBS="-L${LOCALBASE}/lib"
+CONFIGURE_ARGS= --disable-python
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
+ s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|malloc\.h|stdlib.h|g' \
+ ${WRKSRC}/gnome-pty-helper/gnome-pty-helper.c
+ @${REINPLACE_CMD} -e 's|[(]libdir[)]/locale|(prefix)/share/locale|g' \
+ ${WRKSRC}/po/Makefile.in.in
+
+.include <bsd.port.mk>
diff --git a/x11-toolkits/vte/distinfo b/x11-toolkits/vte/distinfo
new file mode 100644
index 000000000..5ce65ab81
--- /dev/null
+++ b/x11-toolkits/vte/distinfo
@@ -0,0 +1 @@
+MD5 (gnome2/vte-0.11.0.tar.bz2) = cd573a4f7a4bda503726cf1f9ba8d9a1
diff --git a/x11-toolkits/vte/files/patch-configure b/x11-toolkits/vte/files/patch-configure
new file mode 100644
index 000000000..72106cddb
--- /dev/null
+++ b/x11-toolkits/vte/files/patch-configure
@@ -0,0 +1,10 @@
+--- configure.orig Tue Dec 3 02:15:27 2002
++++ configure Wed Dec 4 02:01:09 2002
+@@ -8643,6 +8643,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'
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..e609f0e13
--- /dev/null
+++ b/x11-toolkits/vte/files/patch-gnome-pty-helper_Makefile.in
@@ -0,0 +1,13 @@
+--- gnome-pty-helper/Makefile.in.orig Wed Nov 27 13:30:48 2002
++++ gnome-pty-helper/Makefile.in Wed Nov 27 13:31:05 2002
+@@ -425,8 +425,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_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..d335b0cd0
--- /dev/null
+++ b/x11-toolkits/vte/files/patch-src_dumpkeys.c
@@ -0,0 +1,15 @@
+--- src/dumpkeys.c.orig Wed Dec 4 02:04:12 2002
++++ src/dumpkeys.c Wed Dec 4 02:04:30 2002
+@@ -18,11 +18,11 @@
+
+ #ident "$Id: patch-src_dumpkeys.c,v 1.3 2003-04-12 04:52:53 marcus Exp $"
+ #include "../config.h"
++#include <sys/types.h>
+ #ifdef HAVE_SYS_SELECT_H
+ #include <sys/select.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..52502c510
--- /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.3 2003-04-12 04:52:53 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..3601fb3d6
--- /dev/null
+++ b/x11-toolkits/vte/files/patch-src_pty.c
@@ -0,0 +1,10 @@
+--- src/pty.c.orig Sat Apr 12 00:47:10 2003
++++ src/pty.c Sat Apr 12 00:47:34 2003
+@@ -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
+
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..e7f01d030
--- /dev/null
+++ b/x11-toolkits/vte/files/patch-src_vte.c
@@ -0,0 +1,20 @@
+--- src/vte.c.orig Tue Mar 4 14:25:26 2003
++++ src/vte.c Wed Mar 26 01:42:42 2003
+@@ -547,7 +547,7 @@
+ static wchar_t
+ vte_wc_from_unichar(VteTerminal *terminal, gunichar c)
+ {
+-#ifdef __STDC_ISO_10646__
++#if defined(__STDC_ISO_10646__) || (defined(__FreeBSD__) && __FreeBSD_version < 500000)
+ return (wchar_t) c;
+ #else
+ gpointer original, result;
+@@ -7320,7 +7320,7 @@
+ if (condition & G_IO_IN) {
+ bcount = sizeof(buf) -
+ _vte_buffer_length(terminal->pvt->incoming);
+- bcount = read(fd, buf, MAX(bcount, sizeof(buf) / 2));
++ bcount = read(fd, buf, MAX(bcount, (int)(sizeof(buf) / 2)));
+ }
+ eof = FALSE;
+ if (condition & G_IO_HUP) {
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..13a270b31
--- /dev/null
+++ b/x11-toolkits/vte/pkg-plist
@@ -0,0 +1,65 @@
+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.4
+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/window
+libdata/pkgconfig/vte.pc
+libexec/gnome-pty-helper
+share/gnome/vte/termcap/xterm
+share/locale/am/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/da/LC_MESSAGES/vte.mo
+share/locale/de/LC_MESSAGES/vte.mo
+share/locale/el/LC_MESSAGES/vte.mo
+share/locale/es/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/he/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/lv/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/nl/LC_MESSAGES/vte.mo
+share/locale/no/LC_MESSAGES/vte.mo
+share/locale/ro/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/ru/LC_MESSAGES/vte.mo
+share/locale/sl/LC_MESSAGES/vte.mo
+share/locale/sk/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/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