HaikuPorts
  • Login
  • Preferences
  • Help/Guide
  • Wiki
  • Timeline
  • Roadmap
  • View Tickets
  • Search
  • Port Log
  • Blog

Context Navigation

  • ← Previous Ticket
  • Next Ticket →

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

djvulibre-3.5.24.patch​ (441 bytes) - added by cipri 3 years ago.
djvulibre-3.5.24.bep​ (664 bytes) - added by cipri 3 years ago.
djvulibre-3.5.25.patch​ (498 bytes) - added by cipri 3 years ago.

Download all attachments as: .zip

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

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

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
Note: See TracTickets for help on using tickets.

Download in other formats:

  • Comma-delimited Text
  • Tab-delimited Text
  • RSS Feed

Trac Powered

Powered by Trac 0.13dev-r10686
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/