pkgsrc-wip/OdfConverter/Makefile

40 lines
1.1 KiB
Makefile
Raw Normal View History

2008-04-27 11:01:02 +02:00
# $NetBSD: Makefile,v 1.2 2008/04/27 09:01:02 koifren Exp $
Import OdfConverter-1.1 as wip/OdfConverter. 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. TODO: Compiles and installs fine. Dies on NetBSD-4.99.58/amd64 on two very simple example files with: (gdb) bt #0 0x00007f7ffcd32fba in _lwp_park () from /usr/lib/libc.so.12 #1 0x00007f7ffdc0bac3 in pthread__park () from /usr/lib/libpthread.so.0 #2 0x00007f7ffdc096b8 in pthread_cond_wait () from /usr/lib/libpthread.so.0 #3 0x00000000004c3635 in timedwait_signal_poll_cond (cond=0x7f7ffc704e10, mutex=0x7f7ffc704df0, timeout=0x7f7ffc704e00, alertable=-53268550) at handles.c:1443 #4 0x00000000004c5b23 in _wapi_handle_timedwait_signal_handle ( handle=<value optimized out>, timeout=0x0, alertable=1) at handles.c:1523 #5 0x00000000004d3d04 in WaitForSingleObjectEx (handle=<value optimized out>, timeout=4294967295, alertable=0) at wait.c:200 #6 0x00000000004722f1 in finalizer_thread (unused=<value optimized out>) at gc.c:894 #7 0x000000000048cd4f in start_wrapper (data=<value optimized out>) at threads.c:573 #8 0x00000000004d3373 in thread_start_routine (args=0x7f7ffc5b77d0) at threads.c:264 #9 0x00000000004e9404 in GC_start_routine () #10 0x00007f7ffdc0b332 in pthread_create () from /usr/lib/libpthread.so.0 #11 0x00007f7ffcd52fc0 in swapcontext () from /usr/lib/libc.so.12 #12 0x00007f7ffbe00000 in ?? () #13 0x0000000111110001 in ?? () #14 0x0000000033330003 in ?? () #15 0x0000000000000000 in ?? () (gdb)
2008-04-12 09:55:00 +02:00
#
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
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
2008-04-27 11:01:02 +02:00
MAKE_JOBS_SAFE= no
Import OdfConverter-1.1 as wip/OdfConverter. 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. TODO: Compiles and installs fine. Dies on NetBSD-4.99.58/amd64 on two very simple example files with: (gdb) bt #0 0x00007f7ffcd32fba in _lwp_park () from /usr/lib/libc.so.12 #1 0x00007f7ffdc0bac3 in pthread__park () from /usr/lib/libpthread.so.0 #2 0x00007f7ffdc096b8 in pthread_cond_wait () from /usr/lib/libpthread.so.0 #3 0x00000000004c3635 in timedwait_signal_poll_cond (cond=0x7f7ffc704e10, mutex=0x7f7ffc704df0, timeout=0x7f7ffc704e00, alertable=-53268550) at handles.c:1443 #4 0x00000000004c5b23 in _wapi_handle_timedwait_signal_handle ( handle=<value optimized out>, timeout=0x0, alertable=1) at handles.c:1523 #5 0x00000000004d3d04 in WaitForSingleObjectEx (handle=<value optimized out>, timeout=4294967295, alertable=0) at wait.c:200 #6 0x00000000004722f1 in finalizer_thread (unused=<value optimized out>) at gc.c:894 #7 0x000000000048cd4f in start_wrapper (data=<value optimized out>) at threads.c:573 #8 0x00000000004d3373 in thread_start_routine (args=0x7f7ffc5b77d0) at threads.c:264 #9 0x00000000004e9404 in GC_start_routine () #10 0x00007f7ffdc0b332 in pthread_create () from /usr/lib/libpthread.so.0 #11 0x00007f7ffcd52fc0 in swapcontext () from /usr/lib/libc.so.12 #12 0x00007f7ffbe00000 in ?? () #13 0x0000000111110001 in ?? () #14 0x0000000033330003 in ?? () #15 0x0000000000000000 in ?? () (gdb)
2008-04-12 09:55:00 +02:00
INSTALLATION_DIRS= share/doc/OdfConverter
post-extract:
cd ${WRKDIR} && mv "Copy of 4thMarch" ${DISTNAME:Q}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/source/Shell/OdfConverterTest/OdfConverter \
${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/source/Shell/OdfConverterTest/README.TXT \
${PREFIX}/share/doc/OdfConverter
.include "../../lang/mono/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"