From 22269286e19010c3eeb00e14a2f12bbbcaee9809 Mon Sep 17 00:00:00 2001 From: Jung-uk Kim Date: Wed, 20 Feb 2013 07:30:01 +0000 Subject: [PATCH] Orcus is a library that provides a collection of standalone file processing filters. It is currently focused on providing filters for spreadsheet documents, but filters for other productivity application types (such as wordprocessor and presentation) are in consideration. WWW: http://gitorious.org/orcus/ --- devel/Makefile | 1 + devel/liborcus/Makefile | 30 ++++++++++ devel/liborcus/distinfo | 2 + .../files/patch-src__liborcus__dom_tree.cpp | 11 ++++ devel/liborcus/pkg-descr | 6 ++ devel/liborcus/pkg-plist | 60 +++++++++++++++++++ 6 files changed, 110 insertions(+) create mode 100644 devel/liborcus/Makefile create mode 100644 devel/liborcus/distinfo create mode 100644 devel/liborcus/files/patch-src__liborcus__dom_tree.cpp create mode 100644 devel/liborcus/pkg-descr create mode 100644 devel/liborcus/pkg-plist diff --git a/devel/Makefile b/devel/Makefile index ec16ae2fa714..72c47484ee09 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1044,6 +1044,7 @@ SUBDIR += libopensync SUBDIR += libopensync022 SUBDIR += libopkele + SUBDIR += liborcus SUBDIR += libowfat SUBDIR += libpafe SUBDIR += libpafe-ruby diff --git a/devel/liborcus/Makefile b/devel/liborcus/Makefile new file mode 100644 index 000000000000..bed4bfb96cd4 --- /dev/null +++ b/devel/liborcus/Makefile @@ -0,0 +1,30 @@ +# $FreeBSD$ + +PORTNAME= liborcus +PORTVERSION= 0.3.0 +CATEGORIES= devel misc +MASTER_SITES= http://kohei.us/files/orcus/src/ +DISTNAME= ${PORTNAME}_${PORTVERSION} + +MAINTAINER= office@FreeBSD.org +COMMENT= Standalone file import filter library for spreadsheet documents + +LICENSE= MIT + +BUILD_DEPENDS= ${LOCALBASE}/include/mdds/global.hpp:${PORTSDIR}/devel/mdds +LIB_DEPENDS= zip:${PORTSDIR}/archivers/libzip \ + boost_system:${PORTSDIR}/devel/boost-libs + +GNU_CONFIGURE= yes +USE_BZIP2= yes +USE_GMAKE= yes +USE_GNOME= gnomehack +USE_LDCONFIG= yes +USE_PKGCONFIG= build + +CONFIGURE_ARGS= --disable-spreadsheet-model --disable-werror \ + --with-boost-system=boost_system +CONFIGURE_ENV= ZLIB_CFLAGS="-D_FILE_OFFSET_BITS=64" ZLIB_LIBS="-lz" +CPPFLAGS+= -I${LOCALBASE}/include + +.include diff --git a/devel/liborcus/distinfo b/devel/liborcus/distinfo new file mode 100644 index 000000000000..e44d21131270 --- /dev/null +++ b/devel/liborcus/distinfo @@ -0,0 +1,2 @@ +SHA256 (liborcus_0.3.0.tar.bz2) = 30829484b2328d0666c859b32370d3826b3468f3945d054abdac8234f4083c77 +SIZE (liborcus_0.3.0.tar.bz2) = 1373518 diff --git a/devel/liborcus/files/patch-src__liborcus__dom_tree.cpp b/devel/liborcus/files/patch-src__liborcus__dom_tree.cpp new file mode 100644 index 000000000000..50e6b7836d4b --- /dev/null +++ b/devel/liborcus/files/patch-src__liborcus__dom_tree.cpp @@ -0,0 +1,11 @@ +--- src/liborcus/dom_tree.cpp.orig 2012-11-28 07:21:10.000000000 -0500 ++++ src/liborcus/dom_tree.cpp 2013-02-19 16:17:53.000000000 -0500 +@@ -34,6 +34,8 @@ + #include + #include + ++#include ++ + using namespace std; + + namespace orcus { diff --git a/devel/liborcus/pkg-descr b/devel/liborcus/pkg-descr new file mode 100644 index 000000000000..0fae702668b5 --- /dev/null +++ b/devel/liborcus/pkg-descr @@ -0,0 +1,6 @@ +Orcus is a library that provides a collection of standalone file processing +filters. It is currently focused on providing filters for spreadsheet +documents, but filters for other productivity application types (such as +wordprocessor and presentation) are in consideration. + +WWW: http://gitorious.org/orcus/ diff --git a/devel/liborcus/pkg-plist b/devel/liborcus/pkg-plist new file mode 100644 index 000000000000..4072ac70c08b --- /dev/null +++ b/devel/liborcus/pkg-plist @@ -0,0 +1,60 @@ +bin/orcus-xml-dump +include/liborcus-0.4/orcus/cell_buffer.hpp +include/liborcus-0.4/orcus/css_parser.hpp +include/liborcus-0.4/orcus/csv_parser.hpp +include/liborcus-0.4/orcus/dom_tree.hpp +include/liborcus-0.4/orcus/env.hpp +include/liborcus-0.4/orcus/exception.hpp +include/liborcus-0.4/orcus/global.hpp +include/liborcus-0.4/orcus/odf/odf_token_constants.hpp +include/liborcus-0.4/orcus/odf/odf_token_constants.inl +include/liborcus-0.4/orcus/odf/odf_tokens.hpp +include/liborcus-0.4/orcus/odf/ods_context.hpp +include/liborcus-0.4/orcus/odf/ods_handler.hpp +include/liborcus-0.4/orcus/odf/para_context.hpp +include/liborcus-0.4/orcus/ooxml/content_types.hpp +include/liborcus-0.4/orcus/ooxml/global.hpp +include/liborcus-0.4/orcus/ooxml/ooxml_token_constants.hpp +include/liborcus-0.4/orcus/ooxml/ooxml_token_constants.inl +include/liborcus-0.4/orcus/ooxml/ooxml_tokens.hpp +include/liborcus-0.4/orcus/ooxml/ooxml_types.hpp +include/liborcus-0.4/orcus/ooxml/opc_context.hpp +include/liborcus-0.4/orcus/ooxml/opc_reader.hpp +include/liborcus-0.4/orcus/ooxml/opc_token_constants.hpp +include/liborcus-0.4/orcus/ooxml/opc_token_constants.inl +include/liborcus-0.4/orcus/ooxml/schemas.hpp +include/liborcus-0.4/orcus/ooxml/xlsx_context.hpp +include/liborcus-0.4/orcus/ooxml/xlsx_handler.hpp +include/liborcus-0.4/orcus/ooxml/xlsx_sheet_context.hpp +include/liborcus-0.4/orcus/ooxml/xlsx_types.hpp +include/liborcus-0.4/orcus/ooxml/xlsx_workbook_context.hpp +include/liborcus-0.4/orcus/orcus_csv.hpp +include/liborcus-0.4/orcus/orcus_gnumeric.hpp +include/liborcus-0.4/orcus/orcus_ods.hpp +include/liborcus-0.4/orcus/orcus_xlsx.hpp +include/liborcus-0.4/orcus/orcus_xml.hpp +include/liborcus-0.4/orcus/pstring.hpp +include/liborcus-0.4/orcus/sax_ns_parser.hpp +include/liborcus-0.4/orcus/sax_parser.hpp +include/liborcus-0.4/orcus/sax_token_parser.hpp +include/liborcus-0.4/orcus/spreadsheet/export_interface.hpp +include/liborcus-0.4/orcus/spreadsheet/import_interface.hpp +include/liborcus-0.4/orcus/spreadsheet/types.hpp +include/liborcus-0.4/orcus/tokens.hpp +include/liborcus-0.4/orcus/types.hpp +include/liborcus-0.4/orcus/xml_context.hpp +include/liborcus-0.4/orcus/xml_handler.hpp +include/liborcus-0.4/orcus/xml_namespace.hpp +include/liborcus-0.4/orcus/xml_parser.hpp +include/liborcus-0.4/orcus/xml_simple_handler.hpp +include/liborcus-0.4/orcus/xml_structure_tree.hpp +lib/liborcus-0.4.a +lib/liborcus-0.4.la +lib/liborcus-0.4.so +lib/liborcus-0.4.so.0 +libdata/pkgconfig/liborcus-0.4.pc +@dirrm include/liborcus-0.4/orcus/spreadsheet +@dirrm include/liborcus-0.4/orcus/ooxml +@dirrm include/liborcus-0.4/orcus/odf +@dirrm include/liborcus-0.4/orcus +@dirrm include/liborcus-0.4