aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>2000-08-21 18:29:09 +0800
committerjkh <jkh@FreeBSD.org>2000-08-21 18:29:09 +0800
commit51d1a64064aee74cfb721a0b3466f9440bf92d22 (patch)
tree655688f73a7743713947c33dd65967bd71770376
parentd91657464badb4a89017abc58664368822d5ad40 (diff)
downloadfreebsd-ports-gnome-51d1a64064aee74cfb721a0b3466f9440bf92d22.tar.gz
freebsd-ports-gnome-51d1a64064aee74cfb721a0b3466f9440bf92d22.tar.zst
freebsd-ports-gnome-51d1a64064aee74cfb721a0b3466f9440bf92d22.zip
Camserv is a program to do streaming video through the web. Streaming
video can be sent to both Netscape and Internet Explorer clients in multi-part JPEG format. Supports cards handled by the bktr(4) driver. PR: 20116 Submitted by: Charles Hein <chein@GeekDude.com>
-rw-r--r--graphics/Makefile1
-rw-r--r--graphics/camserv/Makefile38
-rw-r--r--graphics/camserv/distinfo1
-rw-r--r--graphics/camserv/files/patch-aa178
-rw-r--r--graphics/camserv/pkg-comment1
-rw-r--r--graphics/camserv/pkg-descr14
-rw-r--r--graphics/camserv/pkg-plist26
-rw-r--r--multimedia/camserv/Makefile38
-rw-r--r--multimedia/camserv/distinfo1
-rw-r--r--multimedia/camserv/files/patch-aa178
-rw-r--r--multimedia/camserv/pkg-comment1
-rw-r--r--multimedia/camserv/pkg-descr14
-rw-r--r--multimedia/camserv/pkg-plist26
13 files changed, 517 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index 76d9ed137208..1c8b2f68af83 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -13,6 +13,7 @@
SUBDIR += aview
SUBDIR += backfract
SUBDIR += camediaplay
+ SUBDIR += camserv
SUBDIR += chbg
SUBDIR += cqcam
SUBDIR += dc20ctrl
diff --git a/graphics/camserv/Makefile b/graphics/camserv/Makefile
new file mode 100644
index 000000000000..14020fd18e9e
--- /dev/null
+++ b/graphics/camserv/Makefile
@@ -0,0 +1,38 @@
+# New ports collection makefile for: camserv
+# Date created: Sat 22 July 2000
+# Whom: Chuck Hein <chein@freebsd.org> & Jim Overholt <overholt@isdw.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= camserv
+PORTVERSION= 0.42
+CATEGORIES= graphics
+MASTER_SITES= http://cserv.sourceforge.net/current/
+
+MAINTAINER= chein@freebsd.org,overholt@isdw.net
+
+LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg
+
+# Things that should get fixed
+#
+# imlib2 still needs to be ported
+# http://www.us.rasterman.com/files/imlib2-0.0.5.tar.gz
+# imlib2:${PORTSDIR}/graphics/imlib2
+#
+# gtk12 has broken includes ...
+# should look something like this :
+# include <gtk12/gdk/gdkprivate.h>
+# instead of <gdk/gdkprivate.h>
+
+GNU_CONFIGURE= yes
+
+post-install:
+
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${PREFIX}/share/doc/camserv
+ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/camserv
+ ${INSTALL_DATA} ${WRKSRC}/javascript.txt ${PREFIX}/share/doc/camserv
+.endif
+
+.include <bsd.port.mk>
diff --git a/graphics/camserv/distinfo b/graphics/camserv/distinfo
new file mode 100644
index 000000000000..9990e43986d1
--- /dev/null
+++ b/graphics/camserv/distinfo
@@ -0,0 +1 @@
+MD5 (camserv-0.42.tar.gz) = 6afb506499e75d14ef0ba5b4ada305a9
diff --git a/graphics/camserv/files/patch-aa b/graphics/camserv/files/patch-aa
new file mode 100644
index 000000000000..b0c28cf0ad1e
--- /dev/null
+++ b/graphics/camserv/files/patch-aa
@@ -0,0 +1,178 @@
+*** camserv.cfg.orig Sun Feb 13 18:07:06 2000
+--- camserv.cfg Sat Aug 19 02:51:13 2000
+***************
+*** 1,45 ****
+ # video_basic: The 'basic' color-changing video module.
+ [video_basic]
+ path /usr/local/lib/libvideo_basic.so
+
+- # video_v4l_bttv: Example of a common BTTV module for video4linux.
+- # port 0 == TV, port 1 = Composite 1, port 2 = Composite 2
+- # frequency == is the channel frequency for the TV
+- # autobright == 0 turns off autobrightness adjusting, otherwise it adjusts
+- # the brightness of the picture every 'autobright' frames.
+- # brightmean == The mean pixel value that is the 'goal' of the autobright.
+- # (0->255)
+- # brightx1->y2 == (x1,y1) top left coords, and (x2,y2) bottom right coords
+- # of a rectangle of which to take the average pixel value.
+- # this is then used in calculating the mean to adjust the
+- # brightness of the image.
+- # mode == the video norm to use: 0 == PAL, 1 == NTSC, 2 == SECAM, 3 == AUTO
+- # color,hue,contrast,brightness,whiteness = 0->60000, representing
+- # the value of each component.
+-
+- [video_v4l_bttv]
+- path /usr/local/lib/libvideo_v4l.so
+- device_path /dev/video0
+- port 0
+- mode 3
+- frequency 74.43
+- color 30000
+- hue 30000
+- contrast 30000
+- brightness 30000
+- whiteness 30000
+- autobright 1
+- brightmean 128
+- brightx1 0
+- brighty1 320
+- brightx2 0
+- brighty2 240
+-
+ # FreeBSD BTTV driver:
+ # port 0 = Video
+ # 1 = Tuner
+ # Channel Sets:
+ # nabscst 1
+ # cableirc 2
+ # cablehrc 3
+ # weurope 4
+--- 1,14 ----
+ # video_basic: The 'basic' color-changing video module.
+ [video_basic]
+ path /usr/local/lib/libvideo_basic.so
+
+ # FreeBSD BTTV driver:
+ # port 0 = Video
+ # 1 = Tuner
++ # 2 = S-Video
++ #
+ # Channel Sets:
+ # nabscst 1
+ # cableirc 2
+ # cablehrc 3
+ # weurope 4
+***************
+*** 47,78 ****
+ # jpncable 6
+ # xussr 7
+ # australia 8
+
+ [video_fbsd_bttv]
+! path /usr/local/lib/libvideo_fbsd_bttv.so.0.0
+ port 1
+ width 320
+ height 240
+ autobright 100
+ #brightness 0
+ #chroma 180
+ #contrast 1000
+! channelset 2
+! channel 60
+!
+! [video_v4l_qcam]
+! path /usr/local/lib/libvideo_v4l.so
+! device_path /dev/video1
+! port 0
+! color 30000
+! hue 30000
+! contrast 30000
+! brightness 30000
+! whiteness 30000
+! autobright 0
+!
+
+ [jpg_filter]
+ path /usr/local/lib/libjpg_filter.so
+ quality 30
+
+--- 16,35 ----
+ # jpncable 6
+ # xussr 7
+ # australia 8
+
+ [video_fbsd_bttv]
+! path /usr/local/lib/libvideo_fbsd_bttv.so
+ port 1
+ width 320
+ height 240
+ autobright 100
+ #brightness 0
+ #chroma 180
+ #contrast 1000
+! channelset 1
+! channel 3
+
+ [jpg_filter]
+ path /usr/local/lib/libjpg_filter.so
+ quality 30
+
+***************
+*** 147,157 ****
+ # [video] - This section is devoted to all things dealing with the pictures
+ # taken by the input video module. These are general things which
+ # should be used by all video modules.
+
+ [video]
+! video_section video_v4l_bttv
+ width 320
+ height 240
+ maxfps 0
+ memhack 1
+
+--- 104,114 ----
+ # [video] - This section is devoted to all things dealing with the pictures
+ # taken by the input video module. These are general things which
+ # should be used by all video modules.
+
+ [video]
+! video_section video_fbsd_bttv
+ width 320
+ height 240
+ maxfps 0
+ memhack 1
+
+*** configure.orig Sun Feb 13 18:33:16 2000
+--- configure Sat Aug 19 02:48:27 2000
+***************
+*** 2181,2193 ****
+ echo "$ac_t""no" 1>&6
+ fi
+
+ echo $ac_n "checking for gdk_pixbuf""... $ac_c" 1>&6
+ echo "configure:2186: checking for gdk_pixbuf" >&5
+! GDK_PIXBUF_CFLAGS=`$gnomeconfig gdk_pixbuf --cflags`
+! GDK_PIXBUF_LDFLAGS=`$gnomeconfig gdk_pixbuf --libs`
+!
+
+ if test "_$GDK_PIXBUF_CFLAGS" != _; then
+ HAVE_GDK_PIXBUF_TRUE=
+ HAVE_GDK_PIXBUF_FALSE='#'
+ else
+--- 2181,2196 ----
+ echo "$ac_t""no" 1>&6
+ fi
+
+ echo $ac_n "checking for gdk_pixbuf""... $ac_c" 1>&6
+ echo "configure:2186: checking for gdk_pixbuf" >&5
+! echo "gdk_pixbuf seems to be broken in FreeBSD"
+! echo "not configuring GDK Pixbuf filter in this build"
+! # GDK_PIXBUF_CFLAGS=`$gnomeconfig gdk_pixbuf --cflags`
+! # GDK_PIXBUF_LDFLAGS=`$gnomeconfig gdk_pixbuf --libs`
+! GDK_PIXBUF_CFLAGS=
+! GDK_PIXBUF_LDFLAGS=
+
+ if test "_$GDK_PIXBUF_CFLAGS" != _; then
+ HAVE_GDK_PIXBUF_TRUE=
+ HAVE_GDK_PIXBUF_FALSE='#'
+ else
diff --git a/graphics/camserv/pkg-comment b/graphics/camserv/pkg-comment
new file mode 100644
index 000000000000..0af656ee3a91
--- /dev/null
+++ b/graphics/camserv/pkg-comment
@@ -0,0 +1 @@
+Camserv is a free program to do streaming video via the web
diff --git a/graphics/camserv/pkg-descr b/graphics/camserv/pkg-descr
new file mode 100644
index 000000000000..01660759a946
--- /dev/null
+++ b/graphics/camserv/pkg-descr
@@ -0,0 +1,14 @@
+Camserv is a free program to do streaming video through the web
+Streaming video can be sent to both Netscape and Internet Explorer clients.
+However, Internet Explorer under Windows cannot apparently handle
+the multi-part JPEGs, and therefore a special javascript page must be setup.
+One is included in the distribution as an example.
+
+Currently, the only supported BSD device is the bttv driver.
+Both tunable modes and camera inputs are supported.
+
+WWW: http://cserv.sourceforge.net/
+
+--
+chein, overholt
+chein@freebsd.org, overholt@isdw.net
diff --git a/graphics/camserv/pkg-plist b/graphics/camserv/pkg-plist
new file mode 100644
index 000000000000..ab32840915ce
--- /dev/null
+++ b/graphics/camserv/pkg-plist
@@ -0,0 +1,26 @@
+lib/libjpg_filter.a
+lib/libjpg_filter.la
+lib/libjpg_filter.so
+lib/libjpg_filter.so.0
+lib/librand_filter.a
+lib/librand_filter.la
+lib/librand_filter.so
+lib/librand_filter.so.0
+lib/libtext_filter.a
+lib/libtext_filter.la
+lib/libtext_filter.so
+lib/libtext_filter.so.0
+lib/libvideo_fbsd_bttv.a
+lib/libvideo_fbsd_bttv.la
+lib/libvideo_fbsd_bttv.so
+lib/libvideo_fbsd_bttv.so.0
+lib/libvideo_basic.a
+lib/libvideo_basic.la
+lib/libvideo_basic.so
+lib/libvideo_basic.so.0
+bin/camserv
+bin/relay
+share/camserv.cfg
+share/doc/camserv/README
+share/doc/camserv/javascript.txt
+@dirrm share/doc/camserv
diff --git a/multimedia/camserv/Makefile b/multimedia/camserv/Makefile
new file mode 100644
index 000000000000..14020fd18e9e
--- /dev/null
+++ b/multimedia/camserv/Makefile
@@ -0,0 +1,38 @@
+# New ports collection makefile for: camserv
+# Date created: Sat 22 July 2000
+# Whom: Chuck Hein <chein@freebsd.org> & Jim Overholt <overholt@isdw.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= camserv
+PORTVERSION= 0.42
+CATEGORIES= graphics
+MASTER_SITES= http://cserv.sourceforge.net/current/
+
+MAINTAINER= chein@freebsd.org,overholt@isdw.net
+
+LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg
+
+# Things that should get fixed
+#
+# imlib2 still needs to be ported
+# http://www.us.rasterman.com/files/imlib2-0.0.5.tar.gz
+# imlib2:${PORTSDIR}/graphics/imlib2
+#
+# gtk12 has broken includes ...
+# should look something like this :
+# include <gtk12/gdk/gdkprivate.h>
+# instead of <gdk/gdkprivate.h>
+
+GNU_CONFIGURE= yes
+
+post-install:
+
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${PREFIX}/share/doc/camserv
+ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/camserv
+ ${INSTALL_DATA} ${WRKSRC}/javascript.txt ${PREFIX}/share/doc/camserv
+.endif
+
+.include <bsd.port.mk>
diff --git a/multimedia/camserv/distinfo b/multimedia/camserv/distinfo
new file mode 100644
index 000000000000..9990e43986d1
--- /dev/null
+++ b/multimedia/camserv/distinfo
@@ -0,0 +1 @@
+MD5 (camserv-0.42.tar.gz) = 6afb506499e75d14ef0ba5b4ada305a9
diff --git a/multimedia/camserv/files/patch-aa b/multimedia/camserv/files/patch-aa
new file mode 100644
index 000000000000..b0c28cf0ad1e
--- /dev/null
+++ b/multimedia/camserv/files/patch-aa
@@ -0,0 +1,178 @@
+*** camserv.cfg.orig Sun Feb 13 18:07:06 2000
+--- camserv.cfg Sat Aug 19 02:51:13 2000
+***************
+*** 1,45 ****
+ # video_basic: The 'basic' color-changing video module.
+ [video_basic]
+ path /usr/local/lib/libvideo_basic.so
+
+- # video_v4l_bttv: Example of a common BTTV module for video4linux.
+- # port 0 == TV, port 1 = Composite 1, port 2 = Composite 2
+- # frequency == is the channel frequency for the TV
+- # autobright == 0 turns off autobrightness adjusting, otherwise it adjusts
+- # the brightness of the picture every 'autobright' frames.
+- # brightmean == The mean pixel value that is the 'goal' of the autobright.
+- # (0->255)
+- # brightx1->y2 == (x1,y1) top left coords, and (x2,y2) bottom right coords
+- # of a rectangle of which to take the average pixel value.
+- # this is then used in calculating the mean to adjust the
+- # brightness of the image.
+- # mode == the video norm to use: 0 == PAL, 1 == NTSC, 2 == SECAM, 3 == AUTO
+- # color,hue,contrast,brightness,whiteness = 0->60000, representing
+- # the value of each component.
+-
+- [video_v4l_bttv]
+- path /usr/local/lib/libvideo_v4l.so
+- device_path /dev/video0
+- port 0
+- mode 3
+- frequency 74.43
+- color 30000
+- hue 30000
+- contrast 30000
+- brightness 30000
+- whiteness 30000
+- autobright 1
+- brightmean 128
+- brightx1 0
+- brighty1 320
+- brightx2 0
+- brighty2 240
+-
+ # FreeBSD BTTV driver:
+ # port 0 = Video
+ # 1 = Tuner
+ # Channel Sets:
+ # nabscst 1
+ # cableirc 2
+ # cablehrc 3
+ # weurope 4
+--- 1,14 ----
+ # video_basic: The 'basic' color-changing video module.
+ [video_basic]
+ path /usr/local/lib/libvideo_basic.so
+
+ # FreeBSD BTTV driver:
+ # port 0 = Video
+ # 1 = Tuner
++ # 2 = S-Video
++ #
+ # Channel Sets:
+ # nabscst 1
+ # cableirc 2
+ # cablehrc 3
+ # weurope 4
+***************
+*** 47,78 ****
+ # jpncable 6
+ # xussr 7
+ # australia 8
+
+ [video_fbsd_bttv]
+! path /usr/local/lib/libvideo_fbsd_bttv.so.0.0
+ port 1
+ width 320
+ height 240
+ autobright 100
+ #brightness 0
+ #chroma 180
+ #contrast 1000
+! channelset 2
+! channel 60
+!
+! [video_v4l_qcam]
+! path /usr/local/lib/libvideo_v4l.so
+! device_path /dev/video1
+! port 0
+! color 30000
+! hue 30000
+! contrast 30000
+! brightness 30000
+! whiteness 30000
+! autobright 0
+!
+
+ [jpg_filter]
+ path /usr/local/lib/libjpg_filter.so
+ quality 30
+
+--- 16,35 ----
+ # jpncable 6
+ # xussr 7
+ # australia 8
+
+ [video_fbsd_bttv]
+! path /usr/local/lib/libvideo_fbsd_bttv.so
+ port 1
+ width 320
+ height 240
+ autobright 100
+ #brightness 0
+ #chroma 180
+ #contrast 1000
+! channelset 1
+! channel 3
+
+ [jpg_filter]
+ path /usr/local/lib/libjpg_filter.so
+ quality 30
+
+***************
+*** 147,157 ****
+ # [video] - This section is devoted to all things dealing with the pictures
+ # taken by the input video module. These are general things which
+ # should be used by all video modules.
+
+ [video]
+! video_section video_v4l_bttv
+ width 320
+ height 240
+ maxfps 0
+ memhack 1
+
+--- 104,114 ----
+ # [video] - This section is devoted to all things dealing with the pictures
+ # taken by the input video module. These are general things which
+ # should be used by all video modules.
+
+ [video]
+! video_section video_fbsd_bttv
+ width 320
+ height 240
+ maxfps 0
+ memhack 1
+
+*** configure.orig Sun Feb 13 18:33:16 2000
+--- configure Sat Aug 19 02:48:27 2000
+***************
+*** 2181,2193 ****
+ echo "$ac_t""no" 1>&6
+ fi
+
+ echo $ac_n "checking for gdk_pixbuf""... $ac_c" 1>&6
+ echo "configure:2186: checking for gdk_pixbuf" >&5
+! GDK_PIXBUF_CFLAGS=`$gnomeconfig gdk_pixbuf --cflags`
+! GDK_PIXBUF_LDFLAGS=`$gnomeconfig gdk_pixbuf --libs`
+!
+
+ if test "_$GDK_PIXBUF_CFLAGS" != _; then
+ HAVE_GDK_PIXBUF_TRUE=
+ HAVE_GDK_PIXBUF_FALSE='#'
+ else
+--- 2181,2196 ----
+ echo "$ac_t""no" 1>&6
+ fi
+
+ echo $ac_n "checking for gdk_pixbuf""... $ac_c" 1>&6
+ echo "configure:2186: checking for gdk_pixbuf" >&5
+! echo "gdk_pixbuf seems to be broken in FreeBSD"
+! echo "not configuring GDK Pixbuf filter in this build"
+! # GDK_PIXBUF_CFLAGS=`$gnomeconfig gdk_pixbuf --cflags`
+! # GDK_PIXBUF_LDFLAGS=`$gnomeconfig gdk_pixbuf --libs`
+! GDK_PIXBUF_CFLAGS=
+! GDK_PIXBUF_LDFLAGS=
+
+ if test "_$GDK_PIXBUF_CFLAGS" != _; then
+ HAVE_GDK_PIXBUF_TRUE=
+ HAVE_GDK_PIXBUF_FALSE='#'
+ else
diff --git a/multimedia/camserv/pkg-comment b/multimedia/camserv/pkg-comment
new file mode 100644
index 000000000000..0af656ee3a91
--- /dev/null
+++ b/multimedia/camserv/pkg-comment
@@ -0,0 +1 @@
+Camserv is a free program to do streaming video via the web
diff --git a/multimedia/camserv/pkg-descr b/multimedia/camserv/pkg-descr
new file mode 100644
index 000000000000..01660759a946
--- /dev/null
+++ b/multimedia/camserv/pkg-descr
@@ -0,0 +1,14 @@
+Camserv is a free program to do streaming video through the web
+Streaming video can be sent to both Netscape and Internet Explorer clients.
+However, Internet Explorer under Windows cannot apparently handle
+the multi-part JPEGs, and therefore a special javascript page must be setup.
+One is included in the distribution as an example.
+
+Currently, the only supported BSD device is the bttv driver.
+Both tunable modes and camera inputs are supported.
+
+WWW: http://cserv.sourceforge.net/
+
+--
+chein, overholt
+chein@freebsd.org, overholt@isdw.net
diff --git a/multimedia/camserv/pkg-plist b/multimedia/camserv/pkg-plist
new file mode 100644
index 000000000000..ab32840915ce
--- /dev/null
+++ b/multimedia/camserv/pkg-plist
@@ -0,0 +1,26 @@
+lib/libjpg_filter.a
+lib/libjpg_filter.la
+lib/libjpg_filter.so
+lib/libjpg_filter.so.0
+lib/librand_filter.a
+lib/librand_filter.la
+lib/librand_filter.so
+lib/librand_filter.so.0
+lib/libtext_filter.a
+lib/libtext_filter.la
+lib/libtext_filter.so
+lib/libtext_filter.so.0
+lib/libvideo_fbsd_bttv.a
+lib/libvideo_fbsd_bttv.la
+lib/libvideo_fbsd_bttv.so
+lib/libvideo_fbsd_bttv.so.0
+lib/libvideo_basic.a
+lib/libvideo_basic.la
+lib/libvideo_basic.so
+lib/libvideo_basic.so.0
+bin/camserv
+bin/relay
+share/camserv.cfg
+share/doc/camserv/README
+share/doc/camserv/javascript.txt
+@dirrm share/doc/camserv