Ticket #570 (closed enhancement: fixed)
Opened 3 years ago
Last modified 3 years ago
Porting djvu libre (libjdvu)
| Reported by: | cipri | Owned by: | michaelvoliveira |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | media-libs/FreeImage | Version: | |
| Severity: | normal | Keywords: | |
| Cc: |
Description
Porting djvu libre (in fact just libdjvu). I need libdjvu for the DocumentViewer? for displaying DjVu? - Files.
The little patch file is attached, also the .bep file.
Remark:
while running make, not everything will successfully compile (something related to mini lisp), but libdjvu is compiled, and just libdjvu is needed. (the djvu-tools are not needed, at least not for me).
Attachments
Change History
Changed 3 years ago by cipri
- attachment djvulibre-3.5.24.patch added
Changed 3 years ago by cipri
- attachment djvulibre-3.5.24.bep added
comment:1 Changed 3 years ago by scottmc
comment:2 Changed 3 years ago by cipri
but there is a patch attached.
did you apply it?
As i remember there is a fail-message, (related to mini-lisp), but the needed libs are still built (libdjvu).
the whole djvulibre contains of a lot of stuff (also a djvu-viewer, but from all that, just the libdjvu lib is need, which compiles). (Because I used libdjvu already in the latest version of the documentviewer).
Changed 3 years ago by cipri
- attachment djvulibre-3.5.25.patch added
comment:3 Changed 3 years ago by cipri
now with the last patch version 3.5.25 compiles fine.
comment:4 Changed 3 years ago by scottmc
can you run "haikuporter -g" to update the tree and then "haikuporter -c -d djvulibre" and see if the latest addition of your patch will produce a .zip file at the end? I'm running a gcc2 haiku here and it's failing for me, so I have marked it as gcc4 only for now.
comment:5 Changed 3 years ago by cipri
done. It works. The .zip file is produced. I guess now the "broken" warning can be removed :-)
Thanks that it works now :-)
I guess now all the djvu tickets can be closed
comment:6 Changed 3 years ago by cipri
I tested now also the tools that are included in djvulibre and everything worked fine. So I think all tickets related to djvu can be closed?
comment:7 Changed 3 years ago by scottmc
Fixed man and data directories and marked as working for gcc4.
Applied in r1856.
comment:8 Changed 3 years ago by scottmc
- Resolution set to fixed
- Status changed from new to closed

Added in 3.5.25 in r1843, but it fails to build. Patches welcome.