Ravenports generated: 10 Feb 2024 22:55
[ravenports.git] / bucket_83 / libvisio
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               libvisio
4 VERSION=                0.1.7
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.7.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:primary:standard
21                         boost-libraries:dev:standard
22                         cppunit:single:standard
23                         icu:dev:standard
24                         librevenge:dev:standard
25 BUILDRUN_DEPENDS=       librevenge:primary:standard
26                         icu:primary:standard
27
28 USES=                   perl:build pkgconfig gmake libtool mbsdfix
29 GNOME_COMPONENTS=       libxml2
30
31 LICENSE=                MPL:single
32 LICENSE_FILE=           MPL:{{WRKSRC}}/COPYING.MPL
33 LICENSE_SCHEME=         solo
34
35 FPC_EQUIVALENT=         textproc/libvisio01
36
37 MUST_CONFIGURE=         gnu
38 CONFIGURE_ARGS=         --disable-test
39                         --disable-werror
40                         --without-docs
41
42 INSTALL_TARGET=         install-strip
43 SOVERSION=              1.0.7
44 PLIST_SUB=              VER=0.1
45
46 [FILE:88:descriptions/desc.single]
47 This package contains a library and tools for parsing the visio file
48 format structure.
49
50
51
52 [FILE:100:distinfo]
53 8faf8df870cb27b09a787a1959d6c646faa44d0d8ab151883df408b7166bea4c       854296 libvisio-0.1.7.tar.xz
54
55
56 [FILE:257:manifests/plist.single]
57 bin/
58  vsd2raw
59  vsd2text
60  vsd2xhtml
61  vss2raw
62  vss2text
63  vss2xhtml
64 include/libvisio-%%VER%%/libvisio/
65  VisioDocument.h
66  libvisio.h
67 lib/
68  libvisio-%%VER%%.so
69  libvisio-%%VER%%.so.%%SOMAJOR%%
70  libvisio-%%VER%%.so.%%SOVERSION%%
71 lib/pkgconfig/libvisio-%%VER%%.pc
72
73
74 [FILE:493:patches/patch-src__lib__VSDMetaData.cpp]
75 --- src/lib/VSDMetaData.cpp.orig        2017-10-21 14:38:56 UTC
76 +++ src/lib/VSDMetaData.cpp
77 @@ -312,7 +312,7 @@ bool libvisio::VSDMetaData::parseTimes(l
78    uint32_t firstDirSectorLocation = readU32(input);
79  
80    // Seek to the Root Directory Entry
81 -  size_t sectorSize = std::pow(2, sectorShift);
82 +  size_t sectorSize = 1UL << sectorShift;
83    input->seek((firstDirSectorLocation + 1) * sectorSize, librevenge::RVNG_SEEK_SET);
84    // DirectoryEntryName: 64 bytes
85    // DirectoryEntryNameLength: 2 bytes
86