[Debian-med-packaging] Bug#1080453: galileo: Correct Appstream metainfo announcing HW support
Petter Reinholdtsen
pere at hungry.com
Wed Sep 4 09:52:19 BST 2024
Package: galileo
Version: 0.5.1-9.1
Tags: patch
User: pere at hungry.com
Usertags: appstream-modalias
commit 5d4016a4bc28abd8efe4e60b636ea5933129a20e
Author: Petter Reinholdtsen <pere at hungry.com>
Date: Wed Sep 4 09:58:21 2024 +0200
Renamed metainfo XML to match ID and converted it to patch for upstream.
The ID change should make appstream accept its content. Converting it
to a patch make it obvious that the content is for upstream.
diff --git a/debian/copyright b/debian/copyright
index ac8d47c..71185fd 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -11,12 +11,6 @@ Files: debian/*
Copyright: 2016-2022 Dylan Aïssi <daissi at debian.org>
License: LGPL-3+
-Files: debian/galileo.metainfo.xml
-Copyright: 2016-2022 Dylan Aïssi <daissi at debian.org>
-License: CC0-1.0
- On Debian systems the full text of the CC0-1.0 license can be found in
- /usr/share/common-licenses/CC0-1.0
-
License: LGPL-3+
This package is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published
diff --git a/debian/galileo.install b/debian/galileo.install
index 68fd54a..b1bbc4f 100644
--- a/debian/galileo.install
+++ b/debian/galileo.install
@@ -1 +1 @@
-debian/galileo.metainfo.xml usr/share/metainfo/
+org.bitbucket.benallard.galileo.metainfo.xml usr/share/metainfo/
diff --git a/debian/galileo.metainfo.xml b/debian/galileo.metainfo.xml
deleted file mode 100644
index aee4f35..0000000
--- a/debian/galileo.metainfo.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<component>
- <id>org.bitbucket.benallard.galileo</id>
- <metadata_license>CC0-1.0</metadata_license>
- <project_license>LGPL-3.0+</project_license>
- <name>galileo</name>
- <summary>Utility to securely synchronize a Fitbit device with the Fitbit web service</summary>
- <description>
- <p>
- Galileo is an utility to securely synchronize a Fitbit device with the
- Fitbit web service. It allows you to browse your data on their website, and
- compatible applications. The main features of Galileo are: Synchronize your
- fitbit tracker with the fitbit server using the provided dongle; Securely
- communicate (using HTTPS) with the fitbit server; Save all your dumps locally
- for possible later analyse. Galileo supports the following trackers: One, Zip,
- Flex, Force, Charge, Charge HR.
- </p>
- </description>
- <url type="homepage">https://bitbucket.org/benallard/galileo/</url>
- <provides>
- <modalias>usb:v2687pFB01d*</modalias>
- </provides>
-</component>
diff --git a/debian/patches/1000-appstream-metainfo.patch b/debian/patches/1000-appstream-metainfo.patch
new file mode 100644
index 0000000..1f538a3
--- /dev/null
+++ b/debian/patches/1000-appstream-metainfo.patch
@@ -0,0 +1,35 @@
+Description: Added AppStream metainfo XML with hardware provide info.
+ This allow isenkram to propose this package when the relevant hardware is
+ present.
+Author: Dylan Aïssi <daissi at debian.org> (copyright 2016-2022)
+Forwarded: no
+Last-Update: 2024-09-04
+---
+Index: galileo-salsa/org.bitbucket.benallard.galileo.metainfo.xml
+===================================================================
+--- /dev/null 1970-01-01 00:00:00.000000000 +0000
++++ galileo-salsa/org.bitbucket.benallard.galileo.metainfo.xml 2024-09-04 10:25:18.813932540 +0200
+@@ -0,0 +1,23 @@
++<?xml version="1.0" encoding="UTF-8"?>
++<component>
++ <id>org.bitbucket.benallard.galileo</id>
++ <metadata_license>CC0-1.0</metadata_license>
++ <project_license>LGPL-3.0+</project_license>
++ <name>galileo</name>
++ <summary>Utility to securely synchronize a Fitbit device with the Fitbit web service</summary>
++ <description>
++ <p>
++ Galileo is an utility to securely synchronize a Fitbit device with the
++ Fitbit web service. It allows you to browse your data on their website, and
++ compatible applications. The main features of Galileo are: Synchronize your
++ fitbit tracker with the fitbit server using the provided dongle; Securely
++ communicate (using HTTPS) with the fitbit server; Save all your dumps locally
++ for possible later analyse. Galileo supports the following trackers: One, Zip,
++ Flex, Force, Charge, Charge HR.
++ </p>
++ </description>
++ <url type="homepage">https://bitbucket.org/benallard/galileo/</url>
++ <provides>
++ <modalias>usb:v2687pFB01d*</modalias>
++ </provides>
++</component>
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..42e8b1a
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+1000-appstream-metainfo.patch
--
Happy hacking
Petter Reinholdtsen
More information about the Debian-med-packaging
mailing list