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

Context Navigation

  • ← Previous Ticket
  • Next Ticket →

Ticket #571 (closed task: fixed)

Opened 3 years ago

Last modified 3 years ago

Add Chmlib

Reported by: cipri Owned by: michaelvoliveira
Priority: normal Milestone:
Component: dev-libs/chmlib Version:
Severity: normal Keywords:
Cc:

Description

lib for reading chm files. We be needed be DocumentViewer? later.

Attachments

chmlib-0.40.bep​ (560 bytes) - added by cipri 3 years ago.

Download all attachments as: .zip

Change History

Changed 3 years ago by cipri

  • attachment chmlib-0.40.bep​ added

comment:1 Changed 3 years ago by scottmc

  • Component changed from media-libs/FreeImage to dev-libs/chmlib

comment:2 Changed 3 years ago by cipri

seems the bep file needs a little adjustment. The configure script needs to be marked as executable.
That means, that in the line right before running "configure" one needs to add for example the line: chmod 755 ./configure

with the change the package is built successfully with the "-d" option.

comment:3 Changed 3 years ago by scottmc

  • Resolution set to fixed
  • Status changed from new to closed

The COPYRIGHT section in a bep does not need the "(C) Copyright" part, that is put in by Haiku later on. For the LICENSE entry make sure it has the EXACT name that is used in the license files located in /boot/system/data/licenses or /boot/common/data/licenses, Haikuporter should detect if you have the wrong format of the name as there will be no matches. In the rare case where the package has a license other than one listed in those two locations, create a LICENSE folder and copy the license file into it.
Also avoid using old hacks like --build=i586-pc-beos
See the bep file that was added in r1926.
Note that it creates both the static and shared libs, plus avoids the -lpthread error by using sed to remove it.
Verified to work on gcc2, can you recheck on gcc4?

comment:4 Changed 3 years ago by cipri

Recheck done. It works perfectly. Thank you. Now all the dependencies of DocumentViewer? are ported, even for all future filetype support that i planned to add to it.

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/