summaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2015-02-02 10:15:47 +0000
committeradam <adam@pkgsrc.org>2015-02-02 10:15:47 +0000
commit6af75da0d2c79815d7b1d205a14bf2f5ea2b7a9c (patch)
tree332e1a397ff957c2b97e6b24ffcf9cdbb58f953f /converters
parent3d8c0d64c07885012d26b5e5f1533413e0216dde (diff)
downloadpkgsrc-6af75da0d2c79815d7b1d205a14bf2f5ea2b7a9c.tar.gz
Changes 0.0.2:
- Better handling of invalid input in RVNGDirectoryStream functions. - Add documentation for RVNGDirectoryStream. - Add text:outline-level to allowed paragraph properties. This is to allow import libraries to handle headings properly. - Properly handle units in all generators, instead of expecting everything is in inches. - Implement open/closeGroup for RVNGSVGDrawingGenerator. - Improve handling of layers in RVNGSVGPresentationGenerator. - Handle master pages in RVNGSVGDrawingGenerator and RVNGSVGPresentationGenerator. - Simple handling of tables in RVNGSVGDrawingGenerator and RVNGSVGPresentationGenerator: just create a text box for each cell. - Fix return value of RVNGStringStream::seek when seeking to end. - Fix some warnings found by Coverity. - Use symbol visibility on Linux. The library only exports public functions now. - Fix several crashes or hangs when reading broken OLE2 or Zip files, found with the help of american-fuzzy-lop. - Add fo:language, fo:country and fo:script to allowed span properties. - Handle headings in RVNGHTMLTextGenerator.
Diffstat (limited to 'converters')
-rw-r--r--converters/librevenge/Makefile26
-rw-r--r--converters/librevenge/distinfo9
-rw-r--r--converters/librevenge/patches/patch-configre15
3 files changed, 34 insertions, 16 deletions
diff --git a/converters/librevenge/Makefile b/converters/librevenge/Makefile
index 31ee741c259..21c8606e403 100644
--- a/converters/librevenge/Makefile
+++ b/converters/librevenge/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.2 2014/11/29 00:44:49 joerg Exp $
+# $NetBSD: Makefile,v 1.3 2015/02/02 10:15:47 adam Exp $
-DISTNAME= librevenge-0.0.1
+DISTNAME= librevenge-0.0.2
CATEGORIES= converters
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libwpd/}
EXTRACT_SUFX= .tar.xz
@@ -10,24 +10,26 @@ HOMEPAGE= http://sourceforge.net/projects/libwpd/
COMMENT= Base library for writing document import filters
LICENSE= mpl-2.0
-GNU_CONFIGURE= yes
+USE_LANGUAGES= c c++
+USE_LIBTOOL= yes
+USE_TOOLS+= gmake pkg-config
+GNU_CONFIGURE= yes
+# Do not use -Werror, or configure will fail.
+CONFIGURE_ARGS+= --disable-werror
# needs doxygen (heavy dependency); in case someone is interested
# in this, make it a package option
CONFIGURE_ARGS+= --without-docs
-USE_LIBTOOL= yes
-USE_TOOLS+= gmake pkg-config
-USE_LANGUAGES= c++
PKGCONFIG_OVERRIDE+= librevenge-generators.pc.in
PKGCONFIG_OVERRIDE+= librevenge-stream.pc.in
PKGCONFIG_OVERRIDE+= librevenge.pc.in
-.include "../../mk/compiler.mk"
-.if !empty(PKGSRC_COMPILER:Mclang)
-CWRAPPERS_APPEND.cxx+= -Wno-error=unused-local-typedef \
- -Wno-error=unused-parameter \
- -Wno-error=shadow
-.endif
+#.include "../../mk/compiler.mk"
+#.if !empty(PKGSRC_COMPILER:Mclang)
+#CWRAPPERS_APPEND.cxx+= -Wno-error=unused-local-typedef \
+# -Wno-error=unused-parameter \
+# -Wno-error=shadow
+#.endif
.include "../../devel/boost-headers/buildlink3.mk"
.include "../../devel/cppunit/buildlink3.mk"
diff --git a/converters/librevenge/distinfo b/converters/librevenge/distinfo
index 4de44f6b5bf..791ec981779 100644
--- a/converters/librevenge/distinfo
+++ b/converters/librevenge/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1 2014/07/22 10:40:14 wiz Exp $
+$NetBSD: distinfo,v 1.2 2015/02/02 10:15:47 adam Exp $
-SHA1 (librevenge-0.0.1.tar.xz) = 8987ad4202035bf3bfa6d879fc689ecb9b4a80d9
-RMD160 (librevenge-0.0.1.tar.xz) = c556e738beed8f23455e53613ddc9c84a404f350
-Size (librevenge-0.0.1.tar.xz) = 390796 bytes
+SHA1 (librevenge-0.0.2.tar.xz) = 670c90182c4809ca8decb397c3b3970172775bc5
+RMD160 (librevenge-0.0.2.tar.xz) = a2bf1bcc62f59e223af6c8fdc04b937154e88426
+Size (librevenge-0.0.2.tar.xz) = 396628 bytes
+SHA1 (patch-configre) = 383b19cb9497328cbafa11024807216dc5e2edb2
diff --git a/converters/librevenge/patches/patch-configre b/converters/librevenge/patches/patch-configre
new file mode 100644
index 00000000000..393ae28b944
--- /dev/null
+++ b/converters/librevenge/patches/patch-configre
@@ -0,0 +1,15 @@
+$NetBSD: patch-configre,v 1.1 2015/02/02 10:15:47 adam Exp $
+
+Portability fix.
+
+--- configure.orig 2015-02-02 09:03:03.000000000 +0000
++++ configure
+@@ -16166,7 +16166,7 @@ else
+ fi
+
+
+-if test "x$platform_win32" == "xyes"; then :
++if test "x$platform_win32" = "xyes"; then :
+
+ else
+