summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/fxtv/Makefile23
-rw-r--r--graphics/fxtv/files/md53
-rw-r--r--graphics/fxtv/files/patch-sum8
-rw-r--r--graphics/fxtv/patches/patch-aa23
-rw-r--r--graphics/fxtv/patches/patch-ab14
-rw-r--r--graphics/fxtv/patches/patch-ac14
-rw-r--r--graphics/fxtv/patches/patch-ad32
-rw-r--r--graphics/fxtv/patches/patch-ae14
-rw-r--r--graphics/fxtv/patches/patch-af13
-rw-r--r--graphics/fxtv/pkg/COMMENT1
-rw-r--r--graphics/fxtv/pkg/DESCR4
-rw-r--r--graphics/fxtv/pkg/PLIST15
12 files changed, 164 insertions, 0 deletions
diff --git a/graphics/fxtv/Makefile b/graphics/fxtv/Makefile
new file mode 100644
index 00000000000..0050ec3fa48
--- /dev/null
+++ b/graphics/fxtv/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/05/07 20:34:13 tron Exp $
+
+DISTNAME= fxtv-1.02
+CATEGORIES= graphics
+MASTER_SITES= ${HOMEPAGE}
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= tron@netbsd.org
+HOMEPAGE= http://www.ipass.net/~dbhopper/aa8vb/fxtv/
+
+DEPENDS+= tiff>=3.5.5:../../graphics/tiff
+DEPENDS+= xpm-3.4[j-z]:../../graphics/xpm
+
+ONLY_FOR_PLATFORM= NetBSD-1.4[Y-Z]-* NetBSD-1.[5-9]*-*
+
+USE_GMAKE= yes
+USE_XAW= yes
+USE_X11BASE= yes
+
+post-extract:
+ @${RM} -f ${WRKSRC}/videolib/videolib.o
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/fxtv/files/md5 b/graphics/fxtv/files/md5
new file mode 100644
index 00000000000..5812ef4d001
--- /dev/null
+++ b/graphics/fxtv/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/05/07 20:34:13 tron Exp $
+
+MD5 (fxtv-1.02.tgz) = cc5c464a8585ddeee20c1c70e3122573
diff --git a/graphics/fxtv/files/patch-sum b/graphics/fxtv/files/patch-sum
new file mode 100644
index 00000000000..2dd7c615124
--- /dev/null
+++ b/graphics/fxtv/files/patch-sum
@@ -0,0 +1,8 @@
+$NetBSD: patch-sum,v 1.1.1.1 2000/05/07 20:34:13 tron Exp $
+
+MD5 (patch-aa) = c3f539cf4a63a9aab2a7179668d13a9e
+MD5 (patch-ab) = 344e3f1b8655461063e2c3a4aafdd01b
+MD5 (patch-ac) = 6f73993eaa9e760d9a196c27a448fa46
+MD5 (patch-ad) = cd40fdb81894c0e9c990608ae5afc84d
+MD5 (patch-ae) = 5d4b1486c91623810bae63bf44b3ac1f
+MD5 (patch-af) = 0bfe002618384f2951b85860fc36d6d1
diff --git a/graphics/fxtv/patches/patch-aa b/graphics/fxtv/patches/patch-aa
new file mode 100644
index 00000000000..bd91ee48c03
--- /dev/null
+++ b/graphics/fxtv/patches/patch-aa
@@ -0,0 +1,23 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/05/07 20:34:13 tron Exp $
+
+--- Makefile.orig Fri Nov 5 01:43:51 1999
++++ Makefile Sun May 7 22:30:05 2000
+@@ -3,7 +3,6 @@
+ #
+
+ HAVE_XFREE86 = YES
+-X11BASE = /usr/X11R6
+ DEBUG = NO
+ OS = $(shell uname -s)
+ OS_MAJOR = $(shell uname -r | cut -f1 -d\.)
+@@ -11,8 +10,8 @@
+ override CF_VERS = -DVERS_STR=\"1.02\"
+ override VIDEOLIB_DIR = ./videolib
+ override INC = -I$(X11BASE)/include -I/usr/local/include \
+- -I$(VIDEOLIB_DIR) -I.
+-override LIBDIRS = $(X11BASE)/lib /usr/local/lib
++ -I$(VIDEOLIB_DIR) -I. -I/usr/pkg/include
++override LIBDIRS = $(X11BASE)/lib /usr/local/lib /usr/pkg/lib
+ override SHELL = /bin/sh
+
+ #
diff --git a/graphics/fxtv/patches/patch-ab b/graphics/fxtv/patches/patch-ab
new file mode 100644
index 00000000000..6f28fb5e773
--- /dev/null
+++ b/graphics/fxtv/patches/patch-ab
@@ -0,0 +1,14 @@
+$NetBSD: patch-ab,v 1.1.1.1 2000/05/07 20:34:13 tron Exp $
+
+--- haup_remote.c.orig Fri Nov 5 01:13:17 1999
++++ haup_remote.c Sun May 7 22:28:36 2000
+@@ -37,8 +37,7 @@
+ #include <unistd.h>
+ #include <sys/fcntl.h>
+ #ifdef __NetBSD__
+-# include <dev/pci/bt848var.h>
+-# include <dev/pci/meteorvar.h>
++# include <dev/ic/bt8xx.h>
+ #else
+ # include <machine/ioctl_meteor.h>
+ # include <machine/ioctl_bt848.h>
diff --git a/graphics/fxtv/patches/patch-ac b/graphics/fxtv/patches/patch-ac
new file mode 100644
index 00000000000..e3aca296921
--- /dev/null
+++ b/graphics/fxtv/patches/patch-ac
@@ -0,0 +1,14 @@
+$NetBSD: patch-ac,v 1.1.1.1 2000/05/07 20:34:13 tron Exp $
+
+--- pixelview_remote.c.orig Wed Nov 3 10:55:44 1999
++++ pixelview_remote.c Sun May 7 22:28:36 2000
+@@ -38,8 +38,7 @@
+ #include <unistd.h>
+ #include <sys/fcntl.h>
+ #ifdef __NetBSD__
+-# include <dev/pci/bt848var.h>
+-# include <dev/pci/meteorvar.h>
++# include <dev/ic/bt8xx.h>
+ #else
+ # include <machine/ioctl_meteor.h>
+ # include <machine/ioctl_bt848.h>
diff --git a/graphics/fxtv/patches/patch-ad b/graphics/fxtv/patches/patch-ad
new file mode 100644
index 00000000000..bc8e5b919d5
--- /dev/null
+++ b/graphics/fxtv/patches/patch-ad
@@ -0,0 +1,32 @@
+$NetBSD: patch-ad,v 1.1.1.1 2000/05/07 20:34:13 tron Exp $
+
+--- remote.c.orig Fri Nov 5 00:50:00 1999
++++ remote.c Sun May 7 22:28:36 2000
+@@ -786,6 +786,7 @@
+ char rem_type[],
+ TVREMOTE_CB_FUNCT *cb )
+ {
++#ifndef __NetBSD__
+ char type_str[20];
+
+ /* Branch to the appropriate Open method based on remote type. */
+@@ -812,6 +813,7 @@
+ "are supported.\n" );
+ exit(1);
+ }
++#endif /* !__NetBSD__ */
+ }
+
+
+@@ -840,9 +842,11 @@
+
+ void TVREMOTEFlush( void )
+ {
++#ifndef __NetBSD__
+ switch ( Remote_type ) {
+ case REMOTE_TYPE_X10 : TVX10REMOTEFlush(); break;
+ case REMOTE_TYPE_HAUPPAUGE : TVHAUPREMOTEFlush(); break;
+ case REMOTE_TYPE_PIXELVIEW : TVPIXELVIEWREMOTEFlush(); break;
+ }
++#endif /* !__NetBSD__ */
+ }
diff --git a/graphics/fxtv/patches/patch-ae b/graphics/fxtv/patches/patch-ae
new file mode 100644
index 00000000000..d19713d9d65
--- /dev/null
+++ b/graphics/fxtv/patches/patch-ae
@@ -0,0 +1,14 @@
+$NetBSD: patch-ae,v 1.1.1.1 2000/05/07 20:34:13 tron Exp $
+
+--- tvcapture.c.orig Sat Oct 16 22:48:29 1999
++++ tvcapture.c Sun May 7 22:28:36 2000
+@@ -36,8 +36,7 @@
+ #include <errno.h>
+ #include <sys/mman.h>
+ #ifdef __NetBSD__
+-# include <dev/pci/bt848var.h>
+-# include <dev/pci/meteorvar.h>
++# include <dev/ic/bt8xx.h>
+ #else
+ # include <machine/ioctl_bt848.h>
+ #endif
diff --git a/graphics/fxtv/patches/patch-af b/graphics/fxtv/patches/patch-af
new file mode 100644
index 00000000000..0ae7b2ec803
--- /dev/null
+++ b/graphics/fxtv/patches/patch-af
@@ -0,0 +1,13 @@
+$NetBSD: patch-af,v 1.1.1.1 2000/05/07 20:34:13 tron Exp $
+
+--- tvcapture.h.orig Sat Sep 4 21:22:19 1999
++++ tvcapture.h Sun May 7 22:28:36 2000
+@@ -33,7 +33,7 @@
+
+ #include <X11/Intrinsic.h>
+ #ifdef __NetBSD__
+-# include <dev/pci/bt848var.h>
++# include <dev/ic/bt8xx.h>
+ #else
+ # include <machine/ioctl_meteor.h>
+ #endif
diff --git a/graphics/fxtv/pkg/COMMENT b/graphics/fxtv/pkg/COMMENT
new file mode 100644
index 00000000000..f31d1b2ead3
--- /dev/null
+++ b/graphics/fxtv/pkg/COMMENT
@@ -0,0 +1 @@
+TV display application for Brooktree 848 compatible TV cards
diff --git a/graphics/fxtv/pkg/DESCR b/graphics/fxtv/pkg/DESCR
new file mode 100644
index 00000000000..34927232924
--- /dev/null
+++ b/graphics/fxtv/pkg/DESCR
@@ -0,0 +1,4 @@
+To use this application, you need a video capture/tuner card
+that's based on the Brooktree 848 capture chip, such as one of the
+Hauppauge Wincast/TV or Win/TV cards, the STV TV PCI card, or the
+Intel Smart Video Recorder III.
diff --git a/graphics/fxtv/pkg/PLIST b/graphics/fxtv/pkg/PLIST
new file mode 100644
index 00000000000..df129e4e986
--- /dev/null
+++ b/graphics/fxtv/pkg/PLIST
@@ -0,0 +1,15 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/05/07 20:34:13 tron Exp $
+bin/fxtv
+lib/X11/app-defaults/Fxtv
+lib/X11/fxtv/bitmaps/mini-camera.xpm
+lib/X11/fxtv/bitmaps/mini-down.xbm
+lib/X11/fxtv/bitmaps/mini-resize.xpm
+lib/X11/fxtv/bitmaps/mini-sound.xbm
+lib/X11/fxtv/bitmaps/mini-up.xbm
+lib/X11/fxtv/bitmaps/radio_off.xbm
+lib/X11/fxtv/bitmaps/radio_on.xbm
+lib/X11/fxtv/README
+lib/X11/fxtv/fxtv_cnvt.sh
+man/man1/fxtv.1
+@dirrm lib/X11/fxtv/bitmaps
+@dirrm lib/X11/fxtv