- Update to 2.5.3

This commit is contained in:
Pietro Cerutti 2013-11-19 11:13:47 +00:00
parent 7bdaaca250
commit 712c913320
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=334300
43 changed files with 1256 additions and 2922 deletions

View file

@ -2,50 +2,42 @@
# $FreeBSD$
PORTNAME= blt
PORTVERSION= 2.4z
PORTREVISION= 7
PORTVERSION= 2.5.3
CATEGORIES= x11-toolkits tk
MASTER_SITES= SF/${PORTNAME}/BLT/BLT%20${PORTVERSION} \
ftp://ftp.csl.sony.co.jp/pub/kjc/ttt-libs/
DISTNAME= BLT${PORTVERSION}
PATCH_SITES= ${MASTER_SITE_SOURCEFORGE:C/%SUBDIR%/${PORTNAME}\/BLT\/BLT%20${PORTVERSION}/} \
ftp://ftp.csl.sony.co.jp/pub/kjc/ttt-libs/
PATCH_SITE_SUBDIR= ${PORTNAME}
PATCHFILES= blt2.4z-patch-2
PATCH_DIST_STRIP=-p1
MASTER_SITES= SF/wize
DISTNAME= ${PORTNAME}-src-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Extension for the Tk toolkit (with shared libs)
COMMENT= Extension to the Tk toolkit
LICENSE= BSD
LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg
WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION:R}
USES+= gmake tk:84,85
USE_ZIP= yes
USE_LDCONFIG= yes
USE_AUTOTOOLS= libtool
WRKSRC= ${WRKDIR}/blt2.4z
GNU_CONFIGURE= yes
CFLAGS+= -Wall -Wno-uninitialized
CFLAGS+= -I${TK_INCLUDEDIR}/generic -I${TK_INCLUDEDIR}/unix
CFLAGS+= -I${TCL_INCLUDEDIR}/generic
MAKE_JOBS_UNSAFE=
USES+= tk:84,85
USE_XORG= x11
PLIST_SUB+= BLTVER=${PORTVERSION:R} \
BLTSHORTVER=${PORTVERSION:R:S/.//}
CONFIGURE_ARGS+=--prefix=${PREFIX} \
--exec_prefix=${PREFIX} \
--enable-jpeg=${LOCALBASE} \
--with-tcl=${TCL_LIBDIR} \
--with-tk=${TK_LIBDIR} \
--with-tcllibs=${LOCALBASE}/lib \
--with-tklibs=${LOCALBASE}/lib
post-patch:
${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} \
${REINPLACE_CMD} -e '/^INSTALL_ROOT/s|$$|$${DESTDIR}|'
post-install:
${LN} -sf libBLT24.so.3 ${STAGEDIR}${PREFIX}/lib/libBLT24.so
${LN} -sf libBLTlite24.so.3 ${STAGEDIR}${PREFIX}/lib/libBLTlite24.so
CONFIGURE_ARGS+=--exec_prefix=${PREFIX} \
--enable-jpeg=${LOCALBASE} \
--with-tcl=${TCL_LIBDIR} \
--with-tk=${TK_LIBDIR} \
--with-tcllibs=${LOCALBASE}/lib/ \
--with-tklibs=${LOCALBASE}/lib/ \
--with-tclincls=${TCL_INCLUDEDIR} \
--with-tkincls=${TK_INCLUDEDIR}
${FIND} ${WRKSRC}/demos -name "*.tcl" | ${XARGS} \
${REINPLACE_CMD} -e 's|../src/bltwish|${LOCALBASE}/bin/bltwish|'
.include <bsd.port.mk>

View file

@ -1,4 +1,2 @@
SHA256 (BLT2.4z.tar.gz) = 6de705eccf2ec676b4071b74ec9e211c590477fadf6f05566cfd8ed6a03c60da
SIZE (BLT2.4z.tar.gz) = 2200973
SHA256 (blt2.4z-patch-2) = 580faabb2dab08df3c3675d3b53b9ad6bf1095f085912b4e7c2db75c5c7d669f
SIZE (blt2.4z-patch-2) = 28594
SHA256 (blt-src-2.5.3.zip) = 6ec778f58f60f17e241156d00e7e6ca79938ff40fd61df7d23cdedfe7ec49943
SIZE (blt-src-2.5.3.zip) = 2724036

View file

@ -1,55 +0,0 @@
--- configure.orig Fri Oct 4 13:33:59 2002
+++ configure Tue Feb 13 16:39:48 2007
@@ -1202,7 +1202,7 @@
#
# 1. command line (--with-cflags)
# 2. cached variable ($blt_cv_prog_cflags)
-# 3. set to "-O6" if using gcc ($blt_have_gcc)
+# 3. set to "-O2" if using gcc ($blt_have_gcc)
# 4. otherwise, default to "-O"
#
echo $ac_n "checking default compiler flags""... $ac_c" 1>&6
@@ -1212,7 +1212,7 @@
elif test "x${blt_cv_prog_cflags}" != "x" ; then
CFLAGS=${blt_cv_prog_cflags}
elif test "${blt_have_gcc}" = "yes" ; then
- CFLAGS=-O6
+ CFLAGS=-O2
else
CFLAGS=-O
fi
@@ -3197,6 +3197,7 @@
if test "x$tcl_config_sh" = "x" ; then
for dir in \
`ls -dr /usr/local/tcl/tcl[7-9].[0-9]* 2>/dev/null` \
+ `ls -dr /usr/local/lib/tcl[7-9].[0-9]* 2>/dev/null` \
/usr/local/tcl \
/usr/local \
/usr
@@ -3295,6 +3296,7 @@
if test "x$tk_config_sh" = "x" ; then
for dir in \
`ls -dr /usr/local/tcl/tcl[7-9].[0-9]* 2>/dev/null` \
+ `ls -dr /usr/local/lib/tk[7-9].[0-9]* 2>/dev/null` \
/usr/local/tcl \
/usr/local \
${x_libraries} \
@@ -3379,7 +3381,7 @@
fi
case $target in
- *-sunos4*|*-*-netbsd|NetBSD-*|FreeBSD-*|OpenBSD-*|*-*-cygwin*|*-*-mingw*)
+ *-sunos4*|*-*-netbsd|NetBSD-*|*-*-freebsd*|OpenBSD-*|*-*-cygwin*|*-*-mingw*)
TCL_LIB_NAME="tcl${TCL_MAJOR_VERSION}${TCL_MINOR_VERSION}"
TK_LIB_NAME="tk${TK_MAJOR_VERSION}${TK_MINOR_VERSION}"
;;
@@ -4111,7 +4113,8 @@
if test "$test_ok" = yes; then
SHLIB_CFLAGS="-fpic"
SHLIB_LD="ld"
- SHLIB_LD_FLAGS="-Bshareable -x"
+ SHLIB_LD_FLAGS="-Bshareable -x -soname \$@"
+ SHLIB_SUFFIX=".so.3"
fi
;;

View file

@ -1,24 +0,0 @@
--- src/bltTree.c.orig Sun Sep 29 07:44:12 2002
+++ src/bltTree.c Mon Oct 13 13:16:45 2003
@@ -96,16 +96,16 @@
#define REBUILD_MULTIPLIER 3
-#if (SIZEOF_VOID_P == 8)
-#define RANDOM_INDEX(i) HashOneWord(mask, downshift, i)
-#define BITSPERWORD 64
-#else
-
#define START_LOGSIZE 5 /* Initial hash table size is 32. */
#define MAX_LIST_VALUES 20 /* Convert to hash table when node
* value list gets bigger than this
* many values. */
+
+#if (SIZEOF_VOID_P == 8)
+#define RANDOM_INDEX(i) HashOneWord(mask, downshift, i)
+#define BITSPERWORD 64
+#else
/*
* The following macro takes a preliminary integer hash value and
* produces an index into a hash tables bucket list. The idea is

View file

@ -1,11 +0,0 @@
--- Makefile.in.orig Wed Feb 23 18:28:23 2005
+++ Makefile.in Wed Feb 23 18:32:19 2005
@@ -45,7 +45,7 @@
install-all:
(cd src; $(MAKE) install)
(cd library; $(MAKE) install)
- (cd man; $(MAKE) install)
+## (cd man; $(MAKE) install)
(cd demos; $(MAKE) install)
$(INSTALL_DATA) $(srcdir)/README $(INSTALL_DIR)$(scriptdir)
$(INSTALL_DATA) $(srcdir)/PROBLEMS $(INSTALL_DIR)$(scriptdir)

View file

@ -0,0 +1,134 @@
--- configure.orig 2010-11-30 23:51:02.000000000 +0100
+++ configure 2013-11-18 16:59:27.000000000 +0100
@@ -975,7 +975,7 @@
#line 976 "configure"
#include "confdefs.h"
-main(){return(0);}
+int main(){return(0);}
EOF
if { (eval echo configure:981: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
ac_cv_prog_cc_works=yes
@@ -1461,7 +1461,7 @@
#include "confdefs.h"
int main() {
-main()
+int main()
; return 0; }
EOF
if { (eval echo configure:1468: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
@@ -1504,7 +1504,7 @@
#include "confdefs.h"
int main() {
-main()
+int main()
; return 0; }
EOF
if { (eval echo configure:1511: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
@@ -1547,7 +1547,7 @@
#include "confdefs.h"
int main() {
-main()
+int main()
; return 0; }
EOF
if { (eval echo configure:1554: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
@@ -2325,7 +2325,7 @@
cat > conftest.$ac_ext <<EOF
#line 2327 "configure"
#include "confdefs.h"
-main () {
+int main () {
/* Are we little or big endian? From Harbison&Steele. */
union
{
@@ -2371,11 +2371,12 @@
#line 2372 "configure"
#include "confdefs.h"
#include <stdio.h>
-main()
+#include <stdlib.h>
+int main()
{
FILE *f=fopen("conftestval", "w");
if (!f) exit(1);
- fprintf(f, "%d\n", sizeof(int));
+ fprintf(f, "%zu\n", sizeof(int));
exit(0);
}
EOF
@@ -2410,11 +2411,12 @@
#line 2411 "configure"
#include "confdefs.h"
#include <stdio.h>
-main()
+#include <stdlib.h>
+int main()
{
FILE *f=fopen("conftestval", "w");
if (!f) exit(1);
- fprintf(f, "%d\n", sizeof(long));
+ fprintf(f, "%zu\n", sizeof(long));
exit(0);
}
EOF
@@ -2449,11 +2451,12 @@
#line 2450 "configure"
#include "confdefs.h"
#include <stdio.h>
-main()
+#include <stdlib.h>
+int main()
{
FILE *f=fopen("conftestval", "w");
if (!f) exit(1);
- fprintf(f, "%d\n", sizeof(long long));
+ fprintf(f, "%zu\n", sizeof(long long));
exit(0);
}
EOF
@@ -2488,11 +2491,12 @@
#line 2489 "configure"
#include "confdefs.h"
#include <stdio.h>
-main()
+#include <stdlib.h>
+int main()
{
FILE *f=fopen("conftestval", "w");
if (!f) exit(1);
- fprintf(f, "%d\n", sizeof(void *));
+ fprintf(f, "%zu\n", sizeof(void *));
exit(0);
}
EOF
@@ -2681,7 +2685,7 @@
#line 2682 "configure"
#include "confdefs.h"
-main () {
+int main () {
double e, u;
/*
* Check the smallest value such that 1.0 + x != 1.0.
@@ -3379,7 +3383,7 @@
fi
case $target in
- *-sunos4*|*-*-netbsd|NetBSD-*|FreeBSD-*|OpenBSD-*|*-*-cygwin*|*-*-mingw*)
+ *-sunos4*|*-*-netbsd|NetBSD-*|*-freebsd*|OpenBSD-*|*-*-cygwin*|*-*-mingw*)
TCL_LIB_NAME="tcl${TCL_MAJOR_VERSION}${TCL_MINOR_VERSION}"
TK_LIB_NAME="tk${TK_MAJOR_VERSION}${TK_MINOR_VERSION}"
;;
@@ -3854,7 +3858,7 @@
SHLIB_SUFFIX=".so"
SHLIB_TARGET=""
SHLIB_CFLAGS=""
-SHLIB_LIB_SPECS="${JPEG_LIB_SPEC}"
+SHLIB_LIB_SPECS="${JPEG_LIB_SPEC} ${TK_LIB_SPEC} ${TCL_LIB_SPEC}"
SHLIB_TCL_ONLY_LIB_SPECS="${TCL_ONLY_LIB_SPECS}"
SHLIB_TCL_ONLY_LIB_SPECS=""
LDFLAGS=""

View file

@ -0,0 +1,11 @@
--- generic/bltBgexec.c.orig 2013-11-18 16:52:13.000000000 +0100
+++ generic/bltBgexec.c 2013-11-18 16:53:58.000000000 +0100
@@ -926,7 +926,7 @@
Tcl_DStringInit(&dStr);
GetSinkData(sinkPtr, &data, &length);
Tcl_DStringAppend(&dStr, sinkPtr->command, -1);
- Tcl_DStringAppendElement(&dStr, data);
+ Tcl_DStringAppendElement(&dStr, (const char *)data);
Tcl_DStringAppendElement(&dStr, status);
if (Tcl_GlobalEval(interp, Tcl_DStringValue(&dStr)) != TCL_OK) {
Tcl_BackgroundError(interp);

View file

@ -0,0 +1,38 @@
--- generic/bltDecls.h.orig 2013-11-18 17:41:05.000000000 +0100
+++ generic/bltDecls.h 2013-11-18 17:43:44.000000000 +0100
@@ -532,7 +532,7 @@
Blt_TreeKey (*blt_TreeGetKey) _ANSI_ARGS_((CONST char * string)); /* 0 */
Blt_TreeNode (*blt_TreeCreateNode) _ANSI_ARGS_((Blt_Tree tree, Blt_TreeNode parent, CONST char * name, int position)); /* 1 */
- Blt_TreeNode (*blt_TreeCreateNodeWithId) _ANSI_ARGS_((Blt_Tree tree, Blt_TreeNode parent, CONST char * name, int position, int inode)); /* 2 */
+ Blt_TreeNode (*blt_TreeCreateNodeWithId) _ANSI_ARGS_((Blt_Tree tree, Blt_TreeNode parent, CONST char * name, unsigned int position, int inode)); /* 2 */
int (*blt_TreeDeleteNode) _ANSI_ARGS_((Blt_Tree tree, Blt_TreeNode node)); /* 3 */
int (*blt_TreeMoveNode) _ANSI_ARGS_((Blt_Tree tree, Blt_TreeNode node, Blt_TreeNode parent, Blt_TreeNode before)); /* 4 */
Blt_TreeNode (*blt_TreeGetNode) _ANSI_ARGS_((Blt_Tree tree, unsigned int inode)); /* 5 */
@@ -558,7 +558,7 @@
int (*blt_TreeSetArrayValue) _ANSI_ARGS_((Tcl_Interp * interp, Blt_Tree tree, Blt_TreeNode node, CONST char * arrayName, CONST char * elemName, Tcl_Obj * valueObjPtr)); /* 25 */
int (*blt_TreeUnsetArrayValue) _ANSI_ARGS_((Tcl_Interp * interp, Blt_Tree tree, Blt_TreeNode node, CONST char * arrayName, CONST char * elemName)); /* 26 */
int (*blt_TreeArrayValueExists) _ANSI_ARGS_((Blt_Tree tree, Blt_TreeNode node, CONST char * arrayName, CONST char * elemName)); /* 27 */
- int (*blt_TreeArrayNames) _ANSI_ARGS_((Tcl_Interp * interp, Blt_Tree tree, Blt_TreeNode node, CONST char * arrayName, Tcl_Obj * listObjPtr)); /* 28 */
+ int (*blt_TreeArrayNames) _ANSI_ARGS_((Tcl_Interp * interp, Blt_Tree tree, Blt_TreeNode node, CONST char * arrayName, Tcl_Obj * listObjPtr, const char *)); /* 28 */
int (*blt_TreeGetValueByKey) _ANSI_ARGS_((Tcl_Interp * interp, Blt_Tree tree, Blt_TreeNode node, Blt_TreeKey key, Tcl_Obj ** valuePtr)); /* 29 */
int (*blt_TreeSetValueByKey) _ANSI_ARGS_((Tcl_Interp * interp, Blt_Tree tree, Blt_TreeNode node, Blt_TreeKey key, Tcl_Obj * valuePtr)); /* 30 */
int (*blt_TreeUnsetValueByKey) _ANSI_ARGS_((Tcl_Interp * interp, Blt_Tree tree, Blt_TreeNode node, Blt_TreeKey key)); /* 31 */
@@ -578,13 +578,13 @@
void (*blt_TreeDeleteTrace) _ANSI_ARGS_((Blt_TreeTrace token)); /* 45 */
void (*blt_TreeCreateEventHandler) _ANSI_ARGS_((Blt_Tree tree, unsigned int mask, Blt_TreeNotifyEventProc * proc, ClientData clientData)); /* 46 */
void (*blt_TreeDeleteEventHandler) _ANSI_ARGS_((Blt_Tree tree, unsigned int mask, Blt_TreeNotifyEventProc * proc, ClientData clientData)); /* 47 */
- void (*blt_TreeRelabelNode) _ANSI_ARGS_((Blt_Tree tree, Blt_TreeNode node, CONST char * string)); /* 48 */
- void (*blt_TreeRelabelNode2) _ANSI_ARGS_((Blt_TreeNode node, CONST char * string)); /* 49 */
+ int (*blt_TreeRelabelNode) _ANSI_ARGS_((Blt_Tree tree, Blt_TreeNode node, CONST char * string)); /* 48 */
+ int (*blt_TreeRelabelNode2) _ANSI_ARGS_((Blt_TreeNode node, CONST char * string)); /* 49 */
char * (*blt_TreeNodePath) _ANSI_ARGS_((Blt_TreeNode node, Tcl_DString * resultPtr)); /* 50 */
int (*blt_TreeNodePosition) _ANSI_ARGS_((Blt_TreeNode node)); /* 51 */
void (*blt_TreeClearTags) _ANSI_ARGS_((Blt_Tree tree, Blt_TreeNode node)); /* 52 */
- void (*blt_TreeAddTag) _ANSI_ARGS_((Blt_Tree tree, Blt_TreeNode node, CONST char * tagName)); /* 53 */
- void (*blt_TreeForgetTag) _ANSI_ARGS_((Blt_Tree tree, CONST char * tagName)); /* 54 */
+ int (*blt_TreeAddTag) _ANSI_ARGS_((Blt_Tree tree, Blt_TreeNode node, CONST char * tagName)); /* 53 */
+ int (*blt_TreeForgetTag) _ANSI_ARGS_((Blt_Tree tree, CONST char * tagName)); /* 54 */
int (*blt_TreeTagTableIsShared) _ANSI_ARGS_((Blt_Tree tree)); /* 55 */
int (*blt_TreeShareTagTable) _ANSI_ARGS_((Blt_Tree src, Blt_Tree target)); /* 56 */
Blt_HashEntry * (*blt_TreeFirstTag) _ANSI_ARGS_((Blt_Tree tree, Blt_HashSearch * searchPtr)); /* 57 */

View file

@ -0,0 +1,49 @@
--- generic/bltGrAxis.c.orig 2013-11-18 17:44:53.000000000 +0100
+++ generic/bltGrAxis.c 2013-11-18 17:46:54.000000000 +0100
@@ -3436,7 +3436,7 @@
Graph *graphPtr;
Axis *axisPtr;
int argc;
- char *argv[];
+ CONST char *argv[];
{
int flags;
@@ -3858,11 +3858,11 @@
ConfigureVirtualOp(graphPtr, argc, argv)
Graph *graphPtr;
int argc;
- char *argv[];
+ CONST char *argv[];
{
Axis *axisPtr;
int nNames, nOpts;
- char **options;
+ CONST char **options;
register int i;
/* Figure out where the option value pairs begin */
@@ -3872,7 +3872,7 @@
if (argv[i][0] == '-') {
break;
}
- if (NameToAxis(graphPtr, argv[i], &axisPtr) != TCL_OK) {
+ if (NameToAxis(graphPtr, (char *)argv[i], &axisPtr) != TCL_OK) {
return TCL_ERROR;
}
}
@@ -3881,10 +3881,10 @@
options = argv + i; /* Start of options in argv */
for (i = 0; i < nNames; i++) {
- if (NameToAxis(graphPtr, argv[i], &axisPtr) != TCL_OK) {
- return TCL_ERROR;
- }
- if (ConfigureOp(graphPtr, axisPtr, nOpts, options) != TCL_OK) {
+ if (NameToAxis(graphPtr, (char *)argv[i], &axisPtr) != TCL_OK) {
+ return TCL_ERROR;
+ }
+ if (ConfigureOp(graphPtr, axisPtr, nOpts, options) != TCL_OK) {
break;
}
}

View file

@ -0,0 +1,53 @@
--- generic/bltGrElem.c.orig 2013-11-18 17:47:27.000000000 +0100
+++ generic/bltGrElem.c 2013-11-18 17:48:30.000000000 +0100
@@ -1658,7 +1658,7 @@
Graph *graphPtr; /* Graph widget */
Tcl_Interp *interp; /* Interpreter to report results to */
int argc; /* Number of element names */
- char **argv; /* List of element names */
+ CONST char **argv; /* List of element names */
{
Element *elemPtr;
ClosestSearch search;
@@ -1710,7 +1710,7 @@
if (i < argc) {
for ( /* empty */ ; i < argc; i++) {
- if (NameToElement(graphPtr, argv[i], &elemPtr) != TCL_OK) {
+ if (NameToElement(graphPtr, (char *)argv[i], &elemPtr) != TCL_OK) {
return TCL_ERROR; /* Can't find named element */
}
if (elemPtr->hidden) {
@@ -1811,12 +1811,12 @@
Graph *graphPtr;
Tcl_Interp *interp;
int argc;
- char *argv[];
+ CONST char *argv[];
{
Element *elemPtr;
int flags;
int numNames, numOpts;
- char **options;
+ CONST char **options;
register int i;
/* Figure out where the option value pairs begin */
@@ -1826,7 +1826,7 @@
if (argv[i][0] == '-') {
break;
}
- if (NameToElement(graphPtr, argv[i], &elemPtr) != TCL_OK) {
+ if (NameToElement(graphPtr, (char *)argv[i], &elemPtr) != TCL_OK) {
return TCL_ERROR; /* Can't find named element */
}
}
@@ -1835,7 +1835,7 @@
options = argv + numNames; /* Start of options in argv */
for (i = 0; i < numNames; i++) {
- NameToElement(graphPtr, argv[i], &elemPtr);
+ NameToElement(graphPtr, (char *)argv[i], &elemPtr);
flags = TK_CONFIG_ARGV_ONLY;
if (numOpts == 0) {
return Tk_ConfigureInfo(interp, graphPtr->tkwin,

View file

@ -0,0 +1,11 @@
--- generic/bltGrGrid.c.orig 2013-11-18 17:49:30.000000000 +0100
+++ generic/bltGrGrid.c 2013-11-18 17:49:49.000000000 +0100
@@ -355,7 +355,7 @@
Graph *graphPtr;
Tcl_Interp *interp;
int argc;
- char **argv;
+ CONST char **argv;
{
Grid *gridPtr = (Grid *)graphPtr->gridPtr;
int flags;

View file

@ -0,0 +1,11 @@
--- generic/bltGrHairs.c.orig 2013-11-18 17:50:12.000000000 +0100
+++ generic/bltGrHairs.c 2013-11-18 17:50:29.000000000 +0100
@@ -379,7 +379,7 @@
Graph *graphPtr;
Tcl_Interp *interp;
int argc;
- char **argv;
+ CONST char **argv;
{
Crosshairs *chPtr = graphPtr->crosshairs;

View file

@ -0,0 +1,11 @@
--- generic/bltGrLegd.c.orig 2013-11-18 17:50:55.000000000 +0100
+++ generic/bltGrLegd.c 2013-11-18 17:51:07.000000000 +0100
@@ -1393,7 +1393,7 @@
Graph *graphPtr;
Tcl_Interp *interp;
int argc;
- char **argv;
+ CONST char **argv;
{
int flags = TK_CONFIG_ARGV_ONLY;
Legend *legendPtr;

View file

@ -0,0 +1,11 @@
--- generic/bltGrLine.c.orig 2013-11-18 17:51:32.000000000 +0100
+++ generic/bltGrLine.c 2013-11-18 17:51:47.000000000 +0100
@@ -1211,7 +1211,7 @@
NameOfSmooth(value)
Smoothing value;
{
- if ((value < 0) || (value >= PEN_SMOOTH_LAST)) {
+ if ((value == 0) || (value >= PEN_SMOOTH_LAST)) {
return "unknown smooth value";
}
return smoothingInfo[value].name;

View file

@ -0,0 +1,36 @@
--- generic/bltGrMarker.c.orig 2013-11-18 17:52:05.000000000 +0100
+++ generic/bltGrMarker.c 2013-11-18 17:53:22.000000000 +0100
@@ -4274,13 +4274,13 @@
Graph *graphPtr;
Tcl_Interp *interp;
int argc;
- char **argv;
+ CONST char **argv;
{
Marker *markerPtr;
int flags = TK_CONFIG_ARGV_ONLY;
char *oldName;
int nNames, nOpts;
- char **options;
+ CONST char **options;
register int i;
int under;
@@ -4291,7 +4291,7 @@
if (argv[i][0] == '-') {
break;
}
- if (NameToMarker(graphPtr, argv[i], &markerPtr) != TCL_OK) {
+ if (NameToMarker(graphPtr, (char *)argv[i], &markerPtr) != TCL_OK) {
return TCL_ERROR;
}
}
@@ -4300,7 +4300,7 @@
options = argv + nNames; /* Start of options in argv */
for (i = 0; i < nNames; i++) {
- NameToMarker(graphPtr, argv[i], &markerPtr);
+ NameToMarker(graphPtr, (char *)argv[i], &markerPtr);
if (nOpts == 0) {
return Tk_ConfigureInfo(interp, graphPtr->tkwin,
markerPtr->classPtr->configSpecs, (char *)markerPtr,

View file

@ -0,0 +1,36 @@
--- generic/bltGrPen.c.orig 2013-11-18 17:53:49.000000000 +0100
+++ generic/bltGrPen.c 2013-11-18 17:54:24.000000000 +0100
@@ -475,13 +475,13 @@
Tcl_Interp *interp;
Graph *graphPtr;
int argc;
- char *argv[];
+ CONST char *argv[];
{
int flags;
Pen *penPtr;
int nNames, nOpts;
int redraw;
- char **options;
+ CONST char **options;
register int i;
/* Figure out where the option value pairs begin */
@@ -491,7 +491,7 @@
if (argv[i][0] == '-') {
break;
}
- if (NameToPen(graphPtr, argv[i]) == NULL) {
+ if (NameToPen(graphPtr, (char *)argv[i]) == NULL) {
return TCL_ERROR;
}
}
@@ -501,7 +501,7 @@
redraw = 0;
for (i = 0; i < nNames; i++) {
- penPtr = NameToPen(graphPtr, argv[i]);
+ penPtr = NameToPen(graphPtr, (char *)argv[i]);
flags = TK_CONFIG_ARGV_ONLY | (penPtr->flags & (ACTIVE_PEN|NORMAL_PEN));
if (nOpts == 0) {
return Tk_ConfigureInfo(interp, graphPtr->tkwin,

View file

@ -0,0 +1,44 @@
--- generic/bltGrPs.c.orig 2013-11-19 09:13:57.000000000 +0100
+++ generic/bltGrPs.c 2013-11-19 09:16:50.000000000 +0100
@@ -406,7 +406,7 @@
Graph *graphPtr;
Tcl_Interp *interp;
int argc; /* Number of options in argv vector */
- char **argv; /* Option vector */
+ CONST char **argv; /* Option vector */
{
int flags = TK_CONFIG_ARGV_ONLY;
PostScript *psPtr = (PostScript *)graphPtr->postscript;
@@ -634,7 +634,7 @@
static int
PostScriptPreamble(graphPtr, fileName, psToken)
Graph *graphPtr;
- char *fileName;
+ CONST char *fileName;
PsToken psToken;
{
PostScript *psPtr = (PostScript *)graphPtr->postscript;
@@ -829,7 +829,7 @@
static int
GraphToPostScript(graphPtr, ident, psToken)
Graph *graphPtr;
- char *ident; /* Identifier string (usually the filename) */
+ CONST char *ident; /* Identifier string (usually the filename) */
PsToken psToken;
{
int x, y, width, height;
@@ -1110,12 +1110,12 @@
Graph *graphPtr; /* Graph widget record */
Tcl_Interp *interp;
int argc; /* Number of options in argv vector */
- char **argv; /* Option vector */
+ CONST char **argv; /* Option vector */
{
PostScript *psPtr = (PostScript *)graphPtr->postscript;
FILE *f = NULL;
PsToken psToken;
- char *fileName; /* Name of file to write PostScript output
+ CONST char *fileName; /* Name of file to write PostScript output
* If NULL, output is returned via
* interp->result. */
fileName = NULL;

View file

@ -0,0 +1,56 @@
--- generic/bltGraph.c.orig 2013-11-19 09:17:39.000000000 +0100
+++ generic/bltGraph.c 2013-11-19 09:20:27.000000000 +0100
@@ -887,7 +887,7 @@
CreateGraph(interp, argc, argv, classUid)
Tcl_Interp *interp;
int argc;
- char **argv;
+ CONST char **argv;
Blt_Uid classUid;
{
Graph *graphPtr;
@@ -1082,7 +1082,7 @@
Graph *graphPtr;
Tcl_Interp *interp;
int argc;
- char **argv;
+ CONST char **argv;
{
int flags;
@@ -1926,7 +1926,7 @@
NewGraph(interp, argc, argv, classUid)
Tcl_Interp *interp;
int argc;
- char **argv;
+ CONST char **argv;
Blt_Uid classUid;
{
Graph *graphPtr;
@@ -1968,7 +1968,7 @@
int argc;
char **argv;
{
- return NewGraph(interp, argc, argv, bltLineElementUid);
+ return NewGraph(interp, argc, (const char **)argv, bltLineElementUid);
}
/*
@@ -1995,7 +1995,7 @@
int argc;
char **argv;
{
- return NewGraph(interp, argc, argv, bltBarElementUid);
+ return NewGraph(interp, argc, (const char **)argv, bltBarElementUid);
}
/*
@@ -2022,7 +2022,7 @@
int argc;
char **argv;
{
- return NewGraph(interp, argc, argv, bltStripElementUid);
+ return NewGraph(interp, argc, (const char **)argv, bltStripElementUid);
}
/*

View file

@ -0,0 +1,11 @@
--- generic/bltHash.h.in.orig 2013-11-18 17:11:43.000000000 +0100
+++ generic/bltHash.h.in 2013-11-18 17:11:53.000000000 +0100
@@ -88,7 +88,7 @@
* Acceptable key types for hash tables:
*/
#define BLT_STRING_KEYS 0
-#define BLT_ONE_WORD_KEYS ((size_t)-1)
+#define BLT_ONE_WORD_KEYS (-1)
/*
* Forward declaration of Blt_HashTable. Needed by some C++ compilers

View file

@ -0,0 +1,24 @@
--- generic/bltInit.c.orig 2013-11-19 09:31:51.000000000 +0100
+++ generic/bltInit.c 2013-11-19 09:31:51.000000000 +0100
@@ -510,7 +510,6 @@
Tcl_Interp *interp; /* Interpreter to add extra commands */
{
int flags;
- int dostub = 0;
flags = (int)Tcl_GetAssocData(interp, BLT_THREAD_KEY, NULL);
if ((flags & BLT_TCL_CMDS) == 0) {
@@ -562,11 +561,11 @@
Blt_RegisterArrayObj(interp);
bltNaN = MakeNaN();
#ifdef USE_BLT_STUBS
- if (Tcl_PkgProvideEx(interp, "BLT", BLT_PATCH_LEVEL, &bltStubs) != TCL_OK) {
+ if (Tcl_PkgProvideEx(interp, "BLT", BLT_VERSION, &bltStubs) != TCL_OK) {
return TCL_ERROR;
}
#else
- if (Tcl_PkgProvideEx(interp, "BLT", BLT_PATCH_LEVEL, NULL) != TCL_OK) {
+ if (Tcl_PkgProvideEx(interp, "BLT", BLT_VERSION, NULL) != TCL_OK) {
return TCL_ERROR;
}
#endif

View file

@ -0,0 +1,20 @@
--- generic/bltInt.h.orig 2010-12-10 23:41:18.000000000 +0100
+++ generic/bltInt.h 2013-11-19 09:15:34.000000000 +0100
@@ -275,7 +275,7 @@
#define free(x) abc123(x)
-extern int Blt_DictionaryCompare _ANSI_ARGS_((char *s1, char *s2));
+extern int Blt_DictionaryCompare _ANSI_ARGS_((CONST char *s1, CONST char *s2));
EXTERN void Blt_Panic _ANSI_ARGS_(TCL_VARARGS(char *, args));
@@ -379,7 +379,7 @@
#ifdef TCL_UTF_MAX
#define HAVE_UTF 1
-extern FILE *Blt_OpenUtfFile _ANSI_ARGS_((char *fileName, char *mode));
+extern FILE *Blt_OpenUtfFile _ANSI_ARGS_((CONST char *fileName, char *mode));
#define fopen(f,m) Blt_OpenUtfFile((f),(m));
#else
#define HAVE_UTF 0

View file

@ -0,0 +1,28 @@
--- generic/bltNsUtil.c.orig 2013-11-18 17:04:03.000000000 +0100
+++ generic/bltNsUtil.c 2013-11-18 17:11:18.000000000 +0100
@@ -27,6 +27,7 @@
#include "bltInt.h"
#include "bltList.h"
+#include <tclInt.h>
/* Namespace related routines */
@@ -62,7 +63,7 @@
Tcl_Var varPtr;
Tcl_Namespace *nsPtr;
Tcl_Obj *objPtr;
- char *str, *cp;
+ const char *str, *cp;
varPtr = Tcl_FindNamespaceVar(interp, (char *)name,
(Tcl_Namespace *)NULL, 0);
@@ -72,7 +73,7 @@
objPtr = Tcl_NewObj();
Tcl_GetVariableFullName(interp, varPtr, objPtr);
str = Tcl_GetString(objPtr);
- if (Blt_ParseQualifiedName(interp, str, &nsPtr, &cp) == NULL) {
+ if (Blt_ParseQualifiedName(interp, str, &nsPtr, &cp) != TCL_OK) {
nsPtr = NULL;
}
Tcl_DecrRefCount(objPtr);

View file

@ -0,0 +1,11 @@
--- generic/bltScrollbar.c.orig 2013-10-30 11:57:57.000000000 +0100
+++ generic/bltScrollbar.c 2013-10-30 11:59:06.000000000 +0100
@@ -588,7 +588,7 @@
} else {
fraction = ((double)pixels / (double)barWidth);
}
- sprintf(interp->result, "%g", fraction);
+ Tcl_SetObjResult(interp, Tcl_NewDoubleObj(fraction));
} else if ((c == 'f') && (strncmp(argv[1], "fraction", length) == 0)) {
int x, y, pos, barWidth;
double fraction;

View file

@ -0,0 +1,11 @@
--- generic/bltSwitch.c.orig 2013-11-18 17:14:04.000000000 +0100
+++ generic/bltSwitch.c 2013-11-18 17:14:37.000000000 +0100
@@ -111,7 +111,7 @@
if (specPtr->switchName == NULL) {
continue;
}
- if (name[1] != '?' || specPtr->type < 0 || specPtr->type >= BLT_SWITCH_END) {
+ if (name[1] != '?' || specPtr->type == 0 || specPtr->type >= BLT_SWITCH_END) {
Tcl_AppendResult(interp, specPtr->switchName, " ", 0);
} else {
static char *typenames[BLT_SWITCH_END+10] = {

View file

@ -0,0 +1,38 @@
--- generic/bltTabset.c.orig 2013-11-19 09:28:40.000000000 +0100
+++ generic/bltTabset.c 2013-11-19 09:30:50.000000000 +0100
@@ -2093,7 +2093,7 @@
return TCL_OK;
}
Tcl_ResetResult(setPtr->interp);
- if (GetTabByIndex(setPtr, string, tabPtrPtr) != TCL_OK) {
+ if (GetTabByIndex(setPtr, string, tabPtrPtr, INVALID_OK) != TCL_OK) {
return TCL_ERROR; /* Can't find node. */
}
return TCL_OK;
@@ -2105,7 +2105,7 @@
char *string,
Tab **tabPtrPtr)
{
- if (GetTabByIndex(setPtr, string, tabPtrPtr) == TCL_OK) {
+ if (GetTabByIndex(setPtr, string, tabPtrPtr, INVALID_OK) == TCL_OK) {
return TCL_OK;
}
Tcl_ResetResult(setPtr->interp);
@@ -3690,7 +3690,7 @@
result = TCL_ERROR;
goto finish;
}
- tabPtr = CreateTab(setPtr, tName, &dStr);
+ tabPtr = CreateTab(setPtr, tName);
if (tabPtr == NULL) {
result = TCL_ERROR;
goto finish;
@@ -4049,7 +4049,7 @@
return TCL_ERROR;
}
Tcl_DecrRefCount(objPtr);
- if (argc>3 && GetTabByIndex(setPtr, argv[3], &tabPtr) != TCL_OK) {
+ if (argc>3 && GetTabByIndex(setPtr, argv[3], &tabPtr, INVALID_OK) != TCL_OK) {
return TCL_ERROR; /* Can't find node. */
}
if (tabPtr == NULL && optInd != OP_STARTIMAGE && optInd != OP_STARTIMAGE) {

View file

@ -0,0 +1,29 @@
--- generic/bltTed.c.orig 2013-10-30 11:55:26.000000000 +0100
+++ generic/bltTed.c 2013-10-30 11:57:39.000000000 +0100
@@ -1504,7 +1504,7 @@
tablePtr->flags |= ARRANGE_PENDING;
Tcl_DoWhenIdle(tablePtr->arrangeProc, tablePtr);
}
- interp->result = Tk_PathName(tedPtr->tkwin);
+ Tcl_SetObjResult(interp, Tcl_NewStringObj(Tk_PathName(tedPtr->tkwin), -1));
tedPtr->flags |= LAYOUT_PENDING;
EventuallyRedraw(tedPtr);
return TCL_OK;
@@ -1678,7 +1678,7 @@
tedPtr->activeRectArr[4].width = grip - 1;
tedPtr->activeRectArr[4].height = grip - 1;
- interp->result = Tk_PathName(entryPtr->tkwin);
+ Tcl_SetObjResult(interp, Tcl_NewStringObj(Tk_PathName(entryPtr->tkwin), -1));
active = 1;
break;
}
@@ -1751,7 +1751,7 @@
tablePtr->flags |= ARRANGE_PENDING;
Tcl_DoWhenIdle(tablePtr->arrangeProc, tablePtr);
}
- interp->result = Tk_PathName(tedPtr->tkwin);
+ Tcl_SetObjResult(interp, Tcl_NewStringObj(Tk_PathName(tedPtr->tkwin), -1));
tedPtr->flags |= LAYOUT_PENDING;
EventuallyRedraw(tedPtr);
return TCL_OK;

View file

@ -0,0 +1,42 @@
--- generic/bltTree.c.orig 2013-11-18 17:18:20.000000000 +0100
+++ generic/bltTree.c 2013-11-18 17:23:01.000000000 +0100
@@ -2631,8 +2631,8 @@
char *
Blt_TreeNodePath(Node *nodePtr, Tcl_DString *resultPtr)
{
- char **nameArr; /* Used to stack the component names. */
- char *staticSpace[64];
+ CONST char **nameArr; /* Used to stack the component names. */
+ CONST char *staticSpace[64];
int nLevels;
register int i;
@@ -2663,8 +2663,8 @@
char *
Blt_TreeNodePathStr(Node *nodePtr, Tcl_DString *resultPtr, char *prefix, char *delim)
{
- char **nameArr; /* Used to stack the component names. */
- char *staticSpace[64];
+ CONST char **nameArr; /* Used to stack the component names. */
+ CONST char *staticSpace[64];
int nLevels;
register int i;
@@ -3083,7 +3083,7 @@
Blt_HashTable *tablePtr;
Tcl_Obj *objPtr;
Value *valuePtr;
- char *key;
+ CONST char *key;
key = Blt_TreeKeyGet(interp, clientPtr->treeObject,arrayName);
valuePtr = GetTreeValue(interp, clientPtr, nodePtr, key);
@@ -3143,7 +3143,7 @@
Blt_HashTable *tablePtr;
Tcl_Obj *objPtr;
Value *valuePtr;
- char *key;
+ CONST char *key;
key = Blt_TreeKeyGet(interp, clientPtr->treeObject,arrayName);
if ( bltTreeGetValueByKey(interp, clientPtr, nodePtr, key, &valuePtr) != TCL_OK) {

View file

@ -0,0 +1,11 @@
--- generic/bltTree.h.orig 2013-11-18 17:19:46.000000000 +0100
+++ generic/bltTree.h 2013-11-18 17:23:01.000000000 +0100
@@ -40,7 +40,7 @@
typedef struct Blt_TreeTagEntryStruct Blt_TreeTagEntry;
typedef struct Blt_TreeTagTableStruct Blt_TreeTagTable;
-typedef char *Blt_TreeKey;
+typedef CONST char *Blt_TreeKey;
/* FindData->order flags. */
#define TREE_PREORDER (1<<0)

View file

@ -0,0 +1,150 @@
--- generic/bltTreeCmd.c.orig 2010-12-26 22:03:13.000000000 +0100
+++ generic/bltTreeCmd.c 2013-11-18 17:38:10.000000000 +0100
@@ -1544,8 +1544,8 @@
Tcl_DString *resultPtr,
int lastOnly)
{
- char **nameArr; /* Used to stack the component names. */
- char *staticSpace[64];
+ CONST char **nameArr; /* Used to stack the component names. */
+ CONST char *staticSpace[64];
register int i;
int nLevels;
@@ -2189,11 +2189,11 @@
}
static int
-ComparePatternList(Blt_List patternList, char *string, int nocase)
+ComparePatternList(Blt_List patternList, CONST char *string, int nocase)
{
Blt_ListNode node;
int result, type;
- char *pattern;
+ char *pattern, *s;
result = FALSE;
for (node = Blt_ListFirstNode(patternList); node != NULL;
@@ -2217,12 +2217,14 @@
case PATTERN_REGEXP:
if (nocase) {
- string = Blt_Strdup(string);
- strtolower(string);
+ s = Blt_Strdup(string);
+ strtolower(s);
+ } else {
+ s = (char *)string;
}
- result = (Tcl_RegExpMatch((Tcl_Interp *)NULL, string, pattern) == 1);
+ result = (Tcl_RegExpMatch((Tcl_Interp *)NULL, s, pattern) == 1);
if (nocase) {
- Blt_Free(string);
+ Blt_Free(s);
}
break;
}
@@ -2231,10 +2233,10 @@
}
static int
-ComparePattern(FindData *findData, char *string)
+ComparePattern(FindData *findData, CONST char *string)
{
int result, type, nocase;
- char *pattern;
+ char *pattern, *s;
int objc, i;
Tcl_Obj **objv, *obj;
@@ -2258,14 +2260,16 @@
case PATTERN_REGEXP:
if (nocase) {
- string = Blt_Strdup(string);
- strtolower(string);
+ s = Blt_Strdup(string);
+ strtolower(s);
+ } else {
+ s = (char *)string;
}
- obj = Tcl_NewStringObj(string, -1);
+ obj = Tcl_NewStringObj(s, -1);
result = (Tcl_RegExpMatchObj((Tcl_Interp *)NULL, obj, findData->name) == 1);
Tcl_DecrRefCount(obj);
if (nocase) {
- Blt_Free(string);
+ Blt_Free(s);
}
break;
case PATTERN_INLIST:
@@ -2316,7 +2320,7 @@
/* Append the widget name and the node .t 0 */
for (last = p = command; *p != '\0'; p++) {
if (*p == '%') {
- char *string;
+ CONST char *string;
char buf[3];
if (p > last) {
@@ -2454,7 +2458,7 @@
int result, invert, cntf;
unsigned int inode;
int strict, isnull;
- char *curValue = NULL;
+ CONST char *curValue = NULL;
Tcl_Obj *curObj = NULL, *resObjPtr = NULL;
isnull = ((dataPtr->flags&MATCH_ISNULL) != 0);
@@ -2532,7 +2536,7 @@
key != NULL; key = Blt_TreeNextKey(cmdPtr->tree, &cursor)) {
curObj = NULL;
- result = ComparePatternList(dataPtr->keyList, key, 0);
+ result = ComparePatternList(dataPtr->keyList, (char *)key, 0);
if (!result) {
continue;
}
@@ -2771,7 +2775,7 @@
break;
}
} else if (dataPtr->patternList != NULL) {
- char *string;
+ CONST char *string;
if (dataPtr->flags & MATCH_PATHNAME) {
string = GetNodePath(cmdPtr, Blt_TreeRootNode(cmdPtr->tree),
@@ -3340,7 +3344,7 @@
Blt_TreeNode parent) /* New parent for the copied node. */
{
Blt_TreeNode newNode; /* Newly created copy. */
- char *label;
+ CONST char *label;
int isNew = 0;
newNode = NULL;
@@ -7829,7 +7833,7 @@
CompareNodes(Blt_TreeNode *n1Ptr, Blt_TreeNode *n2Ptr)
{
TreeCmd *cmdPtr = sortData.cmdPtr;
- char *s1, *s2;
+ CONST char *s1, *s2;
int result;
Tcl_DString dString1, dString2;
@@ -8894,6 +8898,7 @@
* Obj Callback for sqlload.
*
*/
+#if 0
static int SqlCallbackObj(SqlData *sqlPtr, int argc, Tcl_Obj **objv, Tcl_Obj **azColName)
{
int i, j, rid, lid, n, tcid, vobjc, tobjc;
@@ -9122,6 +9127,7 @@
return 1;
}
#endif
+#endif
#ifndef OMIT_SQLITE3_LOAD
/* #include <sqlite3.h> */

View file

@ -0,0 +1,20 @@
--- generic/bltTreeView.c.orig 2013-11-07 18:13:38.000000000 +0100
+++ generic/bltTreeView.c 2013-11-07 18:14:17.000000000 +0100
@@ -2120,7 +2120,7 @@
}
}
tvPtr->flags |= (TV_LAYOUT | TV_DIRTY | TV_RESORT);
- Blt_ObjConfigModified(bltTreeViewEntrySpecs, tvPtr->interp, 0);
+ Blt_ObjConfigModified(bltTreeViewEntrySpecs, tvPtr->interp, (char *)NULL);
return TCL_OK;
}
@@ -4110,7 +4110,7 @@
(char *)NULL)) {
Blt_TreeViewUpdateColumnGCs(tvPtr, &tvPtr->treeColumn);
}
- Blt_ObjConfigModified(bltTreeViewSpecs, interp, 0);
+ Blt_ObjConfigModified(bltTreeViewSpecs, interp, (char *)NULL);
Blt_TreeViewEventuallyRedraw(tvPtr);
return TCL_OK;
}

View file

@ -0,0 +1,58 @@
--- generic/bltTreeViewColumn.c.orig 2013-11-07 18:15:33.000000000 +0100
+++ generic/bltTreeViewColumn.c 2013-11-07 18:16:38.000000000 +0100
@@ -1202,10 +1202,10 @@
Tcl_Interp *interp;
TreeViewColumn *columnPtr;
{
- if (Blt_ObjConfigModified(columnSpecs, interp, "-background", 0)) {
+ if (Blt_ObjConfigModified(columnSpecs, interp, "-background", (char *)NULL)) {
columnPtr->hasbg = 1;
}
- if (Blt_ObjConfigModified(columnSpecs, tvPtr->interp, "-titlebackground", 0)) {
+ if (Blt_ObjConfigModified(columnSpecs, tvPtr->interp, "-titlebackground", (char *)NULL)) {
columnPtr->hasttlbg = 1;
}
if (columnPtr->tile != NULL) {
@@ -1213,7 +1213,7 @@
}
if (columnPtr->stylePtr == NULL) {
}
- if (Blt_ObjConfigModified(columnSpecs, tvPtr->interp, "-justify", "-hide", "-weight", "-formatcmd", "-font", 0)) {
+ if (Blt_ObjConfigModified(columnSpecs, tvPtr->interp, "-justify", "-hide", "-weight", "-formatcmd", "-font", (char *)NULL)) {
Blt_TreeViewMakeStyleDirty(tvPtr);
}
}
@@ -1269,20 +1269,20 @@
DestroyColumn(tvPtr, columnPtr);
return TCL_ERROR;
}
- if (Blt_ObjConfigModified(columnSpecs, tvPtr->interp, "-background", 0)) {
+ if (Blt_ObjConfigModified(columnSpecs, tvPtr->interp, "-background", (char *)NULL)) {
columnPtr->hasbg = 1;
}
- if (Blt_ObjConfigModified(columnSpecs, tvPtr->interp, "-titlebackground", 0)) {
+ if (Blt_ObjConfigModified(columnSpecs, tvPtr->interp, "-titlebackground", (char *)NULL)) {
columnPtr->hasttlbg = 1;
}
if (columnPtr->tile != NULL) {
Blt_SetTileChangedProc(columnPtr->tile, Blt_TreeViewTileChangedProc, tvPtr);
}
- if (Blt_ObjConfigModified(columnSpecs, tvPtr->interp, "-*font", "-foreground", "-titleborderwidth", "-titlerelief", "-titleshadow", 0)) {
+ if (Blt_ObjConfigModified(columnSpecs, tvPtr->interp, "-*font", "-foreground", "-titleborderwidth", "-titlerelief", "-titleshadow", (char *)NULL)) {
Blt_TreeViewMakeStyleDirty(tvPtr);
}
ColumnConfigChanges(tvPtr, interp, columnPtr);
- Blt_ObjConfigModified(columnSpecs, tvPtr->interp, 0);
+ Blt_ObjConfigModified(columnSpecs, tvPtr->interp, (char *)NULL);
return TCL_OK;
}
@@ -1331,7 +1331,7 @@
DestroyColumn(tvPtr, columnPtr);
return NULL;
}
- if (Blt_ObjConfigModified(columnSpecs, tvPtr->interp, "-background", 0)) {
+ if (Blt_ObjConfigModified(columnSpecs, tvPtr->interp, "-background", (char *)NULL)) {
columnPtr->hasbg = 1;
}
if (columnPtr->tile != NULL) {

View file

@ -0,0 +1,20 @@
--- generic/bltUtil.c.orig 2010-09-18 00:07:43.000000000 +0200
+++ generic/bltUtil.c 2013-11-19 09:26:20.000000000 +0100
@@ -345,7 +345,7 @@
#if HAVE_UTF
int
Blt_DictionaryCompare(left, right)
- char *left, *right;
+ CONST char *left, *right;
{
Tcl_UniChar uniLeft, uniRight, uniLeftLower, uniRightLower;
int diff, zeros;
@@ -643,7 +643,7 @@
#undef fopen
FILE *
Blt_OpenUtfFile(fileName, mode)
- char *fileName, *mode;
+ CONST char *fileName, *mode;
{
Tcl_DString dString;
FILE *f;

View file

@ -0,0 +1,35 @@
--- generic/bltVecMath.c.orig 2013-10-30 11:53:29.000000000 +0100
+++ generic/bltVecMath.c 2013-10-30 11:54:56.000000000 +0100
@@ -834,20 +834,20 @@
if ((errno == EDOM) || (value != value)) {
Tcl_AppendResult(interp, "domain error: argument not in valid range",
(char *)NULL);
- Tcl_SetErrorCode(interp, "ARITH", "DOMAIN", interp->result,
+ Tcl_SetErrorCode(interp, "ARITH", "DOMAIN", Tcl_GetStringResult(interp),
(char *)NULL);
} else if ((errno == ERANGE) || IS_INF(value)) {
if (value == 0.0) {
Tcl_AppendResult(interp,
"floating-point value too small to represent",
(char *)NULL);
- Tcl_SetErrorCode(interp, "ARITH", "UNDERFLOW", interp->result,
+ Tcl_SetErrorCode(interp, "ARITH", "UNDERFLOW", Tcl_GetStringResult(interp),
(char *)NULL);
} else {
Tcl_AppendResult(interp,
"floating-point value too large to represent",
(char *)NULL);
- Tcl_SetErrorCode(interp, "ARITH", "OVERFLOW", interp->result,
+ Tcl_SetErrorCode(interp, "ARITH", "OVERFLOW", Tcl_GetStringResult(interp),
(char *)NULL);
}
} else {
@@ -856,7 +856,7 @@
sprintf(buf, "%d", errno);
Tcl_AppendResult(interp, "unknown floating-point error, ",
"errno = ", buf, (char *)NULL);
- Tcl_SetErrorCode(interp, "ARITH", "UNKNOWN", interp->result,
+ Tcl_SetErrorCode(interp, "ARITH", "UNKNOWN", Tcl_GetStringResult(interp),
(char *)NULL);
}
}

View file

@ -0,0 +1,11 @@
--- generic/bltVector.c.orig 2013-11-18 17:38:24.000000000 +0100
+++ generic/bltVector.c 2013-11-18 17:38:39.000000000 +0100
@@ -370,7 +370,7 @@
*indexPtr = (int)value;
cleanup:
if (string != zStatic) {
- Blt_Free( string );
+ Blt_Free( (void *)string );
}
return result;
}

View file

@ -0,0 +1,25 @@
--- generic/tkButton.c.orig 2013-10-30 12:11:35.000000000 +0100
+++ generic/tkButton.c 2013-10-30 12:15:13.000000000 +0100
@@ -864,8 +864,6 @@
static Blt_TileChangedProc TileChangedProc;
static Tcl_CmdProc ButtonCmd, LabelCmd, CheckbuttonCmd, RadiobuttonCmd;
-EXTERN int TkCopyAndGlobalEval _ANSI_ARGS_((Tcl_Interp *interp, char *script));
-
#if (TK_MAJOR_VERSION > 4)
EXTERN void TkComputeAnchor _ANSI_ARGS_((Tk_Anchor anchor, Tk_Window tkwin,
int padX, int padY, int innerWidth, int innerHeight, int *xPtr,
@@ -3292,7 +3290,12 @@
}
}
if ((butPtr->type > TYPE_LABEL) && (butPtr->command != NULL)) {
- return TkCopyAndGlobalEval(butPtr->interp, butPtr->command);
+ Tcl_DString buf;
+ Tcl_DStringInit(&buf);
+ Tcl_DStringAppend(&buf, butPtr->command, -1);
+ int code = Tcl_EvalEx(butPtr->interp, Tcl_DStringValue(&buf), Tcl_DStringLength(&buf), TCL_EVAL_GLOBAL);
+ Tcl_DStringFree(&buf);
+ return code;
}
return TCL_OK;
}

View file

@ -0,0 +1,13 @@
--- library/init.tcl.orig 2013-10-30 14:24:31.000000000 +0100
+++ library/init.tcl 2013-10-30 14:25:34.000000000 +0100
@@ -8,7 +8,8 @@
}
}
- initializeLibrary
-
+ if {[info command tk] eq {tk}} {
+ initializeLibrary
+ }
}

View file

@ -1,186 +0,0 @@
--- src/bltNsUtil.h 2002-07-18 02:35:32.000000000 -0400
+++ src/bltNsUtil.h 2010-01-16 11:39:20.000000000 -0500
@@ -47,7 +47,8 @@
#endif
-
+#if TCL_MAJOR_VERSION < 8 || TCL_MINOR_VERSION < 5
EXTERN Tcl_Command Tcl_FindCommand _ANSI_ARGS_((Tcl_Interp *interp,
char *name, Tcl_Namespace *nsPtr, int flags));
+#endif
#define NS_SEARCH_NONE (0)
@@ -64,15 +65,19 @@
EXTERN Tcl_Namespace *Tcl_GetGlobalNamespace _ANSI_ARGS_((Tcl_Interp *interp));
-#if (TCL_MAJOR_VERSION >= 8)
+#if TCL_MAJOR_VERSION == 8
+# if TCL_MINOR_VERSION < 5
EXTERN Tcl_Namespace *Tcl_CreateNamespace _ANSI_ARGS_((Tcl_Interp *interp,
- char *name, ClientData clientData, Tcl_NamespaceDeleteProc *nsDelProc));
-
-EXTERN void Tcl_DeleteNamespace _ANSI_ARGS_((Tcl_Namespace *nsPtr));
+ const char *name, ClientData clientData,
+ Tcl_NamespaceDeleteProc *nsDelProc));
EXTERN Tcl_Namespace *Tcl_FindNamespace _ANSI_ARGS_((Tcl_Interp *interp,
- char *name, Tcl_Namespace *context, int flags));
+ const char *name, Tcl_Namespace *context, int flags));
+
+EXTERN int Tcl_Export _ANSI_ARGS_((Tcl_Interp *interp,
+ Tcl_Namespace *nsPtr,
+ const char *pattern, int resetFlag));
+# endif
-EXTERN int Tcl_Export _ANSI_ARGS_((Tcl_Interp *interp, Tcl_Namespace *nsPtr,
- char *name, int resetFlag));
+EXTERN void Tcl_DeleteNamespace _ANSI_ARGS_((Tcl_Namespace *nsPtr));
EXTERN Tcl_Var Tcl_FindNamespaceVar _ANSI_ARGS_((Tcl_Interp *interp, char *name,
@@ -87,5 +92,5 @@
Tcl_Interp *interp, CONST char *varName, int flags));
-#endif /* TCL_MAJOR_VERSION >= 8 */
+#endif /* TCL_MAJOR_VERSION == 8 */
--- src/bltCanvEps.c 2002-08-15 01:22:10.000000000 -0400
+++ src/bltCanvEps.c 2010-01-16 23:36:39.000000000 -0500
@@ -324,5 +324,5 @@
int width, int height, int imgWidth, int imgHeight));
static int EpsCoords _ANSI_ARGS_((Tcl_Interp *interp, Tk_Canvas canvas,
- Tk_Item * itemPtr, int argc, char **argv));
+ Tk_Item * itemPtr, int argc, Tcl_Obj * const objv[]));
static int EpsToArea _ANSI_ARGS_((Tk_Canvas canvas, Tk_Item * itemPtr,
double *rectPtr));
@@ -331,7 +331,7 @@
static void ComputeEpsBbox _ANSI_ARGS_((Tk_Canvas canvas, EpsItem *imgPtr));
static int ConfigureEps _ANSI_ARGS_((Tcl_Interp *interp, Tk_Canvas canvas,
- Tk_Item * itemPtr, int argc, char **argv, int flags));
+ Tk_Item * itemPtr, int argc, Tcl_Obj * const objv[], int flags));
static int CreateEps _ANSI_ARGS_((Tcl_Interp *interp, Tk_Canvas canvas,
- struct Tk_Item * itemPtr, int argc, char **argv));
+ struct Tk_Item * itemPtr, int argc, Tcl_Obj * const objv[]));
static void DeleteEps _ANSI_ARGS_((Tk_Canvas canvas, Tk_Item * itemPtr,
Display *display));
@@ -916,5 +916,5 @@
*/
static int
-CreateEps(interp, canvas, itemPtr, argc, argv)
+CreateEps(interp, canvas, itemPtr, argc, objv)
Tcl_Interp *interp; /* Interpreter for error reporting. */
Tk_Canvas canvas; /* Canvas to hold new item. */
@@ -922,5 +922,5 @@
* has been initialized by caller. */
int argc; /* Number of arguments in argv. */
- char **argv; /* Arguments describing rectangle. */
+ Tcl_Obj * const objv[]; /* Arguments describing rectangle. */
{
EpsItem *epsPtr = (EpsItem *)itemPtr;
@@ -972,10 +972,9 @@
* Process the arguments to fill in the item record.
*/
-
- if ((Tk_CanvasGetCoord(interp, canvas, argv[0], &(epsPtr->x)) != TCL_OK) ||
- (Tk_CanvasGetCoord(interp, canvas, argv[1], &(epsPtr->y)) != TCL_OK)) {
+ if ((Tk_CanvasGetCoord(interp, canvas, Tcl_GetString(objv[0]), &(epsPtr->x)) != TCL_OK) ||
+ (Tk_CanvasGetCoord(interp, canvas, Tcl_GetString(objv[1]), &(epsPtr->y)) != TCL_OK)) {
return TCL_ERROR;
}
- if (ConfigureEps(interp, canvas, itemPtr, argc - 2, argv + 2, 0)
+ if (ConfigureEps(interp, canvas, itemPtr, argc - 2, objv + 2, 0)
!= TCL_OK) {
DeleteEps(canvas, itemPtr, Tk_Display(tkwin));
@@ -1039,10 +1038,10 @@
*/
static int
-ConfigureEps(interp, canvas, itemPtr, argc, argv, flags)
+ConfigureEps(interp, canvas, itemPtr, argc, objv, flags)
Tcl_Interp *interp; /* Used for error reporting. */
Tk_Canvas canvas; /* Canvas containing itemPtr. */
Tk_Item *itemPtr; /* EPS item to reconfigure. */
int argc; /* Number of elements in argv. */
- char **argv; /* Arguments describing things to configure. */
+ Tcl_Obj * const objv[]; /* Arguments describing things to configure. */
int flags; /* Flags to pass to Tk_ConfigureWidget. */
{
@@ -1053,4 +1052,9 @@
GC newGC;
int width, height;
+ char *argv[argc];
+ int i;
+
+ for (i = 0; i < argc; i++)
+ argv[i] = Tcl_GetString(objv[i]);
tkwin = Tk_CanvasTkwin(canvas);
@@ -1193,5 +1197,5 @@
*/
static int
-EpsCoords(interp, canvas, itemPtr, argc, argv)
+EpsCoords(interp, canvas, itemPtr, argc, objv)
Tcl_Interp *interp; /* Used for error reporting. */
Tk_Canvas canvas; /* Canvas containing item. */
@@ -1200,5 +1204,5 @@
int argc; /* Number of coordinates supplied in
* argv. */
- char **argv; /* Array of coordinates: x1, y1,
+ Tcl_Obj * const objv[]; /* Array of coordinates: x1, y1,
* x2, y2, ... */
{
@@ -1213,6 +1217,6 @@
double x, y; /* Don't overwrite old coordinates on errors */
- if ((Tk_CanvasGetCoord(interp, canvas, argv[0], &x) != TCL_OK) ||
- (Tk_CanvasGetCoord(interp, canvas, argv[1], &y) != TCL_OK)) {
+ if ((Tk_CanvasGetCoord(interp, canvas, Tcl_GetString(objv[0]), &x) != TCL_OK) ||
+ (Tk_CanvasGetCoord(interp, canvas, Tcl_GetString(objv[1]), &y) != TCL_OK)) {
return TCL_ERROR;
}
@@ -1714,5 +1718,5 @@
Tk_CreateItemType(&epsItemType);
/* Initialize custom canvas option routines. */
- tagsOption.parseProc = Tk_CanvasTagsParseProc;
+ tagsOption.parseProc = (Tk_OptionParseProc *)Tk_CanvasTagsParseProc;
tagsOption.printProc = Tk_CanvasTagsPrintProc;
}
The problem, that these two hunks seem to solve is mentioned by other
people, but no solution is offered anywhere.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=524149#44
These hunks do seem to fix things, but don't seem right anyway...
--- src/bltHtext.c 2002-07-17 05:56:00.000000000 -0400
+++ src/bltHtext.c 2010-01-23 23:42:09.000000000 -0500
@@ -3348,5 +3348,5 @@
* the text.
*/
- if ((htPtr->first != oldFirst) || (htPtr->last != oldLast)) {
+ if (htPtr->lineArr && ((htPtr->first != oldFirst) || (htPtr->last != oldLast))) {
int offset;
int i;
@@ -3377,5 +3377,6 @@
}
}
- DrawPage(htPtr, deltaY);
+ if (htPtr->lineArr)
+ DrawPage(htPtr, deltaY);
SendBogusEvent(tkwin);
The patch below is obtained from RedHat
https://bugzilla.redhat.com/show_bug.cgi?id=504388
When the problem in Tk-8.5 is fixed, the below work-around
can be removed from BLT.
--- src/bltText.c 2002-08-13 15:45:20.000000000 -0400
+++ src/bltText.c 2010-01-23 20:35:29.000000000 -0500
@@ -49,5 +49,5 @@
fragPtr = textPtr->fragArr;
for (i = 0; i < textPtr->nFrags; i++, fragPtr++) {
-#if HAVE_UTF
+#if HAVE_UTF && (TCL_VERSION_NUMBER < _VERSION(8,5,0))
Tk_DrawChars(display, drawable, gc, font, fragPtr->text,
fragPtr->count, x + fragPtr->x, y + fragPtr->y);

View file

@ -1,38 +0,0 @@
--- src/Makefile.in 2002-07-15 05:31:29.000000000 -0400
+++ src/Makefile.in 2010-01-24 14:08:54.000000000 -0500
@@ -182,7 +182,7 @@
$(tcl_only_lib_a): $(TCL_ONLY_OBJS) $(srcdir)/bltInit.c
$(CC) -c $(CC_SWITCHES) -DTCL_ONLY -DBLT_LIBRARY=\"$(BLT_LIBRARY)\" \
- $(srcdir)/bltInit.c
+ $(srcdir)/bltInit.c -o bltInitTclOnly.o
$(RM) $@
- $(AR) $@ $(TCL_ONLY_OBJS) bltInit.o
+ $(AR) $@ $(TCL_ONLY_OBJS) bltInitTclOnly.o
$(RANLIB) $@
@@ -225,5 +225,5 @@
clean:
- $(RM) $(OBJS) bltInit.o $(lib_a) $(tcl_only_lib_a) \
+ $(RM) $(OBJS) bltInit.o bltInitTclOnly.o $(lib_a) $(tcl_only_lib_a) \
$(bltsh)* $(bltwish)* *pure* .pure*
(cd shared; $(MAKE) clean)
--- src/shared/Makefile.in 2002-05-14 17:37:19.000000000 -0400
+++ src/shared/Makefile.in 2010-01-24 14:10:10.000000000 -0500
@@ -150,7 +150,7 @@
$(tcl_only_lib_so): $(TCL_ONLY_OBJS)
$(CC) -c $(CC_SWITCHES) -DTCL_ONLY -DBLT_LIBRARY=\"$(scriptdir)\" \
- $(srcdir)/bltInit.c
+ $(srcdir)/bltInit.c -o bltInitTclOnly.o
$(RM) $@
- $(SHLIB_LD) $(SHLIB_LD_FLAGS) -o $@ bltInit.o $(TCL_ONLY_OBJS) \
+ $(SHLIB_LD) $(SHLIB_LD_FLAGS) -o $@ bltInitTclOnly.o $(TCL_ONLY_OBJS) \
$(SHLIB_TCL_ONLY_LIB_SPECS)
@@ -176,5 +176,5 @@
clean:
$(RM) $(OBJS) $(lib_so) $(tcl_only_lib_so) $(bltwish) $(bltsh) \
- *pure* .pure*
+ *pure* .pure* bltInit.o bltInitTclOnly.o
distclean: clean

View file

@ -1,12 +0,0 @@
diff -Naur src/shared/Makefile.in.orig src/shared/Makefile.in
--- src/shared/Makefile.in.orig 2006-04-13 19:48:50.571196310 -0700
+++ src/shared/Makefile.in 2006-04-13 19:52:04.734265733 -0700
@@ -14,7 +14,7 @@
EXTRA_CFLAGS = @GCCFLAGS@ @SHLIB_CFLAGS@
DEFINES = @DEFINES@
DEF_BLTINIT = -DBLT_LIBRARY=\"$(scriptdir)\"
-SHLIB_LD_FLAGS = @SHLIB_LD_FLAGS@ @LD_RUN_PATH@
+SHLIB_LD_FLAGS = @SHLIB_LD_FLAGS@ @LD_RUN_PATH@ @LIB_SPECS@
SHLIB_TCL_ONLY_LIB_SPECS = @SHLIB_TCL_ONLY_LIB_SPECS@
SHLIB_LIB_SPECS = @SHLIB_LIB_SPECS@
SHLIB_LD = @SHLIB_LD@

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -2,5 +2,4 @@ The BLT Toolkit is an extension to Tcl and Tk. It adds new commands
and widgets to the Tcl interpreter. Included widgets are 2D graph,
barchart, stripchart, tab notebook, and tree viewer.
NOTE: This kit requires as a pre-requisite the Tcl and Tk binary kits.
This version uses FreeBSD shared libraries.
WWW: http://pdqi.com/w/pw/pdqi/Wize/Wize

View file

@ -1,177 +1,180 @@
bin/bltsh
bin/bltsh24
lib/libBLT%%BLTSHORTVER%%.a
lib/libBLT%%BLTSHORTVER%%.so
lib/libBLTlite%%BLTSHORTVER%%.so
lib/libBLT.a
lib/libBLTlite.a
lib/libBLTlite%%BLTSHORTVER%%.a
bin/bltwish%%BLTSHORTVER%%
bin/bltsh%%BLTSHORTVER%%
bin/bltwish
bin/bltwish24
bin/bltsh
include/blt.h
include/bltBind.h
include/bltChain.h
include/bltDecls.h
include/bltHash.h
include/bltList.h
include/bltPool.h
include/bltTree.h
include/bltVector.h
lib/blt2.4/bltCanvEps.pro
lib/blt2.4/bltGraph.pro
lib/blt2.4/dd_protocols/dd-color.tcl
lib/blt2.4/dd_protocols/dd-file.tcl
lib/blt2.4/dd_protocols/dd-number.tcl
lib/blt2.4/dd_protocols/dd-text.tcl
lib/blt2.4/dd_protocols/tclIndex
lib/blt2.4/demos/barchart1.tcl
lib/blt2.4/demos/barchart2.tcl
lib/blt2.4/demos/barchart3.tcl
lib/blt2.4/demos/barchart4.tcl
lib/blt2.4/demos/barchart5.tcl
lib/blt2.4/demos/bgexec1.tcl
lib/blt2.4/demos/bgexec2.tcl
lib/blt2.4/demos/bgexec3.tcl
lib/blt2.4/demos/bgexec4.tcl
lib/blt2.4/demos/bitmap.tcl
lib/blt2.4/demos/bitmaps/face.xbm
lib/blt2.4/demos/bitmaps/fish/left.xbm
lib/blt2.4/demos/bitmaps/fish/left1.xbm
lib/blt2.4/demos/bitmaps/fish/left1m.xbm
lib/blt2.4/demos/bitmaps/fish/leftm.xbm
lib/blt2.4/demos/bitmaps/fish/mid.xbm
lib/blt2.4/demos/bitmaps/fish/midm.xbm
lib/blt2.4/demos/bitmaps/fish/right.xbm
lib/blt2.4/demos/bitmaps/fish/right1.xbm
lib/blt2.4/demos/bitmaps/fish/right1m.xbm
lib/blt2.4/demos/bitmaps/fish/rightm.xbm
lib/blt2.4/demos/bitmaps/greenback.xbm
lib/blt2.4/demos/bitmaps/hand/hand01.xbm
lib/blt2.4/demos/bitmaps/hand/hand01m.xbm
lib/blt2.4/demos/bitmaps/hand/hand02.xbm
lib/blt2.4/demos/bitmaps/hand/hand02m.xbm
lib/blt2.4/demos/bitmaps/hand/hand03.xbm
lib/blt2.4/demos/bitmaps/hand/hand03m.xbm
lib/blt2.4/demos/bitmaps/hand/hand04.xbm
lib/blt2.4/demos/bitmaps/hand/hand04m.xbm
lib/blt2.4/demos/bitmaps/hand/hand05.xbm
lib/blt2.4/demos/bitmaps/hand/hand05m.xbm
lib/blt2.4/demos/bitmaps/hand/hand06.xbm
lib/blt2.4/demos/bitmaps/hand/hand06m.xbm
lib/blt2.4/demos/bitmaps/hand/hand07.xbm
lib/blt2.4/demos/bitmaps/hand/hand07m.xbm
lib/blt2.4/demos/bitmaps/hand/hand08.xbm
lib/blt2.4/demos/bitmaps/hand/hand08m.xbm
lib/blt2.4/demos/bitmaps/hand/hand09.xbm
lib/blt2.4/demos/bitmaps/hand/hand09m.xbm
lib/blt2.4/demos/bitmaps/hand/hand10.xbm
lib/blt2.4/demos/bitmaps/hand/hand10m.xbm
lib/blt2.4/demos/bitmaps/hand/hand11.xbm
lib/blt2.4/demos/bitmaps/hand/hand11m.xbm
lib/blt2.4/demos/bitmaps/hand/hand12.xbm
lib/blt2.4/demos/bitmaps/hand/hand12m.xbm
lib/blt2.4/demos/bitmaps/hand/hand13.xbm
lib/blt2.4/demos/bitmaps/hand/hand13m.xbm
lib/blt2.4/demos/bitmaps/hand/hand14.xbm
lib/blt2.4/demos/bitmaps/hand/hand14m.xbm
lib/blt2.4/demos/bitmaps/hobbes.xbm
lib/blt2.4/demos/bitmaps/hobbes_mask.xbm
lib/blt2.4/demos/bitmaps/sharky.xbm
lib/blt2.4/demos/bitmaps/xbob.xbm
lib/blt2.4/demos/busy1.tcl
lib/blt2.4/demos/busy2.tcl
lib/blt2.4/demos/dnd1.tcl
lib/blt2.4/demos/dnd2.tcl
lib/blt2.4/demos/dragdrop1.tcl
lib/blt2.4/demos/dragdrop2.tcl
lib/blt2.4/demos/eps.tcl
lib/blt2.4/demos/graph1.tcl
lib/blt2.4/demos/graph2.tcl
lib/blt2.4/demos/graph3.tcl
lib/blt2.4/demos/graph4.tcl
lib/blt2.4/demos/graph5.tcl
lib/blt2.4/demos/graph6.tcl
lib/blt2.4/demos/graph7.tcl
lib/blt2.4/demos/hierbox1.tcl
lib/blt2.4/demos/hierbox2.tcl
lib/blt2.4/demos/hierbox3.tcl
lib/blt2.4/demos/hierbox4.tcl
lib/blt2.4/demos/hiertable1.tcl
lib/blt2.4/demos/hiertable2.tcl
lib/blt2.4/demos/htext.txt
lib/blt2.4/demos/htext1.tcl
lib/blt2.4/demos/images/blt98.gif
lib/blt2.4/demos/images/buckskin.gif
lib/blt2.4/demos/images/chalk.gif
lib/blt2.4/demos/images/close.gif
lib/blt2.4/demos/images/close2.gif
lib/blt2.4/demos/images/clouds.gif
lib/blt2.4/demos/images/corrugated_metal.gif
lib/blt2.4/demos/images/folder.gif
lib/blt2.4/demos/images/mini-book1.gif
lib/blt2.4/demos/images/mini-book2.gif
lib/blt2.4/demos/images/mini-display.gif
lib/blt2.4/demos/images/mini-doc.gif
lib/blt2.4/demos/images/mini-filemgr.gif
lib/blt2.4/demos/images/mini-ofolder.gif
lib/blt2.4/demos/images/mini-windows.gif
lib/blt2.4/demos/images/ofolder.gif
lib/blt2.4/demos/images/open.gif
lib/blt2.4/demos/images/open2.gif
lib/blt2.4/demos/images/out.ps
lib/blt2.4/demos/images/qv100.t.gif
lib/blt2.4/demos/images/rain.gif
lib/blt2.4/demos/images/sample.gif
lib/blt2.4/demos/images/smblue_rock.gif
lib/blt2.4/demos/images/stopsign.gif
lib/blt2.4/demos/images/tan_paper.gif
lib/blt2.4/demos/images/tan_paper2.gif
lib/blt2.4/demos/images/txtrflag.gif
lib/blt2.4/demos/scripts/barchart2.tcl
lib/blt2.4/demos/scripts/bgtest.tcl
lib/blt2.4/demos/scripts/clone.tcl
lib/blt2.4/demos/scripts/demo.tcl
lib/blt2.4/demos/scripts/globe.tcl
lib/blt2.4/demos/scripts/graph1.tcl
lib/blt2.4/demos/scripts/graph2.tcl
lib/blt2.4/demos/scripts/graph3.tcl
lib/blt2.4/demos/scripts/graph5.tcl
lib/blt2.4/demos/scripts/graph8.tcl
lib/blt2.4/demos/scripts/page.tcl
lib/blt2.4/demos/scripts/patterns.tcl
lib/blt2.4/demos/scripts/ps.tcl
lib/blt2.4/demos/scripts/send.tcl
lib/blt2.4/demos/scripts/stipples.tcl
lib/blt2.4/demos/scripts/xcolors.tcl
lib/blt2.4/demos/spline.tcl
lib/blt2.4/demos/stripchart1.tcl
lib/blt2.4/demos/tabnotebook1.tcl
lib/blt2.4/demos/tabnotebook2.tcl
lib/blt2.4/demos/tabnotebook3.tcl
lib/blt2.4/demos/tabset1.tcl
lib/blt2.4/demos/tabset2.tcl
lib/blt2.4/demos/tabset3.tcl
lib/blt2.4/demos/tabset4.tcl
lib/blt2.4/demos/treeview1.tcl
lib/blt2.4/demos/winop1.tcl
lib/blt2.4/demos/winop2.tcl
lib/blt2.4/dnd.tcl
lib/blt2.4/dragdrop.tcl
lib/blt2.4/graph.tcl
lib/blt2.4/hierbox.tcl
lib/blt2.4/pkgIndex.tcl
lib/blt2.4/tabnotebook.tcl
lib/blt2.4/tabset.tcl
lib/blt2.4/tclIndex
lib/blt2.4/treeview.tcl
lib/blt2.4/treeview.xbm
lib/blt2.4/treeview_m.xbm
lib/libBLT.a
lib/libBLT24.a
lib/libBLT24.so
lib/libBLT24.so.3
lib/libBLTlite.a
lib/libBLTlite24.a
lib/libBLTlite24.so
lib/libBLTlite24.so.3
@dirrm lib/blt2.4/demos/scripts
@dirrm lib/blt2.4/demos/images
@dirrm lib/blt2.4/demos/bitmaps/hand
@dirrm lib/blt2.4/demos/bitmaps/fish
@dirrm lib/blt2.4/demos/bitmaps
@dirrm lib/blt2.4/demos
@dirrm lib/blt2.4/dd_protocols
@dirrm lib/blt2.4
lib/blt%%BLTVER%%/bltCanvEps.pro
lib/blt%%BLTVER%%/bltGraph.pro
lib/blt%%BLTVER%%/dd_protocols/dd-color.tcl
lib/blt%%BLTVER%%/dd_protocols/dd-file.tcl
lib/blt%%BLTVER%%/dd_protocols/dd-number.tcl
lib/blt%%BLTVER%%/dd_protocols/dd-text.tcl
lib/blt%%BLTVER%%/dd_protocols/tclIndex
lib/blt%%BLTVER%%/demos/barchart1.tcl
lib/blt%%BLTVER%%/demos/barchart2.tcl
lib/blt%%BLTVER%%/demos/barchart3.tcl
lib/blt%%BLTVER%%/demos/barchart4.tcl
lib/blt%%BLTVER%%/demos/barchart5.tcl
lib/blt%%BLTVER%%/demos/bgexec1.tcl
lib/blt%%BLTVER%%/demos/bgexec2.tcl
lib/blt%%BLTVER%%/demos/bgexec3.tcl
lib/blt%%BLTVER%%/demos/bgexec4.tcl
lib/blt%%BLTVER%%/demos/bitmap.tcl
lib/blt%%BLTVER%%/demos/bitmaps/face.xbm
lib/blt%%BLTVER%%/demos/bitmaps/fish/left.xbm
lib/blt%%BLTVER%%/demos/bitmaps/fish/left1.xbm
lib/blt%%BLTVER%%/demos/bitmaps/fish/left1m.xbm
lib/blt%%BLTVER%%/demos/bitmaps/fish/leftm.xbm
lib/blt%%BLTVER%%/demos/bitmaps/fish/mid.xbm
lib/blt%%BLTVER%%/demos/bitmaps/fish/midm.xbm
lib/blt%%BLTVER%%/demos/bitmaps/fish/right.xbm
lib/blt%%BLTVER%%/demos/bitmaps/fish/right1.xbm
lib/blt%%BLTVER%%/demos/bitmaps/fish/right1m.xbm
lib/blt%%BLTVER%%/demos/bitmaps/fish/rightm.xbm
lib/blt%%BLTVER%%/demos/bitmaps/greenback.xbm
lib/blt%%BLTVER%%/demos/bitmaps/hand/hand01.xbm
lib/blt%%BLTVER%%/demos/bitmaps/hand/hand01m.xbm
lib/blt%%BLTVER%%/demos/bitmaps/hand/hand02.xbm
lib/blt%%BLTVER%%/demos/bitmaps/hand/hand02m.xbm
lib/blt%%BLTVER%%/demos/bitmaps/hand/hand03.xbm
lib/blt%%BLTVER%%/demos/bitmaps/hand/hand03m.xbm
lib/blt%%BLTVER%%/demos/bitmaps/hand/hand04.xbm
lib/blt%%BLTVER%%/demos/bitmaps/hand/hand04m.xbm
lib/blt%%BLTVER%%/demos/bitmaps/hand/hand05.xbm
lib/blt%%BLTVER%%/demos/bitmaps/hand/hand05m.xbm
lib/blt%%BLTVER%%/demos/bitmaps/hand/hand06.xbm
lib/blt%%BLTVER%%/demos/bitmaps/hand/hand06m.xbm
lib/blt%%BLTVER%%/demos/bitmaps/hand/hand07.xbm
lib/blt%%BLTVER%%/demos/bitmaps/hand/hand07m.xbm
lib/blt%%BLTVER%%/demos/bitmaps/hand/hand08.xbm
lib/blt%%BLTVER%%/demos/bitmaps/hand/hand08m.xbm
lib/blt%%BLTVER%%/demos/bitmaps/hand/hand09.xbm
lib/blt%%BLTVER%%/demos/bitmaps/hand/hand09m.xbm
lib/blt%%BLTVER%%/demos/bitmaps/hand/hand10.xbm
lib/blt%%BLTVER%%/demos/bitmaps/hand/hand10m.xbm
lib/blt%%BLTVER%%/demos/bitmaps/hand/hand11.xbm
lib/blt%%BLTVER%%/demos/bitmaps/hand/hand11m.xbm
lib/blt%%BLTVER%%/demos/bitmaps/hand/hand12.xbm
lib/blt%%BLTVER%%/demos/bitmaps/hand/hand12m.xbm
lib/blt%%BLTVER%%/demos/bitmaps/hand/hand13.xbm
lib/blt%%BLTVER%%/demos/bitmaps/hand/hand13m.xbm
lib/blt%%BLTVER%%/demos/bitmaps/hand/hand14.xbm
lib/blt%%BLTVER%%/demos/bitmaps/hand/hand14m.xbm
lib/blt%%BLTVER%%/demos/bitmaps/hobbes.xbm
lib/blt%%BLTVER%%/demos/bitmaps/hobbes_mask.xbm
lib/blt%%BLTVER%%/demos/bitmaps/sharky.xbm
lib/blt%%BLTVER%%/demos/bitmaps/xbob.xbm
lib/blt%%BLTVER%%/demos/busy1.tcl
lib/blt%%BLTVER%%/demos/busy2.tcl
lib/blt%%BLTVER%%/demos/dnd1.tcl
lib/blt%%BLTVER%%/demos/dnd2.tcl
lib/blt%%BLTVER%%/demos/dragdrop1.tcl
lib/blt%%BLTVER%%/demos/dragdrop2.tcl
lib/blt%%BLTVER%%/demos/eps.tcl
lib/blt%%BLTVER%%/demos/graph1.tcl
lib/blt%%BLTVER%%/demos/graph2.tcl
lib/blt%%BLTVER%%/demos/graph3.tcl
lib/blt%%BLTVER%%/demos/graph4.tcl
lib/blt%%BLTVER%%/demos/graph5.tcl
lib/blt%%BLTVER%%/demos/graph6.tcl
lib/blt%%BLTVER%%/demos/graph7.tcl
lib/blt%%BLTVER%%/demos/hierbox1.tcl
lib/blt%%BLTVER%%/demos/hierbox2.tcl
lib/blt%%BLTVER%%/demos/hierbox3.tcl
lib/blt%%BLTVER%%/demos/hierbox4.tcl
lib/blt%%BLTVER%%/demos/hiertable1.tcl
lib/blt%%BLTVER%%/demos/hiertable2.tcl
lib/blt%%BLTVER%%/demos/htext.txt
lib/blt%%BLTVER%%/demos/htext1.tcl
lib/blt%%BLTVER%%/demos/images/blt98.gif
lib/blt%%BLTVER%%/demos/images/buckskin.gif
lib/blt%%BLTVER%%/demos/images/chalk.gif
lib/blt%%BLTVER%%/demos/images/close.gif
lib/blt%%BLTVER%%/demos/images/close2.gif
lib/blt%%BLTVER%%/demos/images/clouds.gif
lib/blt%%BLTVER%%/demos/images/corrugated_metal.gif
lib/blt%%BLTVER%%/demos/images/folder.gif
lib/blt%%BLTVER%%/demos/images/folder_blue.gif
lib/blt%%BLTVER%%/demos/images/folder_blue_open.gif
lib/blt%%BLTVER%%/demos/images/mini-book1.gif
lib/blt%%BLTVER%%/demos/images/mini-book2.gif
lib/blt%%BLTVER%%/demos/images/mini-display.gif
lib/blt%%BLTVER%%/demos/images/mini-doc.gif
lib/blt%%BLTVER%%/demos/images/mini-filemgr.gif
lib/blt%%BLTVER%%/demos/images/mini-ofolder.gif
lib/blt%%BLTVER%%/demos/images/mini-windows.gif
lib/blt%%BLTVER%%/demos/images/ofolder.gif
lib/blt%%BLTVER%%/demos/images/open.gif
lib/blt%%BLTVER%%/demos/images/open2.gif
lib/blt%%BLTVER%%/demos/images/out.ps
lib/blt%%BLTVER%%/demos/images/qv100.t.gif
lib/blt%%BLTVER%%/demos/images/rain.gif
lib/blt%%BLTVER%%/demos/images/sample.gif
lib/blt%%BLTVER%%/demos/images/smblue_rock.gif
lib/blt%%BLTVER%%/demos/images/stopsign.gif
lib/blt%%BLTVER%%/demos/images/tan_paper.gif
lib/blt%%BLTVER%%/demos/images/tan_paper2.gif
lib/blt%%BLTVER%%/demos/images/txtrflag.gif
lib/blt%%BLTVER%%/demos/scripts/barchart2.tcl
lib/blt%%BLTVER%%/demos/scripts/bgtest.tcl
lib/blt%%BLTVER%%/demos/scripts/clone.tcl
lib/blt%%BLTVER%%/demos/scripts/demo.tcl
lib/blt%%BLTVER%%/demos/scripts/globe.tcl
lib/blt%%BLTVER%%/demos/scripts/graph1.tcl
lib/blt%%BLTVER%%/demos/scripts/graph2.tcl
lib/blt%%BLTVER%%/demos/scripts/graph3.tcl
lib/blt%%BLTVER%%/demos/scripts/graph5.tcl
lib/blt%%BLTVER%%/demos/scripts/graph8.tcl
lib/blt%%BLTVER%%/demos/scripts/page.tcl
lib/blt%%BLTVER%%/demos/scripts/patterns.tcl
lib/blt%%BLTVER%%/demos/scripts/ps.tcl
lib/blt%%BLTVER%%/demos/scripts/send.tcl
lib/blt%%BLTVER%%/demos/scripts/stipples.tcl
lib/blt%%BLTVER%%/demos/scripts/xcolors.tcl
lib/blt%%BLTVER%%/demos/spline.tcl
lib/blt%%BLTVER%%/demos/stripchart1.tcl
lib/blt%%BLTVER%%/demos/tabnotebook1.tcl
lib/blt%%BLTVER%%/demos/tabnotebook2.tcl
lib/blt%%BLTVER%%/demos/tabnotebook3.tcl
lib/blt%%BLTVER%%/demos/tabset1.tcl
lib/blt%%BLTVER%%/demos/tabset2.tcl
lib/blt%%BLTVER%%/demos/tabset3.tcl
lib/blt%%BLTVER%%/demos/tabset4.tcl
lib/blt%%BLTVER%%/demos/treeview1.tcl
lib/blt%%BLTVER%%/demos/winop1.tcl
lib/blt%%BLTVER%%/demos/winop2.tcl
lib/blt%%BLTVER%%/dnd.tcl
lib/blt%%BLTVER%%/dragdrop.tcl
lib/blt%%BLTVER%%/graph.tcl
lib/blt%%BLTVER%%/hierbox.tcl
lib/blt%%BLTVER%%/init.tcl
lib/blt%%BLTVER%%/pkgIndex.tcl
lib/blt%%BLTVER%%/tabnotebook.tcl
lib/blt%%BLTVER%%/tabset.tcl
lib/blt%%BLTVER%%/tclIndex
lib/blt%%BLTVER%%/treeview.tcl
lib/blt%%BLTVER%%/treeview.xbm
lib/blt%%BLTVER%%/treeview_m.xbm
lib/blt%%BLTVER%%/tvutil.tcl
@dirrm lib/blt%%BLTVER%%/demos/scripts
@dirrm lib/blt%%BLTVER%%/demos/images
@dirrm lib/blt%%BLTVER%%/demos/bitmaps/hand
@dirrm lib/blt%%BLTVER%%/demos/bitmaps/fish
@dirrm lib/blt%%BLTVER%%/demos/bitmaps
@dirrm lib/blt%%BLTVER%%/demos
@dirrm lib/blt%%BLTVER%%/dd_protocols
@dirrm lib/blt%%BLTVER%%