pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/converters/libmspub libmspub: update to 0.1.3.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/adff70cbf692
branches:  trunk
changeset: 373800:adff70cbf692
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Jan 10 10:17:05 2018 +0000

description:
libmspub: update to 0.1.3.

libmspub 0.1.3

- Workaround a build error on some 32-bit systems.
- Parse table row and column sizes. (tdf#89061)
- Fix various problems when parsing broken files, found with the help of
  american-fuzzy-lop and oss-fuzz.
- Make the output of pub2foo --help more compatible with help2man.
- Extract more metadata from documents.
- Require C++11 for build.
- Drop outdated MSVC project files.
- Handle table cells containing multiple paragraphs correctly. (tdf#89393)
- Parse more text formatting attributes: all underline types, small
  caps, all caps, outline, emboss, engrave, shadow.
- Parse text language.
- Various minor changes and improvements.

diffstat:

 converters/libmspub/Makefile                                |   5 +--
 converters/libmspub/distinfo                                |  12 ++++------
 converters/libmspub/patches/patch-configure                 |  15 -------------
 converters/libmspub/patches/patch-src_lib_MSPUBMetaData.cpp |  15 -------------
 4 files changed, 7 insertions(+), 40 deletions(-)

diffs (68 lines):

diff -r ea134afa5915 -r adff70cbf692 converters/libmspub/Makefile
--- a/converters/libmspub/Makefile      Wed Jan 10 10:12:43 2018 +0000
+++ b/converters/libmspub/Makefile      Wed Jan 10 10:17:05 2018 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.27 2018/01/01 21:18:06 adam Exp $
+# $NetBSD: Makefile,v 1.28 2018/01/10 10:17:05 wiz Exp $
 
-DISTNAME=      libmspub-0.1.2
-PKGREVISION=   14
+DISTNAME=      libmspub-0.1.3
 CATEGORIES=    converters
 MASTER_SITES=  http://dev-www.libreoffice.org/src/libmspub/
 EXTRACT_SUFX=  .tar.xz
diff -r ea134afa5915 -r adff70cbf692 converters/libmspub/distinfo
--- a/converters/libmspub/distinfo      Wed Jan 10 10:12:43 2018 +0000
+++ b/converters/libmspub/distinfo      Wed Jan 10 10:17:05 2018 +0000
@@ -1,8 +1,6 @@
-$NetBSD: distinfo,v 1.5 2015/11/03 01:43:50 agc Exp $
+$NetBSD: distinfo,v 1.6 2018/01/10 10:17:05 wiz Exp $
 
-SHA1 (libmspub-0.1.2.tar.xz) = e1bab3a4be9215b69700dcdb81cf27e194097776
-RMD160 (libmspub-0.1.2.tar.xz) = d7b57b74503fab484d694042af109febaec57bb4
-SHA512 (libmspub-0.1.2.tar.xz) = c19025a2b887c33f5966b0972204ab2a8ae841b82df38eaf53c0cdc8f99d93cccab5e1c78143a79d5aef9c7a7387bd6f2cf34833a00861058e0e4687f48be714
-Size (libmspub-0.1.2.tar.xz) = 345556 bytes
-SHA1 (patch-configure) = 6e06700444a6dbde7a34de9df96b37291a9a6830
-SHA1 (patch-src_lib_MSPUBMetaData.cpp) = bdc6f44f44a2cc059b6918d742d8d184c707571f
+SHA1 (libmspub-0.1.3.tar.xz) = 7bfeb84b75142a180a0ababf946c760e122cd5f4
+RMD160 (libmspub-0.1.3.tar.xz) = 0a5f13ee67c10fced4cb76147faaad245f43624e
+SHA512 (libmspub-0.1.3.tar.xz) = 3d3680a732c84f7817cf079ae458f56e1eac14663014d48c29f54a6b4dfee887c2cc296a6d6e00d2e05329126414e6513cd7d1187c760ce952c72c27a7ccda46
+Size (libmspub-0.1.3.tar.xz) = 377716 bytes
diff -r ea134afa5915 -r adff70cbf692 converters/libmspub/patches/patch-configure
--- a/converters/libmspub/patches/patch-configure       Wed Jan 10 10:12:43 2018 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-$NetBSD: patch-configure,v 1.1 2015/01/04 23:30:21 wiz Exp $
-
-Fix unportable test(1) comparison operator.
-
---- configure.orig     2014-12-30 17:23:13.000000000 +0000
-+++ configure
-@@ -17053,7 +17053,7 @@ else
- fi
- 
- 
--if test $platform_win32 == yes; then :
-+if test $platform_win32 = yes; then :
- 
- else
- 
diff -r ea134afa5915 -r adff70cbf692 converters/libmspub/patches/patch-src_lib_MSPUBMetaData.cpp
--- a/converters/libmspub/patches/patch-src_lib_MSPUBMetaData.cpp       Wed Jan 10 10:12:43 2018 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-$NetBSD: patch-src_lib_MSPUBMetaData.cpp,v 1.1 2015/08/25 08:15:18 richard Exp $
-use std::pow in order to avoid:
-call of overloaded 'pow(int, uint16_t&)' is ambiguous
-
---- src/lib/MSPUBMetaData.cpp.orig     2014-12-30 11:42:44.000000000 +0000
-+++ src/lib/MSPUBMetaData.cpp
-@@ -194,7 +194,7 @@ bool libmspub::MSPUBMetaData::parseTimes
-   uint32_t firstDirSectorLocation = readU32(input);
- 
-   // Seek to the Root Directory Entry
--  size_t sectorSize = pow(2, sectorShift);
-+  size_t sectorSize = std::pow(2, sectorShift);
-   input->seek((firstDirSectorLocation + 1) * sectorSize, librevenge::RVNG_SEEK_SET);
-   // DirectoryEntryName: 64 bytes
-   // DirectoryEntryNameLength: 2 bytes



Home | Main Index | Thread Index | Old Index