#1108621 skycat: Prospective upgrade of blt to 3.0 affects skycat

Package:
skycat
Source:
skycat
Description:
Image visualization and access to catalogs and data for astronomy
Submitter:
Sergei Golovan
Date:
2025-07-01 16:39:02 UTC
Severity:
normal
Tags:
#1108621#5
Date:
2025-07-01 16:37:20 UTC
From:
To:
Package: skycat
Version: 3.1.2+starlink1~b+dfsg-9
Severity: normal
Tags: patch

Dear Maintainer,

I'm planning to upgrade the blt package to 3.0 shortly after the release
of trixie, and this will affect skycat.

The modifications for adapting skycat to the upgrade of blt are fairly
small though:

1) the library name will change from libBLT to libBlt30
2) the initialization function Blt_Init() will become two: Blt_TclInit()
   and Blt_TkInit()
3) importing all commands from blt::* will not work as blt::scale will
   owerwrite scale from Tk and they are not compatible, so some trick
   will have to be used to prevent this.

The attached patch fixes these problems. Other than that, I've stumbled
on bug [1] in the skycat window, I'll try to find a fix for it before
the upgrade.

You can do additional tests using the blt packages from experimental.

[1] https://sourceforge.net/p/blt/bugs/157/

Cheers!