Commit 37ca31e1 authored by Sergei Golovan's avatar Sergei Golovan Committed by Sergei Golovan

* Initial alpha release

parent 317852d0
Packages which used to use the debian-specific hack TCL_INC_DIR from
tclConfig.sh to find the tcl (or tk) headers should be modified to use
the new patented upstream TCL_INCLUDE_SPEC variable instead.
TCL_INCLUDE_SPEC is a little different than TCL_INC_DIR -- it includes
a "-I" in front of the path, so if you were using "-I$TCL_INC_DIR",
you should change it to just "$TCL_INCLUDE_SPEC". If you were doing
something with TCL_INC_DIR that isn't compatible with have "-I" at the
front, LET US KNOW!
TCL_INC_DIR is removed from tcl8.5 and wasn't introduced in tcl8.6.
So, anything still using TCL_INC_DIR will *break* if you want to build
it with Tcl/Tk 8.6! If you have a problem with that, LET US KNOW, as
soon as possible!
cheers
Chris Waters, 8 Dec 2002, Sergei Golovan, 26 Jun 2008
This diff is collapsed.
Source: tcl8.6
Source: tcl8.7
Section: libs
Priority: optional
Maintainer: Debian Tcl/Tk Packagers <pkg-tcltk-devel@lists.alioth.debian.org>
......@@ -7,58 +7,55 @@ Build-Depends: debhelper (>= 9.0.0), dpkg-dev (>= 1.16.1~), zlib1g-dev
Standards-Version: 4.1.3
Homepage: http://www.tcl.tk/
Package: tcl8.6
Package: tcl8.7
Section: interpreters
Priority: optional
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Conflicts: tcl74 (<= 7.4p3-2)
Suggests: tcl-tclreadline
Multi-Arch: foreign
Description: Tcl (the Tool Command Language) v8.6 - shell
Description: Tcl (the Tool Command Language) v8.7 - shell
Tcl is a powerful, easy to use, embeddable, cross-platform interpreted
scripting language. This package contains the Tcl shell which you need
to run Tcl scripts. This version includes thread support.
Package: libtcl8.6
Package: libtcl8.7
Section: libs
Priority: optional
Architecture: any
Pre-Depends: ${misc:Pre-Depends}
Depends: tzdata, ${shlibs:Depends}, ${misc:Depends}
Conflicts: tcl8.6 (<< 8.6.0-2), tcl74 (<= 7.4p3-2)
Replaces: tcl8.6 (<< 8.6.0-2)
Suggests: tcl8.6
Suggests: tcl8.7
Provides: libtcl
Multi-Arch: same
Description: Tcl (the Tool Command Language) v8.6 - run-time library files
Description: Tcl (the Tool Command Language) v8.7 - run-time library files
Tcl is a powerful, easy to use, embeddable, cross-platform interpreted
scripting language. This package contains the Tcl library and auxiliary
code which allows one to run Tcl-enabled applications. This version
includes thread support.
Package: tcl8.6-dev
Package: tcl8.7-dev
Section: libdevel
Priority: optional
Architecture: any
Pre-Depends: ${misc:Pre-Depends}
Depends: dpkg-dev (>= 1.16.1~), zlib1g-dev, libtcl8.6 (= ${binary:Version}),
tcl8.6, ${misc:Depends}
Suggests: tcl8.6-doc
Depends: dpkg-dev (>= 1.16.1~), zlib1g-dev, libtcl8.7 (= ${binary:Version}),
tcl8.7, ${misc:Depends}
Suggests: tcl8.7-doc
Multi-Arch: same
Description: Tcl (the Tool Command Language) v8.6 - development files
Description: Tcl (the Tool Command Language) v8.7 - development files
Tcl is a powerful, easy-to-use, embeddable, cross-platform interpreted
scripting language. This package contains the headers and libraries
needed to embed or extend Tcl.
Package: tcl8.6-doc
Package: tcl8.7-doc
Section: doc
Priority: optional
Architecture: all
Depends: ${misc:Depends}
Suggests: tcl8.6
Suggests: tcl8.7
Conflicts: tcldoc
Provides: tcldoc
Description: Tcl (the Tool Command Language) v8.6 - manual pages
Description: Tcl (the Tool Command Language) v8.7 - manual pages
Tcl is a powerful, easy-to-use, embeddable, cross-platform interpreted
scripting language. This package contains the man pages for Tcl commands.
This diff is collapsed.
usr/lib/*/*.so
usr/lib/*/*.so.*
usr/share/tcltk/tcl8.6
usr/share/tcltk/tcl8.7
# Versioned soname is not necessary for libtcl8.6.so
libtcl8.6: shlib-without-versioned-soname
# Versioned soname is not necessary for libtcl8.7.so
libtcl8.7: shlib-without-versioned-soname
# Since the library has no suffix after .so then the symlink
# is not necessary
libtcl8.6: dev-pkg-without-shlib-symlink
libtcl8.7: dev-pkg-without-shlib-symlink
This diff is collapsed.
Patch by Sergei Golovan allows to find tclConfig.sh in /usr/lib/tcl8.6
and tkConfig.sh in /usr/lib/tk8.6 where they are located in Debian
Patch by Sergei Golovan allows to find tclConfig.sh in /usr/lib/tcl8.7
and tkConfig.sh in /usr/lib/tk8.7 where they are located in Debian
installation.
--- a/unix/tcl.m4
......@@ -8,8 +8,8 @@ installation.
`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/lib/tcl8.6 2>/dev/null` \
+ `ls -d /usr/lib/tk8.6 2>/dev/null` \
+ `ls -d /usr/lib/tcl8.7 2>/dev/null` \
+ `ls -d /usr/lib/tk8.7 2>/dev/null` \
`ls -d /usr/lib 2>/dev/null` \
`ls -d /usr/lib64 2>/dev/null` \
; do
......@@ -9,8 +9,8 @@
PRIVATE_INCLUDE_DIR='$(includedir)'
HTML_DIR='$(DISTDIR)/html'
--- a/unix/configure.in
+++ b/unix/configure.in
--- a/unix/configure.ac
+++ b/unix/configure.ac
@@ -793,7 +793,7 @@
eval "TCL_LIB_FILE=${TCL_LIB_FILE}"
......
......@@ -16,8 +16,8 @@ without adding /usr/lib to it. It helps to put the policy compliant value to
fi
#--------------------------------------------------------------------
--- a/unix/configure.in
+++ b/unix/configure.in
--- a/unix/configure.ac
+++ b/unix/configure.ac
@@ -886,9 +886,9 @@
test -z "$TCL_MODULE_PATH" && \
TCL_MODULE_PATH="~/Library/Tcl /Library/Tcl /System/Library/Tcl"
......
Patch by Chris Waters sets paths which are normally point to a directory
with Tcl sources to a subdirectory of /usr/include/tcl8.6 (debian/rules
with Tcl sources to a subdirectory of /usr/include/tcl8.7 (debian/rules
puts private Tcl headers there).
--- a/unix/tclConfig.sh.in
......
#!/usr/bin/make -f
v = 8.6
v = 8.7
DIR = $(shell pwd)/debian/tmp
DPKG_EXPORT_BUILDFLAGS = 1
......@@ -88,9 +88,6 @@ override_dh_auto_install:
install -d $(DIR)/usr/include/tcl$(v)/tcl-private/libtommath
cp libtommath/*.h $(DIR)/usr/include/tcl$(v)/tcl-private/libtommath
#
# Temporary HACK until all reverse dependencies will be rebuilt
ln -sf libtcl$(v).so $(DIR)/usr/lib/$(DEB_HOST_MULTIARCH)/libtcl$(v).so.0
#
# Fix up the manpages.
cd $(DIR)/usr/share/man/man1 && \
cat tclsh.1 | sed -e 's/(n)/(3tcl)/g' > tclsh$(v).1 && \
......@@ -128,11 +125,11 @@ get-orig-source:
TMPDIR=`mktemp -d /tmp/tcl$(v).XXXXXX` && \
cd $$TMPDIR && \
wget -O - \
http://prdownloads.sourceforge.net/tcl/tcl-core$(v).8-src.tar.gz | tar -zx && \
http://prdownloads.sourceforge.net/tcl/tcl-core$(v)a1-src.tar.gz | tar -zx && \
for f in `find . -name *.chm` ; do \
echo "REMOVING NON-FREE FILE $$f" ; rm -f $$f ; \
done && \
tar -zcf $$CURDIR/tcl$(v)_$(v).8+dfsg.orig.tar.gz tcl$(v).8 && \
tar -zcf $$CURDIR/tcl$(v)_$(v).0~a1+dfsg.orig.tar.gz tcl$(v)a1 && \
rm -rf $$TMPDIR
.PHONY: override_dh_auto_clean override_dh_auto_configure override_dh_auto_install \
......
#!/bin/sh
set -e
if [ $1 != "upgrade" ] ; then
update-alternatives --remove tclsh /usr/bin/tclsh8.6
fi
#DEBHELPER#
......@@ -2,5 +2,5 @@ usr/include
usr/lib/*/*.a
usr/lib/*/tcl*/*.sh
usr/share/aclocal/*.m4
debian/tclConfig.sh usr/lib/tcl8.6
debian/tclooConfig.sh usr/lib/tcl8.6
debian/tclConfig.sh usr/lib/tcl8.7
debian/tclooConfig.sh usr/lib/tcl8.7
?package(tcl8.6):needs="text"\
?package(tcl8.7):needs="text"\
section="Applications/Programming"\
title="Tclsh8.6"\
command="/usr/bin/tclsh8.6"
title="Tclsh8.7"\
command="/usr/bin/tclsh8.7"
#! /bin/sh
. /usr/lib/`dpkg-architecture -qDEB_HOST_MULTIARCH`/tcl8.6/tclConfig.sh
. /usr/lib/`dpkg-architecture -qDEB_HOST_MULTIARCH`/tcl8.7/tclConfig.sh
#! /bin/sh
. /usr/lib/`dpkg-architecture -qDEB_HOST_MULTIARCH`/tcl8.6/tclooConfig.sh
. /usr/lib/`dpkg-architecture -qDEB_HOST_MULTIARCH`/tcl8.7/tclooConfig.sh
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment