[Pkg-tcltk-commits] r716 - in tclex/trunk/debian: . patches

sgolovan-guest at alioth.debian.org sgolovan-guest at alioth.debian.org
Thu Jul 17 20:42:57 UTC 2008


Author: sgolovan-guest
Date: 2008-07-17 20:42:56 +0000 (Thu, 17 Jul 2008)
New Revision: 716

Added:
   tclex/trunk/debian/patches/pkgindex.diff
Modified:
   tclex/trunk/debian/changelog
   tclex/trunk/debian/patches/series
Log:
[tclex]
  * Don't allow to load tcLex package into Tcl 8.5 and newer because of
    changes in Tcl internal structures which break binary compatibility.
    After Tcl 8.5 will become a default Tcl version tcLex will be rebuilt
    with 8.5 and will loose compatibility with 8.4.


Modified: tclex/trunk/debian/changelog
===================================================================
--- tclex/trunk/debian/changelog	2008-07-15 17:31:59 UTC (rev 715)
+++ tclex/trunk/debian/changelog	2008-07-17 20:42:56 UTC (rev 716)
@@ -1,8 +1,11 @@
-tclex (1.2a1-15) UNRELEASED; urgency=low
+tclex (1.2a1-15) unstable; urgency=low
 
-  * NOT RELEASED YET
+  * Don't allow to load tcLex package into Tcl 8.5 and newer because of
+    changes in Tcl internal structures which break binary compatibility.
+    After Tcl 8.5 will become a default Tcl version tcLex will be rebuilt
+    with 8.5 and will loose compatibility with 8.4.
 
- -- Sergei Golovan <sgolovan at debian.org>  Mon,  9 Jun 2008 21:08:14 +0400
+ -- Sergei Golovan <sgolovan at debian.org>  Fri, 18 Jul 2008 00:42:21 +0400
 
 tclex (1.2a1-14) unstable; urgency=low
 

Added: tclex/trunk/debian/patches/pkgindex.diff
===================================================================
--- tclex/trunk/debian/patches/pkgindex.diff	                        (rev 0)
+++ tclex/trunk/debian/patches/pkgindex.diff	2008-07-17 20:42:56 UTC (rev 716)
@@ -0,0 +1,25 @@
+
+--- tclex-1.2a1.orig/src/Makefile
++++ tclex-1.2a1/src/Makefile
+@@ -55,7 +55,8 @@
+ 	(if test -f $(PROJECTDIR)/pkgIndex.tcl; \
+ 	    then grep -v $(PROJECT_VERSION) $(PROJECTDIR)/pkgIndex.tcl; \
+ 	else true; fi;) | \
+-	echo 'package ifneeded $(PROJECT) $(PROJECT_VERSION) [list load [file join $$dir $(DLL).$(PROJECT_VERSION)] $(PROJECT)]' > pkgIndex.tcl
++	echo 'if {[package vcompare [info tclversion] 8.5] >= 0} return' > pkgIndex.tcl && \
++ 	echo 'package ifneeded $(PROJECT) $(PROJECT_VERSION) [list load [file join $$dir $(DLL).$(PROJECT_VERSION)] $(PROJECT)]' >> pkgIndex.tcl
+ 
+ install: all
+ 	if test ! -d $(PROJECTDIR); then mkdir $(PROJECTDIR); fi
+--- tclex-1.2a1.orig/src/Makefile.in
++++ tclex-1.2a1/src/Makefile.in
+@@ -54,7 +54,8 @@
+ 	(if test -f $(PROJECTDIR)/pkgIndex.tcl; \
+ 	    then grep -v $(PROJECT_VERSION) $(PROJECTDIR)/pkgIndex.tcl; \
+ 	else true; fi;) | \
+-	echo 'package ifneeded $(PROJECT) $(PROJECT_VERSION) [list load [file join $$dir $(DLL).$(PROJECT_VERSION)] $(PROJECT)]' > pkgIndex.tcl
++	echo 'if {[package vcompare [info tclversion] 8.5] >= 0} return' > pkgIndex.tcl && \
++ 	echo 'package ifneeded $(PROJECT) $(PROJECT_VERSION) [list load [file join $$dir $(DLL).$(PROJECT_VERSION)] $(PROJECT)]' >> pkgIndex.tcl
+ 
+ install: all
+ 	if test ! -d $(PROJECTDIR); then mkdir $(PROJECTDIR); fi

Modified: tclex/trunk/debian/patches/series
===================================================================
--- tclex/trunk/debian/patches/series	2008-07-15 17:31:59 UTC (rev 715)
+++ tclex/trunk/debian/patches/series	2008-07-17 20:42:56 UTC (rev 716)
@@ -1,2 +1,3 @@
 types.diff
 flags.diff
+pkgindex.diff




More information about the Pkg-tcltk-commits mailing list