[Pkg-tcltk-commits] r1764 - in itcl3/tags: . 3.4.1-3/debian
sgolovan at alioth.debian.org
sgolovan at alioth.debian.org
Wed Nov 25 12:16:39 UTC 2015
Author: sgolovan
Date: 2015-11-25 12:16:38 +0000 (Wed, 25 Nov 2015)
New Revision: 1764
Added:
itcl3/tags/3.4.1-3/
itcl3/tags/3.4.1-3/debian/changelog
itcl3/tags/3.4.1-3/debian/control
itcl3/tags/3.4.1-3/debian/rules
Removed:
itcl3/tags/3.4.1-3/debian/changelog
itcl3/tags/3.4.1-3/debian/control
itcl3/tags/3.4.1-3/debian/rules
Log:
[svn-buildpackage] Tagging itcl3 3.4.1-3
Deleted: itcl3/tags/3.4.1-3/debian/changelog
===================================================================
--- itcl3/trunk/debian/changelog 2015-11-25 10:49:35 UTC (rev 1761)
+++ itcl3/tags/3.4.1-3/debian/changelog 2015-11-25 12:16:38 UTC (rev 1764)
@@ -1,141 +0,0 @@
-itcl3 (3.4.1-3) UNRELEASED; urgency=medium
-
- * NOT RELEASED YET
-
- -- Sergei Golovan <sgolovan at debian.org> Sat, 05 Jul 2014 17:35:02 +0400
-
-itcl3 (3.4.1-2) unstable; urgency=low
-
- * Switched to the 3.0 (quilt) source package format.
- * Bumped the debhelper compatibility version to 9.
- * Added multi-arch support.
- * Bumped standards-version to 3.9.5.
- * Replaced tcl8.5 by libtcl in dependencies list. This means that both
- libtcl8.5 and libtcl8.6 can be used to link itcl3 to.
-
- -- Sergei Golovan <sgolovan at debian.org> Sat, 05 Jul 2014 17:17:51 +0400
-
-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 <sgolovan at debian.org> 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 <sgolovan at debian.org> 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 <sgolovan at debian.org> 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 <sgolovan at debian.org> 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 <sgolovan at debian.org> Sun, 23 Mar 2008 10:34:42 +0300
-
-itcl3 (3.2.1-4) unstable; urgency=low
-
- * New maintainer Debian Tcl/Tk Packagers
- <pkg-tcltk-devel at lists.alioth.debian.org>.
- * 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 <sgolovan at debian.org> 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
- <justinpryzby at users.sourceforge.net> for the patch and testing.
-
- -- Amaya Rodrigo Sastre <amaya at debian.org> 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 <xtifr at debian.org> 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 <xtifr at debian.org> 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 <xtifr at debian.org> 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 <xtifr at debian.org> 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 <xtifr at debian.org> Mon, 21 Jul 2003 19:57:16 -0700
Copied: itcl3/tags/3.4.1-3/debian/changelog (from rev 1763, itcl3/trunk/debian/changelog)
===================================================================
--- itcl3/tags/3.4.1-3/debian/changelog (rev 0)
+++ itcl3/tags/3.4.1-3/debian/changelog 2015-11-25 12:16:38 UTC (rev 1764)
@@ -0,0 +1,142 @@
+itcl3 (3.4.1-3) unstable; urgency=medium
+
+ * Fixed building the architecture-independent package only (closes: #806050).
+ * Bumped standards-version to 3.9.6.
+
+ -- Sergei Golovan <sgolovan at debian.org> Wed, 25 Nov 2015 15:06:44 +0300
+
+itcl3 (3.4.1-2) unstable; urgency=low
+
+ * Switched to the 3.0 (quilt) source package format.
+ * Bumped the debhelper compatibility version to 9.
+ * Added multi-arch support.
+ * Bumped standards-version to 3.9.5.
+ * Replaced tcl8.5 by libtcl in dependencies list. This means that both
+ libtcl8.5 and libtcl8.6 can be used to link itcl3 to.
+
+ -- Sergei Golovan <sgolovan at debian.org> Sat, 05 Jul 2014 17:17:51 +0400
+
+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 <sgolovan at debian.org> 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 <sgolovan at debian.org> 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 <sgolovan at debian.org> 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 <sgolovan at debian.org> 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 <sgolovan at debian.org> Sun, 23 Mar 2008 10:34:42 +0300
+
+itcl3 (3.2.1-4) unstable; urgency=low
+
+ * New maintainer Debian Tcl/Tk Packagers
+ <pkg-tcltk-devel at lists.alioth.debian.org>.
+ * 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 <sgolovan at debian.org> 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
+ <justinpryzby at users.sourceforge.net> for the patch and testing.
+
+ -- Amaya Rodrigo Sastre <amaya at debian.org> 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 <xtifr at debian.org> 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 <xtifr at debian.org> 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 <xtifr at debian.org> 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 <xtifr at debian.org> 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 <xtifr at debian.org> Mon, 21 Jul 2003 19:57:16 -0700
Deleted: itcl3/tags/3.4.1-3/debian/control
===================================================================
--- itcl3/trunk/debian/control 2015-11-25 10:49:35 UTC (rev 1761)
+++ itcl3/tags/3.4.1-3/debian/control 2015-11-25 12:16:38 UTC (rev 1764)
@@ -1,62 +0,0 @@
-Source: itcl3
-Section: libs
-Priority: optional
-Maintainer: Debian Tcl/Tk Packagers <pkg-tcltk-devel at lists.alioth.debian.org>
-Uploaders: Sergei Golovan <sgolovan at debian.org>
-Build-Depends: debhelper (>= 9.0.0), tcl8.5-dev
-Standards-Version: 3.9.5
-Homepage: http://incrtcl.sourceforge.net/
-
-Package: itcl3
-Section: libs
-Priority: optional
-Architecture: any
-Depends: libtcl, ${shlibs:Depends}, ${misc:Depends}
-Suggests: itcl3-doc
-Conflicts: insight (<= 5.3+cvs.2003.08.30-1)
-Multi-arch: same
-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: tcl-dev | tcl8.5-dev, itcl3 (= ${binary:Version}), ${misc:Depends}
-Conflicts: itcl-dev
-Suggests: itcl3-doc
-Multi-arch: same
-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.
Copied: itcl3/tags/3.4.1-3/debian/control (from rev 1763, itcl3/trunk/debian/control)
===================================================================
--- itcl3/tags/3.4.1-3/debian/control (rev 0)
+++ itcl3/tags/3.4.1-3/debian/control 2015-11-25 12:16:38 UTC (rev 1764)
@@ -0,0 +1,62 @@
+Source: itcl3
+Section: libs
+Priority: optional
+Maintainer: Debian Tcl/Tk Packagers <pkg-tcltk-devel at lists.alioth.debian.org>
+Uploaders: Sergei Golovan <sgolovan at debian.org>
+Build-Depends: debhelper (>= 9.0.0), tcl8.5-dev
+Standards-Version: 3.9.6
+Homepage: http://incrtcl.sourceforge.net/
+
+Package: itcl3
+Section: libs
+Priority: optional
+Architecture: any
+Depends: libtcl, ${shlibs:Depends}, ${misc:Depends}
+Suggests: itcl3-doc
+Conflicts: insight (<= 5.3+cvs.2003.08.30-1)
+Multi-arch: same
+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: tcl-dev | tcl8.5-dev, itcl3 (= ${binary:Version}), ${misc:Depends}
+Conflicts: itcl-dev
+Suggests: itcl3-doc
+Multi-arch: same
+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.
Deleted: itcl3/tags/3.4.1-3/debian/rules
===================================================================
--- itcl3/trunk/debian/rules 2015-11-25 10:49:35 UTC (rev 1761)
+++ itcl3/tags/3.4.1-3/debian/rules 2015-11-25 12:16:38 UTC (rev 1764)
@@ -1,87 +0,0 @@
-#!/usr/bin/make -f
-
-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/')
-v=$(vmajor).$(vminor)
-v1=$(vmajor).$(shell expr $(vminor) + 1)
-dtmp=$(shell pwd)/debian/tmp
-
-DPKG_EXPORT_BUILDFLAGS = 1
-include /usr/share/dpkg/buildflags.mk
-include /usr/share/dpkg/architecture.mk
-
-%:
- dh $@
-
-override_dh_auto_configure:
- dh_auto_configure -- \
- --includedir=/usr/include/itcl$(vmajor) \
- --enable-shared \
- --enable-threads \
- --with-tcl=/usr/lib/$(DEB_HOST_MULTIARCH)/tcl8.5
-
-override_dh_auto_build:
- $(MAKE) LIBS="-Wl,-soname,\$$@.1"
-
-ovarride_dh_clean:
- [ ! -f Makefile ] || $(MAKE) clean
- [ ! -f Makefile ] || $(MAKE) distclean
- #
- rm -f itclConfig.sh pkgIndex.tcl
-
-override_dh_auto_install:
- $(MAKE) prefix=$(dtmp)/usr \
- exec_prefix=$(dtmp)/usr \
- includedir=$(dtmp)/usr/include/itcl$(vmajor) \
- install
- #
- # Fix up the itcl libraries.
- mv $(dtmp)/usr/lib/$(DEB_HOST_MULTIARCH)/itcl*/libitcl$(v).so $(dtmp)/usr/lib/$(DEB_HOST_MULTIARCH)/libitcl$(v).so.1
- mv $(dtmp)/usr/lib/$(DEB_HOST_MULTIARCH)/itcl*/*.a $(dtmp)/usr/lib/$(DEB_HOST_MULTIARCH)
- ln -sf libitcl$(v).so.1 $(dtmp)/usr/lib/$(DEB_HOST_MULTIARCH)/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/$(DEB_HOST_MULTIARCH) -litcl$(v)':" \
- -e "s:^\(\(ITCL\|itcl\)_\(BUILD_\)\?STUB_LIB_SPEC\)=.*$$:\1='-L/usr/lib/$(DEB_HOST_MULTIARCH) -litclstub$(v)':" \
- -e "s:^\(\(ITCL\|itcl\)_\(BUILD_\)\?STUB_LIB_PATH\)=.*$$:\1=/usr/lib/$(DEB_HOST_MULTIARCH)/libitclstub$(v).a:" \
- -e "s:^\(\(ITCL\|itcl\)_SRC_DIR\)=.*$$:\1='/usr/include/itcl$(vmajor)/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/$(DEB_HOST_MULTIARCH)/itclConfig.sh
- #
- # Move the Tcl library to /usr/lib/tcltk/$(DEB_HOST_MULTIARCH)
- install -d -m 755 $(dtmp)/usr/share/tcltk/itcl$(v)
- mv $(dtmp)/usr/lib/$(DEB_HOST_MULTIARCH)/itcl$(v)/itcl.tcl $(dtmp)/usr/share/tcltk/itcl$(v)
- install -d -m 755 $(dtmp)/usr/lib/tcltk/$(DEB_HOST_MULTIARCH)
- mv $(dtmp)/usr/lib/$(DEB_HOST_MULTIARCH)/itcl$(v) $(dtmp)/usr/lib/tcltk/$(DEB_HOST_MULTIARCH)
- #
- # Fix up the pkgIndex.tcl
- sed -i -e's/\.so/.so.1/' -e's/\$$dir/\/usr lib $(DEB_HOST_MULTIARCH)/' \
- $(dtmp)/usr/lib/tcltk/$(DEB_HOST_MULTIARCH)/itcl$(v)/pkgIndex.tcl
- #
- # Fix up the include files.
- install -d $(dtmp)/usr/include/itcl$(vmajor)/itcl-private/generic
- cp generic/*.h $(dtmp)/usr/include/itcl$(vmajor)/itcl-private/generic
- #
- # Fix up the manpages.
- mv $(dtmp)/usr/share/man/mann $(dtmp)/usr/share/man/man3
- #
- cd $(dtmp)/usr/share/man/man3 && \
- for i in *.n ; do \
- sed -i -e's/^\.TH \([^ ]\+\) n /.TH \1 3itcl /' $$i ; \
- mv $$i `echo $$i | sed -e 's/\.n/\.3itcl/'` ; \
- done
-
-override_dh_link:
- rm -r debian/itcl3-dev/usr/share/doc/itcl3-dev
- dh_link
-
-override_dh_makeshlibs:
- dh_makeshlibs -a -V 'itcl3 (>= $(v)~), itcl3 (<< $(v1)~)'
-
-get-orig-source:
- wget -O itcl3_3.4.1.orig.tar.gz \
- http://prdownloads.sourceforge.net/incrtcl/itcl3.4.1.tar.gz
-
-.PHONY: override_dh_auto_configure override_dh_auto_build override_dh_clean \
- override_dh_auto_install override_dh_makeshlibs override_dh_link get-orig-source
Copied: itcl3/tags/3.4.1-3/debian/rules (from rev 1762, itcl3/trunk/debian/rules)
===================================================================
--- itcl3/tags/3.4.1-3/debian/rules (rev 0)
+++ itcl3/tags/3.4.1-3/debian/rules 2015-11-25 12:16:38 UTC (rev 1764)
@@ -0,0 +1,89 @@
+#!/usr/bin/make -f
+
+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/')
+v=$(vmajor).$(vminor)
+v1=$(vmajor).$(shell expr $(vminor) + 1)
+dtmp=$(shell pwd)/debian/tmp
+
+tclv=8.5
+
+DPKG_EXPORT_BUILDFLAGS = 1
+include /usr/share/dpkg/buildflags.mk
+include /usr/share/dpkg/architecture.mk
+
+%:
+ dh $@
+
+override_dh_auto_configure:
+ dh_auto_configure -- \
+ --includedir=/usr/include/itcl$(vmajor) \
+ --enable-shared \
+ --enable-threads \
+ --with-tcl=/usr/lib/$(DEB_HOST_MULTIARCH)/tcl$(tclv)
+
+override_dh_auto_build:
+ $(MAKE) LIBS="-Wl,-soname,\$$@.1"
+
+ovarride_dh_clean:
+ [ ! -f Makefile ] || $(MAKE) clean
+ [ ! -f Makefile ] || $(MAKE) distclean
+ #
+ rm -f itclConfig.sh pkgIndex.tcl
+
+override_dh_auto_install:
+ $(MAKE) prefix=$(dtmp)/usr \
+ exec_prefix=$(dtmp)/usr \
+ includedir=$(dtmp)/usr/include/itcl$(vmajor) \
+ install
+ #
+ # Fix up the itcl libraries.
+ mv $(dtmp)/usr/lib/$(DEB_HOST_MULTIARCH)/itcl*/libitcl$(v).so $(dtmp)/usr/lib/$(DEB_HOST_MULTIARCH)/libitcl$(v).so.1
+ mv $(dtmp)/usr/lib/$(DEB_HOST_MULTIARCH)/itcl*/*.a $(dtmp)/usr/lib/$(DEB_HOST_MULTIARCH)
+ ln -sf libitcl$(v).so.1 $(dtmp)/usr/lib/$(DEB_HOST_MULTIARCH)/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/$(DEB_HOST_MULTIARCH) -litcl$(v)':" \
+ -e "s:^\(\(ITCL\|itcl\)_\(BUILD_\)\?STUB_LIB_SPEC\)=.*$$:\1='-L/usr/lib/$(DEB_HOST_MULTIARCH) -litclstub$(v)':" \
+ -e "s:^\(\(ITCL\|itcl\)_\(BUILD_\)\?STUB_LIB_PATH\)=.*$$:\1=/usr/lib/$(DEB_HOST_MULTIARCH)/libitclstub$(v).a:" \
+ -e "s:^\(\(ITCL\|itcl\)_SRC_DIR\)=.*$$:\1='/usr/include/itcl$(vmajor)/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/$(DEB_HOST_MULTIARCH)/itclConfig.sh
+ #
+ # Move the Tcl library to /usr/lib/tcltk/$(DEB_HOST_MULTIARCH)
+ install -d -m 755 $(dtmp)/usr/share/tcltk/itcl$(v)
+ mv $(dtmp)/usr/lib/$(DEB_HOST_MULTIARCH)/itcl$(v)/itcl.tcl $(dtmp)/usr/share/tcltk/itcl$(v)
+ install -d -m 755 $(dtmp)/usr/lib/tcltk/$(DEB_HOST_MULTIARCH)
+ mv $(dtmp)/usr/lib/$(DEB_HOST_MULTIARCH)/itcl$(v) $(dtmp)/usr/lib/tcltk/$(DEB_HOST_MULTIARCH)
+ #
+ # Fix up the pkgIndex.tcl
+ sed -i -e's/\.so/.so.1/' -e's/\$$dir/\/usr lib $(DEB_HOST_MULTIARCH)/' \
+ $(dtmp)/usr/lib/tcltk/$(DEB_HOST_MULTIARCH)/itcl$(v)/pkgIndex.tcl
+ #
+ # Fix up the include files.
+ install -d $(dtmp)/usr/include/itcl$(vmajor)/itcl-private/generic
+ cp generic/*.h $(dtmp)/usr/include/itcl$(vmajor)/itcl-private/generic
+ #
+ # Fix up the manpages.
+ mv $(dtmp)/usr/share/man/mann $(dtmp)/usr/share/man/man3
+ #
+ cd $(dtmp)/usr/share/man/man3 && \
+ for i in *.n ; do \
+ sed -i -e's/^\.TH \([^ ]\+\) n /.TH \1 3itcl /' $$i ; \
+ mv $$i `echo $$i | sed -e 's/\.n/\.3itcl/'` ; \
+ done
+
+override_dh_link:
+ rm -rf debian/itcl$(vmajor)-dev/usr/share/doc/itcl$(vmajor)-dev
+ dh_link
+
+override_dh_makeshlibs:
+ dh_makeshlibs -a -V 'itcl$(vmajor) (>= $(v)~), itcl$(vmajor) (<< $(v1)~)'
+
+get-orig-source:
+ wget -O itcl3_3.4.1.orig.tar.gz \
+ http://prdownloads.sourceforge.net/incrtcl/itcl3.4.1.tar.gz
+
+.PHONY: override_dh_auto_configure override_dh_auto_build override_dh_clean \
+ override_dh_auto_install override_dh_makeshlibs override_dh_link get-orig-source
More information about the Pkg-tcltk-commits
mailing list