[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#892990: lablgl: depends on deprecated Tcl/Tk 8.5



Source: lablgl
Version: 1:1.05-2
Severity: important
Tags: patch

Dear Maintainer,

The current lablgl package build-depends on the deprecated Tcl/Tk 8.5
which is to be removed from Debian soon. I'd like to suggest a patch
which switches this dependency to tcl-dev and tk-dev (the default
version, as for now it's 8.6). If you don't mind, I could do NMU
with this change. I can't say that I've thorouhgly tested if it
works fine though.

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

Kernel: Linux 4.14.0-0.bpo.3-amd64 (SMP w/12 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
diff -Nru lablgl-1.05/debian/changelog lablgl-1.05/debian/changelog
--- lablgl-1.05/debian/changelog	2015-10-10 07:54:02.000000000 +0300
+++ lablgl-1.05/debian/changelog	2018-03-15 11:54:47.000000000 +0300
@@ -1,3 +1,11 @@
+lablgl (1:1.05-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Switch to the Default Tcl/Tk version from 8.5 since 8.5 is to be removed
+    from Debian.
+
+ -- Sergei Golovan <sgolovan@debian.org>  Thu, 15 Mar 2018 11:54:47 +0300
+
 lablgl (1:1.05-2) unstable; urgency=medium
 
   * Add liblabltk-ocaml-dev to Build-Depends
diff -Nru lablgl-1.05/debian/control lablgl-1.05/debian/control
--- lablgl-1.05/debian/control	2015-02-26 10:55:23.000000000 +0300
+++ lablgl-1.05/debian/control	2018-01-19 15:13:13.000000000 +0300
@@ -11,8 +11,8 @@
 Build-Depends:
  debhelper (>= 9),
  ocaml (>= 4.00.1),
- tcl8.5-dev,
- tk8.5-dev,
+ tcl-dev,
+ tk-dev,
  liblabltk-ocaml-dev,
  libgl1-mesa-dev | libgl-dev,
  libglu1-mesa-dev | libglu-dev,
@@ -36,8 +36,8 @@
 #
 # debhelper (>= 4.0): used in debian/rules, debian/compat
 # ocaml: the ocaml compiler and stdlib, with labltk
-# tcl8.5-dev: #include <tcl.h>
-# tk8.5-dev: #include <tk.h>
+# tcl-dev: #include <tcl.h>
+# tk-dev: #include <tk.h>
 # libgl-dev: #include <GL/gl.h>
 #            #include <GL/glx.h>
 # libglu-dev: #include <GL/glu.h>
@@ -71,7 +71,7 @@
 Depends:
  libgl1-mesa-dev | libgl-dev,
  libglu1-mesa-dev | xlibmesa-glu-dev | libglu-dev,
- tk8.5-dev,
+ tk-dev,
  ocaml-findlib,
  libxmu-dev,
  freeglut3-dev,
diff -Nru lablgl-1.05/debian/Makefile.config lablgl-1.05/debian/Makefile.config
--- lablgl-1.05/debian/Makefile.config	2013-07-24 10:21:16.000000000 +0400
+++ lablgl-1.05/debian/Makefile.config	2018-01-19 15:13:38.000000000 +0300
@@ -20,9 +20,9 @@
 
 # Where to find Tcl/Tk headers
 # This must the same version as for LablTk
-TKINCLUDES = -I/usr/include/tcl8.5
+TKINCLUDES = -I/usr/include/tcl
 # Tcl/Tk libs (for broken RTLD_GLOBAL: e.g. FreeBSD 4.0)
-TKLIBS = -ltk8.5 -ltcl8.5
+TKLIBS = -ltk -ltcl
 
 # Where to find OpenGL/Mesa/Glut headers and libraries
 GLINCLUDES =

Reply to: