[Pkg-tcltk-commits] r873 - xotcl/trunk/debian

ssoberni-guest at alioth.debian.org ssoberni-guest at alioth.debian.org
Sun Jun 21 10:31:03 UTC 2009


Author: ssoberni-guest
Date: 2009-06-21 10:31:02 +0000 (Sun, 21 Jun 2009)
New Revision: 873

Added:
   xotcl/trunk/debian/control
Removed:
   xotcl/trunk/debian/control.in
Modified:
   xotcl/trunk/debian/rules
Log:
adding substvar coupling to aolserver4-dev

Copied: xotcl/trunk/debian/control (from rev 872, xotcl/trunk/debian/control.in)
===================================================================
--- xotcl/trunk/debian/control	                        (rev 0)
+++ xotcl/trunk/debian/control	2009-06-21 10:31:02 UTC (rev 873)
@@ -0,0 +1,63 @@
+Source: xotcl
+Section: libs
+Priority: optional
+Maintainer: Tcl/Tk Debian Packagers <pkg-tcltk-devel at lists.alioth.debian.org>
+Uploaders: Stefan Sobernig <stefan.sobernig at wu-wien.ac.at>
+Build-Depends: debhelper (>= 5), autotools-dev, tcl-dev (>= 8.4), tk-dev (>= 8.4), aolserver4-dev (>= 4.5.1-5)
+Standards-Version: 3.8.1
+Vcs-Svn: svn://svn.debian.org/viewsvn/pkg-tcltk/xotcl/
+Vcs-Browser: http://svn.debian.org/viewsvn/pkg-tcltk/xotcl/
+
+Package: xotcl
+Architecture: any
+Depends: ${tclsh:Depends}, ${shlibs:Depends}
+Homepage: http://www.xotcl.org/
+Description: Extended Object Tcl (XOTcl): Object orientation for Tcl - shared library
+ Extended Object Tcl (for short: XOTcl, pronounced exotickle) is an
+ object-oriented scripting language based on Tcl. It was originally
+ designed for providing language support for design patterns and
+ provides novel constructs such as filters or transitive mixin
+ classes. The language is designed for empowering rather than
+ constraining system developers. The basic object model is highly
+ influenced by CLOS.
+
+Package: xotcl-shells
+Section: utils
+Architecture: any
+Depends: xotcl (= ${binary:Version}), ${shlibs:Depends}
+Homepage: http://www.xotcl.org/
+Description: Extended Object Tcl (XOTcl): Object orientation for Tcl - shells
+ This package provides you with two Tcl/Tk shell wrappers, xotclsh and
+ xowish. These shells offer ready-made environments for
+ XOTcl-empowered scripting.
+
+Package: xotcl-doc
+Section: doc
+Architecture: all
+Homepage: http://www.xotcl.org/
+Description: Extended Object Tcl (XOTcl): Object orientation for Tcl - manual
+ This package brings the official XOTcl language reference and a
+ comprehensive tutorial to you. They are registered with the doc-base
+ family of tools. Moreover, you will find code examples on how to use
+ various XOTcl features and packages. 
+
+Package: xotcl-dev
+Section: libdevel
+Architecture: any
+Depends: xotcl (= ${binary:Version})
+Homepage: http://www.xotcl.org/
+Description: Extended Object Tcl (XOTcl): Object orientation for Tcl - development files
+ Header files and static libraries for libxotcl. You will need this
+ package in place if you plan to develop using the XOTcl C interface
+ and/or if you want to create custom builts of XOTcl C extensions.
+
+Package: aolserver4-xotcl
+Section: httpd
+Architecture: all
+Depends: xotcl (>= ${binary:Version}), aolserver4-core- at AOLVER@- at AOLABI@
+Homepage: http://www.xotcl.org/
+Description: Extended Object Tcl (XOTcl): Object orientation for AOLServer - module
+ This package provides the XOTcl module for the AOLSERVER 4.0.10/4.5
+ webserver. This module provides and initialises the XOTcl language
+ extension in the various AOLSERVER runtime environments (e.g., the
+ embedded Tcl interpreters in AOLSERVER's worker threads).

Deleted: xotcl/trunk/debian/control.in
===================================================================
--- xotcl/trunk/debian/control.in	2009-06-19 15:06:09 UTC (rev 872)
+++ xotcl/trunk/debian/control.in	2009-06-21 10:31:02 UTC (rev 873)
@@ -1,63 +0,0 @@
-Source: xotcl
-Section: libs
-Priority: optional
-Maintainer: Tcl/Tk Debian Packagers <pkg-tcltk-devel at lists.alioth.debian.org>
-Uploaders: Stefan Sobernig <stefan.sobernig at wu-wien.ac.at>
-Build-Depends: debhelper (>= 5), autotools-dev, tcl-dev (>= 8.4), tk-dev (>= 8.4), aolserver4-dev (>= 4.5.1-3)
-Standards-Version: 3.8.1
-Vcs-Svn: svn://svn.debian.org/viewsvn/pkg-tcltk/xotcl/
-Vcs-Browser: http://svn.debian.org/viewsvn/pkg-tcltk/xotcl/
-
-Package: xotcl
-Architecture: any
-Depends: ${tclsh:Depends}, ${shlibs:Depends}
-Homepage: http://www.xotcl.org/
-Description: Extended Object Tcl (XOTcl): Object orientation for Tcl - shared library
- Extended Object Tcl (for short: XOTcl, pronounced exotickle) is an
- object-oriented scripting language based on Tcl. It was originally
- designed for providing language support for design patterns and
- provides novel constructs such as filters or transitive mixin
- classes. The language is designed for empowering rather than
- constraining system developers. The basic object model is highly
- influenced by CLOS.
-
-Package: xotcl-shells
-Section: utils
-Architecture: any
-Depends: xotcl (= ${binary:Version}), ${shlibs:Depends}
-Homepage: http://www.xotcl.org/
-Description: Extended Object Tcl (XOTcl): Object orientation for Tcl - shells
- This package provides you with two Tcl/Tk shell wrappers, xotclsh and
- xowish. These shells offer ready-made environments for
- XOTcl-empowered scripting.
-
-Package: xotcl-doc
-Section: doc
-Architecture: all
-Homepage: http://www.xotcl.org/
-Description: Extended Object Tcl (XOTcl): Object orientation for Tcl - manual
- This package brings the official XOTcl language reference and a
- comprehensive tutorial to you. They are registered with the doc-base
- family of tools. Moreover, you will find code examples on how to use
- various XOTcl features and packages. 
-
-Package: xotcl-dev
-Section: libdevel
-Architecture: any
-Depends: xotcl (= ${binary:Version})
-Homepage: http://www.xotcl.org/
-Description: Extended Object Tcl (XOTcl): Object orientation for Tcl - development files
- Header files and static libraries for libxotcl. You will need this
- package in place if you plan to develop using the XOTcl C interface
- and/or if you want to create custom builts of XOTcl C extensions.
-
-Package: aolserver4-xotcl
-Section: httpd
-Architecture: all
-Depends: xotcl (>= ${binary:Version}), aolserver4-core- at AOLVER@- at AOLABI@
-Homepage: http://www.xotcl.org/
-Description: Extended Object Tcl (XOTcl): Object orientation for AOLServer - module
- This package provides the XOTcl module for the AOLSERVER 4.0.10/4.5
- webserver. This module provides and initialises the XOTcl language
- extension in the various AOLSERVER runtime environments (e.g., the
- embedded Tcl interpreters in AOLSERVER's worker threads).

Modified: xotcl/trunk/debian/rules
===================================================================
--- xotcl/trunk/debian/rules	2009-06-19 15:06:09 UTC (rev 872)
+++ xotcl/trunk/debian/rules	2009-06-21 10:31:02 UTC (rev 873)
@@ -59,13 +59,9 @@
 #
 # link to AOLServer and ABI version changes
 #
-include /usr/share/aolserver4/debian.mak
 
-debian/control: debian/control.in /usr/share/aolserver4/debian.mak
-	sed -e 's/@AOLVER@/$(AOLVER)/' -e 's/@AOLABI@/$(AOLABI)/' $< >$@
+config.status: configure
 
-config.status: debian/control configure
-
 	dh_testdir
 	./configure --prefix=/usr \
 		--exec-prefix=/usr \
@@ -90,14 +86,14 @@
 
 	touch $@
 
-clean: debian/control
+clean:
 	dh_testdir
 	dh_testroot
 	rm -f build-stamp 
 	[ ! -f Makefile ] || $(MAKE) distclean
 	dh_clean config.log config.status config.cache config.guess
 
-install: build
+install: /usr/share/aolserver4/debian.substvars build 
 	dh_testdir
 	dh_testroot
 	dh_clean -k 
@@ -200,6 +196,11 @@
 	done
 
 	# aolserver4-xotcl
+
+	# inject AOLServer version and ABI changes through substvars
+	# fragment provided by aolserver4-dev
+	ln -sf /usr/share/aolserver4/debian.substvars $(DEB)/aolserver4-xotcl.substvars 
+
 	install -D -m 755 -o root -g root generic/aol-xotcl.tcl $(TARGET)/usr/lib/aolserver4/modules/tcl/xotcl.tcl
 	# `- repackage
 	install -D -m 755 -o root -g root $(TARGET)/usr/lib/aolserver4/modules/tcl/xotcl.tcl $(AOL)/usr/lib/aolserver4/modules/tcl/xotcl.tcl




More information about the Pkg-tcltk-commits mailing list