Debian Patches

Status for blt/3.0~1+08570046+dfsg-8

Patch Description Author Forwarded Bugs Origin Last update
configure.patch Patch updates configure.in to avoid some obsolete macros. Also, it fixes a few code snippets to compile by GCC 14,
and fixes an AWK script which extracts Tcl major version from tcl.h.
Also, it removes the "g" suffix from the libraries with enabled
symbols. For Debian package we enable symbols, and then strip them
into a separate debug package.
Sergei Golovan yes upstream 2025-05-23
ldflags.patch Patch adds support for externally set LDFLAGS. It lets passing hardening flags from debian/rules. Also, the rpath
definition is removed. Also, it adds missing -lm and -lX11
to the lists of libraries to link with. Also, it adds missing
$(tcl_lib_spec) to the linking phase of several libraries to enable
building them with BLT stubs. And finally, it adds bltTclLib.o
to the objects list for libBltTcl30.so, otherwise it complains
about Blt_InitTclStubs() when is built with stubs.
Sergei Golovan yes upstream
install.patch Patch fixes installing directories and copying files under DESTDIR. Also, it fixes clean distclean targets, which is not
strictly necessary, because debian/rules builds the packages
in subdirectories of debian/ instead of the main source directory.
Sergei Golovan yes upstream
doc-typos.patch Documentation fixes Corrections in spelling in the blt documentation. Paul E. Johnson (Debian Packaging) <pauljohn32@freefaculty.org> yes upstream
uninitialized.patch Patch initializes all variables for which GCC gave warnings about unitialized or maybe unitialized variables. Sergei Golovan no
gcc-15.patch Patch fixes FTBFS with GCC 15 1. Rename bool to boolv, true to truev false to falsev
2. Fix declaration of GenericMathProc
Sergei Golovan yes upstream 2025-05-18
missingstubs.patch Patch introduces Blt_SetPictureInfo() and Blt_UnsetPictureInfo() into the BLT stubs table. Otherwise, PictJpg30.so cannot be built with
stubs, and complains about missing symbols.
Sergei Golovan yes upstream 2025-06-06
fix-htext-select-background.patch Patch fixes a typo in Htext widget options list. The -selectbackground's option type should be BLT_CONFIG_BACKGROUND,
otherwise BLT segfaults when rendering selected text.
Sergei Golovan yes upstream 2025-06-06
fix-parseargs-set.patch Patch fixes two typos in blt::parseargs Sergei Golovan yes upstream
fix-removing-window-from-a-tab.patch Patch fixes misbehavior in a tabset widget when detaching/steeling the associated window from a tab
destroys the tab itself. The patch restores behavior
from BLT 2.
Sergei Golovan yes upstream 2025-07-01
fix-tab-window-paddings.patch Patch fixes incorrect padding in a tabset (left and top padding double) because of incorrectly
calculated cavity width and height.
Sergei Golovan yes upstream 2025-07-01
fix-inits-in-blt-h.patch Patch declares Blt_TclInit() and Blt_TkInit() not only when USE_BLT_STUBS is defined in blt.h. Sergei Golovan yes upstream 2025-07-01
fix-vectors.patch Patch fixes two bugs in vector math functions (skew() and q2()) and enhances the [blt::vector create] command.
Specifically:
1. src/bltVecMath.c: fixes a bug with skew() - drops FABS().
2. src/bltVecMath.c: fixes a bugs with q2() - redefine as median() instead
of mean().
3. src/bltVectors.c: adds -first and -last options for vector creation.
Also, changes the type of -length to BLT_SWITCH_INT_POS because the
size have type int (so BLT_SWITCH_LONG_POS overwrites switches.first).
4. src/bltVectors.c: Moves parsing name(12) and name(1:10) to a separate
function, which is called both from VectorCreateOp() and OldVectorCreate().
5. src/bltVectors.c: changes size = last - first to size = last - first + 1
on vector creation.
6. src/bltVectors.c: implements defining vector size and offset in
[blt::vector create] by both (23:42) and -first 23 -last 42.
7. src/bltVectors.c: implements v(:) as a synonym to v(all).
8. tests/vector.tcl: fixes all the existing tests and adds a few
tests for [blt::vector create].
9. return a single value instead of a list if only one index is requested
Sergei Golovan yes upstream 2025-07-01
fix-graphs.patch Patch fixes two issues in the blt::graph widget: 1. storing graph in a Tk image if the image have zero
height or width
2. typo in defining upper limit of errorbar
Sergei Golovan no
build-with-mariadb.patch Patch helps building MySQL data tables against MariaDB. Sergei Golovan no 2025-06-06
drop-internal-interp.patch Patch drops usage of the private Interp structure since it may and indeed changes between Tcl releases.
The patch helps with porting BLT to Tcl/Tk 9.0.
Sergei Golovan no
tcl9.patch Patch ports BLT to Tcl/Tk 9.0 1. use libtcl9tk9.0 to link if built with Tk 9.0
2. define no longer provided macros CONST, VOID, Tk_Offset()
3. use Tcl_Size for Tcl 9, define it as int for Tcl 8
4. do not use dropped -encoding binary for channels
5. use 'unset' subcommand instead of 'Unset' for datatable (why?)
6. wherever TCL_THREADS is checked, add checking for TCL_MAJOR_VERSION>=9
because Tcl 9 is always built with threads
7. replace Tcl_Backslash() by Tcl_UtfBackslash()
8. drop creating math function max and min because they already exist
9. drop functions Blt_tcl_Unload() and Blt_tcl_SafeUnload() (why?)
10. add extra switch cases for TK_ANCHOR_NULL and for TK_JUSTIFY_NULL
11. explicitly expand tilde in filenames for sftp to maintain the
same behavior as with Tcl 8
12. drop checking for TclpHasSockets()
13. drop call to Tk_FreeXId() (why?)
14. replace check for flags & TCL_INTERP_DESTROYED by Tcl_InterpDeleted()
15. use void *DestroyData for Tcl 9
16. switch from the old canvas item interface to the new Tcl_Obj based interface
17. for BLT old config define no longer defined in Tk 9 TK_CONFIG_OPTION_SPECIFIED
18. switch from ino longer defined Tk_InternalBorderWidth() to
Tk_InternalBorderTop()+Tk_InternalBorderBottom() and to
Tk_InternalBorderLeft()+Tk_InternalBorderRight()
19. guard a call to Tcl_SetStringObj(objPtr, ...) for the case when objPtr is shared
20. drop TkCopyAndGlobalEval() declaration
20. drop TkSetWindowMenuBar() declaration for Tk 9, use Tk_SetWindowMenubar() instead
21. use Tk_UseWindow() instead of TkpUseWindow() for Tk 9
22. use Tk_MakeContainer() instead of TkpMakeContainer() for Tk 9
23. use Tk_SetMainMenubar() instead of TkpSetMainMenubar() for Tk 9
24. capitalize init functions like Blt_tcl in pkgIndex.tcl to make them
loadable into Tcl 9
25. update borrowed internal Tcl and Tk files
26. explicitly prepend :: to indicate the root namespace in Tcl code
27. define TCL_NO_TOMMATH_H to build against Tcl 9 with internal libtommath
Sergei Golovan no
tcl9tests.patch Patch ports internal BLT tests to Tcl 9 and fixes the datatable test cases. Sergei Golovan no
tcl9demos.patch Patch ports BLT demos to BLT 3.0 and to Tcl/Tk 9.0 1. use [trace add variable] instead of [trace variable]
2. fix using global variables inside [namespace eval]
3. use 0o777 notation instead of 0777 for octal literals
4. do not use [pack append]
5. require blt_picture_text explicitly
6. use tabset style
Sergei Golovan no
tcl9libnames.patch Patch adds prefix tcl9 to the names of thr libraries to make BLT coinstallable for Tcl/Tk 8 and Tcl/Tk 9 similarly
to other packages
Sergei Golovan no

All known versions for source package 'blt'

Links