summaryrefslogtreecommitdiff
path: root/textproc/OdfConverter
diff options
context:
space:
mode:
authorwiz <wiz>2009-04-14 18:33:30 +0000
committerwiz <wiz>2009-04-14 18:33:30 +0000
commit9574ad5988d86614babeedad55556ee8e71a8082 (patch)
treeed2eeec68cc5e5ccce280a86daba6b8991caeab9 /textproc/OdfConverter
parent5b1708d0ac567b8bad9c006de3d9b934ff7e3b28 (diff)
downloadpkgsrc-9574ad5988d86614babeedad55556ee8e71a8082.tar.gz
Initial import of OdfConverter-1.1, packaged by myself for wip, with
help from kefren. The goal for this project is to provide translators to allow for interoperability between applications based on ODF (OpenDocument) 1.0 standards and Microsoft OpenXML based Office applications. As a part of this interoperability initiative, add-ins are being developed that can be installed on top of Microsoft Office Word (document processing), Excel (spreadsheet) and PowerPoint (presentation) applications (Office 2007 / 2003 / XP version) to allow for opening and saving OpenDocument format / ODF files (.odt, .ods and .odp) that adheres to ODF 1.0 specifications. We also provide command line translator utilities that allow doing batch conversions. The converter is based on XSL transformations between two XML formats, along with some pre- and post-processing to manage the packaging (zip / unzip), schema incompatibility processings and the integration into Microsoft Office applications like Word, Excel and PowerPoint. We chose to use an Open Source development model that allows developers from all around the world to participate & contribute to the project.
Diffstat (limited to 'textproc/OdfConverter')
-rw-r--r--textproc/OdfConverter/DESCR18
-rw-r--r--textproc/OdfConverter/Makefile41
-rw-r--r--textproc/OdfConverter/PLIST4
-rw-r--r--textproc/OdfConverter/distinfo6
-rw-r--r--textproc/OdfConverter/patches/patch-aa16
5 files changed, 85 insertions, 0 deletions
diff --git a/textproc/OdfConverter/DESCR b/textproc/OdfConverter/DESCR
new file mode 100644
index 00000000000..adfc7dbeff9
--- /dev/null
+++ b/textproc/OdfConverter/DESCR
@@ -0,0 +1,18 @@
+The goal for this project is to provide translators to allow for
+interoperability between applications based on ODF (OpenDocument)
+1.0 standards and Microsoft OpenXML based Office applications. As
+a part of this interoperability initiative, add-ins are being
+developed that can be installed on top of Microsoft Office Word
+(document processing), Excel (spreadsheet) and PowerPoint (presentation)
+applications (Office 2007 / 2003 / XP version) to allow for opening
+and saving OpenDocument format / ODF files (.odt, .ods and .odp)
+that adheres to ODF 1.0 specifications. We also provide command
+line translator utilities that allow doing batch conversions.
+
+The converter is based on XSL transformations between two XML
+formats, along with some pre- and post-processing to manage the
+packaging (zip / unzip), schema incompatibility processings and
+the integration into Microsoft Office applications like Word, Excel
+and PowerPoint. We chose to use an Open Source development model
+that allows developers from all around the world to participate &
+contribute to the project.
diff --git a/textproc/OdfConverter/Makefile b/textproc/OdfConverter/Makefile
new file mode 100644
index 00000000000..69a3be4e70a
--- /dev/null
+++ b/textproc/OdfConverter/Makefile
@@ -0,0 +1,41 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/04/14 18:33:30 wiz Exp $
+#
+
+DISTNAME= OdfConverter--src-1.1
+PKGNAME= OdfConverter-1.1
+CATEGORIES= converters textproc
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=odf-converter/}
+EXTRACT_SUFX= .zip
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://odf-converter.sourceforge.net/
+COMMENT= Converter between Microsoft Office 2007 and OpenOffice formats
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+USE_LANGUAGES= c
+USE_TOOLS+= gmake pkg-config
+
+BUILD_DIRS= source/Common/OdfZipUtils
+BUILD_DIRS+= source/Common/OdfConverterLib
+BUILD_DIRS+= source/Word/Converter
+BUILD_DIRS+= source/Presentation/Converter
+BUILD_DIRS+= source/Spreadsheet/Converter
+BUILD_DIRS+= source/AdditionalTools/zlib123/contrib/minizip
+BUILD_DIRS+= source/Shell/OdfConverterTest
+
+MAKE_JOBS_SAFE= no
+
+INSTALLATION_DIRS= bin share/doc/OdfConverter
+
+post-extract:
+ cd ${WRKDIR} && mv "Copy of 4thMarch" ${DISTNAME:Q}
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/source/Shell/OdfConverterTest/OdfConverter \
+ ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/source/Shell/OdfConverterTest/README.TXT \
+ ${DESTDIR}${PREFIX}/share/doc/OdfConverter
+
+.include "../../lang/mono/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/OdfConverter/PLIST b/textproc/OdfConverter/PLIST
new file mode 100644
index 00000000000..bedaebcf05d
--- /dev/null
+++ b/textproc/OdfConverter/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/04/14 18:33:30 wiz Exp $
+bin/OdfConverter
+share/doc/OdfConverter/README.TXT
+@dirrm share/doc/OdfConverter
diff --git a/textproc/OdfConverter/distinfo b/textproc/OdfConverter/distinfo
new file mode 100644
index 00000000000..111f9db3ca2
--- /dev/null
+++ b/textproc/OdfConverter/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/04/14 18:33:30 wiz Exp $
+
+SHA1 (OdfConverter--src-1.1.zip) = 7254502a15024a668a2c6d788a4ff4cc7cf4523e
+RMD160 (OdfConverter--src-1.1.zip) = 57b10317453bd9a84cc787c9cb600844c88f7696
+Size (OdfConverter--src-1.1.zip) = 46541334 bytes
+SHA1 (patch-aa) = e880c861a9c7d0968ac10899c80c8bd05fa601f6
diff --git a/textproc/OdfConverter/patches/patch-aa b/textproc/OdfConverter/patches/patch-aa
new file mode 100644
index 00000000000..b3e41de8381
--- /dev/null
+++ b/textproc/OdfConverter/patches/patch-aa
@@ -0,0 +1,16 @@
+$NetBSD: patch-aa,v 1.1.1.1 2009/04/14 18:33:30 wiz Exp $
+
+--- source/Shell/OdfConverterTest/Makefile.orig 2007-12-19 15:16:04.000000000 +0100
++++ source/Shell/OdfConverterTest/Makefile
+@@ -71,9 +71,9 @@ else
+ bundle.o \
+ $(EXPORTDYNAMIC) \
+ -Wl,--undefined=$(ZIPOPEN) -Wl,--undefined=$(UNZOPEN) \
+- `pkg-config --libs-only-L mono` -L../../AdditionalTools/zlib123/contrib/minizip \
++ -L../../AdditionalTools/zlib123/contrib/minizip \
+ -Wl,-Bstatic -lmono -lzlibwapi -Wl,-Bdynamic \
+- `pkg-config --libs-only-l mono | sed -e "s/\-lmono //"` \
++ `pkg-config --libs mono | sed -e "s/\-lmono //"` \
+ $(ZLIB) $(OTHERLIBS)
+ endif
+ ifeq ($(OS),Cygwin)