VTE is an terminal emulator widget for use with GTK+ 2.

ok jolan@
This commit is contained in:
marcm 2003-06-12 19:45:35 +00:00
parent 90f0b51bb1
commit 911b151d9e
11 changed files with 343 additions and 0 deletions

34
devel/vte/Makefile Normal file
View File

@ -0,0 +1,34 @@
# $OpenBSD: Makefile,v 1.1.1.1 2003/06/12 19:45:35 marcm Exp $
COMMENT= "An experimental terminal emulator"
DISTNAME= vte-0.10.28
CATEGORIES= devel
HOMEPAGE= http://www.gnome.org/
MAINTAINER= Marc Matteo <marcm@openbsd.org>
# LGPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/vte/0.10/}
EXTRACT_SUFX= .tar.bz2
BUILD_DEPENDS= :pkgconfig->=0.14.0p1:devel/pkgconfig
LIB_DEPENDS= gdk-x11-2.0.0.0,gdk_pixbuf-2.0.0.0,gtk-x11-2.0.0.0::x11/gtk+2
#SEPARATE_BUILD= concurrent
USE_GMAKE= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ARGS+= --disable-gtk-doc
CONFIGURE_ARGS+= --disable-python
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
PKG_CONFIG_PATH="${LOCALBASE}/lib/pkgconfig:${X11BASE}/lib/pkgconfig"
.include <bsd.port.mk>

3
devel/vte/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (vte-0.10.28.tar.bz2) = 3985463cab0a2df8763d793b95ebf4ba
RMD160 (vte-0.10.28.tar.bz2) = 24bc9620bdc48fc7c4cc893517afd55d717aa9ec
SHA1 (vte-0.10.28.tar.bz2) = d16235e0eb780e2c53496c0084bcc63dc593b463

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-gnome-pty-helper_Makefile_in,v 1.1.1.1 2003/06/12 19:45:35 marcm Exp $
--- gnome-pty-helper/Makefile.in.orig Mon May 12 12:33:52 2003
+++ gnome-pty-helper/Makefile.in Thu May 29 21:24:56 2003
@@ -427,7 +427,7 @@ uninstall-am: uninstall-info-am uninstal
install-exec-hook:
- chown root.utmp $(DESTDIR)$(libexecdir)/gnome-pty-helper || true
+ chown root:wheel $(DESTDIR)$(libexecdir)/gnome-pty-helper || true
chmod g+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.

View File

@ -0,0 +1,72 @@
$OpenBSD: patch-ltmain_sh,v 1.1.1.1 2003/06/12 19:45:35 marcm Exp $
--- ltmain.sh.orig Mon Jan 27 20:27:31 2003
+++ ltmain.sh Tue Jan 28 00:41:57 2003
@@ -1085,6 +1085,17 @@ compiler."
continue
;;
+ -pthread)
+ case $host in
+ *-*-openbsd*)
+ deplibs="$deplibs $arg"
+ ;;
+ *)
+ continue
+ ;;
+ esac
+ ;;
+
-module)
module=yes
continue
@@ -1525,6 +1536,9 @@ compiler."
fi
continue
;;
+ -pthread)
+ continue
+ ;;
%DEPLIBS%)
alldeplibs=yes
continue
@@ -4580,40 +4594,6 @@ relink_command=\"$relink_command\""
# Exit here if they wanted silent mode.
test "$show" = ":" && exit 0
- echo "----------------------------------------------------------------------"
- echo "Libraries have been installed in:"
- for libdir in $libdirs; do
- echo " $libdir"
- done
- echo
- echo "If you ever happen to want to link against installed libraries"
- echo "in a given directory, LIBDIR, you must either use libtool, and"
- echo "specify the full pathname of the library, or use the \`-LLIBDIR'"
- echo "flag during linking and do at least one of the following:"
- if test -n "$shlibpath_var"; then
- echo " - add LIBDIR to the \`$shlibpath_var' environment variable"
- echo " during execution"
- fi
- if test -n "$runpath_var"; then
- echo " - add LIBDIR to the \`$runpath_var' environment variable"
- echo " during linking"
- fi
- if test -n "$hardcode_libdir_flag_spec"; then
- libdir=LIBDIR
- eval flag=\"$hardcode_libdir_flag_spec\"
-
- echo " - use the \`$flag' linker flag"
- fi
- if test -n "$admincmds"; then
- echo " - have your system administrator run these commands:$admincmds"
- fi
- if test -f /etc/ld.so.conf; then
- echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
- fi
- echo
- echo "See any operating system documentation about shared libraries for"
- echo "more information, such as the ld(1) and ld.so(8) manual pages."
- echo "----------------------------------------------------------------------"
exit 0
;;

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-po_Makefile_in_in,v 1.1.1.1 2003/06/12 19:45:35 marcm Exp $
--- po/Makefile.in.in.orig Tue May 27 19:29:17 2003
+++ po/Makefile.in.in Tue May 27 19:29:35 2003
@@ -27,7 +27,7 @@ prefix = @prefix@
exec_prefix = @exec_prefix@
datadir = @datadir@
libdir = @libdir@
-localedir = $(libdir)/locale
+localedir = $(datadir)/locale
gnulocaledir = $(datadir)/locale
gettextsrcdir = $(datadir)/glib-2.0/gettext/po
subdir = po

View File

@ -0,0 +1,16 @@
$OpenBSD: patch-src_dumpkeys_c,v 1.1.1.1 2003/06/12 19:45:35 marcm Exp $
--- src/dumpkeys.c.orig Tue May 27 19:02:24 2003
+++ src/dumpkeys.c Tue May 27 19:02:53 2003
@@ -18,11 +18,11 @@
#ident "$Id: patch-src_dumpkeys_c,v 1.1.1.1 2003/06/12 19:45:35 marcm 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>

View File

@ -0,0 +1,14 @@
OpenBSD$
--- src/pty.c.orig Thu May 29 22:06:01 2003
+++ src/pty.c Thu May 29 22:06:03 2003
@@ -48,6 +48,10 @@
#include "../gnome-pty-helper/gnome-pty.h"
#endif
+#ifdef __OpenBSD__
+#define HAVE_RECVMSG 1
+#endif
+
#ifdef MSG_NOSIGNAL
#define PTY_RECVMSG_FLAGS MSG_NOSIGNAL
#else

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-src_vte_c,v 1.1.1.1 2003/06/12 19:45:35 marcm Exp $
--- src/vte.c.orig Mon May 5 22:27:40 2003
+++ src/vte.c Thu May 29 21:24:56 2003
@@ -584,7 +584,7 @@ vte_unicode_strlen(gunichar *c)
static wchar_t
vte_wc_from_unichar(VteTerminal *terminal, gunichar c)
{
-#ifdef __STDC_ISO_10646__
+#if defined(__STDC_ISO_10646__) || defined(__OpenBSD__)
return (wchar_t) c;
#else
gpointer original, result;

5
devel/vte/pkg/DESCR Normal file
View File

@ -0,0 +1,5 @@
VTE is an experimental terminal emulator widget for use with
GTK+ 2.0. This package contains the files needed for building
applications using VTE.
WWW: ${HOMEPAGE}

View File

@ -0,0 +1,3 @@
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2003/06/12 19:45:35 marcm Exp $
lib/libvte.so.4.0
DYNLIBDIR(%D/lib)

160
devel/vte/pkg/PLIST Normal file
View File

@ -0,0 +1,160 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2003/06/12 19:45:35 marcm Exp $
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/pkgconfig/vte.pc
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
libexec/gnome-pty-helper
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/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/zh_CN/LC_MESSAGES/vte.mo
share/locale/zh_TW/LC_MESSAGES/vte.mo
share/vte/termcap/xterm
%%SHARED%%
@dirrm share/vte/termcap
@dirrm share/vte
@comment @dirrm share/locale/zh_TW/LC_MESSAGES
@comment @dirrm share/locale/zh_TW
@comment @dirrm share/locale/zh_CN/LC_MESSAGES
@comment @dirrm share/locale/zh_CN
@comment @dirrm share/locale/vi/LC_MESSAGES
@comment @dirrm share/locale/vi
@comment @dirrm share/locale/uk/LC_MESSAGES
@comment @dirrm share/locale/uk
@comment @dirrm share/locale/tr/LC_MESSAGES
@comment @dirrm share/locale/tr
@comment @dirrm share/locale/sv/LC_MESSAGES
@comment @dirrm share/locale/sv
@comment @dirrm share/locale/sr@Latn/LC_MESSAGES
@comment @dirrm share/locale/sr@Latn
@comment @dirrm share/locale/sr/LC_MESSAGES
@comment @dirrm share/locale/sr
@comment @dirrm share/locale/sq/LC_MESSAGES
@comment @dirrm share/locale/sq
@comment @dirrm share/locale/sl/LC_MESSAGES
@comment @dirrm share/locale/sl
@comment @dirrm share/locale/sk/LC_MESSAGES
@comment @dirrm share/locale/sk
@comment @dirrm share/locale/ru/LC_MESSAGES
@comment @dirrm share/locale/ru
@comment @dirrm share/locale/ro/LC_MESSAGES
@comment @dirrm share/locale/ro
@comment @dirrm share/locale/pt_BR/LC_MESSAGES
@comment @dirrm share/locale/pt_BR
@comment @dirrm share/locale/pt/LC_MESSAGES
@comment @dirrm share/locale/pt
@comment @dirrm share/locale/pl/LC_MESSAGES
@comment @dirrm share/locale/pl
@comment @dirrm share/locale/no/LC_MESSAGES
@comment @dirrm share/locale/no
@comment @dirrm share/locale/nl/LC_MESSAGES
@comment @dirrm share/locale/nl
@comment @dirrm share/locale/ms/LC_MESSAGES
@comment @dirrm share/locale/ms
@comment @dirrm share/locale/mn/LC_MESSAGES
@comment @dirrm share/locale/mn
@comment @dirrm share/locale/ml/LC_MESSAGES
@comment @dirrm share/locale/ml
@comment @dirrm share/locale/lv/LC_MESSAGES
@comment @dirrm share/locale/lv
@comment @dirrm share/locale/ko/LC_MESSAGES
@comment @dirrm share/locale/ko
@comment @dirrm share/locale/ja/LC_MESSAGES
@comment @dirrm share/locale/ja
@comment @dirrm share/locale/it/LC_MESSAGES
@comment @dirrm share/locale/it
@comment @dirrm share/locale/is/LC_MESSAGES
@comment @dirrm share/locale/is
@comment @dirrm share/locale/id/LC_MESSAGES
@comment @dirrm share/locale/id
@comment @dirrm share/locale/hu/LC_MESSAGES
@comment @dirrm share/locale/hu
@comment @dirrm share/locale/he/LC_MESSAGES
@comment @dirrm share/locale/he
@comment @dirrm share/locale/fr/LC_MESSAGES
@comment @dirrm share/locale/fr
@comment @dirrm share/locale/fi/LC_MESSAGES
@comment @dirrm share/locale/fi
@comment @dirrm share/locale/fa/LC_MESSAGES
@comment @dirrm share/locale/fa
@comment @dirrm share/locale/es/LC_MESSAGES
@comment @dirrm share/locale/es
@comment @dirrm share/locale/el/LC_MESSAGES
@comment @dirrm share/locale/el
@comment @dirrm share/locale/de/LC_MESSAGES
@comment @dirrm share/locale/de
@comment @dirrm share/locale/da/LC_MESSAGES
@comment @dirrm share/locale/da
@comment @dirrm share/locale/cs/LC_MESSAGES
@comment @dirrm share/locale/cs
@comment @dirrm share/locale/ca/LC_MESSAGES
@comment @dirrm share/locale/ca
@comment @dirrm share/locale/bn/LC_MESSAGES
@comment @dirrm share/locale/bn
@comment @dirrm share/locale/bg/LC_MESSAGES
@comment @dirrm share/locale/bg
@comment @dirrm share/locale/be/LC_MESSAGES
@comment @dirrm share/locale/be
@comment @dirrm share/locale/az/LC_MESSAGES
@comment @dirrm share/locale/az
@comment @dirrm share/locale/am/LC_MESSAGES
@comment @dirrm share/locale/am
@comment @dirrm share/locale
@comment @exec mkdir -p %D/share/gtk-doc/html/vte
@comment @dirrm share/gtk-doc/html/vte
@comment @dirrm share/gtk-doc/html
@comment @dirrm share/gtk-doc
@dirrm lib/vte
@comment @dirrm lib/pkgconfig
@dirrm include/vte