Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Feb 2018 03:14:49 +0000 (UTC)
From:      Li-Wen Hsu <lwhsu@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r462472 - in head/textproc: . libqxp libqxp/files
Message-ID:  <201802210314.w1L3Enuj060826@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: lwhsu
Date: Wed Feb 21 03:14:49 2018
New Revision: 462472
URL: https://svnweb.freebsd.org/changeset/ports/462472

Log:
  Add textproc/libqxp, library for parsing QuarkXPress documents
  
  PR:		224284
  Submitted by:	Greg V <greg@unrelenting.technology>

Added:
  head/textproc/libqxp/
  head/textproc/libqxp/Makefile   (contents, props changed)
  head/textproc/libqxp/distinfo   (contents, props changed)
  head/textproc/libqxp/files/
  head/textproc/libqxp/files/patch-src_lib_QXPBlockParser.cpp   (contents, props changed)
  head/textproc/libqxp/pkg-descr   (contents, props changed)
  head/textproc/libqxp/pkg-plist   (contents, props changed)
Modified:
  head/textproc/Makefile

Modified: head/textproc/Makefile
==============================================================================
--- head/textproc/Makefile	Wed Feb 21 03:12:49 2018	(r462471)
+++ head/textproc/Makefile	Wed Feb 21 03:14:49 2018	(r462472)
@@ -434,6 +434,7 @@
     SUBDIR += libnxml
     SUBDIR += libodfgen01
     SUBDIR += libparsifal
+    SUBDIR += libqxp
     SUBDIR += librevenge
     SUBDIR += libsass
     SUBDIR += libsoldout

Added: head/textproc/libqxp/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/libqxp/Makefile	Wed Feb 21 03:14:49 2018	(r462472)
@@ -0,0 +1,44 @@
+# $FreeBSD$
+
+PORTNAME=	libqxp
+PORTVERSION=	0.0.0
+CATEGORIES=	textproc
+MASTER_SITES=	https://dev-www.libreoffice.org/src/${PORTNAME}/
+
+MAINTAINER=	greg@unrelenting.technology
+COMMENT=	Library for parsing QuarkXPress documents
+
+LICENSE=	MPL20
+
+LIB_DEPENDS=	librevenge-0.0.so:textproc/librevenge \
+		libicui18n.so:devel/icu
+		#libicui18n.so:devel/icu \
+		#libicuuc.so:devel/icu \
+		#libicudata.so:devel/icu
+BUILD_DEPENDS=	${LOCALBASE}/include/boost/math/constants/constants.hpp:devel/boost-libs \
+		${LOCALBASE}/include/boost/optional.hpp:devel/boost-libs \
+		${LOCALBASE}/include/boost/variant.hpp:devel/boost-libs \
+		${LOCALBASE}/include/boost/range/adaptor/reversed.hpp:devel/boost-libs \
+		${LOCALBASE}/include/boost/cstdint.hpp:devel/boost-libs
+
+CONFIGURE_ARGS=	--disable-werror
+CPPFLAGS+=	-I${LOCALBASE}/include
+
+GNU_CONFIGURE=	yes
+USES=		compiler:features libtool pathfix pkgconfig tar:xz
+USE_LDCONFIG=	yes
+INSTALL_TARGET=	install-strip
+
+OPTIONS_DEFINE=	DOXYGEN TEST
+OPTIONS_DEFAULT=
+OPTIONS_SUB=	yes
+
+TEST_TARGET=		check
+TEST_LIB_DEPENDS=	libcppunit.so:devel/cppunit
+TEST_CONFIGURE_ENABLE=	tests
+
+PORTDOCS=		*
+DOXYGEN_BUILD_DEPENDS=	doxygen:devel/doxygen
+DOXYGEN_CONFIGURE_OFF=	--without-docs
+
+.include <bsd.port.mk>

Added: head/textproc/libqxp/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/libqxp/distinfo	Wed Feb 21 03:14:49 2018	(r462472)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1513087591
+SHA256 (libqxp-0.0.0.tar.xz) = 0dd32afbf1c889debc28848b260c1bdc0eba5f57504476b787e164f7c59776d5
+SIZE (libqxp-0.0.0.tar.xz) = 337292

Added: head/textproc/libqxp/files/patch-src_lib_QXPBlockParser.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/libqxp/files/patch-src_lib_QXPBlockParser.cpp	Wed Feb 21 03:14:49 2018	(r462472)
@@ -0,0 +1,13 @@
+Fixes FreeBSD 10 build error:
+
+QXPBlockParser.cpp:60:12: error: use of undeclared identifier 'abs'; did you mean 'fabs'?
+--- src/lib/QXPBlockParser.cpp.orig	2018-02-07 14:08:00 UTC
++++ src/lib/QXPBlockParser.cpp
+@@ -13,6 +13,7 @@
+ #include <algorithm>
+ #include <memory>
+ #include <vector>
++#include <cstdlib>
+ 
+ #include "QXPHeader.h"
+ 

Added: head/textproc/libqxp/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/libqxp/pkg-descr	Wed Feb 21 03:14:49 2018	(r462472)
@@ -0,0 +1,4 @@
+libqxp is a library that parses the file format of QuarkXPress documents.
+Currently it only understands documents created by QuarkXPress 3.1 to 4.1.
+
+WWW: https://wiki.documentfoundation.org/DLP/Libraries/libqxp

Added: head/textproc/libqxp/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/libqxp/pkg-plist	Wed Feb 21 03:14:49 2018	(r462472)
@@ -0,0 +1,11 @@
+bin/qxp2raw
+bin/qxp2svg
+bin/qxp2text
+include/libqxp-0.0/libqxp/QXPDocument.h
+include/libqxp-0.0/libqxp/QXPPathResolver.h
+include/libqxp-0.0/libqxp/libqxp.h
+include/libqxp-0.0/libqxp/libqxp_api.h
+lib/libqxp-0.0.so
+lib/libqxp-0.0.so.0
+lib/libqxp-0.0.so.0.0.0
+libdata/pkgconfig/libqxp-0.0.pc



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802210314.w1L3Enuj060826>