Up to [cvs.NetBSD.org] / pkgsrc / x11 / tk
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
tcl, tk: updated to 8.6.14 Summary of Changes since Tcl/Tk 8.6.13: -------------------------------------- This is a patch release, so it primarily includes bug fixes and corrections to erratic behavior. Highlighted changes are noted below. The changes file at the root of the source tree contains a more complete list. The Timelines of all changes are online. http://core.tcl-lang.org/tcl/timeline http://core.tcl-lang.org/tk/timeline * [TIP 402] revise path normalization for x-platform UNC path support *** POTENTIAL INCOMPATIBILITY *** * Harmonize Tk's parse of numbers (screen distance, etc) with Tcl *** POTENTIAL INCOMPATIBILITY *** * Iconlist ignores options db for fg text color; affects dialogs *** POTENTIAL INCOMPATIBILITY *** * Aqua: XPutImage() swaps red and blue channels *** POTENTIAL INCOMPATIBILITY *** * [encoding convertfrom] handling of incomplete code sequences *** POTENTIAL INCOMPATIBILITY *** * Harmonize handling of ~ in paths across platforms. *** POTENTIAL INCOMPATIBILITY *** * Fix menu clone binding misbehavior, menu-20.1[2-6]. *** POTENTIAL INCOMPATIBILITY *** * Improved performance of [exec] and [open |$cmd] on unix-lke systems, especially with large memory footprints. * Improve performance of large treeview destruction. * Improve performance of large image insertions into text. * Improve widget creation performance due to poor font caching. * Fix notebook tab appearances when placed on edge other than top. * Enable treeview display of partial final line. * Win: restore [exec %var%] that was dropped in 8.6.13. * Allow [chan create {} $cmd]. Enables simulation of server channels. * Allow return from [tk scaling] in safe interps. * Prevent navigation by word exposing clues to masked entry contents. * Fix crashes or hangs in... - [chan pop] with pending input - thread finalization of reflected channels - [label .l -bitmap floppy] - [set tcl_precision 15; expr 6.4623485355705287e-27] - [tk busy forget] and [tk busy hold] - channel read into "string" Tcl_Obj can BO, and perform poorly - KVO crash after destroying Aqua's first root toplevel - Test treeview-6ee162c3f9 - Test tailcall-bug-784befb0ba - Tests menu-40.[12] * Repair memory leaks and errors - Eliminate undefined realloc() calls - Silence many warnings from -fsanitize=function - Flawed interfacing with XIM - Tcl_UtfToExternal writing to one-byte buffer - Tcl_UtfToUniChar() handling of 0xC1. - Tk_ConfigureValue could call wrong free() routine. - tests getuncichar-1.* in utf.test - ...and many more * No more support for 32-bit Cygwin * ::tcl_platform(osVersion) updated to report Windows 11 * Accommodate macOS deprecation of sprintf() * Silence macOS 14 warnings about secure restorable state. * Code changes to support ASan use-after-return detection * Revise Tcl_MakeFileChannel() to better partner with pledge() * Prevent false [clock format] error reports on FreeBSD * Region clip & copy make better use of OS facilities. * Update handling of Apple FourCC creator codes. * Text selection omits first character, text-38.1 * Windows: improved support of non-BMP pathnames * Fixed some Y2038 limitations * Fix photo color drawing on X11 32-bit visuals. * Fix <<MenuSelect>> regression on menus with -tearoff * Correct rounding of [nsFont pointSize]. * zlib comment/filename error handling (zlib-8.19, zlib-8.2[012]) * Prevent theme change attempts after Tk finalize. * Make dialogs robust against parent destruction. * Make [tk_chooseColor] robust against failed grab. * Fix menu parsing of @x,y indices. menu-22.[6-9] * Fix inconsistent results from [font measure]. * Fixed [clock scan|add] handling of abbreviated options * Avoid endless loops replacing [unknown] or [history]. * Fix polluted error messages from [send -option]. * PNG photo image decoder missed a 0xFF entry. * Fix failing winTime-2.1 on Windows * test string-2.20.1 failed on big endian platforms * Updated bundled packages, libraries, standards, data - Itcl 4.2.4 - sqlite3 3.44.2 - Thread 2.8.9 - TDBC* 1.1.7 - tcltest 2.5.7 - libtommath 1.2.1 - zlib 1.3.1 - Unicode 15.1 - tzdata 2024a
*: revebump for new brotli option for freetype2 Addresses PR 57693
tk: updated to 8.6.13 8.6.13 2021-11-09 (bug)[e699a7] Fix build on macOS < 10.12 (culler) 2021-11-10 (bug)[8aebca,ce5d98] Mac: fix minimize button details (culler) 2021-11-24 (bug)[18682c,733dae] Mac: Enter/Leave events for toplevels (culler) 2021-11-29 (bug)[4ac9d2] Mac: canvas screenshot with Img package position correction (chavez) 2021-11-30 (documentation cleanup) [bad305] improve wm protocol WM_DELETE_WINDOW documentation (culler) 2021-11-30 (new) Mac: new color index "SelectedMenuItemTextColor". 2021-12-01 (new)[TIP 599] Extended build information (nijtmans) 2021-12-04 (bug)[440c52] fix PPM/PGM read with graylevel > 255 (vogel) 2021-12-04 (bug)[5fb814] canvas redraw region for lines/polygones (vogel) 2021-12-04 (new)[631a0b] text widget: direct mouse events to insert mark, not current (vogel) 2021-12-06 (bug)[b164ef] fix mouse events for multiple toplevels (culler) 2021-12-07 (bug)[be8f5b] crash setting -type empty for a menu (vogel) 2021-12-10 (bug)[50fc02,50fc02,25894d,156e58] ImgPhoto pointer issues (chavez) 2021-12-20 (bug)[617861] -justify/-anchor defaults for ttk::label (nijtmans) 2021-12-20 (bug)[6be8b0] Mac: crash on drag and Cmd-w (culler) 2021-12-22 (bug)[a132b5] Mac: esc on combobox menu influences click reopening (culler) 2021-12-24 (bug)[915316] Mac: drag events not to initial widget (culler) 2021-12-27 (bug)[eb26d4] Mac: wrong beep when clicking outside a combobox (culler) 2021-12-30 (bug)[822450] Mac: crash on exit (culler) 2022-01-06 (bug)[b7d851] Mac: crash on tkdnd drop and window close (culler) 2022-01-09 (bug)[40bc81] embedding error test failure (vogel) 2022-01-16 (bug)[b1d115] No <Enter> event on new toplevel on current toplevel destruction (vogel) 2022-02-03 (bug)[3fefb3] crash in empty ttk::combobox when end index requested (vogel) 2022-02-07 (new)[247d80] Chinese message file (NewbieXvwu) 2022-02-07 (new) Support Windows ARM platform (nijtmans) 2022-02-11 (bug)[e331bc] NULL to memset in photo blank (chavez) 2022-02-12 (bug)[fc5073] Mac: crash on native file dialog and tooltip (walzer) 2022-02-17 (bug)[864b06] PNG photo image color numeric issue (chavez) 2022-02-24 (bug)[141a11] Mac: dialog box with global grab inresponsive on click in other toplevel (walzer) 2022-02-25 (bug)[f75190] tk_fontchooser: multiple font families, locale change, button activation (holger,vogel) 2022-02-25 (bug)[ce6b42] (in TCL bug tracker) ttk::spinbox increment event endless invokation (vogel) 2022-02-26 (bug)[c7052d] Win: middle mouse click blocks system clipbord (vogel) 2022-02-27 (bug)[292598,01acde,e02fc96,0c3dbe,ee49f3,d175bb] Mac: memory leaks (images, focus ring) (chavez) 2022-03-07 (bug)[2a6c62] Avoid invalid <<TreeviewSelect>> events (vogel,spjuth) 2022-03-16 (new)[f47920] Updates to Finnish message catalog (hippelainen) 2022-03-16 (bug)[424773] crash in test canvPs-5.1 (chavez,vogel) 2022-03-19 (bug)[5412c6] crash in test canvWind-2.1 (SVID,vogel,griffin) 2022-03-19 (bug)[54fe7a] crash in test textWind-18.3 (akuli,vogel) 2022-04-04 (bug)[29b5c2] error in tk_popup with separator entry selected (griffin) 2022-04-07 (bug)[415415] scale advances multiple steps on single click (vogel) 2022-04-10 (bug)[dc4c55] tk_popup entry index (mcdonald) 2022-04-15 (bug)[c0bf1b] XVirtualEvent buffer overflows (chavez) 2022-04-19 (new)[8dd3d5] Mac : use Fn + e to access Emoji (nijtmans) 2022-05-11 (bug)[88cfdc] Mac: dialog memory, avoid use after free (chavez) 2022-04-21 (new)[bf0f48] Mac: Optimization for compilation is now -O2 (nijtmans) 2022-05-08 (bug)[eedd79] potential crashes in option parsing when sizeof(enum) not equal to int (nijtmans) 2022-05-08 (bug)[0ce975] panedwindow calls memcpy with NULL pointer (chavez) 2022-05-22 (bug)[bee96b] Win: cursor warp, [tk busy] (mcdonald) 2022-06-07 (bug) GIF with multiple images may reuse transparent color (oehhar) 2022-06-12 (bug)[e4a051] Mac: map embedded window immediately (vogel) 2022-06-15 (bug)[b18434] cygwin path compiling issues (fassel) 2022-06-27 [aefdb8,be29f7] Updates to Russian message catalog (pylypenko) 2022-07-04 Updates to Esperanto message catalog (ender) 2022-07-19 (bug)[91ca77] Mac: map event handling (rosenburger,culler,landers) 2022-07-20 (bug)[40bc81,17f44d,150174,61e0bb] embedding error test failures (vogel) 2022-07-25 (bug)[a3b03f] Linux, Windows: improve (ttk) menubutton menu position (danckaert,vogel) 2022-07-29 Update keysym tables to latest X11R6 (nijtmans) 2022-08-22 [f6e4d4] consistent cross-platform polygon fill (akuli,chavez) 2022-09-04 (bug)[bc6020] test treeview-bc602049ab (bende,spjuth) 2022-09-08 (bug)[e17b6f] Mac: crash in test unixW-50.4 (chavez) 2022-09-20 [33de84] Mac: handle Apple deprecation of OSTypes (culler) 2022-09-20 (bug)[412b80] Mac menu: arrow key and menu selection (nab,culler) 2022-09-22 (bug)[1a46d8,1fa325] Mac: memleak, crash safety in color (chavez) 2022-10-17 [d93c81] Workaround faulty compiler optimization in VS 2022 (vogel) 2022-10-26 (bug)[435739] crash in test bind-37.1 (csok,vogel) 2022-10-28 (bug)[5e4e44] ttk::panedwindow drag robust wrt orientation variants (xolodho,vogel)
x11/tk: Need path as it exists at build-time for --with-tcl. Doesn't appear to get baked into anything in the build product, but is used at build-time. _CROSS_DESTDIR is undefined for native compilation, so ${_CROSS_DESTDIR:U} is empty, so no change for native compilation.
*: Recursive revbup from graphics/freetype2
tk: updated to 8.6.11 8.6.11: 2019-11-25 (bug)[a95373] TkKeyEvent platform variations (werner) 2019-11-26 (bug) workaround Win bug so test bind-34.3 passes (nijtmans) 2019-12-03 Aqua: white cursors in dark mode (culler) 2019-12-04 (bug)[749bd9] Aqua: systemControlAccentColor (bll,culler) 2019-12-14 (bug)[b3b56a] ttk respect -cursor option (vogel) 2019-12-14 (bug)[b094cb] Win: $tv -show grows widget width 1 pixel (vogel) 2019-12-14 (bug)[02a694] spinbox options used wrong db names (vogel) 2020-01-11 (bug)[2b8fa6] MouseWheel for ttk::scrollbar (oehlmann) 2020-01-18 (bug)[1771594] icursor and scrollregion, canvText-14.7 (vogel) 2020-01-18 (bug)[587937] tag list ops preserve list order (vogel) 2020-01-18 (bug)[2830360] lose invalid state at focus event, entry-10.1 (vogel) 2020-01-18 (bug)[077d49] string table options support null ok (vogel) 2020-01-18 (bug)[bf93d0] Aqua: unresponsive menubar (culler) 2020-01-31 (bug)[a196fb] restore support for unthreaded Tcl (porter,sebres) 2020-02-09 (bug)[90a4d7] fontconfig crash when no font installed (vogel) 2020-02-24 (bug) Aqua: incomplete floating window display (walzer) 2020-03-11 (bug)[fb2ec3] OSX 10.15+: full screen options (nicolas,walzer) 2020-03-12 (bug)[08e2f8] focus on unmapped windows, focus-7.1 (vogel) 2020-03-12 (bug)[2edd84] [$c postscript] result management (gavilan) 2020-03-22 (bug)[98662d] restore TK_MAC_DEBUG_DRAWING build (chavez) 2020-03-29 (bug)[655fe2] tearoff menu redraw artifacts (vogel) 2020-04-03 (bug)[efbedd] Aqua: compund button-like widget appearance (chavez) 2020-04-14 (bug)[87bade] Aqua: improved dealing with PressAndHold (culler) 2020-04-14 (bug)[376788] X: stop crash w/Noto Color Emoji font (nijtmans) 2020-04-15 (bug)[89354d] Aqua: text color w/o clipping (culler) 2020-04-15 (new) Aqua: assign Button 3 to the middle button (chavez) 2020-04-25 (bug)[3519111] treeview horizontal scroll, entry-2.1.1 (vogel) 2020-04-25 (bug)[141881] treeview vertical scroll, treeview-9.2 (vogel) 2020-05-01 (bug)[2712f4] X: crash angled text w/o Xft, canvText-20.2 (vogel) 2020-05-01 (bug)[cd8714] Win: long angled text (chavez) 2020-05-09 (bug)[88c9e0] treeview -selectmode none focus ring (gavilan) 2020-05-12 (new) Aqua: Rewrite of the Key event system (culler) 2020-05-12 (bug)[411359] Aqua: stop crashes/zombies related to TouchBar (culler) 2020-05-12 (new) Aqua: systemLinkColor (chavez) 2020-05-16 (bug)[40ada9] crash when active button is destroyed (chavez) 2020-05-28 (bug)[3c6660,601cea,4b50b7] Win10: ttk scale (nemethi,lanam) 2020-06-08 (bug)[2790615] Some callbacks not eval'd in global scope (nijtmans) 2020-06-25 Aqua: Update OSX version tests to support Big Sur (culler) 2020-06-27 (bug)[6920b2] dup in spinbox -values causes trouble (lanam) 2020-06-27 (bug)[5c51be] invalid mem read buffer in Tk_PhotoPut* (chavez) 2020-06-27 (bug)[16ef16] restore bind sequence support, bind-33.(16-21) (vogel) 2020-07-02 (bug)[2d2459] default style for combobox (bll) 2020-07-06 (bug)[40c4bf] double free, entry-19.21 (vogel) 2020-07-06 (bug)[e3888d] grab & warp, bind-36.1 (vogel) 2020-07-12 (bug)[2442314] fontchooser i18n (nijtmans) 2020-07-13 (bug)[7655f6] [*entry]: selected text drawing reform (chavez) 2020-07-14 (bug)[09abd7] workaround invalid key codes from Debian 10 (vogel) 2020-07-20 (bug)[cf3853] Aqua: improve bounds on non-Retina displays (chavez) 2020-08-01 Aqua: [winfo rgb] light and dark mode support (culler) 2020-08-15 (bug)[315104] Aqua: appearance change virtual events (culler) 2020-08-21 (bug)[291699] mouse binding for scrollbar grip (bll) 2020-09-08 (bug)[6c2425] buffer bounds violation (chavez) 2020-09-08 (bug)[2a6d63] OSX 10.6 crash (hellstrom,culler) 2020-09-08 (bug)[420feb] undefined behavior due to alignment (chavez,nijtmans) 2020-09-10 (bug)[ab1fea] Aqua init issues (culler) 2020-09-14 (bug)[71e18c] Aqua: crash in full screen toggle (culler) 2020-09-18 (bug)[4f4f03] Aqua: mouse drags across title bar (nab,culler) 2020-09-21 (bug)[d91e05] select/copy in disabled text (bll) 2020-09-27 (TIP 581) disfavor Master/Slave terminology (nijtmans) 2020-09-30 (bug)[59cba3] win: improve theme detection (bll,nijtmans) 2020-10-06 (bug)[175a6e] Aqua: support tiled windows (culler) 2020-10-07 (bug)[1fa8c3] Aqua: crash on resize during display (nab,culler) 2020-10-16 (bug)[c2483b] Aqua: consistent finalization (culler,nijtmans) 2020-11-06 (bug)[c9ebac] Aqua: use standard about dialog (culler) 2020-11-07 (bug)[4ebcc0] sticky fontchooser options (roseman,vogel) 2020-11-10 (bug)[f9fa92] Aqua: crash in color caching scheme (culler) 2020-11-20 (bug)[7185d2] Aqua: fixes to special menu support (culler) 2020-11-24 (bug)[4a40c6] Aqua: [wm manage] frame offset (chavez) 2020-12-04 (bug)[3ef77f] Aqua dark mode combobox focus ring (walzer,culler) 2020-12-15 (bug)[80e4c6] Aqua: progressbar animation (nab,culler) 2020-12-24 (bug)[6157a8] Aqua: file dialog -filetypes (davis,culler)
x11/tk: avoid x11 when building aqua
x11/tk: don't pull in pthreads when threads are disabled
*: revbump after fontconfig bl3 changes (libuuid removal)
tcl/tk: updated to 8.6.10 Changes in Tcl/Tk 8.6.10 Tcl Changes New unsupported commands tcl::unsupported::timerate tcl::unsupported::corotype Tk Changes New Commands tk::mac::PerformService tk::mac::LaunchURL tk::mac::GetAppPath tk::mac::PrintDocument Expanded Syntax / New Options menubutton post x y index combobox current end Updated packages http 2.9.1 Itcl 4.2.0 Thread 2.8.5 sqlite 3.30.1 tdbc 1.1.1
all: migrate homepages from http to https pkglint -r --network --only "migrate" As a side-effect of migrating the homepages, pkglint also fixed a few indentations in unrelated lines. These and the new homepages have been checked manually.
Update Tk to 8.6.9.1 to fix PR pkg/54324. ok during freeze jperkin@ Alongside the Tcl/Tk 8.6.9 releases just announced, you will find one additional file, tk8.6.9.1-src.tar.gz . This is an errata release fixing a critical error on the Mac OSX 10.14 Mojave platform only. If you are building Tk for any other platform, there is no need to upgrade to the errata release. If you do upgrade to it anyway, you will see no difference, so it will be harmless through wasted effort, as the details below will explain. When unpacked, the errata archive differs from the tk8.6.9-src.tar.gz contents in only three lines of the file tk8.6.9/macosx/tkMacOSXWindowEvent.c which is a file compiled only for Mac OSX builds of Tk. The lines are written to have effect only on Mojave. Every other byte of the source code distribution is unchanged.
tk: updated to 8.6.9 8.6.9: * (bug)[aa7679] crash using window after master destroyed * (bug)[6525e1] encoding leak in tkMacOSXProcessFiles * (bug)[925262] New option -state for ttk::scale * (bug)[fa8de7] Crash [ttk::checkbutton .x -variable {}] * (bug)[382712] Crash in [event generate . <KeyPress>] * (bug)[657c38] Crash in menu destroy with checkbutton entry * (bug)[de156e] Deny PRIMARY selection access in safe interps * (bug)[b68710] Fixes in [text] bindings * (bug)[e20d5c] Stop failures of textTag-18.1 * (bug)[5d991b] Fortify var traces against deleted vars * (bug)[1821174] Stop RenderBadPicture X error * (bug)[502e74] Stop X errors on untrusted connections * (bug)[71b131] Regression in Tk_DrawChars() * (bug)[59fccb] menu flaws when empty menubar clicked * (bug)[7423f9] improved legacy support for [tk_setPalette] * (bug)[6d5042] enable [tk inactive] on Mac OSX * (bug)[75d38f] fix touchpad scroll of listbox on win notebook * (bug)[de01e2] Crash in [$text replace] * (bug)[6ca257] Fix [wm resizable] on Mac OSX * (bug)[135696] Crash in [wm transient] * (bug)[309b42] Improve ttk high-contrast-mode support * (bug)[1088825] fix frame-2.17,3.9,3.10 on Mac * (bug)[fabed1] GIF photo support for "deferred clear code" * (feature) Modern full-screen support on Mac OSX * (bug)[1875c1] scrollbar on Mac OSX * (bug)[1ba71a] KeyRelease events on Mac OSX(walzer) * (bug)[3441086] error message in layout-2 * (bug)[05bd7f] vista theme for combobox * (bug)[382712] crash in KeyPress event handling * (bug)[6fcaaa] insertion cursor visibility in ttk::entry * (bug)[822923] cascade menu indicator color * (bug)[9658bc] borderwidth calculations on menu items * (bug)[ca403f] treeview border drawing * (bug)[4b555a] hang in [$text search -all] * (new platform) port to system changes in Mac OSX 10.14 * (bug)[6b22d4] [treeview] binding fix
Recursive bumps for fontconfig and libzip dependency changes.
Changes 8.6.2: This is a bug-fix release.
Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles.
Set USE_GCC_RUNTIME=yes for packages which build shared libraries but do not use libtool to do so. This is required to correctly depend upon a gcc runtime package (e.g. gcc47-libs) when using USE_PKGSRC_GCC_RUNTIME.
Don't enable Aqua support at all on Darwin, it installs X11 headers which are incompatible with Xquartz, breaking various packages. Bump PKGREVISION.
Add missing PKGCONFIG_OVERRIDE for new tk.pc. Bump PKGREVISION.
Changes 8.6.1: * object-oriented programming support * a stackless evaluation implementation and much more besides.
Changes 8.5.15: Bug-fix release.
Do not enable aqua on OSX when using modular X11, avoids file conflicts with libX11. Bump PKGREVISION.
Bump PKGREVISION for libXft changes for NetBSD native X support on NetBSD 6, requested by tron.
Try to fix the fallout caused by the fix for PR pkg/47882. Part 3: Recursively bump package revisions again after the "freetype2" and "fontconfig" handling was fixed.
Bump freetype2 and fontconfig dependencies to current pkgsrc versions, to address issues with NetBSD-6(and earlier)'s fontconfig not being new enough for pango. While doing that, also bump freetype2 dependency to current pkgsrc version. Suggested by tron in PR 47882
Changes 8.5.14: Bug-fix release.
Add default-on options enabling xft2 support for nicer interfaces. From Anthony Mallet in PR 47246. Bump PKGREVISION.
Changes 8.5.13: * --enable-aqua build for Mac OS X is now a Cocoa implementation. * Support has been added for Cygwin network pathnames. * Updated to Unicode 6.2 support. Fixes for several crashes and bugs.
Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
x11/tk: Ensure tkConfig.sh has embedded rpath The version of the new tk package had some problems. - The x11 paths weren't coming through - The tkConfig.sh utility was missing runpath definition for TK_LIB_SPEC - Threading was automatically selected The X11 problem was fixed with addition CONFIGURE_ARGS The runpath for TK_LIB_SPEC was added in the configure patch An options.mk file was added based on the tcl version. Problems found and fixes suggested by he@
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.
PR/34229 -- Bump API requirement to 8.4.12nb1. Untested.
Add 'clean' to PRIVILEGED_STAGES.
Give up maintainership of packages where I am still listed as MAINTAINER.
Pullup - ticket #2523 - requested by is tk: make this package work with modular X.org Revisions pulled up: x11/tk/Makefile 1.62 x11/tk/distinfo 1.34 x11/tk/patches/patch-ae 1.4 --- Module Name: pkgsrc Committed By: dsainty Date: Wed Aug 6 04:09:12 UTC 2008 Modified Files: pkgsrc/x11/tk: Makefile distinfo Added Files: pkgsrc/x11/tk/patches: patch-ae Log Message: Tk uses X event numbers to index an "event" array, as well as adding a few of its own, starting with "VirtualEvent" (Which is correctly set to LASTEvent, defined in include/X11/X.h). In xproto-7.0.13, a new event "GenericEvent" was added - making the defined array broken for all of Tk's internal events. The easy fix is to just add in the missing event into the hard-coded array. This patch was reported here: http://bugs.gentoo.org/show_bug.cgi?id=225999 A cleaner fix, but a much bigger patch, is listed in the Tk bug tracker. I'm punting that Tk will have been updated with the fix before X.h grows another event. http://sourceforge.net/tracker/index.php?func=detail&aid=2010422&group_id=12997&atid=112997 Bump PKGREVISION.
Tk uses X event numbers to index an "event" array, as well as adding a few of its own, starting with "VirtualEvent" (Which is correctly set to LASTEvent, defined in include/X11/X.h). In xproto-7.0.13, a new event "GenericEvent" was added - making the defined array broken for all of Tk's internal events. The easy fix is to just add in the missing event into the hard-coded array. This patch was reported here: http://bugs.gentoo.org/show_bug.cgi?id=225999 A cleaner fix, but a much bigger patch, is listed in the Tk bug tracker. I'm punting that Tk will have been updated with the fix before X.h grows another event. http://sourceforge.net/tracker/index.php?func=detail&aid=2010422&group_id=12997&atid=112997 Bump PKGREVISION.
Back out previous. Pointed out by uebayasi@ and martti@.
ln -> ${LN}.
Added support for installation to DESTDIR. Approved by Jim Wise.
- convert to modular Xorg
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.
Changes 8.4.13: * Win NT/XP: unicode console support taken back out. * ${prefix}/share addition to ::tcl_pkgPath undone. * Warning message for packages with incorrect index scripts silenced. * Correct syntax error in configure script (bash 3.1 exposes it). * Tk incompatibilities with SCIM resolved. * Improved [file writable] support of Windows conventions. * Tcl_GetIndexFromObj() support for exact matching of empty key. * Tk Portuguese localization support (pt.msg). * Tk more robust when X server does not recognize color name "Black". * Tk_PhotoPutBlock() performance improvement. * [lsearch -start $pastEnd] no longer finds match at end of list. * Correct [expr abs($LONG_MIN)] result. * Correct [string range] failures on some strings containing \x00. * TCL_EVAL_GLOBAL and [uplevel 0] agreement when traces or [unknown] active. * Corrections to context of auto-loading the target of an interp alias. * Corrected some interference between enter and enterstep traces. * Correct [$img configure -data] failure to change X display. * Tk_GetBitmapFromData() thread safety. * Crashes in [grid] for some invalid index arguments. * Crash when all content of a [text] is elided. * Crash in [$text edit undo/redo]. * Crash in animated GIF display with variable frame size. * Crash related to pipe usage in thread-enabled Tcl on Windows. * Crash when [$text dump -command] changes contents while dumping. * Crash reading utf-8 when multibyte char spans multiple buffers at EOF. * Several finalization crashes corrected.
Add link options to have a correct dependency_libs line in .la files on NetBSD. This fixes PR pkg/32915. Bump PKGREVISION.
Recursive revision bump / recommended bump for gettext ABI change.
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.
Fixed wrong use of WRKSRC.
libtk84.so contains rpath entries now on FreeBSD and DragonFly, bump revision.
Remove the workaround for installing the man pages into a staged directory. This is not needed for this version of tk. Okayed by maintainer.
Define TK_VERSION in a separate file so that it can be included by other packages such as tcl-tkX, which is currently broken due to the hardcoded Tk version.
Restore original quoting syntax of variables in t{k,cl}Config.sh in order to follow the principle of least surprise between the packages and the mainstream builds. Approved by jwise@. Bump PKGREVISION of lang/tcl, x11/tk, x11/tk83 to 1 and of lang/tcl83 to 2.
Changes 8.4.11: * Bug fixes
Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc. Several changes are involved since they are all interrelated. These changes affect about 1000 files. The first major change is rewriting bsd.builtin.mk as well as all of the builtin.mk files to follow the new example in bsd.builtin.mk. The loop to include all of the builtin.mk files needed by the package is moved from bsd.builtin.mk and into bsd.buildlink3.mk. bsd.builtin.mk is now included by each of the individual builtin.mk files and provides some common logic for all of the builtin.mk files. Currently, this includes the computation for whether the native or pkgsrc version of the package is preferred. This causes USE_BUILTIN.* to be correctly set when one builtin.mk file includes another. The second major change is teach the builtin.mk files to consider files under ${LOCALBASE} to be from pkgsrc-controlled packages. Most of the builtin.mk files test for the presence of built-in software by checking for the existence of certain files, e.g. <pthread.h>, and we now assume that if that file is under ${LOCALBASE}, then it must be from pkgsrc. This modification is a nod toward LOCALBASE=/usr. The exceptions to this new check are the X11 distribution packages, which are handled specially as noted below. The third major change is providing builtin.mk and version.mk files for each of the X11 distribution packages in pkgsrc. The builtin.mk file can detect whether the native X11 distribution is the same as the one provided by pkgsrc, and the version.mk file computes the version of the X11 distribution package, whether it's built-in or not. The fourth major change is that the buildlink3.mk files for X11 packages that install parts which are part of X11 distribution packages, e.g. Xpm, Xcursor, etc., now use imake to query the X11 distribution for whether the software is already provided by the X11 distribution. This is more accurate than grepping for a symbol name in the imake config files. Using imake required sprinkling various builtin-imake.mk helper files into pkgsrc directories. These files are used as input to imake since imake can't use stdin for that purpose. The fifth major change is in how packages note that they use X11. Instead of setting USE_X11, package Makefiles should now include x11.buildlink3.mk instead. This causes the X11 package buildlink3 and builtin logic to be executed at the correct place for buildlink3.mk and builtin.mk files that previously set USE_X11, and fixes packages that relied on buildlink3.mk files to implicitly note that X11 is needed. Package buildlink3.mk should also include x11.buildlink3.mk when linking against the package libraries requires also linking against the X11 libraries. Where it was obvious, redundant inclusions of x11.buildlink3.mk have been removed.
patch TCL_SRC_DIR and TK_SRC_DIR into tclConfig.sh and tkConfig.sh correctly
Set "LIB_RUNTIME_DIR" in "CONFIGURE_ENV" to make sure that "${PREFIX}/lib/tclConfig.sh" prints a reasonable value for "{TCL_CC_SEARCH_FLAGS}" to avoid confusing buildlink3.
Marked pthread as required for NetBSD-1.6.2. Fixed some quoting errors. Approved by jlam.
Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.
patch tclConfig.sh and tkConfig.sh so that they do not contain references to the build environment, which of course no longer exists once we install the file. Also make sure that variables are set using double quotes, so that variables inside are expanded. Ok jwise@.
Changes 8.4.9: * Fixed segfault in info vars trivial matching branch (new in 8.4.8) * Fixed the treatment of backslashes in file join on Windows * Improved readdir_r detection and usage on unix * Fixed potential unix fileevent issue on 64-bit systems * Remove file normalize on tcl_findLibrary search path uniqification added in 8.4.8 * Ensure tilde paths are not returned specially by 'glob' * Fixed clipping of partially transparent images on buttons on unix to avoid X error * Fix Tk_PhotoPut(Zoomed)Block overlay compositing of partially transparent areas on blank targets
Post-patch removed, since there is no mkLinks script any more
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
Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10 in the process. (More information on tech-pkg.) Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and installing .la files. Bump PKGREVISION (only) of all packages depending directly on the above via a buildlink3 include.
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
Reverse previous commit (disabling thread-safety), which was poorly though through, unacceptably breaks threaded apps, and was made without consulting the package's maintainer. To quote my mail to packages@: I am reversing this change. With this change, tcl is _not_ usable in threaded apps, while without this change, tcl is perfectly usable in non-threaded apps. The fix for a package which is incorrectly written is not to break the package it depends on, but do your job correctly when writing the package. With buildlink3, this is mind-numbingly easy to do. That you neither contacted the maintainer of this package, nor did the buildlink and dependent package changes which your change requires shows that you have not really thought this through. So, as I said, I am reversing this change. Fix your own package, don't break others.
Don't --enable-threads for now. If we do this, all potential users of libtcl.so/libtk.so (whether linking it in or dlopen() it) must be linked against libpthread. This is something we can't guarantee. Fixes bulk build error in py-imagingtk and numerous runtime problems.
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.
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.
Build thread-safe versions of tcl and tk. Bump PKG_REVISION to nb1 to match.
Update Tcl/Tk to 8.4.6. * Tcl_Obj sharing fixed in [binary scan] * Updated errno usage for recent glibc * Fixed [file normalize ~unknownuser] error * Fixed two memory leaks in VFS code * Fixed possible infinite loop in TclFinalizeFilesystem * Updated HP-UX 11 build libraries setup * Unix std channels forced to exist at startup * Stopped broken [exec] quoting of '{' * Fixed memory leak with very long host names * Corrected level interpretation of Tcl_CreateTrace * Allow 64-bit configure on IRIX64-6.5* * Several OS X/Aqua native integration improvements (scrollbar, event generate, unicode clipboard, tk_messageBox, mousewheel event, alpha blending for partially transparent images) * Recognized native hand2/fleur cursors on Windows * Post menubuttons so they stay on screen better * Fixed crash during intra-image copy/resize * New msg catalogs for Esperanto and Polish * Corrections bold/italic font handling (width calculations) on Windows * Fixed shrinking grid geometry calculations
Update tk to 8.4.5. Too many changes since 8.3.4. Please see ChangeLog in the distfile.
Replace lang/tcl with lang/tcl83. Packages compatible with 8.4 will be updated to depend on lang/tcl after Tcl/Tk update.
Remove a temporary directory created at post-install, so that a non-root user can 'make clean'. Approved by wiz@.
Set permission of man directories correctly. Approved by wiz@.
Move WRKSRC definition away from the first paragraph in a Makefile.
bl3ify
s/netbsd.org/NetBSD.org/
make ${PAX} usage consistent: - group 'zrw' and 'p' args, -s last - use the && operator consistently - strip unneeded parens - some whitespace cleanup
Place WRKSRC where it belongs, to make pkglint happy; ok'ed by wiz.
convert to use test target from bsd.pkg.mk addresses PR pkg/19416
Merge changes in packages from the buildlink2 branch that have buildlink2.mk files back into the main trunk. This provides sufficient buildlink2 infrastructure to start merging other packages from the buildlink2 branch that have already been converted to use the buildlink2 framework.
Convert to use the buildlink2 framework. Trim any unnecessary changes in the patches or remove them entirely.
Touch a few files that are modified as part of post-build so that they're not rebuilt at install-time. This fixes buildlink leakage for tk noted in pkg/15794.
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)
Get rid of manually adding "nbX" to PKGNAME when a pkg was changed in pkgsrc. Instead, a new variable PKGREVISION is invented that can get bumped independent of DISTNAME and PKGNAME. Example #1: DISTNAME= foo-X.Y PKGREVISION= Z => PKGNAME= foo-X.YnbZ Example #2: DISTNAME= barthing-X.Y PKGNAME= bar-X.Y PKGREVISION= Z => PKGNAME= bar=X.YnbZ (!) On subsequent changes, only PKGREVISION needs to be bumped, no more risk of getting DISTNAME changed accidentally.
I am a triple idiot. The only relevant variable that x11.buildlink.mk redefines about which buildlink.mk files would care is BUILDLINK_X11_DIR, which points to the location of the X11R6 hierarchy used during building. If x11.buildlink.mk isn't included, then BUILDLINK_X11_DIR defaults to ${X11BASE} (set in bsd.pkg.mk), so its value is always safe to use. Remove the ifdefs surrounding the use of BUILDLINK_X11_DIR in tk/buildlink.mk and revert changes to move x11.buildlink.mk before the other buildlink.mk files.
x11.buildlink.mk needs to be included before any buildlink.mk files that use X11_BUILDLINK_MK as a test value. Generally just reordering the inclusions so that x11.buildlink.mk comes before the other buildlink.mk files will make everthing work.
Strongly-buildlinkify.
Don't install the short names for section 3 manpages as the names are
too generic. Approved by [email protected].
Touch ${TK_LIB_FILE} during build so that it doesn't have to be re-linked during installation.
Move inclusion of buildlink.mk file below GNU_CONFIGURE and USE_LIBTOOL settings.
Convert to use buildlink.mk files and mark as USE_BUILDLINK_ONLY.
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.
Cleanup MKDIR usage => INSTALL_*_DIR XXX need to teach pkglint to be more picky about this
Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT.
Depend on tcl>=8.3.2 instead of tcl-8.3.2 now that PKGNAME of tcl is bumped to tcl-8.3.2nb1.
Remove any existing ${PREFIX}/bin/wish symbolic link before creating a new one. Fixes PR pkg/11233, from Laine Stump, albeit in a different way, since Solaris disagrees on what "ln -fs" means.
Also install the private tk header file `default.h' to ${PREFIX}/include/tk/generic as it is needed by mbone/nte.
Add mirror on "ftp.informatik.uni-hamburg.de" to master site list.
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.
Initial revision