Compare commits

...
Sign in to create a new pull request.

1 commit

Author SHA1 Message Date
Benjamin A. Beasley
da61902ce5 Add <launchable/> tag to AppStream metadata 2022-05-14 08:15:59 -04:00
2 changed files with 41 additions and 1 deletions

30
148.patch Normal file
View file

@ -0,0 +1,30 @@
From bcc7f6f8db6fdbc525731abcfa767039d5f503be Mon Sep 17 00:00:00 2001
From: "Benjamin A. Beasley" <code@musicinmybrain.net>
Date: Sat, 14 May 2022 07:58:11 -0400
Subject: [PATCH] Add <launchable/> tag to AppStream metadata
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
https://www.freedesktop.org/software/appstream/docs/chap-Quickstart.html#qsr-app-launchable-info
Omitting this tag now now triggers a hard validation error in
“appstreamcli validate”:
https://github.com/ximion/appstream/commit/ad98bfd8db789c80507e82278d6d766acba4937c
---
data/com.github.dahenson.agenda.appdata.xml.in | 1 +
1 file changed, 1 insertion(+)
diff --git a/data/com.github.dahenson.agenda.appdata.xml.in b/data/com.github.dahenson.agenda.appdata.xml.in
index 092d3bd..27b48b7 100644
--- a/data/com.github.dahenson.agenda.appdata.xml.in
+++ b/data/com.github.dahenson.agenda.appdata.xml.in
@@ -9,6 +9,7 @@
<developer_name>Dane Henson</developer_name>
<url type="homepage">http://brainofdane.com</url>
<url type="bugtracker">https://github.com/dahenson/agenda/issues</url>
+ <launchable type="desktop-id">com.github.dahenson.agenda.desktop</launchable>
<screenshots>
<screenshot type="default">
<image>https://raw.githubusercontent.com/dahenson/agenda/master/data/screenshot.png</image>

View file

@ -13,6 +13,16 @@ License: GPLv3+
URL: https://github.com/dahenson/%{name}
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
# Add <launchable/> tag to AppStream metadata
#
# https://www.freedesktop.org/software/appstream/docs/chap-Quickstart.html#qsr-app-launchable-info
#
# Omitting this tag now now triggers a hard validation error in “appstreamcli
# validate”:
#
# https://github.com/ximion/appstream/commit/ad98bfd8db789c80507e82278d6d766acba4937c
Patch: %{url}/pull/148.patch
BuildRequires: desktop-file-utils
BuildRequires: gettext
@ -116,7 +126,7 @@ Funcionalidades principais:
%prep
%autosetup
%autosetup -p1
%build