Commit d719680c authored by Sergei Golovan's avatar Sergei Golovan Committed by Sergei Golovan

[tk8.7]

* Created placeholders for the new upstream version.
parent 4bd3cef5
Please see the Documentation section in the upstream README for a list of
books on getting started with Tcl/Tk. Also see the main Tcl/Tk web site
at http://www.tcl.tk/ for other documentation.
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
Section: libs
Priority: optional
Maintainer: Debian Tcl/Tk Packagers <pkg-tcltk-devel@lists.alioth.debian.org>
Uploaders: Sergei Golovan <sgolovan@debian.org>
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
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
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
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
Provides: libtcl
Multi-Arch: same
Description: Tcl (the Tool Command Language) v8.6 - 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
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
Multi-Arch: same
Description: Tcl (the Tool Command Language) v8.6 - 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
Section: doc
Priority: optional
Architecture: all
Depends: ${misc:Depends}
Suggests: tcl8.6
Conflicts: tcldoc
Provides: tcldoc
Description: Tcl (the Tool Command Language) v8.6 - 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 package was originally debianized by David Engel <david@debiang.org>
from sources obtained at http://prdownloads.sourceforge.net/tcl
List of copyright holders mentioned in individual files:
Copyright 1983, 1987-1994 The Regents of the University of California
Copyright 1992-1999 Karl Lehenbauer and Mark Diekhans
Copyright 1992,1993,1995,1996, Jens-Uwe Mager, Helios Software GmbH
Copyright 1992-1996 Free Software Foundation, Inc.
Copyright 1993-1994 Lockheed Missle & Space Company, AI Center
Copyright 1993-1997 Bell Labs Innovations for Lucent Technologies
Copyright 1993-1998 Lucent Technologies
Copyright 1994-2000 Sun Microsystems, Inc.
Copyright 1995 General Electric Company
Copyright 1995 Dave Nebinger
Copyright 1995-1997 Roger E. Critchlow Jr
Copyright 1996 Lucent Technologies and Jim Ingham
Copyright 1997-2000 Ajuba Solutions
Copyright 1998-2000 Scriptics Corporation
Copyright 1998-1999 Henry Spencer
Copyright 1998 Paul Duffin
Copyright 1998 Mark Harrison
Copyright 1998 Nat Pryce
Copyright 1999 America Online, Inc.
Copyright 1999-2000,2002,2004-2007 Andreas Kupries
Copyright 2000-2001 ActiveState Corporation, et al
Copyright 2001 ActiveState Tool Corp.
Copyright 2001-2002 Apple Computer, Inc.
Copyright 2001-2004 David Gravereaux
Copyright 2001-2004 Vincent Darley
Copyright 2001-2008 Donal K. Fellows
Copyright 2001-2008 ActiveState Corporation
Copyright 2001-2007 Kevin B. Kenny
Copyright 2001-2008 Daniel A. Steffen
Copyright 2002-2007 Miguel Sofer
Copyright 2003 Simon Geard
Copyright 2003-2004 Georgios Petasis
Copyright 2003-2004,2006-2008 Joe Mistachkin
Copyright 2003-2008 Pat Thoyts
Copyright 2004 Zoran Vasiljevic
Copyright 2005,2008 George Peter Staplin
Copyright 2006 Neil Madden
Copyright 2006 Peter Spjuth
Copyright 2008 Tcl Core Team
Contributions from Don Porter, NIST, 2002-2003. (not subject to US copyright)
Copyright:
This software is copyrighted by the Regents of the University of
California, Sun Microsystems, Inc., Scriptics Corporation,
and other parties. The following terms apply to all files associated
with the software unless explicitly disclaimed in individual files.
The authors hereby grant permission to use, copy, modify, distribute,
and license this software and its documentation for any purpose, provided
that existing copyright notices are retained in all copies and that this
notice is included verbatim in any distributions. No written agreement,
license, or royalty fee is required for any of the authorized uses.
Modifications to this software may be copyrighted by their authors
and need not follow the licensing terms described here, provided that
the new terms are clearly indicated on the first page of each file where
they apply.
IN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY PARTY
FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY
DERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
THE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. THIS SOFTWARE
IS PROVIDED ON AN "AS IS" BASIS, AND THE AUTHORS AND DISTRIBUTORS HAVE
NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR
MODIFICATIONS.
GOVERNMENT USE: If you are acquiring this software on behalf of the
U.S. government, the Government shall have only "Restricted Rights"
in the software and related documentation as defined in the Federal
Acquisition Regulations (FARs) in Clause 52.227.19 (c) (2). If you
are acquiring the software on behalf of the Department of Defense, the
software shall be classified as "Commercial Computer Software" and the
Government shall have only "Restricted Rights" as defined in Clause
252.227-7013 (c) (1) of DFARs. Notwithstanding the foregoing, the
authors grant the U.S. Government and others acting in its behalf
permission to use and distribute the software in accordance with the
terms specified in this license.
Several files are distributed under other conditions:
compat/strftime.c:
/*
* strftime.c --
*
* This file contains a modified version of the BSD 4.4 strftime
* function.
*
* This file is a modified version of the strftime.c file from the BSD 4.4
* source. See the copyright notice below for details on redistribution
* restrictions. The "license.terms" file does not apply to this file.
*
* Changes 2002 Copyright (c) 2002 ActiveState Corporation.
*
* RCS: @(#) $Id: strftime.c,v 1.10.2.3 2005/11/04 18:18:04 kennykb Exp $
*/
/*
* Copyright (c) 1989 The Regents of the University of California.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgement:
* This product includes software developed by the University of
* California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*/
compat/dlfcn.h and unix/tclLoadAix.c:
* This file is subject to the following copyright notice, which is
* different from the notice used elsewhere in Tcl but rougly
* equivalent in meaning.
*
* Copyright (c) 1992,1993,1995,1996, Jens-Uwe Mager, Helios Software GmbH
* Not derived from licensed software.
*
* Permission is granted to freely use, copy, modify, and redistribute
* this software, provided that the author is not construed to be liable
* for any results of using the software, alterations are clearly marked
* as such, and this notice is not modified.
usr/lib/*/*.so
usr/lib/*/*.so.*
usr/share/tcltk/tcl8.6
# Versioned soname is not necessary for libtcl8.6.so
libtcl8.6: 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
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
installation.
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -224,6 +224,8 @@
`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 2>/dev/null` \
`ls -d /usr/lib64 2>/dev/null` \
; do
Patch by Chris Waters fixes installing of several manual pages which
aren't installed by upstream script but are referenced inside other
manual pages.
--- a/unix/installManPage
+++ b/unix/installManPage
@@ -92,12 +92,20 @@
exit 2 ;;
esac
+Name=`basename $ManPage .$Section`
SrcDir=`dirname $ManPage`
########################################################################
### Process Page to Create Target Pages
###
+Specials="DString Thread Notifier RegExp library packagens pkgMkIndex safesock"
+for n in $Specials; do
+ if [ "$Name" = "$n" ] ; then
+ Names="$n $Names"
+ fi
+done
+
First=""
for Target in $Names; do
Target=$Target.$Section$Suffix
Patch by Sergei Golovan (originally by Mike Markley and Chris Waters) fixes
building on non-linux Debian architectures.
--- a/unix/configure
+++ b/unix/configure
@@ -4908,6 +4908,9 @@
if test "`uname -s`" = "AIX" ; then
tcl_cv_sys_version=AIX-`uname -v`.`uname -r`
fi
+ if test "`uname -s`" = "NetBSD" -a -f /etc/debian_version ; then
+ system=NetBSD-Debian
+ fi
fi
fi
--- a/unix/Makefile.in
+++ b/unix/Makefile.in
@@ -179,6 +179,7 @@
SHLIB_LD = @SHLIB_LD@
SHLIB_CFLAGS = @SHLIB_CFLAGS@ -DBUILD_tcl
SHLIB_LD_LIBS = @SHLIB_LD_LIBS@
+SHLIB_LD_FLAGS = @SHLIB_LD_FLAGS@
TCL_SHLIB_LD_EXTRAS = @TCL_SHLIB_LD_EXTRAS@
SHLIB_SUFFIX = @SHLIB_SUFFIX@
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -925,6 +925,9 @@
if test "`uname -s`" = "AIX" ; then
tcl_cv_sys_version=AIX-`uname -v`.`uname -r`
fi
+ if test "`uname -s`" = "NetBSD" -a -f /etc/debian_version ; then
+ tcl_cv_sys_version=NetBSD-Debian
+ fi
fi
fi
])
tcllibrary.diff
tclpackagepath.diff
tclprivate.diff
confsearch.diff
non-linux.diff
manpages.diff
--- a/unix/configure
+++ b/unix/configure
@@ -10245,7 +10245,7 @@
eval "TCL_LIB_FILE=${TCL_LIB_FILE}"
-TCL_LIBRARY='$(prefix)/lib/tcl$(VERSION)'
+test -z "$TCL_LIBRARY" && TCL_LIBRARY='$(prefix)/lib/tcl$(VERSION)'
PRIVATE_INCLUDE_DIR='$(includedir)'
HTML_DIR='$(DISTDIR)/html'
--- a/unix/configure.in
+++ b/unix/configure.in
@@ -793,7 +793,7 @@
eval "TCL_LIB_FILE=${TCL_LIB_FILE}"
-TCL_LIBRARY='$(prefix)/lib/tcl$(VERSION)'
+test -z "$TCL_LIBRARY" && TCL_LIBRARY='$(prefix)/lib/tcl$(VERSION)'
PRIVATE_INCLUDE_DIR='$(includedir)'
HTML_DIR='$(DISTDIR)/html'
Patch by Sergei Golovan allows to specify TCL_PACKAGE_PATH at configure stage
without adding /usr/lib to it. It helps to put the policy compliant value to
::tcl_pkgPath variable and to TCL_PACKAGE_PATH variable in tclConfig.sh.
--- a/unix/configure
+++ b/unix/configure
@@ -10374,9 +10374,9 @@
test -z "$TCL_MODULE_PATH" && \
TCL_MODULE_PATH="~/Library/Tcl /Library/Tcl /System/Library/Tcl"
elif test "$prefix/lib" != "$libdir"; then
- TCL_PACKAGE_PATH="${libdir} ${prefix}/lib ${TCL_PACKAGE_PATH}"
+ test -z "$TCL_PACKAGE_PATH" && TCL_PACKAGE_PATH="${libdir} ${prefix}/lib"
else
- TCL_PACKAGE_PATH="${prefix}/lib ${TCL_PACKAGE_PATH}"
+ test -z "$TCL_PACKAGE_PATH" && TCL_PACKAGE_PATH="${prefix}/lib"
fi
#--------------------------------------------------------------------
--- a/unix/configure.in
+++ b/unix/configure.in
@@ -886,9 +886,9 @@
test -z "$TCL_MODULE_PATH" && \
TCL_MODULE_PATH="~/Library/Tcl /Library/Tcl /System/Library/Tcl"
elif test "$prefix/lib" != "$libdir"; then
- TCL_PACKAGE_PATH="${libdir} ${prefix}/lib ${TCL_PACKAGE_PATH}"
+ test -z "$TCL_PACKAGE_PATH" && TCL_PACKAGE_PATH="${libdir} ${prefix}/lib"
else
- TCL_PACKAGE_PATH="${prefix}/lib ${TCL_PACKAGE_PATH}"
+ test -z "$TCL_PACKAGE_PATH" && TCL_PACKAGE_PATH="${prefix}/lib"
fi
#--------------------------------------------------------------------
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
puts private Tcl headers there).
--- a/unix/tclConfig.sh.in
+++ b/unix/tclConfig.sh.in
@@ -100,7 +100,7 @@
# String to pass to linker to pick up the Tcl library from its
# build directory.
-TCL_BUILD_LIB_SPEC='@TCL_BUILD_LIB_SPEC@'
+TCL_BUILD_LIB_SPEC='@TCL_LIB_SPEC@'
# String to pass to linker to pick up the Tcl library from its
# installed directory.
@@ -135,7 +135,7 @@
# different place than the directory containing the source files, this
# points to the location of the sources, not the location where Tcl was
# compiled.
-TCL_SRC_DIR='@TCL_SRC_DIR@'
+TCL_SRC_DIR='@includedir@/tcl-private'
# List of standard directories in which to look for packages during
# "package require" commands. Contains the "prefix" directory plus also
@@ -153,14 +153,14 @@
# String to pass to linker to pick up the Tcl stub library from its
# build directory.
-TCL_BUILD_STUB_LIB_SPEC='@TCL_BUILD_STUB_LIB_SPEC@'
+TCL_BUILD_STUB_LIB_SPEC='@TCL_STUB_LIB_SPEC@'
# String to pass to linker to pick up the Tcl stub library from its
# installed directory.
TCL_STUB_LIB_SPEC='@TCL_STUB_LIB_SPEC@'
# Path to the Tcl stub library in the build directory.
-TCL_BUILD_STUB_LIB_PATH='@TCL_BUILD_STUB_LIB_PATH@'
+TCL_BUILD_STUB_LIB_PATH='@TCL_STUB_LIB_PATH@'
# Path to the Tcl stub library in the install directory.
TCL_STUB_LIB_PATH='@TCL_STUB_LIB_PATH@'
#!/usr/bin/make -f
v = 8.6
DIR = $(shell pwd)/debian/tmp
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk
include /usr/share/dpkg/architecture.mk
LDFLAGS = $(shell dpkg-buildflags --get LDFLAGS)
export LDFLAGS
ifeq ($(origin CC),default)
CC = $(DEB_HOST_GNU_TYPE)-gcc
endif
ifeq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
# See bug #446335 for -fno-unit-at-a-time
ifeq ($(DEB_HOST_ARCH), hppa)
# Disable stack checking for hppa (it doesn't work properly yet)
CFLAGS += -fno-unit-at-a-time -DTCL_NO_STACK_CHECK=1
else
CFLAGS += -fno-unit-at-a-time
endif
endif
%:
dh $@
override_dh_auto_clean:
[ ! -f unix/Makefile ] || $(MAKE) -C unix distclean
override_dh_auto_configure:
# So so ugly but it works...
touch generic/tclStubInit.c
TCL_LIBRARY="/usr/share/tcltk/tcl$(v)" \
TCL_PACKAGE_PATH="/usr/local/lib/tcltk /usr/local/share/tcltk \
/usr/lib/tcltk/$(DEB_HOST_MULTIARCH) /usr/lib/tcltk /usr/share/tcltk \
/usr/lib/tcltk/tcl$(v) /usr/lib" \
CC="$(CC)" \
CFLAGS="$(CFLAGS)" \
CPPFLAGS="$(CPPFLAGS)" \
TCL_SHLIB_LD_EXTRAS="-Wl,-soname,\$${TCL_LIB_FILE}" \
dh_auto_configure -Dunix -- \
--includedir=/usr/include/tcl$(v) \
--enable-shared \
--enable-threads \
--enable-dll-unloading \
--disable-rpath \
--without-tzdata \
--enable-man-symlinks
override_dh_auto_build:
touch generic/tclStubInit.c && \
$(MAKE) -C unix
# Build the static library
cd unix && \
LC_ALL=C \
ar cr libtcl$(v).a *.o && \
ar d libtcl$(v).a tclAppInit.o && \
ranlib libtcl$(v).a
override_dh_auto_install:
$(MAKE) -C unix INSTALL_ROOT=$(DIR) \
MAN_INSTALL_DIR=$(DIR)/usr/share/man \
MANN_INSTALL_DIR=$(DIR)/usr/share/man/man3 \
TCL_MODULE_PATH="/usr/lib/tcltk /usr/share/tcltk" \
install
# Fix up the modules
sed -i -e's:variable paths {}:variable paths {/usr/share/tcltk/tcl$(v)/tcl8}:' \
$(DIR)/usr/share/tcltk/tcl$(v)/tm.tcl
install -d -m 755 $(DIR)/usr/share/tcltk/tcl$(v)/tcl8
mv $(DIR)/usr/share/tcltk/tcl8/*/* $(DIR)/usr/share/tcltk/tcl$(v)/tcl8
# Fix up the libraries
cp unix/libtcl$(v).a $(DIR)/usr/lib/$(DEB_HOST_MULTIARCH)
install -d -m 755 $(DIR)/usr/lib/$(DEB_HOST_MULTIARCH)/tcl$(v)
mv $(DIR)/usr/lib/$(DEB_HOST_MULTIARCH)/*.sh $(DIR)/usr/lib/$(DEB_HOST_MULTIARCH)/tcl$(v)
install -d -m 755 $(DIR)/usr/share/aclocal
cp unix/tcl.m4 $(DIR)/usr/share/aclocal/tcl$(v).m4
rm -f $(DIR)/usr/share/tcltk/tcl$(v)/ldAix
# Fix up the include files
install -d $(DIR)/usr/include/tcl$(v)/tcl-private/generic
cp generic/*.h $(DIR)/usr/include/tcl$(v)/tcl-private/generic
install -d $(DIR)/usr/include/tcl$(v)/tcl-private/unix
cp unix/*.h $(DIR)/usr/include/tcl$(v)/tcl-private/unix
install -d $(DIR)/usr/include/tcl$(v)/tcl-private/compat
cp compat/*.h $(DIR)/usr/include/tcl$(v)/tcl-private/compat
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 && \
rm tclsh.1
cd $(DIR)/usr/share/man/man3 && \
for f in *.[3n] ; do \
f2=$$(echo $$f | sed -e 's/\.[3n]/.3tcl/') ; \
if [ -L $$f ]; then \
l=$$(readlink -n $$f | sed -e 's/\.[3n]/.3tcl/') ; \
rm $$f ; \
ln -sf $$l $$f2 ; \
else \
cat $$f | sed -e 's/^\.TH \([^ ]\+\|"[^"]\+"\) [3n]/.TH \1 3tcl/' \
-e 's/\(Tk_[0-9A-Za-z]*\)(3)/\1(3tk)/g' \
-e 's/\([A-Z][0-9A-Za-z_]*\)(3)/\1(3tcl)/g' \
-e 's/send(n)/send(3tk)/g' \
-e 's/text(n)/text(3tk)/g' \
-e 's/tk(n)/tk(3tk)/g' \
-e 's/winfo(n)/winfo(3tk)/g' \
-e 's/(n)/(3tcl)/g' \
-e "s/\\N'244'/\\[^o]/g" \
>$$f2 ; \
rm $$f ; \
fi ; \
done
override_dh_makeshlibs:
dh_makeshlibs -a -Xtcltest
override_dh_shlibdeps:
dh_shlibdeps -a -ldebian/libtcl$(v)/usr/lib/$(DEB_HOST_MULTIARCH)
get-orig-source:
CURDIR=`pwd` && \
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 && \
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 && \
rm -rf $$TMPDIR
.PHONY: override_dh_auto_clean override_dh_auto_configure override_dh_auto_install \
override_dh_makeshlibs override_dh_shlibdeps get-orig-source
usr/share/aclocal
debian/README.TCL_INC
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
changes
ChangeLog.[12]*
usr/share/man/man3
usr/bin
usr/share/man/man1
?package(tcl8.6):needs="text"\
section="Applications/Programming"\
title="Tclsh8.6"\
command="/usr/bin/tclsh8.6"
#!/bin/sh
set -e
if [ $1 != "upgrade" ] ; then
update-alternatives --remove tclsh /usr/bin/tclsh8.6
fi
#DEBHELPER#
#! /bin/sh
. /usr/lib/`dpkg-architecture -qDEB_HOST_MULTIARCH`/tcl8.6/tclConfig.sh
#! /bin/sh
. /usr/lib/`dpkg-architecture -qDEB_HOST_MULTIARCH`/tcl8.6/tclooConfig.sh
version=3
opts=dversionmangle=s/\+dfsg\d*$// \
http://sf.net/tcl/tcl-core(8\.6\.\d+)-src\.tar\.gz
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