--- itcl3-3.4.1.orig/debian/README.Debian +++ itcl3-3.4.1/debian/README.Debian @@ -0,0 +1,8 @@ +Earlier packages of itcl/itk were given names like "itcl3.1", and were +tied to specific versions of tcl/tk. This version uses the "stubs", +which is supposed to make it independent of the version of tcl/tk in +use. That's the theory. In practice, because of internal incompatibilities +between tcl8.4 and tcl8.5 thish package works with tcl8.4 if built with +tcl8.4, and works with tcl8.5 and tcl8.6 if built with tcl8.5. + + -- Sergei Golovan Wed, 02 Sep 2009 17:30:36 +0400 --- itcl3-3.4.1.orig/debian/copyright +++ itcl3-3.4.1/debian/copyright @@ -0,0 +1,47 @@ +This package was debianized by Chris Waters from sources +found at http://sourceforge.net/project/showfiles.php?group_id=13244 + +Author: Michael J. McLennan (mmclennan@lucent.com) + +Copyright: + +Copyright (c) 1993-1998 Lucent Technologies, Inc. + +This software is copyrighted by Lucent Technologies, Inc., 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. --- itcl3-3.4.1.orig/debian/changelog +++ itcl3-3.4.1/debian/changelog @@ -0,0 +1,130 @@ +itcl3 (3.4.1-1ubuntu1) raring; urgency=low + + * Build against multiarched tcl8.5 location. + + -- Dmitrijs Ledkovs Wed, 03 Apr 2013 12:03:08 +0100 + +itcl3 (3.4.1-1) unstable; urgency=low + + * New upstream release. + * Bumped standards-version to 3.9.3. + * Removed Chris Waters from uploaders list (closes: #664108). + * Fixed debian/copyright. + * Added build-arch and build-indep targets to debian/rules. + + -- Sergei Golovan Sat, 14 Apr 2012 10:44:20 +0400 + +itcl3 (3.4~b1-3) unstable; urgency=low + + * Fixed FTBFS introduced by moving tclConfig.sh to /usr/lib + (closes: #618220). + * Added ${misc:Depends} substitution variable to debian/control. + * Bumped standards-version to 3.9.2. + + -- Sergei Golovan Fri, 12 Aug 2011 20:09:26 +0400 + +itcl3 (3.4~b1-2) unstable; urgency=low + + * Fixed build for non-linux Debian architectures. + + -- Sergei Golovan Fri, 18 Sep 2009 10:29:56 +0400 + +itcl3 (3.4~b1-1) unstable; urgency=low + + * New upstream release, moving itk3 to a separate source package. + * Switched to Tcl/Tk 8.5 as a dependency. + * Switched to quilt for patch management. + * Remove static library from the binary package. + * Bumped standards-version to 3.8.3. + * Added version to shlibs which bounds itcl3 dependencies from both sides. + + -- Sergei Golovan Fri, 04 Sep 2009 18:21:23 +0400 + +itcl3 (3.2.1-5) unstable; urgency=low + + * Fixed installing lintian overrides for itcl3 and itk3 (moved them from + binary-indep to binary-arch target). + * Removed dependency of itcl3-dev and itk3-dev on build-essential package + libc6-dev. + * Loosened dependencies of itcl3-dev and itk3-dev on itcl3-doc and itk3-doc + from recommends to suggests. + + -- Sergei Golovan Sun, 23 Mar 2008 10:34:42 +0300 + +itcl3 (3.2.1-4) unstable; urgency=low + + * New maintainer Debian Tcl/Tk Packagers + . + * Acknowledged NMU by Amaya Rodrigo Sastre. + * Added homepage header to debian/control. + * Removed non-UTF-8 characters from the package descriptions + (closes: #242690). + * Build the package using the default Tcl/Tk version. + * Bumped standards version to 3.7.3. + * Bumped debhelper compatibility level to 5. + * Replaced deprecated Source-Version substitution variable by + binary:Version in debian/control. + * Moved itcl3, itk3 package files to a subdirectory of /usr/share/tcltk + directory to meke the package compliant to Debian Tcl/Tk policy. + * Changed itcl3-doc and itk3-doc packages section to doc. + * Fixed call to make clean and make distclean in clean target of + debian/rules. + * Fixed clean after the package build (closes: #424422). + * Added missing string substitutions in itclConfig.sh and itkConfig.sh + (closes: #244597). + * Overridden lintian warnings package-name-doesnt-match-sonames for itcl3 + and itk3 packages as they aren't usual library packages. + + -- Sergei Golovan Fri, 01 Feb 2008 19:06:33 +0300 + +itcl3 (3.2.1-3.1) unstable; urgency=low + + * Non-maintainer upload. + * Update build-deps for xlibs-dev removal; closes: #346711. + * Credit and Big Thanks to Justin Pryzby + for the patch and testing. + + -- Amaya Rodrigo Sastre Thu, 19 Jan 2006 12:54:55 +0100 + +itcl3 (3.2.1-3) unstable; urgency=low + + * Added conflicts with old version of the insight package, which + included its own internal versions of the itcl3.2 libraries + (closes: #210199, #210200). + * Hack pkgIndex.tcl to load the proper shared library (closes: #21119). + + -- Chris Waters Tue, 16 Sep 2003 15:26:19 -0700 + +itcl3 (3.2.1-2) unstable; urgency=low + + * Don't override CFLAGS in debian/rules - this is no longer supported + upstream, and (among other things), it causes the -fPIC flag to go + away (closes: #209153). + * Fix debian/rules to properly generate itkConfig.sh (closes: #209175). + + -- Chris Waters Mon, 8 Sep 2003 15:57:12 -0700 + +itcl3 (3.2.1-1) unstable; urgency=low + + * Changed direct symlink to indirect one to match dependencies (keeps + lintian quiet). + * Added quick README.Debian to explain package renaming. + * First actual release to Debian archives. + + -- Chris Waters Sun, 24 Aug 2003 15:02:03 -0700 + +itcl3 (3.2.1-0pre2) unstable; urgency=low + + * Second prerelease testing package. Changed package name(s). + * Removed provides lines for itclsh and itkwish (which no are no longer + provided). + * Although this itcl *should* work with any tcl8.x, my tests indicate + that it actually needs 8.4. + + -- Chris Waters Wed, 20 Aug 2003 13:43:33 -0700 + +itcl3.2 (3.2.1-0pre1) unstable; urgency=low + + * New itcl package, prerelease testing package. + + -- Chris Waters Mon, 21 Jul 2003 19:57:16 -0700 --- itcl3-3.4.1.orig/debian/itcl3.docs +++ itcl3-3.4.1/debian/itcl3.docs @@ -0,0 +1,4 @@ +#README +#INCOMPATIBLE +#TODO +#CHANGES --- itcl3-3.4.1.orig/debian/itcl3-dev.files +++ itcl3-3.4.1/debian/itcl3-dev.files @@ -0,0 +1,4 @@ +usr/include/tcl*/itcl* +usr/lib/libitcl*.a +usr/lib/libitcl*.so +usr/share/tcltk/itcl*/*.sh --- itcl3-3.4.1.orig/debian/control +++ itcl3-3.4.1/debian/control @@ -0,0 +1,61 @@ +Source: itcl3 +Section: libs +Priority: optional +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Debian Tcl/Tk Packagers +Uploaders: Sergei Golovan +Build-Depends: debhelper (>= 5.0.0), tcl8.5-dev, quilt +Standards-Version: 3.9.3 +Homepage: http://incrtcl.sourceforge.net/ + +Package: itcl3 +Section: libs +Priority: optional +Architecture: any +Depends: ${shlibs:Depends}, tcl8.5, ${misc:Depends} +Suggests: itcl3-doc +Conflicts: insight (<= 5.3+cvs.2003.08.30-1) +Description: [incr Tcl] OOP extension for Tcl - run-time files + [incr Tcl] (or itcl) is a popular object-oriented extension for the + embeddable Tcl scripting language. The name is a play on C++, and + itcl has a similar object model, including multiple inheritance and + public and private classes and variables. Unlike most OOP extensions + to Tcl, itcl is written in C for speed. + . + This package contains everything you need to run itcl scripts and + itcl-enabled apps. + +Package: itcl3-dev +Section: devel +Priority: optional +Architecture: any +Depends: tcl8.5-dev, itcl3 (= ${binary:Version}), ${misc:Depends} +Conflicts: itcl-dev +Suggests: itcl3-doc +Description: [incr Tcl] OOP extension for Tcl - development files + [incr Tcl] (or itcl) is a popular object-oriented extension for the + embeddable Tcl scripting language. The name is a play on C++, and + itcl has a similar object model, including multiple inheritance and + public and private classes and variables. Unlike most OOP extensions + to Tcl, itcl is written in C for speed. + . + This package contains the headers and libraries needed to embed or + add C extensions to itcl. + +Package: itcl3-doc +Section: doc +Priority: optional +Architecture: all +Depends: ${misc:Depends} +Suggests: itcl3 +Conflicts: itcl-dev, itcl-doc +Provides: itcl-doc +Description: [incr Tcl] OOP extension for Tcl - manual pages + [incr Tcl] (or itcl) is a popular object-oriented extension for the + embeddable Tcl scripting language. The name is a play on C++, and + itcl has a similar object model, including multiple inheritance and + public and private classes and variables. Unlike most OOP extensions + to Tcl, itcl is written in C for speed. + . + This package contains the man pages for the new commands that itcl + adds to Tcl. --- itcl3-3.4.1.orig/debian/rules +++ itcl3-3.4.1/debian/rules @@ -0,0 +1,157 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +export QUILT_PATCHES := debian/patches + +include /usr/share/dpkg/architecture.mk + +vmajor=$(shell dpkg-parsechangelog | grep ^Version: | sed 's/[^0-9]*\([0-9]*\).*/\1/') +vminor=$(shell dpkg-parsechangelog | grep ^Version: | sed 's/[^0-9]*[0-9]*\.\([0-9]*\).*/\1/') +vrelease=$(shell dpkg-parsechangelog | grep ^Version: | sed 's/[^0-9]*[0-9]*\.[0-9]*\.\([0-9]*\).*/\1/') +v=$(vmajor).$(vminor) +v1=$(vmajor).$(shell expr $(vminor) + 1) +dtmp=$(shell pwd)/debian/tmp + +tclv=8.5 + +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-arch: build-stamp +build-indep: build-stamp +build: build-stamp +build-stamp: patch-stamp + dh_testdir + # + sh ./configure --prefix=/usr \ + --includedir=/usr/include/tcl$(tclv) \ + --enable-shared \ + --enable-threads \ + --with-tcl=/usr/lib/$(DEB_HOST_MULTIARCH)/tcl$(tclv) + $(MAKE) LIBS="-Wl,-soname,\$$@.1" + # + 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 + # + [ ! -f Makefile ] || $(MAKE) clean + [ ! -f Makefile ] || $(MAKE) distclean + # + rm -f itclConfig.sh pkgIndex.tcl + +install: install-stamp +install-stamp: build-stamp + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + # + mkdir -p debian/tmp + $(MAKE) prefix=$(dtmp)/usr \ + exec_prefix=$(dtmp)/usr \ + includedir=$(dtmp)/usr/include/tcl$(tclv) \ + install + # + # Fix up the itcl libraries. + mv $(dtmp)/usr/lib/itcl*/libitcl$(v).so $(dtmp)/usr/lib/libitcl$(v).so.1 + mv $(dtmp)/usr/lib/itcl*/*.a $(dtmp)/usr/lib/ + ln -sf libitcl$(v).so.1 $(dtmp)/usr/lib/libitcl$(v).so + # (itclConfig.sh doesn't get installed at all, so we install it here) + sed -e "s:^\(\(ITCL\|itcl\)_\(BUILD_\)\?LIB_SPEC\)=.*$$:\1='-L/usr/lib -litcl$(v)':" \ + -e "s:^\(\(ITCL\|itcl\)_\(BUILD_\)\?STUB_LIB_SPEC\)=.*$$:\1='-L/usr/lib -litclstub$(v)':" \ + -e "s:^\(\(ITCL\|itcl\)_\(BUILD_\)\?STUB_LIB_PATH\)=.*$$:\1=/usr/lib/libitclstub$(v).a:" \ + -e "s:^\(\(ITCL\|itcl\)_SRC_DIR\)=.*$$:\1='/usr/include/tcl$(tclv)/itcl-private':" \ + -e "s:^\(\(ITCL\|itcl\)_LIB_FILE\)=.*$$:\1=libitcl$(v).so.1:" \ + -e "s:^\(\(ITCL\|itcl\)_STUB_LIB_FILE\)=.*$$:\1=libitclstub$(v).a:" \ + -e "s:^\(\(ITCL\|itcl\)_VERSION\)=.*$$:\1='$(v)':" \ + itclConfig.sh > $(dtmp)/usr/lib/itcl$(v)/itclConfig.sh + # + # Move the Tcl library to /usr/share/tcltk + install -d -m 755 $(dtmp)/usr/share/tcltk + mv $(dtmp)/usr/lib/itcl$(v) $(dtmp)/usr/share/tcltk/ + # + # Fix up the include files. + install -d $(dtmp)/usr/include/tcl$(tclv)/itcl-private/generic + cp generic/*.h $(dtmp)/usr/include/tcl$(tclv)/itcl-private/generic + # + # Fix up the manpages. + # - just remove the installed ones, they're all mixed together + rm -r $(dtmp)/usr/man + mkdir -p $(dtmp)/usr/share/man/man3 + # + cp doc/*.n $(dtmp)/usr/share/man/man3 + cd $(dtmp)/usr/share/man/man3 && \ + for i in *.n ; do \ + sed -i -e'/^\.so man\.macros/d' \ + -e'/^\.BS/d' \ + -e'/^\.BE/d' \ + -e'/^\.CS/d' \ + -e'/^\.CE/d' \ + -e's/^\.TH \([^ ]\+\) n /.TH \1 3itcl /' $$i ; \ + mv $$i `echo $$i | sed -e 's/\.n/\.3itcl/'` ; \ + done + # + dh_movefiles -pitcl3-dev + dh_movefiles -Nitcl3-dev + # + touch install-stamp + +# Build architecture-independent files here. +binary-indep: build install + dh_testdir -i + dh_testroot -i + dh_installdocs -i + dh_installchangelogs -i + 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_installdocs -a + install -D -m 644 debian/itcl3.lintian-override \ + debian/itcl3/usr/share/lintian/overrides/itcl3 + dh_installchangelogs -a + # + # hack up the /usr/doc links for dependent packages + rm -rf debian/itcl3-dev/usr/share/doc/itcl3-dev + ln -sf itcl3 debian/itcl3-dev/usr/share/doc/itcl3-dev + # + dh_strip -a + dh_compress -a + dh_fixperms -a + dh_makeshlibs -a -V 'itcl3 (>= $(v)~), itcl3 (<< $(v1)~)' + dh_installdeb -a + dh_shlibdeps -a + 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 +.PHONY: patch unpatch build build-arch build-indep clean clean-patched binary-indep binary-arch binary install --- itcl3-3.4.1.orig/debian/itcl3.files +++ itcl3-3.4.1/debian/itcl3.files @@ -0,0 +1,2 @@ +usr/share/tcltk/itcl*/* +usr/lib/libitcl*.so.* --- itcl3-3.4.1.orig/debian/itcl3-doc.files +++ itcl3-3.4.1/debian/itcl3-doc.files @@ -0,0 +1 @@ +usr/share/man/man3/*.3itcl --- itcl3-3.4.1.orig/debian/README.source +++ itcl3-3.4.1/debian/README.source @@ -0,0 +1,8 @@ +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 Wed, 02 Sep 2009 17:32:39 +0400 --- itcl3-3.4.1.orig/debian/compat +++ itcl3-3.4.1/debian/compat @@ -0,0 +1 @@ +5 --- itcl3-3.4.1.orig/debian/itcl3-doc.docs +++ itcl3-3.4.1/debian/itcl3-doc.docs @@ -0,0 +1,4 @@ +#README +#INCOMPATIBLE +#TODO +#CHANGES --- itcl3-3.4.1.orig/debian/itcl3.lintian-override +++ itcl3-3.4.1/debian/itcl3.lintian-override @@ -0,0 +1 @@ +itcl3: package-name-doesnt-match-sonames --- itcl3-3.4.1.orig/debian/patches/non-linux.patch +++ itcl3-3.4.1/debian/patches/non-linux.patch @@ -0,0 +1,25 @@ +Patch by Sergei Golovan fixes build on hurd-i386, kfreebsd-i386, +kfreebsd-amd64 architectures. + +--- itcl3-3.4.1.orig/configure ++++ itcl3-3.4.1/configure +@@ -7752,7 +7752,7 @@ + fi + + ;; +- Linux*) ++ Linux*|GNU*) + SHLIB_CFLAGS="-fPIC" + SHLIB_SUFFIX=".so" + +--- itcl3-3.4.1.orig/tclconfig/tcl.m4 ++++ itcl3-3.4.1/tclconfig/tcl.m4 +@@ -1517,7 +1517,7 @@ + ]) + ]) + ;; +- Linux*) ++ Linux*|GNU*) + SHLIB_CFLAGS="-fPIC" + SHLIB_SUFFIX=".so" + --- itcl3-3.4.1.orig/debian/patches/pkgindex.patch +++ itcl3-3.4.1/debian/patches/pkgindex.patch @@ -0,0 +1,8 @@ +--- itcl3-3.4.1.orig/pkgIndex.tcl.in ++++ itcl3-3.4.1/pkgIndex.tcl.in +@@ -1,4 +1,4 @@ + # Tcl package index file, version 1.0 + + if {![package vsatisfies [package present Tcl] @TCL_VERSION@]} {return} +-package ifneeded Itcl @PACKAGE_VERSION@ [list load [file join $dir "@PKG_LIB_FILE@"] Itcl] ++package ifneeded Itcl @PACKAGE_VERSION@ [list load [file join /usr lib "@PKG_LIB_FILE@.1"] Itcl] --- itcl3-3.4.1.orig/debian/patches/series +++ itcl3-3.4.1/debian/patches/series @@ -0,0 +1,2 @@ +pkgindex.patch +non-linux.patch