[Pkg-tcltk-commits] r1249 - in tcl8.6/tags: . 8.6.0~b2-2 8.6.0~b2-2/debian 8.6.0~b2-2/debian/patches

sgolovan at alioth.debian.org sgolovan at alioth.debian.org
Mon May 28 14:26:17 UTC 2012


Author: sgolovan
Date: 2012-05-28 14:26:16 +0000 (Mon, 28 May 2012)
New Revision: 1249

Added:
   tcl8.6/tags/8.6.0~b2-2/
   tcl8.6/tags/8.6.0~b2-2/debian/
   tcl8.6/tags/8.6.0~b2-2/debian/changelog
   tcl8.6/tags/8.6.0~b2-2/debian/compat
   tcl8.6/tags/8.6.0~b2-2/debian/control
   tcl8.6/tags/8.6.0~b2-2/debian/patches/manpages.diff
   tcl8.6/tags/8.6.0~b2-2/debian/rules
   tcl8.6/tags/8.6.0~b2-2/debian/source/
   tcl8.6/tags/8.6.0~b2-2/debian/tcl8.6-dev.install
   tcl8.6/tags/8.6.0~b2-2/debian/tcl8.6-doc.install
   tcl8.6/tags/8.6.0~b2-2/debian/tcl8.6.install
   tcl8.6/tags/8.6.0~b2-2/debian/tcl8.6.lintian-overrides
Removed:
   tcl8.6/tags/8.6.0~b2-2/debian/
   tcl8.6/tags/8.6.0~b2-2/debian/README.source
   tcl8.6/tags/8.6.0~b2-2/debian/changelog
   tcl8.6/tags/8.6.0~b2-2/debian/compat
   tcl8.6/tags/8.6.0~b2-2/debian/control
   tcl8.6/tags/8.6.0~b2-2/debian/patches/manpages.diff
   tcl8.6/tags/8.6.0~b2-2/debian/rules
   tcl8.6/tags/8.6.0~b2-2/debian/tcl8.6-dev.files
   tcl8.6/tags/8.6.0~b2-2/debian/tcl8.6-doc.files
   tcl8.6/tags/8.6.0~b2-2/debian/tcl8.6.files
   tcl8.6/tags/8.6.0~b2-2/debian/tcl8.6.lintian-override
Log:
[svn-buildpackage] Tagging tcl8.6 8.6.0~b2-2

Deleted: tcl8.6/tags/8.6.0~b2-2/debian/README.source
===================================================================
--- tcl8.6/trunk/debian/README.source	2012-05-28 13:38:25 UTC (rev 1247)
+++ tcl8.6/tags/8.6.0~b2-2/debian/README.source	2012-05-28 14:26:16 UTC (rev 1249)
@@ -1,8 +0,0 @@
-This package uses quilt to manage all modifications to the upstream
-source. Changes are stored in the source package as diffs in
-debian/patches and applied during the build.
-
-To get detailed instructions on how to apply the series of patches
-and modify them, please read /usr/share/doc/quilt/README.source
-
- -- Sergei Golovan <sgolovan at debian.org>  Wed, 20 Jul 2011 22:23:20 +0400

Deleted: tcl8.6/tags/8.6.0~b2-2/debian/changelog
===================================================================
--- tcl8.6/trunk/debian/changelog	2012-05-28 13:38:25 UTC (rev 1247)
+++ tcl8.6/tags/8.6.0~b2-2/debian/changelog	2012-05-28 14:26:16 UTC (rev 1249)
@@ -1,84 +0,0 @@
-tcl8.6 (8.6.0~b2-2) UNRELEASED; urgency=low
-
-  * NOT RELEASED YET
-  * Don't break the build if tdbc headers aren't in the tarball (helps
-    to build the package using sources from the upstream repository).
-
- -- Sergei Golovan <sgolovan at debian.org>  Sun, 29 Jan 2012 11:32:25 +0400
-
-tcl8.6 (8.6.0~b2-1) experimental; urgency=low
-
-  * New upstream beta release.
-
- -- Sergei Golovan <sgolovan at debian.org>  Mon, 08 Aug 2011 23:11:31 +0400
-
-tcl8.6 (8.6.0~b2~rc4-1) experimental; urgency=low
-
-  * New upstream beta release candidate.
-
- -- Sergei Golovan <sgolovan at debian.org>  Sun, 07 Aug 2011 12:28:21 +0400
-
-tcl8.6 (8.6.0~b2~rc0-1) experimental; urgency=low
-
-  * New upstream beta release candidate.
-  * Moved /usr/share/tcltk/tcl8.6/tclConfig.sh back to the /usr/lib/tcl8.6
-    directory because it is architecture dependent.
-  * Added ${misc:Depends} to debian/control.
-  * Added README.source which explains how to apply quilt patches.
-  * Bumped standards version to 3.9.2.
-
- -- Sergei Golovan <sgolovan at debian.org>  Thu, 21 Jul 2011 10:30:26 +0400
-
-tcl8.6 (8.6.0~b1-4) experimental; urgency=low
-
-  * Removed tcl8.6-tdbc package because TDBC is to be packaged separately.
-  * Added zlib1g-dev to build dependencies to make Tcl use the system-wide
-    Zlib library.
-
- -- Sergei Golovan <sgolovan at debian.org>  Thu, 29 Jul 2010 09:50:49 +0400
-
-tcl8.6 (8.6.0~b1-3) experimental; urgency=low
-
-  * Don't override CFLAGS in make call and supply it to configure script
-    as suggested by Anders Kaseorg (closes: #510153).
-
- -- Sergei Golovan <sgolovan at debian.org>  Mon, 18 May 2009 09:35:52 +0400
-
-tcl8.6 (8.6.0~b1-2) experimental; urgency=low
-
-  * Added a compiler directive which helps to build tdbc extension
-    (closes: #510153).
-  * Don't remove tclsh alternative in case of package upgrade because the
-    manually installed alternative is also removed which isn't desirable.
-
- -- Sergei Golovan <sgolovan at debian.org>  Sun, 01 Mar 2009 10:36:35 +0300
-
-tcl8.6 (8.6.0~b1-1) experimental; urgency=low
-
-  * New upstream beta release.
-  * Separated new TDBC package which is bundled with the Tcl distribution to
-    tcl8.6-tdbc package, and added directory /usr/lib/tcltk/tcl8.6 to the
-    list of paths where Tcl packages are searched.
-
- -- Sergei Golovan <sgolovan at debian.org>  Sat, 27 Dec 2008 13:47:14 +0300
-
-tcl8.6 (8.6.0~a3-1) experimental; urgency=low
-
-  * New upstream alpha release.
-
- -- Sergei Golovan <sgolovan at debian.org>  Sat, 11 Oct 2008 02:17:42 +0400
-
-tcl8.6 (8.6.0~a2-1) experimental; urgency=low
-
-  * New upstream alpha release.
-  * Restored DLL unloading for hppa and kfreebsd architectures because this
-    bug was worked around in glibc.
-
- -- Sergei Golovan <sgolovan at debian.org>  Sat, 23 Aug 2008 12:19:37 +0400
-
-tcl8.6 (8.6.0~a1-1) experimental; urgency=low
-
-  * Initial alpha release (closes: #488653).
-
- -- Sergei Golovan <sgolovan at debian.org>  Thu, 03 Jul 2008 21:27:33 +0400
-

Copied: tcl8.6/tags/8.6.0~b2-2/debian/changelog (from rev 1248, tcl8.6/trunk/debian/changelog)
===================================================================
--- tcl8.6/tags/8.6.0~b2-2/debian/changelog	                        (rev 0)
+++ tcl8.6/tags/8.6.0~b2-2/debian/changelog	2012-05-28 14:26:16 UTC (rev 1249)
@@ -0,0 +1,92 @@
+tcl8.6 (8.6.0~b2-2) experimental; urgency=low
+
+  * Install library(3tcl), packagens(3tcl), pkgMkIndex(3tcl) and safe(3tcl)
+    manpages despite of upstream renaming them because they are referenced
+    from the other pages.
+  * Don't break the build if tdbc headers aren't in the tarball (helps
+    to build the package using sources from the upstream repository).
+  * Removed Chris Waters wrom the uploaders list (closes: #664113).
+  * Renamed suggested dependency to tcl-tclreadline.
+  * Switched to 3.0 (quilt) source package format.
+  * Bumped debhelper compatibility version to 8.
+  * Added hardening build flags using dpkg-buildflags.
+  * Bumped standards version to 3.9.3.
+
+ -- Sergei Golovan <sgolovan at debian.org>  Mon, 28 May 2012 18:13:35 +0400
+
+tcl8.6 (8.6.0~b2-1) experimental; urgency=low
+
+  * New upstream beta release.
+
+ -- Sergei Golovan <sgolovan at debian.org>  Mon, 08 Aug 2011 23:11:31 +0400
+
+tcl8.6 (8.6.0~b2~rc4-1) experimental; urgency=low
+
+  * New upstream beta release candidate.
+
+ -- Sergei Golovan <sgolovan at debian.org>  Sun, 07 Aug 2011 12:28:21 +0400
+
+tcl8.6 (8.6.0~b2~rc0-1) experimental; urgency=low
+
+  * New upstream beta release candidate.
+  * Moved /usr/share/tcltk/tcl8.6/tclConfig.sh back to the /usr/lib/tcl8.6
+    directory because it is architecture dependent.
+  * Added ${misc:Depends} to debian/control.
+  * Added README.source which explains how to apply quilt patches.
+  * Bumped standards version to 3.9.2.
+
+ -- Sergei Golovan <sgolovan at debian.org>  Thu, 21 Jul 2011 10:30:26 +0400
+
+tcl8.6 (8.6.0~b1-4) experimental; urgency=low
+
+  * Removed tcl8.6-tdbc package because TDBC is to be packaged separately.
+  * Added zlib1g-dev to build dependencies to make Tcl use the system-wide
+    Zlib library.
+
+ -- Sergei Golovan <sgolovan at debian.org>  Thu, 29 Jul 2010 09:50:49 +0400
+
+tcl8.6 (8.6.0~b1-3) experimental; urgency=low
+
+  * Don't override CFLAGS in make call and supply it to configure script
+    as suggested by Anders Kaseorg (closes: #510153).
+
+ -- Sergei Golovan <sgolovan at debian.org>  Mon, 18 May 2009 09:35:52 +0400
+
+tcl8.6 (8.6.0~b1-2) experimental; urgency=low
+
+  * Added a compiler directive which helps to build tdbc extension
+    (closes: #510153).
+  * Don't remove tclsh alternative in case of package upgrade because the
+    manually installed alternative is also removed which isn't desirable.
+
+ -- Sergei Golovan <sgolovan at debian.org>  Sun, 01 Mar 2009 10:36:35 +0300
+
+tcl8.6 (8.6.0~b1-1) experimental; urgency=low
+
+  * New upstream beta release.
+  * Separated new TDBC package which is bundled with the Tcl distribution to
+    tcl8.6-tdbc package, and added directory /usr/lib/tcltk/tcl8.6 to the
+    list of paths where Tcl packages are searched.
+
+ -- Sergei Golovan <sgolovan at debian.org>  Sat, 27 Dec 2008 13:47:14 +0300
+
+tcl8.6 (8.6.0~a3-1) experimental; urgency=low
+
+  * New upstream alpha release.
+
+ -- Sergei Golovan <sgolovan at debian.org>  Sat, 11 Oct 2008 02:17:42 +0400
+
+tcl8.6 (8.6.0~a2-1) experimental; urgency=low
+
+  * New upstream alpha release.
+  * Restored DLL unloading for hppa and kfreebsd architectures because this
+    bug was worked around in glibc.
+
+ -- Sergei Golovan <sgolovan at debian.org>  Sat, 23 Aug 2008 12:19:37 +0400
+
+tcl8.6 (8.6.0~a1-1) experimental; urgency=low
+
+  * Initial alpha release (closes: #488653).
+
+ -- Sergei Golovan <sgolovan at debian.org>  Thu, 03 Jul 2008 21:27:33 +0400
+

Deleted: tcl8.6/tags/8.6.0~b2-2/debian/compat
===================================================================
--- tcl8.6/trunk/debian/compat	2012-05-28 13:38:25 UTC (rev 1247)
+++ tcl8.6/tags/8.6.0~b2-2/debian/compat	2012-05-28 14:26:16 UTC (rev 1249)
@@ -1 +0,0 @@
-5

Copied: tcl8.6/tags/8.6.0~b2-2/debian/compat (from rev 1248, tcl8.6/trunk/debian/compat)
===================================================================
--- tcl8.6/tags/8.6.0~b2-2/debian/compat	                        (rev 0)
+++ tcl8.6/tags/8.6.0~b2-2/debian/compat	2012-05-28 14:26:16 UTC (rev 1249)
@@ -0,0 +1 @@
+8

Deleted: tcl8.6/tags/8.6.0~b2-2/debian/control
===================================================================
--- tcl8.6/trunk/debian/control	2012-05-28 13:38:25 UTC (rev 1247)
+++ tcl8.6/tags/8.6.0~b2-2/debian/control	2012-05-28 14:26:16 UTC (rev 1249)
@@ -1,44 +0,0 @@
-Source: tcl8.6
-Section: libs
-Priority: optional
-Maintainer: Tcl/Tk Debian Packagers <pkg-tcltk-devel at lists.alioth.debian.org>
-Uploaders: Chris Waters <xtifr at debian.org>, Sergei Golovan <sgolovan at debian.org>
-Build-Depends: debhelper (>= 5.0.0), zlib1g-dev, quilt
-Standards-Version: 3.9.2
-Homepage: http://www.tcl.tk/
-
-Package: tcl8.6
-Section: interpreters
-Priority: optional
-Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}
-Conflicts: tcl74 (<= 7.4p3-2)
-Provides: tclsh
-Suggests: tclreadline
-Description: Tcl (the Tool Command Language) v8.6 - run-time files
- Tcl is a powerful, easy to use, embeddable, cross-platform interpreted
- scripting language.  This package contains everything you need to run
- Tcl scripts and Tcl-enabled apps.  This version includes thread support.
-
-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.
-
-Package: tcl8.6-dev
-Section: devel
-Priority: optional
-Architecture: any
-Depends: tcl8.6 (= ${binary:Version}), ${misc:Depends}
-Suggests: tcl8.6-doc
-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.

Copied: tcl8.6/tags/8.6.0~b2-2/debian/control (from rev 1248, tcl8.6/trunk/debian/control)
===================================================================
--- tcl8.6/tags/8.6.0~b2-2/debian/control	                        (rev 0)
+++ tcl8.6/tags/8.6.0~b2-2/debian/control	2012-05-28 14:26:16 UTC (rev 1249)
@@ -0,0 +1,44 @@
+Source: tcl8.6
+Section: libs
+Priority: optional
+Maintainer: Tcl/Tk Debian Packagers <pkg-tcltk-devel at lists.alioth.debian.org>
+Uploaders: Sergei Golovan <sgolovan at debian.org>
+Build-Depends: debhelper (>= 8.0.0), dpkg-dev (>= 1.16.1~), zlib1g-dev
+Standards-Version: 3.9.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)
+Provides: tclsh
+Suggests: tcl-tclreadline
+Description: Tcl (the Tool Command Language) v8.6 - run-time files
+ Tcl is a powerful, easy to use, embeddable, cross-platform interpreted
+ scripting language.  This package contains everything you need to run
+ Tcl scripts and Tcl-enabled apps.  This version includes thread support.
+
+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.
+
+Package: tcl8.6-dev
+Section: devel
+Priority: optional
+Architecture: any
+Depends: tcl8.6 (= ${binary:Version}), ${misc:Depends}
+Suggests: tcl8.6-doc
+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.

Deleted: tcl8.6/tags/8.6.0~b2-2/debian/patches/manpages.diff
===================================================================
--- tcl8.6/trunk/debian/patches/manpages.diff	2012-05-28 13:38:25 UTC (rev 1247)
+++ tcl8.6/tags/8.6.0~b2-2/debian/patches/manpages.diff	2012-05-28 14:26:16 UTC (rev 1249)
@@ -1,27 +0,0 @@
-Patch by Chris Waters fixes installing of several manual pages which
-aren't installed by upstream script but are referenced inside other
-manual pages.
-
---- tcl8.6b2.orig/unix/installManPage
-+++ tcl8.6b2/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"
-+for n in $Specials; do
-+    if [ "$Name" = "$n" ] ; then
-+	Names="$n $Names"
-+    fi
-+done
-+
- First=""
- for Target in $Names; do
-     Target=$Target.$Section$Suffix

Copied: tcl8.6/tags/8.6.0~b2-2/debian/patches/manpages.diff (from rev 1248, tcl8.6/trunk/debian/patches/manpages.diff)
===================================================================
--- tcl8.6/tags/8.6.0~b2-2/debian/patches/manpages.diff	                        (rev 0)
+++ tcl8.6/tags/8.6.0~b2-2/debian/patches/manpages.diff	2012-05-28 14:26:16 UTC (rev 1249)
@@ -0,0 +1,27 @@
+Patch by Chris Waters fixes installing of several manual pages which
+aren't installed by upstream script but are referenced inside other
+manual pages.
+
+--- tcl8.6b2.orig/unix/installManPage
++++ tcl8.6b2/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

Deleted: tcl8.6/tags/8.6.0~b2-2/debian/rules
===================================================================
--- tcl8.6/trunk/debian/rules	2012-05-28 13:38:25 UTC (rev 1247)
+++ tcl8.6/tags/8.6.0~b2-2/debian/rules	2012-05-28 14:26:16 UTC (rev 1249)
@@ -1,193 +0,0 @@
-#!/usr/bin/make -f
-# debian/rules that uses debhelper.
-
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH)
-DEB_HOST_GNU_TYPE := $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
-DEB_BUILD_GNU_TYPE := $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
-
-export QUILT_PATCHES := debian/patches
-
-v = 8.6
-
-ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
-CFLAGS=-g -O0
-else
-# 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=-g -O2 -fno-unit-at-a-time -DTCL_NO_STACK_CHECK=1
-else
-CFLAGS=-g -O2 -fno-unit-at-a-time
-endif
-endif
-
-unpatch:
-	dh_testdir
-	quilt pop -a || test $$? = 2
-	rm -rf patch-stamp .pc
-
-patch: patch-stamp
-patch-stamp:
-	dh_testdir
-	quilt push -a || test $$? = 2
-	touch patch-stamp
-
-build: build-stamp
-build-stamp: patch-stamp
-	dh_testdir
-	# So so ugly but it works...
-	touch generic/tclStubInit.c
-	cd unix && \
-	  TCL_LIBRARY="/usr/share/tcltk/tcl$(v)" \
-	  TCL_PACKAGE_PATH="/usr/local/lib/tcltk /usr/local/share/tcltk /usr/lib/tcltk /usr/share/tcltk /usr/lib/tcltk/tcl$(v) /usr/lib" \
-	  CFLAGS="$(CFLAGS)" \
-	  ./configure --host=$(DEB_HOST_GNU_TYPE) \
-		      --build=$(DEB_BUILD_GNU_TYPE) \
-		      --prefix=/usr \
-		      --includedir=/usr/include/tcl$(v) \
-		      --enable-shared \
-		      --enable-threads \
-		      --enable-dll-unloading \
-		      --disable-rpath \
-		      --mandir=/usr/share/man \
-		      --enable-man-symlinks && \
-	  touch ../generic/tclStubInit.c && \
-	  $(MAKE)
-	# Build the static library.
-	cd unix && \
-	  ar cr libtcl$(v).a *.o && \
-	  ar d libtcl$(v).a tclAppInit.o && \
-	  ranlib libtcl$(v).a
-	touch build-stamp
-
-clean: clean-patched unpatch
-	dh_testdir
-	dh_testroot
-	dh_clean
-
-clean-patched: patch-stamp
-	dh_testdir
-	dh_testroot
-	rm -f build-stamp install-stamp
-	cd unix && [ ! -f Makefile ] || $(MAKE) distclean
-	# Remove forgotten files
-	rm -f tests/pkg/pkga.so unix/config.log unix/Tcltest.so
-
-install: install-stamp
-install-stamp: build-stamp
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-	dh_installdirs
-	cd unix && \
-	  GZIP=-9 \
-	  $(MAKE) INSTALL_ROOT=`pwd`/../debian/tmp \
-		  MAN_INSTALL_DIR=`pwd`/../debian/tmp/usr/share/man \
-		  MANN_INSTALL_DIR=`pwd`/../debian/tmp/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}:' \
-	    debian/tmp/usr/share/tcltk/tcl$(v)/tm.tcl
-	install -d -m 755 `pwd`/debian/tmp/usr/share/tcltk/tcl$(v)/tcl8
-	mv debian/tmp/usr/share/tcltk/tcl8/*/* debian/tmp/usr/share/tcltk/tcl$(v)/tcl8
-	# Fix up the libraries.
-	cp unix/libtcl$(v).a debian/tmp/usr/lib
-	#mv debian/tmp/usr/lib/libtcl$(v).so debian/tmp/usr/lib/libtcl$(v).so.0
-	#ln -sf libtcl$(v).so.0 debian/tmp/usr/lib/libtcl$(v).so
-	mkdir debian/tmp/usr/lib/tcl$(v)
-	mv debian/tmp/usr/lib/*.sh debian/tmp/usr/lib/tcl$(v)
-	cp unix/tcl.m4 debian/tmp/usr/share/tcltk/tcl$(v)/tcl.m4
-	rm -f debian/tmp/usr/share/tcltk/tcl$(v)/ldAix
-	#
-	# Fix up the include files.
-	install -d debian/tmp/usr/include/tcl$(v)/tcl-private/generic
-	cp generic/*.h debian/tmp/usr/include/tcl$(v)/tcl-private/generic
-	install -d debian/tmp/usr/include/tcl$(v)/tcl-private/unix
-	cp unix/*.h debian/tmp/usr/include/tcl$(v)/tcl-private/unix
-	install -d debian/tmp/usr/include/tcl$(v)/tcl-private/compat
-	cp compat/*.h debian/tmp/usr/include/tcl$(v)/tcl-private/compat
-	install -d debian/tmp/usr/include/tcl$(v)/tcl-private/libtommath
-	cp libtommath/*.h debian/tmp/usr/include/tcl$(v)/tcl-private/libtommath
-	-rm debian/tmp/usr/include/tcl$(v)/tdbc*.h
-	#
-	# Fix up the manpages.
-	cd debian/tmp/usr/share/man/man1 && \
-	  cat tclsh.1 | sed -e 's/(n)/(3tcl)/g' | gzip -9 > tclsh$(v).1.gz && \
-	  rm tclsh.1
-	cd debian/tmp/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.gz $$f2.gz ; \
-	     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" \
-			 | gzip -9 >$$f2.gz ; \
-		rm $$f ; \
-	     fi ; \
-	  done
-	touch install-stamp
-
-# Build architecture-independent files here.
-binary-indep: build install
-	dh_testdir -i
-	dh_testroot -i
-	dh_movefiles -i
-	dh_installdocs -i
-	dh_installchangelogs -i ChangeLog
-	dh_compress -i
-	dh_fixperms -i
-	dh_installdeb -i
-	dh_gencontrol -i
-	dh_md5sums -i
-	dh_builddeb -i
-
-# Build architecture-dependent files here.
-binary-arch: build install
-	dh_testdir -a
-	dh_testroot -a
-	dh_movefiles -a
-	# now, fix up file locations for .m4
-	mv debian/tcl$(v)/usr/share/tcltk/tcl$(v)/tcl.m4 \
-	   debian/tcl$(v)-dev/usr/share/aclocal/tcl$(v).m4
-	sh debian/filterconfig \
-	   debian/tcl$(v)-dev/usr/lib/tcl$(v)/tclConfig.sh
-	dh_installdocs -a
-	dh_installmenu -a
-	dh_installchangelogs -a ChangeLog
-	install -m 644 debian/tcl$(v).lintian-override \
-		debian/tcl$(v)/usr/share/lintian/overrides/tcl$(v)
-	dh_fixperms -a
-	dh_strip -a
-	dh_compress -a
-	dh_makeshlibs -a -V 'tcl$(v) (>= 8.6.0~b1)' -XTcltest
-	dh_installdeb -a
-	dh_shlibdeps -a -ldebian/tcl$(v)/usr/lib
-	dh_gencontrol -a
-	dh_md5sums -a
-	dh_builddeb -a
-
-source diff:
-	@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
-
-binary: binary-indep binary-arch
-
-get-orig-source:
-	wget -O tcl8.6_8.6.0~b2.orig.tar.gz \
-	     http://prdownloads.sourceforge.net/tcl/tcl8.6b2-src.tar.gz
-
-.PHONY: patch unpatch clean-patched build clean binary-indep binary-arch binary install get-orig-source
-

Copied: tcl8.6/tags/8.6.0~b2-2/debian/rules (from rev 1248, tcl8.6/trunk/debian/rules)
===================================================================
--- tcl8.6/tags/8.6.0~b2-2/debian/rules	                        (rev 0)
+++ tcl8.6/tags/8.6.0~b2-2/debian/rules	2012-05-28 14:26:16 UTC (rev 1249)
@@ -0,0 +1,119 @@
+#!/usr/bin/make -f
+
+v = 8.6
+DIR = $(shell pwd)/debian/tmp
+
+DPKG_EXPORT_BUILDFLAGS = 1
+include /usr/share/dpkg/buildflags.mk
+
+LDFLAGS = $(shell dpkg-buildflags --get LDFLAGS)
+export LDFLAGS
+
+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_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 /usr/share/tcltk /usr/lib/tcltk/tcl$(v) /usr/lib" \
+	CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" \
+	dh_auto_configure -Dunix -- \
+		      --includedir=/usr/include/tcl$(v) \
+		      --enable-shared \
+		      --enable-threads \
+		      --enable-dll-unloading \
+		      --disable-rpath \
+		      --enable-man-symlinks
+
+override_dh_auto_build:
+	touch generic/tclStubInit.c && \
+	$(MAKE) -C unix
+	# Build the static library
+	cd unix && \
+	  ar cr libtcl$(v).a *.o && \
+	  ar d libtcl$(v).a tclAppInit.o && \
+	  ranlib libtcl$(v).a
+
+override_dh_auto_install:
+	GZIP=-9 \
+	$(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
+	#mv $(DIR)/usr/lib/libtcl$(v).so $(DIR)/usr/lib/libtcl$(v).so.0
+	#ln -sf libtcl$(v).so.0 $(DIR)/usr/lib/libtcl$(v).so
+	install -d -m 755 $(DIR)/usr/lib/tcl$(v)
+	mv $(DIR)/usr/lib/*.sh $(DIR)/usr/lib/tcl$(v)
+	sh debian/filterconfig $(DIR)/usr/lib/tcl$(v)/tclConfig.sh
+	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
+	-rm $(DIR)/usr/include/tcl$(v)/tdbc*.h
+	#
+	# 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 -V 'tcl$(v) (>= 8.6.0~b1)' -XTcltest
+
+override_dh_shlibdeps:
+	dh_shlibdeps -a -ldebian/tcl$(v)/usr/lib
+
+get-orig-source:
+	wget -O tcl8.6_8.6.0~b2.orig.tar.gz \
+	     http://prdownloads.sourceforge.net/tcl/tcl8.6b2-src.tar.gz
+
+.PHONY: override_dh_auto_configure override_dh_auto_install override_dh_makeshlibs override_dh_shlibdeps get-orig-source
+

Deleted: tcl8.6/tags/8.6.0~b2-2/debian/tcl8.6-dev.files
===================================================================
--- tcl8.6/trunk/debian/tcl8.6-dev.files	2012-05-28 13:38:25 UTC (rev 1247)
+++ tcl8.6/tags/8.6.0~b2-2/debian/tcl8.6-dev.files	2012-05-28 14:26:16 UTC (rev 1249)
@@ -1,4 +0,0 @@
-usr/include
-usr/lib/*.a
-usr/lib/*.so
-usr/lib/tcl8.6/*.sh

Copied: tcl8.6/tags/8.6.0~b2-2/debian/tcl8.6-dev.install (from rev 1248, tcl8.6/trunk/debian/tcl8.6-dev.install)
===================================================================
--- tcl8.6/tags/8.6.0~b2-2/debian/tcl8.6-dev.install	                        (rev 0)
+++ tcl8.6/tags/8.6.0~b2-2/debian/tcl8.6-dev.install	2012-05-28 14:26:16 UTC (rev 1249)
@@ -0,0 +1,5 @@
+usr/include
+usr/lib/*.a
+usr/lib/*.so
+usr/lib/tcl*/*.sh
+usr/share/aclocal/*.m4

Deleted: tcl8.6/tags/8.6.0~b2-2/debian/tcl8.6-doc.files
===================================================================
--- tcl8.6/trunk/debian/tcl8.6-doc.files	2012-05-28 13:38:25 UTC (rev 1247)
+++ tcl8.6/tags/8.6.0~b2-2/debian/tcl8.6-doc.files	2012-05-28 14:26:16 UTC (rev 1249)
@@ -1 +0,0 @@
-usr/share/man/man3

Copied: tcl8.6/tags/8.6.0~b2-2/debian/tcl8.6-doc.install (from rev 1248, tcl8.6/trunk/debian/tcl8.6-doc.install)
===================================================================
--- tcl8.6/tags/8.6.0~b2-2/debian/tcl8.6-doc.install	                        (rev 0)
+++ tcl8.6/tags/8.6.0~b2-2/debian/tcl8.6-doc.install	2012-05-28 14:26:16 UTC (rev 1249)
@@ -0,0 +1 @@
+usr/share/man/man3

Deleted: tcl8.6/tags/8.6.0~b2-2/debian/tcl8.6.files
===================================================================
--- tcl8.6/trunk/debian/tcl8.6.files	2012-05-28 13:38:25 UTC (rev 1247)
+++ tcl8.6/tags/8.6.0~b2-2/debian/tcl8.6.files	2012-05-28 14:26:16 UTC (rev 1249)
@@ -1,5 +0,0 @@
-usr/bin
-usr/share/tcltk/tcl8
-usr/share/tcltk/tcl8.6
-usr/lib/*.so.*
-usr/share/man/man1

Copied: tcl8.6/tags/8.6.0~b2-2/debian/tcl8.6.install (from rev 1248, tcl8.6/trunk/debian/tcl8.6.install)
===================================================================
--- tcl8.6/tags/8.6.0~b2-2/debian/tcl8.6.install	                        (rev 0)
+++ tcl8.6/tags/8.6.0~b2-2/debian/tcl8.6.install	2012-05-28 14:26:16 UTC (rev 1249)
@@ -0,0 +1,5 @@
+usr/bin
+usr/share/tcltk/tcl8
+usr/share/tcltk/tcl8.6
+usr/lib/*.so.*
+usr/share/man/man1

Deleted: tcl8.6/tags/8.6.0~b2-2/debian/tcl8.6.lintian-override
===================================================================
--- tcl8.6/trunk/debian/tcl8.6.lintian-override	2012-05-28 13:38:25 UTC (rev 1247)
+++ tcl8.6/tags/8.6.0~b2-2/debian/tcl8.6.lintian-override	2012-05-28 14:26:16 UTC (rev 1249)
@@ -1 +0,0 @@
-tcl8.6: package-name-doesnt-match-sonames

Copied: tcl8.6/tags/8.6.0~b2-2/debian/tcl8.6.lintian-overrides (from rev 1248, tcl8.6/trunk/debian/tcl8.6.lintian-overrides)
===================================================================
--- tcl8.6/tags/8.6.0~b2-2/debian/tcl8.6.lintian-overrides	                        (rev 0)
+++ tcl8.6/tags/8.6.0~b2-2/debian/tcl8.6.lintian-overrides	2012-05-28 14:26:16 UTC (rev 1249)
@@ -0,0 +1 @@
+tcl8.6: package-name-doesnt-match-sonames




More information about the Pkg-tcltk-commits mailing list