Import orcus-0.12.0 as converters/orcus0.12.

Standalone file import filter library for spreadsheet documents.

This package contains the 0.12 branch of the library.
This commit is contained in:
wiz 2016-09-19 14:10:38 +00:00
parent 8941ebf726
commit 2d679751fa
6 changed files with 141 additions and 0 deletions

View file

@ -0,0 +1,3 @@
Standalone file import filter library for spreadsheet documents.
This package contains the 0.12 branch of the library.

View file

@ -0,0 +1,31 @@
# $NetBSD: Makefile,v 1.1 2016/09/19 14:10:38 wiz Exp $
DISTNAME= liborcus-0.12.0
PKGNAME= ${DISTNAME:S/lib//}
CATEGORIES= converters
MASTER_SITES= http://kohei.us/files/orcus/src/
EXTRACT_SUFX= .tar.xz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://gitlab.com/orcus/orcus
COMMENT= Import filter library for spreadsheet documents (0.12 branch)
LICENSE= mpl-2.0
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
USE_TOOLS+= gmake pkg-config
GNU_CONFIGURE= yes
# python detection completely broken
CONFIGURE_ARGS+= --disable-python
# needs unpackaged libixion
CONFIGURE_ARGS+= --disable-spreadsheet-model
CONFIGURE_ARGS+= --disable-werror
PKGCONFIG_OVERRIDE+= liborcus.pc.in
PTHREAD_AUTO_VARS= yes
.include "../../devel/boost-libs/buildlink3.mk"
.include "../../devel/mdds1.2/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -0,0 +1,70 @@
@comment $NetBSD: PLIST,v 1.1 2016/09/19 14:10:38 wiz Exp $
bin/orcus-css-dump
bin/orcus-detect
bin/orcus-json
bin/orcus-mso-encryption
bin/orcus-xml-dump
bin/orcus-yaml
bin/orcus-zip-dump
include/liborcus-0.12/orcus/base64.hpp
include/liborcus-0.12/orcus/cell_buffer.hpp
include/liborcus-0.12/orcus/config.hpp
include/liborcus-0.12/orcus/css_document_tree.hpp
include/liborcus-0.12/orcus/css_parser.hpp
include/liborcus-0.12/orcus/css_parser_base.hpp
include/liborcus-0.12/orcus/css_selector.hpp
include/liborcus-0.12/orcus/css_types.hpp
include/liborcus-0.12/orcus/csv_parser.hpp
include/liborcus-0.12/orcus/csv_parser_base.hpp
include/liborcus-0.12/orcus/detail/parser_token_buffer.hpp
include/liborcus-0.12/orcus/detail/thread.hpp
include/liborcus-0.12/orcus/dom_tree.hpp
include/liborcus-0.12/orcus/env.hpp
include/liborcus-0.12/orcus/exception.hpp
include/liborcus-0.12/orcus/format_detection.hpp
include/liborcus-0.12/orcus/global.hpp
include/liborcus-0.12/orcus/info.hpp
include/liborcus-0.12/orcus/interface.hpp
include/liborcus-0.12/orcus/json_document_tree.hpp
include/liborcus-0.12/orcus/json_global.hpp
include/liborcus-0.12/orcus/json_parser.hpp
include/liborcus-0.12/orcus/json_parser_base.hpp
include/liborcus-0.12/orcus/json_parser_thread.hpp
include/liborcus-0.12/orcus/measurement.hpp
include/liborcus-0.12/orcus/mso/encryption_info.hpp
include/liborcus-0.12/orcus/orcus_csv.hpp
include/liborcus-0.12/orcus/orcus_gnumeric.hpp
include/liborcus-0.12/orcus/orcus_import_ods.hpp
include/liborcus-0.12/orcus/orcus_import_xlsx.hpp
include/liborcus-0.12/orcus/orcus_ods.hpp
include/liborcus-0.12/orcus/orcus_xls_xml.hpp
include/liborcus-0.12/orcus/orcus_xlsx.hpp
include/liborcus-0.12/orcus/orcus_xml.hpp
include/liborcus-0.12/orcus/parser_base.hpp
include/liborcus-0.12/orcus/parser_global.hpp
include/liborcus-0.12/orcus/pstring.hpp
include/liborcus-0.12/orcus/sax_ns_parser.hpp
include/liborcus-0.12/orcus/sax_parser.hpp
include/liborcus-0.12/orcus/sax_parser_base.hpp
include/liborcus-0.12/orcus/sax_token_parser.hpp
include/liborcus-0.12/orcus/sax_token_parser_thread.hpp
include/liborcus-0.12/orcus/spreadsheet/export_interface.hpp
include/liborcus-0.12/orcus/spreadsheet/import_interface.hpp
include/liborcus-0.12/orcus/spreadsheet/types.hpp
include/liborcus-0.12/orcus/stream.hpp
include/liborcus-0.12/orcus/string_pool.hpp
include/liborcus-0.12/orcus/threaded_json_parser.hpp
include/liborcus-0.12/orcus/threaded_sax_token_parser.hpp
include/liborcus-0.12/orcus/tokens.hpp
include/liborcus-0.12/orcus/types.hpp
include/liborcus-0.12/orcus/xml_namespace.hpp
include/liborcus-0.12/orcus/xml_structure_tree.hpp
include/liborcus-0.12/orcus/yaml_document_tree.hpp
include/liborcus-0.12/orcus/yaml_parser.hpp
include/liborcus-0.12/orcus/yaml_parser_base.hpp
include/liborcus-0.12/orcus/zip_archive.hpp
include/liborcus-0.12/orcus/zip_archive_stream.hpp
lib/liborcus-0.12.la
lib/liborcus-mso-0.12.la
lib/liborcus-parser-0.12.la
lib/pkgconfig/liborcus-0.12.pc

View file

@ -0,0 +1,15 @@
# $NetBSD: buildlink3.mk,v 1.1 2016/09/19 14:10:38 wiz Exp $
BUILDLINK_TREE+= orcus
.if !defined(ORCUS_BUILDLINK3_MK)
ORCUS_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.orcus+= orcus>=0.9.0
BUILDLINK_PKGSRCDIR.orcus?= ../../converters/orcus
#.include "../../devel/boost-libs/buildlink3.mk"
#.include "../../devel/zlib/buildlink3.mk"
.endif # ORCUS_BUILDLINK3_MK
BUILDLINK_TREE+= -orcus

View file

@ -0,0 +1,7 @@
$NetBSD: distinfo,v 1.1 2016/09/19 14:10:38 wiz Exp $
SHA1 (liborcus-0.12.0.tar.xz) = ad0f28c71d74e2a76131fcd1669434b06b2b1b62
RMD160 (liborcus-0.12.0.tar.xz) = b471e5080bb0cd781011e5fe133ee07b24e65676
SHA512 (liborcus-0.12.0.tar.xz) = c5b877f4e130485ccdc0381e3e521049873e6ec0cfff981aa26475c212e9f250d7d799522958df2d2951b521a539475e3e8064d0b148392032f6ba511a5255e5
Size (liborcus-0.12.0.tar.xz) = 1672940 bytes
SHA1 (patch-configure) = 0f61de40b87ac92cc8fb89b8dcac83e82ea61ee9

View file

@ -0,0 +1,15 @@
$NetBSD: patch-configure,v 1.1 2016/09/19 14:10:38 wiz Exp $
Fix unportable test(1) operator.
--- configure.orig 2016-08-20 18:49:13.000000000 +0000
+++ configure
@@ -18804,7 +18804,7 @@ else
fi
-if test x"$enable_werror" == "xyes"; then :
+if test x"$enable_werror" = "xyes"; then :
CXXFLAGS="$CXXFLAGS -Werror"