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

[SCM] Debian package checker branch, master, updated. 2.5.1-119-g5e47c35



The following commit has been merged in the master branch:
commit 5e47c35af252c98e0a44f1bb256fbd10ffe21688
Author: Niels Thykier <niels@thykier.net>
Date:   Sun Jul 17 14:23:09 2011 +0200

    Mentioned how to get rid of CR characters in the desktop tag

diff --git a/checks/menu-format.desc b/checks/menu-format.desc
index af70b86..36cb914 100644
--- a/checks/menu-format.desc
+++ b/checks/menu-format.desc
@@ -233,6 +233,11 @@ Certainty: certain
 Info: The desktop entry file has lines ending in CRLF instead of just LF.
  The Desktop Entry Specification is explicit that lines should end with
  only LF.  The CR may be taken by some software as part of the field.
+ .
+ Running the following command against the given file removes any
+ <tt>CR</tt> character in the file:
+ .
+ <tt>sed -i 's/\r//g' path/to/file</tt>
 Ref: http://standards.freedesktop.org/desktop-entry-spec/1.0/ar01s02.html
 
 Tag: duplicated-key-in-desktop-entry
diff --git a/debian/changelog b/debian/changelog
index 8624686..82e35d7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -93,6 +93,9 @@ lintian (2.5.2) UNRELEASED; urgency=low
   * checks/java:
     + [NT] Jar files containing clojure files are no longer
       considered to be codeless.
+  * checks/menu-format.desc:
+    + [NT] Mentioned how to git rid of the CR characters in the
+      desktop file.  Thanks to Jakub Wilk.
   * checks/rules:
     + [NT] Check included files in d/rules against a limited
       number of common makefile snippets, which are known not

-- 
Debian package checker


Reply to: