From 3555fcba5197db1749b414c1b416bff4913447bb Mon Sep 17 00:00:00 2001 From: Roger Hardiman Date: Tue, 8 Jun 1999 17:48:39 +0000 Subject: Initial import of videotext, a program to display Videotext/Teletext pages either direct from hardware or from .vtx files which can be produced from the vbidecode program. --- misc/videotext/Makefile | 22 +++++++++++++++++++++ misc/videotext/distinfo | 1 + misc/videotext/files/patch-aa | 19 ++++++++++++++++++ misc/videotext/files/patch-ab | 19 ++++++++++++++++++ misc/videotext/files/patch-ac | 25 +++++++++++++++++++++++ misc/videotext/files/patch-ad | 19 ++++++++++++++++++ misc/videotext/files/patch-ae | 19 ++++++++++++++++++ misc/videotext/files/patch-af | 19 ++++++++++++++++++ misc/videotext/files/patch-ba | 46 +++++++++++++++++++++++++++++++++++++++++++ misc/videotext/pkg-comment | 1 + misc/videotext/pkg-descr | 7 +++++++ misc/videotext/pkg-plist | 12 +++++++++++ 12 files changed, 209 insertions(+) create mode 100644 misc/videotext/Makefile create mode 100644 misc/videotext/distinfo create mode 100644 misc/videotext/files/patch-aa create mode 100644 misc/videotext/files/patch-ab create mode 100644 misc/videotext/files/patch-ac create mode 100644 misc/videotext/files/patch-ad create mode 100644 misc/videotext/files/patch-ae create mode 100644 misc/videotext/files/patch-af create mode 100644 misc/videotext/files/patch-ba create mode 100644 misc/videotext/pkg-comment create mode 100644 misc/videotext/pkg-descr create mode 100644 misc/videotext/pkg-plist (limited to 'misc/videotext') diff --git a/misc/videotext/Makefile b/misc/videotext/Makefile new file mode 100644 index 000000000000..5e0b55c9ab9e --- /dev/null +++ b/misc/videotext/Makefile @@ -0,0 +1,22 @@ +# New ports collection makefile for: vbidecode +# Version required: 1.1.3 +# Date created: Mon June 8 15:11:00 BST 1999 +# Whom: Roger Hardiman +# +# $Id: Makefile,v 1.2 1999/06/07 22:23:36 roger Exp $ +# + +DISTNAME= videotext-0.6.971023 +CATEGORIES= misc +MASTER_SITES= http://elektra.e-technik.uni-ulm.de/~mbuck/download/ + +MAINTAINER= roger@freebsd.org + +LIB_DEPENDS= gif.3:${PORTSDIR}/graphics/giflib \ + png.3:${PORTSDIR}/graphics/png \ + xview.3:${PORTSDIR}/x11-toolkits/xview + +USE_GMAKE= yes +MAN1= videotext.1 tunerctl.1 + +.include diff --git a/misc/videotext/distinfo b/misc/videotext/distinfo new file mode 100644 index 000000000000..d8883822e416 --- /dev/null +++ b/misc/videotext/distinfo @@ -0,0 +1 @@ +MD5 (videotext-0.6.971023.tar.gz) = 2a6d760d007d0049040b0de0aa43a7a6 diff --git a/misc/videotext/files/patch-aa b/misc/videotext/files/patch-aa new file mode 100644 index 000000000000..f0533324e0fb --- /dev/null +++ b/misc/videotext/files/patch-aa @@ -0,0 +1,19 @@ +*** scripts/check-help.orig Tue Jun 8 16:10:07 1999 +--- scripts/check-help Tue Jun 8 16:10:07 1999 +*************** INFOFILE="$1" +*** 24,30 **** + shift + + egrep -h 'XV_HELP_DATA.*"videotext:[a-zA-Z0-9_]+"' "$@" | +! gawk ' + BEGIN { + RS = "[ \t,]" + } +--- 24,30 ---- + shift + + egrep -h 'XV_HELP_DATA.*"videotext:[a-zA-Z0-9_]+"' "$@" | +! awk ' + BEGIN { + RS = "[ \t,]" + } diff --git a/misc/videotext/files/patch-ab b/misc/videotext/files/patch-ab new file mode 100644 index 000000000000..3ce89ca54a29 --- /dev/null +++ b/misc/videotext/files/patch-ab @@ -0,0 +1,19 @@ +*** scripts/install-magic.orig Tue Jun 8 16:10:07 1999 +--- scripts/install-magic Tue Jun 8 16:10:07 1999 +*************** fi +*** 21,27 **** + trap 'rm -f "$1.vtxnew"' 0 + + cp -p "$1" "$1.vtxnew" +! gawk ' + /^#.*Id: Localstuff/ { + localfound++ + } +--- 21,27 ---- + trap 'rm -f "$1.vtxnew"' 0 + + cp -p "$1" "$1.vtxnew" +! awk ' + /^#.*Id: Localstuff/ { + localfound++ + } diff --git a/misc/videotext/files/patch-ac b/misc/videotext/files/patch-ac new file mode 100644 index 000000000000..bc31792704a6 --- /dev/null +++ b/misc/videotext/files/patch-ac @@ -0,0 +1,25 @@ +*** scripts/mkpsprolog.orig Tue Jun 8 16:10:07 1999 +--- scripts/mkpsprolog Tue Jun 8 16:10:07 1999 +*************** +*** 8,17 **** + # Read COPYING for more information + + # Maybe sed would be more suitable for such a simple task, but you already +! # need gawk for mktitlepage & mkvtxfont, so why not use it here... + + +! exec gawk ' + BEGIN { + print "/* This file was created automatically by mkpsprolog. DO NOT EDIT */" + print "" +--- 8,17 ---- + # Read COPYING for more information + + # Maybe sed would be more suitable for such a simple task, but you already +! # need awk for mktitlepage & mkvtxfont, so why not use it here... + + +! exec awk ' + BEGIN { + print "/* This file was created automatically by mkpsprolog. DO NOT EDIT */" + print "" diff --git a/misc/videotext/files/patch-ad b/misc/videotext/files/patch-ad new file mode 100644 index 000000000000..bcad311d4a66 --- /dev/null +++ b/misc/videotext/files/patch-ad @@ -0,0 +1,19 @@ +*** scripts/mktitlepage.orig Tue Jun 8 16:10:07 1999 +--- scripts/mktitlepage Tue Jun 8 16:10:07 1999 +*************** +*** 14,20 **** + # by 2 hex-digits, so currently we can only set the lower 16 bits of the attributes. + + +! exec gawk ' + BEGIN { + print "/* This file was created automatically by mktitlepage. DO NOT EDIT */" + } +--- 14,20 ---- + # by 2 hex-digits, so currently we can only set the lower 16 bits of the attributes. + + +! exec awk ' + BEGIN { + print "/* This file was created automatically by mktitlepage. DO NOT EDIT */" + } diff --git a/misc/videotext/files/patch-ae b/misc/videotext/files/patch-ae new file mode 100644 index 000000000000..b2acef23a7c6 --- /dev/null +++ b/misc/videotext/files/patch-ae @@ -0,0 +1,19 @@ +*** scripts/mkvtxfont.orig Tue Jun 8 16:10:07 1999 +--- scripts/mkvtxfont Tue Jun 8 16:10:07 1999 +*************** if [ $# -ne 4 ]; then +*** 18,24 **** + exit 1 + fi + +! exec gawk -v "nfile=$2" -v "dfile=$3" -v "vfile=$4" -f - << "THIS_IS_THE_END" "$1" + + function print_header(xsize, ysize, ptsize, width, file) { # Print BDF-File header + print "STARTFONT 2.1" > file +--- 18,24 ---- + exit 1 + fi + +! exec awk -v "nfile=$2" -v "dfile=$3" -v "vfile=$4" -f - << "THIS_IS_THE_END" "$1" + + function print_header(xsize, ysize, ptsize, width, file) { # Print BDF-File header + print "STARTFONT 2.1" > file diff --git a/misc/videotext/files/patch-af b/misc/videotext/files/patch-af new file mode 100644 index 000000000000..edb726c1e467 --- /dev/null +++ b/misc/videotext/files/patch-af @@ -0,0 +1,19 @@ +*** scripts/uninstall-magic.orig Tue Jun 8 16:10:07 1999 +--- scripts/uninstall-magic Tue Jun 8 16:10:07 1999 +*************** fi +*** 21,27 **** + trap 'rm -f "$1.vtxnew"' 0 + + cp -p "$1" "$1.vtxnew" +! gawk ' + /^#.*VideoteXt/ { + skip = 1 + next +--- 21,27 ---- + trap 'rm -f "$1.vtxnew"' 0 + + cp -p "$1" "$1.vtxnew" +! awk ' + /^#.*VideoteXt/ { + skip = 1 + next diff --git a/misc/videotext/files/patch-ba b/misc/videotext/files/patch-ba new file mode 100644 index 000000000000..52e5d9068bba --- /dev/null +++ b/misc/videotext/files/patch-ba @@ -0,0 +1,46 @@ +*** Makefile.orig Tue Jun 8 16:17:05 1999 +--- Makefile Tue Jun 8 17:05:25 1999 +*************** LIBDIR = /usr/local/lib/vtx +*** 26,33 **** + SPOOLDIR = /var/spool/vtx + + BINDIR = /usr/local/bin +! XBINDIR = /usr/local/bin/X11 +! FONTDIR = /usr/lib/X11/fonts/local + MANDIR = /usr/local/man + XMANDIR = /usr/local/man + +--- 26,35 ---- + SPOOLDIR = /var/spool/vtx + + BINDIR = /usr/local/bin +! #XBINDIR = /usr/local/bin/X11 +! XBINDIR = /usr/local/bin +! #FONTDIR = /usr/lib/X11/fonts/local +! FONTDIR = /usr/X11R6/lib/X11/fonts/misc + MANDIR = /usr/local/man + XMANDIR = /usr/local/man + +*************** GIF_SUPPORT = -DGIF_SUPPORT +*** 79,88 **** + # Uncomment the next lines if you want PNG support and have libpng and libz + # installed. + +! #PNG_SUPPORT = -DPNG_SUPPORT +! #PNG_LIBS = -lpng -lz -lm +! #PNG_INCLUDEDIRS = -I/usr/local/include +! #PNG_LIBDIRS = -L/usr/local/lib + + + # Uncomment the following line if you want to get coredumps when an +--- 81,90 ---- + # Uncomment the next lines if you want PNG support and have libpng and libz + # installed. + +! PNG_SUPPORT = -DPNG_SUPPORT +! PNG_LIBS = -lpng -lz -lm +! PNG_INCLUDEDIRS = -I/usr/local/include +! PNG_LIBDIRS = -L/usr/local/lib + + + # Uncomment the following line if you want to get coredumps when an diff --git a/misc/videotext/pkg-comment b/misc/videotext/pkg-comment new file mode 100644 index 000000000000..13e368a122f7 --- /dev/null +++ b/misc/videotext/pkg-comment @@ -0,0 +1 @@ +Display Videotext/Teletext pages (.vtx files) from TV channels diff --git a/misc/videotext/pkg-descr b/misc/videotext/pkg-descr new file mode 100644 index 000000000000..2e6b4bbb9f7a --- /dev/null +++ b/misc/videotext/pkg-descr @@ -0,0 +1,7 @@ +videotext is an X11 program to display and print Videotext/Teletext +pages saved as .vtx files. +It can also drive a wide range of special teletext capture cards +(both commercial and home made) + +To capture Teletext pages to disk, use the vbidecode program which +captures Teletext pages with the Bt848/Bt878 TV card/frame grabber. diff --git a/misc/videotext/pkg-plist b/misc/videotext/pkg-plist new file mode 100644 index 000000000000..ee2a1bdd8994 --- /dev/null +++ b/misc/videotext/pkg-plist @@ -0,0 +1,12 @@ +bin/vtxget +bin/tunerctl +bin/videotext + +lib/vtx/tv-channels +lib/vtx/videotext.info +lib/vtx/vtx-hotlist +lib/vtx/vtx10x12.vtxfont +lib/vtx/vtx15x18.vtxfont +lib/vtx/vtx20x24.vtxfont +lib/vtx/vtxrc +@dirrm lib/vtx -- cgit v1.2.3