[Pkg-tcltk-commits] r308 - in tk8.3/trunk/debian: . patches

sgolovan-guest at alioth.debian.org sgolovan-guest at alioth.debian.org
Fri Oct 19 12:06:30 UTC 2007


Author: sgolovan-guest
Date: 2007-10-19 12:06:30 +0000 (Fri, 19 Oct 2007)
New Revision: 308

Modified:
   tk8.3/trunk/debian/changelog
   tk8.3/trunk/debian/control
   tk8.3/trunk/debian/patches/tkinc.diff
   tk8.3/trunk/debian/rules
   tk8.3/trunk/debian/tk8.3-dev.dirs
Log:
[tk8.3]
Added backward compatibility (for transition purposes).


Modified: tk8.3/trunk/debian/changelog
===================================================================
--- tk8.3/trunk/debian/changelog	2007-10-19 12:06:07 UTC (rev 307)
+++ tk8.3/trunk/debian/changelog	2007-10-19 12:06:30 UTC (rev 308)
@@ -2,7 +2,8 @@
 
   * Removed TK_INC_DIR from tkConfig.sh and tcl.m4.
   * Moved architecture independent files from /usr/lib/tk8.3 to
-    /usr/share/tcltk/tk8.3 breaking backward compatibility.
+    /usr/share/tcltk/tk8.3. To keep backward compatibility tkConfig.sh is
+    linked into /usr/lib/tk8.3 directory.
   * Fixed bug with update-alternatives in prerm scripts.
   * Removed conflicts with tk and providing tk-dev packages from
     debian/control to prepare binary packages for default tk and tk-dev.

Modified: tk8.3/trunk/debian/control
===================================================================
--- tk8.3/trunk/debian/control	2007-10-19 12:06:07 UTC (rev 307)
+++ tk8.3/trunk/debian/control	2007-10-19 12:06:30 UTC (rev 308)
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Tcl/Tk Debian Packagers <pkg-tcltk-devel at lists.alioth.debian.org>
 Uploaders: Chris Waters <xtifr at debian.org>, Anselm Lingnau <lingnau at debian.org>, Sergei Golovan <sgolovan at debian.org>
-Build-Depends: debhelper (>= 5.0.0), x11proto-core-dev | x-dev, libx11-dev, libxt-dev, tcl8.3-dev (>= 8.3.5-8), quilt
+Build-Depends: debhelper (>= 5.0.0), x11proto-core-dev | x-dev, libx11-dev, libxt-dev, tcl8.3-dev (>= 8.3.5), quilt
 Standards-Version: 3.7.2
 Homepage: http://www.tcl.tk/
 
@@ -37,7 +37,7 @@
 Section: devel
 Priority: optional
 Architecture: any
-Depends: x11proto-core-dev | x-dev, libx11-dev, libxt-dev, tcl8.3-dev (>= 8.3.5-8), tk8.3 (= ${binary:Version})
+Depends: x11proto-core-dev | x-dev, libx11-dev, libxt-dev, tcl8.3-dev (>= 8.3.5), tk8.3 (= ${binary:Version})
 Suggests: tk8.3-doc
 Description: Tk toolkit for Tcl and X11, v8.3 - development files
  Tk is a cross-platform graphical toolkit which provides the Motif

Modified: tk8.3/trunk/debian/patches/tkinc.diff
===================================================================
--- tk8.3/trunk/debian/patches/tkinc.diff	2007-10-19 12:06:07 UTC (rev 307)
+++ tk8.3/trunk/debian/patches/tkinc.diff	2007-10-19 12:06:30 UTC (rev 308)
@@ -9,16 +9,16 @@
 
 Index: tk8.3-8.3.5/unix/configure
 ===================================================================
---- tk8.3-8.3.5.orig/unix/configure	2007-10-18 20:24:11.000000000 +0400
-+++ tk8.3-8.3.5/unix/configure	2007-10-18 20:24:13.000000000 +0400
-@@ -1612,6 +1612,7 @@
+--- tk8.3-8.3.5.orig/unix/configure	2007-10-19 15:46:13.000000000 +0400
++++ tk8.3-8.3.5/unix/configure	2007-10-19 15:46:13.000000000 +0400
+@@ -1611,6 +1611,7 @@
+ 		for i in `ls -d ${exec_prefix}/lib 2>/dev/null` \
  			`ls -d /usr/local/lib 2>/dev/null` \
  			`ls -d /usr/contrib/lib 2>/dev/null` \
++			`ls -d /usr/share/tcltk/tcl8.3 2>/dev/null` \
  			`ls -d /usr/lib 2>/dev/null` \
-+			`ls -d /usr/share/tcltk/tcl8.3 2>/dev/null` \
  			; do
  		    if test -f "$i/tclConfig.sh" ; then
- 			ac_cv_c_tclconfig=`(cd $i; pwd)`
 @@ -4846,6 +4847,9 @@
  TK_BUILD_STUB_LIB_PATH="`pwd`/${TK_STUB_LIB_FILE}"
  TK_STUB_LIB_PATH="${libdir}/${TK_STUB_LIB_FILE}"
@@ -39,8 +39,8 @@
  s%@XLIBSW@%$XLIBSW%g
 Index: tk8.3-8.3.5/unix/configure.in
 ===================================================================
---- tk8.3-8.3.5.orig/unix/configure.in	2007-10-18 20:24:02.000000000 +0400
-+++ tk8.3-8.3.5/unix/configure.in	2007-10-18 20:24:13.000000000 +0400
+--- tk8.3-8.3.5.orig/unix/configure.in	2007-10-19 15:46:10.000000000 +0400
++++ tk8.3-8.3.5/unix/configure.in	2007-10-19 15:46:13.000000000 +0400
 @@ -417,6 +417,9 @@
  TK_BUILD_STUB_LIB_PATH="`pwd`/${TK_STUB_LIB_FILE}"
  TK_STUB_LIB_PATH="${libdir}/${TK_STUB_LIB_FILE}"
@@ -62,7 +62,7 @@
 Index: tk8.3-8.3.5/unix/tkConfig.sh.in
 ===================================================================
 --- tk8.3-8.3.5.orig/unix/tkConfig.sh.in	2002-10-23 21:45:50.000000000 +0400
-+++ tk8.3-8.3.5/unix/tkConfig.sh.in	2007-10-18 20:24:13.000000000 +0400
++++ tk8.3-8.3.5/unix/tkConfig.sh.in	2007-10-19 15:46:13.000000000 +0400
 @@ -53,19 +53,23 @@
  
  # String to pass to linker to pick up the Tk library from its
@@ -108,21 +108,21 @@
  TK_STUB_LIB_PATH='@TK_STUB_LIB_PATH@'
 Index: tk8.3-8.3.5/unix/tcl.m4
 ===================================================================
---- tk8.3-8.3.5.orig/unix/tcl.m4	2007-10-18 20:24:11.000000000 +0400
-+++ tk8.3-8.3.5/unix/tcl.m4	2007-10-18 20:24:13.000000000 +0400
-@@ -62,6 +62,7 @@
+--- tk8.3-8.3.5.orig/unix/tcl.m4	2007-10-19 15:46:13.000000000 +0400
++++ tk8.3-8.3.5/unix/tcl.m4	2007-10-19 15:46:13.000000000 +0400
+@@ -61,6 +61,7 @@
+ 		for i in `ls -d ${exec_prefix}/lib 2>/dev/null` \
  			`ls -d /usr/local/lib 2>/dev/null` \
  			`ls -d /usr/contrib/lib 2>/dev/null` \
++			`ls -d /usr/share/tcltk/tcl8.3 2>/dev/null` \
  			`ls -d /usr/lib 2>/dev/null` \
-+			`ls -d /usr/share/tcltk/tcl8.3 2>/dev/null` \
  			; do
  		    if test -f "$i/tclConfig.sh" ; then
- 			ac_cv_c_tclconfig=`(cd $i; pwd)`
-@@ -157,6 +158,7 @@
+@@ -156,6 +157,7 @@
+ 		for i in `ls -d ${exec_prefix}/lib 2>/dev/null` \
  			`ls -d /usr/local/lib 2>/dev/null` \
  			`ls -d /usr/contrib/lib 2>/dev/null` \
++			`ls -d /usr/share/tcltk/tk8.3 2>/dev/null` \
  			`ls -d /usr/lib 2>/dev/null` \
-+			`ls -d /usr/share/tcltk/tk8.3 2>/dev/null` \
  			; do
  		    if test -f "$i/tkConfig.sh" ; then
- 			ac_cv_c_tkconfig=`(cd $i; pwd)`

Modified: tk8.3/trunk/debian/rules
===================================================================
--- tk8.3/trunk/debian/rules	2007-10-19 12:06:07 UTC (rev 307)
+++ tk8.3/trunk/debian/rules	2007-10-19 12:06:30 UTC (rev 308)
@@ -31,7 +31,7 @@
 	cd unix && \
 	  ./configure --prefix=/usr \
 		      --includedir=/usr/include/tcl$(v) \
-		      --with-tcl=/usr/share/tcltk/tcl$(v) \
+		      --with-tcl=/usr/lib/tcl$(v) \
 		      --enable-shared && \
 	  $(MAKE) CFLAGS=$(CFLAGS) \
 		  TK_LIBRARY="/usr/share/tcltk/tk$(v)"
@@ -134,8 +134,10 @@
 	dh_testroot -a
 	dh_movefiles -a
 # now, fix up file locations for .sh
-	mv debian/tk$(v)/usr/share/tcltk/tk$(v)/*.sh \
+	mv debian/tk$(v)/usr/share/tcltk/tk$(v)/tkConfig.sh \
 	   debian/tk$(v)-dev/usr/share/tcltk/tk$(v)
+	ln -s ../../share/tcltk/tk$(v)/tkConfig.sh \
+	      debian/tk$(v)-dev/usr/lib/tk$(v)/tkConfig.sh
 
 	dh_installdocs -a
 	install -d `pwd`/debian/tk$(v)/usr/share/doc/tk$(v)/examples/

Modified: tk8.3/trunk/debian/tk8.3-dev.dirs
===================================================================
--- tk8.3/trunk/debian/tk8.3-dev.dirs	2007-10-19 12:06:07 UTC (rev 307)
+++ tk8.3/trunk/debian/tk8.3-dev.dirs	2007-10-19 12:06:30 UTC (rev 308)
@@ -1 +1,2 @@
+usr/lib/tk8.3
 usr/share/tcltk/tk8.3




More information about the Pkg-tcltk-commits mailing list