snapcrafters / gimp

Unofficial GNU Image Manipulation Program (GIMP) installer for Linux
https://snapcraft.io/gimp
MIT License
51 stars 24 forks source link

[Enhancement]: Provide appstream common id #278

Open er-vin opened 3 months ago

er-vin commented 3 months ago

What changes would you like?

While working in porting some of the KDE applications on a system exposing only snap packages, I realized that GIMP couldn't be found by appstream id.

Indeed it looks like the snap packaging doesn't provide a common-id. So for instance if querying the search endpoint for gimp common id like so:

curl -s "https://api.snapcraft.io/api/v1/snaps/search?common_id=org.gimp.gimp"|jq '._embedded|.["clickindex:package"]|.[]|.package_name'

We get no result. This is to be compared with for instance the VLC snap package which integrated appstream id in its data:

curl -s "https://api.snapcraft.io/api/v1/snaps/search?common_id=org.videolan.vlc"|jq '._embedded|.["clickindex:package"]|.[]|.package_name'

Could this be adjusted on the GIMP package? GIMP is advertised at a couple of place on the KDE side but since it's based on its appstream id, on a snap-only system this prevents from finding the application.

Any extra information?

No response