debian/0000755000000000000000000000000012215017573007171 5ustar debian/libconfig-model-tkui-perl.examples0000644000000000000000000000001312215017573015667 0ustar examples/* debian/libconfig-model-tkui-perl.docs0000644000000000000000000000000712215017573015004 0ustar README debian/copyright0000644000000000000000000000212212215017573011121 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Config-Model-TkUI Upstream-Contact: Dominique Dumont Source: https://metacpan.org/release/Config-Model-TkUI/ Files: * Copyright: 2008-2013, Dominique Dumont License: LGPL-2.1+ Files: examples/model.pl Copyright: 2009, Alexander Becker 2009, Dominique Dumont License: LGPL-2.1+ Files: debian/* Copyright: 2008-2013, Dominique Dumont 2010, Jonathan Yu 2010, gregor herrmann 2010-2012, Salvatore Bonaccorso License: LGPL-2.1+ License: LGPL-2.1+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. . On Debian systems, the complete text of version 2.1 of the GNU Lesser General Public License can be found in `/usr/share/common-licenses/LGPL-2.1'. debian/watch0000644000000000000000000000036712215017573010230 0ustar # format version number, currently 3; this line is compulsory! version=3 # URL to the package page followed by a regex to search https://metacpan.org/release/Config-Model-TkUI/ .*/Config-Model-TkUI-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ debian/changelog0000644000000000000000000002714412215017573011053 0ustar libconfig-model-tkui-perl (1.340-1) unstable; urgency=low * Imported Upstream version 1.340: fixes some long standing bug where warning and online help were not displayed in the GUI -- Dominique Dumont Sat, 14 Sep 2013 10:33:01 +0200 libconfig-model-tkui-perl (1.339-1) unstable; urgency=low [ Salvatore Bonaccorso ] * Change Vcs-Git to canonical URI (git://anonscm.debian.org) * Change search.cpan.org based URIs to metacpan.org based URIs [ Dominique Dumont ] * Imported Upstream version: * refresh tree once store check is done * control: * depends on libconfig-model-perl >= 2.030 + added build-dep on libanyevent-perl * bumped std version to 3.9.4 * copyright: updated years -- Dominique Dumont Sun, 24 Mar 2013 18:52:36 +0100 libconfig-model-tkui-perl (1.337-2) unstable; urgency=low * added upstream patch to fix green arrow display (Closes: #688097) -- Dominique Dumont Wed, 19 Sep 2012 14:14:17 +0200 libconfig-model-tkui-perl (1.337-1) unstable; urgency=low * Imported Upstream version 1.337: * added 'show only custom values' check button in main panel * Bound 'Return' (aka Enter) key to begin search in the find widget (the one in 'Edit -> Find' menu) -- Dominique Dumont Fri, 29 Jun 2012 14:26:30 +0200 libconfig-model-tkui-perl (1.336-1) unstable; urgency=low * new upstream release * view_unsaved_change widget can now be expanded * Fixed skip count test (Closes: 674365) * rules : test with xvfb (also able to close the bug above) * control: * updated dependencies on libconfig-model-perl (>= 2.015) + added BD on xauth and xvfb -- Dominique Dumont Tue, 29 May 2012 17:34:54 +0200 libconfig-model-tkui-perl (1.335-1) unstable; urgency=low * Imported Upstream version 1.335 * main widget (TkUI): + added show_change menu entry. Offer the same possibility when asked about saving before quitting * help menu: removed todo list. Added 'more info' item * leaf editor: * Fix external editor call so the user can continue edition from widget to external editor without loosing modification already done in the text widget. + added balloon and changed button label to help user * control: BDI on libtest-memory-cycle-perl * control: depedns on libconfig-model-perl >= 2.014 -- Dominique Dumont Mon, 07 May 2012 15:36:55 +0200 libconfig-model-tkui-perl (1.333-1) unstable; urgency=low * Imported Upstream version 1.333 * Update copyright years for debian/* packaging -- Salvatore Bonaccorso Thu, 22 Mar 2012 16:35:47 +0100 libconfig-model-tkui-perl (1.332-1) unstable; urgency=low * Imported Upstream version 1.332: * copyright: updated years and format url * control: updated Standards-Version to 3.9.3 (no other changes) * control: depends on libconfig-model-perl 2.001 -- Dominique Dumont Fri, 16 Mar 2012 10:08:34 +0100 libconfig-model-tkui-perl (1.331-1) unstable; urgency=low * Imported Upstream version 1.331: + NodeEditor: Added widget to add new element when node has an accept clause * control: depends on libconfig-model-perl 1.263 -- Dominique Dumont Thu, 01 Dec 2011 17:47:17 +0100 libconfig-model-tkui-perl (1.329-1) unstable; urgency=low * new upstream release: * ListEditor: signal TKUI that data needs to be saved when list is modified * LeafEditor: do not clear entry when input is wrong. This is annoying * TkUI: updated license wording to keep Debian lintian happy * removed fix_warning patch (applied upstream) * copyright: updated license text to keep lintian happy -- Dominique Dumont Sat, 22 Oct 2011 18:42:29 +0200 libconfig-model-tkui-perl (1.328-1) unstable; urgency=low * New upstream release: * ListEditor: enable apply_fix button * TkUI: Restrict cut buffer paste to tree widget * patches/fix_warning: Fix a harmless warning -- Dominique Dumont Fri, 23 Sep 2011 14:14:45 +0200 libconfig-model-tkui-perl (1.327-1) unstable; urgency=low * new upstream release (bug fix) -- Dominique Dumont Fri, 16 Sep 2011 17:29:08 +0200 libconfig-model-tkui-perl (1.326-1) unstable; urgency=low [ Ansgar Burchardt ] * debian/control: Convert Vcs-* fields to Git. [ Dominique Dumont ] * new upstream release: + added check warning button in list viewer and editor * debian/control: * depends on libconfig-model-perl >= 1.253 * updated my e-mail address -- Dominique Dumont Tue, 06 Sep 2011 21:12:40 +0200 libconfig-model-tkui-perl (1.325-1) unstable; urgency=low * New upstream release * debian/copyright: - Update copyright years for debian/* packaging - Fix typo Debian ystems -> Debian systems. -- Salvatore Bonaccorso Sat, 02 Jul 2011 23:52:45 +0200 libconfig-model-tkui-perl (1.324-1) unstable; urgency=low * New upstream release: + TkUI: added search widget (menu "Edit -> Search" or just hit ) + ListEditor: fix bug that prevented to push a null value * control: depends on libconfig-model-perl 1.244 -- Dominique Dumont Thu, 19 May 2011 13:44:48 +0200 libconfig-model-tkui-perl (1.323-1) unstable; urgency=low * New upstream release * debian/control: - Add (Build-)Depends(-Indep) on libtk-pod-perl. - Bump versioned Build-Depends on debhelper to (>= 8). * Bump Debhelper compat level to 8. * Bump Standards-Version to 3.9.2 (no changes needed). -- Salvatore Bonaccorso Tue, 12 Apr 2011 08:19:50 +0200 libconfig-model-tkui-perl (1.322-1) unstable; urgency=low * New upstream release (improved usability) - Fix nb of skipped tests to avoid FTBS where Tk cannot run * control: changed my e-mail address. Added libconfig-model-perl to Enhance field. Bumped *Depends version of libconfig-model-perl to 1.235 * copyright: updated field names to latest DEP5 -- Dominique Dumont Fri, 04 Mar 2011 13:20:06 +0100 libconfig-model-tkui-perl (1.320-1) unstable; urgency=low * New upstream release: - LeafEditor: added fix button to fix warnings (if model provides a fix). Added external editor button * control: removed unnecessary versioned dependencies, added libfile-slurp-perl dependency * copyright: updated copyright years -- Dominique Dumont Wed, 12 Jan 2011 14:53:45 +0100 libconfig-model-tkui-perl (1.317-1) unstable; urgency=low * New upstream release * debian/copyright: Refer to Debian systems in general instead of Debian GNU/Linux systems. -- Salvatore Bonaccorso Fri, 12 Nov 2010 14:32:56 +0100 libconfig-model-tkui-perl (1.316-1) unstable; urgency=low [ Salvatore Bonaccorso ] * Update my email address. [ Dominique Dumont ] * New upstream release: - adapted for Config::Model 1.212 - display configuration warnings if needed * control: depends on libconfig-model-perl 1.212, build-depends on libtest-warn-perl [ Ansgar Burchardt ] * debian/control: Change Homepage field to project wiki on SourceForge.net. -- Dominique Dumont Thu, 21 Oct 2010 14:28:10 +0200 libconfig-model-tkui-perl (1.311-1) unstable; urgency=low * New upstream release. -- gregor herrmann Sat, 02 Oct 2010 18:23:05 +0200 libconfig-model-tkui-perl (1.310-1) unstable; urgency=low * New upstream release (small bug fix) -- Dominique Dumont Sun, 12 Sep 2010 19:07:26 +0200 libconfig-model-tkui-perl (1.309-1) unstable; urgency=low * New upstream release * Bump Standards-Version to 3.9.1 (no changes needed). -- Salvatore Bonaccorso Tue, 10 Aug 2010 13:24:13 +0200 libconfig-model-tkui-perl (1.308-1) unstable; urgency=low * New upstream release * Add myself to Uploaders. * debian/control: Replace alternative Build-Depends on perl (>= 5.10) | libmodule-build-perl with only perl, as stable has this version. * Refresh debian/copyright: Adjust to revision 135 of DEP5 format- specification for machine-readable copyright file. Adjust reference to license as it is LGPL-2.1. * Bump Standards-Version to 3.9.0 (no changes needed). * Bump versioned (Build-)Depends(-Indep) on libconfig-model-perl to (>= 1.202). -- Salvatore Bonaccorso Fri, 23 Jul 2010 08:47:41 +0200 libconfig-model-tkui-perl (1.306-1) unstable; urgency=low * New upstream release. * Add /me to Uploaders. * Bump versioned (build) dependency on libconfig-model-perl, add new (build) dependency on libpod-pom-perl. * Convert to source format 3.0 (quilt). -- gregor herrmann Mon, 29 Mar 2010 22:01:30 +0200 libconfig-model-tkui-perl (1.304-1) unstable; urgency=low * New upstream release * Add myself to Uploaders and Copyright * Drop perl version requirement (satisfied by oldstable) -- Jonathan Yu Sat, 13 Mar 2010 18:29:27 -0500 libconfig-model-tkui-perl (1.303-1) unstable; urgency=low * New upstream release * debian/control: updated standard version to 3.8.4 Depends on libconfig-model-perl >= 0.643 -- Dominique Dumont Sat, 27 Feb 2010 17:24:59 +0100 libconfig-model-tkui-perl (1.302-1) unstable; urgency=low [ Dominique Dumont ] * New upstream release (bug fixes) * Added examples directory. (Thanks Alexander Becker) [ gregor herrmann ] * debian/control: Changed: (build-)depend on perl instead of perl- modules. * debian/copyright: update years of copyright, add additional copyright holder. -- Dominique Dumont Sat, 23 Jan 2010 14:23:22 +0100 libconfig-model-tkui-perl (1.301-1) unstable; urgency=low [ Dominique Dumont ] * New upstream release. New NodeEditor widget. New wizard widget * control: Updated to policy 3.8.3 [ gregor herrmann ] * Simplify debian/rules. -- Dominique Dumont Tue, 08 Sep 2009 13:22:59 +0200 libconfig-model-tkui-perl (1.211-1) unstable; urgency=low [ Dominique Dumont ] * New upstream release: Fix broken save in config-edit-ssh [ gregor herrmann ] * Bump (build) dependency on libconfig-model-perl to >= 0.638. -- Dominique Dumont Wed, 01 Jul 2009 15:28:10 +0200 libconfig-model-tkui-perl (1.210-1) unstable; urgency=low [ Nathan Handler ] * debian/watch: Update to ignore development releases. [ Dominique Dumont ] * New upstream release * control: depends on libconfig-model-perl >= 0.637 * control: Updated to policy 3.8.2 -- Dominique Dumont Thu, 25 Jun 2009 18:08:29 +0200 libconfig-model-tkui-perl (1.208-1) unstable; urgency=low * New upstream release: - Improved hash editor widget. - Display information from 'summary' field provided by Config::Model 0.635 * control: depends on new version (0.635) of libconfig-model-perl -- Dominique Dumont Tue, 21 Apr 2009 14:04:57 +0200 libconfig-model-tkui-perl (1.207-1) unstable; urgency=low [ Dominique Dumont ] * New upstream release (new text editor button to normalize white space in a string.) * control: Updated to policy 3.8.1 [ gregor herrmann ] * debian/copyright: update years of copyright. -- Dominique Dumont Sun, 15 Mar 2009 13:53:14 +0100 libconfig-model-tkui-perl (1.204-1) unstable; urgency=low * Initial Release. (Closes: #509598) -- Dominique Dumont Tue, 23 Dec 2008 18:52:20 +0100 debian/compat0000644000000000000000000000000212215017573010367 0ustar 8 debian/patches/0000755000000000000000000000000012215017573010620 5ustar debian/patches/fix-green-arrow-and-show-hide.patch0000644000000000000000000000254512215017573017310 0ustar Description: Fix green arrow and show hide.patch This patch fixes the logic used to display the green arrow. Also don't hide values which have errors or warnings. when the 'show only custom values' checkbox is set. Bug-Debian: 688097 Forwarded: yes Author: dod --- a/lib/Config/Model/TkUI.pm +++ b/lib/Config/Model/TkUI.pm @@ -835,13 +835,15 @@ my $value = $leaf_object->fetch(check => 'no', silent => 1) ; my $tkt = $cw->{tktree} ; - my ($is_customised, $img) ; + my ($is_customised, $img,$has_error,$has_warning) ; { no warnings qw/uninitialized/ ; - $is_customised = ! ( $std_v eq $value) ; + $is_customised = !! ( defined $value and ( $std_v ne $value )) ; $img = $cust_img if $is_customised ; - $img = $warn_img if $leaf_object->warning_msg ; - $img = $error_img if $leaf_object->error_msg; + $has_warning = !! $leaf_object->warning_msg ; + $img = $warn_img if $has_warning ; + $has_error = !! $leaf_object->error_msg; + $img = $error_img if $has_error; } if (defined $img) { @@ -859,7 +861,7 @@ $tkt->itemCreate($path,3, -text => $cw->trim_value($std_v)) ; - my $meth = ($cw->{show_only_custom} and not $is_customised) ? 'hide' : 'show' ; + my $meth = ($cw->{show_only_custom} and not ($is_customised or $has_error or $has_warning)) ? 'hide' : 'show' ; $tkt->$meth(entry => $path) ; } debian/patches/series0000644000000000000000000000004412215017573012033 0ustar fix-green-arrow-and-show-hide.patch debian/source/0000755000000000000000000000000012215017573010471 5ustar debian/source/format0000644000000000000000000000001412215017573011677 0ustar 3.0 (quilt) debian/control0000644000000000000000000000423112215017573010574 0ustar Source: libconfig-model-tkui-perl Maintainer: Debian Perl Group Uploaders: Dominique Dumont , Jonathan Yu , gregor herrmann , Salvatore Bonaccorso Section: perl Priority: optional Build-Depends: debhelper (>= 8), perl, xauth, xvfb Build-Depends-Indep: libanyevent-perl, libconfig-model-perl (>= 2.030), libexception-class-perl, libfile-slurp-perl, liblog-log4perl-perl, libpod-pom-perl, libtest-memory-cycle-perl, libtest-pod-perl, libtest-warn-perl, libtk-dirselect-perl, libtk-objscanner-perl, libtk-pod-perl, perl-tk Standards-Version: 3.9.4 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libconfig-model-tkui-perl.git Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libconfig-model-tkui-perl.git Homepage: http://config-model.wiki.sourceforge.net Package: libconfig-model-tkui-perl Architecture: all Depends: ${perl:Depends}, ${misc:Depends}, libconfig-model-perl (>= 2.030), libexception-class-perl, libfile-slurp-perl, liblog-log4perl-perl, libpod-pom-perl, libtk-dirselect-perl, libtk-pod-perl, perl-tk Suggests: libtk-objscanner-perl Enhances: libconfig-model-perl Description: Tk GUI to edit config data through Config::Model Config::Model::TkUI provides a Perl/Tk interface to: - the configuration editor provided by Config::Model. - the configuration model editor provided by Config::Model::Itself . For instance, with Config::Model::TkUI, Config::Model and Config::Model::OpenSsh, you get a graphical configuration editor for sshd_config. . To get the graphical editor, just install Config::Model::TkUI, and the config-edit command (provided by libconfig-model-perl) will automagically launch the graphical interface. debian/rules0000755000000000000000000000012312215017573010245 0ustar #!/usr/bin/make -f %: dh $@ override_dh_auto_test: xvfb-run -a dh_auto_test