graphics/evince evince-3.18.2_3 does not open comics in CBR format after "pkg upgrade"
The error message is
Unable to open document “file:///home/sudakov/Tangled.cbr”.
File type RAR archive (application/vnd.rar) is not supported
Upgrade to evince 3.22 may solve the problem.
In the meantime 3.26.0. Does the problem still exist?
(In reply to w.schwarzenfeld from comment #2)
Looks like it's fixed now.
Nope, evince still does not open them. .cb? files were associated with a different app so it seemed to work, but no, sorry.
Don't know if this relevant, but found this:
Providing more detail Bastien Nocera explains: “…we switched from using external tools for decompression [in Evince] to using lib archive […] for CBZ, CB7 and the infamous CBT, but used a copy/paste version of unarr to support RAR files, as
libarchive support lacks some needed features.”
The comicbooks reader graphics/comical, graphics/cbviewer, graphics/qcomicbook have unrar as dependency.
(In reply to w.schwarzenfeld from comment #6)
I currently use graphics/py-mcomix (supports RAR) but it's a pity you cannot just "pkg install gnome3" and view CBR files with the standard document viewer.
Created attachment 190950 [details]
And this was it. Try this patch, only quick tested but should work.
Created attachment 190951 [details]
Was a wrong line in it.
(In reply to w.schwarzenfeld from comment #5)
unarr is not unrar. Evince has an internal copy of unarr library under 'cut-n-paste' directory, so we should not have to add a dependency to enable it. However, I don't have any CBR files and I cannot check whether it really works.
Running 'git grep unrar' in a git checkout of evince shows nothing useful, so I assume evince never uses unrar. Even if it does, it looks bad to have a free program (evince) to unconditionally depend on a non-free program (unrar).
Sorry, I was "believing" the reporter. And tested first with the "unrar-dependency".
So I had to see, evince opens cbr files on my system (without unrar) without any
Could it be it is a problem with an other installed archiver program (which interfetes)?
(In reply to Ting-Wei Lan from comment #10)
> Even if it does, it looks bad to have a free program (evince) to unconditionally depend on a non-free program (unrar).
I'm afraid you are mistaken, unrar is free and it's in the ports collection.
The rar archiver is not free, but you don't need rar to unpack rar archives.
(In reply to vas from comment #13)
I know the source code of unrar is publicly available, but its license makes it neither free software nor open source software. I believe it is why evince replaced the code using unrar with code using libarchive library. It was later improved by using the unarchiver-based unarr library because RAR support in libarchive is incomplete.
i found the same problem n my site https://www.xvideo.blog
I also had the same problem with my two websites and https://gifsporno.net/ :/
didnt want to comment again but Im having problems with https://gifsdesexo.com/ and https://porngif.co/
managed to solve the issue in the websites above but still having trouble with this one https://porno.com.pt/