Control: tags -1 + patch [Andreas Tille 2024-11-11] > remains and I need to admit I have no idea how to fix it. Thus I > retitle the bug to the remaining problem.
Very good. Here is a patch solving all parsing errors. diff --git a/debian/patches/1010-appstream-typos.patch b/debian/patches/1010-appstream-typos.patch new file mode 100644 index 0000000..0eb4d0f --- /dev/null +++ b/debian/patches/1010-appstream-typos.patch @@ -0,0 +1,107 @@ +Description: Corrected validation errors in AppStream metadata XML. + The presense of these cause errors and warnings from the metadata parser. + * Removed duplicate <update_contact> lines. + * Remove no longer working project home page URL from file. + * Removed no longer working screenshot image links. + * Corrected ru and de translation of <summary> content to not include trailing dot. +Author: Petter Reinholdtsen <p...@debian.org> +Forwarded: no +Last-Update: 2025-01-16 +Bug-Debian: https://bugs.debian.org/1078121 +--- +Index: colorhug-client-salsa/data/appdata/com.hughski.ColorHug.Backlight.appdata.xml.in +=================================================================== +--- colorhug-client-salsa.orig/data/appdata/com.hughski.ColorHug.Backlight.appdata.xml.in 2025-01-16 12:47:29.478550737 +0100 ++++ colorhug-client-salsa/data/appdata/com.hughski.ColorHug.Backlight.appdata.xml.in 2025-01-16 12:47:29.470550656 +0100 +@@ -18,7 +18,6 @@ + <_caption>The ambient light control utility</_caption> + </screenshot> + </screenshots> +- <url type="homepage">http://www.hughski.com/</url> + <update_contact>richard_at_hughsie.com</update_contact> + <url type="bugtracker">https://github.com/hughski/colorhug-client/issues</url> + <releases> +@@ -58,5 +57,4 @@ + <modalias>usb:v273Fp1008d*</modalias> <!-- ALS, SensorHid --> + </provides> + <developer_name>Hughski Limited</developer_name> +- <update_contact>richard_at_hughsie.com</update_contact> + </component> +Index: colorhug-client-salsa/data/appdata/com.hughski.ColorHug.CcmxLoader.appdata.xml.in +=================================================================== +--- colorhug-client-salsa.orig/data/appdata/com.hughski.ColorHug.CcmxLoader.appdata.xml.in 2025-01-16 12:47:29.478550737 +0100 ++++ colorhug-client-salsa/data/appdata/com.hughski.ColorHug.CcmxLoader.appdata.xml.in 2025-01-16 12:47:29.470550656 +0100 +@@ -24,7 +24,6 @@ + <_caption>The correction matrices on the device</_caption> + </screenshot> + </screenshots> +- <url type="homepage">http://www.hughski.com/</url> + <update_contact>richard_at_hughsie.com</update_contact> + <url type="bugtracker">https://github.com/hughski/colorhug-client/issues</url> + <releases> +@@ -95,5 +94,4 @@ + <modalias>usb:v273Fp1004d*</modalias> <!-- CH2 --> + </provides> + <developer_name>Hughski Limited</developer_name> +- <update_contact>richard_at_hughsie.com</update_contact> + </component> +Index: colorhug-client-salsa/data/appdata/com.hughski.ColorHug.DisplayAnalysis.appdata.xml.in +=================================================================== +--- colorhug-client-salsa.orig/data/appdata/com.hughski.ColorHug.DisplayAnalysis.appdata.xml.in 2025-01-16 12:47:29.478550737 +0100 ++++ colorhug-client-salsa/data/appdata/com.hughski.ColorHug.DisplayAnalysis.appdata.xml.in 2025-01-16 12:47:29.470550656 +0100 +@@ -26,7 +26,6 @@ + <_caption>Display analysis results</_caption> + </screenshot> + </screenshots> +- <url type="homepage">http://www.hughski.com/</url> + <url type="bugtracker">https://github.com/hughski/colorhug-client/issues</url> + <releases> + <release version="0.2.8" timestamp="1453206094"> +Index: colorhug-client-salsa/data/appdata/com.hughski.ColorHug.FlashLoader.appdata.xml.in +=================================================================== +--- colorhug-client-salsa.orig/data/appdata/com.hughski.ColorHug.FlashLoader.appdata.xml.in 2025-01-16 12:47:29.478550737 +0100 ++++ colorhug-client-salsa/data/appdata/com.hughski.ColorHug.FlashLoader.appdata.xml.in 2025-01-16 12:47:29.470550656 +0100 +@@ -17,17 +17,6 @@ + to the device. + </_p> + </description> +- <screenshots> +- <screenshot type="default"> +- <image>https://raw.githubusercontent.com/hughski/colorhug-client/master/data/appdata/colorhug-flash1.png</image> +- <_caption>Application window showing new firmware detected</_caption> +- </screenshot> +- <screenshot> +- <image>https://raw.githubusercontent.com/hughski/colorhug-client/master/data/appdata/colorhug-flash2.png</image> +- <_caption>Applying updated firmware to the ColorHug device</_caption> +- </screenshot> +- </screenshots> +- <url type="homepage">http://www.hughski.com/</url> + <url type="bugtracker">https://github.com/hughski/colorhug-client/issues</url> + <releases> + <release version="0.2.8" timestamp="1453206094"> +Index: colorhug-client-salsa/po/de.po +=================================================================== +--- colorhug-client-salsa.orig/po/de.po 2025-01-16 12:47:29.478550737 +0100 ++++ colorhug-client-salsa/po/de.po 2025-01-16 12:47:29.474550697 +0100 +@@ -176,7 +176,7 @@ + msgstr "ColorHug Hintergrundbeleuchtungsdienstprogramm" + + msgid "Sample the ambient light level to control the backlight" +-msgstr "Abtastung der Umgebungslichtintensität, um die Hintergrundbeleuchtung zu steuern." ++msgstr "Abtastung der Umgebungslichtintensität, um die Hintergrundbeleuchtung zu steuern" + + msgid "" + "The ColorHug backlight utility uses the ColorHug device to alter the " +Index: colorhug-client-salsa/po/ru.po +=================================================================== +--- colorhug-client-salsa.orig/po/ru.po 2025-01-16 12:47:29.478550737 +0100 ++++ colorhug-client-salsa/po/ru.po 2025-01-16 12:47:29.474550697 +0100 +@@ -215,7 +215,7 @@ + msgid "" + "Sample the display over time to observe PWM, input latency and refresh " + "artifacts" +-msgstr "Образец отображения во времени для наблюдения PWM, латентности по входным данным и дефектам обновления." ++msgstr "Образец отображения во времени для наблюдения PWM, латентности по входным данным и дефектам обновления" + + msgid "" + "The ColorHug display analysis tool can be used to profile display and GPU " diff --git a/debian/patches/series b/debian/patches/series index 16546be..ef1eb52 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1 +1,2 @@ conserve_news.patch +1010-appstream-typos.patch -- Happy hacking Petter Reinholdtsen