debian/0000755000000000000000000000000011761325034007170 5ustar debian/patches/0000755000000000000000000000000011761325034010617 5ustar debian/patches/man.patch0000644000000000000000000000422711761324766012433 0ustar --- iwidgets4-4.0.1.orig/doc/notebook.n +++ iwidgets4-4.0.1/doc/notebook.n @@ -126,7 +126,8 @@ notebook, in order from the first to the last page, until a matching entry is found. The rules of \fBTcl_StringMatch\fR are used. .PP -'............................................................................. +\&............................................................ +.PP The following commands are possible for notebook widgets: .TP \fIpathName\fR \fBadd\fR ?\fIoption value\fR? --- iwidgets4-4.0.1.orig/doc/scopedobject.n +++ iwidgets4-4.0.1/doc/scopedobject.n @@ -11,7 +11,7 @@ .BS '\" Note: do not modify the .SH NAME line immediately below! .SH NAME -scopedobject \- Create and manipulate a scoped \[incr Tcl\] class object. +scopedobject \- Create and manipulate a scoped [incr Tcl] class object. .SH SYNOPSIS \fBscopedobject\fI \fIobjName \fR?\fIoptions\fR? .SH "INHERITANCE" --- iwidgets4-4.0.1.orig/doc/tabnotebook.n +++ iwidgets4-4.0.1/doc/tabnotebook.n @@ -374,7 +374,9 @@ used. Pattern is pattern-matched against the label of each page in the notebook, in order from the first to the last page, until a matching entry is found. The rules of Tcl_StringMatch are used. +.PP -'............................................................................. +\&............................................................ +.PP The following commands are possible for tabnotebook widgets: .TP \fIpathName\fR \fBadd\fR ?\fIoption\fR \fIvalue\fR \fIoption\fR \fIvalue\fR ...? @@ -484,7 +484,6 @@ the tabnotebook. .RE .TP -'>>>>>>>>>> \fIpathName\fR \fBchildSite\fR ?\fIindex\fR? If passed no arguments, returns a list of pathNames for all the pages in the tabnotebook. If the tab notebook is empty, an empty list is returned --- iwidgets4-4.0.1.orig/doc/tabset.n +++ iwidgets4-4.0.1/doc/tabset.n @@ -268,7 +268,8 @@ tabset, in order from the first to the last tab, until a matching entry is found. The rules of Tcl_StringMatch are used. .PP -'............................................................................. +\&............................................................ +.PP The following commands are possible for tabset widgets: .RS .TP debian/patches/series0000644000000000000000000000002611023265240012023 0ustar build.patch man.patch debian/patches/build.patch0000644000000000000000000001760711023265240012743 0ustar --- iwidgets4-4.0.1.orig/mkinstalldirs +++ iwidgets4-4.0.1/mkinstalldirs @@ -0,0 +1,32 @@ +#! /bin/sh +# mkinstalldirs --- make directory hierarchy +# Author: Noah Friedman +# Created: 1993-05-16 +# Last modified: 1994-03-25 +# Public domain + +errstatus=0 + +for file in ${1+"$@"} ; do + set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'` + shift + + pathcomp= + for d in ${1+"$@"} ; do + pathcomp="$pathcomp$d" + case "$pathcomp" in + -* ) pathcomp=./$pathcomp ;; + esac + + if test ! -d "$pathcomp"; then + echo "mkdir $pathcomp" 1>&2 + mkdir "$pathcomp" || errstatus=$? + fi + + pathcomp="$pathcomp/" + done +done + +exit $errstatus + +# mkinstalldirs ends here --- iwidgets4-4.0.1.orig/configure.in +++ iwidgets4-4.0.1/configure.in @@ -63,18 +63,18 @@ ITCL_LIB_DIR="" if test -r $itcl_search/itcl/library/itcl.tcl; then if test -r $itcl_search/itk/library/itk.tcl; then - if test -r $itcl_search/config/mkinstalldirs; then - ITCL_LIB_DIR=$itcl_search/itcl/library - ITCL_SRC_DIR=$itcl_search/itcl - ITK_LIB_DIR=$itcl_search/itk/library - ITK_SRC_DIR=$itcl_search/itk - fi + ITCL_LIB_DIR=$itcl_search/itcl/library + ITCL_SRC_DIR=$itcl_search/itcl + ITK_LIB_DIR=$itcl_search/itk/library + ITK_SRC_DIR=$itcl_search/itk fi fi -if test -z "$ITCL_LIB_DIR"; then - AC_MSG_ERROR(Can't find Itcl source. Use --with-itcl to specify the the toplevel [incr Tcl] directory on your system. (This directory should contain itcl/library/itcl.tcl, itk/library/itk.tcl, and config/mkinstalldirs.)) -fi +# Quick hack, comment out following, breaks tests, but oh well. +#if test -z "$ITCL_LIB_DIR"; then +# AC_MSG_ERROR(Can't find Itcl source. Use --with-itcl to specify the the toplevel [incr Tcl] directory on your system. (This directory should contain itcl/library/itcl.tcl, itk/library/itk.tcl.)) +#fi + #-------------------------------------------------------------------- --- iwidgets4-4.0.1.orig/configure +++ iwidgets4-4.0.1/configure @@ -808,18 +808,18 @@ ITCL_LIB_DIR="" if test -r $itcl_search/itcl/library/itcl.tcl; then if test -r $itcl_search/itk/library/itk.tcl; then - if test -r $itcl_search/config/mkinstalldirs; then - ITCL_LIB_DIR=$itcl_search/itcl/library - ITCL_SRC_DIR=$itcl_search/itcl - ITK_LIB_DIR=$itcl_search/itk/library - ITK_SRC_DIR=$itcl_search/itk - fi + ITCL_LIB_DIR=$itcl_search/itcl/library + ITCL_SRC_DIR=$itcl_search/itcl + ITK_LIB_DIR=$itcl_search/itk/library + ITK_SRC_DIR=$itcl_search/itk fi fi -if test -z "$ITCL_LIB_DIR"; then - { echo "configure: error: Can't find Itcl source. Use --with-itcl to specify the the toplevel incr Tcl directory on your system. (This directory should contain itcl/library/itcl.tcl, itk/library/itk.tcl, and config/mkinstalldirs.)" 1>&2; exit 1; } -fi +# Quick hack, comment out following, breaks tests, but oh well. +#if test -z "$ITCL_LIB_DIR"; then +# AC_MSG_ERROR(Can't find Itcl source. Use --with-itcl to specify the the toplevel [incr Tcl] directory on your system. (This directory should contain itcl/library/itcl.tcl, itk/library/itk.tcl.)) +#fi + #-------------------------------------------------------------------- --- iwidgets4-4.0.1.orig/Makefile.in +++ iwidgets4-4.0.1/Makefile.in @@ -50,12 +50,6 @@ # Top-level directory in which to install manual entries: MAN_INSTALL_DIR = $(INSTALL_ROOT)$(prefix)/man/mann -# Directory containing Tcl source code (for library used during test): -TCL_SRC_DIR = @TCL_SRC_DIR@ - -# Directory containing Tk source code (for library used during test): -TK_SRC_DIR = @TK_SRC_DIR@ - # Itcl libraries can be found here: ITCL_LIB_DIR = @ITCL_LIB_DIR@ @@ -78,11 +72,11 @@ # modify any of this stuff by hand. #---------------------------------------------------------------- -INSTALL = $(TCLSH_PROG) `$(CYGPATH) $(ITCL_SRC_DIR)/../config/installFile.tcl` -c +INSTALL = $(TCLSH_PROG) `$(CYGPATH) $(srcdir)/installFile.tcl` -c INSTALL_PROGRAM = $(INSTALL) INSTALL_DATA = $(INSTALL) -m 644 INSTALL_SCRIPT = $(INSTALL) -m 555 -MKINSTALLDIRS = $(ITCL_SRC_DIR)/../config/mkinstalldirs +MKINSTALLDIRS = $(srcdir)/mkinstalldirs RANLIB = @RANLIB@ LN_S = ln -s TOP_DIR = $(srcdir) @@ -109,14 +103,11 @@ install: install-libraries install-doc install-demos test: - LD_LIBRARY_PATH=$(ITCL_LIB_DIR):$(ITK_LIB_DIR):$(LD_LIBRARY_PATH); export LD_LIBRARY_PATH ; \ - TCL_LIBRARY=$(TCL_SRC_DIR)/library; export TCL_LIBRARY; \ +# removed LD_LIBRARY_PATH - if you have to set that, your system is broken ITCL_LIBRARY=$(ITCL_LIB_DIR); export ITCL_LIBRARY; \ - TK_LIBRARY=$(TK_SRC_DIR)/library; export TK_LIBRARY; \ ITK_LIBRARY=$(ITK_LIB_DIR); export ITK_LIBRARY; \ IWIDGETS_LIBRARY=@IWIDGETS_SRC_DIR@; export IWIDGETS_LIBRARY; \ - $(TCLSH_PROG) `@CYGPATH@ $(srcdir)/tests/all.tcl` \ - -exedir `@CYGPATH@ $(TK_SRC_DIR)/unix` $(TESTFLAGS) + $(TCLSH_PROG) `@CYGPATH@ $(srcdir)/tests/all.tcl` $(TESTFLAGS) install-libraries: @$(MKINSTALLDIRS) $(SCRIPT_INSTALL_DIR) $(LIB_INSTALL_DIR) --- iwidgets4-4.0.1.orig/installFile.tcl +++ iwidgets4-4.0.1/installFile.tcl @@ -0,0 +1,119 @@ +#!/bin/sh +# +# installFile.tcl - a Tcl version of install-sh +# that copies a file and preserves its permission bits. +# This also optimizes out installation of existing files +# that have the same size and time stamp as the source. +# +# \ +exec tclsh "$0" ${1+"$@"} + +set doCopy 0 ;# Rename files instead of copy +set doStrip 0 ;# Strip the symbols from installed copy +set verbose 0 +set src "" +set dst "" + +# Process command line arguments, compatible with install-sh + +for {set i 0} {$i < $argc} {incr i} { + set arg [lindex $argv $i] + switch -- $arg { + -c { + set doCopy 1 + } + -m { + incr i + # Assume UNIX standard "644", etc, so force Tcl to think octal + set permissions 0[lindex $argv $i] + } + -o { + incr i + set owner [lindex $argv $i] + } + -g { + incr i + set group [lindex $argv $i] + } + -s { + set doStrip 1 + } + -v { + set verbose 1 + } + default { + set src $arg + incr i + set dst [lindex $argv $i] + break + } + } +} +if {[string length $src] == 0} { + puts stderr "$argv0: no input file specified" + exit 1 +} +if {[string length $dst] == 0} { + puts stderr "$argv0: no destination file specified" + exit 1 +} + +# Compatibility with CYGNUS-style pathnames +regsub {^/(cygdrive)?/(.)/(.*)} $src {\2:/\3} src +regsub {^/(cygdrive)?/(.)/(.*)} $dst {\2:/\3} dst + +if {$verbose && $doStrip} { + puts stderr "Ignoring -s (strip) option for $dst" +} +if {[file isdirectory $dst]} { + set dst [file join $dst [file tail $src]] +} + +# Temporary file name + +set dsttmp [file join [file dirname $dst] #inst.[pid]#] + +# Optimize out install if the file already exists + +set actions "" +if {[file exists $dst] && + ([file mtime $src] == [file mtime $dst]) && + ([file size $src] == [file size $dst])} { + + # Looks like the same file, so don't bother to copy. + # Set dsttmp in case we still need to tweak mode, group, etc. + + set dsttmp $dst + lappend actions "already installed" +} else { + file copy -force $src $dsttmp + lappend actions copied +} + +# At this point "$dsttmp" is installed, but might not have the +# right permissions and may need to be renamed. + + +foreach attrName {owner group permissions} { + upvar 0 $attrName attr + + if {[info exists attr]} { + if {![catch {file attributes $dsttmp -$attrName} dstattr]} { + + # This system supports "$attrName" kind of attributes + + if {($attr != $dstattr)} { + file attributes $dsttmp -$attrName $attr + lappend actions "set $attrName to $attr" + } + } + } +} + +if {[string compare $dst $dsttmp] != 0} { + file rename -force $dsttmp $dst +} +if {$verbose} { + puts stderr "$dst: [join $actions ", "]" +} +exit 0 debian/iwidgets4.docs0000644000000000000000000000001710751027775011754 0ustar README CHANGES debian/iwidgets4-doc.links0000644000000000000000000000010611761321614012675 0ustar usr/share/doc/iwidgets4-doc/demos usr/share/tcltk/iwidgets4.0.1/demos debian/iwidgets4.install0000644000000000000000000000003211761321614012456 0ustar usr/share/tcltk/iwidgets* debian/rules0000755000000000000000000000224311761323115010247 0ustar #!/usr/bin/make -f v = 4 dtmp=$(shell pwd)/debian/tmp %: dh $@ override_dh_auto_configure: chmod u+x mkinstalldirs # dpkg-source isn't very smart... dh_auto_configure -- \ --with-tcl=/usr/lib \ --with-tk=/usr/lib override_dh_auto_install: $(MAKE) INSTALL_ROOT=$(dtmp) \ MAN_INSTALL_DIR=$(dtmp)/usr/share/man/man3 install # Move the libraries install -d -m 755 $(dtmp)/usr/share/tcltk/ mv $(dtmp)/usr/lib/iwidgets$(v)* $(dtmp)/usr/share/tcltk/ # Remove redundant license file rm -f $(dtmp)/usr/share/tcltk/iwidgets$(v)*/license.terms # Move the demos install -d -m 755 $(dtmp)/usr/share/doc/iwidgets$(v)-doc mv $(dtmp)/usr/share/tcltk/iwidgets$(v)*/demos \ $(dtmp)/usr/share/doc/iwidgets$(v)-doc/ # Fix up the manpages cd $(dtmp)/usr/share/man/man3 && \ for i in *.n; do \ mv $$i $$(basename $$i .n).3iwidget; \ done override_dh_auto_test: # Tests require X, so disable them override_dh_compress: dh_compress -Xdemos get-orig-source: wget -O iwidgets4_4.0.1.orig.tar.gz \ http://prdownloads.sourceforge.net/incrtcl/iwidgets4.0.1.tar.gz .PHONY: override_dh_auto_configure override_dh_auto_install override_dh_compress get-orig-source debian/control0000644000000000000000000000262511761322643010603 0ustar Source: iwidgets4 Section: libs Priority: optional Maintainer: Debian Tcl/Tk Packagers Uploaders: Sergei Golovan Build-Depends: debhelper (>= 8.0.0) Build-Depends-Indep: itcl3-dev, itk3-dev, tk-dev Standards-Version: 3.9.3 Homepage: http://incrtcl.sourceforge.net/iwidgets/ Package: iwidgets4 Priority: optional Architecture: all Depends: itk3, ${misc:Depends} Suggests: iwidgets4-doc Conflicts: itcl3.0 (<< 3.0.1) Description: [incr Widgets] Tk-based widget collection - run-time files [incr Widgets] (or iwidgets) is an object-oriented "mega-widget" set, or collection of high-level user-interface components, based on the popular Tk toolkit and the itcl/itk OO framework. Iwidgets contains over 50 ready-to-use mega-widgets including calendar, canvasprintdialog, combobox, fileselectiondialog, hyperhelp, notebook, radiobox, spinner, and many more. Package: iwidgets4-doc Section: doc Priority: optional Architecture: all Depends: ${misc:Depends} Suggests: iwidgets4 Conflicts: iwidgets-dev, iwidgets-doc, itcl3.0-dev (<< 3.0.1) Description: [incr Widgets] Tk-based widget collection - man pages [incr Widgets] (or iwidgets) is an object-oriented "mega-widget" set, 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. debian/iwidgets4-doc.install0000644000000000000000000000005711761321614013230 0ustar usr/share/doc/iwidgets*-doc usr/share/man/man3 debian/changelog0000644000000000000000000000544211761324010011040 0ustar iwidgets4 (4.0.1-6) unstable; urgency=low * Removed Chris Waters from the uploaders list (closes: #664110). * Added get-orig-source target to debian/rules. * Added ${misc:Depends} substitution variable to debian/control because the package uses debhelper. * Fixed errors in notebook, tabnotebook and tabset manpages. * Switched to 3.0 (quilt) source package format. * Bumped debhelper compatibility version to 8. * Bumped standards version to 3.9.3. -- Sergei Golovan Wed, 30 May 2012 08:54:29 +0400 iwidgets4 (4.0.1-5) unstable; urgency=low * Switched to quilt for patch management. * Added uscan control file debian/watch. -- Sergei Golovan Mon, 09 Jun 2008 21:27:11 +0400 iwidgets4 (4.0.1-4) unstable; urgency=low * New maintainer Debian Tcl/Tk Packagers . * 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. * Restored forgotten demos images (closes: #404392). * Fixed brackets in manpage for scopedobject. -- Sergei Golovan Sat, 02 Feb 2008 13:50:50 +0300 iwidgets4 (4.0.1-3) unstable; urgency=low * Moved "examples" link from /usr/share/doc to /usr/share/doc/iwidgets4 where it was supposed to be in the first place (closes: #215117). -- Chris Waters Fri, 10 Oct 2003 10:28:00 -0700 iwidgets4 (4.0.1-2) unstable; urgency=low * Fixed build-dependencies to use tcl/tk/itcl/itk -dev packages. * Made debian/rules do chmod +x mkinstalldirs, since dpkg-source isn't actually smart enough to do that on its own (closes: #212308). -- Chris Waters Wed, 8 Oct 2003 12:28:39 -0700 iwidgets4 (4.0.1-1) unstable; urgency=low * Added "examples" link to demos in /usr/share/doc/iwidgets4. * First actual release to Debian archives. -- Chris Waters Sun, 24 Aug 2003 15:10:07 -0700 iwidgets4 (4.0.1-0pre2) unstable; urgency=low * Updated iwidgets testing package, still prerelease. Changed package name. -- Chris Waters Tue, 19 Aug 2003 02:25:05 -0700 iwidgets4.0 (4.0.1-0pre1) unstable; urgency=low * New iwidgets package, prerelease testing package. -- Chris Waters Sat, 9 Aug 2003 10:55:06 -0700 debian/source/0000755000000000000000000000000011761325034010470 5ustar debian/source/format0000644000000000000000000000001411761321614011676 0ustar 3.0 (quilt) debian/compat0000644000000000000000000000000211761321614010366 0ustar 8 debian/watch0000644000000000000000000000020611023266374010221 0ustar # Watch control file for uscan # Compulsory line, this is a version 3 file version=3 http://sf.net/incrtcl/iwidgets(4[\d.]*).tar.gz debian/copyright0000644000000000000000000000360410751027775011137 0ustar This package was debianized by Chris Waters from sources found at http://sourceforge.net/project/showfiles.php?group_id=13244 Iwidgets License: This software is copyrighted by DSC Technologies and private individual contributors. The copyright holder is specifically listed in the header of each file. The following terms apply to all files associated with the software unless explicitly disclaimed in individual files by private contributors. Copyright 1997 DSC Technologies Corporation Permission to use, copy, modify, distribute and license this software and its documentation for any purpose, and without fee or written agreement with DSC, is hereby granted, provided that the above copyright notice appears in all copies and that both the copyright notice and warranty disclaimer below appear in supporting documentation, and that the names of DSC Technologies Corporation or DSC Communications Corporation not be used in advertising or publicity pertaining to the software without specific, written prior permission. DSC DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, 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. IN NO EVENT SHALL DSC BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTUOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. RESTRICTED RIGHTS: Use, duplication or disclosure by the government is subject to the restrictions as set forth in subparagraph (c) (1) (ii) of the Rights in Technical Data and Computer Software Clause as DFARS 252.227-7013 and FAR 52.227-19.