[Pkg-tcltk-commits] r349 - tcltk-defaults/trunk/debian

sgolovan-guest at alioth.debian.org sgolovan-guest at alioth.debian.org
Sun Oct 21 08:59:44 UTC 2007


Author: sgolovan-guest
Date: 2007-10-21 08:59:44 +0000 (Sun, 21 Oct 2007)
New Revision: 349

Modified:
   tcltk-defaults/trunk/debian/copyright
   tcltk-defaults/trunk/debian/tcltk-depends.in
Log:
[tcltk-defaults]
Added policy copyright notice.
Made compatibility version possibly empty.


Modified: tcltk-defaults/trunk/debian/copyright
===================================================================
--- tcltk-defaults/trunk/debian/copyright	2007-10-21 08:51:45 UTC (rev 348)
+++ tcltk-defaults/trunk/debian/copyright	2007-10-21 08:59:44 UTC (rev 349)
@@ -4,6 +4,9 @@
 
 The package is distributed under the same license as Tcl/Tk itself.
 
+The package contains Debian Tcl/Tk policy manual which is distributed
+under the terms of GNU GPL.
+
 Copyright:
 
 This software is copyrighted by the Regents of the University of
@@ -44,4 +47,22 @@
 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. 
+terms specified in this license.
+
+Copyright notice for Tcl/Tk policy:
+
+Copyright (c) 2007 Software in the Public Interest
+
+This manual is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2 of the License, or (at your
+option) any later version.
+
+This is distributed in the hope that it will be useful, but WITHOUT ANY
+WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
+details.
+
+A copy of the GNU General Public License is available as
+/usr/share/common-licenses/GPL in the Debian GNU/Linux distribution or on
+the World Wide Web at http://www.gnu.org/copyleft/gpl.html

Modified: tcltk-defaults/trunk/debian/tcltk-depends.in
===================================================================
--- tcltk-defaults/trunk/debian/tcltk-depends.in	2007-10-21 08:51:45 UTC (rev 348)
+++ tcltk-defaults/trunk/debian/tcltk-depends.in	2007-10-21 08:59:44 UTC (rev 349)
@@ -217,14 +217,21 @@
     }
 }
 
+set version "@COMPATVER@"
+if {$version == ""} {
+    set dep ""
+} else {
+    set dep " (>= $version)"
+}
+
 foreach package [getpackages $argv] {
     delsubstvar $package "tcl:Depends"
-    addsubstvar $package "tcl:Depends" "tcl (>= @COMPATVER@)"
+    addsubstvar $package "tcl:Depends" "tcl$dep"
     delsubstvar $package "tclsh:Depends"
-    addsubstvar $package "tclsh:Depends" "tcl (>= @COMPATVER@) | tclsh"
+    addsubstvar $package "tclsh:Depends" "tcl$dep | tclsh"
     delsubstvar $package "tk:Depends"
-    addsubstvar $package "tk:Depends" "tk (>= @COMPATVER@)"
+    addsubstvar $package "tk:Depends" "tk$dep"
     delsubstvar $package "wish:Depends"
-    addsubstvar $package "wish:Depends" "tk (>= @COMPATVER@) | wish"
+    addsubstvar $package "wish:Depends" "tk$dep | wish"
 }
 




More information about the Pkg-tcltk-commits mailing list