Verified Commit 62345405 authored by Paul Wise's avatar Paul Wise

Link to the latest version for all FreeDesktop standards

This ensures the links will always work and will always point at the most recent standards.
parent 8f2cbe73
Pipeline #5385 failed with stage
in 0 seconds
......@@ -758,7 +758,7 @@ Severity: important
Certainty: certain
Info: Package contains a .thumbnails directory. It was most likely installed by
accident, since thumbnails usually don't belong in packages.
Ref: https://specifications.freedesktop.org/thumbnail-spec/thumbnail-spec-0.8.0.html
Ref: https://specifications.freedesktop.org/thumbnail-spec/thumbnail-spec-latest.html
Tag: package-contains-vcs-control-file
Severity: normal
......
......@@ -252,7 +252,7 @@ Info: The desktop entry file has lines ending in CRLF instead of just LF.
<tt>CR</tt> character in the file:
.
<tt>sed -i 's/\r//g' path/to/file</tt>
Ref: https://standards.freedesktop.org/desktop-entry-spec/1.1/ar01s02.html
Ref: https://standards.freedesktop.org/desktop-entry-spec/latest/ar01s02.html
Tag: duplicated-key-in-desktop-entry
Severity: normal
......@@ -270,7 +270,7 @@ Info: Desktop entries must contain, at a minimum, the keys Type and Name.
.
The desktop-file-validate tool in the desktop-file-utils package is
useful for checking the syntax of desktop entries.
Ref: https://standards.freedesktop.org/desktop-entry-spec/1.1/ar01s05.html
Ref: https://standards.freedesktop.org/desktop-entry-spec/latest/ar01s05.html
Tag: desktop-entry-contains-unknown-key
Severity: minor
......@@ -282,7 +282,7 @@ Info: The key on this line of the desktop entry is not one of the standard
.
The desktop-file-validate tool in the desktop-file-utils package is
useful for checking the syntax of desktop entries.
Ref: https://standards.freedesktop.org/desktop-entry-spec/1.1/ar01s05.html
Ref: https://standards.freedesktop.org/desktop-entry-spec/latest/ar01s05.html
Tag: desktop-entry-contains-deprecated-key
Severity: normal
......@@ -292,7 +292,7 @@ Info: The key on this line of the desktop entry has been deprecated in the
.
The desktop-file-validate tool in the desktop-file-utils package is
useful for checking the syntax of desktop entries.
Ref: https://standards.freedesktop.org/desktop-entry-spec/1.1/apc.html
Ref: https://standards.freedesktop.org/desktop-entry-spec/latest/apc.html
Tag: desktop-entry-contains-encoding-key
Severity: wishlist
......@@ -304,7 +304,7 @@ Info: The Encoding key is now deprecated by the FreeDesktop standard and
.
The desktop-file-validate tool in the desktop-file-utils package is
useful for checking the syntax of desktop entries.
Ref: https://standards.freedesktop.org/desktop-entry-spec/1.1/apc.html
Ref: https://standards.freedesktop.org/desktop-entry-spec/latest/apc.html
Tag: desktop-entry-lacks-main-category
Severity: normal
......@@ -315,7 +315,7 @@ Info: The categories for this desktop entry do not contain any Main
.
The desktop-file-validate tool in the desktop-file-utils package is
useful for checking the syntax of desktop entries.
Ref: https://specifications.freedesktop.org/menu-spec/1.1/apa.html
Ref: https://specifications.freedesktop.org/menu-spec/latest/apa.html
Tag: desktop-entry-lacks-icon-entry
Severity: wishlist
......@@ -329,8 +329,8 @@ Info: This .desktop file does not contain an "Icon" entry.
.
The desktop-file-validate tool in the desktop-file-utils package is
useful for checking the syntax of desktop entries.
Ref: https://specifications.freedesktop.org/desktop-entry-spec/1.1/ar01s05.html,
https://specifications.freedesktop.org/icon-theme-spec/icon-theme-spec-0.13.html,
Ref: https://specifications.freedesktop.org/desktop-entry-spec/latest/ar01s05.html,
https://specifications.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html,
#854132
Tag: desktop-entry-lacks-keywords-entry
......@@ -346,7 +346,7 @@ Info: This .desktop file does either not contain a "Keywords" entry or it does
.
The desktop-file-validate tool in the desktop-file-utils package is
useful for checking the syntax of desktop entries.
Ref: https://specifications.freedesktop.org/desktop-entry-spec/1.1/ar01s05.html,
Ref: https://specifications.freedesktop.org/desktop-entry-spec/latest/ar01s05.html,
#693918, https://wiki.gnome.org/Initiatives/GnomeGoals/DesktopFileKeywords
Tag: desktop-entry-uses-reserved-category
......@@ -360,7 +360,7 @@ Info: This desktop entry includes a Reserved Category, one which has a
.
The desktop-file-validate tool in the desktop-file-utils package is
useful for checking the syntax of desktop entries.
Ref: https://specifications.freedesktop.org/menu-spec/1.1/apa.html
Ref: https://specifications.freedesktop.org/menu-spec/latest/apa.html
Tag: desktop-entry-invalid-category
Severity: normal
......@@ -373,7 +373,7 @@ Info: This desktop entry lists a category that is not one of the
.
The desktop-file-validate tool in the desktop-file-utils package is
useful for checking the syntax of desktop entries.
Ref: https://specifications.freedesktop.org/menu-spec/1.1/apa.html
Ref: https://specifications.freedesktop.org/menu-spec/latest/apa.html
Tag: desktop-command-not-in-package
Severity: normal
......@@ -393,7 +393,7 @@ Info: The key on this line of the desktop entry has been deprecated in the
.
The desktop-file-validate tool in the desktop-file-utils package is
useful for checking the syntax of desktop entries.
Ref: https://standards.freedesktop.org/desktop-entry-spec/1.1/apc.html
Ref: https://standards.freedesktop.org/desktop-entry-spec/latest/apc.html
Tag: desktop-mime-but-no-exec-code
Severity: normal
......
......@@ -80,7 +80,7 @@ my $MENU_SECTIONS
= Lintian::Data->new('menu-format/menu-sections',qr|/|, \&_menu_sections);
# Authoritative source of desktop keys:
# https://specifications.freedesktop.org/desktop-entry-spec/1.1/
# https://specifications.freedesktop.org/desktop-entry-spec/latest/
#
# This is a list of all keys that should be in every desktop entry.
my @req_desktop_keys = qw(Type Name);
......@@ -96,7 +96,7 @@ my $DEPRECATED_DESKTOP_KEYS
my $KDE_DESKTOP_KEYS = Lintian::Data->new('menu-format/kde-desktop-keys');
# Known types of desktop entries.
# https://specifications.freedesktop.org/desktop-entry-spec/1.1/ar01s05.html
# https://specifications.freedesktop.org/desktop-entry-spec/latest/ar01s05.html
my %known_desktop_types = map { $_ => 1 } qw(
Application
Link
......@@ -104,7 +104,7 @@ my %known_desktop_types = map { $_ => 1 } qw(
);
# Authoritative source of desktop categories:
# https://specifications.freedesktop.org/menu-spec/1.1/apa.html
# https://specifications.freedesktop.org/menu-spec/latest/apa.html
# This is a list of all Main Categories for .desktop files. Application is
# added as an exception; it's not listed in the standard, but it's widely used
......
# from https://specifications.freedesktop.org/desktop-entry-spec/1.1/ar01s05.html
# from https://specifications.freedesktop.org/desktop-entry-spec/latest/ar01s05.html
# list of Recognized desktop entry keys
# please alpha sort
#
......
......@@ -9,6 +9,10 @@ lintian (2.5.84) UNRELEASED; urgency=medium
dropped after the release of Debian "buster". Thanks to Adrian Bunk
for the suggestion. (Closes: #896079)
* checks/files.desc, checks/menu-format.desc, checks/menu-format.pm
data/menu-format/known-desktop-keys:
+ [PW] Link to the latest version for all FreeDesktop standards
-- Chris Lamb <lamby@debian.org> Wed, 18 Apr 2018 12:54:55 +0100
lintian (2.5.83) unstable; urgency=medium
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment