Ravenports generated: 31 Mar 2024 17:29
[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:dev:standard
21                         icu:dev:standard
22                         gperf:primary:standard
23                         cppunit:single:standard
24                         lcms2:dev:standard
25                         librevenge:dev:standard
26 BUILDRUN_DEPENDS=       librevenge:primary:standard
27                         lcms2:primary:standard
28
29 USES=                   perl:build pkgconfig libtool zlib mbsdfix
30
31 FPC_EQUIVALENT=         graphics/libfreehand
32
33 MUST_CONFIGURE=         gnu
34 CONFIGURE_ARGS=         --disable-werror
35                         --without-docs
36
37 INSTALL_TARGET=         install-strip
38 SOVERSION=              1.0.2
39 PLIST_SUB=              VER=0.1
40
41 [FILE:117:descriptions/desc.single]
42 Libfreehand is library providing ability to interpret and import
43 Adobe/Macromedia drawings into various applications
44
45
46 [FILE:103:distinfo]
47 0e422d1564a6dbf22a9af598535425271e583514c0f7ba7d9091676420de34ac       516132 libfreehand-0.1.2.tar.xz
48
49
50 [FILE:246:manifests/plist.single]
51 bin/
52  fh2raw
53  fh2svg
54  fh2text
55 include/libfreehand-%%VER%%/libfreehand/
56  FreeHandDocument.h
57  libfreehand.h
58 lib/
59  libfreehand-%%VER%%.so
60  libfreehand-%%VER%%.so.%%SOMAJOR%%
61  libfreehand-%%VER%%.so.%%SOVERSION%%
62 lib/pkgconfig/libfreehand-%%VER%%.pc
63
64
65 [FILE:1762:patches/patch-src_lib_libfreehand__utils.cpp]
66 Regressed by https://github.com/unicode-org/icu/commit/480bec3ea652
67
68 libfreehand_utils.cpp:165:30: error: expected ';' after do/while statement
69     U16_NEXT(s, j, length, c)
70                              ^
71                              ;
72 libfreehand_utils.cpp:168:23: error: use of undeclared identifier 'outbuf'
73     U8_APPEND_UNSAFE(&outbuf[0], i, c);
74                       ^
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:168:23: error: use of undeclared identifier 'outbuf'
80 libfreehand_utils.cpp:168:23: error: use of undeclared identifier 'outbuf'
81 libfreehand_utils.cpp:169:5: error: use of undeclared identifier 'outbuf'; did you mean 'setbuf'?
82     outbuf[i] = 0;
83     ^~~~~~
84     setbuf
85 /usr/include/stdio.h:283:7: note: 'setbuf' declared here
86 void     setbuf(FILE * __restrict, char * __restrict);
87          ^
88 libfreehand_utils.cpp:169:5: error: subscript of pointer to function type 'void (FILE *, char *)' (aka 'void (__sFILE *, char *)')
89     outbuf[i] = 0;
90     ^~~~~~
91 libfreehand_utils.cpp:171:25: error: use of undeclared identifier 'outbuf'
92     text.append((char *)outbuf);
93                         ^
94
95 --- src/lib/libfreehand_utils.cpp.orig  2017-09-16 10:28:50 UTC
96 +++ src/lib/libfreehand_utils.cpp
97 @@ -162,7 +162,7 @@ void libfreehand::_appendUTF16(librevenge::RVNGString 
98    while (j < length)
99    {
100      UChar32 c;
101 -    U16_NEXT(s, j, length, c)
102 +    U16_NEXT(s, j, length, c);
103      unsigned char outbuf[U8_MAX_LENGTH+1];
104      int i = 0;
105      U8_APPEND_UNSAFE(&outbuf[0], i, c);
106