Bug 1513188
| Summary: | multipage djvu files are misidentified | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Luca Giuzzi <luca.giuzzi> |
| Component: | djvulibre | Assignee: | Marek Kašík <mkasik> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 27 | CC: | bnocera, diazbastian, fabrice, luca.giuzzi, mkasik, toni.andjelkovic |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | djvulibre-3.5.27-5.fc27 djvulibre-3.5.27-8.fc28 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-02-20 17:16:03 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1514085 | ||
| Bug Blocks: | |||
|
Description
Luca Giuzzi
2017-11-14 22:38:41 UTC
Incidentally, the problem is due to a conflict between shared-mime-info and djvulibre (evince is just the program which displayed the issue first). I forgot to mention the relevant versions of the installed packages: djvulibre-3.5.27-4.fc27.x86_64 shared-mime-info-1.9-1.fc27.x86_64 [evince-djvu is version 3.26.0.1.fc27.x86_64 but, once more, it does not seem relevant] I will remove the XML from djvulibre because the one in shared-mime-info is correct and differentiate between DjVu Document and DjVu Image. But I will wait for decision of rpm maintainer on #1514085 because the "%transfiletriggerpostun" scriptlet is not triggered once the old package is removed and hence the MIME database is not updated. A workaround is to add "image/vnd.djvu" to "/usr/lib64/evince/4/backends/djvudocument.evince-backend". *** Bug 1513710 has been marked as a duplicate of this bug. *** *** Bug 1507305 has been marked as a duplicate of this bug. *** My solution was to uninstall the djvulibre package (Evince only needs djvulibre-libs), manually remove the xml files and update mime info database. The conclusion reached in GNOME bugzilla (https://bugzilla.gnome.org/show_bug.cgi?id=787481) is that it was a problem in the upstream package, so I opened a ticket in sourceforge (https://sourceforge.net/p/djvu/bugs/283/). I also added a work-around to shared-mime-info, because this still seems to be a problem in Fedora 27. https://bugzilla.gnome.org/show_bug.cgi?id=787481#c23 Since a fix for the bug #1514085 just got into stable I'll wait 1 week before removing the "djvulibre-mime.xml" from djvulibre so that the update is done by updated rpm and the trigger works. I've just removed the "djvulibre-mime.xml" file from djvulibre (djvulibre-3.5.27-5.fc27). If the issue still shows up try to update "rpm" package (to at least rpm-4.14.1-1.fc27) and reinstall djvulibre after that ("dnf reinstall "djvulibre*"").
djvulibre-3.5.27-5.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-d964753372 djvulibre-3.5.27-5.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-d964753372 djvulibre-3.5.27-5.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report. |