Import vteplugin 0.1.
Those days, the trend is to write/use minimal browsers that work in a terminal. vteplugin takes the opposite direction and allows you to use terminals in your npapi-compatible-bloated-web-browser, ie any gecko/webkit web browser. It uses XEmbed to bundle a vte window in a browser tab.
This commit is contained in:
parent
62f7543ff5
commit
4759b86cba
34
www/vteplugin/Makefile
Normal file
34
www/vteplugin/Makefile
Normal file
@ -0,0 +1,34 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2010/04/21 16:26:46 landry Exp $
|
||||
|
||||
COMMENT = npapi vte-based terminal for web browsers
|
||||
|
||||
DISTNAME = vteplugin-0.1
|
||||
CATEGORIES = www x11
|
||||
|
||||
# WTFPL
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
EXTRACT_SUFX=.tar.bz2
|
||||
|
||||
MASTER_SITES = http://blog.renevier.net/public/
|
||||
MODULES = devel/waf
|
||||
|
||||
LIB_DEPENDS = gdk-x11-2.0,gdk_pixbuf-2.0,gtk-x11-2.0::x11/gtk+2 \
|
||||
vte::devel/vte
|
||||
|
||||
WANTLIB += X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes
|
||||
WANTLIB += Xi Xinerama Xrandr Xrender atk-1.0 cairo expat fontconfig
|
||||
WANTLIB += freetype gio-2.0 glib-2.0 glitz gmodule-2.0 gobject-2.0
|
||||
WANTLIB += iconv intl m pango-1.0 pangocairo-1.0 pangoft2-1.0
|
||||
WANTLIB += pixman-1 png pthread-stubs xcb z
|
||||
|
||||
pre-configure:
|
||||
${SUBST_CMD} ${WRKSRC}/wscript
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/vteplugin
|
||||
${INSTALL_DATA} ${WRKSRC}/vteplugin.html ${PREFIX}/share/vteplugin/vteplugin.html
|
||||
|
||||
.include <bsd.port.mk>
|
5
www/vteplugin/distinfo
Normal file
5
www/vteplugin/distinfo
Normal file
@ -0,0 +1,5 @@
|
||||
MD5 (vteplugin-0.1.tar.bz2) = hMid38Ea5OtyVgxxyN666w==
|
||||
RMD160 (vteplugin-0.1.tar.bz2) = DHwyxbVzz2j4TN7Zm/levCv2wRU=
|
||||
SHA1 (vteplugin-0.1.tar.bz2) = tMCWSJQ3allPA7kjaypROg6JSCg=
|
||||
SHA256 (vteplugin-0.1.tar.bz2) = x/NpYTXxFpWnx6OJGuQ4/qzb7v8KjOdyWYN/4IhiBPA=
|
||||
SIZE (vteplugin-0.1.tar.bz2) = 115469
|
11
www/vteplugin/patches/patch-wscript
Normal file
11
www/vteplugin/patches/patch-wscript
Normal file
@ -0,0 +1,11 @@
|
||||
$OpenBSD: patch-wscript,v 1.1.1.1 2010/04/21 16:26:46 landry Exp $
|
||||
--- wscript.orig Thu Apr 15 12:55:27 2010
|
||||
+++ wscript Thu Apr 15 12:55:43 2010
|
||||
@@ -28,6 +28,6 @@ def build(ctx):
|
||||
ctx.env.shlib_PATTERN = "%s.so"
|
||||
obj = ctx.new_task_gen(features='cc cshlib',
|
||||
target=APPNAME,
|
||||
- install_path="/usr/lib/mozilla/plugins",
|
||||
+ install_path="${LOCALBASE}/lib/mozilla-plugins",
|
||||
uselib="vte gdk gtk")
|
||||
obj.find_sources_in_dirs(top)
|
9
www/vteplugin/pkg/DESCR
Normal file
9
www/vteplugin/pkg/DESCR
Normal file
@ -0,0 +1,9 @@
|
||||
vteplugin implements a terminal emulator in a browser plugins. That
|
||||
means you can use command line in a terminal **inside a browser tab**.
|
||||
|
||||
vteplugin is a npapi plugin that uses vte library to display a terminal
|
||||
emulator, it should work with any gecko/webkit-based www-browser
|
||||
supporting npapi plugins.
|
||||
|
||||
To use it, open ${LOCALBASE}/share/vteplugin/vteplugin.html document
|
||||
in your web browser. This document should display a usable terminal.
|
5
www/vteplugin/pkg/PLIST
Normal file
5
www/vteplugin/pkg/PLIST
Normal file
@ -0,0 +1,5 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2010/04/21 16:26:46 landry Exp $
|
||||
lib/mozilla-plugins/
|
||||
lib/mozilla-plugins/vteplugin.so
|
||||
share/vteplugin/
|
||||
share/vteplugin/vteplugin.html
|
Loading…
x
Reference in New Issue
Block a user