Skip to content

Commit

Permalink
Refresh & cleanup freedesktop.org web URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
sidt4 committed Aug 18, 2024
1 parent bf6a2a9 commit 5f122e4
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions compose/asc-hint-tags.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ AscHintTagStatic asc_hint_tag_list[] = {
{ "ancient-metadata",
AS_ISSUE_SEVERITY_WARNING,
"The AppStream metadata should be updated to follow a more recent version of the specification.<br/>"
"Please consult <a href=\"http://freedesktop.org/software/appstream/docs/chap-Quickstart.html\">the XML quickstart guide</a> for "
"Please consult <a href=\"https://www.freedesktop.org/software/appstream/docs/chap-Quickstart.html\">the XML quickstart guide</a> for "
"more information."
},

Expand All @@ -83,7 +83,7 @@ AscHintTagStatic asc_hint_tag_list[] = {
AS_ISSUE_SEVERITY_ERROR,
"Component does not contain a short summary. Ensure that the components MetaInfo file has a <code>summary</code> tag, or that its .desktop file "
"has a <code>Comment=</code> field set.<br/>"
"More information can be found in the <a href=\"http://standards.freedesktop.org/desktop-entry-spec/latest/ar01s05.html\">Desktop Entry specification</a> "
"More information can be found in the <a href=\"https://specifications.freedesktop.org/desktop-entry-spec/latest/localized-keys.html\">Desktop Entry specification</a> "
"and the <a href=\"https://www.freedesktop.org/software/appstream/docs/sect-Metadata-Application.html#tag-dapp-summary\">MetaInfo specification</a>."
},

Expand Down Expand Up @@ -128,14 +128,14 @@ AscHintTagStatic asc_hint_tag_list[] = {
AS_ISSUE_SEVERITY_WARNING,
"The desktop-entry file `{{location}}` has the 'Hidden' property set. This is wrong for vendor-installed .desktop files, and "
"nullifies all effects this .desktop file has (including MIME associations), which most certainly is not intentional. "
"See <a href=\"https://standards.freedesktop.org/desktop-entry-spec/latest/ar01s06.html\">the specification</a> for details."
"See <a href=\"https://specifications.freedesktop.org/desktop-entry-spec/latest/recognized-keys.html\">the specification</a> for details."
},

{ "desktop-entry-empty-onlyshowin",
AS_ISSUE_SEVERITY_WARNING,
"The desktop-entry file `{{location}}` has the 'OnlyShowIn' property set with an empty value. This might not be intended, as this will hide "
"the application from all desktops. If you do want to hide the application from all desktops, using 'NoDisplay=true' is more explicit. "
"See <a href=\"https://standards.freedesktop.org/desktop-entry-spec/latest/ar01s06.html\">the specification</a> for details."
"See <a href=\"https://specifications.freedesktop.org/desktop-entry-spec/latest/recognized-keys.html\">the specification</a> for details."
},

{ "missing-launchable-desktop-file",
Expand Down Expand Up @@ -289,14 +289,14 @@ AscHintTagStatic asc_hint_tag_list[] = {

{ "no-metainfo",
AS_ISSUE_SEVERITY_WARNING,
"This software component is missing a <a href=\"https://freedesktop.org/software/appstream/docs/chap-Metadata.html#sect-Metadata-GenericComponent\">MetaInfo file</a> "
"This software component is missing a <a href=\"https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#sect-Metadata-GenericComponent\">MetaInfo file</a> "
"as metadata source.<br/>"
"To synthesize suitable metadata anyway, we took some data from its desktop-entry file.<br/>"
"This has many disadvantages, like low-quality and incomplete metadata. Therefore clients may ignore this component entirely due to poor metadata.<br/>"
"Additionally, a lot of software from desktop-entry files should either not be installable and searchable via the software catalog "
"(like desktop-specific settings applications) or be tagged accordingly via MetaInfo files.<br/>"
"Please consider to either hide this .desktop file from AppStream by adding a <code>X-AppStream-Ignore=true</code> field to it, or to write a MetaInfo file for this component.<br/>"
"You can consult the <a href=\"http://freedesktop.org/software/appstream/docs/chap-Quickstart.html\">MetaInfo quickstart guides</a> for more information "
"You can consult the <a href=\"https://www.freedesktop.org/software/appstream/docs/chap-Quickstart.html\">MetaInfo quickstart guides</a> for more information "
"on how to write a MetaInfo file, or file a bug with the upstream author of this software component."
},

Expand Down
2 changes: 1 addition & 1 deletion qt/pool.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ namespace AppStream
/**
* Access the AppStream metadata pool.
*
* See http://www.freedesktop.org/wiki/Distributions/AppStream/ for details
* See https://www.freedesktop.org/wiki/Distributions/AppStream/ for details
*/
class PoolPrivate;
class APPSTREAMQT_EXPORT Pool : public QObject
Expand Down
2 changes: 1 addition & 1 deletion src/as-category.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
* @include: appstream.h
*
* This object represents a XDG category, as defined at:
* https://specifications.freedesktop.org/menu-spec/menu-spec-1.0.html#category-registry
* https://specifications.freedesktop.org/menu-spec/latest/category-registry.html
*
* The #AsCategory object does not support all aspects of a menu. Its main purpose
* is to be used in software-centers to group visual components (gui/web applications).
Expand Down
2 changes: 1 addition & 1 deletion src/as-system-info.c
Original file line number Diff line number Diff line change
Expand Up @@ -1091,7 +1091,7 @@ as_system_info_get_display_length (AsSystemInfo *sysinfo, AsDisplaySideKind side
* Set the current display length for the given side kind.
* The size needs to be in device-independent pixels, see the
* AppStream documentation for more information:
* https://freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-relations-display_length
* https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-relations-display_length
*/
void
as_system_info_set_display_length (AsSystemInfo *sysinfo, AsDisplaySideKind side, gulong value_dip)
Expand Down
2 changes: 1 addition & 1 deletion src/as-utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -1282,7 +1282,7 @@ as_utils_ensure_resources (void)
* @category_name: a XDG category name, e.g. "ProjectManagement"
*
* Searches the known list of registered XDG category names.
* See https://specifications.freedesktop.org/menu-spec/menu-spec-1.0.html#category-registry
* See https://specifications.freedesktop.org/menu-spec/latest/category-registry.html
* for a reference.
*
* Returns: %TRUE if the category name is valid
Expand Down

0 comments on commit 5f122e4

Please sign in to comment.