pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/OdfConverter Initial import of OdfConverter-1...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f0724eec94d1
branches:  trunk
changeset: 557386:f0724eec94d1
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue Apr 14 18:33:30 2009 +0000

description:
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:

 textproc/OdfConverter/DESCR            |  18 ++++++++++++++
 textproc/OdfConverter/Makefile         |  41 ++++++++++++++++++++++++++++++++++
 textproc/OdfConverter/PLIST            |   4 +++
 textproc/OdfConverter/distinfo         |   6 ++++
 textproc/OdfConverter/patches/patch-aa |  16 +++++++++++++
 5 files changed, 85 insertions(+), 0 deletions(-)

diffs (105 lines):

diff -r 0d20572d55a3 -r f0724eec94d1 textproc/OdfConverter/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/OdfConverter/DESCR       Tue Apr 14 18:33:30 2009 +0000
@@ -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 -r 0d20572d55a3 -r f0724eec94d1 textproc/OdfConverter/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/OdfConverter/Makefile    Tue Apr 14 18:33:30 2009 +0000
@@ -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@localhost
+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 -r 0d20572d55a3 -r f0724eec94d1 textproc/OdfConverter/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/OdfConverter/PLIST       Tue Apr 14 18:33:30 2009 +0000
@@ -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 -r 0d20572d55a3 -r f0724eec94d1 textproc/OdfConverter/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/OdfConverter/distinfo    Tue Apr 14 18:33:30 2009 +0000
@@ -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 -r 0d20572d55a3 -r f0724eec94d1 textproc/OdfConverter/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/OdfConverter/patches/patch-aa    Tue Apr 14 18:33:30 2009 +0000
@@ -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)



Home | Main Index | Thread Index | Old Index