r12254 - in /trunk/libtk-objscanner-perl: ChangeLog META.yml Makefile.PL ObjScanner.pm README debian/changelog debian/control debian/copyright debian/rules t/pseudo_hash.t

ghostbar-guest at users.alioth.debian.org ghostbar-guest at users.alioth.debian.org
Wed Jan 9 00:42:53 UTC 2008


Author: ghostbar-guest
Date: Wed Jan  9 00:42:53 2008
New Revision: 12254

URL: http://svn.debian.org/wsvn/?sc=1&rev=12254
Log:
new upstream release (ready to be uploaded)
debian/control: updated to 3.7.3 S-V; debhelper moved to build-depend instead of build-depend-indep
debian/copyright: actually added a copyright; fixed formatting in license part
debian/rules: now cleans if there's a Makefile with which clean

Modified:
    trunk/libtk-objscanner-perl/ChangeLog
    trunk/libtk-objscanner-perl/META.yml
    trunk/libtk-objscanner-perl/Makefile.PL
    trunk/libtk-objscanner-perl/ObjScanner.pm
    trunk/libtk-objscanner-perl/README
    trunk/libtk-objscanner-perl/debian/changelog
    trunk/libtk-objscanner-perl/debian/control
    trunk/libtk-objscanner-perl/debian/copyright
    trunk/libtk-objscanner-perl/debian/rules
    trunk/libtk-objscanner-perl/t/pseudo_hash.t

Modified: trunk/libtk-objscanner-perl/ChangeLog
URL: http://svn.debian.org/wsvn/trunk/libtk-objscanner-perl/ChangeLog?rev=12254&op=diff
==============================================================================
--- trunk/libtk-objscanner-perl/ChangeLog (original)
+++ trunk/libtk-objscanner-perl/ChangeLog Wed Jan  9 00:42:53 2008
@@ -1,49 +1,60 @@
-2004-07-30  domi  <domi at komarr.grenoble.hp.com> v2.010
+2007-10-09  Dominique Dumont  <dominique.dumont at hp.com> v2.012
+
+	* ObjScanner.pm: Added require 5.006
+	* Makefile.PL: Added require 5.006 to avoid automatic test 
+	  failures from tester.cpan.org
+
+2007-09-20  Dominique Dumont  <dominique.dumont at hp.com> v2.011
+
+	* ObjScanner.pm (Populate): pseudo hashes are disabled for perl >=
+	5.009
+
+2004-07-30  domi  <domi at komarr.grenoble.hp.com> v2.010
 
 	* ObjScanner.pm:
 	Showing tied info can be disabled by option or menu (exclusive or)
 	Removed unnecessary 'ROOT:' word from top level label
 
-2004-07-28  domi  <domi at komarr.grenoble.hp.com> v2.009
+2004-07-28  domi  <domi at komarr.grenoble.hp.com> v2.009
 
-	* ObjScanner.pm v2.8: Applied patch from MAREKR at cpan.org (See
+	* ObjScanner.pm v2.8: Applied patch from MAREKR at cpan.org (See
 	https://rt.cpan.org/Ticket/Display.html?id=5197) to better handle
 	pseudo hashes (even though pseudo hashes are still obsolete)
 
-2004-07-27  domi  <domi at komarr.grenoble.hp.com> v2.008
+2004-07-27  domi  <domi at komarr.grenoble.hp.com> v2.008
 
 	* ObjScanner.pm : Applied Slaven Rezic's patch which fixes
 	image associated to array elements. (See
 	https://rt.cpan.org/Ticket/Display.html?id=6831)
 
-2003-11-28  Dominique Dumont  <domi at komarr.grenoble.hp.com>
+2003-11-28  Dominique Dumont  <domi at komarr.grenoble.hp.com>
 
 	* t/basic.t (new): works with Tk804.025 
 
-2003-11-19  Dominique Dumont  <domi at komarr.grenoble.hp.com>
+2003-11-19  Dominique Dumont  <domi at komarr.grenoble.hp.com>
 
 	* ObjScanner.pm v2.6: all configuration options can be called with
 	a hyphen (i.e '-title' instead of 'title')
 	(scan_object): call pack with hyphenated option (otherwise it
 	breaks on Solaris with Tk800.025)
 
-2003-11-14  Dominique Dumont  <domi at komarr.grenoble.hp.com>
+2003-11-14  Dominique Dumont  <domi at komarr.grenoble.hp.com>
 
 	* ObjScanner.pm: v2.5: replaced obsolete WeakRef module by
 	Scalar::Util
 	Note that pseudo-hashes are deprecated. 
 
-2003-03-21  Dominique Dumont  <domi at komarr.grenoble.hp.com>
+2003-03-21  Dominique Dumont  <domi at komarr.grenoble.hp.com>
 
 	* ObjScanner.pm v 2.4 (analyse_element): 
 	- recognize weak references
 
-2003-02-28  Dominique Dumont v2.3  <domi at komarr.grenoble.hp.com>
+2003-02-28  Dominique Dumont v2.3  <domi at komarr.grenoble.hp.com>
 
 	* ObjScanner.pm (scan_object): 
 	- added autonomous scan popup widget
 
-2003-01-31  Dominique Dumont  <domi at komarr.grenoble.hp.com>
+2003-01-31  Dominique Dumont  <domi at komarr.grenoble.hp.com>
 
 	* ObjScanner.pm v2.1 : 
 	External changes:
@@ -58,19 +69,19 @@
 	  ObjScanner
 	- internal methods are re-organized for easier sub-classing
 
-2001-01-17  Dominique Dumont  <domi at komarr.grenoble.hp.com> v1.022
+2001-01-17  Dominique Dumont  <domi at komarr.grenoble.hp.com> v1.022
 
 	* ObjScanner.pm (isPseudoHash): small bug fix
 	* Makefile.PL: added Tk in PREREQ_PM
 
-2001-01-12  Dominique Dumont  <domi at komarr.grenoble.hp.com> v1.021
+2001-01-12  Dominique Dumont  <domi at komarr.grenoble.hp.com> v1.021
 
 	* Makefile.PL: fixed Makefile.PL
 
 	* ObjScanner.pm:
 	- added pseudo hash viewer
 
-2000-06-07  Dominique Dumont  <domi at ISPSERV.grenoble.hp.com> v1.019
+2000-06-07  Dominique Dumont  <domi at ISPSERV.grenoble.hp.com> v1.019
 
 	* ObjScanner.pm: 
 
@@ -82,61 +93,61 @@
 	5: add 'open folder' image and display it when item has displayed
 	   children
 
-2000-04-17  Dominique Dumont  <domi at ispserv.grenoble.hp.com> v1.018
+2000-04-17  Dominique Dumont  <domi at ispserv.grenoble.hp.com> v1.018
 
 	* ObjScanner.pm: 
 	- fixed a bug related to root display
 	- added a patch provided by Rudi Farkas to display a watch cursor
 	  when displaying a sub-object
 
-1999-07-06  Dominique Dumont  <domi at barrayar.grenoble.hp.com> v1.017
+1999-07-06  Dominique Dumont  <domi at barrayar.grenoble.hp.com> v1.017
 
 	* ObjScanner.pm (element): bug fix on string display
 	* Thanks to Rudi Farkas for contributing test cases with
 	Math::BigInt and Filehandle
 
-1999-05-31  Dominique Dumont  <domi at barrayar.grenoble.hp.com> v1.016
+1999-05-31  Dominique Dumont  <domi at barrayar.grenoble.hp.com> v1.016
 
 	* ObjScanner.pm: 
 	- Better support of complex (perl wise) objects
 	- added 'destroyable' parameters
 	- updated 'CAVEATS' doc
 
-1999-04-29  Dominique Dumont  <domi at barrayar.grenoble.hp.com> v1.014
+1999-04-29  Dominique Dumont  <domi at barrayar.grenoble.hp.com> v1.014
 
 	* ObjScanner.pm (element): Support REF and SCALAR, and does not
  	choke on GLOB ,CODE.
 
-1999-04-21  Dominique Dumont  <domi at barrayar.grenoble.hp.com> v1.013
+1999-04-21  Dominique Dumont  <domi at barrayar.grenoble.hp.com> v1.013
 
 	* ObjScanner.pm : Complete re-write. It now uses HList instead of 
 	data dumper.
 
-1999-01-20  Dominique Dumont  <domi at barrayar.grenoble.hp.com> v1.11
+1999-01-20  Dominique Dumont  <domi at barrayar.grenoble.hp.com> v1.11
 
 	* ObjScanner.pm: removed dependance on Tk::Multi, better doc,
           don't wrap lines in Text widget.
 
-v0.5: 1998-08-18  Dominique Dumont  <domi at barrayar.grenoble.hp.com>
+v0.5: 1998-08-18  Dominique Dumont  <domi at barrayar.grenoble.hp.com>
 
 	* ObjScanner.pm: simplified and adapted for new Multi::Text
 
-1998-06-25  Dominique Dumont  <domi at barrayar.grenoble.hp.com>
+1998-06-25  Dominique Dumont  <domi at barrayar.grenoble.hp.com>
 
 	* 0.4 cleanup remaining traces in test.pl
 
-Tue Mar 17 15:09:42 1998  Dominique Dumont  <domi at marlis.grenoble.hp.com>
+Tue Mar 17 15:09:42 1998  Dominique Dumont  <domi at marlis.grenoble.hp.com>
 
 	* 0.3 : Accepts '-stuff' parameters (instead of 'stuff')
 
-Thu Feb 12 18:07:00 1998  Dominique Dumont  <domi at marlis.grenoble.hp.com>
+Thu Feb 12 18:07:00 1998  Dominique Dumont  <domi at marlis.grenoble.hp.com>
 
 	* 0.2 : Patch made by Achim Bohnet (Thanks)
 
 	o removed AutoLoadeer because
 	don't use AutoLoader for 3 little function
 	defs.  Every 'use AutoLoader' does search auto/mod/ule/autoload.ix
-	in @INC.  I think that this is much more expensive than having perl
+	in  at INC.  I think that this is much more expensive than having perl
         compile the 3 subs (Tom C. mentioned that perl can compile ~10000
 	lines/sec).
 
@@ -149,7 +160,7 @@
 	o Makefile.PL: Tk::Multi does not exist. Changed to check for Tk::Multi::Text
 
 
-Fri Feb  6 18:15:06 1998  Dominique Dumont  <domi at marlis.grenoble.hp.com>
+Fri Feb  6 18:15:06 1998  Dominique Dumont  <domi at marlis.grenoble.hp.com>
 
 	* 0.1 Beta version. Better AutoLoader usage. Fix minor problem
 	to smooth inheriting Tk::ObjScanner

Modified: trunk/libtk-objscanner-perl/META.yml
URL: http://svn.debian.org/wsvn/trunk/libtk-objscanner-perl/META.yml?rev=12254&op=diff
==============================================================================
--- trunk/libtk-objscanner-perl/META.yml (original)
+++ trunk/libtk-objscanner-perl/META.yml Wed Jan  9 00:42:53 2008
@@ -1,7 +1,7 @@
 # http://module-build.sourceforge.net/META-spec.html
 #XXXXXXX This is a prototype!!!  It will change in the future!!! XXXXX#
 name:         Tk-ObjScanner
-version:      2.010
+version:      2.012
 version_from: ObjScanner.pm
 installdirs:  site
 requires:
@@ -12,4 +12,4 @@
     Tk::ROText:                    0
 
 distribution_type: module
-generated_by: ExtUtils::MakeMaker version 6.17
+generated_by: ExtUtils::MakeMaker version 6.30_01

Modified: trunk/libtk-objscanner-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/trunk/libtk-objscanner-perl/Makefile.PL?rev=12254&op=diff
==============================================================================
--- trunk/libtk-objscanner-perl/Makefile.PL (original)
+++ trunk/libtk-objscanner-perl/Makefile.PL Wed Jan  9 00:42:53 2008
@@ -1,4 +1,7 @@
 use ExtUtils::MakeMaker;
+
+require 5.006 ;
+
 # See lib/ExtUtils/MakeMaker.pm for details of how to influence
 # the contents of the Makefile that is written.
 WriteMakefile
@@ -12,7 +15,7 @@
     #'demo/objscan.pl' => '$(INST_LIB)/Tk/demos/widtrib/objscan.pl'
    },
    ABSTRACT   => 'A scanner to view an object\'s attribute',
-   AUTHOR     => 'Dominique Dumont (domi at barrayar.grenoble.hp.com)',
+   AUTHOR     => 'Dominique Dumont (ddumont at cpan.org)',
    'PREREQ_PM' =>
    {
     'Tk' => 0,

Modified: trunk/libtk-objscanner-perl/ObjScanner.pm
URL: http://svn.debian.org/wsvn/trunk/libtk-objscanner-perl/ObjScanner.pm?rev=12254&op=diff
==============================================================================
--- trunk/libtk-objscanner-perl/ObjScanner.pm (original)
+++ trunk/libtk-objscanner-perl/ObjScanner.pm Wed Jan  9 00:42:53 2008
@@ -1,6 +1,8 @@
-# 	$Id: ObjScanner.pm,v 2.10 2004/07/30 11:57:35 domi Exp $	
+# 	$Id: ObjScanner.pm,v 2.12 2007-10-09 11:21:08 domi Exp $	
 
 package Tk::ObjScanner;
+
+require 5.006;
 
 use strict;
 use warnings ;
@@ -64,7 +66,7 @@
 our @ISA = qw(Tk::Derived Tk::Frame);
 *isa = \&UNIVERSAL::isa;
 
-our $VERSION = sprintf "%d.%03d", q$Revision: 2.10 $ =~ /(\d+)\.(\d+)/;
+our $VERSION = sprintf "%d.%03d", q$Revision: 2.12 $ =~ /(\d+)\.(\d+)/;
 
 Tk::Widget->Construct('ObjScanner');
 
@@ -143,8 +145,13 @@
     my $display_view_pseudo_button = defined $args->{'-view_pseudo'} ||
       defined $args->{view_pseudo} ? 0 : 1;
 
-   my $view_pseudo = delete $args->{'-view_pseudo'} || 
+    my $view_pseudo = delete $args->{'-view_pseudo'} || 
       delete $args->{'view_pseudo'} || 0;
+
+    # override option for feature not supported by Perl 5.09 and later
+    if ($] >= 5.009) {
+	$view_pseudo = 0 ;
+    }
 
     croak "Missing caller argument in ObjScanner\n" 
       unless defined  $cw->{chief};
@@ -739,7 +746,8 @@
 
 =item C<-view_pseudo>
 
-If set, will interpret pseudo hashes as hash (default 0)
+If set, will interpret pseudo hashes as hash (default 0). This option
+is disabled for Perl 5.09 and later.
 
 =item C<-show_tied>
 
@@ -806,7 +814,7 @@
 
 Dominique Dumont, dominique.dumont at hp.com
 
-Copyright (c) 1997-2004 Dominique Dumont. All rights reserved.
+Copyright (c) 1997-2004,2007 Dominique Dumont. All rights reserved.
 This program is free software; you can redistribute it and/or
 modify it under the same terms as Perl itself.
 

Modified: trunk/libtk-objscanner-perl/README
URL: http://svn.debian.org/wsvn/trunk/libtk-objscanner-perl/README?rev=12254&op=diff
==============================================================================
--- trunk/libtk-objscanner-perl/README (original)
+++ trunk/libtk-objscanner-perl/README Wed Jan  9 00:42:53 2008
@@ -50,7 +50,7 @@
 
 Legal mumbo jumbo:
 
- Copyright (c) 1997-2003 Dominique Dumont. All rights reserved.
+ Copyright (c) 1997-2004,2007 Dominique Dumont. All rights reserved.
  This program is free software; you can redistribute it and/or
  modify it under the same terms as Perl itself.
 

Modified: trunk/libtk-objscanner-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libtk-objscanner-perl/debian/changelog?rev=12254&op=diff
==============================================================================
--- trunk/libtk-objscanner-perl/debian/changelog (original)
+++ trunk/libtk-objscanner-perl/debian/changelog Wed Jan  9 00:42:53 2008
@@ -1,11 +1,23 @@
-libtk-objscanner-perl (2.010-2) UNRELEASED; urgency=low
+libtk-objscanner-perl (2.012-1) unstable; urgency=low
 
+  [ gregor herrmann ]
   * debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser
     field (source stanza); Homepage field (source stanza).
   * Set Maintainer to Debian Perl Group.
   * Use dist-based URL in debian/watch.
 
- -- gregor herrmann <gregor+debian at comodo.priv.at>  Sat, 01 Dec 2007 18:55:26 +0100
+  [ Jose Luis Rivas ]
+  * New upstream release
+  * debian/control:
+   + Updated to Standards-Version 3.7.3
+   + Changed debhelper to Build-Depends and updated to >= 5
+  * debian/copyright:
+   + Fixed formatting of license.
+   + Added the copyright actually of the package.
+  * debian/rules:
+   + Now don't clean if there's no Makefile
+
+ -- Jose Luis Rivas <ghostbar38 at gmail.com>  Tue, 08 Jan 2008 20:10:29 -0430
 
 libtk-objscanner-perl (2.010-1) unstable; urgency=low
 

Modified: trunk/libtk-objscanner-perl/debian/control
URL: http://svn.debian.org/wsvn/trunk/libtk-objscanner-perl/debian/control?rev=12254&op=diff
==============================================================================
--- trunk/libtk-objscanner-perl/debian/control (original)
+++ trunk/libtk-objscanner-perl/debian/control Wed Jan  9 00:42:53 2008
@@ -3,8 +3,9 @@
 Priority: optional
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Jay Bonci <jaybonci at debian.org>
-Build-Depends-Indep: debhelper (>> 4.0.0), perl (>> 5.8.2-1), perl-tk
-Standards-Version: 3.6.1.0
+Build-Depends: debhelper (>= 5)
+Build-Depends-Indep: perl (>> 5.8.2-1), perl-tk
+Standards-Version: 3.7.3
 Homepage: http://search.cpan.org/dist/Tk-ObjScanner/
 Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libtk-objscanner-perl/
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/libtk-objscanner-perl/

Modified: trunk/libtk-objscanner-perl/debian/copyright
URL: http://svn.debian.org/wsvn/trunk/libtk-objscanner-perl/debian/copyright?rev=12254&op=diff
==============================================================================
--- trunk/libtk-objscanner-perl/debian/copyright (original)
+++ trunk/libtk-objscanner-perl/debian/copyright Wed Jan  9 00:42:53 2008
@@ -6,19 +6,24 @@
 Upstream Author: Dominique Dumont <domi at komarr.grenoble.hp.com>
 
 Copyright:
-        This program is free software; you can redistribute it and/or modify
-        it under the terms of either:
 
-        a) the GNU General Public License as published by the Free
-        Software Foundation; either version 1, or (at your option) any
-        later version, or
+    Copyright (c) 1997-2004,2007 Dominique Dumont. All rights reserved.
 
-        b) the "Artistic License"
+License:
 
-        See:
+    This program is free software; you can redistribute it and/or modify
+    it under the terms of either:
 
-        /usr/share/common-licenses/Artistic
-        /usr/share/common-licenses/GPL
+    a) the GNU General Public License as published by the Free
+    Software Foundation; either version 1, or (at your option) any
+    later version, or
 
-        For more information regarding these licensing options
+    b) the "Artistic License"
 
+    See:
+
+    /usr/share/common-licenses/Artistic
+    /usr/share/common-licenses/GPL
+
+    For more information regarding these licensing options
+

Modified: trunk/libtk-objscanner-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libtk-objscanner-perl/debian/rules?rev=12254&op=diff
==============================================================================
--- trunk/libtk-objscanner-perl/debian/rules (original)
+++ trunk/libtk-objscanner-perl/debian/rules Wed Jan  9 00:42:53 2008
@@ -20,8 +20,8 @@
 	dh_testdir
 	dh_testroot
 
-	-$(MAKE) clean
-	rm -f Makefile.old
+	[ -f Makefile ] && $(MAKE) clean
+	[ -f Makefile.old ] && rm -f Makefile.old
 	dh_clean
 
 install:

Modified: trunk/libtk-objscanner-perl/t/pseudo_hash.t
URL: http://svn.debian.org/wsvn/trunk/libtk-objscanner-perl/t/pseudo_hash.t?rev=12254&op=diff
==============================================================================
--- trunk/libtk-objscanner-perl/t/pseudo_hash.t (original)
+++ trunk/libtk-objscanner-perl/t/pseudo_hash.t Wed Jan  9 00:42:53 2008
@@ -7,7 +7,8 @@
 # Change 1..1 below to 1..last_test_to_print .
 # (It may become useful if the test is moved to ./t subdirectory.)
 
-BEGIN { $| = 1; print "1..4\n"; }
+BEGIN { $| = 1; 
+	print "1..", $] >= 5.009 ? '1' : '4' ,"\n"; }
 END {print "not ok 1\n" unless $loaded;}
 use Tk ;
 use ExtUtils::testlib ; 
@@ -19,6 +20,8 @@
 my $trace = shift || 0 ;
 
 ######################### End of black magic.
+
+exit if $] >= 5.009 ;
 
 # Insert your test code below (better if it prints "ok 13"
 # (correspondingly "not ok 13") depending on the success of chunk 13




More information about the Pkg-perl-cvs-commits mailing list