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
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
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.

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.