From owner-svn-ports-all@freebsd.org Wed Feb 21 03:14:50 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8E94AF24F3F; Wed, 21 Feb 2018 03:14:50 +0000 (UTC) (envelope-from lwhsu@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3FC6D812BF; Wed, 21 Feb 2018 03:14:50 +0000 (UTC) (envelope-from lwhsu@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 3A7ED12DE1; Wed, 21 Feb 2018 03:14:50 +0000 (UTC) (envelope-from lwhsu@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w1L3Eoij060832; Wed, 21 Feb 2018 03:14:50 GMT (envelope-from lwhsu@FreeBSD.org) Received: (from lwhsu@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w1L3Enuj060826; Wed, 21 Feb 2018 03:14:49 GMT (envelope-from lwhsu@FreeBSD.org) Message-Id: <201802210314.w1L3Enuj060826@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: lwhsu set sender to lwhsu@FreeBSD.org using -f From: Li-Wen Hsu Date: Wed, 21 Feb 2018 03:14:49 +0000 (UTC) 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 X-SVN-Group: ports-head X-SVN-Commit-Author: lwhsu X-SVN-Commit-Paths: in head/textproc: . libqxp libqxp/files X-SVN-Commit-Revision: 462472 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Feb 2018 03:14:50 -0000 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 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 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 + #include + #include ++#include + + #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