From 2f8b6e2832fae1d2cc70344fba334165f9197d40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= Date: Sun, 10 Nov 2024 23:56:34 +0100 Subject: [PATCH] Adhere to current AppStream specification. --- appstream.patch | 2 - appstream2.patch | 61 +++++++++++++++++++++++++++++++ icon256.patch | 2 - icon64.patch | 2 - io.github.labsquare.CutePeaks.yml | 4 +- prefix.patch | 2 - 6 files changed, 63 insertions(+), 10 deletions(-) create mode 100644 appstream2.patch diff --git a/appstream.patch b/appstream.patch index 848ab55..8a30c5e 100644 --- a/appstream.patch +++ b/appstream.patch @@ -1,6 +1,4 @@ From 0909224a1dba32198de45c44984e0c1d2e59634b Mon Sep 17 00:00:00 2001 -Message-Id: <0909224a1dba32198de45c44984e0c1d2e59634b.1671456132.git.matthias@mailaender.name> -From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= Date: Mon, 19 Dec 2022 14:22:09 +0100 Subject: [PATCH] Add an AppStream metadata file. diff --git a/appstream2.patch b/appstream2.patch new file mode 100644 index 0000000..4ecabf4 --- /dev/null +++ b/appstream2.patch @@ -0,0 +1,61 @@ +From 7392b758746149cd43563bc296abfcc677a642a3 Mon Sep 17 00:00:00 2001 +Date: Sun, 10 Nov 2024 23:53:34 +0100 +Subject: [PATCH] Adhere to AppStream specification. + +--- + ...desktop => io.github.labsquare.CutePeaks.desktop | 0 + io.github.labsquare.CutePeaks.metainfo.xml | 7 +++++-- + cutepeaks.png => io.github.labsquare.CutePeaks.png | Bin + src/src.pro | 4 ++-- + 4 files changed, 7 insertions(+), 4 deletions(-) + rename cutepeaks.desktop => io.github.labsquare.CutePeaks.desktop (100%) + rename cutepeaks.png => io.github.labsquare.CutePeaks.png (100%) + +diff --git a/cutepeaks.desktop b/io.github.labsquare.CutePeaks.desktop +similarity index 100% +rename from cutepeaks.desktop +rename to io.github.labsquare.CutePeaks.desktop +diff --git a/io.github.labsquare.CutePeaks.metainfo.xml b/io.github.labsquare.CutePeaks.metainfo.xml +index e55a93f..1145633 100644 +--- a/io.github.labsquare.CutePeaks.metainfo.xml ++++ b/io.github.labsquare.CutePeaks.metainfo.xml +@@ -3,8 +3,10 @@ + + io.github.labsquare.CutePeaks + CutePeaks +- standalone Sanger trace viewer +- Labsquare ++ Standalone Sanger trace viewer ++ ++ Labsquare ++ + CC0-1.0 + GPL-3.0+ + +@@ -29,4 +31,5 @@ + https://labsquare.github.io/CutePeaks/ + https://github.com/labsquare/CutePeaks/issues + ++ io.github.labsquare.CutePeaks.desktop + +diff --git a/cutepeaks.png b/io.github.labsquare.CutePeaks.png +similarity index 100% +rename from cutepeaks.png +rename to io.github.labsquare.CutePeaks.png +diff --git a/src/src.pro b/src/src.pro +index 337420b..8c52597 100644 +--- a/src/src.pro ++++ b/src/src.pro +@@ -28,10 +28,10 @@ RESOURCES += \ + + + unix { +-desktop.files += ../cutepeaks.desktop ++desktop.files += ../io.github.labsquare.CutePeaks.desktop + desktop.path = $$PREFIX/share/applications/ + +-icons.files += ../cutepeaks.png ++icons.files += ../io.github.labsquare.CutePeaks.png + icons.path = $$PREFIX/share/icons/hicolor/64x64/apps + + appdata.files += ../io.github.labsquare.CutePeaks.metainfo.xml diff --git a/icon256.patch b/icon256.patch index 2c2ec09..3486a7a 100644 --- a/icon256.patch +++ b/icon256.patch @@ -1,6 +1,4 @@ From c7b926dae647de4c382afa5efe14b85a0a04b0a9 Mon Sep 17 00:00:00 2001 -Message-Id: -From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= Date: Mon, 19 Dec 2022 14:38:06 +0100 Subject: [PATCH] Generate a 256x256 one. diff --git a/icon64.patch b/icon64.patch index c208139..ab582d5 100644 --- a/icon64.patch +++ b/icon64.patch @@ -1,6 +1,4 @@ From cbf443482b8f4996a2f68bea6e959cbf459a6057 Mon Sep 17 00:00:00 2001 -Message-Id: -From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= Date: Mon, 19 Dec 2022 14:37:41 +0100 Subject: [PATCH 1/2] This is actually 64x64. diff --git a/io.github.labsquare.CutePeaks.yml b/io.github.labsquare.CutePeaks.yml index 2fc70b3..32e7c3f 100644 --- a/io.github.labsquare.CutePeaks.yml +++ b/io.github.labsquare.CutePeaks.yml @@ -3,8 +3,6 @@ runtime: org.kde.Platform runtime-version: '5.15-23.08' sdk: org.kde.Sdk command: cutepeaks -rename-icon: cutepeaks -rename-desktop-file: cutepeaks.desktop finish-args: - --share=ipc - --socket=wayland @@ -31,3 +29,5 @@ modules: - type: patch path: icon256.patch use-git: true + - type: patch + path: appstream2.patch diff --git a/prefix.patch b/prefix.patch index 543a7ca..8b779b1 100644 --- a/prefix.patch +++ b/prefix.patch @@ -1,6 +1,4 @@ From 71cf453cfce4dc4265b06b6ebcbd1a9919b8bd2c Mon Sep 17 00:00:00 2001 -Message-Id: <71cf453cfce4dc4265b06b6ebcbd1a9919b8bd2c.1671455296.git.matthias@mailaender.name> -From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= Date: Mon, 19 Dec 2022 14:08:12 +0100 Subject: [PATCH] Configurable prefix