jcupitt / vipsdisp

Tiny libvips / gtk+4 image viewer
MIT License
130 stars 10 forks source link

Flatpak? #4

Closed teohhanhui closed 2 years ago

teohhanhui commented 3 years ago

This will be very promising (I love libvips!) to be used as a replacement for Eye of GNOME and gThumb (not available as flatpak).

jcupitt commented 3 years ago

Hi, I agree, a flatpak for this thing would be very useful.

jcupitt commented 2 years ago

I made a flatpak manifest:

https://github.com/jcupitt/vipsdisp/blob/master/org.libvips.vipsdisp.json

It seems to work OK, though it'll need some work before flathub will accept it (desktop file, appdata, etc.). The README has some notes.

If anyone would like to get it into flathub, that would be great!

teohhanhui commented 2 years ago

It'll build libvips without HEIC, AVIF, libgsf, JXL, OpenEXR OpenJPEG, poppler, openslide, matio, cfitsio, libimagequant, NIfTI, FITS etc. as they are not included in the SDK we use.

That's a major caveat. Haha... Typically a Flatpak app would build (in the manifest) and bundle the dependencies that it needs.

jcupitt commented 2 years ago

Sure, it just needs some modules adding. I'd be delighted to accept a PR, if you're able.

jcupitt commented 2 years ago

... I added JXL, it was pretty easy. More welcome, of course.

jcupitt commented 2 years ago

... I did the others, it all seems to work.

jcupitt commented 2 years ago

Submitted to flathub here: https://github.com/flathub/flathub/pull/2536