Package: zangband Version: 2.7.5pre1-9 Severity: serious Tags: patch Dear Maintainer,
We are about to drop obsolete Tcl/Tk 8.4 from Debian, but your zangband package still depends on it. I'd like to suggest a patch which switches to the current default tk-dev in build dependencies. I had to add the unversioned libraries to the search set in the configure script. If you don't mind, I could do NMU with these changes. -- System Information: Debian Release: 7.3 APT prefers proposed-updates APT policy: (500, 'proposed-updates'), (500, 'stable'), (100, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.2.0-4-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 zangband-2.7.5pre1/debian/changelog zangband-2.7.5pre1/debian/changelog --- zangband-2.7.5pre1/debian/changelog 2013-01-12 22:32:16.000000000 +0400 +++ zangband-2.7.5pre1/debian/changelog 2014-01-31 11:57:03.000000000 +0400 @@ -1,3 +1,10 @@ +zangband (1:2.7.5pre1-9.1) unstable; urgency=low + + * Non-maintainer upload. + * Replace obsolete build dependency on tk8.4-dev by tk-dev. + + -- Sergei Golovan <[email protected]> Fri, 31 Jan 2014 11:56:59 +0400 + zangband (1:2.7.5pre1-9) unstable; urgency=low [ Markus Koschany ] diff -Nru zangband-2.7.5pre1/debian/control zangband-2.7.5pre1/debian/control --- zangband-2.7.5pre1/debian/control 2013-01-02 16:07:31.000000000 +0400 +++ zangband-2.7.5pre1/debian/control 2014-01-31 11:55:42.000000000 +0400 @@ -11,7 +11,7 @@ libxaw7-dev, libxext-dev, libxt-dev, - tk8.4-dev, + tk-dev, x11proto-core-dev XS-Autobuild: yes Homepage: http://www.zangband.org diff -Nru zangband-2.7.5pre1/debian/patches/910_tcltk.diff zangband-2.7.5pre1/debian/patches/910_tcltk.diff --- zangband-2.7.5pre1/debian/patches/910_tcltk.diff 1970-01-01 03:00:00.000000000 +0300 +++ zangband-2.7.5pre1/debian/patches/910_tcltk.diff 2014-01-31 12:06:29.000000000 +0400 @@ -0,0 +1,15 @@ +--- a/configure.in ++++ b/configure.in +@@ -141,9 +141,9 @@ + ]) + + if test "x$with_tcltk" != "xno" ; then +- AC_SEARCH_LIBS([Tcl_Init], [tcl84 tcl8.4 tcl83 tcl8.3], +- AC_SEARCH_LIBS([Tk_Init], [tk84 tk8.4 tk83 tk8.3], +- [AC_SEARCH_HEADERS(/usr/local/include/tcl.h /usr/local/include/tcl/tcl.h /usr/include/tcl.h /usr/include/tcl8.4/tcl.h /usr/local/include/tcl8.4/tcl.h /usr/include/tcl8.3/tcl.h /usr/local/include/tcl8.3/tcl.h ++ AC_SEARCH_LIBS([Tcl_Init], [tcl tcl84 tcl8.4 tcl83 tcl8.3], ++ AC_SEARCH_LIBS([Tk_Init], [tk tk84 tk8.4 tk83 tk8.3], ++ [AC_SEARCH_HEADERS(/usr/include/tcl/tcl.h /usr/local/include/tcl.h /usr/local/include/tcl/tcl.h /usr/include/tcl.h /usr/include/tcl8.4/tcl.h /usr/local/include/tcl8.4/tcl.h /usr/include/tcl8.3/tcl.h /usr/local/include/tcl8.3/tcl.h + ,BASE_TCL_DIR) + + AC_SEARCH_HEADERS("$BASE_TCL_DIR/tk.h" /usr/local/include/tk.h /usr/local/include/tcl/tk.h /usr/include/tk.h /usr/include/tk8.4/tk.h /usr/local/include/tk8.4/tk.h /usr/include/tk8.3/tk.h /usr/local/include/tk8.3/tk.h diff -Nru zangband-2.7.5pre1/debian/patches/series zangband-2.7.5pre1/debian/patches/series --- zangband-2.7.5pre1/debian/patches/series 2012-12-29 01:50:55.000000000 +0400 +++ zangband-2.7.5pre1/debian/patches/series 2014-01-31 12:04:58.000000000 +0400 @@ -4,3 +4,4 @@ 900_pathnames.diff 200_spearOfHagen.diff 120_rng_64bit.diff +910_tcltk.diff

