Source: ngspice
Version: 24-1.1
Severity: grave
Tags: patch
Justification: renders package unusable

Dear Maintainer,

Recently the blt package was ported to the Tcl/Tk 8.6, so tclspice needs
to do the same because it uses BLT. I've prepared a patch and can 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 -Nru ngspice-24/debian/changelog ngspice-24/debian/changelog
--- ngspice-24/debian/changelog	2014-02-14 09:43:38.000000000 +0400
+++ ngspice-24/debian/changelog	2014-07-04 07:35:11.000000000 +0400
@@ -1,3 +1,12 @@
+ngspice (24-1.2) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Replace dependencies on Tcl/Tk 8.5 by Tcl/Tk 8.6 to match the newer
+    blt package.
+  * Define USE_INTERP_RESULT to make tclspice buildable with Tcl 8.6.
+
+ -- Sergei Golovan <sgolo...@debian.org>  Fri, 04 Jul 2014 07:35:05 +0400
+
 ngspice (24-1.1) unstable; urgency=low
 
   * Non-maintainer upload.
diff -Nru ngspice-24/debian/control ngspice-24/debian/control
--- ngspice-24/debian/control	2014-01-31 11:23:48.000000000 +0400
+++ ngspice-24/debian/control	2014-07-05 10:26:27.000000000 +0400
@@ -6,7 +6,7 @@
  Andreas Tille <ti...@debian.org>
 Build-Depends: debhelper (>= 8), automake, libtool, libxaw7-dev, flex,
  bison, gfortran, libedit-dev, libncurses5-dev,
- texinfo, tcl8.5-dev, tcl8.5, tk8.5-dev, tk8.5, blt-dev
+ texinfo, tcl8.6-dev, tcl8.6, tk8.6-dev, tk8.6, blt-dev (>= 2.5.3)
 Build-Depends-Indep: lyx, elyxer, texlive, texlive-latex-extra, texlive-lang-greek,
  texlive-generic-recommended, imagemagick
 Standards-Version: 3.9.3
@@ -29,7 +29,7 @@
 
 Package: tclspice
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, ngspice, blt, tcl8.5, tk8.5
+Depends: ${shlibs:Depends}, ${misc:Depends}, ngspice, blt, tcl8.6, tk8.6
 Replaces: tclspice-dev
 Breaks: tclspice-dev
 Description: NGspice library for Tcl
diff -Nru ngspice-24/debian/rules ngspice-24/debian/rules
--- ngspice-24/debian/rules	2014-01-31 11:33:17.000000000 +0400
+++ ngspice-24/debian/rules	2014-07-04 07:36:02.000000000 +0400
@@ -14,7 +14,7 @@
 CROSS= --build $(DEB_BUILD_GNU_TYPE)
 endif
 
-
+CFLAGS= -DUSE_INTERP_RESULT
 
 config.status: config.status-stamp configure
 config.status-stamp:
@@ -57,7 +57,7 @@
 		--enable-cider \
 		--disable-debug \
 		--disable-x \
-		--with-tcl=/usr/lib/tcl8.5 \
+		--with-tcl=/usr/lib/tcl8.6 \
 		CFLAGS="$(CFLAGS)")
 	touch $@
 
-- 
debian-science-maintainers mailing list
debian-science-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to