Bug 2336121 - SeaMonkey has missing AppStream metadata
Summary: SeaMonkey has missing AppStream metadata
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: seamonkey
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Gecko Maintainer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-01-07 13:38 UTC by Daniel Rusek
Modified: 2025-01-17 01:22 UTC (History)
3 users (show)

Fixed In Version: seamonkey-2.53.20-2.el8 seamonkey-2.53.20-2.fc41 seamonkey-2.53.20-2.fc40 seamonkey-2.53.20-2.el9
Clone Of:
Environment:
Last Closed: 2025-01-16 01:10:09 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Proposed metainfo file (3.57 KB, application/xml)
2025-01-08 00:04 UTC, Dmitry Butskoy
drusek: review+
Details
Proposed metainfo file with small fixes (3.65 KB, application/xml)
2025-01-08 00:20 UTC, Daniel Rusek
no flags Details

Description Daniel Rusek 2025-01-07 13:38:33 UTC
SeaMonkey cannot be found and/or installed using GUI software centers such as GNOME Software or KDE Discover in Fedora because it has no AppStream metadata (*.appdata.xml / *.metainfo.xml file) shipped in the package.

Please, consider adding this file to allow easy installation of SeaMonkey without having to use a terminal or ancient tools such as dnfdragora.

Reproducible: Always

Steps to Reproduce:
1. Use latest, fully updated Fedora.
2. Open the "Software" app.
3. Try to search for "seamonkey".

Actual Results:  
No results are found.

Expected Results:  
SeaMonkey is found, has valid details page and can be installed.

Comment 1 Dmitry Butskoy 2025-01-08 00:04:06 UTC
Created attachment 2065099 [details]
Proposed metainfo file

Could you pls look into this. If it seems OK, I'll put it into upcoming release.

Comment 2 Daniel Rusek 2025-01-08 00:18:38 UTC
Wow, thanks for working on this so quickly, Dmitry!

The metainfo file looks very good. I have just fixed the app id that should be in a rDNS format (both in the id tag and in the actual file name), added the developer id (that is mandatory for the developer tag to be parsed correctly) and added empty OARS metadata (that are required by some AppStream parsers/validators nowadays). The rest looks good.

Here is a diff of my changes:

diff --git a/seamonkey.metainfo.xml b/org.seamonkey_project.SeaMonkey.metainfo.xml
index 50d0a60..8a6ef22 100644
--- a/seamonkey.metainfo.xml
+++ b/org.seamonkey_project.SeaMonkey.metainfo.xml
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <component type="desktop">
-  <id>seamonkey</id>
+  <id>org.seamonkey_project.SeaMonkey</id>
   <metadata_license>CC0-1.0</metadata_license>
   <project_license>MPL-2.0</project_license>
   <launchable type="desktop-id">seamonkey.desktop</launchable>
@@ -44,7 +44,7 @@
   <url type="vcs-browser">https://gitlab.com/users/seamonkey-project/projects</url>
   <url type="contribute">https://www.seamonkey-project.org/dev/get-involved</url>
 -->
-  <developer>
+  <developer id="org.seamonkey_project">
     <name>SeaMonkey Project</name>
   </developer>
   <update_contact>seamonkey-maintainers</update_contact>
@@ -81,4 +81,5 @@
       <image type="source">https://www.seamonkey-project.org/doc/img-screen/linux/mailcompose.png</image>
     </screenshot>
   </screenshots>
-</component>
\ No newline at end of file
+  <content_rating type="oars-1.1"/>
+</component>

Comment 3 Daniel Rusek 2025-01-08 00:20:36 UTC
Created attachment 2065100 [details]
Proposed metainfo file with small fixes

Validated by appstreamcli and verified to be correct.

Comment 4 Dmitry Butskoy 2025-01-08 00:27:51 UTC
Can I name the file just as "seamonkey.metainfo.xml" (since the desktop file now named as "seamonkey.desktop")?

Accroding to https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-id-generic , 
> it is strongly encouraged to only use lowercase letters for the ID.
so maybe "org.seamonkey_project.seamonkey" for the id instead?

Comment 5 Dmitry Butskoy 2025-01-08 00:43:43 UTC
According to Firefox spec, the "org." prefix appears since Fedora >= 40. What about epel8 and epel9 branches? Is it safe to place as "org." there as well?

There are two .desktop files -- "seamonkey.desktop" (to be initially launched as browser) and "seamonkey-mail.desktop" (to be launched as email client). Actually, the application is the same, just the "-mail" cmdline option is used in the second case. So should the metainfo file have a mention of "seamonkey-mail.desktop" too, or just ignore it for simplifity?

Comment 6 Daniel Rusek 2025-01-08 00:44:41 UTC
(In reply to Dmitry Butskoy from comment #4)
> Can I name the file just as "seamonkey.metainfo.xml" (since the desktop file
> now named as "seamonkey.desktop")?
> 
> Accroding to
> https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-
> id-generic , 
> > it is strongly encouraged to only use lowercase letters for the ID.
> so maybe "org.seamonkey_project.seamonkey" for the id instead?

No, the file name should be the same as the app id and the app id should be in rDNS format.

Sure, you can use a lower case "org.seamonkey_project.seamonkey" variant, it does not matter.
(The irony is that even some of the original AppStream standard creators use upper case app names in their projects. :-) You just have to make sure that the developer/domain part of the rDNS app id (org.seamonkey_project.) is in lower case.)

Comment 7 Daniel Rusek 2025-01-08 00:50:59 UTC
(In reply to Dmitry Butskoy from comment #5)
> According to Firefox spec, the "org." prefix appears since Fedora >= 40.
> What about epel8 and epel9 branches? Is it safe to place as "org." there as
> well?
> 
> There are two .desktop files -- "seamonkey.desktop" (to be initially
> launched as browser) and "seamonkey-mail.desktop" (to be launched as email
> client). Actually, the application is the same, just the "-mail" cmdline
> option is used in the second case. So should the metainfo file have a
> mention of "seamonkey-mail.desktop" too, or just ignore it for simplifity?

Sorry, I don't know about epel branches and to be honest, the Firefox spec file is quite a mess (and hard to understand) in some parts.

Do not worry about the seamonkey-mail.desktop. You just have to specify the main desktop file in AppStream metadata. It is mainly used for three things:
1. Point to the correct desktop icon file name that can be used in metadata.
2. Provide launchable for when clicking the "Launch" button on SeaMonkey details page in GNOME Software / KDE Discover.
3. Open correct details page when clicking an "App Details" option in GNOME Shell Overview.

Comment 8 Fedora Update System 2025-01-08 06:58:52 UTC
FEDORA-2025-135cf1b7f3 (seamonkey-2.53.20-2.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-135cf1b7f3

Comment 9 Fedora Update System 2025-01-08 06:59:26 UTC
FEDORA-2025-4945eb6eeb (seamonkey-2.53.20-2.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-4945eb6eeb

Comment 10 Fedora Update System 2025-01-08 06:59:56 UTC
FEDORA-EPEL-2025-dd0247bebf (seamonkey-2.53.20-2.el9) has been submitted as an update to Fedora EPEL 9.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-dd0247bebf

Comment 11 Fedora Update System 2025-01-08 07:00:26 UTC
FEDORA-EPEL-2025-ef6b6c8d41 (seamonkey-2.53.20-2.el8) has been submitted as an update to Fedora EPEL 8.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-ef6b6c8d41

Comment 12 Fedora Update System 2025-01-09 02:13:39 UTC
FEDORA-EPEL-2025-ef6b6c8d41 has been pushed to the Fedora EPEL 8 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-ef6b6c8d41

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 13 Fedora Update System 2025-01-09 02:19:17 UTC
FEDORA-2025-4945eb6eeb has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-4945eb6eeb`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-4945eb6eeb

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 14 Fedora Update System 2025-01-09 02:20:35 UTC
FEDORA-EPEL-2025-dd0247bebf has been pushed to the Fedora EPEL 9 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-dd0247bebf

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 15 Fedora Update System 2025-01-09 04:00:30 UTC
FEDORA-2025-135cf1b7f3 has been pushed to the Fedora 41 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-135cf1b7f3`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-135cf1b7f3

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 16 Fedora Update System 2025-01-16 01:10:09 UTC
FEDORA-EPEL-2025-ef6b6c8d41 (seamonkey-2.53.20-2.el8) has been pushed to the Fedora EPEL 8 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 17 Fedora Update System 2025-01-16 01:59:34 UTC
FEDORA-2025-135cf1b7f3 (seamonkey-2.53.20-2.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 18 Fedora Update System 2025-01-16 02:17:42 UTC
FEDORA-2025-4945eb6eeb (seamonkey-2.53.20-2.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 19 Fedora Update System 2025-01-17 01:22:45 UTC
FEDORA-EPEL-2025-dd0247bebf (seamonkey-2.53.20-2.el9) has been pushed to the Fedora EPEL 9 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.