[Pkg-tcltk-commits] r482 - in iwidgets4/trunk: . debian doc
sgolovan-guest at alioth.debian.org
sgolovan-guest at alioth.debian.org
Sat Feb 2 11:20:04 UTC 2008
Author: sgolovan-guest
Date: 2008-02-02 11:20:04 +0000 (Sat, 02 Feb 2008)
New Revision: 482
Added:
iwidgets4/trunk/doc/
iwidgets4/trunk/doc/scopedobject.n
Modified:
iwidgets4/trunk/debian/changelog
iwidgets4/trunk/debian/compat
iwidgets4/trunk/debian/control
iwidgets4/trunk/debian/iwidgets4-doc.files
iwidgets4/trunk/debian/iwidgets4.files
iwidgets4/trunk/debian/rules
Log:
[iwidgets]
* New maintainer Debian Tcl/Tk Packagers
<pkg-tcltk-devel at lists.alioth.debian.org>.
* Added homepage header to debian/control.
* Bumped standards version to 3.7.3.
* Bumped debhelper compatibility level to 5.
* Fixed ignoring make errors in clean target of debian/rules.
* Debhelper is used in clean target, so moved it from build-depends-indep
to build-depends.
* Added build-dependency on tk-dev (just to please configure script,
actually, info from tkConfig.sh and tclConfig.sh isn't used at all).
* Moved Tcl library files to a subdirectory of /usr/share/tcltk to make the
package compliant to Debian Tcl/Tk policy.
* Moved demos to iwidgets4-doc binary package.
* Fixed brackets in manpage for scopedobject.
Modified: iwidgets4/trunk/debian/changelog
===================================================================
--- iwidgets4/trunk/debian/changelog 2008-02-02 08:56:04 UTC (rev 481)
+++ iwidgets4/trunk/debian/changelog 2008-02-02 11:20:04 UTC (rev 482)
@@ -1,8 +1,21 @@
-iwidgets4 (4.0.1-4) UNRELEASED; urgency=low
+iwidgets4 (4.0.1-4) unstable; urgency=low
- * NOT RELEASED YET
+ * New maintainer Debian Tcl/Tk Packagers
+ <pkg-tcltk-devel at lists.alioth.debian.org>.
+ * Added homepage header to debian/control.
+ * Bumped standards version to 3.7.3.
+ * Bumped debhelper compatibility level to 5.
+ * Fixed ignoring make errors in clean target of debian/rules.
+ * Debhelper is used in clean target, so moved it from build-depends-indep
+ to build-depends.
+ * Added build-dependency on tk-dev (just to please configure script,
+ actually, info from tkConfig.sh and tclConfig.sh isn't used at all).
+ * Moved Tcl library files to a subdirectory of /usr/share/tcltk to make the
+ package compliant to Debian Tcl/Tk policy.
+ * Moved demos to iwidgets4-doc binary package.
+ * Fixed brackets in manpage for scopedobject.
- -- Sergei Golovan <sgolovan at debian.org> Sat, 2 Feb 2008 11:55:43 +0300
+ -- Sergei Golovan <sgolovan at debian.org> Sat, 02 Feb 2008 13:50:50 +0300
iwidgets4 (4.0.1-3) unstable; urgency=low
Modified: iwidgets4/trunk/debian/compat
===================================================================
--- iwidgets4/trunk/debian/compat 2008-02-02 08:56:04 UTC (rev 481)
+++ iwidgets4/trunk/debian/compat 2008-02-02 11:20:04 UTC (rev 482)
@@ -1 +1 @@
-4
+5
Modified: iwidgets4/trunk/debian/control
===================================================================
--- iwidgets4/trunk/debian/control 2008-02-02 08:56:04 UTC (rev 481)
+++ iwidgets4/trunk/debian/control 2008-02-02 11:20:04 UTC (rev 482)
@@ -1,9 +1,12 @@
Source: iwidgets4
Section: libs
Priority: optional
-Maintainer: Chris Waters <xtifr at debian.org>
-Build-Depends-Indep: debhelper (>= 4), tcl8.4-dev, tk8.4-dev, itcl3-dev, itk3-dev
-Standards-Version: 3.6.0
+Maintainer: Debian Tcl/Tk 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)
+Build-Depends-Indep: itcl3-dev, itk3-dev, tk-dev
+Standards-Version: 3.7.3
+Homepage: http://incrtcl.sourceforge.net/iwidgets/
Package: iwidgets4
Priority: optional
@@ -18,8 +21,6 @@
over 50 ready-to-use mega-widgets including calendar, canvasprintdialog,
combobox, fileselectiondialog, hyperhelp, notebook, radiobox, spinner,
and many more.
- .
- Homepage: http://incrtcl.sourceforge.net/iwidgets/
Package: iwidgets4-doc
Section: doc
@@ -32,5 +33,3 @@
or collection of high-level user-interface components, based on the
popular Tk toolkit and the itcl/itk OO framework. This package
contains man pages documenting the widget classes.
- .
- Homepage: http://incrtcl.sourceforge.net/iwidgets/
Modified: iwidgets4/trunk/debian/iwidgets4-doc.files
===================================================================
--- iwidgets4/trunk/debian/iwidgets4-doc.files 2008-02-02 08:56:04 UTC (rev 481)
+++ iwidgets4/trunk/debian/iwidgets4-doc.files 2008-02-02 11:20:04 UTC (rev 482)
@@ -1 +1 @@
-usr/share/man/man3/*.3iwidgets
+usr/share/man/man3
Modified: iwidgets4/trunk/debian/iwidgets4.files
===================================================================
--- iwidgets4/trunk/debian/iwidgets4.files 2008-02-02 08:56:04 UTC (rev 481)
+++ iwidgets4/trunk/debian/iwidgets4.files 2008-02-02 11:20:04 UTC (rev 482)
@@ -1 +1 @@
-usr/lib/iwidgets[0-9]*
+usr/share/tcltk/iwidgets*
Modified: iwidgets4/trunk/debian/rules
===================================================================
--- iwidgets4/trunk/debian/rules 2008-02-02 08:56:04 UTC (rev 481)
+++ iwidgets4/trunk/debian/rules 2008-02-02 11:20:04 UTC (rev 482)
@@ -1,9 +1,7 @@
#!/usr/bin/make -f
-v = 4.0
+v = 4
vv = 4.0.1
-tcltk = 8.4
-itcl = 3.2
dtmp=$(shell pwd)/debian/tmp
build: build-stamp
@@ -11,8 +9,9 @@
dh_testdir
chmod u+x mkinstalldirs # dpkg-source isn't very smart...
- sh ./configure --prefix=/usr --with-tcl=/usr/lib/tcl$(tcltk) \
- --with-tk=/usr/lib/tk$(tcltk) --with-itcl=/usr/lib/itcl$(itcl)
+ sh ./configure --prefix=/usr \
+ --with-tcl=/usr/lib \
+ --with-tk=/usr/lib
touch build-stamp
@@ -21,8 +20,8 @@
dh_testroot
rm -f build-stamp install-stamp
- -$(MAKE) clean
- -$(MAKE) distclean
+ [ ! -f Makefile ] || $(MAKE) clean
+ [ ! -f Makefile ] || $(MAKE) distclean
dh_clean
@@ -36,8 +35,13 @@
mkdir -p $(dtmp)
$(MAKE) INSTALL_ROOT=$(dtmp) \
MAN_INSTALL_DIR=$(dtmp)/usr/share/man/man3 install
+
+# Move the libraries
+ mkdir -p $(dtmp)/usr/share/tcltk/
+ mv $(dtmp)/usr/lib/iwidgets$(vv) $(dtmp)/usr/share/tcltk/
+
# remove redundant license file
- rm -f $(dtmp)/usr/lib/iwidgets$(vv)/license.terms
+ rm -f $(dtmp)/usr/share/tcltk/iwidgets$(vv)/license.terms
# Fix up the manpages.
cd $(dtmp)/usr/share/man/man3 && \
@@ -45,14 +49,6 @@
mv $$i `basename $$i .n`.3iwidget; \
done
-# Fix up the demos
- mkdir -p $(dtmp)/usr/share/iwidgets$(vv)/demos
- mv $(dtmp)/usr/lib/iwidgets$(vv)/demos/images \
- $(dtmp)/usr/share/iwidgets$(vv)/demos/images
- chmod -x $(dtmp)/usr/lib/iwidgets$(vv)/demos/*
- ln -s ../../../share/iwidgets$(vv)/demos/images \
- $(dtmp)/usr/lib/iwidgets$(vv)/demos/images
-
dh_movefiles
touch install-stamp
@@ -63,10 +59,12 @@
dh_testroot
dh_installdocs
dh_installchangelogs ChangeLog
- #dh_installexamples
- ln -s ../../../lib/iwidgets$(vv)/demos \
- debian/iwidgets4/usr/share/doc/iwidgets4/examples
- dh_compress
+ mv debian/iwidgets$(v)/usr/share/tcltk/iwidgets$(vv)/demos \
+ debian/iwidgets$(v)-doc/usr/share/doc/iwidgets$(v)-doc/
+ mkdir -p debian/iwidgets$(v)-doc/usr/share/tcltk/iwidgets$(vv)
+ ln -s ../../doc/iwidgets$(v)-doc/demos \
+ debian/iwidgets$(v)-doc/usr/share/tcltk/iwidgets$(vv)/
+ dh_compress -Xdemos
dh_fixperms
dh_installdeb
dh_gencontrol
Added: iwidgets4/trunk/doc/scopedobject.n
===================================================================
--- iwidgets4/trunk/doc/scopedobject.n (rev 0)
+++ iwidgets4/trunk/doc/scopedobject.n 2008-02-02 11:20:04 UTC (rev 482)
@@ -0,0 +1,100 @@
+'\"
+'\" Copyright (c) 1997 DSC Technologies Corporation
+'\"
+'\" See the file "license.terms" for information on usage and redistribution
+'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
+'\"
+'\" @(#) scopedobject.n 1.21 97/1/30 16:04:44
+'\"
+.so man.macros
+.HS scopedobject iwid
+.BS
+'\" Note: do not modify the .SH NAME line immediately below!
+.SH NAME
+scopedobject \- Create and manipulate a scoped [incr Tcl] class object.
+.SH SYNOPSIS
+\fBscopedobject\fI \fIobjName \fR?\fIoptions\fR?
+.SH "INHERITANCE"
+None
+.SH "STANDARD OPTIONS"
+.LP
+.nf
+Name: \fBenterscopecommand:\fR
+Command-Line Switch: \fB-enterscopecommand\fR
+.fi
+.IP
+Specifies a Tcl command to invoke when an object enters scope
+(i.e. when it is created..). The default is {}.
+.LP
+.nf
+Name: \fBenterscopecommand:\fR
+Command-Line Switch: \fB-enterscopecommand\fR
+.fi
+.IP
+Specifies a Tcl command to invoke when an object exits scope
+(i.e. when it is deleted..). The default is {}.
+.LP
+.BE
+
+.SH DESCRIPTION
+.PP
+The \fBscopedobject\fR command creates a base class for defining
+Itcl classes which posses scoped behavior like Tcl variables.
+The objects are only accessible within the procedure in which
+they are instantiated and are deleted when the procedure returns.
+This class was designed to be a general purpose base class for
+supporting scoped incr Tcl classes. The options include the
+execute a Tcl script command when an object enters and exits its
+scope.
+.SH "METHODS"
+.PP
+The \fBscopedobject\fR command creates a new Tcl command whose
+name is \fIpathName\fR. This
+command may be used to invoke various operations on the object.
+It has the following general form:
+.DS C
+\fIpathName option \fR?\fIarg arg ...\fR?
+.DE
+\fIOption\fR and the \fIarg\fRs
+determine the exact behavior of the command. The following
+commands are possible for scopedobject objects:
+.SH "OBJECT-SPECIFIC METHODS"
+.TP
+\fIpathName \fBcget\fR \fIoption\fR
+Returns the current value of the configuration option given
+by \fIoption\fR.
+\fIOption\fR may have any of the values accepted by the \fBscopedobject\fR
+command.
+.TP
+\fIpathName\fR \fBconfigure\fR ?\fIoption\fR? ?\fIvalue option value ...\fR?
+Query or modify the configuration options of the object.
+If no \fIoption\fR is specified, returns a list describing all of
+the available options for \fIpathName\fR. If \fIoption\fR is specified
+with no \fIvalue\fR, then the command returns a list describing the
+one named option (this list will be identical to the corresponding
+sublist of the value returned if no \fIoption\fR is specified). If
+one or more \fIoption\-value\fR pairs are specified, then the command
+modifies the given objects option(s) to have the given value(s); in
+this case the command returns an empty string.
+\fIOption\fR may have any of the values accepted by the \fBscopedobject\fR
+command.
+
+.SH EXAMPLE
+.IP
+The scopedobject was primarily meant to be a base class. The
+following is an example of usage without inheritance:
+.LP
+.DS
+ proc scopedobject_demo {} {
+ iwidgets::scopedobject #auto \
+ -exitscopecommand {puts "enter scopedobject_demo"} \
+ -exitscopecommand {puts "exit scopedobject_demo"}
+ }
+
+ scopedobject_demo
+
+.DE
+.SH AUTHOR
+John A. Tucker
+.SH KEYWORDS
+scopedobject, object
More information about the Pkg-tcltk-commits
mailing list