Hi everyone.
I noticed that when searching for some software in Gnome software there are only 2 flatpak no rpm. In Discover only 1 quite old but no rpm. Then searching the repository with Yast there is an updated version that is not detected by the 2 packagekits. How can I link the opensuse repos so that they see openSUSE rpm versions. Thanks in advance. Mauro
How can people ever try to replay what you experience with this vague information?
Right. Sorry.
For example: I would like to install qgis a simple geological software. I look for it in Gnome Software and it gives me 2 flatpaks of more updated versions and a more mature lts. With another TW KDE I’m looking for the same software and it offers me only one lts flatpak. Then I go to Yast and find a fairly updated rpm version in the repositories. In Fedora the same software was offered in both rpm and the 2 flatpak versions. So obviously I did something wrong in the configuration of Gnome software and Discover…
I would also like to explain that I am currently using 4 installations of TW in vm: with Gnome, KDE, Xfce and Cinnamon. On all of them, apart from Gnome which has it by default, I installed the Gnome packagekit software to have a GUI when searching for apps. Same thing I did with Fedora KDE and Linux Mint which I’m continuing to test for now.
In the old laptop I have a TW Xfce and gnome software always for the same reason.
GNOME Software works with Applications (AppStream), not with packages. Many packages provide AppStream metadata which are automatically indexed and made available in repository metadata. But QGIS is missing, although it does install AppStream definition.
I am not intimately familiar with details of AppStream implementation, but one thing stands out - desktop file in AppStream metadata does not match the actual desktop file name.
The /usr/share/metainfo/org.qgis.qgis.appdata.xml
defines desktop file as org.qgis.qgis.desktop
:
<launchable type="desktop-id">org.qgis.qgis.desktop</launchable>
while package installs desktop file as qgis.desktop
. From QGIS SPEC file:
# Rename .desktop file
mv %{buildroot}%{_datadir}/applications/org.qgis.qgis.desktop %{buildroot}%{_datadir}/applications/%{name}.desktop
To test this hypothesis you could branch the package and adjust it to not rename desktop file. Then check whether QGIS becomes available as AppStream. If it works, submit bug report (or request to merge your changes).
I am not sure about KDE, but I won’t be surprised if it works in the same fashion. As for difference between offered flatpaks - that is most likely upstream GNOME vs. KDE decision which repositories to enable by default.
thank you very much
No, that did not work. Must be something else.
@ arvidjaar, Hi, it doesn’t matter. In 8 months of using TW I have realized that it is a fantastic OS. But it’s best not to tease him with inexperienced settings. In the end, although I really appreciate KDE, I am deciding to stay with XFCE. I will search for apps with Yast. If I can’t find them with Yast I search with Gnome-software. Thanks anyway for the advice.
Actually that probably did, but OBS does not generate AppStream metadata for non-distribution projects. Running appstream-builder
on qgis
RPM:
(appstream-builder:9649): Asb-DEBUG: 14:24:26.347: WARNING: Ignoring: a desktop file is required for org.qgis.qgis.desktop
Exactly as I said.
You may consider openSUSE bug report as it is packaging issue.
@ arvidjaar - :Hi, thank you very much for the advice.