head 1.20; access; symbols pkgsrc-2013Q2:1.20.0.4 pkgsrc-2013Q2-base:1.20 pkgsrc-2012Q4:1.20.0.2 pkgsrc-2012Q4-base:1.20 pkgsrc-2012Q2:1.19.0.42 pkgsrc-2012Q2-base:1.19 pkgsrc-2012Q1:1.19.0.40 pkgsrc-2012Q1-base:1.19 pkgsrc-2011Q4:1.19.0.38 pkgsrc-2011Q4-base:1.19 pkgsrc-2011Q3:1.19.0.36 pkgsrc-2011Q3-base:1.19 pkgsrc-2011Q2:1.19.0.34 pkgsrc-2011Q2-base:1.19 pkgsrc-2011Q1:1.19.0.32 pkgsrc-2011Q1-base:1.19 pkgsrc-2010Q4:1.19.0.30 pkgsrc-2010Q4-base:1.19 pkgsrc-2010Q3:1.19.0.28 pkgsrc-2010Q3-base:1.19 pkgsrc-2010Q2:1.19.0.26 pkgsrc-2010Q2-base:1.19 pkgsrc-2010Q1:1.19.0.24 pkgsrc-2010Q1-base:1.19 pkgsrc-2009Q4:1.19.0.22 pkgsrc-2009Q4-base:1.19 pkgsrc-2009Q3:1.19.0.20 pkgsrc-2009Q3-base:1.19 pkgsrc-2009Q2:1.19.0.18 pkgsrc-2009Q2-base:1.19 pkgsrc-2009Q1:1.19.0.16 pkgsrc-2009Q1-base:1.19 pkgsrc-2008Q4:1.19.0.14 pkgsrc-2008Q4-base:1.19 pkgsrc-2008Q3:1.19.0.12 pkgsrc-2008Q3-base:1.19 cube-native-xorg:1.19.0.10 cube-native-xorg-base:1.19 pkgsrc-2008Q2:1.19.0.8 pkgsrc-2008Q2-base:1.19 cwrapper:1.19.0.6 pkgsrc-2008Q1:1.19.0.4 pkgsrc-2008Q1-base:1.19 pkgsrc-2007Q4:1.19.0.2 pkgsrc-2007Q4-base:1.19 pkgsrc-2007Q3:1.18.0.8 pkgsrc-2007Q3-base:1.18 pkgsrc-2007Q2:1.18.0.6 pkgsrc-2007Q2-base:1.18 pkgsrc-2007Q1:1.18.0.4 pkgsrc-2007Q1-base:1.18 pkgsrc-2006Q4:1.18.0.2 pkgsrc-2006Q4-base:1.18 pkgsrc-2006Q3:1.17.0.6 pkgsrc-2006Q3-base:1.17 pkgsrc-2006Q2:1.17.0.4 pkgsrc-2006Q2-base:1.17 pkgsrc-2006Q1:1.17.0.2 pkgsrc-2006Q1-base:1.17 pkgsrc-2005Q4:1.16.0.2 pkgsrc-2005Q4-base:1.16 pkgsrc-2005Q3:1.15.0.2 pkgsrc-2005Q3-base:1.15 pkgsrc-2005Q2:1.14.0.4 pkgsrc-2005Q2-base:1.14 pkgsrc-2005Q1:1.14.0.2 pkgsrc-2005Q1-base:1.14 pkgsrc-2004Q4:1.13.0.2 pkgsrc-2004Q4-base:1.13 pkgsrc-2004Q3:1.11.0.4 pkgsrc-2004Q3-base:1.11 pkgsrc-2004Q2:1.11.0.2 pkgsrc-2004Q2-base:1.11 pkgsrc-2004Q1:1.10.0.2 pkgsrc-2004Q1-base:1.10 pkgsrc-2003Q4:1.7.0.10 pkgsrc-2003Q4-base:1.7 netbsd-1-6-1:1.7.0.6 netbsd-1-6-1-base:1.7 netbsd-1-6:1.7.0.8 netbsd-1-6-RELEASE-base:1.7 pkgviews:1.7.0.4 pkgviews-base:1.7 buildlink2:1.7.0.2 buildlink2-base:1.7 netbsd-1-5-PATCH003:1.7 netbsd-1-5-PATCH001:1.3 netbsd-1-5-RELEASE:1.2 netbsd-1-4-PATCH003:1.2 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.20 date 2012.08.21.21.32.34; author marino; state dead; branches; next 1.19; 1.19 date 2007.10.13.11.41.33; author adam; state Exp; branches; next 1.18; 1.18 date 2006.11.02.17.42.03; author adam; state Exp; branches; next 1.17; 1.17 date 2006.01.16.14.48.34; author adam; state Exp; branches; next 1.16; 1.16 date 2005.11.03.23.09.24; author rillig; state Exp; branches; next 1.15; 1.15 date 2005.07.19.11.12.25; author adam; state Exp; branches; next 1.14; 1.14 date 2005.02.22.10.22.05; author adam; state Exp; branches; next 1.13; 1.13 date 2004.11.26.10.31.08; author adam; state Exp; branches; next 1.12; 1.12 date 2004.10.01.13.35.53; author adam; state Exp; branches; next 1.11; 1.11 date 2004.04.09.23.39.00; author danw; state Exp; branches; next 1.10; 1.10 date 2004.03.25.22.49.15; author jlam; state Exp; branches; next 1.9; 1.9 date 2004.03.08.20.29.43; author minskim; state Exp; branches; next 1.8; 1.8 date 2004.01.05.11.24.18; author jlam; state Exp; branches; next 1.7; 1.7 date 2001.12.23.17.11.30; author bjoern; state Exp; branches; next 1.6; 1.6 date 2001.06.21.20.16.27; author jlam; state Exp; branches; next 1.5; 1.5 date 2001.06.21.18.55.02; author jlam; state Exp; branches; next 1.4; 1.4 date 2001.05.24.02.58.29; author jlam; state Exp; branches; next 1.3; 1.3 date 2000.12.11.16.40.43; author jlam; state Exp; branches; next 1.2; 1.2 date 2000.09.01.16.22.00; author jwise; state Exp; branches; next 1.1; 1.1 date 2000.08.29.16.16.07; author jwise; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2000.08.29.16.16.07; author jwise; state Exp; branches; next ; desc @@ 1.20 log @x11/tk: Upgrade from version 8.4.18 to 8.5.12 Highlights of Tk 8.5 * New modern theming engine: New and complementary widgets that make use of platform-specific theming on Mac OS X and Windows to better fit in with those environments, and feature an improved look and feel under X11. * New widgets: Part of the themed widget set, Tk now has core notebook, combobox, treeview and progressbar widgets. * text widget: Smooth scrolling, widget peering, and improved procedures for counting and replacing text. * Font rendering: Now uses anti-aliased text under X11, and a more modern text engine (ATSUI) on Mac OS X. * Additional improvements: Window transparency, new fullscreen option for windows, enhancements to specific widgets and window layout, and more. There is of course much, much more. See [8.5 Changes](http://wiki.tcl.tk/10630) on the wiki for a complete list of new features. @ text @$NetBSD: patch-aa,v 1.19 2007/10/13 11:41:33 adam Exp $ --- unix/Makefile.in.orig 2007-09-21 19:04:18.000000000 +0200 +++ unix/Makefile.in @@@@ -94,7 +94,7 @@@@ HTML_INSTALL_DIR = $(INSTALL_ROOT)$(HTML # The directory containing the Tcl sources and headers appropriate # for this version of Tk ("srcdir" will be replaced or has already # been replaced by the configure script): -TCL_GENERIC_DIR = @@TCL_SRC_DIR@@/generic +TCL_GENERIC_DIR = $(TCL_BIN_DIR)/../include/tcl/generic # The directory containing the Tcl library archive file appropriate # for this version of Tk: @@@@ -210,8 +210,8 @@@@ TCL_EXE = @@TCLSH_PROG@@ INSTALL_STRIP_PROGRAM = -s INSTALL_STRIP_LIBRARY = -S -S -INSTALL = @@srcdir@@/install-sh -c -INSTALL_PROGRAM = ${INSTALL} +INSTALL = ${LIBTOOL} --mode=install @@srcdir@@/install-sh -c +INSTALL_PROGRAM = ${INSTALL} -s INSTALL_LIBRARY = ${INSTALL} INSTALL_DATA = ${INSTALL} -m 644 @@@@ -234,6 +234,7 @@@@ TK_STUB_LIB_FLAG = @@TK_STUB_LIB_FLAG@@ #TK_STUB_LIB_FLAG = -ltkstub TK_LIB_FILE = @@TK_LIB_FILE@@ +TK_LA_FILE = ${TK_LIB_FILE:@@SHLIB_SUFFIX@@=.la} #TK_LIB_FILE = libtk.a # Generic lib name used in rules that apply to tcl and tk @@@@ -263,7 +264,7 @@@@ WISH_LIBS = $(TCL_LIB_SPEC) @@LIBS@@ $(X11 # these definitions by hand. STLIB_LD = @@STLIB_LD@@ -SHLIB_LD = @@SHLIB_LD@@ +SHLIB_LD = ${LIBTOOL} --mode=link @@CC@@ -rpath ${PREFIX}/lib SHLIB_LD_LIBS = @@SHLIB_LD_LIBS@@ TK_SHLIB_LD_EXTRAS = @@TK_SHLIB_LD_EXTRAS@@ @@@@ -310,7 +311,8 @@@@ XLIB_DIR = $(TOP_DIR)/xlib # should be compressed and linked with softlinks MAN_FLAGS = @@MAN_FLAGS@@ -CC = @@CC@@ +CC = ${LIBTOOL} --mode=compile @@CC@@ +LD = ${LIBTOOL} --mode=link @@CC@@ -Wl,-R${PREFIX}/lib -Wl,-R${X11BASE}/lib CC_SWITCHES_NO_STUBS = ${CFLAGS} ${CFLAGS_WARNING} ${SHLIB_CFLAGS} \ -I${UNIX_DIR} -I${GENERIC_DIR} -I${BMAP_DIR} -I${TCL_GENERIC_DIR} \ @@@@ -482,7 +484,7 @@@@ DEMOPROGS = browse hello ixset rmt rolod all: binaries libraries doc -binaries: ${LIB_FILE} ${STUB_LIB_FILE} wish +binaries: ${TK_LA_FILE} ${STUB_LIB_FILE} wish libraries: @@@@ -494,7 +496,7 @@@@ doc: $(TOP_DIR)/doc/man.macros # The following target is configured by autoconf to generate either # a shared library or non-shared library for Tk. -${LIB_FILE}: ${OBJS} ${STUB_LIB_FILE} @@LIB_RSRC_FILE@@ +${TK_LA_FILE}: ${OBJS} ${STUB_LIB_FILE} @@LIB_RSRC_FILE@@ rm -f $@@ @@MAKE_LIB@@ @@@@ -523,8 +525,8 @@@@ tkLibObjs: objs: ${OBJS} -wish: $(WISH_OBJS) $(TK_LIB_FILE) $(TK_STUB_LIB_FILE) @@APP_RSRC_FILE@@ - ${CC} ${CFLAGS} ${LDFLAGS} $(WISH_OBJS) @@TK_BUILD_LIB_SPEC@@ \ +wish: $(WISH_OBJS) $(TK_LA_FILE) $(TK_STUB_LIB_FILE) @@APP_RSRC_FILE@@ + ${LD} ${CFLAGS} ${LDFLAGS} $(WISH_OBJS) @@TK_BUILD_LIB_SPEC@@ \ $(WISH_LIBS) $(CC_SEARCH_FLAGS) -o wish # Resetting the LIB_RUNTIME_DIR below is required so that @@@@ -537,7 +539,7 @@@@ tktest: $(TKTEST_OBJS) $(TK_LIB_FILE) $(MAKE) tktest-real LIB_RUNTIME_DIR=`pwd`:$(TCL_BIN_DIR) tktest-real: - ${CC} ${CFLAGS} ${LDFLAGS} $(TKTEST_OBJS) @@TK_BUILD_LIB_SPEC@@ \ + ${LD} ${CFLAGS} ${LDFLAGS} $(TKTEST_OBJS) @@TK_BUILD_LIB_SPEC@@ \ $(WISH_LIBS) $(CC_SEARCH_FLAGS) -o tktest # FIXME: This xttest rule seems to be broken in a number of ways. @@@@ -545,7 +547,7 @@@@ tktest-real: # lib location logic from tktest, and it is not clear where this # test.o object file comes from. xttest: test.o tkTest.o tkSquare.o $(TK_LIB_FILE) - ${CC} ${CFLAGS} ${LDFLAGS} test.o tkTest.o tkSquare.o \ + ${LD} ${CFLAGS} ${LDFLAGS} test.o tkTest.o tkSquare.o \ @@TK_BUILD_LIB_SPEC@@ \ $(WISH_LIBS) $(LD_SEARCH_FLAGS) -lXt -o xttest @@@@ -615,7 +617,7 @@@@ install-strip: # some ranlibs write to current directory, and this might not always be # possible (e.g. if installing as root). -install-binaries: $(TK_LIB_FILE) $(TK_STUB_LIB_FILE) $(TK_BUILD_EXP_FILE) wish +install-binaries: $(TK_LA_FILE) $(TK_STUB_LIB_FILE) $(TK_BUILD_EXP_FILE) wish @@for i in $(LIB_INSTALL_DIR) $(BIN_INSTALL_DIR) $(PKG_INSTALL_DIR); \ do \ if [ ! -d $$i ] ; then \ @ 1.19 log @Changes 8.4.16: * Bug fixes * Improvements @ text @d1 1 a1 1 $NetBSD$ @ 1.18 log @Changes 8.4.14: * Tk_PhotoPutBlock performance restored (JPEG image loading). * [namespace inscope] change reverted; harmed Itcl. * Made [expr {srand(.)}] accept wide integer argument. * Made [lappend $invalidList] raise an error. * Improved [text] delete performance. * Support for the WM_UNICHAR window message on Windows * Stopped excess variable writes by [scale]. * Tcl_Main no longer blocks main loop start for one interactive command. * [console] made thread safe. * Thread-enabled configuration uses MT-safe system calls. * Many Aqua/Tk bug fixes and improvements, see changes file. * Made unthreaded notifier naked-fork-safe on Darwin. * Support for weak linking on Mac OS X. * msgcat support for CFLocale on Darwin (msgcat 1.3.4) * Fixed crashes due to alignment issues in encoding translation routines. * Fixed crash with [listbox -listvariable] on namespace variable. * Fixed crash when Tcl_DeleteTrace changes proc on the active stack. * Fixed crash when normalizing filesystem pathnames. * Fixed crash due to invalid font name from XServer. * Several 64-bit bugs fixed and platform support enhanced. @ text @d3 1 a3 1 --- unix/Makefile.in.orig 2006-10-19 19:27:34.000000000 +0200 d51 2 a52 2 -I${UNIX_DIR} -I${GENERIC_DIR} \ @@@@ -481,7 +483,7 @@@@ DEMOPROGS = browse hello ixset rmt rolod d61 1 a61 1 @@@@ -493,7 +495,7 @@@@ doc: $(TOP_DIR)/doc/man.macros d70 1 a70 1 @@@@ -522,8 +524,8 @@@@ tkLibObjs: d81 1 a81 1 @@@@ -536,7 +538,7 @@@@ tktest: $(TKTEST_OBJS) $(TK_LIB_FILE) d90 1 a90 1 @@@@ -544,7 +546,7 @@@@ tktest-real: d99 1 a99 1 @@@@ -614,7 +616,7 @@@@ install-strip: @ 1.17 log @Changes 8.4.12: * Repeated [namespace import] of same command now permitted. * ${prefix}/share added to ::tcl_pkgPath on some systems. * [exec]'s >> redirection has improved append behavior. * [info globals] returned only existing variables. * Recognize some Solaris variations of the cp1251 encoding. * Addressed [file mkdir] race condition. * Support opening >2GB files on RHEL 3. * Corrections to $argv formatting when [encoding system] is multibyte. * http 2.5.2: Update URL encoding rules to RFC 3986. * Fixed issue in recursive file delete with NFS lock files. * Stopped crash after use of Tcl_TraceCommand(). * Win NT/XP: support unicode console. * Improved support for Tclkit to set [encoding system]. * Added Korean timezone abbreviations. * Windows: exit codes can now exceed -128..127 range. * [load] support on LynxOS. * Packages with incorrect index scripts now cause a warning to be logged. *** POTENTIAL INCOMPATIBILITY *** * [lsearch -regexp] now accepts backrefs in the RE. * [selection get] made compatible with OpenOffice.org. * Dialog support for widget names containing spaces. * Improved Tk window manager event interaction on OS X Aqua. @ text @d3 1 a3 1 --- unix/Makefile.in.orig 2005-12-06 03:42:37.000000000 +0100 d5 1 a5 1 @@@@ -93,7 +93,7 @@@@ HTML_INSTALL_DIR = $(INSTALL_ROOT)$(HTML d14 1 a14 1 @@@@ -209,8 +209,8 @@@@ TCL_EXE = @@TCLSH_PROG@@ d25 1 a25 1 @@@@ -233,6 +233,7 @@@@ TK_STUB_LIB_FLAG = @@TK_STUB_LIB_FLAG@@ d33 1 a33 1 @@@@ -262,7 +263,7 @@@@ WISH_LIBS = $(TCL_LIB_SPEC) @@LIBS@@ $(X11 d42 1 a42 1 @@@@ -309,7 +310,8 @@@@ XLIB_DIR = $(TOP_DIR)/xlib d52 1 a52 1 @@@@ -480,7 +482,7 @@@@ DEMOPROGS = browse hello ixset rmt rolod d61 1 a61 1 @@@@ -492,7 +494,7 @@@@ doc: $(TOP_DIR)/doc/man.macros d70 1 a70 1 @@@@ -521,8 +523,8 @@@@ tkLibObjs: d81 1 a81 1 @@@@ -535,7 +537,7 @@@@ tktest: $(TKTEST_OBJS) $(TK_LIB_FILE) d90 1 a90 1 @@@@ -543,7 +545,7 @@@@ tktest-real: d99 1 a99 1 @@@@ -613,7 +615,7 @@@@ install-strip: @ 1.16 log @Fixed wrong use of WRKSRC. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.15 2005/07/19 11:12:25 adam Exp $ d3 1 a3 1 --- unix/Makefile.in.orig 2005-06-29 16:43:10.000000000 +0000 d14 1 a14 1 @@@@ -194,8 +194,8 @@@@ SHELL = /bin/sh d25 1 a25 1 @@@@ -225,6 +225,7 @@@@ TK_STUB_LIB_FLAG = @@TK_STUB_LIB_FLAG@@ d33 1 a33 1 @@@@ -254,7 +255,7 @@@@ WISH_LIBS = $(TCL_LIB_SPEC) @@LIBS@@ $(X11 d42 1 a42 1 @@@@ -301,7 +302,8 @@@@ XLIB_DIR = $(TOP_DIR)/xlib d52 1 a52 1 @@@@ -471,7 +473,7 @@@@ DEMOPROGS = browse hello ixset rmt rolod d61 1 a61 1 @@@@ -483,7 +485,7 @@@@ doc: $(TOP_DIR)/doc/man.macros d70 1 a70 1 @@@@ -512,8 +514,8 @@@@ tkLibObjs: d75 1 a75 1 - $(CC) $(LDFLAGS) $(WISH_OBJS) \ d77 1 a77 2 + $(LD) $(LDFLAGS) $(WISH_OBJS) \ @@TK_BUILD_LIB_SPEC@@ \ d80 2 a81 1 @@@@ -527,7 +529,7 @@@@ tktest: $(TKTEST_OBJS) $(TK_LIB_FILE) d85 2 a86 2 - ${CC} $(LDFLAGS) $(TKTEST_OBJS) @@TK_BUILD_LIB_SPEC@@ \ + ${LD} $(LDFLAGS) $(TKTEST_OBJS) @@TK_BUILD_LIB_SPEC@@ \ d90 1 a90 1 @@@@ -535,7 +537,7 @@@@ tktest-real: d94 2 a95 2 - ${CC} $(LDFLAGS) test.o tkTest.o tkSquare.o \ + ${LD} $(LDFLAGS) test.o tkTest.o tkSquare.o \ d99 1 a99 1 @@@@ -605,7 +607,7 @@@@ install-strip: @ 1.15 log @Changes 8.4.11: * Bug fixes @ text @d1 1 a1 1 $NetBSD$ d3 2 a4 2 --- Makefile.in.orig 2005-06-29 16:43:10.000000000 +0000 +++ Makefile.in @ 1.14 log @patch-aa modified to be compatible with GNU make @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.13 2004/11/26 10:31:08 adam Exp $ d3 1 a3 1 --- Makefile.in.orig 2004-11-19 18:50:17.000000000 +0000 d5 1 a5 1 @@@@ -80,7 +80,7 @@@@ MANN_INSTALL_DIR = $(MAN_INSTALL_DIR)/ma d14 1 a14 1 @@@@ -176,8 +176,8 @@@@ SHELL = /bin/sh d25 1 a25 1 @@@@ -208,6 +208,7 @@@@ TK_STUB_LIB_FLAG = @@TK_STUB_LIB_FLAG@@ d33 2 a34 2 @@@@ -234,7 +235,7 @@@@ WISH_LIBS = $(TCL_LIB_SPEC) @@LIBS@@ $(X11 # The values of the symbolis normally set by the configure script. a38 1 SHLIB_LD_FLAGS = @@SHLIB_LD_FLAGS@@ d41 2 a42 1 @@@@ -274,7 +275,8 @@@@ TOOL_DIR = @@TCL_SRC_DIR@@/tools d44 1 a44 1 MAN_FLAGS = @@MAN_FLAGS@@ d52 1 a52 1 @@@@ -390,7 +392,7 @@@@ DEMOPROGS = browse hello ixset rmt rolod d61 1 a61 1 @@@@ -402,7 +404,7 @@@@ doc: $(SRC_DIR)/doc/man.macros d65 2 a66 2 -${LIB_FILE}: ${OBJS} +${TK_LA_FILE}: ${OBJS} d70 1 a70 1 @@@@ -421,8 +423,8 @@@@ tkLibObjs: d74 1 a74 1 -wish: $(WISH_OBJS) $(TK_LIB_FILE) $(TK_STUB_LIB_FILE) d76 1 a76 1 +wish: $(WISH_OBJS) $(TK_LA_FILE) $(TK_STUB_LIB_FILE) d81 1 a81 1 @@@@ -436,7 +438,7 @@@@ tktest: $(TKTEST_OBJS) $(TK_LIB_FILE) d85 2 a86 3 - ${CC} $(LDFLAGS) $(TKTEST_OBJS) \ + ${LD} $(LDFLAGS) $(TKTEST_OBJS) \ @@TK_BUILD_LIB_SPEC@@ \ d89 2 a90 1 @@@@ -445,7 +447,7 @@@@ tktest-real: d99 1 a99 1 @@@@ -513,7 +515,7 @@@@ install-strip: d107 1 a107 1 if [ ! -d $$i ] ; then \ @ 1.13 log @Changes 8.4.8: * Fixed possible deadlock in Tcl_Finalize * Fixed thread IDs on 64-bit systems * Fixed [scan %ld] handling LP64 systems * Fixed [string map $samevar $samevar] crash * Fixed broken [namespace forget] logic * Fixed [namespace import] cycle prevention * Improved control over int <-> wideInt conversion * Fixed buffer overflow when there is a syntax error in [subst] * Fixed [file executable] result for case insensitivity on Windows * Fixed [expr {NaN == NaN}] result * Make [tcl_findLibrary] search $::auto_path as well * Fixed crash in [fconfigure -ttycontrol] in threaded build * [TIP 222] implementation of [wm attributes -alpha] on Windows * [TIP 159] implementation of [wm iconphoto] * Make Tk [load]-able on OS X/Aqua * Handle color/screen resolution changes on Windows * Fixed [wm resizable] for Solaris/CDE * Handle Windows native dialog double clicks that fall through * Fixed [place forget] memory leak * Recompute menu geometry on named font size change * Fixed X/IME IC focus after creation * Improved multiple display Tk dialog window placement * Fixed compound buttons for OS X/Aqua * Documentation improvements and test suite expansion @ text @d1 1 a1 1 $NetBSD$ d29 1 a29 1 +TK_LA_FILE = ${TK_LIB_FILE:C/@@SHLIB_SUFFIX@@/.la/} @ 1.12 log @Changes 8.4.7: * Fixed [glob -path] bug when in the root directory * Fixed unicode-char path installation on Windows NT-based platforms * Properly subsitute more values in Windows tclConfig.sh * Improved stack overflow prevention on Windows * Fixed mem leak in [fconfigure $serial -xchar] * Fixed crash with [cd] with a volumerelative $HOME * Fixed clock %G %V formats for ISO8601 week numbers * Fixed support for non-WIDE_INT aware math functions * Added [http::config -urlencoding] option * Fixed utf-8 encoding of \u0000 on system I/O * Prevented dde hangs with non-responsive apps * Added round() wide integer support * Cleaner exit and correction of mem leaks when using the threaded memory allocator and reinitializing * Improved build configuration on 64-bit systems * Added read support of PPM/PGM with the -data option * Correct issue with displaying maximize window button on KDE-3.2.1 * Fix drawing of unicode chars in menu titles on Windows * Correctly post Tk clipboard data to the Windows clipboard on exit * Fix the panedwindow -opaqueresize option to work as per the docs * Reduce Tk tk_messageBox default font size to 14-point * Prevent possible segfault in -maxundo * Fix XIM initialization on Solaris * Complete the implementation of the CG version of the X drawing emulation layer on Mac OS X * Fix several Mac OS X usability issues @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.11 2004/04/09 23:39:00 danw Exp $ d3 1 a3 1 --- Makefile.in.orig Mon Mar 1 19:04:48 2004 d44 1 a44 1 MKLINKS_FLAGS = @@MKLINKS_FLAGS@@ d99 1 a99 1 @@@@ -507,7 +509,7 @@@@ install-strip: @ 1.11 log @Fix up some Makefile logic that got broken by the libtool patches (and prevented it from building on some platforms). Ensure that the built library is named libtk84 (as opposed to libtk8.4) on all platforms. @ text @d1 1 a1 1 $NetBSD$ a13 9 @@@@ -118,7 +118,7 @@@@ CFLAGS = @@CFLAGS@@ @@CFLAGS_DEFAULT@@ # Flags to pass to the linker LDFLAGS_DEBUG = @@LDFLAGS_DEBUG@@ LDFLAGS_OPTIMIZE = @@LDFLAGS_OPTIMIZE@@ -LDFLAGS = @@LDFLAGS@@ @@LDFLAGS_DEFAULT@@ +LDFLAGS = @@LD_FLAGS@@ @@LDFLAGS@@ @@LDFLAGS_DEFAULT@@ # A "-I" switch that can be used when compiling to make all of the # X11 include files accessible (the configure script will try to @ 1.10 log @Fix tcl/tk configure script stupidity: it overwrote the value of LDFLAGS that accumulates within itself with a do-nothing version because it tried to re-use LDFLAGS for another purpose. This broke all library checks after the "checking for ELF" step. Fix this by (duh) not re-using LDFLAGS but by using a different variable. Bump the PKGREVISIONs of lang/tcl and x11/tk. This fixes building the threaded versions of tcl and tk. @ text @d34 9 a42 1 @@@@ -234,7 +234,7 @@@@ WISH_LIBS = $(TCL_LIB_SPEC) @@LIBS@@ $(X11 d51 1 a51 1 @@@@ -274,7 +274,8 @@@@ TOOL_DIR = @@TCL_SRC_DIR@@/tools d61 20 a80 1 @@@@ -422,7 +423,7 @@@@ objs: ${OBJS} d83 1 a83 1 wish: $(WISH_OBJS) $(TK_LIB_FILE) $(TK_STUB_LIB_FILE) d85 1 d90 1 a90 1 @@@@ -436,7 +437,7 @@@@ tktest: $(TKTEST_OBJS) $(TK_LIB_FILE) d99 1 a99 1 @@@@ -445,7 +446,7 @@@@ tktest-real: d108 9 @ 1.9 log @Update tk to 8.4.5. Too many changes since 8.3.4. Please see ChangeLog in the distfile. @ text @d3 1 a3 1 --- Makefile.in.orig 2003-11-21 14:17:23.000000000 -0600 d14 1 a14 7 @@@@ -113,7 +113,7 @@@@ CFLAGS_OPTIMIZE = @@CFLAGS_OPTIMIZE@@ #CFLAGS = $(CFLAGS_DEBUG) #CFLAGS = $(CFLAGS_OPTIMIZE) #CFLAGS = $(CFLAGS_DEBUG) $(CFLAGS_OPTIMIZE) -CFLAGS = @@CFLAGS@@ @@CFLAGS_DEFAULT@@ +CFLAGS += @@CFLAGS@@ @@CFLAGS_DEFAULT@@ d17 6 @ 1.8 log @bl3ify @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.7 2001/12/23 17:11:30 bjoern Exp $ d3 1 a3 1 --- Makefile.in.orig Sat Oct 20 02:24:40 2001 d5 1 a5 1 @@@@ -76,7 +76,7 @@@@ d14 1 a14 1 @@@@ -100,7 +100,7 @@@@ d23 3 a25 3 @@@@ -159,8 +159,8 @@@@ # "install" around; better to use the install-sh script that comes # with the distribution, which is slower but guaranteed to work. d31 1 d34 1 a34 2 # The following specifies which Tcl executable to use for make targets @@@@ -209,7 +209,7 @@@@ d40 1 d42 4 a45 5 # Additional search flags needed to find the various shared libraries @@@@ -240,7 +240,8 @@@@ # either. #---------------------------------------------------------------- d53 1 a53 9 @@@@ -373,6 +374,7 @@@@ rm -f ${TK_LIB_FILE} @@MAKE_LIB@@ $(RANLIB) ${TK_LIB_FILE} + ${TOUCH} ${TK_LIB_FILE} ${STUB_LIB_FILE}: ${STUB_LIB_OBJS} rm -f ${STUB_LIB_FILE} @@@@ -391,7 +393,7 @@@@ d60 1 a60 1 $(WISH_LIBS) $(TK_CC_SEARCH_FLAGS) -o wish d62 2 a63 2 @@@@ -402,12 +404,12 @@@@ make tcltest d65 1 a65 1 tktest: ${TCL_BIN_DIR}/tcltest $(TKTEST_OBJS) $(TK_LIB_FILE) d69 1 a69 1 $(WISH_LIBS) $(TK_CC_SEARCH_FLAGS) -o tktest d71 3 d78 1 a78 1 $(WISH_LIBS) $(TK_LD_SEARCH_FLAGS) -lXt -o xttest a79 9 @@@@ -462,7 +464,7 @@@@ chmod +x $(UNIX_DIR)/mkLinks; \ fi @@echo "Installing $(TK_LIB_FILE) to $(LIB_INSTALL_DIR)/" - @@$(INSTALL_DATA) $(TK_LIB_FILE) $(LIB_INSTALL_DIR)/$(TK_LIB_FILE) + @@$(INSTALL_DATA) $(TK_LIB_FILE:C/\.so.*/.la/) $(LIB_INSTALL_DIR)/$(TK_LIB_FILE) @@(cd $(LIB_INSTALL_DIR); $(RANLIB) $(TK_LIB_FILE)) @@chmod 555 $(LIB_INSTALL_DIR)/$(TK_LIB_FILE) @@echo "Installing wish as $(BIN_INSTALL_DIR)/wish$(VERSION)" @ 1.7 log @Update to version 8.3.4 Taken from "changes" from the distribution (minus changes not relevant for NetBSD): 2001-04-04 (doc fixes) numerous doc corrections and clarifications. Update of READMEs. 2001-04-04 (bug fix) corrected reseting of service mode to only occur when it was set (hedin, hobbs) 2001-04-02 (bug fix) Checked for menu deletion before calling associated menu entry command. Fixed listbox, canvas and entry destruction to be more aware of current widget activity. (hobbs) 2001-03-30 (bug fix) handled the error case where a valid-looking but invalid identifier could be passed in certain event generate options causing a crash (hobbs) 2001-03-29 (bug fix) corrected handling of drag-selection (dejong) 2000-10-27 (feature enhancement) made [tk useinputmethods 1] the default for Tk (hobbs) 2000-09-29 (bug fix) corrected BadMatch errors when using Tk on multiple screens (hipp) 2000-08-18 (feature enhancement) Removed redundant call to DitherInstance (melski) 2001-08-24 (bug fix) correct several possible free memory reads and array bounds read errors reported by purify. (hobbs) 2001-08-27 (new feature) added call to Tcl_SetMainLoop which enables Tk to be loaded interactively into tclsh and have the event loop kick in correctly. (hobbs) 2001-08-28 (bug fix) fixed tk_chooseDirectory crash on Win95. (baker) 2001-08-28 (bug fix) removed 2 second 'raise' delay seen by some Unix window managers. (hobbs, baker) 2001-09-14 (bug fix) fixed memory leaks that occured if errors were thrown while initializing the channel for an image. (darley) 2001-10-04 (new feature) added enhanced bgerror dialog from Hipp. (hobbs) 2001-10-17 (bug fix) fixed file filtering in the motif file dialog (nelson) @ text @d1 1 a1 1 $NetBSD$ d10 1 a10 1 +TCL_GENERIC_DIR = ${BUILDLINK_DIR}/include/tcl/generic @ 1.6 log @Touch ${TK_LIB_FILE} during build so that it doesn't have to be re-linked during installation. @ text @d3 1 a3 1 --- Makefile.in.orig Tue Aug 8 15:19:31 2000 d18 2 a19 2 -CFLAGS = @@CFLAGS@@ +CFLAGS += @@CFLAGS@@ d21 3 a23 3 # A "-I" switch that can be used when compiling to make all of the # X11 include files accessible (the configure script will try to @@@@ -154,8 +154,8 @@@@ d34 1 a34 2 @@@@ -203,7 +203,7 @@@@ # libraries. See configure.in for a description of what it means. d37 1 d43 1 a43 1 @@@@ -233,7 +233,8 @@@@ d53 1 a53 1 @@@@ -371,6 +372,7 @@@@ d61 1 a61 1 @@@@ -389,7 +391,7 @@@@ d65 2 a66 2 - $(CC) @@LDFLAGS@@ $(WISH_OBJS) \ + $(LD) @@LDFLAGS@@ $(WISH_OBJS) \ d70 1 a70 1 @@@@ -400,12 +402,12 @@@@ d74 2 a75 2 - ${CC} @@LDFLAGS@@ $(TKTEST_OBJS) \ + ${LD} @@LDFLAGS@@ $(TKTEST_OBJS) \ d80 2 a81 2 - ${CC} @@LDFLAGS@@ test.o tkTest.o tkSquare.o \ + ${LD} @@LDFLAGS@@ test.o tkTest.o tkSquare.o \ d85 1 a85 1 @@@@ -456,7 +458,7 @@@@ @ 1.5 log @Convert to use buildlink.mk files and mark as USE_BUILDLINK_ONLY. @ text @d53 9 a61 1 @@@@ -389,7 +390,7 @@@@ d70 1 a70 1 @@@@ -400,12 +401,12 @@@@ d85 1 a85 1 @@@@ -456,7 +457,7 @@@@ @ 1.4 log @Fix the installed tkConfig.sh so it's possible to use its values to generate a shared library that depends on libtk83.so. Patch the configure script to set TK_LIB_SPEC to include -Wl,-rpath,... or -R... depending on whether we are ELF or a.out. Bump version number to 8.3.2nb1. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.3 2000/12/11 16:40:43 jlam Exp $ d10 1 a10 1 +TCL_GENERIC_DIR = ${PREFIX}/include/tcl/generic d43 1 a43 1 @@@@ -233,11 +233,12 @@@@ a52 5 --I${BMAP_DIR} -I${TCL_GENERIC_DIR} ${X11_INCLUDES} \ +-I${BMAP_DIR} -I${TCL_GENERIC_DIR} -I${PREFIX}/include ${X11_INCLUDES} \ ${AC_FLAGS} ${PROTO_FLAGS} \ ${SECURITY_FLAGS} ${MEM_DEBUG_FLAGS} ${KEYSYM_FLAGS} ${NO_DEPRECATED_FLAGS} @ 1.3 log @Honor CFLAGS passed in from environment during build. @ text @d1 1 a1 1 $NetBSD$ d39 1 a39 1 +SHLIB_LD = ${LIBTOOL} --mode=link @@CC@@ @ 1.2 log @Since the configure script comes up with different shared lib suffixes on different versions/platforms of NetBSD, use $(TK_LIB_FILE:C/\.so.*/.la/) instead of $(TK_LIB_FILE:.so=.la) to derive the libtool archive name from the shared library name. From Frederick Bruckman, addresses PR pkg/10924. @ text @d1 4 a4 3 $NetBSD: patch-aa,v 1.1.1.1 2000/08/29 16:16:07 jwise Exp $ --- Makefile.in.orig Mon Aug 28 23:29:09 2000 +++ Makefile.in Mon Aug 28 23:34:09 2000 d14 9 @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD$ d77 1 a77 1 + @@$(INSTALL_DATA) $(TK_LIB_FILE:.so=.la) $(LIB_INSTALL_DIR)/$(TK_LIB_FILE) @ 1.1.1.1 log @Initial import of new pkgsrc/lang/tk (tk-8.3.2) package, partly derived from the older pkgsrc/lang/tk80 (tk-8.0.5) package. This is an update of the tk package from version 8.0.5 to version 8.3.2, and also a slight change in the organization of tcl/tk packages. This will be added disabled to pkgsrc/x11/Makefile until I finish updating all tcl/tk-based packags. Changes from out-of-the-box tk-8.3.2: Both static and shared libtcl83.* are installed, thanks to the magic of libtool. Changes to the package since tk-8.3.2: A symlink to ${PREFIX}/bin/wish8.3 is installed as ${PREFIX}/bin/wish This change is designed to allow tk-using packages to not depend on any particular version of tk. public tk include files and the tk configuration information script are now installed in their standard places (${PREFIX}/include/tk*.h, and ${PREFIX}/lib/tkConfig.sh), and private tcl include files are now installed in ${PREFIX}/include/tk. This change allows tcl extension packages to work out of the box, and to not need modification when tcl and tk are updated. When extension package authors use the new libtclstubs*.a API, this even allows binary packages of dynamically- loadable tcl extensions to be used with newer versions of tcl without recompilation. Here are the new features in tk-8.3.x as opposed to 8.0.x. I am not including bug fixes as this represents about 18 months of them. Img patch from Nijtmans, et al was adopted. This includes a Tcl_Obj-based image command, support for binary in -data args, adds an alpha channel to all photo types, as well as GIF write capability. Major portions of Dash patch from Nijtmans, et al was adopted. This includes a Tcl_Obj-based canvas command, dashed canvas item support, enhanced canvas tag searching capabilities, pointer warping with event -warp, entry widget validation routines, -elide tag option for of the text widget (TkMan runs on 8.3 without a patch), several new canvas item arguments, as well as postscript printing support for images and windows in the canvas. Listboxes support a -listvariable and have a new itemconfigure command to color individual items. Extended "wm state" command to accept a state to set for the toplevel, and added support for the zoomed (maximized) state on Windows. Standard Unix dialogs have been updated to use color icons and have improved behavior. New "tk useinputmethods" command. This changes the behavior of Tk on X where X Input Methods (XIM) were recognized and used without question. With 8.3, they will be recognized and initialized, but not used unless XIM is turned on (tk useinputmethods 1). This should only affect users with special input methods, and the new default behavior should be more beneficial to the average user. @ text @@