pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mbone/wbd wbd, the UCB/LBNL whiteboard tool, is a real...
details: https://anonhg.NetBSD.org/pkgsrc/rev/888e394fbe39
branches: trunk
changeset: 561003:888e394fbe39
user: sborrill <sborrill%pkgsrc.org@localhost>
date: Tue Jul 07 16:10:18 2009 +0000
description:
wbd, the UCB/LBNL whiteboard tool, is a real-time shared whiteboard
application.
diffstat:
mbone/wbd/DESCR | 2 +
mbone/wbd/Makefile | 23 +++++++++++++++++
mbone/wbd/PLIST | 2 +
mbone/wbd/distinfo | 8 ++++++
mbone/wbd/patches/patch-aa | 36 +++++++++++++++++++++++++++
mbone/wbd/patches/patch-ab | 47 ++++++++++++++++++++++++++++++++++++
mbone/wbd/patches/patch-ac | 60 ++++++++++++++++++++++++++++++++++++++++++++++
7 files changed, 178 insertions(+), 0 deletions(-)
diffs (206 lines):
diff -r eeb13604ef12 -r 888e394fbe39 mbone/wbd/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mbone/wbd/DESCR Tue Jul 07 16:10:18 2009 +0000
@@ -0,0 +1,2 @@
+wbd, the UCB/LBNL whiteboard tool, is a real-time shared whiteboard
+application.
diff -r eeb13604ef12 -r 888e394fbe39 mbone/wbd/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mbone/wbd/Makefile Tue Jul 07 16:10:18 2009 +0000
@@ -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@localhost
+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 -r eeb13604ef12 -r 888e394fbe39 mbone/wbd/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mbone/wbd/PLIST Tue Jul 07 16:10:18 2009 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/07/07 16:10:18 sborrill Exp $
+bin/wbd
diff -r eeb13604ef12 -r 888e394fbe39 mbone/wbd/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mbone/wbd/distinfo Tue Jul 07 16:10:18 2009 +0000
@@ -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 -r eeb13604ef12 -r 888e394fbe39 mbone/wbd/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mbone/wbd/patches/patch-aa Tue Jul 07 16:10:18 2009 +0000
@@ -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 -r eeb13604ef12 -r 888e394fbe39 mbone/wbd/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mbone/wbd/patches/patch-ab Tue Jul 07 16:10:18 2009 +0000
@@ -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 -r eeb13604ef12 -r 888e394fbe39 mbone/wbd/patches/patch-ac
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mbone/wbd/patches/patch-ac Tue Jul 07 16:10:18 2009 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index