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

[SCM] Debian package checker branch, master, updated. 1.24.3-36-g0dbc689



The following commit has been merged in the master branch:
commit 0dbc689e983a960b8cf1c74e04f925478c2326fd
Author: Chris Lamb <chris@chris-lamb.co.uk>
Date:   Fri Aug 15 06:32:35 2008 +0100

    Add libjs-yui to the embedded Javascript checks.
    
       + [ADB] Add libjs-yui (the Yahoo User Interface Library) to the list of
         packages which contain Javascript libraries and should be depended upon
         rather than embedded in other packages.  Patch from Chris Lamb.
         (Closes: #495155)

diff --git a/checks/files b/checks/files
index 560b070..1d78a63 100644
--- a/checks/files
+++ b/checks/files
@@ -618,6 +618,7 @@ foreach my $file (sort keys %{$info->index}) {
 	    [ qr,(?i)scriptaculous\.js(\.gz)?$, => 'libjs-scriptaculous' ],
 	    [ qr,(?i)fckeditor\.js(\.gz)?$, => 'fckeditor' ],
 	    [ qr,(?i)cropper(\.uncompressed)?\.js(\.gz)?$, => 'libjs-cropper' ],
+	    [ qr,(?i)yahoo-(dom-event|min)\.js(\.gz)?$, => 'libjs-yui' ],
 	);
 	foreach my $jslibrary (@jslibraries) {
 	    if ($file =~ m,$jslibrary->[0], and $pkg ne $jslibrary->[1]) {
diff --git a/debian/changelog b/debian/changelog
index 3c8bf92..09956ce 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -18,6 +18,10 @@ lintian (1.24.4) UNRELEASED; urgency=low
     + [ADB] Enhance the description of package-contains-empty-directory to
       mention how to remove such directories when building the package.
       Thanks Chris Lamb.  (Closes: #495153)
+    + [ADB] Add libjs-yui (the Yahoo User Interface Library) to the list of
+      packages which contain Javascript libraries and should be depended upon
+      rather than embedded in other packages.  Patch from Chris Lamb.
+      (Closes: #495155)
   * checks/scripts:
     + [ADB] Split the "read without variable or with invalid options" bashism
       test in two, thus enabling the checks to be more accurate and avoiding
diff --git a/testset/filenames/debian/rules b/testset/filenames/debian/rules
index 117ba4d..79dcd60 100755
--- a/testset/filenames/debian/rules
+++ b/testset/filenames/debian/rules
@@ -167,6 +167,8 @@ binary-indep:
 	touch debian/tmp/usr/share/filenames/prototype.js
 	touch debian/tmp/usr/share/filenames/prototype.js.gz
 	touch debian/tmp/usr/share/filenames/scriptaculous.js
+	touch debian/tmp/usr/share/filenames/yahoo-dom-event.js
+	touch debian/tmp/usr/share/filenames/yahoo-min.js
 
 	ln -s '../filenames/doc/version6.txt.gz' debian/tmp/usr/share/doc/filenames/version.txt.gz
 	ln -s ../../share/symlink debian/tmp/usr/lib/filenames/symlink1ok
diff --git a/testset/tags.filenames b/testset/tags.filenames
index 57076ba..b10663a 100644
--- a/testset/tags.filenames
+++ b/testset/tags.filenames
@@ -73,6 +73,8 @@ W: filenames: embedded-javascript-library usr/share/filenames/prototype-1.2.3.4.
 W: filenames: embedded-javascript-library usr/share/filenames/prototype.js
 W: filenames: embedded-javascript-library usr/share/filenames/prototype.js.gz
 W: filenames: embedded-javascript-library usr/share/filenames/scriptaculous.js
+W: filenames: embedded-javascript-library usr/share/filenames/yahoo-dom-event.js
+W: filenames: embedded-javascript-library usr/share/filenames/yahoo-min.js
 W: filenames: executable-not-elf-or-script ./usr/bin/bin/bad
 W: filenames: executable-not-elf-or-script ./usr/bin/mh/read
 W: filenames: extra-license-file usr/share/pixmaps/COPYING

-- 
Debian package checker


Reply to: