Ravenports generated: 10 Mar 2019 23:41
[ravenports.git] / bucket_83 / libvisio
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               libvisio
4 VERSION=                0.1.6
5 KEYWORDS=               textproc devel
6 VARIANTS=               standard
7 SDESC[standard]=        Import filter and tools for MS Visio Diagrams
8 HOMEPAGE=               https://wiki.documentfoundation.org/DLP/Libraries/libvisio
9 CONTACT=                nobody
10
11 DOWNLOAD_GROUPS=        main
12 SITES[main]=            https://dev-www.libreoffice.org/src/libvisio/
13 DISTFILE[1]=            libvisio-0.1.6.tar.xz:main
14 DF_INDEX=               1
15 SPKGS[standard]=        single
16
17 OPTIONS_AVAILABLE=      none
18 OPTIONS_STANDARD=       none
19
20 BUILD_DEPENDS=          gperf:single:standard
21                         boost-libraries:rest:python_default
22                         cppunit:single:standard
23 BUILDRUN_DEPENDS=       librevenge:single:standard
24                         icu:single:standard
25
26 USES=                   perl:build pkgconfig gmake libtool
27 GNOME_COMPONENTS=       libxml2
28
29 LICENSE=                MPL:single
30 LICENSE_FILE=           MPL:{{WRKSRC}}/COPYING.MPL
31 LICENSE_SCHEME=         solo
32
33 FPC_EQUIVALENT=         textproc/libvisio01
34
35 MUST_CONFIGURE=         gnu
36 CONFIGURE_ARGS=         --disable-test
37                         --disable-werror
38                         --without-docs
39
40 INSTALL_TARGET=         install-strip
41 SOVERSION=              1.0.6
42 PLIST_SUB=              VER=0.1
43
44 [FILE:88:descriptions/desc.single]
45 This package contains a library and tools for parsing the visio file
46 format structure.
47
48
49
50 [FILE:100:distinfo]
51 fe1002d3671d53c09bc65e47ec948ec7b67e6fb112ed1cd10966e211a8bb50f9       676396 libvisio-0.1.6.tar.xz
52
53
54 [FILE:257:manifests/plist.single]
55 bin/
56  vsd2raw
57  vsd2text
58  vsd2xhtml
59  vss2raw
60  vss2text
61  vss2xhtml
62 include/libvisio-%%VER%%/libvisio/
63  VisioDocument.h
64  libvisio.h
65 lib/
66  libvisio-%%VER%%.so
67  libvisio-%%VER%%.so.%%SOMAJOR%%
68  libvisio-%%VER%%.so.%%SOVERSION%%
69 lib/pkgconfig/libvisio-%%VER%%.pc
70
71
72 [FILE:493:patches/patch-src__lib__VSDMetaData.cpp]
73 --- src/lib/VSDMetaData.cpp.orig        2015-07-25 07:17:57 UTC
74 +++ src/lib/VSDMetaData.cpp
75 @@ -302,7 +302,7 @@ bool libvisio::VSDMetaData::parseTimes(l
76    uint32_t firstDirSectorLocation = readU32(input);
77  
78    // Seek to the Root Directory Entry
79 -  size_t sectorSize = std::pow(2, sectorShift);
80 +  size_t sectorSize = 1UL << sectorShift;
81    input->seek((firstDirSectorLocation + 1) * sectorSize, librevenge::RVNG_SEEK_SET);
82    // DirectoryEntryName: 64 bytes
83    // DirectoryEntryNameLength: 2 bytes
84