Ticket #573 (closed enhancement: fixed)
Opened 3 years ago
Last modified 2 years ago
Add ebook-tools-0.2.1
| Reported by: | cipri | Owned by: | cipri |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | app-text/ebook-tools | Version: | |
| Severity: | normal | Keywords: | |
| Cc: |
Description
bep is attached.
It's needed for reading epub files (i will need it later in DocumentViewer?).
It has libzip as dependency.
Attachments
Change History
Changed 3 years ago by cipri
- attachment ebook-tools-0.2.1.bep added
comment:1 Changed 3 years ago by cipri
comment:2 Changed 3 years ago by cipri
i forgot to mention (in the bep file.. that it also depends on cmake. So perhaps one can edit it.
comment:3 Changed 3 years ago by scottmc
- Component changed from media-libs/FreeImage to app-text/ebook-tools
- Owner changed from michaelvoliveira to cipri
comment:4 Changed 3 years ago by scottmc
Added in r1912, fix attempt one added in r1918, still broken. Fails with
[ 33%] Building C object src/libepub/CMakeFiles/epub.dir/ocf.o
In file included from /boot/common/include/iconv.h:106,
from /boot/common/include/libxml2/libxml/encoding.h:28,
from /boot/common/include/libxml2/libxml/parser.h:807,
from /boot/common/include/libxml2/libxml/globals.h:18,
from /boot/common/include/libxml2/libxml/threads.h:35,
from /boot/common/include/libxml2/libxml/xmlmemory.h:218,
from /boot/common/include/libxml2/libxml/tree.h:1248,
from /boot/common/include/libxml2/libxml/xmlreader.h:14,
from /boot/common/develop/haikuports/app-text/ebook-tools/work/ebook-tools-0.2.1/src/libepub/epublib.h:13,
from /boot/common/develop/haikuports/app-text/ebook-tools/work/ebook-tools-0.2.1/src/libepub/ocf.c:1:
/boot/develop/headers/posix/wchar.h:106: warning: declaration of `time' shadows global declaration
/boot/common/develop/haikuports/app-text/ebook-tools/work/ebook-tools-0.2.1/src/libepub/ocf.c: In function `_ocf_parse_container':
/boot/common/develop/haikuports/app-text/ebook-tools/work/ebook-tools-0.2.1/src/libepub/ocf.c:28: parse error before `char'
/boot/common/develop/haikuports/app-text/ebook-tools/work/ebook-tools-0.2.1/src/libepub/ocf.c:30: `containerXml' undeclared (first use in this function)
/boot/common/develop/haikuports/app-text/ebook-tools/work/ebook-tools-0.2.1/src/libepub/ocf.c:30: (Each undeclared identifier is reported only once
/boot/common/develop/haikuports/app-text/ebook-tools/work/ebook-tools-0.2.1/src/libepub/ocf.c:30: for each function it appears in.)
/boot/common/develop/haikuports/app-text/ebook-tools/work/ebook-tools-0.2.1/src/libepub/ocf.c:33: parse error before `reader'
/boot/common/develop/haikuports/app-text/ebook-tools/work/ebook-tools-0.2.1/src/libepub/ocf.c:36: `reader' undeclared (first use in this function)
/boot/common/develop/haikuports/app-text/ebook-tools/work/ebook-tools-0.2.1/src/libepub/ocf.c:37: `name' undeclared (first use in this function)
/boot/common/develop/haikuports/app-text/ebook-tools/work/ebook-tools-0.2.1/src/libepub/ocf.c:39: `ret' undeclared (first use in this function)
/boot/common/develop/haikuports/app-text/ebook-tools/work/ebook-tools-0.2.1/src/libepub/ocf.c: In function `_ocf_get_file':
/boot/common/develop/haikuports/app-text/ebook-tools/work/ebook-tools-0.2.1/src/libepub/ocf.c:172: parse error before `int'
/boot/common/develop/haikuports/app-text/ebook-tools/work/ebook-tools-0.2.1/src/libepub/ocf.c:173: `size' undeclared (first use in this function)
/boot/common/develop/haikuports/app-text/ebook-tools/work/ebook-tools-0.2.1/src/libepub/ocf.c:194: warning: control reaches end of non-void function
/boot/common/develop/haikuports/app-text/ebook-tools/work/ebook-tools-0.2.1/src/libepub/ocf.c: In function `_ocf_parse':
/boot/common/develop/haikuports/app-text/ebook-tools/work/ebook-tools-0.2.1/src/libepub/ocf.c:206: parse error before `struct'
/boot/common/develop/haikuports/app-text/ebook-tools/work/ebook-tools-0.2.1/src/libepub/ocf.c:207: `ocf' undeclared (first use in this function)
/boot/common/develop/haikuports/app-text/ebook-tools/work/ebook-tools-0.2.1/src/libepub/ocf.c: In function `_ocf_get_data_file':
/boot/common/develop/haikuports/app-text/ebook-tools/work/ebook-tools-0.2.1/src/libepub/ocf.c:254: parse error before `char'
/boot/common/develop/haikuports/app-text/ebook-tools/work/ebook-tools-0.2.1/src/libepub/ocf.c:256: `fullname' undeclared (first use in this function)
make[2]: *** [src/libepub/CMakeFiles/epub.dir/ocf.o] Error 1
make[1]: *** [src/libepub/CMakeFiles/epub.dir/all] Error 2
make: *** [all] Error 2
This was with gcc2, gcc4 may yield different results.
comment:5 Changed 3 years ago by cipri
i have the cmake 2.4.9 installed and libzip 0.10.1 and now it compiles fine with gcc4 and also the optionalpackage is build. My build machine is a nightly hrev 44228. So perhaps someelse can try to build it with gcc4 too and confirm if it builds or not on gcc4.
comment:6 Changed 2 years ago by scottmc
- Resolution set to fixed
- Status changed from new to closed
updated in r2318.

this bep files is in fact working. It just depends on libzip which at the moment is broken. So perhaps someone wants to take a look at libzip.