Page 1 of 1

Re: BP64: Viewnior alternatives that open webp files?

Posted: Sat Feb 25, 2023 4:45 pm
by OscarTalks

Hello vtpup
It would be quite a simple case of installing a .pet of this little library which is an extra loader for gdk-pixbuf. Viewnior uses gdk-pixbuf to display the images so it is not a case of patching viewnior.

Thanks to norgo for confirming that it works.

The developer does seem to be tinkering around with it over the last few days with versions 0.1.x and 0.2.0 which looks like a bit of a fundamental rewrite/rethink, so it might be worth hanging on a bit and keeping an eye to see if he does more updates.

I tried it in my Stretch Pup and 0.2.0 did give an error in compiling.
As Burunduk reported, version 0.0.7 compiles and works OK though.


Re: BP64: Viewnior alternatives that open webp files?

Posted: Sat Feb 25, 2023 5:15 pm
by vtpup

Thank you Oscar! That's great. No problem with a wait to see if the author straightens out the current version. I have plenty of workarounds now for viewing a local webp file. But eventually it would be good to have this as a .pet for viewnior.

I wonder also, if Gimp would benefit from it? I use Gimp 2.8 -- didn't like 2.10, so sticking with 2.8 version. But that version does not handle webp, Maybe this gdk pixbuf .pet will help several older programs.....


Re: BP64: Viewnior alternatives that open webp files?

Posted: Sat Feb 25, 2023 7:00 pm
by norgo

@vtpup

Fossapup64 9.5

webp-pixbuf-loader-0.0.7-1-x86_64.pet
(26.79 KiB) Downloaded 61 times

[ DEPS: libwebpdemux2 ]
important ! install libwebpdemux2 at first !

--------------------------------------------------------------------------------------------------------

Slackware64 15.0 basing Distros

webp-pixbuf-loader-0.2.0-x86_64.pet
(23.04 KiB) Downloaded 49 times

Re: BP64: Viewnior alternatives that open webp files?

Posted: Sun Feb 26, 2023 10:50 am
by Burunduk
OscarTalks wrote: Sat Feb 25, 2023 4:45 pm

The developer does seem to be tinkering around with it over the last few days with versions 0.1.x and 0.2.0 which looks like a bit of a fundamental rewrite/rethink, so it might be worth hanging on a bit and keeping an eye to see if he does more updates.

It seems to be related to https://github.com/aruiz/webp-pixbuf-loader/issues/67
Version 0.2.0 is OK and will run in jammy.

norgo wrote: Sat Feb 25, 2023 7:00 pm

[ DEPS: libwebpdemux2 ]
important ! install libwebpdemux2 at first !

libwebpdemux2 is the only dep missing in Fossapup64-9.5. With it included and the libpixbufloader-webp.so stripped the pet can be even smaller.


Re: BP64: Viewnior alternatives that open webp files?

Posted: Mon Feb 27, 2023 2:15 am
by vtpup

Will the Fossa version run on Bionic64?


Re: BP64: Viewnior alternatives that open webp files?

Posted: Wed Mar 01, 2023 9:33 pm
by OscarTalks
vtpup wrote: Mon Feb 27, 2023 2:15 am

Will the Fossa version run on Bionic64?

I'm not sure if it will. No-one seems to have reported either way (EDIT - I think it does work if you install libwebpdemux via PPM as indicated)
I didn't have a frugal of Bionic64 to hand the other day, but I dug one out and had a go at compiling. As previously mentioned, the version 0.2.0 builds, but segfaults when you try to use it. I made a package of version 0.0.7 in Bionic64 with libwebpdemux included. You can give it a test run for now if you wish. It is easy to uninstall and upgrade if a later working version is released.


Re: BP64: Viewnior alternatives that open webp files?

Posted: Thu Mar 02, 2023 12:15 am
by vtpup

Yes, Oscar your .pet does work in BP64! :thumbup2: :thumbup2:

Thank you for going to the trouble to create a frugal, compile and add the additional dependency! I appreciate it very much.

I'm sorry I didn't reply sooner, but home life requirements meant I wasn't able to check back until today.

Great, Viewnior works with webp!

(ps I found gthumb nice and full featured but navigation was not as simple or speedy as Viewnior for the everyday tasks I need a viewer for, so I took it out of Default Applications and replaced it with Viewnior again.)