Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] Can't view webp images with feh, sxiv even though imlib2 should provide webp support
@ 2020-10-22 18:05 kartikynwa
  2020-10-22 21:54 ` PaperMountainStudio
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: kartikynwa @ 2020-10-22 18:05 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1138 bytes --]

New issue by kartikynwa on void-packages repository

https://github.com/void-linux/void-packages/issues/25795

Description:
<!-- Don't request update of package. We have a script for that. https://alpha.de.repo.voidlinux.org/void-updates/void-updates.txt . However, a quality pull request may help. -->
### System

* xuname:  `Void 5.8.16_1 x86_64 GenuineIntel uptodate hold rrrmFFFFFFFFFFFFFFF`
* package:  
  - `imlib2-1.7.0_2`
  - `feh-3.5_1`
  - `sxiv-26_1`

### Expected behavior
`feh`, `sxiv` should be able to open webp images since `imlib2` provides `/usr/lib/imlib2/loaders/webp.so`. For example, this should work:

```
curl https://www.gstatic.com/webp/gallery/1.webp | feh -
```

### Actual behavior
`feh` fails with the message: `feh WARNING: /tmp/feh_stdin_iWj0N5 - No Imlib2 loader for that file format`

### Steps to reproduce the behavior

```bash
xbps-install -Sf feh curl
curl https://www.gstatic.com/webp/gallery/1.webp | feh -
```

### Note

Installing [this](https://github.com/gawen947/imlib2-webp) makes it possible to open webp files. But it overwrites the `webp.so` installed by xbps.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Can't view webp images with feh, sxiv even though imlib2 should provide webp support
  2020-10-22 18:05 [ISSUE] Can't view webp images with feh, sxiv even though imlib2 should provide webp support kartikynwa
@ 2020-10-22 21:54 ` PaperMountainStudio
  2020-10-23  4:37 ` kartikynwa
                   ` (10 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: PaperMountainStudio @ 2020-10-22 21:54 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 196 bytes --]

New comment by PaperMountainStudio on void-packages repository

https://github.com/void-linux/void-packages/issues/25795#issuecomment-714784126

Comment:
works on my system with feh, sxiv and imv

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Can't view webp images with feh, sxiv even though imlib2 should provide webp support
  2020-10-22 18:05 [ISSUE] Can't view webp images with feh, sxiv even though imlib2 should provide webp support kartikynwa
  2020-10-22 21:54 ` PaperMountainStudio
@ 2020-10-23  4:37 ` kartikynwa
  2020-10-23  4:55 ` ericonr
                   ` (9 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: kartikynwa @ 2020-10-23  4:37 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 219 bytes --]

New comment by kartikynwa on void-packages repository

https://github.com/void-linux/void-packages/issues/25795#issuecomment-714905343

Comment:
> works on my system with feh, sxiv and imv

What's your arch and libc?

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Can't view webp images with feh, sxiv even though imlib2 should provide webp support
  2020-10-22 18:05 [ISSUE] Can't view webp images with feh, sxiv even though imlib2 should provide webp support kartikynwa
  2020-10-22 21:54 ` PaperMountainStudio
  2020-10-23  4:37 ` kartikynwa
@ 2020-10-23  4:55 ` ericonr
  2020-10-23  4:59 ` ericonr
                   ` (8 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: ericonr @ 2020-10-23  4:55 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 220 bytes --]

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/issues/25795#issuecomment-714910717

Comment:
I think `imv` uses a different loader, I don't even have `imlib2` installled.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Can't view webp images with feh, sxiv even though imlib2 should provide webp support
  2020-10-22 18:05 [ISSUE] Can't view webp images with feh, sxiv even though imlib2 should provide webp support kartikynwa
                   ` (2 preceding siblings ...)
  2020-10-23  4:55 ` ericonr
@ 2020-10-23  4:59 ` ericonr
  2020-10-23  5:01 ` ericonr
                   ` (7 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: ericonr @ 2020-10-23  4:59 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 403 bytes --]

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/issues/25795#issuecomment-714911794

Comment:
That said, `feh` on x86_64-musl does work with that image.

`feh image.webp` works; `feh < image.webp` gives me the `No Imlib2 loader for that file format` error`, and opens a random image that's in the current directory; and `feh - < image.webp` also works.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Can't view webp images with feh, sxiv even though imlib2 should provide webp support
  2020-10-22 18:05 [ISSUE] Can't view webp images with feh, sxiv even though imlib2 should provide webp support kartikynwa
                   ` (3 preceding siblings ...)
  2020-10-23  4:59 ` ericonr
@ 2020-10-23  5:01 ` ericonr
  2020-10-23  5:02 ` q66
                   ` (6 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: ericonr @ 2020-10-23  5:01 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 402 bytes --]

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/issues/25795#issuecomment-714911794

Comment:
That said, `feh` on x86_64-musl does work with that image.

`feh image.webp` works; `feh < image.webp` gives me the `No Imlib2 loader for that file format` error, and opens a random image that's in the current directory; and `feh - < image.webp` also works.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Can't view webp images with feh, sxiv even though imlib2 should provide webp support
  2020-10-22 18:05 [ISSUE] Can't view webp images with feh, sxiv even though imlib2 should provide webp support kartikynwa
                   ` (4 preceding siblings ...)
  2020-10-23  5:01 ` ericonr
@ 2020-10-23  5:02 ` q66
  2020-10-23  5:05 ` ericonr
                   ` (5 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: q66 @ 2020-10-23  5:02 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 188 bytes --]

New comment by q66 on void-packages repository

https://github.com/void-linux/void-packages/issues/25795#issuecomment-714912776

Comment:
paste the output of `ldd` on the broken `webp.so`

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Can't view webp images with feh, sxiv even though imlib2 should provide webp support
  2020-10-22 18:05 [ISSUE] Can't view webp images with feh, sxiv even though imlib2 should provide webp support kartikynwa
                   ` (5 preceding siblings ...)
  2020-10-23  5:02 ` q66
@ 2020-10-23  5:05 ` ericonr
  2020-10-23  5:25 ` kartikynwa
                   ` (4 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: ericonr @ 2020-10-23  5:05 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 570 bytes --]

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/issues/25795#issuecomment-714913840

Comment:
On glibc, it fails when doing `feh - < file`, but not if I open it directly.

```
[chroot] /tmp > ldd /lib/libwebp.so.7
        linux-vdso.so.1 (0x00007fff08f51000)
        libm.so.6 => /usr/lib/libm.so.6 (0x00007fa5e4f7e000)
        libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007fa5e4f5d000)
        libc.so.6 => /usr/lib/libc.so.6 (0x00007fa5e4d9a000)
        /lib/ld-linux-x86-64.so.2 (0x00007fa5e514f000)
```

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Can't view webp images with feh, sxiv even though imlib2 should provide webp support
  2020-10-22 18:05 [ISSUE] Can't view webp images with feh, sxiv even though imlib2 should provide webp support kartikynwa
                   ` (6 preceding siblings ...)
  2020-10-23  5:05 ` ericonr
@ 2020-10-23  5:25 ` kartikynwa
  2020-10-23  5:37 ` ericonr
                   ` (3 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: kartikynwa @ 2020-10-23  5:25 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 501 bytes --]

New comment by kartikynwa on void-packages repository

https://github.com/void-linux/void-packages/issues/25795#issuecomment-714920362

Comment:
Hmm seems like the following work:

- `feh 1.webp`
- `feh < 1.webp`
- `cat 1.webp | feh`

But these don't work:

- `feh - < 1.webp`
- `cat 1.webp | feh -`

So looks like the `webp.so` work fine. It's just the loader choosing to load it that is at fault. So the issue seems to not be with the packaging. Let me know if I should close the issue. 

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Can't view webp images with feh, sxiv even though imlib2 should provide webp support
  2020-10-22 18:05 [ISSUE] Can't view webp images with feh, sxiv even though imlib2 should provide webp support kartikynwa
                   ` (7 preceding siblings ...)
  2020-10-23  5:25 ` kartikynwa
@ 2020-10-23  5:37 ` ericonr
  2020-10-23  5:47 ` kartikynwa
                   ` (2 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: ericonr @ 2020-10-23  5:37 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 181 bytes --]

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/issues/25795#issuecomment-714924598

Comment:
Wow, talk about inconsistent behavior.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Can't view webp images with feh, sxiv even though imlib2 should provide webp support
  2020-10-22 18:05 [ISSUE] Can't view webp images with feh, sxiv even though imlib2 should provide webp support kartikynwa
                   ` (8 preceding siblings ...)
  2020-10-23  5:37 ` ericonr
@ 2020-10-23  5:47 ` kartikynwa
  2020-10-23  5:47 ` [ISSUE] [CLOSED] " kartikynwa
  2020-10-23  5:49 ` kartikynwa
  11 siblings, 0 replies; 13+ messages in thread
From: kartikynwa @ 2020-10-23  5:47 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 277 bytes --]

New comment by kartikynwa on void-packages repository

https://github.com/void-linux/void-packages/issues/25795#issuecomment-714928148

Comment:
But the git repo I mentioned earlier handles `feh < 1.webp` and `cat 1.webp | feh` properly. I will just file an issue with imlib2.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [ISSUE] [CLOSED] Can't view webp images with feh, sxiv even though imlib2 should provide webp support
  2020-10-22 18:05 [ISSUE] Can't view webp images with feh, sxiv even though imlib2 should provide webp support kartikynwa
                   ` (9 preceding siblings ...)
  2020-10-23  5:47 ` kartikynwa
@ 2020-10-23  5:47 ` kartikynwa
  2020-10-23  5:49 ` kartikynwa
  11 siblings, 0 replies; 13+ messages in thread
From: kartikynwa @ 2020-10-23  5:47 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1141 bytes --]

Closed issue by kartikynwa on void-packages repository

https://github.com/void-linux/void-packages/issues/25795

Description:
<!-- Don't request update of package. We have a script for that. https://alpha.de.repo.voidlinux.org/void-updates/void-updates.txt . However, a quality pull request may help. -->
### System

* xuname:  `Void 5.8.16_1 x86_64 GenuineIntel uptodate hold rrrmFFFFFFFFFFFFFFF`
* package:  
  - `imlib2-1.7.0_2`
  - `feh-3.5_1`
  - `sxiv-26_1`

### Expected behavior
`feh`, `sxiv` should be able to open webp images since `imlib2` provides `/usr/lib/imlib2/loaders/webp.so`. For example, this should work:

```
curl https://www.gstatic.com/webp/gallery/1.webp | feh -
```

### Actual behavior
`feh` fails with the message: `feh WARNING: /tmp/feh_stdin_iWj0N5 - No Imlib2 loader for that file format`

### Steps to reproduce the behavior

```bash
xbps-install -Sf feh curl
curl https://www.gstatic.com/webp/gallery/1.webp | feh -
```

### Note

Installing [this](https://github.com/gawen947/imlib2-webp) makes it possible to open webp files. But it overwrites the `webp.so` installed by xbps.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Can't view webp images with feh, sxiv even though imlib2 should provide webp support
  2020-10-22 18:05 [ISSUE] Can't view webp images with feh, sxiv even though imlib2 should provide webp support kartikynwa
                   ` (10 preceding siblings ...)
  2020-10-23  5:47 ` [ISSUE] [CLOSED] " kartikynwa
@ 2020-10-23  5:49 ` kartikynwa
  11 siblings, 0 replies; 13+ messages in thread
From: kartikynwa @ 2020-10-23  5:49 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 390 bytes --]

New comment by kartikynwa on void-packages repository

https://github.com/void-linux/void-packages/issues/25795#issuecomment-714928841

Comment:
> Wow, talk about inconsistent behavior.

Actually I might have misinterpreted. `feh < 1.webp` and `cat 1.webp | feh` don't work and, AFAIK, they shouldn't. They just lead to `feh` opening up the whole folder and `1.webp` happens to be in it.

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2020-10-23  5:49 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-22 18:05 [ISSUE] Can't view webp images with feh, sxiv even though imlib2 should provide webp support kartikynwa
2020-10-22 21:54 ` PaperMountainStudio
2020-10-23  4:37 ` kartikynwa
2020-10-23  4:55 ` ericonr
2020-10-23  4:59 ` ericonr
2020-10-23  5:01 ` ericonr
2020-10-23  5:02 ` q66
2020-10-23  5:05 ` ericonr
2020-10-23  5:25 ` kartikynwa
2020-10-23  5:37 ` ericonr
2020-10-23  5:47 ` kartikynwa
2020-10-23  5:47 ` [ISSUE] [CLOSED] " kartikynwa
2020-10-23  5:49 ` kartikynwa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).