Porteus-v4.0 webp support

Please reproduce your error on a second machine before posting, and check the error by running without saved changes or extra modules (See FAQ No. 13, "How to report a bug"). For unstable Porteus versions (alpha, beta, rc) please use the relevant thread in our "Development" section.
User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

Porteus-v4.0 bug reports

Post#1 by Rava » 04 Feb 2021, 12:02

Another unrelated issue:
how do you get webp support in 4.0 i586?
The most recent lib I found and installed is webp-pixbuf-loader-0.0.1.5,1.txz

Such a filename creates a rare bug in activate: the module creation went okay, but activating a module with a "," in its filename resulted in this:

Code: Select all

# activate webp-pixbuf-loader-0.0.1.5,1.xzm 
Quiet mode: off
mount: /: mount point not mounted or bad option.
webp-pixbuf-loader-0.0.1.5,1.xzm: Can't insert module to union
renaming the module solved that issue:

Code: Select all

# mv webp-pixbuf-loader-0.0.1.5,1.xzm webp-pixbuf-loader-0.0.1.5-1.xzm
# activate webp-pixbuf-loader-0.0.1.5-1.xzm 
Quiet mode: off
Updating shared library links:  /sbin/ldconfig
Still, even with webp-pixbuf-loader-0.0.1.5-1.xzm and after cache-module there is no webp support, not in GPicView 0.2.5 nor in my preferred viewnior 1.3

Code: Select all

Couldn’t recognize the image file format for file “/mnt/sdxy/what/ever.webp”
Maybe there is still some stuff missing aside from webp-pixbuf-loader-0.0.1.5-1?
Or do I need to update to a newer version of viewnior? According to the author or viewnior, it supports all image files as long as the system supports them, and that is true for x86-64 5.0 rc.
Cheers!
Yours Rava

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3924
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

Porteus-v4.0 bug reports

Post#2 by ncmprhnsbl » 04 Feb 2021, 13:08

Rava wrote:
04 Feb 2021, 12:02
The most recent lib I found and installed is webp-pixbuf-loader-0.0.1.5,1.txz
um, did you get that package from freebsd? :o
just guessing, it may be that webp-pixbuf-loader needs to be compiled against the libwebp (or even gdk) present in 4.0 (hint https://slackbuilds.org/)
if it's functional, there should be webp thumbnails in thunar too..
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

Porteus-v4.0 bug reports

Post#3 by Rava » 04 Feb 2021, 20:45

ncmprhnsbl wrote:
04 Feb 2021, 13:08
um, did you get that package from freebsd? :o
Ohhh now that you mentioned it… Image
ncmprhnsbl wrote:
04 Feb 2021, 13:08
just guessing, it may be that webp-pixbuf-loader needs to be compiled against the libwebp (or even gdk) present in 4.0 (hint https://slackbuilds.org/)
if it's functional, there should be webp thumbnails in thunar too..
when 4.0 has libwebp … why no native webp support?

Added in 4 minutes 7 seconds:
https://slackbuilds.org/repository/14.2 ... uf-loader/ says
This requires: meson, libwebp
how does one check if the system has meson and libwebp?
The only approach is using

Code: Select all

lsxzmgrep $PORTDIR/base/ meson
and

Code: Select all

lsxzmgrep $PORTDIR/base/ libwebp
. :teehee:

Added in 21 minutes 12 seconds:
trying lsxzmgrep on i586 4.0 got me this error:

Code: Select all

lsxzmgrep V2020-12-19
find: Arguments to -type should contain only one letter
LOL, seems find in 4.0 and 5.0 differ when it comes to -type.

Anyhow, removed -type altogether and here the results:

Code: Select all

root@porteus:~# lsxzmgrep $PORTDIR/base/ meson
lsxzmgrep V2021-02-04
>/mnt/sda3/Porteus_4.0//porteus/base/003-xfce.xzm
/usr/share/gtksourceview-3.0/language-specs/meson.lang
safe to presume no meson in the system?

Code: Select all

root@porteus:~# lsxzmgrep $PORTDIR/base/ libwebp
lsxzmgrep V2021-02-04
>/mnt/sda3/Porteus_4.0//porteus/base/002-xorg.xzm
/usr/lib/libwebp.so
>/mnt/sda3/Porteus_4.0//porteus/base/002-xorg.xzm
/usr/lib/libwebp.so.7
>/mnt/sda3/Porteus_4.0//porteus/base/002-xorg.xzm
/usr/lib/libwebp.so.7.0.0
>/mnt/sda3/Porteus_4.0//porteus/base/002-xorg.xzm
/usr/lib/libwebpdecoder.so
>/mnt/sda3/Porteus_4.0//porteus/base/002-xorg.xzm
/usr/lib/libwebpdecoder.so.3
>/mnt/sda3/Porteus_4.0//porteus/base/002-xorg.xzm
/usr/lib/libwebpdecoder.so.3.0.0
>/mnt/sda3/Porteus_4.0//porteus/base/002-xorg.xzm
/usr/lib/libwebpdemux.so
>/mnt/sda3/Porteus_4.0//porteus/base/002-xorg.xzm
/usr/lib/libwebpdemux.so.2
>/mnt/sda3/Porteus_4.0//porteus/base/002-xorg.xzm
/usr/lib/libwebpdemux.so.2.0.2
>/mnt/sda3/Porteus_4.0//porteus/base/002-xorg.xzm
/usr/lib/libwebpmux.so
>/mnt/sda3/Porteus_4.0//porteus/base/002-xorg.xzm
/usr/lib/libwebpmux.so.3
>/mnt/sda3/Porteus_4.0//porteus/base/002-xorg.xzm
/usr/lib/libwebpmux.so.3.0.0
>/mnt/sda3/Porteus_4.0//porteus/base/002-xorg.xzm
/usr/lib/pkgconfig/libwebp.pc
>/mnt/sda3/Porteus_4.0//porteus/base/002-xorg.xzm
/usr/lib/pkgconfig/libwebpdecoder.pc
>/mnt/sda3/Porteus_4.0//porteus/base/002-xorg.xzm
/usr/lib/pkgconfig/libwebpdemux.pc
>/mnt/sda3/Porteus_4.0//porteus/base/002-xorg.xzm
/usr/lib/pkgconfig/libwebpmux.pc
>/mnt/sda3/Porteus_4.0//porteus/base/002-xorg.xzm
/usr/lib/python2.7/site-packages/com/google/webp/_libwebp.so
>/mnt/sda3/Porteus_4.0//porteus/base/002-xorg.xzm
/usr/lib/python2.7/site-packages/com/google/webp/libwebp.py
>/mnt/sda3/Porteus_4.0//porteus/base/002-xorg.xzm
/usr/lib/python2.7/site-packages/libwebp-0.0-py2.7.egg-info
>/mnt/sda3/Porteus_4.0//porteus/base/002-xorg.xzm
/var/log/packages/libwebp-0.6.0-i586-1_SBo
looks like libwebp is in the system. :)

Added in 7 minutes 28 seconds:
seems needing meson starts a dependency hell for 4.0:
https://slackbuilds.org/repository/14.2 ... ent/meson/

Code: Select all

This requires: python3, ninja
:shock:

Added in 55 minutes 43 seconds:
ncmprhnsbl you agree moving all webp support posts on 4.0 Porteus into a new thread?
Cheers!
Yours Rava

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Porteus-v4.0 bug reports

Post#4 by Ed_P » 04 Feb 2021, 23:12

I agree. :)
Ed

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3924
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

Porteus-v4.0 bug reports

Post#5 by ncmprhnsbl » 06 Feb 2021, 23:53

Rava wrote:
04 Feb 2021, 22:13
ncmprhnsbl you agree moving all webp support posts on 4.0 Porteus into a new thread?
sure
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

Post Reply