Package: release.debian.org Severity: normal User: release.debian....@packages.debian.org Usertags: unblock
Hi release team, I'd like to upload a new blt package which fixes two release critical bugs: [1] and [2]. 1) To reflect the soname change I've separated the BLT library into the tk8.6-blt2.5 package (8.6 reflects the fact that it works with Tk 8.6 only). I've retained the old 'blt' package for two reasons. First, it's easier for a user (actually for a Tcl/Tk developer who wants to install BLT) to type 'apt-get install blt'. Secondly, it eases the transition of packages which depend on blt now (without the blt package they have to be rebuilt). To prevent problems with partial upgrade (simple blt upgrade would break applications like tkdesk, python-tk etc from wheezy) I've added a few 'Breaks' headers. 2) The second bug appeared when I reviewd the license of the sources. There are a few files for which I can't prove that they are free software. So, it's better to drop them from the original tarball. The difference between the package currently in jessie and the proposed update is attached. So, if you don't mind of unblocking it, I'll upload the package. [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=751767 [2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=769814 unblock blt/2.5.3+dfsg-1 -- System Information: Debian Release: jessie/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
diff -Nru blt-2.5.3/debian/blt.dirs blt-2.5.3+dfsg/debian/blt.dirs --- blt-2.5.3/debian/blt.dirs 2014-07-03 23:34:11.000000000 +0400 +++ blt-2.5.3+dfsg/debian/blt.dirs 1970-01-01 03:00:00.000000000 +0300 @@ -1 +0,0 @@ -usr/lib/blt2.5 diff -Nru blt-2.5.3/debian/blt.install blt-2.5.3+dfsg/debian/blt.install --- blt-2.5.3/debian/blt.install 2014-07-03 23:34:11.000000000 +0400 +++ blt-2.5.3+dfsg/debian/blt.install 1970-01-01 03:00:00.000000000 +0300 @@ -1,2 +0,0 @@ -usr/lib/*.so.* -usr/lib/blt2.5 diff -Nru blt-2.5.3/debian/changelog blt-2.5.3+dfsg/debian/changelog --- blt-2.5.3/debian/changelog 2014-07-09 19:27:15.000000000 +0400 +++ blt-2.5.3+dfsg/debian/changelog 2014-11-19 09:52:36.000000000 +0300 @@ -1,3 +1,16 @@ +blt (2.5.3+dfsg-1) unstable; urgency=medium + + * Removed non-distributable files library/dd_protocols/* from the source + package (closes: #769814). + * Split out the tk8.6-blt2.5 package to reflect the changed library soname. + The 8.6 suffix is added because this package works only with Tcl/Tk 8.6. + Added breaks header with all packages dependent on blt which included + the previous library soname. This prevents partial upgrades + (closes: #751767). + * Bumped the standards version to 3.9.6. + + -- Sergei Golovan <sgolo...@debian.org> Wed, 19 Nov 2014 09:52:33 +0300 + blt (2.5.3-4) unstable; urgency=medium * Made blt-dev replace blt (<< 2.5) because the doc-base file is moved to diff -Nru blt-2.5.3/debian/control blt-2.5.3+dfsg/debian/control --- blt-2.5.3/debian/control 2014-07-09 19:27:15.000000000 +0400 +++ blt-2.5.3+dfsg/debian/control 2014-11-17 20:34:01.000000000 +0300 @@ -3,18 +3,18 @@ Priority: optional Maintainer: Sergei Golovan <sgolo...@debian.org> Build-Depends: tk8.6-dev, debhelper (>= 9), autotools-dev (>= 20120210.1), dpkg-dev (>= 1.16.1) -Standards-Version: 3.9.5 +Standards-Version: 3.9.6 Homepage: http://blt.sourceforge.net/ -Package: blt +Package: tk8.6-blt2.5 Architecture: any Section: libs Depends: ${misc:Depends}, ${shlibs:Depends} -Conflicts: blt4.2, blt8.0-unoff, blt8.0, blt-common -Replaces: blt4.2, blt8.0-unoff, blt8.0, blt-common, blt-dev (<< 2.4z-3), blt-demo (<< 2.4i-1) -Provides: blt-common +Conflicts: blt4.2, blt8.0-unoff, blt8.0 +Breaks: blt (<< 2.5.3-5~) +Replaces: blt4.2, blt8.0-unoff, blt8.0, blt-dev (<< 2.4z-3), blt-demo (<< 2.4i-1), blt (<< 2.5.3-5~) Suggests: blt-demo -Description: graphics extension library for Tcl/Tk - run-time package +Description: graphics extension library for Tcl/Tk - library BLT is a library of useful extensions for the Tcl language and the popular Tk graphical toolkit. It adds a vector and tree data type, background execution and some debugging tools to Tcl, and provides @@ -25,9 +25,26 @@ This package contains everything you need to use BLT with your Tcl/Tk scripts and Tcl/Tk-enabled apps. +Package: blt +Architecture: any +Section: libs +Depends: ${misc:Depends}, ${shlibs:Depends}, tk8.6-blt2.5 (= ${binary:Version}) +Suggests: blt-demo +Breaks: tclspice (<< 26-1~), tkdesk (<< 2.0-9.2~), skycat (<< 3.1.2+starlink1~b-7~), python-tk (<< 2.7.8-1~), python3-tk (<< 3.4.1-3~) +Description: graphics extension library for Tcl/Tk - run-time + BLT is a library of useful extensions for the Tcl language and the + popular Tk graphical toolkit. It adds a vector and tree data type, + background execution and some debugging tools to Tcl, and provides + several new widgets for Tk, including graphs, bar-charts, trees, tabs, + splines and hyper-links, as well as a new geometry manager, drag & + drop support, and more. + . + This package is a dummy package which depends on the current BLT + library. + Package: blt-dev Architecture: any -Depends: ${misc:Depends}, blt (= ${binary:Version}), tk8.6-dev +Depends: ${misc:Depends}, tk8.6-blt2.5 (= ${binary:Version}), tk8.6-dev Conflicts: blt8.0-dev, blt8.0-unoff Replaces: blt4.2-dev, blt8.0-unoff, blt (<< 2.5), blt4.2 Suggests: blt-demo diff -Nru blt-2.5.3/debian/copyright blt-2.5.3+dfsg/debian/copyright --- blt-2.5.3/debian/copyright 2014-07-02 14:16:33.000000000 +0400 +++ blt-2.5.3+dfsg/debian/copyright 2014-11-16 18:38:56.000000000 +0300 @@ -1,13 +1,123 @@ This package was debianized by Gordon Russell <g.russ...@dcs.napier.ac.uk> on Thu, 12 Mar 1998 11:19:54 +0000. -It was downloaded from http://sourceforge.net/projects/blt +It was originally downloaded from http://sourceforge.net/projects/blt +Now it's downloaded from http://sourceforge.net/projects/wize -Copyright: +Files library/dd_protocols/* were deleted from the original distribution +because they are non-free. - Copyright 1991-1998 by Bell Labs Innovations for Lucent Technologies. +Files: * +Copyright: 1991-1998 by Lucent Technologies. +License: MIT-1 - Permission to use, copy, modify, and distribute this software and its +Files: generic/bltArrayObj.c +Copyright: 2000 Silicon Metrics, Inc. +License: MIT-4 + +Files: generic/bltHash.c, generic/bltHash.in +Copyright (c) 1991-1993 The Regents of the University of California. +Copyright (c) 1994 Sun Microsystems, Inc. +License: Tcl +Comment: Here and below the Tcl licence is omitted but the code or its + portions are clearly taken from the Tcl/Tk distributions. +Copyright: 2001 Silicon Metrics Corporation. +License: MIT-4 + +Files: generic/blt.h, generic/bltUnixMain.c, generic/bltWinDraw.c, generic/bltWinPrnt.c, generic/bltWinUtil.c +Copyright: 1991-1998 by Bell Labs Innovations for Lucent Technologies +License: MIT-1 + +Files: generic/bltInterp.h +Copyright: 1987-1993 The Regents of the University of California. +Copyright: 1993-1997 Lucent Technologies. +Copyright: 1994-1998 Sun Microsystems, Inc. +License: Tcl + +Files: generic/bltObjConfig.c, generic/bltObjConfig.h, generic/bltOldConfig.c +Copyright: 1990-1994 The Regents of the University of California +Copyright: 1994-1997 Sun Microsystems, Inc +License: Tcl + +Files: generic/bltParse.c +Copyright: 1987-1993 The Regents of the University of California +Copyright: 1994-1998 Sun Microsystems, Inc. +License: Tcl + +Files: generic/bltPool.c +Copyright: 2001 Silicon Metrics, Inc. +License: MIT-4 + +Files: generic/bltScrollbar.c +Copyright: 1990-1994 The Regents of the University of California +Copyright: 1994-1995 Sun Microsystems, Inc. +License: Tcl + +Files: generic/bltTed.c +Copyright: 1995 by AT&T Bell Laboratories +License: MIT-5 + +Files: generic/bltUnixMain.c +Copyright: 1993 The Regents of the University of California +License: MIT-6 +Copyright: 1991-1998 by Bell Labs Innovations for Lucent Technologies +License: MIT-1 + +Files: generic/bltUnixPipe.c, generic/bltWinDde.c +Copyright: 1997 by Sun Microsystems, Inc. +License: Tcl + +Files: generic/tkButton.c, generic/tkFrame.c, generic/tkMenubutton.c, generic/tkScrollbar.c +Copyright: 1990-1994 The Regents of the University of California +Copyright: 1994-1995 Sun Microsystems, Inc. +License: Tcl + +Files: generic/tkConsole.c, man/Blt_Tree.man3 +Copyright: 1995-1996 Sun Microsystems, Inc. +License: Tcl + +Files: html/tabset.html, html/tree.html, html/treeview.html +Copyright: 1995-1997 Roger E. Critchlow Jr. +License: MIT-1 +Comment: These files are created by the Roger E. Critchlow Jr. tool, which + automatically added the copyright line. + +Files: library/bltCanvEps.pro +Copyright: 1991-1997 Bell Labs Innovations for Lucent Technologies` +License: MIT-1 + +Files: library/bltGraph.pro +Copyright: 1989-1992 Regents of the University of California +License: MIT-6 +Copyright: 1991-1997 Bell Labs Innovations for Lucent Technologies +License: MIT-1 + +Files: man/*: +Copyright: 1991-1998 by Bell Labs Innovations for Lucent Technologies +License: MIT-1 + +Files: man/Blt_Vector.man3, man/tree.mann, man/vector.mann +Copyright: 1991-1997 by Lucent Technologies, Inc. +License: MIT-1 + +Files: man/hierbox.mann, man/hiertable.mann, man/treeview.mann +Copyright: 2001-2002 by Silicon Metrics Corporation. +License: MIT-4 + +Files: win/X11/keysymdef.h, win/X11/keysym.h, win/X11/X.h, win/X11/Xutil.h +Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts, and the Massachusetts Institute of Technology, Cambridge, Massachusetts +License: MIT-2 + +Files: win/X11/Xfuncproto.h +Copyright: 1989, 1991 by the Massachusetts Institute of Technology +License: MIT-3 + +Files: win/X11/Xlib.h +Copyright: 1985, 1986, 1987, 1991 by the Massachusetts Institute of Technology +License: MIT-3 + +License: MIT-1 + to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both that the copyright notice and warranty disclaimer appear in supporting documentation, @@ -22,3 +132,127 @@ 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. + +License: MIT-2 + Permission to use, copy, modify, and distribute this software and its + documentation for any purpose and without fee is hereby granted, + provided that the above copyright notice appear in all copies and that + both that copyright notice and this permission notice appear in + supporting documentation, and that the names of Digital or MIT not be + used in advertising or publicity pertaining to distribution of the + software without specific, written prior permission. + + DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING + ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL + DIGITAL 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 TORTIOUS ACTION, + ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS + SOFTWARE. + +License: MIT-3 + Permission to use, copy, modify, and distribute this software and its + documentation for any purpose and without fee is hereby granted, provided + that the above copyright notice appear in all copies and that both that + copyright notice and this permission notice appear in supporting + documentation, and that the name of M.I.T. not be used in advertising + or publicity pertaining to distribution of the software without specific, + written prior permission. M.I.T. makes no representations about the + suitability of this software for any purpose. It is provided "as is" + without express or implied warranty. + +License: MIT-4 + Permission to use, copy, modify, and distribute this software and + its documentation for any purpose and without fee is hereby + granted, provided that the above copyright notice appear in all + copies and that both that the copyright notice and warranty + disclaimer appear in supporting documentation, and that the names + of Lucent Technologies any of their entities not be used in + advertising or publicity pertaining to distribution of the software + without specific, written prior permission. + + Silicon Metrics disclaims all warranties with regard to this + software, including all implied warranties of merchantability and + fitness. In no event shall Lucent Technologies 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. + +License: Tcl + This software is copyrighted by the Regents of the University of + California, Sun Microsystems, Inc., Scriptics Corporation, + 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. + +License: MIT-5 + Permission to use, copy, modify, and distribute this software + and its documentation for any purpose and without fee is hereby + granted, provided that the above copyright notice appear in all + copies and that both that the copyright notice and warranty + disclaimer appear in supporting documentation, and that the + names of AT&T Bell Laboratories any of their entities not be used + in advertising or publicity pertaining to distribution of the + software without specific, written prior permission. + + AT&T disclaims all warranties with regard to this software, including + all implied warranties of merchantability and fitness. In no event + shall AT&T 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. + +License: MIT-6 + Permission is hereby granted, without written agreement and without + license or royalty fees, to use, copy, modify, and distribute this + software and its documentation for any purpose, provided that the + above copyright notice and the following two paragraphs appear in + all copies of this software. + + IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY FOR + DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT + OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF + CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES, + INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS + ON AN "AS IS" BASIS, AND THE UNIVERSITY OF CALIFORNIA HAS NO OBLIGATION TO + PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. diff -Nru blt-2.5.3/debian/patches/source.patch blt-2.5.3+dfsg/debian/patches/source.patch --- blt-2.5.3/debian/patches/source.patch 1970-01-01 03:00:00.000000000 +0300 +++ blt-2.5.3+dfsg/debian/patches/source.patch 2014-11-17 19:39:13.000000000 +0300 @@ -0,0 +1,85 @@ +This patch removes references to non-free dd_protocol/* files from makefiles. +It's a part of code which makes the original tarball DFSG-compliant. The rest +is in debian/rules (get-orig-source target). + +--- a/library/Makefile.in ++++ b/library/Makefile.in +@@ -34,14 +34,14 @@ + tclIndex \ + $(cursors) + +-ddFiles = dd-color.tcl \ +- dd-file.tcl \ +- dd-number.tcl \ +- dd-text.tcl \ +- tclIndex ++#ddFiles = dd-color.tcl \ ++# dd-file.tcl \ ++# dd-number.tcl \ ++# dd-text.tcl \ ++# tclIndex + + instdirs = $(prefix) $(exec_prefix) \ +- $(libdir) $(prefix)/lib $(scriptdir) $(scriptdir)/dd_protocols ++ $(libdir) $(prefix)/lib $(scriptdir) #$(scriptdir)/dd_protocols + + all: pkgIndex + +@@ -53,10 +53,10 @@ + + + install: mkdirs pkgIndex +- for i in $(ddFiles) ; do \ +- $(INSTALL_DATA) $(srcdir)/dd_protocols/$$i \ +- $(INSTALL_ROOT)$(scriptdir)/dd_protocols ; \ +- done ++ #for i in $(ddFiles) ; do \ ++ # $(INSTALL_DATA) $(srcdir)/dd_protocols/$$i \ ++ # $(INSTALL_ROOT)$(scriptdir)/dd_protocols ; \ ++ #done + for i in $(miscFiles) ; do \ + $(INSTALL_DATA) $(srcdir)/$$i $(INSTALL_ROOT)$(scriptdir) ; \ + done +--- a/library/Makefile.vc ++++ b/library/Makefile.vc +@@ -24,11 +24,11 @@ + tclIndex \ + $(cursors) + +-ddFiles = dd-color.tcl \ +- dd-file.tcl \ +- dd-number.tcl \ +- dd-text.tcl \ +- tclIndex ++#ddFiles = dd-color.tcl \ ++# dd-file.tcl \ ++# dd-number.tcl \ ++# dd-text.tcl \ ++# tclIndex + + instdirs = $(prefix) $(exec_prefix) $(libdir) \ + $(scriptdir) $(scriptdir)/dd_protocols $(libdir)/tcl$(v1) \ +@@ -44,9 +44,9 @@ + done + + install-ddfiles: install-dirs +- for i in $(ddFiles) ; do \ +- $(INSTALL_DATA) $(srcdir)/dd_protocols/$$i $(scriptdir)/dd_protocols ; \ +- done ++ #for i in $(ddFiles) ; do \ ++ # $(INSTALL_DATA) $(srcdir)/dd_protocols/$$i $(scriptdir)/dd_protocols ; \ ++ #done + + install-files: install-dirs + for i in $(miscFiles) ; do \ +--- a/win/install.tcl ++++ b/win/install.tcl +@@ -78,7 +78,7 @@ + -pattern *.pro \ + -file tclIndex \ + $scriptdir +- Add ${srcdir}/library/dd_protocols \ ++ #Add ${srcdir}/library/dd_protocols \ + -pattern *.tcl \ + -file tclIndex \ + $scriptdir/dd_protocols diff -Nru blt-2.5.3/debian/rules blt-2.5.3+dfsg/debian/rules --- blt-2.5.3/debian/rules 2014-07-04 15:58:42.000000000 +0400 +++ blt-2.5.3+dfsg/debian/rules 2014-11-17 19:33:33.000000000 +0300 @@ -69,7 +69,7 @@ rm debian/blt-dev/usr/share/doc/blt-dev/html/*.vc override_dh_makeshlibs: - dh_makeshlibs -V 'blt (>= 2.5.3)' + dh_makeshlibs -V 'tk8.6-blt2.5 (>= 2.5.3)' get-orig-source: CURDIR=`pwd` && TMPDIR=`mktemp -d /tmp/blt.XXXXXX` && \ @@ -77,7 +77,10 @@ wget -O tmp.zip \ http://prdownloads.sourceforge.net/wize/blt-src-$(v).3.zip && \ unzip tmp.zip && \ - tar -Jcf $$CURDIR/blt_$(v).3.orig.tar.xz blt$(v) && \ + rm -rv blt$(v)/library/dd_protocols && \ + (cd blt$(v) && patch -p1 <$$CURDIR/debian/patches/source.patch) && \ + sed -i -e 's/\$$(ddFiles)//' blt$(v)/library/Makefile.in && \ + tar -Jcf $$CURDIR/blt_$(v).3+dfsg.orig.tar.xz blt$(v) && \ rm -rf $$TMPDIR .PHONY: override_dh_auto_configure override_dh_clean override_dh_auto_build \ diff -Nru blt-2.5.3/debian/tk8.6-blt2.5.dirs blt-2.5.3+dfsg/debian/tk8.6-blt2.5.dirs --- blt-2.5.3/debian/tk8.6-blt2.5.dirs 1970-01-01 03:00:00.000000000 +0300 +++ blt-2.5.3+dfsg/debian/tk8.6-blt2.5.dirs 2014-07-03 17:10:38.000000000 +0400 @@ -0,0 +1 @@ +usr/lib/blt2.5 diff -Nru blt-2.5.3/debian/tk8.6-blt2.5.install blt-2.5.3+dfsg/debian/tk8.6-blt2.5.install --- blt-2.5.3/debian/tk8.6-blt2.5.install 1970-01-01 03:00:00.000000000 +0300 +++ blt-2.5.3+dfsg/debian/tk8.6-blt2.5.install 2014-07-03 16:58:05.000000000 +0400 @@ -0,0 +1,2 @@ +usr/lib/*.so.* +usr/lib/blt2.5 diff -Nru blt-2.5.3/library/dd_protocols/dd-color.tcl blt-2.5.3+dfsg/library/dd_protocols/dd-color.tcl --- blt-2.5.3/library/dd_protocols/dd-color.tcl 2009-05-09 08:27:22.000000000 +0400 +++ blt-2.5.3+dfsg/library/dd_protocols/dd-color.tcl 1970-01-01 03:00:00.000000000 +0300 @@ -1,51 +0,0 @@ -# ---------------------------------------------------------------------- -# PURPOSE: drag&drop send routine for "color" data -# -# Widgets that are to participate in drag&drop operations for -# "color" data should be registered as follows: -# -# drag&drop .win source handler color dd_send_color -# drag&drop .win target handler color my_color_handler -# -# proc my_color_handler {} { -# global DragDrop -# -# set data $DragDrop(color) -# . -# . do something with $data -# . -# } -# -# AUTHOR: Michael J. McLennan Phone: (215)770-2842 -# AT&T Bell Laboratories E-mail: aluxpo!m...@att.com -# -# SCCS: %W% (%G%) -# ---------------------------------------------------------------------- -# Copyright (c) 1993 AT&T All Rights Reserved -# ====================================================================== - -# ---------------------------------------------------------------------- -# COMMAND: dd_send_color <interp> <ddwin> <data> -# -# INPUTS -# <interp> = interpreter for target application -# <ddwin> = pathname for target drag&drop window -# <data> = data returned from -tokencmd -# -# RETURNS -# "" -# -# SIDE-EFFECTS -# Sends data to remote application DragDrop(color), and then -# invokes the "color" handler for the drag&drop target. -# ---------------------------------------------------------------------- -proc dd_send_color {interp ddwin data} { - send $interp " - foreach color [list $data] { - winfo rgb . \$color - } - global DragDrop - set DragDrop(color) [list $data] - " - send $interp "drag&drop target $ddwin handle color" -} diff -Nru blt-2.5.3/library/dd_protocols/dd-file.tcl blt-2.5.3+dfsg/library/dd_protocols/dd-file.tcl --- blt-2.5.3/library/dd_protocols/dd-file.tcl 2009-05-09 08:27:22.000000000 +0400 +++ blt-2.5.3+dfsg/library/dd_protocols/dd-file.tcl 1970-01-01 03:00:00.000000000 +0300 @@ -1,53 +0,0 @@ -# ---------------------------------------------------------------------- -# PURPOSE: drag&drop send routine for "file" data -# -# Widgets that are to participate in drag&drop operations for -# "file" data should be registered as follows: -# -# drag&drop .win source handler text dd_send_file -# drag&drop .win target handler text my_file_handler -# -# proc my_file_handler {} { -# global DragDrop -# -# set data $DragDrop(file) -# . -# . do something with $data -# . -# } -# -# AUTHOR: Michael J. McLennan Phone: (215)770-2842 -# AT&T Bell Laboratories E-mail: aluxpo!m...@att.com -# -# SCCS: %W% (%G%) -# ---------------------------------------------------------------------- -# Copyright (c) 1993 AT&T All Rights Reserved -# ====================================================================== - -# ---------------------------------------------------------------------- -# COMMAND: dd_send_file <interp> <ddwin> <data> -# -# INPUTS -# <interp> = interpreter for target application -# <ddwin> = pathname for target drag&drop window -# <data> = data returned from -tokencmd -# -# RETURNS -# "" -# -# SIDE-EFFECTS -# Sends data to remote application DragDrop(file), and then -# invokes the "file" handler for the drag&drop target. -# ---------------------------------------------------------------------- -proc dd_send_file {interp ddwin data} { - send $interp " - foreach file [list $data] { - if {!\[file exists \$file\]} { - error \"not a file: \$file\" - } - } - global DragDrop - set DragDrop(file) [list $data] - " - send $interp "drag&drop target $ddwin handle file" -} diff -Nru blt-2.5.3/library/dd_protocols/dd-number.tcl blt-2.5.3+dfsg/library/dd_protocols/dd-number.tcl --- blt-2.5.3/library/dd_protocols/dd-number.tcl 2009-05-09 08:27:22.000000000 +0400 +++ blt-2.5.3+dfsg/library/dd_protocols/dd-number.tcl 1970-01-01 03:00:00.000000000 +0300 @@ -1,51 +0,0 @@ -# ---------------------------------------------------------------------- -# PURPOSE: drag&drop send routine for "number" data -# -# Widgets that are to participate in drag&drop operations for -# "number" data should be registered as follows: -# -# drag&drop .win source handler number dd_send_number -# drag&drop .win target handler number my_number_handler -# -# proc my_number_handler {} { -# global DragDrop -# -# set data $DragDrop(number) -# . -# . do something with $data -# . -# } -# -# AUTHOR: Michael J. McLennan Phone: (215)770-2842 -# AT&T Bell Laboratories E-mail: aluxpo!m...@att.com -# -# SCCS: %W% (%G%) -# ---------------------------------------------------------------------- -# Copyright (c) 1993 AT&T All Rights Reserved -# ====================================================================== - -# ---------------------------------------------------------------------- -# COMMAND: dd_send_number <interp> <ddwin> <data> -# -# INPUTS -# <interp> = interpreter for target application -# <ddwin> = pathname for target drag&drop window -# <data> = data returned from -tokencmd -# -# RETURNS -# "" -# -# SIDE-EFFECTS -# Sends data to remote application DragDrop(number), and then -# invokes the "number" handler for the drag&drop target. -# ---------------------------------------------------------------------- -proc dd_send_number {interp ddwin data} { - send $interp " - foreach num [list $data] { - expr \$num*1 - } - global DragDrop - set DragDrop(number) [list $data] - " - send $interp "drag&drop target $ddwin handle number" -} diff -Nru blt-2.5.3/library/dd_protocols/dd-text.tcl blt-2.5.3+dfsg/library/dd_protocols/dd-text.tcl --- blt-2.5.3/library/dd_protocols/dd-text.tcl 2009-05-09 08:27:22.000000000 +0400 +++ blt-2.5.3+dfsg/library/dd_protocols/dd-text.tcl 1970-01-01 03:00:00.000000000 +0300 @@ -1,48 +0,0 @@ -# ---------------------------------------------------------------------- -# PURPOSE: drag&drop send routine for "text" data -# -# Widgets that are to participate in drag&drop operations for -# "text" data should be registered as follows: -# -# drag&drop .win source handler text dd_send_text -# drag&drop .win target handler text my_text_handler -# -# proc my_text_handler {} { -# global DragDrop -# -# set data $DragDrop(text) -# . -# . do something with $data -# . -# } -# -# AUTHOR: Michael J. McLennan Phone: (215)770-2842 -# AT&T Bell Laboratories E-mail: aluxpo!m...@att.com -# -# SCCS: %W% (%G%) -# ---------------------------------------------------------------------- -# Copyright (c) 1993 AT&T All Rights Reserved -# ====================================================================== - -# ---------------------------------------------------------------------- -# COMMAND: dd_send_text <interp> <ddwin> <data> -# -# INPUTS -# <interp> = interpreter for target application -# <ddwin> = pathname for target drag&drop window -# <data> = data returned from -tokencmd -# -# RETURNS -# "" -# -# SIDE-EFFECTS -# Sends data to remote application DragDrop(text), and then -# invokes the "text" handler for the drag&drop target. -# ---------------------------------------------------------------------- -proc dd_send_text {interp ddwin data} { - send $interp " - global DragDrop - set DragDrop(text) [list $data] - " - send $interp "drag&drop target $ddwin handle text" -} diff -Nru blt-2.5.3/library/dd_protocols/tclIndex blt-2.5.3+dfsg/library/dd_protocols/tclIndex --- blt-2.5.3/library/dd_protocols/tclIndex 2009-05-09 08:27:22.000000000 +0400 +++ blt-2.5.3+dfsg/library/dd_protocols/tclIndex 1970-01-01 03:00:00.000000000 +0300 @@ -1,12 +0,0 @@ -# Tcl autoload index file, version 2.0 -# This file is generated by the "auto_mkindex" command -# and sourced to set up indexing information for one or -# more commands. Typically each line is a command that -# sets an element in the auto_index array, where the -# element name is the name of a command and the value is -# a script that loads the command. - -set auto_index(dd_send_file) "source $dir/dd-file.tcl" -set auto_index(dd_send_text) "source $dir/dd-text.tcl" -set auto_index(dd_send_number) "source $dir/dd-number.tcl" -set auto_index(dd_send_color) "source $dir/dd-color.tcl" diff -Nru blt-2.5.3/library/Makefile.in blt-2.5.3+dfsg/library/Makefile.in --- blt-2.5.3/library/Makefile.in 2011-01-05 10:52:48.000000000 +0300 +++ blt-2.5.3+dfsg/library/Makefile.in 2014-11-17 19:30:21.000000000 +0300 @@ -34,14 +34,14 @@ tclIndex \ $(cursors) -ddFiles = dd-color.tcl \ - dd-file.tcl \ - dd-number.tcl \ - dd-text.tcl \ - tclIndex +#ddFiles = dd-color.tcl \ +# dd-file.tcl \ +# dd-number.tcl \ +# dd-text.tcl \ +# tclIndex instdirs = $(prefix) $(exec_prefix) \ - $(libdir) $(prefix)/lib $(scriptdir) $(scriptdir)/dd_protocols + $(libdir) $(prefix)/lib $(scriptdir) #$(scriptdir)/dd_protocols all: pkgIndex @@ -53,10 +53,10 @@ install: mkdirs pkgIndex - for i in $(ddFiles) ; do \ - $(INSTALL_DATA) $(srcdir)/dd_protocols/$$i \ - $(INSTALL_ROOT)$(scriptdir)/dd_protocols ; \ - done + #for i in ; do \ + # $(INSTALL_DATA) $(srcdir)/dd_protocols/$$i \ + # $(INSTALL_ROOT)$(scriptdir)/dd_protocols ; \ + #done for i in $(miscFiles) ; do \ $(INSTALL_DATA) $(srcdir)/$$i $(INSTALL_ROOT)$(scriptdir) ; \ done diff -Nru blt-2.5.3/library/Makefile.vc blt-2.5.3+dfsg/library/Makefile.vc --- blt-2.5.3/library/Makefile.vc 2011-01-05 10:53:02.000000000 +0300 +++ blt-2.5.3+dfsg/library/Makefile.vc 2014-11-17 19:30:21.000000000 +0300 @@ -24,11 +24,11 @@ tclIndex \ $(cursors) -ddFiles = dd-color.tcl \ - dd-file.tcl \ - dd-number.tcl \ - dd-text.tcl \ - tclIndex +#ddFiles = dd-color.tcl \ +# dd-file.tcl \ +# dd-number.tcl \ +# dd-text.tcl \ +# tclIndex instdirs = $(prefix) $(exec_prefix) $(libdir) \ $(scriptdir) $(scriptdir)/dd_protocols $(libdir)/tcl$(v1) \ @@ -44,9 +44,9 @@ done install-ddfiles: install-dirs - for i in $(ddFiles) ; do \ - $(INSTALL_DATA) $(srcdir)/dd_protocols/$$i $(scriptdir)/dd_protocols ; \ - done + #for i in $(ddFiles) ; do \ + # $(INSTALL_DATA) $(srcdir)/dd_protocols/$$i $(scriptdir)/dd_protocols ; \ + #done install-files: install-dirs for i in $(miscFiles) ; do \ diff -Nru blt-2.5.3/win/install.tcl blt-2.5.3+dfsg/win/install.tcl --- blt-2.5.3/win/install.tcl 2009-05-09 08:27:22.000000000 +0400 +++ blt-2.5.3+dfsg/win/install.tcl 2014-11-17 19:30:21.000000000 +0300 @@ -78,7 +78,7 @@ -pattern *.pro \ -file tclIndex \ $scriptdir - Add ${srcdir}/library/dd_protocols \ + #Add ${srcdir}/library/dd_protocols \ -pattern *.tcl \ -file tclIndex \ $scriptdir/dd_protocols