Ravenports generated: 29 Apr 2020 23:59
[ravenports.git] / bucket_F8 / libfreehand
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               libfreehand
4 VERSION=                0.1.2
5 KEYWORDS=               graphics
6 VARIANTS=               standard
7 SDESC[standard]=        Library for import of FreeHand drawings
8 HOMEPAGE=               https://wiki.documentfoundation.org/DLP/Libraries/libfreehand
9 CONTACT=                nobody
10
11 DOWNLOAD_GROUPS=        main
12 SITES[main]=            https://dev-www.libreoffice.org/src/libfreehand/
13 DISTFILE[1]=            libfreehand-0.1.2.tar.xz:main
14 DF_INDEX=               1
15 SPKGS[standard]=        single
16
17 OPTIONS_AVAILABLE=      none
18 OPTIONS_STANDARD=       none
19
20 BUILD_DEPENDS=          boost-libraries:rest:python_default
21                         icu:single:standard
22                         gperf:primary:standard
23                         cppunit:single:standard
24 BUILDRUN_DEPENDS=       librevenge:single:standard
25                         lcms2:primary:standard
26
27 USES=                   perl:build pkgconfig libtool zlib
28
29 FPC_EQUIVALENT=         graphics/libfreehand
30
31 MUST_CONFIGURE=         gnu
32 CONFIGURE_ARGS=         --disable-werror
33                         --without-docs
34
35 INSTALL_TARGET=         install-strip
36 SOVERSION=              1.0.2
37 PLIST_SUB=              VER=0.1
38
39 [FILE:117:descriptions/desc.single]
40 Libfreehand is library providing ability to interpret and import
41 Adobe/Macromedia drawings into various applications
42
43
44 [FILE:103:distinfo]
45 0e422d1564a6dbf22a9af598535425271e583514c0f7ba7d9091676420de34ac       516132 libfreehand-0.1.2.tar.xz
46
47
48 [FILE:246:manifests/plist.single]
49 bin/
50  fh2raw
51  fh2svg
52  fh2text
53 include/libfreehand-%%VER%%/libfreehand/
54  FreeHandDocument.h
55  libfreehand.h
56 lib/
57  libfreehand-%%VER%%.so
58  libfreehand-%%VER%%.so.%%SOMAJOR%%
59  libfreehand-%%VER%%.so.%%SOVERSION%%
60 lib/pkgconfig/libfreehand-%%VER%%.pc
61
62
63 [FILE:1762:patches/patch-src_lib_libfreehand__utils.cpp]
64 Regressed by https://github.com/unicode-org/icu/commit/480bec3ea652
65
66 libfreehand_utils.cpp:165:30: error: expected ';' after do/while statement
67     U16_NEXT(s, j, length, c)
68                              ^
69                              ;
70 libfreehand_utils.cpp:168:23: error: use of undeclared identifier 'outbuf'
71     U8_APPEND_UNSAFE(&outbuf[0], i, c);
72                       ^
73 libfreehand_utils.cpp:168:23: error: use of undeclared identifier 'outbuf'
74 libfreehand_utils.cpp:168:23: error: use of undeclared identifier 'outbuf'
75 libfreehand_utils.cpp:168:23: error: use of undeclared identifier 'outbuf'
76 libfreehand_utils.cpp:168:23: error: use of undeclared identifier 'outbuf'
77 libfreehand_utils.cpp:168:23: error: use of undeclared identifier 'outbuf'
78 libfreehand_utils.cpp:168:23: error: use of undeclared identifier 'outbuf'
79 libfreehand_utils.cpp:169:5: error: use of undeclared identifier 'outbuf'; did you mean 'setbuf'?
80     outbuf[i] = 0;
81     ^~~~~~
82     setbuf
83 /usr/include/stdio.h:283:7: note: 'setbuf' declared here
84 void     setbuf(FILE * __restrict, char * __restrict);
85          ^
86 libfreehand_utils.cpp:169:5: error: subscript of pointer to function type 'void (FILE *, char *)' (aka 'void (__sFILE *, char *)')
87     outbuf[i] = 0;
88     ^~~~~~
89 libfreehand_utils.cpp:171:25: error: use of undeclared identifier 'outbuf'
90     text.append((char *)outbuf);
91                         ^
92
93 --- src/lib/libfreehand_utils.cpp.orig  2017-09-16 10:28:50 UTC
94 +++ src/lib/libfreehand_utils.cpp
95 @@ -162,7 +162,7 @@ void libfreehand::_appendUTF16(librevenge::RVNGString 
96    while (j < length)
97    {
98      UChar32 c;
99 -    U16_NEXT(s, j, length, c)
100 +    U16_NEXT(s, j, length, c);
101      unsigned char outbuf[U8_MAX_LENGTH+1];
102      int i = 0;
103      U8_APPEND_UNSAFE(&outbuf[0], i, c);
104