Source: tkdesk
Version: 2.0-9.1
Severity: grave
Tags: patch
Justification: renders package unusable

Dear Maintainer,

Since the blt package is built against Tcl/Tk 8.6 tkdesk stopped
working and has to be ported to Tcl/Tk 8.6 as well.

Unfortunately, simple bin-NMU doesn't suffice (tkdesk uses deprecated
interp->result field, which support was dropeed in 8.6). I've prepared
a small patch which allows tkdesk to build and I caould do NMU if
you don't mind.

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.14-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -u tkdesk-2.0/debian/changelog tkdesk-2.0/debian/changelog
--- tkdesk-2.0/debian/changelog
+++ tkdesk-2.0/debian/changelog
@@ -1,3 +1,11 @@
+tkdesk (2.0-9.2) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Switched to Tcl/Tk 8.6 to work with newer BLT.
+  * Defined USE_INTERP_RESULT macro to build with Tcl 8.6.
+
+ -- Sergei Golovan <sgolo...@debian.org>  Fri, 04 Jul 2014 07:53:30 +0400
+
 tkdesk (2.0-9.1) unstable; urgency=low
 
   * Non-maintainer upload.
diff -u tkdesk-2.0/debian/rules tkdesk-2.0/debian/rules
--- tkdesk-2.0/debian/rules
+++ tkdesk-2.0/debian/rules
@@ -15,7 +15,7 @@
 configure: configure-stamp
 configure-stamp:
 	dh_testdir
-	./configure --with-blt=/usr/lib --prefix=/usr --mandir=/usr/share/man --with-tcl=/usr/lib/tcl8.5 --with-tk=/usr/lib/tk8.5 --with-itcl=/usr/lib/itcl3.4 --with-itcl-lib=-litcl3.4 --with-itcl-version=3.4
+	./configure --with-blt=/usr/lib --prefix=/usr --mandir=/usr/share/man --with-tcl=/usr/lib --with-tk=/usr/lib --with-itcl=/usr/lib/itcl3.4 --with-itcl-lib=-litcl3.4 --with-itcl-version=3.4
 	touch configure-stamp
 
 build: build-stamp
@@ -23,7 +23,7 @@
 build-stamp: configure-stamp
 	dh_testdir
 
-	make CC_EXTRA_OPTS="-O2 -g -Wall" TKDESK_LIBRARY=$(TKDESK_LIBRARY)
+	make CC_EXTRA_OPTS="-O2 -g -Wall -DUSE_INTERP_RESULT" TKDESK_LIBRARY=$(TKDESK_LIBRARY)
 	touch build-stamp
 
 clean:
diff -u tkdesk-2.0/debian/control tkdesk-2.0/debian/control
--- tkdesk-2.0/debian/control
+++ tkdesk-2.0/debian/control
@@ -3,7 +3,7 @@
 Priority: extra
 Maintainer: Daniel Martin <fiz...@debian.org>
 Standards-Version: 3.6.1.0
-Build-Depends: itcl3-dev (>> 3.3), blt-dev, tk8.5-dev (>= 8.5.7-2), debhelper (>> 5.0.0)
+Build-Depends: itcl3-dev (>> 3.3), blt-dev (>= 2.5.3), tk-dev (>= 8.6.0), debhelper (>> 5.0.0)
 
 Package: tkdesk
 Architecture: any

Reply via email to