diff options
author | sborrill <sborrill@pkgsrc.org> | 2009-07-07 16:10:18 +0000 |
---|---|---|
committer | sborrill <sborrill@pkgsrc.org> | 2009-07-07 16:10:18 +0000 |
commit | 173d3d32b0c5fc8c4620ed7dcdcb044d5b2c8f78 (patch) | |
tree | 59b73512fbcfb83ac0fb319cfd2343ce6e489081 /mbone | |
parent | e0134ef9dd41427a32c4b553e19a5cadb3da9e25 (diff) | |
download | pkgsrc-173d3d32b0c5fc8c4620ed7dcdcb044d5b2c8f78.tar.gz |
wbd, the UCB/LBNL whiteboard tool, is a real-time shared whiteboard
application.
Diffstat (limited to 'mbone')
-rw-r--r-- | mbone/wbd/DESCR | 2 | ||||
-rw-r--r-- | mbone/wbd/Makefile | 23 | ||||
-rw-r--r-- | mbone/wbd/PLIST | 2 | ||||
-rw-r--r-- | mbone/wbd/distinfo | 8 | ||||
-rw-r--r-- | mbone/wbd/patches/patch-aa | 36 | ||||
-rw-r--r-- | mbone/wbd/patches/patch-ab | 47 | ||||
-rw-r--r-- | mbone/wbd/patches/patch-ac | 60 |
7 files changed, 178 insertions, 0 deletions
diff --git a/mbone/wbd/DESCR b/mbone/wbd/DESCR new file mode 100644 index 00000000000..3f06d097a3e --- /dev/null +++ b/mbone/wbd/DESCR @@ -0,0 +1,2 @@ +wbd, the UCB/LBNL whiteboard tool, is a real-time shared whiteboard +application. diff --git a/mbone/wbd/Makefile b/mbone/wbd/Makefile new file mode 100644 index 00000000000..c55c0d55b72 --- /dev/null +++ b/mbone/wbd/Makefile @@ -0,0 +1,23 @@ +# $NetBSD: Makefile,v 1.1.1.1 2009/07/07 16:10:18 sborrill Exp $ +# + +DISTNAME= wbd-1.0ucl4 +PKGNAME= wbd-1.0p4 +CATEGORIES= mbone tk +MASTER_SITES= http://www-mice.cs.ucl.ac.uk/multimedia/software/wbd/1.0ucl4/ + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://www-mice.cs.ucl.ac.uk/multimedia/software/wbd/ +COMMENT= Multicast WhiteBoarD + +MAKE_FILE= makefile +WRKSRC= ${WRKDIR}/wbd +BUILD_TARGET= wbd +NO_CONFIGURE= yes +PKG_DESTDIR_SUPPORT= user-destdir + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/wbd ${DESTDIR}${PREFIX}/bin/wbd + +.include "../../x11/tk83/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/mbone/wbd/PLIST b/mbone/wbd/PLIST new file mode 100644 index 00000000000..00f906de2ab --- /dev/null +++ b/mbone/wbd/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2009/07/07 16:10:18 sborrill Exp $ +bin/wbd diff --git a/mbone/wbd/distinfo b/mbone/wbd/distinfo new file mode 100644 index 00000000000..b43ca97df1f --- /dev/null +++ b/mbone/wbd/distinfo @@ -0,0 +1,8 @@ +$NetBSD: distinfo,v 1.1.1.1 2009/07/07 16:10:18 sborrill Exp $ + +SHA1 (wbd-1.0ucl4.tar.gz) = 09a399ed435372d7a62fd1c98c6a06aca15cb4e3 +RMD160 (wbd-1.0ucl4.tar.gz) = ae094420243f35edc664b1be5c496e4f504e277e +Size (wbd-1.0ucl4.tar.gz) = 53591 +SHA1 (patch-aa) = 40400d1e4e0fe32b613c18f3fa6bbcf3f486b67e +SHA1 (patch-ab) = 70c932caacddb93aacbf245ea8aab3ed685fed8c +SHA1 (patch-ac) = 8e72488495f29bc42d9572901d1d766025b11c9e diff --git a/mbone/wbd/patches/patch-aa b/mbone/wbd/patches/patch-aa new file mode 100644 index 00000000000..59646e6752d --- /dev/null +++ b/mbone/wbd/patches/patch-aa @@ -0,0 +1,36 @@ +$NetBSD: patch-aa,v 1.1.1.1 2009/07/07 16:10:18 sborrill Exp $ +--- makefile.orig 1998-01-29 11:46:41.000000000 +0000 ++++ makefile 2005-12-22 16:43:59.000000000 +0000 +@@ -3,12 +3,13 @@ + + YFLAGS = -dv + CFLAGS = -g $(LIBFLAGS) $(IFLAGS) -DSTAND_ALONE +-LIBDIR = /cs/research/mice/starship/common/solaris/lib +-INCDIR = /cs/research/mice/starship/common/solaris/include ++LIBDIR = ${PREFIX}/lib ++INCDIR = ${PREFIIX}/include ++LIBS = -ll -ltk83 -ltcl83 -lm -lX11 -L${PREFIX}/lib -Wl,-R${PREFIX}/lib -L${X11BASE}/lib -Wl,-R${X11BASE}/lib + + # The files needed from the tcl/tk library directories... +-LIBRARY_TK = $(LIBDIR)/tk4.2 +-LIBRARY_TCL = $(LIBDIR)/tcl7.6 ++LIBRARY_TK = $(LIBDIR)/tk8.3 ++LIBRARY_TCL = $(LIBDIR)/tcl8.3 + + + # Uncomment these lines for SGI (IRIX 5.3). +@@ -32,10 +33,10 @@ + #LIBS = -ll -ltk4.2 -ltcl7.6 -lm -lX11 + + # Uncomment these lines for Sun (SunOS 5.5.1). +-CC = gcc -DFNDELAY=O_NDELAY -DBYTE_ORDER=4321 -ansi +-LIBFLAGS = -L$(LIBDIR) -L/usr/openwin/lib +-IFLAGS = -I$(INCDIR) -I/usr/openwin/include +-LIBS = -ll -ltk4.2 -ltcl7.6 -lm -lX11 -lsocket -lnsl -ldl ++#CC = gcc -DFNDELAY=O_NDELAY -DBYTE_ORDER=4321 -ansi ++#LIBFLAGS = -L$(LIBDIR) -L/usr/openwin/lib ++#IFLAGS = -I$(INCDIR) -I/usr/openwin/include ++#LIBS = -ll -ltk4.2 -ltcl7.6 -lm -lX11 -lsocket -lnsl -ldl + + # Uncomment these lines for NetBSD 1.2. + #CC = cc -ansi diff --git a/mbone/wbd/patches/patch-ab b/mbone/wbd/patches/patch-ab new file mode 100644 index 00000000000..2b6ced642ae --- /dev/null +++ b/mbone/wbd/patches/patch-ab @@ -0,0 +1,47 @@ +$NetBSD: patch-ab,v 1.1.1.1 2009/07/07 16:10:18 sborrill Exp $ +--- main.c.orig 1999-02-09 16:29:46.000000000 +0000 ++++ main.c 2005-12-22 17:28:24.000000000 +0000 +@@ -87,6 +87,7 @@ + int maxhops = 5; + int orient = 1; + int readonly = 0; ++int blockimport = 0; + int pssize = 32768; + int datarate = 32768 * 2; + char *username = ""; +@@ -125,6 +126,10 @@ + "Landscape mode"}, + {"+l", TK_ARGV_CONSTANT, (char *) 3, (char *) &orient, + "Landscape mode"}, ++ {"-i", TK_ARGV_CONSTANT, (char *) 1, (char *) &blockimport, ++ "No imports"}, ++ {"+i", TK_ARGV_CONSTANT, (char *) 0, (char *) &blockimport, ++ "Allow import"}, + {"-r", TK_ARGV_CONSTANT, (char *) 1, (char *) &readonly, + "Read only"}, + {"+r", TK_ARGV_CONSTANT, (char *) 0, (char *) &readonly, +@@ -263,7 +268,7 @@ + void usage (void) + { + printf ("Usage: wbd [-N username] [-C confname] [-maxhops n]\n"); +- printf (" [-p|-l|+l] [-r|+r] [+d|-d] [-geometry wxh+x+y] \n"); ++ printf (" [-p|-l|+l] [-r|+r] [+d|-d] [+i|-i] [-geometry wxh+x+y] \n"); + printf (" [-P filesize] [-R bandwidth] [-help] address/port\n"); + } + +@@ -278,6 +283,7 @@ + printf (" -t n Set the TTL to n, (as -maxhops).\n"); + printf (" -p,-l,+l Portrait/Landscape mode,\n"); + printf (" -r,+r Disable/Enable writing to the whiteboard.\n"); ++ printf (" -i,+i Disable/Enable import into the whiteboard.\n"); + printf (" -geometry g Set the window's geometry to g (wxh+x+y).\n"); + printf (" -P size Set the Postscript file size limit to size.\n"); + printf (" -R bw Set the bandwidth limit to bw (bits/s).\n"); +@@ -407,6 +413,7 @@ + tkStringSet ("geometry", geometry); + tkIntegerSet ("orientation", orient); + tkIntegerSet ("readonly", readonly); ++ tkIntegerSet ("blockimport", blockimport); + tkIntegerSet ("pssize", pssize); + tkIntegerSet ("relate", relate); + diff --git a/mbone/wbd/patches/patch-ac b/mbone/wbd/patches/patch-ac new file mode 100644 index 00000000000..b86d3670a64 --- /dev/null +++ b/mbone/wbd/patches/patch-ac @@ -0,0 +1,60 @@ +$NetBSD: patch-ac,v 1.1.1.1 2009/07/07 16:10:18 sborrill Exp $ +--- wbd.tcl.orig 1999-02-16 17:34:49.000000000 +0000 ++++ wbd.tcl 2005-12-23 08:34:15.000000000 +0000 +@@ -1,4 +1,3 @@ +-# + # Copyright (c) 1997 Loughborough University + # All rights reserved. + # +@@ -1294,6 +1293,7 @@ + + proc StateWB {state} { + ++ global W + if {$state == "0"} {set state normal} + if {$state == "1"} {set state disabled} + +@@ -1314,8 +1314,10 @@ + $w2.font configure -state $state + # $w1.quit configure -state $state + $w3.newpage configure -state $state +- $w3.impps configure -state $state +- $w3.imptext configure -state $state ++ if {$W(blockimport) == 0} { ++ $w3.impps configure -state $state ++ $w3.imptext configure -state $state ++ } + # $w3.dump configure -state $state + # $w3.load configure -state $state + $w3.grab configure -state $state +@@ -1635,20 +1637,21 @@ + + proc BuildInfo {w} { + +- global GWbdFont ++ global GWbdFont W + + button $w.newpage -width 8 -text {New Page} \ + -font $GWbdFont -command PageNew + pack $w.newpage -side left + +- button $w.impps -width 8 -text {Import PS} \ +- -font $GWbdFont -command ImportPS +- pack $w.impps -side left +- +- button $w.imptext -width 8 -text {Import Text} \ +- -font $GWbdFont -command ImportText +- pack $w.imptext -side left +- ++ if {$W(blockimport) == 0} { ++ button $w.impps -width 8 -text {Import PS} \ ++ -font $GWbdFont -command ImportPS ++ pack $w.impps -side left ++ ++ button $w.imptext -width 8 -text {Import Text} \ ++ -font $GWbdFont -command ImportText ++ pack $w.imptext -side left ++ } + # button $w.ps -width 8 -text {Print} -command PrintWB \ + # -font $GWbdFont + # pack $w.ps -side left |