[Pkg-tcltk-commits] r307 - in tcl8.5/trunk/debian: . patches
sgolovan-guest at alioth.debian.org
sgolovan-guest at alioth.debian.org
Fri Oct 19 12:06:07 UTC 2007
Author: sgolovan-guest
Date: 2007-10-19 12:06:07 +0000 (Fri, 19 Oct 2007)
New Revision: 307
Modified:
tcl8.5/trunk/debian/changelog
tcl8.5/trunk/debian/patches/confsearch.diff
tcl8.5/trunk/debian/rules
tcl8.5/trunk/debian/tcl8.5-dev.dirs
tcl8.5/trunk/debian/tcl8.5-dev.preinst
Log:
[tcl8.5]
Added backward compatibility (for transition purposes).
Modified: tcl8.5/trunk/debian/changelog
===================================================================
--- tcl8.5/trunk/debian/changelog 2007-10-19 12:05:51 UTC (rev 306)
+++ tcl8.5/trunk/debian/changelog 2007-10-19 12:06:07 UTC (rev 307)
@@ -9,7 +9,8 @@
(preliminary version see at
http://pkg-tcltk.alioth.debian.org/tcltk-policy.html/).
* Moved architecture independent files from /usr/lib/tcl8.5 to
- /usr/share/tcltk/tcl8.5 breaking backward compatibility.
+ /usr/share/tcltk/tcl8.5. To keep backward compatibility tclConfig.sh is
+ linked to /usr/lib/tcl8.5 directory.
* Fixed bug with update-alternatives in prerm scripts.
* Removed conflicts with tcl and providing tcl-dev packages from
debian/control to prepare binary packages for default tcl and tcl-dev.
Modified: tcl8.5/trunk/debian/patches/confsearch.diff
===================================================================
--- tcl8.5/trunk/debian/patches/confsearch.diff 2007-10-19 12:05:51 UTC (rev 306)
+++ tcl8.5/trunk/debian/patches/confsearch.diff 2007-10-19 12:06:07 UTC (rev 307)
@@ -5,20 +5,20 @@
Index: tcl8.5-0.b1/unix/tcl.m4
===================================================================
--- tcl8.5-0.b1.orig/unix/tcl.m4 2007-09-24 19:46:44.000000000 +0400
-+++ tcl8.5-0.b1/unix/tcl.m4 2007-10-18 20:39:53.000000000 +0400
-@@ -94,6 +94,7 @@
++++ tcl8.5-0.b1/unix/tcl.m4 2007-10-19 15:45:36.000000000 +0400
+@@ -93,6 +93,7 @@
+ `ls -d ${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.5 2>/dev/null` \
`ls -d /usr/lib 2>/dev/null` \
-+ `ls -d /usr/share/tcltk/tcl8.5 2>/dev/null` \
; do
if test -f "$i/tclConfig.sh" ; then
- ac_cv_c_tclconfig=`(cd $i; pwd)`
-@@ -224,6 +225,7 @@
+@@ -223,6 +224,7 @@
+ `ls -d ${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.5 2>/dev/null` \
`ls -d /usr/lib 2>/dev/null` \
-+ `ls -d /usr/share/tcltk/tk8.5 2>/dev/null` \
; do
if test -f "$i/tkConfig.sh" ; then
- ac_cv_c_tkconfig=`(cd $i; pwd)`
Modified: tcl8.5/trunk/debian/rules
===================================================================
--- tcl8.5/trunk/debian/rules 2007-10-19 12:05:51 UTC (rev 306)
+++ tcl8.5/trunk/debian/rules 2007-10-19 12:06:07 UTC (rev 307)
@@ -140,6 +140,8 @@
debian/tcl$(v)-dev/usr/share/aclocal/tcl$(v).m4
mv debian/tcl$(v)/usr/share/tcltk/tcl$(v)/tclConfig.sh \
debian/tcl$(v)-dev/usr/share/tcltk/tcl$(v)
+ ln -s ../../share/tcltk/tcl$(v)/tclConfig.sh \
+ debian/tcl$(v)-dev/usr/lib/tcl$(v)/tclConfig.sh
dh_installdocs -a
dh_installmenu -a
Modified: tcl8.5/trunk/debian/tcl8.5-dev.dirs
===================================================================
--- tcl8.5/trunk/debian/tcl8.5-dev.dirs 2007-10-19 12:05:51 UTC (rev 306)
+++ tcl8.5/trunk/debian/tcl8.5-dev.dirs 2007-10-19 12:06:07 UTC (rev 307)
@@ -1,2 +1,3 @@
+usr/lib/tcl8.5
usr/share/aclocal
usr/share/tcltk/tcl8.5
Modified: tcl8.5/trunk/debian/tcl8.5-dev.preinst
===================================================================
--- tcl8.5/trunk/debian/tcl8.5-dev.preinst 2007-10-19 12:05:51 UTC (rev 306)
+++ tcl8.5/trunk/debian/tcl8.5-dev.preinst 2007-10-19 12:06:07 UTC (rev 307)
@@ -4,6 +4,8 @@
if [ "$1" = "upgrade" ] && dpkg --compare-versions "$2" lt-nl "0.b1-2"; then
update-alternatives --remove tcl.m4 /usr/lib/tcl8.5/tcl.m4
+ # We really want to remove this alternative
+ update-alternatives --auto tcl.m4
fi
#DEBHELPER#
More information about the Pkg-tcltk-commits
mailing list