[neon/extras/keurocalc/Neon/release] debian: improve appstream files

Pino Toscano null at kde.org
Thu Sep 8 11:16:37 BST 2022


Git commit adfb61ad6ce36c2fd4a5eb82854722719ca9005e by Pino Toscano.
Committed on 28/10/2021 at 06:21.
Pushed by jriddell into branch 'Neon/release'.

improve appstream files

backport commit 8a53b199623e7f948538c4ac1bb2812a380e9507 and
131044f534ea9e96579a982285445dc83d641cd6

M  +4    -0    debian/changelog
A  +2    -0    debian/patches/series
A  +37   -0    debian/patches/upstream_Applied-appstream-metainfo-release-update-script.patch
A  +25   -0    debian/patches/upstream_appdata-fix-screenshot-location.patch

https://invent.kde.org/neon/extras/keurocalc/commit/adfb61ad6ce36c2fd4a5eb82854722719ca9005e

diff --git a/debian/changelog b/debian/changelog
index e74775b..19960f4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -13,6 +13,10 @@ keurocalc (1.3.0-4) UNRELEASED; urgency=medium
     - bump cmake to 3.0
     - bump Qt packages to 5.3.0
     - drop "1" revision from the versions of KF packages
+  * Backport upstream commits 8a53b199623e7f948538c4ac1bb2812a380e9507 and
+    131044f534ea9e96579a982285445dc83d641cd6 to improve the AppStream XMLs;
+    patches upstream_Applied-appstream-metainfo-release-update-script.patch,
+    and upstream_appdata-fix-screenshot-location.patch.
 
  -- Debian KDE Extras Team <pkg-kde-extras at lists.alioth.debian.org>  Mon, 27 Sep 2021 15:17:12 +0200
 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..4c28c57
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+upstream_Applied-appstream-metainfo-release-update-script.patch
+upstream_appdata-fix-screenshot-location.patch
diff --git a/debian/patches/upstream_Applied-appstream-metainfo-release-update-script.patch b/debian/patches/upstream_Applied-appstream-metainfo-release-update-script.patch
new file mode 100644
index 0000000..802b614
--- /dev/null
+++ b/debian/patches/upstream_Applied-appstream-metainfo-release-update-script.patch
@@ -0,0 +1,37 @@
+From 8a53b199623e7f948538c4ac1bb2812a380e9507 Mon Sep 17 00:00:00 2001
+From: Eric Bischoff <bischoff at kde.org>
+Date: Fri, 28 Jun 2019 14:35:29 +0200
+Subject: [PATCH] Applied appstream-metainfo-release-update script
+
+---
+ curconvd/org.kde.curconvd.appdata.xml   | 3 +++
+ keurocalc/org.kde.keurocalc.appdata.xml | 3 +++
+ 2 files changed, 6 insertions(+)
+
+diff --git a/curconvd/org.kde.curconvd.appdata.xml b/curconvd/org.kde.curconvd.appdata.xml
+index 2b0464a..df7716a 100644
+--- a/curconvd/org.kde.curconvd.appdata.xml
++++ b/curconvd/org.kde.curconvd.appdata.xml
+@@ -49,4 +49,7 @@
+     <dbus type="user">org.kde.curconvd</dbus>
+   </provides>
+   <launchable type="desktop-id">org.kde.curconvd.service</launchable>
++  <releases>
++    <release version="1.3.0" date="2019-06-27"/>
++  </releases>
+ </component>
+diff --git a/keurocalc/org.kde.keurocalc.appdata.xml b/keurocalc/org.kde.keurocalc.appdata.xml
+index daead42..e11e667 100644
+--- a/keurocalc/org.kde.keurocalc.appdata.xml
++++ b/keurocalc/org.kde.keurocalc.appdata.xml
+@@ -118,4 +118,7 @@
+     <binary>keurocalc</binary>
+   </provides>
+   <launchable type="desktop-id">org.kde.keurocalc.desktop</launchable>
++  <releases>
++    <release version="1.3.0" date="2019-06-27"/>
++  </releases>
+ </component>
+-- 
+2.33.0
+
diff --git a/debian/patches/upstream_appdata-fix-screenshot-location.patch b/debian/patches/upstream_appdata-fix-screenshot-location.patch
new file mode 100644
index 0000000..23a7798
--- /dev/null
+++ b/debian/patches/upstream_appdata-fix-screenshot-location.patch
@@ -0,0 +1,25 @@
+From 131044f534ea9e96579a982285445dc83d641cd6 Mon Sep 17 00:00:00 2001
+From: Pino Toscano <pino at kde.org>
+Date: Sun, 1 Mar 2020 07:30:19 +0100
+Subject: [PATCH] appdata: fix screenshot location
+
+---
+ keurocalc/org.kde.keurocalc.appdata.xml | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/keurocalc/org.kde.keurocalc.appdata.xml b/keurocalc/org.kde.keurocalc.appdata.xml
+index 8238886..ad4d7cd 100644
+--- a/keurocalc/org.kde.keurocalc.appdata.xml
++++ b/keurocalc/org.kde.keurocalc.appdata.xml
+@@ -99,7 +99,7 @@
+   <url type="homepage">https://www.kde.org/applications/office/keurocalc/</url>
+   <screenshots>
+     <screenshot type="default">
+-      <image>https://www.kde.org/images/screenshots/keurocalc.png</image>
++      <image>https://cdn.kde.org/screenshots/keurocalc/screenshot.png</image>
+     </screenshot>
+   </screenshots>
+   <project_group>KDE</project_group>
+-- 
+2.33.0
+



More information about the Neon-commits mailing list