[neon/extras/krename/Neon/release] debian: add more details in appstream xml

Pino Toscano null at kde.org
Wed Sep 4 10:35:07 BST 2024


Git commit dfeb9493e9f3a6c6a86453a096fdb31860f7fd80 by Pino Toscano.
Committed on 14/08/2022 at 07:44.
Pushed by jriddell into branch 'Neon/release'.

add more details in appstream xml

backport upstream commit 9f9cbdef3254740d00bfe28abd8b5b579f52700b

M  +3    -0    debian/changelog
M  +1    -0    debian/patches/series
A  +31   -0    debian/patches/upstream_Add-parameters-to-appdata.xml.patch

https://invent.kde.org/neon/extras/krename/-/commit/dfeb9493e9f3a6c6a86453a096fdb31860f7fd80

diff --git a/debian/changelog b/debian/changelog
index dec3369..44dc698 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,9 @@ krename (5.0.1-2) UNRELEASED; urgency=medium
   * Backport upstream commit 9e21688a83e5683ad77fca3be91afe351552287b to drop
     %i from desktop file, fixing the launch of krename from menus on Wayland;
     patch upstream_Drop-i-from-desktop-file.patch. (Closes: #1010744)
+  * Backport upstream commit 9f9cbdef3254740d00bfe28abd8b5b579f52700b to add
+    <launchable>, <content_rating>, and <releases> details in the AppStream XML
+    file; patch upstream_Add-parameters-to-appdata.xml.patch.
 
  -- Debian KDE Extras Team <pkg-kde-extras at lists.alioth.debian.org>  Sun, 14 Aug 2022 09:02:36 +0200
 
diff --git a/debian/patches/series b/debian/patches/series
index 703eeb3..1c808d4 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 upstream_Drop-i-from-desktop-file.patch
+upstream_Add-parameters-to-appdata.xml.patch
diff --git a/debian/patches/upstream_Add-parameters-to-appdata.xml.patch b/debian/patches/upstream_Add-parameters-to-appdata.xml.patch
new file mode 100644
index 0000000..00d2adf
--- /dev/null
+++ b/debian/patches/upstream_Add-parameters-to-appdata.xml.patch
@@ -0,0 +1,31 @@
+From 9f9cbdef3254740d00bfe28abd8b5b579f52700b Mon Sep 17 00:00:00 2001
+From: Snehit Sah <snehitsah at protonmail.com>
+Date: Mon, 10 Jan 2022 07:54:35 +0000
+Subject: [PATCH] Add parameters to appdata.xml
+
+Adds release tag, content rating and launchable tag
+
+Co author : @amixra
+
+(cherry picked from commit f2f9da8ea7eba9ddc0366db5219658b539acb217)
+---
+ src/org.kde.krename.appdata.xml | 5 +++++
+ 1 file changed, 5 insertions(+)
+
+diff --git a/src/org.kde.krename.appdata.xml b/src/org.kde.krename.appdata.xml
+index c59e07f..4c09ce1 100644
+--- a/src/org.kde.krename.appdata.xml
++++ b/src/org.kde.krename.appdata.xml
+@@ -117,4 +117,9 @@
+   <provides>
+     <binary>krename</binary>
+   </provides>
++  <launchable type="desktop-id">org.kde.krename.desktop</launchable>
++  <content_rating type="oars-1.1"/>
++  <releases>
++    <release version="5.0.1" date="2020-10-05"/>
++  </releases>
+ </component>
+-- 
+2.35.1
+



More information about the Neon-commits mailing list