Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 May 2001 09:48:58 +0900 (JST)
From:      mutoh@info.nara-k.ac.jp
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/27239: Update ports: mbone/vic from 2.8 to 2.8ucl-1.1.3
Message-ID:  <200105100048.f4A0mwn29775@bovine.info.nara-k.ac.jp>

next in thread | raw e-mail | index | archive | help

>Number:         27239
>Category:       ports
>Synopsis:       Update ports: mbone/vic 2.8ucl-1.1.3
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 09 17:50:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Takeshi MUTOH
>Release:        FreeBSD 4.3-STABLE i386
>Organization:
Nara National College of Technology
>Environment:
System: FreeBSD bovine 4.3-STABLE FreeBSD 4.3-STABLE #0: Tue Apr 24 15:42:18 JST 2001 root@bovine:/new/usr/obj/new/usr/src/sys/HOGE i386
>Description:
Update vic from 2.8 to 2.8ucl-1.1.3.
I prepare relate(http://www-mice.cs.ucl.ac.uk/multimedia/software/relate-ui/) ports, it requires this version.
>How-To-Repeat:
>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	vic
#	vic/files
#	vic/files/patch-configure.in
#	vic/files/patch-Tcl.cpp
#	vic/files/hold-patch-ay
#	vic/files/patch-ui-resource.tcl
#	vic/files/patch-ui-ctrlmenu.tcl
#	vic/files/patch-Makefile.in
#	vic/files/patch-configure.in.tk
#	vic/Makefile
#	vic/pkg-comment
#	vic/pkg-descr
#	vic/pkg-plist
#	vic/distinfo
#
echo c - vic
mkdir -p vic > /dev/null 2>&1
echo c - vic/files
mkdir -p vic/files > /dev/null 2>&1
echo x - vic/files/patch-configure.in
sed 's/^X//' >vic/files/patch-configure.in << 'END-of-vic/files/patch-configure.in'
X--- configure.in.org	Mon May  7 15:30:01 2001
X+++ configure.in	Mon May  7 15:31:32 2001
X@@ -72,8 +72,7 @@
X if test -r /usr/include/linux/videodev.h ; then
X 	V_OBJ_GRABBER="video/grabber-video4linux.o $V_OBJ_GRABBER"
X fi
X-#if test -r /usr/local/lib/libspigot.a -a ${PORTOBJFORMAT} != elf; then
X-if test -r /usr/local/lib/libspigot.a ; then
X+if test -r /usr/local/lib/libspigot.a -a ${PORTOBJFORMAT} != elf; then
X 	V_OBJ_GRABBER="video/grabber-spigot.o $V_OBJ_GRABBER"
X 	V_LIB_GRABBER="$V_LIB_GRABBER -lspigot"
X 	V_INCLUDE_GRABBER="$V_INCLUDE_GRABBER -I/usr/local/include"
END-of-vic/files/patch-configure.in
echo x - vic/files/patch-Tcl.cpp
sed 's/^X//' >vic/files/patch-Tcl.cpp << 'END-of-vic/files/patch-Tcl.cpp'
X--- Tcl.cpp.org	Mon May  7 15:55:17 2001
X+++ Tcl.cpp	Mon May  7 15:55:34 2001
X@@ -66,6 +66,7 @@
X {
X 	instance_.tcl_ = tcl;
X 	instance_.application_ = application;
X+	Tcl_Init(tcl);
X }
X 
X void Tcl::evalc(const char* s)
END-of-vic/files/patch-Tcl.cpp
echo x - vic/files/hold-patch-ay
sed 's/^X//' >vic/files/hold-patch-ay << 'END-of-vic/files/hold-patch-ay'
X--- Makefile.in.orig	Thu Jan 27 18:52:29 2000
X+++ Makefile.in	Thu Jan 27 18:53:00 2000
X@@ -40,7 +40,7 @@
X all:	$(ALL)
X 
X .cc.o:
X-	rm -f $@; $(C++) -o $@ -c $(CFLAGS) $*.cc
X+	rm -f $@; $(C++) -pedantic -o $@ -c $(CFLAGS) $*.cc
X 
X .c.o:
X 	rm -f $@; $(CC) -o $@ -c $(CFLAGS) $*.c
END-of-vic/files/hold-patch-ay
echo x - vic/files/patch-ui-resource.tcl
sed 's/^X//' >vic/files/patch-ui-resource.tcl << 'END-of-vic/files/patch-ui-resource.tcl'
X--- tcl/ui-resource.tcl.org	Mon May  7 16:17:03 2001
X+++ tcl/ui-resource.tcl	Mon May  7 16:17:29 2001
X@@ -153,7 +153,7 @@
X 	option add Vic.infoHighlightColor LightYellow2 startupFile
X 	option add Vic.useJPEGforH261 false startupFile
X 	option add Vic.useHardwareComp false startupFile
X-	option add Vic.stillGrabber false startupFile
X+	option add Vic.stillGrabber true startupFile ; # XXX was false
X 	option add Vic.siteDropTime "300" startupFile
X 	option add Vic.quality "0" startupFile
X 
END-of-vic/files/patch-ui-resource.tcl
echo x - vic/files/patch-ui-ctrlmenu.tcl
sed 's/^X//' >vic/files/patch-ui-ctrlmenu.tcl << 'END-of-vic/files/patch-ui-ctrlmenu.tcl'
X--- tcl/ui-ctrlmenu.tcl.org	Thu May 10 08:44:51 2001
X+++ tcl/ui-ctrlmenu.tcl	Thu May 10 08:48:19 2001
X@@ -408,16 +408,16 @@
X 		-relief raised -command transmit \
X 		-anchor w -variable transmitButtonState -font $f \
X 		-state disabled -highlightthickness 0
X-#	checkbutton $w.freeze -text "Freeze" \
X-#		-relief raised -command "grabber freeze \$freeze" \
X-#		-anchor w -variable freeze -font $f \
X-#		-highlightthickness 0
X+	checkbutton $w.freeze -text "Freeze" \
X+		-relief raised -command "grabber freeze \$freeze" \
X+		-anchor w -variable freeze -font $f \
X+		-highlightthickness 0
X 	button $w.release -text "Release" \
X 		-relief raised -command release_device \
X 		-font $f -highlightthickness 0
X 
X-#	pack $w.send $w.release $w.freeze -fill both
X-	pack $w.send $w.release -fill both
X+	pack $w.send $w.release $w.freeze -fill both
X+#	pack $w.send $w.release -fill both
X }
X 
X proc doNothing { args } {
END-of-vic/files/patch-ui-ctrlmenu.tcl
echo x - vic/files/patch-Makefile.in
sed 's/^X//' >vic/files/patch-Makefile.in << 'END-of-vic/files/patch-Makefile.in'
X--- Makefile.in.orig	Thu Feb 17 21:59:08 2000
X+++ Makefile.in	Tue May  8 09:06:28 2001
X@@ -85,7 +85,7 @@
X OBJ_XIL = @V_OBJ_XIL@
X OBJ_CRYPT = @V_OBJ_CRYPT@
X LIB = $(LIB_GRABBER) @V_LIB_TK@ @V_LIB_TCL@ @V_LIB_X11@ @V_LIB@ \
X-	codec/tmndec/libh263.a codec/tmn-x/libh263coder.a ../common/libuclmmbase.a -lm
X+	codec/tmndec/libh263.a codec/tmn-x/libh263coder.a /usr/local/lib/libuclmmbase.a -lm
X INCLUDE = $(INCLUDE_MISC) $(INCLUDE_GRABBER) $(INCLUDE_TK) $(INCLUDE_TCL) \
X 	$(INCLUDE_X11) $(MD_INC) -Icodec/jpeg -Icodec/p64 -I.
X DEFINE = @V_DEFINE@ -DED_YBITS=$(ED_YBITS) -DSIGRET=@V_SIGRET@ -DNLAYER=8
X@@ -329,7 +329,7 @@
X 	 chown bin @prefix@/bin/vic
X 	 chgrp bin @prefix@/bin/vic
X 	 chmod 555 @prefix@/bin/vic
X-	 cp vic.1 @prefix@/man/vic.1
X+	 cp vic.1 @prefix@/man/man1/vic.1
X 	 cp histtolut @prefix@/bin/histtolut
X 	 chown bin @prefix@/bin/histtolut
X 	 chgrp bin @prefix@/bin/histtolut
END-of-vic/files/patch-Makefile.in
echo x - vic/files/patch-configure.in.tk
sed 's/^X//' >vic/files/patch-configure.in.tk << 'END-of-vic/files/patch-configure.in.tk'
X--- configure.in.tk.org	Tue May  8 08:42:54 2001
X+++ configure.in.tk	Tue May  8 08:56:43 2001
X@@ -32,13 +32,13 @@
X 		echo "'$d' is not a directory"
X 		exit 1
X 	fi
X-	V_INCLUDE_TCL=-I$d/include
X-	if test ! -r $d/include/tcl.h ; then
X+	V_INCLUDE_TCL=-I$d/include/tcl8.2/
X+	if test ! -r $d/include/tcl8.2/tcl.h ; then
X 		echo "can't find tcl.h in $d/include"
X 		exit 1
X 	fi
X-	places="$d/lib/libtcl8.0.so \
X-		$d/lib/libtcl8.0.a \
X+	places="$d/lib/libtcl82.so \
X+		$d/lib/libtcl82.a \
X 		$d/lib/libtcl.so \
X 		$d/lib/libtcl.a"
X 	V_LIB_TCL=FAIL
X@@ -52,7 +52,7 @@
X 		echo "can't find libtcl.a in $d/lib"
X 		exit 1
X 	fi
X-	places="$d/lib/tcl-8.0 \
X+	places="$d/lib/tcl82 \
X 		$d/lib/tcl8.0 \
X 		$d/lib/tcl"
X 	V_LIBRARY_TCL=FAIL
X@@ -190,13 +190,13 @@
X 		echo "'$d' is not a directory"
X 		exit 1
X 	fi
X-	V_INCLUDE_TK=-I$d/include
X-	if test ! -r $d/include/tk.h ; then
X+	V_INCLUDE_TK=-I$d/include/tk8.2
X+	if test ! -r $d/include/tk8.2/tk.h ; then
X 		echo "can't find tk.h in $d/include"
X 		exit 1
X 	fi
X-	places="$d/lib/libtk8.0.so \
X-		$d/lib/libtk8.0.a \
X+	places="$d/lib/libtk82.so \
X+		$d/lib/libtk82.a \
X 		$d/lib/libtk.so \
X 		$d/lib/libtk.a"
X 	V_LIB_TK=FAIL
X@@ -210,7 +210,7 @@
X 		echo "can't find libtk.a in $d/lib"
X 		exit 1
X 	fi
X-	places="$d/lib/tk8.0 \
X+	places="$d/lib/tk8.2 \
X 		$d/lib/tk"
X 	V_LIBRARY_TK=FAIL
X 	for dir in $places; do
END-of-vic/files/patch-configure.in.tk
echo x - vic/Makefile
sed 's/^X//' >vic/Makefile << 'END-of-vic/Makefile'
X# New ports collection makefile for:	vic
X# Date created:		14 December 1994
X# Whom:			wollman
X#
X# $FreeBSD: ports/mbone/vic/Makefile,v 1.24 2000/04/14 08:49:29 asami Exp $
X#
X
XPORTNAME=	vic
XPORTVERSION=	2.8.1.1.3
XCATEGORIES=	mbone tk82
XMASTER_SITES=	http://www-mice.cs.ucl.ac.uk/multimedia/software/vic/2.8ucl-1.1.3/
XDISTNAME=	${PORTNAME}-2.8ucl-1.1.3
X
XMAINTAINER=	fenner@FreeBSD.org
X
XLIB_DEPENDS=	tk82.1:${PORTSDIR}/x11-toolkits/tk82
XBUILD_DEPENDS=  ${LOCALBASE}/lib/libuclmmbase.a:${PORTSDIR}/devel/uclmmbase
X
XWRKSRC=		${WRKDIR}/vic-2.8ucl-1.1.3/vic
X
XUSE_AUTOCONF=	yes
XUSE_X_PREFIX=	yes
XCONFIGURE_ARGS= -x-libraries=${PREFIX}/lib \
X		-x-includes=${PREFIX}/include \
X		-without-ucltcl \
X		-with-tcl=${LOCALBASE} \
X		-without-ucltk \
X		-with-tk=${LOCALBASE}
XMAN1=		vic.1
X
Xpost-install:
X	strip ${PREFIX}/bin/vic
X	strip ${PREFIX}/bin/histtolut
X
X.include <bsd.port.mk>
END-of-vic/Makefile
echo x - vic/pkg-comment
sed 's/^X//' >vic/pkg-comment << 'END-of-vic/pkg-comment'
XMBONE video tool
END-of-vic/pkg-comment
echo x - vic/pkg-descr
sed 's/^X//' >vic/pkg-descr << 'END-of-vic/pkg-descr'
XThis package contains the binary release of LBL's `vic' network video
Xconferencing tool.
X
XNOTE: This kit requires XFree86 3.1, Tk, and Tcl shared libraries.
END-of-vic/pkg-descr
echo x - vic/pkg-plist
sed 's/^X//' >vic/pkg-plist << 'END-of-vic/pkg-plist'
Xbin/vic
Xbin/histtolut
END-of-vic/pkg-plist
echo x - vic/distinfo
sed 's/^X//' >vic/distinfo << 'END-of-vic/distinfo'
XMD5 (vic-2.8ucl-1.1.3.tar.gz) = 55e792aa8f370fc15a197bb1b910a704
END-of-vic/distinfo
exit

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200105100048.f4A0mwn29775>