Source: tdom
Version: 0.9.6-3
Severity: important
Tags: patch

Dear Maintainer,

I'm planning to drop Tcl/Tk 9.0 from Debian and replace it by
9.1 for forky. Please, rebuild tdom with Tcl 9.1 instead of 9.0
as it is built currently.

Attached is the patch which can help you with that. It replaces all
tcl9.0 by tcl9.1 in the dependencies, and in debian/rules.
The only problem with Tcl 9.1 is that `make test` overrides
the path where tclsh searches for its library files, so I
had to add TCLSH_ENV='' to the respective call in debian/rules.

-- System Information:
Debian Release: 13.8
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (500, 'stable-debug'), (500, 
'proposed-updates'), (500, 'stable'), (1, 'experimental'), (1, 'unstable'), (1, 
'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, arm64

Kernel: Linux 6.12.111+deb13-amd64 (SMP w/24 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

-- no debconf information
diff --git a/debian/changelog b/debian/changelog
index ce33011..220fe8c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+tdom (0.9.6-4) unstable; urgency=medium
+
+  [ Sergei Golovan ]
+  * Build the package with Tcl 9.1 instead of Tcl 9.0.
+
+ -- Sergei Golovan <[email protected]>  Fri, 20 Nov 2026 19:19:32 +0300
+
 tdom (0.9.6-3) unstable; urgency=medium
 
   [ Hector Romojaro ]
diff --git a/debian/control b/debian/control
index f8eadf7..0970f11 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,7 @@ Source: tdom
 Section: libs
 Maintainer: Tcl/Tk Debian Packagers <[email protected]>
 Uploaders: Hector Romojaro <[email protected]>, Stefan Sobernig 
<[email protected]>
-Build-Depends: debhelper (>= 13), tcl-dev, tcl8.6-dev, tcl9.0-dev, 
libexpat1-dev, libgumbo-dev, pkgconf, debhelper-compat (= 13)
+Build-Depends: debhelper (>= 13), tcl-dev, tcl8.6-dev, tcl9.1-dev, 
libexpat1-dev, libgumbo-dev, pkgconf, debhelper-compat (= 13)
 Rules-Requires-Root: no
 Standards-Version: 4.7.4
 Homepage: https://tdom.org/
@@ -13,7 +13,7 @@ Package: tdom
 Architecture: any
 Multi-Arch: same
 Depends: ${tclsh:Depends}, ${shlibs:Depends}, ${misc:Depends}
-Provides: tcl-tdom (= ${binary:Version}), tcl8.6-tdom (= ${binary:Version}), 
tcl9.0-tdom (= ${binary:Version})
+Provides: tcl-tdom (= ${binary:Version}), tcl8.6-tdom (= ${binary:Version}), 
tcl9.1-tdom (= ${binary:Version})
 Description: fast XML/DOM/XPath/XSLT/HTML/JSON extension for Tcl written in C
  tDOM takes advantage of Expat, the XML parser from James Clark,
  including namespace and DTD support. It includes a modified version
diff --git a/debian/rules b/debian/rules
index 0b04663..3fc01a6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,7 +3,7 @@
 #export DH_VERBOSE=1
 #export DH_OPTIONS=-v
 
-TCLVERSIONS = 9.0 8.6
+TCLVERSIONS = 9.1 8.6
 
 # Hardening
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
@@ -175,6 +175,6 @@ override_dh_installdeb:
 override_dh_auto_test:
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
        for v in $(TCLVERSIONS) ; do \
-               ( cd debian/$$v/unix ; $(MAKE) test) ; \
+               ( cd debian/$$v/unix ; $(MAKE) test TCLSH_ENV='') ; \
        done
 endif

Reply via email to