debian/0000755000000000000000000000000012214262306007164 5ustar debian/examples0000644000000000000000000000000612214261041010714 0ustar tcl/* debian/README.Debian0000644000000000000000000000072612214261041011225 0ustar In addition to an ordinary Thread package which is meant to be used in Tcl/Tk applications the package includes also a library for AOLserver. To use it install aolserver4 package and add the following lines to /etc/aolserver4/aolserver4.tcl: if {![catch { set tclthreadlib [lindex [glob /usr/lib/tcltk/thread*/libthread*-aolserver.so] 0] }]} { ns_param libthread $tclthreadlib } Sergei Golovan Wed, 26 Mar 2008 23:09:37 +0300 debian/rules0000755000000000000000000000414712214262253010253 0ustar #!/usr/bin/make -f PDIR=$(CURDIR)/debian/tcl-thread %: dh $@ configure-stamp: dh_testdir ./configure --host=$(DEB_HOST_GNU_TYPE) \ --build=$(DEB_BUILD_GNU_TYPE) \ --prefix=/usr \ --mandir=\$${prefix}/share/man \ --infodir=\$${prefix}/share/info \ --with-tcl=/usr/lib \ --enable-threads touch configure-stamp clean-aol-stamp: install-stamp $(MAKE) distclean touch clean-aol-stamp configure-aol-stamp: clean-aol-stamp dh_testdir ./configure --host=$(DEB_HOST_GNU_TYPE) \ --build=$(DEB_BUILD_GNU_TYPE) \ --prefix=/usr \ --mandir=\$${prefix}/share/man \ --infodir=\$${prefix}/share/info \ --with-tcl=/usr/lib \ --with-naviserver=/usr/share/aolserver4 \ --enable-threads touch configure-aol-stamp build: build-indep build-arch build-indep: build-arch: install-aol-stamp build-stamp: configure-stamp dh_testdir $(MAKE) touch build-stamp build-aol-stamp: configure-aol-stamp dh_testdir $(MAKE) touch build-aol-stamp install-stamp: build-stamp dh_testdir dh_prep dh_installdirs $(MAKE) install DESTDIR=$(PDIR) mv $(PDIR)/usr/lib/thread* $(PDIR)/usr/lib/tcltk # fix up files permissions chmod -R u+w $(PDIR) # cleanup manpages mv $(PDIR)/usr/share/man/mann $(PDIR)/usr/share/man/man3 cd $(PDIR)/usr/share/man/man3 && \ for f in *.n ; do \ sed -e's/^\.TH \([^ ]\+\) n/.TH \1 3tcl/' \ $$f > `basename $$f .n`.3tcl; \ rm $$f; \ done # remove empty directories find $(PDIR) -empty -prune -exec rmdir \{\} \; touch install-stamp install-aol-stamp: build-aol-stamp dh_testdir for f in libthread*.so ; do \ for d in $(PDIR)/usr/lib/tcltk/thread* ; do \ cp $$f $$d/`basename $$f .so`-aolserver.so ; \ done ; \ done touch install-aol-stamp override_dh_auto_install: override_dh_compress: dh_compress -X.tcl override_dh_gencontrol: tcltk-depends dh_gencontrol get-orig-source: wget -O tclthread_2.7.0.orig.tar.gz \ http://prdownloads.sourceforge.net/tcl/thread2.7.0.tar.gz .PHONY: build build-indep build-arch override_dh_auto_install \ override_dh_compress override_dh_gencontrol get-orig-source debian/copyright0000644000000000000000000000546112214262220011120 0ustar This package was debianized by David N. Welton on Sat, 26 Jul 2003 19:00:25 +0200. It was downloaded from http://sourceforge.net/projects/tcl/ Upstream Authors: Zoran Vasiljevic Joe Mistachkin Don Porter Jan Nijtmans Donal K. Fellows Andreas Kupries Alexandre Ferrieux Pat Thoyts Jeff Hobbs Copyright (c) 2002-2012 Zoran Vasiljevic 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. debian/docs0000644000000000000000000000003410772527452010051 0ustar README debian/README.Debian debian/patches/0000755000000000000000000000000012214262306010613 5ustar debian/patches/series0000644000000000000000000000001712214261041012021 0ustar configure.diff debian/patches/configure.diff0000644000000000000000000000040612214261041013421 0ustar Patch fixes build on hurd-i386, kfreebsd-i386 and kfreebsd-amd64 architectures. --- tclthread-2.7.0.orig/configure +++ tclthread-2.7.0/configure @@ -9149,7 +9149,7 @@ fi ;; - Linux*) + Linux*|GNU*) SHLIB_CFLAGS="-fPIC" SHLIB_SUFFIX=".so" debian/changelog0000644000000000000000000000756412214261041011045 0ustar tclthread (1:2.7.0-1) unstable; urgency=low * New upstream release. * Renamed the binary package into tcl-thread to comly with the Debian Tcl/Tk policy. * Bumped standards version to 3.9.4. * Converted to the 3.0 (quilt) source format. * Bumped debhelper compatibility version to 8. * Added all contributors to the authors list in debian/copyright. * Added examples to the resulting binary package. -- Sergei Golovan Thu, 12 Sep 2013 10:35:52 +0400 tclthread (1:2.6.7-1) unstable; urgency=low * New upstream release (refreshed patches). -- Sergei Golovan Sat, 18 Feb 2012 11:38:45 +0400 tclthread (1:2.6.6-1) unstable; urgency=low * New upstream release. * Fixed bashism in debian/rules (closes: #581453). * Bumped standards version to 3.9.2. -- Sergei Golovan Fri, 22 Jul 2011 21:31:58 +0400 tclthread (1:2.6.5-4) unstable; urgency=low * Protected quilt calls in debian/rules to make the package convertable to 3.0 (quilt) format (closes: #482711). * Added README.source with an explanation on how to apply the searies of patches to an original sources. * Bumped standards version to 3.8.4. -- Sergei Golovan Thu, 06 May 2010 22:02:53 +0400 tclthread (1:2.6.5-3) unstable; urgency=low * Added an additional tclthread library built for use with aolserver4. * Added a short README.Debian which describes how to add Thread library to AOLserver. * Removed empty directories from the binary package. * Added a copyright statement. * Fixed uscan script debian/watch. * Bumped standards version to 3.7.3. -- Sergei Golovan Wed, 26 Mar 2008 23:11:02 +0300 tclthread (1:2.6.5-2) unstable; urgency=low * Adapted the package to Debian Tcl/Tk policy. This includes moving the Tcl modules into a subdirectory of /usr/lib/tcltk and switching to default tcl package in dependencies. * Added Homepage field in debian/control. -- Sergei Golovan Sat, 17 Nov 2007 19:24:53 +0300 tclthread (1:2.6.5-1) unstable; urgency=low * New maintainer Sergei Golovan (closes: #383655). * New upstream release. * Rewritten clean target in debian/rules to ignore only missing Makefile error. * Use quilt for patch management. * Added uscan control file debian/watch. * Added get-orig-source target to debian/rules. * Fixed section in manual pages. * Bumped debhelper compatibility level to 5. -- Sergei Golovan Wed, 12 Sep 2007 19:25:12 +0400 tclthread (20030827-3) unstable; urgency=low * QA Upload. * Added support for GNU/kFreeBSD and GNU/Hurd. -- Aurelien Jarno Sun, 10 Dec 2006 18:03:55 +0100 tclthread (20030827-2) unstable; urgency=low * QA Upload (Ack NMU; Closes: #359331, #353848) * Set Maintainer to QA Group, Orphaned: #383655 * Remove CVS directories from tarball * Conforms with latest Standards Version 3.7.2 -- Michael Ablassmeier Sat, 2 Sep 2006 12:28:37 +0200 tclthread (20030827-1.1) unstable; urgency=high * Non-maintainer upload. * Fix syntax error in tcl.m4 (Closes: #353848). -- Luk Claes Mon, 27 Mar 2006 23:15:05 +0200 tclthread (20030827-1) unstable; urgency=low * New upstream from CVS. -- David N. Welton Sat, 30 Aug 2003 13:40:11 +0200 tclthread (20030726-3) unstable; urgency=low * Removed doc install stuff, which prevented this package from installing correctly. -- David N. Welton Fri, 8 Aug 2003 10:13:51 +0200 tclthread (20030726-2) unstable; urgency=low * Added build-depend on Tcl dev. -- David N. Welton Tue, 5 Aug 2003 18:44:46 +0200 tclthread (20030726-1) unstable; urgency=low * Initial Release. -- David N. Welton Sat, 26 Jul 2003 19:00:25 +0200 debian/watch0000644000000000000000000000020110772523527010222 0ustar # Watch control file for uscan # Compulsory line, this is a version 3 file version=3 http://sf.net/tcl/thread([\d.]*)\.tar\.gz debian/compat0000644000000000000000000000000212214261041010355 0ustar 8 debian/dirs0000644000000000000000000000001610717614137010056 0ustar usr/lib/tcltk debian/source/0000755000000000000000000000000012214262306010464 5ustar debian/source/format0000644000000000000000000000001412214261041011665 0ustar 3.0 (quilt) debian/control0000644000000000000000000000147512214261041010571 0ustar Source: tclthread Section: interpreters Priority: optional Maintainer: Sergei Golovan Build-Depends: debhelper (>= 8.0.0), aolserver4-dev, tcl-dev Standards-Version: 3.9.4 Homepage: http://tcl.sourceforge.net/ Package: tcl-thread Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, ${tclsh:Depends} Conflicts: tclthread Provides: tclthread Replaces: tclthread Description: Tcl extension implementing script level access to Tcl threading capabilities The thread extension creates threads that contain Tcl interpreters, and it lets you send scripts to those threads for evaluation. It also enables you to share data between threads in a safe, protected fashion. Additionally, it provides script-level access to basic thread synchronization primitives, like mutexes and condition variables.