Created attachment 153484 [details] Grass-Gis doesn't appear SUMMARY When using Discover to search for (GUI) apps in a fresh install of Fedora, some apps like GRASS-GIS, SAGA-GIS or Krita don't appear, but their flatpak version (in the case of Krita) does show. This issue persists even when installing those apps from the terminal, having installed and reinstalled plasma-discover-rpm-ostree, appstream-data, rpmfusion-free-appstream-data and rpmfusion-nonfree-appstream-data. I mentioned this issue in the spanish KDE Telegram group and at least one other person confirmed this: my original message --> https://t.me/kde_canasbravas/165371 another user confirms this issue --> https://t.me/kde_canasbravas/165512 STEPS TO REPRODUCE 1. Install Fedora KDE Spin 2. Open Discover 3. Search for Grass GIS (or just Grass). Alternatively go to Science & Engineering > Geography OBSERVED RESULT 4. The program doesn't appear (it should, I have seen it there in other distros, and it's a GUI app) EXPECTED RESULT The program should appear in the search or in its corresponding section, and it should be possible to install or remove it. SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: Fedora Linux 36 KDE Spin KDE Plasma Version: 5.25.5 KDE Frameworks Version: 5.99.0 Qt Version: 5.15.6 ADDITIONAL INFORMATION The relevant repos are all active in Discover settings
Created attachment 153485 [details] Krita repo version doesn't appear even though I have it installed
The problem appears to be that this app in question lacks AppStream metadata, as `appstreamcli search` has no results for it: $ appstreamcli search grass Identifier: com.github.emmanueltouzery.cigale [desktop-application] Name: Cigale Summary: Review your past activity Bundle: flatpak:app/com.github.emmanueltouzery.cigale/x86_64/stable Homepage: https://github.com/emmanueltouzery/cigale/ Icon: com.github.emmanueltouzery.cigale.png If the app isn't known to AppStream, Discover won't find it, either. This is by design, because Discover is an "app store", not a package manager. So it only shows you things that register themselves as user-facing apps by defining AppStream metadata. So if this app is lacking AppStream metadata--which seems to be the case--that's an issue in the app itself, which needs to set this metadata so that apps liker Discover and GNOME Software can find it. You should report this to the app's developers. Thanks!
Thank you for your feedback! but please give this another chance. I used appstreamcli and searched for both grass and krita, and both showed results for appstream data (Krita for repo and flatpak), but they both still don't show in Discover. $ appstreamcli search grass Identificador: org.osgeo.grass.desktop [desktop-application] Nombre: GRASS GIS Resumen: GRASS GIS, the Open Source Geographic Information System Sitio web: https://grass.osgeo.org/ --- $ appstreamcli search krita Identificador: org.kde.krita [desktop-application] Nombre: Krita Resumen: Pintura digital, libertad creativa Agrupación: flatpak:app/org.kde.krita/x86_64/stable Sitio web: https://www.krita.org/ Icono: org.kde.krita.png --- Identificador: org.kde.krita [desktop-application] Nombre: Krita Resumen: Pintura digital, libertad creativa Sitio web: https://www.krita.org/ Icono: krita ---
Can you run "appstreamcli get --details org.osgeo.grass.desktop" and see which Categories it gives?
Yes, it gives: Identificador: org.osgeo.grass.desktop [desktop-application] ID interno: system/package/os/org.osgeo.grass.desktop/* Nombre: GRASS GIS Resumen: GRASS GIS, the Open Source Geographic Information System Sitio web: https://grass.osgeo.org/ Programador: GRASS Development Team Descripción: The Geographic Resources... (and the rest of the description) URL predeterminado de captura de pantalla: https://grass.osgeo.org//images/gallery/gui/wxgui_histogram.png Licencia: GPL-2.0+
Sorry, I searched for Krita and it shows different Categories, and I realized that's what you were asking for. For grass, it didn't show any categories, just what I posted before.
Alright, then your problem is grass not specifying categories. How is Discover supposed to list GRASS under Geography if it doesn't know it's fitting? I tried looking up the xml file in their repository but I could not find it :(