[Bug 2061664] Re: Appdata metainfo XML not in main pkg, breaking Appstream software install
Boyuan Yang
2061664 at bugs.launchpad.net
Tue Apr 16 14:19:56 UTC 2024
(resending info with ~ubuntu-sponsors notified)
I am now looking to fix LP: #2061664 in the Ubuntu 24.04 LTS release,
ideally before its release. The patches for LP: #2061664 comes from
Debian Sid.
I have prepared a source package for noble targeting the fix. You may
find the source package at:
https://launchpad.net/~hosiet/+archive/ubuntu/personal/+sourcefiles/fcitx5-chinese-
addons/5.1.3-1ubuntu1/fcitx5-chinese-addons_5.1.3-1ubuntu1.dsc . Also
see https://launchpad.net/~hosiet/+archive/ubuntu/personal/+packages for
how this package builds in my PPA.
Full debdiff (for your convenience):
=====================
diff -Nru fcitx5-chinese-addons-5.1.3/debian/changelog fcitx5-chinese-addons-5.1.3/debian/changelog
--- fcitx5-chinese-addons-5.1.3/debian/changelog 2024-03-30 20:06:52.000000000 -0400
+++ fcitx5-chinese-addons-5.1.3/debian/changelog 2024-04-15 15:43:44.000000000 -0400
@@ -1,3 +1,17 @@
+fcitx5-chinese-addons (5.1.3-1ubuntu1) noble; urgency=medium
+
+ * debian/fcitx5-chinese-addons.install: Move the installation of
+ Appdata metainfo XML file from the separate fcitx5-chinese-addons-data
+ package to the main fcitx5-chinese-addons metapackage to help the
+ package handling via Appstream-based package management software
+ such as KDE Discover and GNOME Software.
+ (Closes: #1069070) (LP: #2061664)
+ * debian/control: Add fcitx5-chinese-addons Breaks+Replaces on
+ fcitx5-chinese-addons-data (<< ${binary:Version}) for a smooth
+ transition.
+
+ -- Boyuan Yang <byang at debian.org> Mon, 15 Apr 2024 15:43:44 -0400
+
fcitx5-chinese-addons (5.1.3-1build3) noble; urgency=medium
* No-change rebuild for CVE-2024-3094
diff -Nru fcitx5-chinese-addons-5.1.3/debian/control fcitx5-chinese-addons-5.1.3/debian/control
--- fcitx5-chinese-addons-5.1.3/debian/control 2024-03-15 00:20:58.000000000 -0400
+++ fcitx5-chinese-addons-5.1.3/debian/control 2024-04-15 15:43:44.000000000 -0400
@@ -46,6 +46,10 @@
Recommends:
fcitx5,
fcitx5-module-lua,
+Breaks:
+ fcitx5-chinese-addons-data (<< ${binary:Version}),
+Replaces:
+ fcitx5-chinese-addons-data (<< ${binary:Version}),
Enhances:
fcitx5,
Description: Chinese-related addon for fcitx5 (metapackage)
diff -Nru fcitx5-chinese-addons-5.1.3/debian/fcitx5-chinese-addons-data.install fcitx5-chinese-addons-5.1.3/debian/fcitx5-chinese-addons-data.install
--- fcitx5-chinese-addons-5.1.3/debian/fcitx5-chinese-addons-data.install 2023-11-03 18:16:26.000000000 -0400
+++ fcitx5-chinese-addons-5.1.3/debian/fcitx5-chinese-addons-data.install 2024-04-15 15:43:44.000000000 -0400
@@ -2,4 +2,3 @@
usr/share/fcitx5/lua/imeapi/extensions/pinyin.lua
usr/share/icons/hicolor/*/apps/fcitx-chn.png
usr/share/icons/hicolor/*/apps/org.fcitx.Fcitx5.fcitx-chn.png
-usr/share/metainfo/org.fcitx.Fcitx5.Addon.ChineseAddons.metainfo.xml
diff -Nru fcitx5-chinese-addons-5.1.3/debian/fcitx5-chinese-addons.install fcitx5-chinese-addons-5.1.3/debian/fcitx5-chinese-addons.install
--- fcitx5-chinese-addons-5.1.3/debian/fcitx5-chinese-addons.install 1969-12-31 19:00:00.000000000 -0500
+++ fcitx5-chinese-addons-5.1.3/debian/fcitx5-chinese-addons.install 2024-04-15 15:43:44.000000000 -0400
@@ -0,0 +1 @@
+usr/share/metainfo/org.fcitx.Fcitx5.Addon.ChineseAddons.metainfo.xml
=====================
Now, I am looking for a sponsor (e.g., from ~ubuntu-sponsors) to review and upload my package to noble. Thanks!
** CVE added: https://cve.mitre.org/cgi-bin/cvename.cgi?name=2024-3094
--
You received this bug notification because you are a member of Ubuntu
Sponsors, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/2061664
Title:
Appdata metainfo XML not in main pkg, breaking Appstream software
install
Status in fcitx5-chinese-addons package in Ubuntu:
New
Status in fcitx5-chinese-addons package in Debian:
Fix Released
Bug description:
Upstream bug report: https://github.com/fcitx/fcitx5-chinese-addons/issues/165
Debian bug report: https://bugs.debian.org/1069070
In order to make sure that fcitx5-chinese-addons are correctly installed using
Appstream-based GUI software such as KDE Discover or GNOME Software, the Appdata
metainfo XML file shall not be placed in a separate package. It should be
installed in the main (meta)package.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fcitx5-chinese-addons/+bug/2061664/+subscriptions
More information about the Ubuntu-sponsors
mailing list