[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[SCM] Debian package checker branch, master, updated. 2.5.6-77-g4231e59



The following commit has been merged in the master branch:
commit 941a625f8442fb782a86eeeb63b18632e9c7221a
Author: Niels Thykier <niels@thykier.net>
Date:   Fri Apr 6 13:54:41 2012 +0200

    Rename Text_utils to Lintian::Tag::TextUtil
    
    Moved to Lintian::Tag (rather than Lintian) because L::Tag::Info
    is the only consumer of TextUtil.
    
    Signed-off-by: Niels Thykier <niels@thykier.net>

diff --git a/debian/changelog b/debian/changelog
index 8921067..c017848 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -140,6 +140,8 @@ lintian (2.5.7) UNRELEASED; urgency=low
   * lib/Lintian/Tag/Info.pm:
     + [NT] Use Lintian::Data to load the manual-references data
       file instead using an ad-hoc parser.
+  * lib/{Text_utils => Lintian/Tag/TextUtil}.pm:
+    + [NT] Renamed module.
   * lib/Util.pm:
     + [JW] Consider duplicate fields a syntax error in dctrl files.
       Previously, duplicate fields were silently ignored (except
diff --git a/frontend/lintian-info b/frontend/lintian-info
index d65689a..a1e5435 100755
--- a/frontend/lintian-info
+++ b/frontend/lintian-info
@@ -40,7 +40,6 @@ use lib "$ENV{'LINTIAN_ROOT'}/lib";
 use Lintian::Data;
 use Lintian::Internal::FrontendUtil;
 use Lintian::Profile;
-use Text_utils;
 
 my %already_displayed = ();
 my @proc_inc = (
diff --git a/lib/Lintian/Tag/Info.pm b/lib/Lintian/Tag/Info.pm
index cc51d49..e50243d 100644
--- a/lib/Lintian/Tag/Info.pm
+++ b/lib/Lintian/Tag/Info.pm
@@ -24,7 +24,7 @@ use warnings;
 
 use Carp qw(croak);
 
-use Text_utils qw(dtml_to_html dtml_to_text split_paragraphs wrap_paragraphs);
+use Lintian::Tag::TextUtil qw(dtml_to_html dtml_to_text split_paragraphs wrap_paragraphs);
 use Util qw(fail);
 
 # The URL to a web man page service.  NAME is replaced by the man page
diff --git a/lib/Text_utils.pm b/lib/Lintian/Tag/TextUtil.pm
similarity index 98%
rename from lib/Text_utils.pm
rename to lib/Lintian/Tag/TextUtil.pm
index 1c14f58..02e487a 100644
--- a/lib/Text_utils.pm
+++ b/lib/Lintian/Tag/TextUtil.pm
@@ -1,5 +1,5 @@
 # Hey emacs! This is a -*- Perl -*- script!
-# Text_utils -- Perl utility functions for lintian
+# Lintian::Tag::TextUtil -- Perl utility functions for lintian
 
 # Copyright (C) 1998 Christian Schwarz and Richard Braakman
 #
@@ -19,7 +19,7 @@
 # Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
 # MA 02110-1301, USA.
 
-package Text_utils;
+package Lintian::Tag::TextUtil;
 
 use strict;
 use warnings;
diff --git a/reporting/html_reports b/reporting/html_reports
index e323980..86f87ff 100755
--- a/reporting/html_reports
+++ b/reporting/html_reports
@@ -54,7 +54,6 @@ use Lintian::Data;
 use Lintian::Lab;
 use Lintian::Profile;
 use Lintian::Internal::FrontendUtil;
-use Text_utils;
 use Util;
 
 my $profile = Lintian::Profile->new (find_default_profile ("$LINTIAN_ROOT/profiles"),

-- 
Debian package checker


Reply to: