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

[SCM] Debian package checker branch, master, updated. 2.2.11-20-g9938659



The following commit has been merged in the master branch:
commit 993865927527f93a0fff7213fafcad8f72636efc
Author: Adam D. Barratt <adam@adam-barratt.org.uk>
Date:   Thu Jun 18 19:02:40 2009 +0100

    Warn about use of the now deprecated dh_scrollkeeper
    
    * checks/debhelper{,.desc}:
      + [ADB] Warn about dh_scrollkeeper calls since the command is now
        deprecated.

diff --git a/checks/debhelper b/checks/debhelper
index 773b46c..478f016 100644
--- a/checks/debhelper
+++ b/checks/debhelper
@@ -90,6 +90,9 @@ while (<RULES>) {
 	if ($dhcommand eq 'dh_desktop') {
 	    tag 'dh_desktop-is-deprecated', "line $.";
 	}
+	if ($dhcommand eq 'dh_scrollkeeper') {
+	    tag 'dh_scrollkeeper-is-deprecated', "line $.";
+	}
 	if ($dhcommand eq 'dh_clean' and m/\s+\-k(\s+.*)?$/) {
 	    $seendhcleank = 1;
 	}
diff --git a/checks/debhelper.desc b/checks/debhelper.desc
index c52b3b4..806c39e 100644
--- a/checks/debhelper.desc
+++ b/checks/debhelper.desc
@@ -76,6 +76,15 @@ Info: This package calls dh_desktop in its <tt>debian/rules</tt> file.
  dh_desktop is deprecated and no longer does anything.  The setup it used
  to handle is now done with triggers.
 
+Tag: dh_scrollkeeper-is-deprecated
+Severity: normal
+Certainty: certain
+Ref: dh_scrollkeeper(1)
+Info: This package calls dh_scrollkeeper in its <tt>debian/rules</tt> file.
+ dh_scrollkeeper is deprecated and no longer does anything.  scrollkeeper
+ has been replaced by rarian, which does not require the functionality
+ dh_scrollkeeper used to provide.
+
 Tag: dh-clean-k-is-deprecated
 Severity: normal
 Certainty: certain
diff --git a/debian/changelog b/debian/changelog
index 9202bbb..58a64ce 100755
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ lintian (2.2.12) UNRELEASED; urgency=low
     + Added:
       - debug-symbols-directly-in-usr-lib-debug
       - dh_desktop-is-deprecated
+      - dh_scrollkeeper-is-deprecated
       - file-in-discouraged-x11-font-directory
       - file-in-unknown-x11-font-directory
       - missing-separator-between-items
@@ -31,6 +32,8 @@ lintian (2.2.12) UNRELEASED; urgency=low
       deprecated.   Thanks, Nelson A. de Oliveira.  (Closes: #531164)
     + [RA] Include the line number in deprecated and obsolete dh_* command
       tags.
+    + [ADB] Warn about dh_scrollkeeper calls since the command is now
+      deprecated.
   * checks/fields{,.desc}:
     + [RA] Update source-field-malformed to serious and don't allow
       capital letters in source package names.  Check source package names
diff --git a/t/tests/debhelper-deprecated/debian/debian/rules b/t/tests/debhelper-deprecated/debian/debian/rules
index 226a398..7771722 100755
--- a/t/tests/debhelper-deprecated/debian/debian/rules
+++ b/t/tests/debhelper-deprecated/debian/debian/rules
@@ -21,6 +21,7 @@ binary-indep:
 	dh_installdocs
 	dh_desktop
 	-dh_dhelp
+	dh_scrollkeeper
 	dh_link
 	dh_compress
 	dh_fixperms
diff --git a/t/tests/debhelper-deprecated/desc b/t/tests/debhelper-deprecated/desc
index df803c6..7f0e9b6 100644
--- a/t/tests/debhelper-deprecated/desc
+++ b/t/tests/debhelper-deprecated/desc
@@ -5,5 +5,6 @@ Description: Test for use of deprecated dh_* commands
 Test-For:
  dh_desktop-is-deprecated
  dh_dhelp-is-deprecated
+ dh_scrollkeeper-is-deprecated
  dh_suidregister-is-obsolete
  dh_testversion-is-deprecated
diff --git a/t/tests/debhelper-deprecated/tags b/t/tests/debhelper-deprecated/tags
index e813126..44a3627 100644
--- a/t/tests/debhelper-deprecated/tags
+++ b/t/tests/debhelper-deprecated/tags
@@ -1,4 +1,5 @@
 W: debhelper-deprecated source: dh_desktop-is-deprecated line 22
 W: debhelper-deprecated source: dh_dhelp-is-deprecated line 23
-W: debhelper-deprecated source: dh_suidregister-is-obsolete line 27
+W: debhelper-deprecated source: dh_scrollkeeper-is-deprecated line 24
+W: debhelper-deprecated source: dh_suidregister-is-obsolete line 28
 W: debhelper-deprecated source: dh_testversion-is-deprecated line 17

-- 
Debian package checker


Reply to: