evince not working for djvu files in my CentOS 8 stream

Issues related to applications and software problems and general support
Post Reply
dexterdev
Posts: 15
Joined: 2022/08/05 13:16:04

evince not working for djvu files in my CentOS 8 stream

Post by dexterdev » 2022/08/08 07:44:36

Hi all,

When I try to open djvu files with evince I get his message:

Code: Select all

File type DjVu document (image/vnd.djvu+multipage) is not supported
What should I do?
Attachments
Screenshot from 2022-08-08 10-41-02.png
Screenshot from 2022-08-08 10-41-02.png (23.69 KiB) Viewed 812 times

User avatar
jlehtone
Posts: 4523
Joined: 2007/12/11 08:17:33
Location: Finland

Re: evince not working for djvu files in my CentOS 8 stream

Post by jlehtone » 2022/08/08 09:36:45

Do the repos contain package 'evince-djvu'? I bet not, for Alma 8 and Alma 9 does not have it either (nor EPEL for them).

Fedora 35 and 36 apparently do have that package, but for whatever reason Red Hat does not build it for RHEL.


You could try:
* Install 'mock' (from EPEL and add your regular account to group mock)
* Download https://download-ib01.fedoraproject.org ... 35.src.rpm
* mock --rebuild evince-41.4-1.fc35.src.rpm (as regular account)
If that succeeds, then you should have package files, including evince-djvu, but replacing system packages is not nice for system maintenance.

The more appropriate action is to create a bug report for ContOS Stream 8 that requests addition of evince-djvu into the distro. That way everyone benefits.

dexterdev
Posts: 15
Joined: 2022/08/05 13:16:04

Re: evince not working for djvu files in my CentOS 8 stream

Post by dexterdev » 2022/08/08 10:33:05

If that succeeds, then you should have package files, including evince-djvu, but replacing system packages is not nice for system maintenance.
It failed!

Code: Select all

(base) [dexterdev@localhost ~]$ mock --rebuild evince-41.4-1.fc35.src.rpm 
You are not in the `mock` group. See https://rpm-software-management.github.io/mock/#setup
Authenticating as "root"
Password: 
The exec() call failed.

I am fine with any djvu reader. Can you please suggest one which works for centOS stream 8? zathura cannot be installed either.

User avatar
jlehtone
Posts: 4523
Joined: 2007/12/11 08:17:33
Location: Finland

Re: evince not working for djvu files in my CentOS 8 stream

Post by jlehtone » 2022/08/08 11:05:12

dexterdev wrote:
2022/08/08 10:33:05
You are not in the `mock` group. See https://rpm-software-management.github.io/mock/#setup
The account 'dexterdev' is not member of group 'mock'. The URL in the message recommends:

Code: Select all

sudo usermod -a -G mock dexterdev
and notes:
To have this change take effect you have to either log out and log back in or run command newgrp -

I don't know what djvu is, so can't recommend alternatives.

BShT
Posts: 584
Joined: 2019/10/09 12:31:40

Re: evince not working for djvu files in my CentOS 8 stream

Post by BShT » 2022/08/08 12:23:38

# dnf install djvulibre


from epel

dexterdev
Posts: 15
Joined: 2022/08/05 13:16:04

Re: evince not working for djvu files in my CentOS 8 stream

Post by dexterdev » 2022/08/08 15:36:56

jlehtone wrote:
2022/08/08 11:05:12
dexterdev wrote:
2022/08/08 10:33:05
You are not in the `mock` group. See https://rpm-software-management.github.io/mock/#setup
The account 'dexterdev' is not member of group 'mock'. The URL in the message recommends:

Code: Select all

sudo usermod -a -G mock dexterdev
and notes:
To have this change take effect you have to either log out and log back in or run command newgrp -

I don't know what djvu is, so can't recommend alternatives.
failed!

Code: Select all

$ sudo usermod -a -G mock dexterdev
$ mock --rebuild evince-41.4-1.fc35.src.rpm 
The exec() call failed.

Post Reply