pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/misc/openoffice3 Initial import of OpenOffice.org 3.0....



details:   https://anonhg.NetBSD.org/pkgsrc/rev/da2171a9dcc0
branches:  trunk
changeset: 548396:da2171a9dcc0
user:      hira <hira%pkgsrc.org@localhost>
date:      Tue Oct 14 11:02:24 2008 +0000

description:
Initial import of OpenOffice.org 3.0.0 as misc/openoffice3.

Release note (will be available):

  http://development.openoffice.org/releases/3.0.0.html

diffstat:

 misc/openoffice3/DESCR            |   14 ++
 misc/openoffice3/MESSAGE          |   10 +
 misc/openoffice3/Makefile         |  222 ++++++++++++++++++++++++++++++++++++++
 misc/openoffice3/Makefile.FreeBSD |   20 +++
 misc/openoffice3/Makefile.NetBSD  |   24 ++++
 misc/openoffice3/PLIST            |   15 ++
 misc/openoffice3/distinfo         |   81 +++++++++++++
 misc/openoffice3/options.mk       |  120 ++++++++++++++++++++
 misc/openoffice3/patches/patch-ac |   22 +++
 misc/openoffice3/patches/patch-ad |   47 ++++++++
 misc/openoffice3/patches/patch-ag |   21 +++
 misc/openoffice3/patches/patch-ah |   94 ++++++++++++++++
 misc/openoffice3/patches/patch-ai |   13 ++
 misc/openoffice3/patches/patch-ak |  106 ++++++++++++++++++
 misc/openoffice3/patches/patch-am |   13 ++
 misc/openoffice3/patches/patch-an |   22 +++
 misc/openoffice3/patches/patch-ao |   19 +++
 misc/openoffice3/patches/patch-ap |   79 +++++++++++++
 misc/openoffice3/patches/patch-aq |   22 +++
 misc/openoffice3/patches/patch-ar |   24 ++++
 misc/openoffice3/patches/patch-as |   48 ++++++++
 misc/openoffice3/patches/patch-aw |   23 +++
 misc/openoffice3/patches/patch-ba |  197 +++++++++++++++++++++++++++++++++
 misc/openoffice3/patches/patch-bb |   22 +++
 misc/openoffice3/patches/patch-bd |   17 ++
 misc/openoffice3/patches/patch-bf |   13 ++
 misc/openoffice3/patches/patch-bg |   15 ++
 misc/openoffice3/patches/patch-bh |   12 ++
 misc/openoffice3/patches/patch-bi |   13 ++
 misc/openoffice3/patches/patch-bj |   20 +++
 misc/openoffice3/patches/patch-bk |   18 +++
 misc/openoffice3/patches/patch-bl |   12 ++
 misc/openoffice3/patches/patch-bm |   18 +++
 misc/openoffice3/patches/patch-bn |   16 ++
 misc/openoffice3/patches/patch-bo |   13 ++
 misc/openoffice3/patches/patch-bq |   29 ++++
 misc/openoffice3/patches/patch-br |   58 +++++++++
 misc/openoffice3/patches/patch-bs |   36 ++++++
 misc/openoffice3/patches/patch-bv |   29 ++++
 misc/openoffice3/patches/patch-bw |   13 ++
 misc/openoffice3/patches/patch-bx |   14 ++
 misc/openoffice3/patches/patch-by |   23 +++
 misc/openoffice3/patches/patch-ch |  183 +++++++++++++++++++++++++++++++
 misc/openoffice3/patches/patch-ci |   19 +++
 misc/openoffice3/patches/patch-cj |   19 +++
 misc/openoffice3/patches/patch-ck |   21 +++
 misc/openoffice3/patches/patch-cn |   32 +++++
 misc/openoffice3/patches/patch-cp |   12 ++
 misc/openoffice3/patches/patch-cq |   13 ++
 misc/openoffice3/patches/patch-cr |   22 +++
 misc/openoffice3/patches/patch-cs |  183 +++++++++++++++++++++++++++++++
 misc/openoffice3/patches/patch-ct |   21 +++
 misc/openoffice3/patches/patch-cu |   13 ++
 misc/openoffice3/patches/patch-cv |   12 ++
 misc/openoffice3/patches/patch-cw |   30 +++++
 misc/openoffice3/patches/patch-cx |   16 ++
 misc/openoffice3/patches/patch-cy |   24 ++++
 misc/openoffice3/patches/patch-dc |   35 +++++
 misc/openoffice3/patches/patch-dd |   35 +++++
 misc/openoffice3/patches/patch-de |   95 ++++++++++++++++
 misc/openoffice3/patches/patch-dh |   15 ++
 misc/openoffice3/patches/patch-di |   22 +++
 misc/openoffice3/patches/patch-dj |   13 ++
 misc/openoffice3/patches/patch-dk |   13 ++
 misc/openoffice3/patches/patch-dl |   16 ++
 misc/openoffice3/patches/patch-do |   22 +++
 misc/openoffice3/patches/patch-dp |   13 ++
 misc/openoffice3/patches/patch-dt |   13 ++
 misc/openoffice3/patches/patch-du |   23 +++
 misc/openoffice3/patches/patch-dw |   14 ++
 misc/openoffice3/patches/patch-dx |   14 ++
 misc/openoffice3/patches/patch-dy |   22 +++
 72 files changed, 2632 insertions(+), 0 deletions(-)

diffs (truncated from 2920 to 300 lines):

diff -r bb31577b9d04 -r da2171a9dcc0 misc/openoffice3/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/openoffice3/DESCR    Tue Oct 14 11:02:24 2008 +0000
@@ -0,0 +1,14 @@
+OpenOffice.org is an Open Source, community-developed, multi-platform office
+productivity suite. It includes the key desktop applications, such as a
+word processor, spreadsheet, presentation manager, and drawing program,
+with a user interface and feature set similar to other office suites.
+
+Components include:
+  * A universal word processing application for creating business
+    letters, extensive text documents, professional layouts, and HTML
+    documents.
+  * A sophisticated application for performing advanced spreadsheet
+    functions, such as analyzing figures, creating lists, and viewing data.
+  * A tool for creating effective eye-catching presentations.
+  * A vector-oriented draw module that enables the creation of 3D
+    illustrations.
diff -r bb31577b9d04 -r da2171a9dcc0 misc/openoffice3/MESSAGE
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/openoffice3/MESSAGE  Tue Oct 14 11:02:24 2008 +0000
@@ -0,0 +1,10 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2008/10/14 11:02:24 hira Exp $
+
+  OpenOffice has now been installed in ${PREFIX}/${OO_RELEASE}.
+
+  Before using this package for the first time, each user has to run
+  a setup program, which is automatically invoked at the first start.
+  Thereafter, OpenOffice can be started using the
+  ${PREFIX}/bin/soffice command.
+===========================================================================
diff -r bb31577b9d04 -r da2171a9dcc0 misc/openoffice3/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/openoffice3/Makefile Tue Oct 14 11:02:24 2008 +0000
@@ -0,0 +1,222 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/10/14 11:02:24 hira Exp $
+#
+
+OO_VER=                        3.0.0
+OO_TAG=                        OOO300_m9
+DISTNAME=              openoffice-${OO_VER}
+PKGNAME=               openoffice3-${OO_VER}
+CATEGORIES=            misc
+MASTER_SITES=          ${MASTER_SITE_OPENOFFICE:=stable/${OO_VER}/}
+DIST_SUBDIR=           ${DISTNAME}
+
+DISTFILES=             OOo_${OO_VER}_src_core.tar.bz2
+DISTFILES+=            OOo_${OO_VER}_src_binfilter.tar.bz2
+DISTFILES+=            OOo_${OO_VER}_src_l10n.tar.bz2
+DISTFILES+=            OOo_${OO_VER}_src_system.tar.bz2
+DISTFILES+=            OOo_${OO_VER}_src_extensions.tar.bz2
+
+MAINTAINER=            hira%NetBSD.org@localhost
+HOMEPAGE=              http://www.openoffice.org/
+COMMENT=               Integrated office productivity suite (version 3)
+
+PKG_DESTDIR_SUPPORT=   user-destdir
+
+BUILD_DEPENDS+=                bison-[0-9]*:../../devel/bison
+BUILD_DEPENDS+=                zip-[0-9]*:../../archivers/zip
+BUILD_DEPENDS+=                unzip-[0-9]*:../../archivers/unzip
+BUILD_DEPENDS+=                p5-Archive-Zip-[0-9]*:../../archivers/p5-Archive-Zip
+
+DEPENDS+=              libpaper-[0-9]*:../../print/libpaper
+
+.include "../../mk/bsd.prefs.mk"
+
+WRKSRC=                        ${WRKDIR}/${OO_TAG}
+CONFIGURE_DIRS=                config_office
+
+# Cannot compile with 3.3.x (GCC Bugzilla Bug 16879).
+GCC_REQD+=             3.4
+USE_LANGUAGES+=                c c++
+
+CONFLICTS+=            staroffice-[0-9]*
+CONFLICTS+=            openoffice-[0-9]*
+CONFLICTS+=            openoffice2-[0-9]*
+CONFLICTS+=            openoffice-bin-[0-9]*
+CONFLICTS+=            openoffice2-bin-[0-9]*
+CONFLICTS+=            openoffice-linux-[0-9]*
+
+USE_DIRS+=             xdg-1.1
+USE_TOOLS+=            bash gmake imake perl pkg-config tar
+PTHREAD_OPTS+=         require
+PTHREAD_AUTO_VARS=     yes
+
+ONLY_FOR_PLATFORM=     FreeBSD-*-i386 FreeBSD-*-x86_64
+ONLY_FOR_PLATFORM+=    NetBSD-1.6Z[G-Z]*-i386 NetBSD-[2-9]*-i386
+ONLY_FOR_PLATFORM+=    NetBSD-1.6Z[G-Z]*-x86_64 NetBSD-[2-9]*-x86_64
+
+GNU_CONFIGURE=         yes
+
+REPLACE_PERL+=         sd/res/webview/editpic.pl       \
+                       sd/res/webview/poll.pl          \
+                       sd/res/webview/savepic.pl       \
+                       sd/res/webview/show.pl          \
+                       sd/res/webview/webview.pl
+REPLACE_PYTHON+=       scripting/source/pyprov/mailmerge.py
+
+SUBST_CLASSES+=                bash
+SUBST_STAGE.bash=      post-patch
+SUBST_MESSAGE.bash=    Fix hard-coded path
+SUBST_FILES.bash=      hunspell/hunspell-1.1.12.patch
+SUBST_SED.bash+=       -e 's,@BASH@,${BASH},g'
+
+SUBST_CLASSES+=                lib
+SUBST_STAGE.lib=       post-patch
+SUBST_MESSAGE.lib=     Adding library paths
+SUBST_FILES.lib=       solenv/inc/pkgsrc.mk
+.for pkg in db4 expat jpeg zlib
+SUBST_SED.lib+=                -e 's,@BLNK_PREFIX_${pkg}@,${BUILDLINK_PREFIX.${pkg}},g'
+LIBS+=                 -L${BUILDLINK_PREFIX.${pkg}}/lib
+LIBS+=                 ${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.${pkg}}/lib
+.endfor
+
+CONFIGURE_ENV+=                LIBS=${LIBS:O:u:Q}
+CONFIGURE_ENV+=                X_LIBS=${X11_LDFLAGS:M*:Q}
+CONFIGURE_ENV+=                BLNK_PREFIX_db4=${BUILDLINK_PREFIX.db4}
+
+CONFIGURE_ARGS+=       --with-use-shell=bash
+CONFIGURE_ARGS+=       --enable-binfilter
+CONFIGURE_ARGS+=       --enable-cairo
+CONFIGURE_ARGS+=       --disable-systray
+CONFIGURE_ARGS+=       --disable-ldap
+CONFIGURE_ARGS+=       --with-system-stdlibs
+CONFIGURE_ARGS+=       --with-system-cairo
+CONFIGURE_ARGS+=       --with-system-curl
+CONFIGURE_ARGS+=       --with-system-db
+CONFIGURE_ARGS+=       --with-system-expat
+CONFIGURE_ARGS+=       --with-system-freetype
+CONFIGURE_ARGS+=       --with-system-jpeg
+CONFIGURE_ARGS+=       --with-system-libxml2
+CONFIGURE_ARGS+=       --with-system-libxslt
+CONFIGURE_ARGS+=       --with-system-neon
+CONFIGURE_ARGS+=       --with-system-python
+CONFIGURE_ARGS+=       --with-system-zlib
+CONFIGURE_ARGS+=       --with-dynamic-xinerama
+
+# Enable extensions
+CONFIGURE_ARGS+=       --enable-minimizer
+CONFIGURE_ARGS+=       --enable-presenter-console
+CONFIGURE_ARGS+=       --enable-pdfimport
+CONFIGURE_ARGS+=       --enable-wiki-publisher
+CONFIGURE_ARGS+=       --enable-ogltrans
+CONFIGURE_ARGS+=       --enable-report-builder
+
+# `portable' supports all platforms.
+CONFIGURE_ARGS+=       --enable-epm --with-package-format=portable
+
+# Disable odk, gcjaot.
+CONFIGURE_ARGS+=       --disable-odk --disable-gcjaot
+
+# NOTE: In this version, this value should be separated by space (comma
+#       causes build error).
+CONFIGURE_ARGS+=       --with-lang=${OO_LANGS:Q}
+
+.include "options.mk"
+
+UNLIMIT_RESOURCES+=    datasize
+
+OO_RELEASE=            OpenOffice.org${OO_VER}
+PLIST_SRC+=            ${PKGDIR}/PLIST
+PLIST_SRC+=            ${WRKDIR}/PLIST
+MESSAGE_SUBST+=                OO_RELEASE=${OO_RELEASE}
+INSTALLATION_DIRS=     bin ${OO_RELEASE} share/applications
+
+OO_UNXNAME=    openoffice.org3
+OO_PKGPATH=    ${WRKSRC}/instsetoo_native/${OPENOFFICE_OUTPATH}.pro/OpenOffice/portable/install
+OO_PROGRAMS=   scalc sdraw simpress soffice swriter unopkg
+OO_PREFIX=     ${DESTDIR}${PREFIX}/${OO_RELEASE}
+
+post-extract:
+       cd ${WRKSRC}/bridges/source/cpp_uno &&                  \
+       mv gcc3_netbsd_intel gcc3_netbsd_intel.orig &&          \
+       cp -Rp gcc3_freebsd_intel gcc3_netbsd_intel &&          \
+       cp -Rp gcc3_freebsd_x86-64 gcc3_netbsd_x86-64
+
+do-build:
+       ${_ULIMIT_CMD} ${SETENV} ${MAKE_ENV} bash -c "cd ${WRKSRC} && ./bootstrap && source ${OPENOFFICE_SETFILE}Env.Set.sh && dmake build_all"
+
+post-build:
+       cd ${WRKDIR} &&                                         \
+       rm -fr opt &&                                           \
+       for l in ${OO_LANGS}; do                                \
+               for f in ${OO_PKGPATH:Q}/$${l}/*/*.sw; do       \
+                       tar xpfk $$f;                           \
+               done;                                           \
+       done
+       cd ${WRKDIR} &&                                         \
+       rm -fr xdg &&                                           \
+       mv opt/${OO_UNXNAME}/share/xdg .
+       cd ${WRKDIR}/opt/openoffice.org &&                      \
+       chmod ${SHAREMODE} basis3.0/program/hid.lst             \
+                          basis3.0/program/testtoolrc
+       ${ECHO} "#!${SH}" > ${WRKDIR}/${OO_UNXNAME}
+       ${ECHO} "exec ${OO_PREFIX}/${OO_UNXNAME}/program/soffice \"\$$@\"" \
+               >> ${WRKDIR}/${OO_UNXNAME}
+       ${ECHO} "#!${SH}" > ${WRKDIR}/${OO_UNXNAME}-printeradmin
+       ${ECHO} "exec ${OO_PREFIX}/${OO_UNXNAME}/program/spadmin"       \
+               >> ${WRKDIR}/${OO_UNXNAME}-printeradmin
+
+do-install:
+       cd ${WRKDIR}/opt &&                                             \
+       tar cf - openoffice.org ${OO_UNXNAME} | tar Cxpf ${OO_PREFIX} -
+       for f in ${OO_PROGRAMS}; do                             \
+               ln -sf ${OO_PREFIX}/${OO_UNXNAME}/program/$$f   \
+                       ${DESTDIR}${PREFIX}/bin/$$f;            \
+       done
+       ${INSTALL_DATA} ${WRKDIR}/xdg/* ${DESTDIR}${PREFIX}/share/applications
+       ${INSTALL_SCRIPT} ${WRKDIR}/${OO_UNXNAME} ${DESTDIR}${PREFIX}/bin
+       ${INSTALL_SCRIPT} ${WRKDIR}/${OO_UNXNAME}-printeradmin  \
+               ${DESTDIR}${PREFIX}/bin
+
+post-install:
+       cd ${DESTDIR}${PREFIX} &&                               \
+       find ${OO_RELEASE} \! -type d -print |                  \
+       sort > ${WRKDIR}/PLIST &&                                       \
+       find ${OO_RELEASE} -type d -print | sort -r |           \
+       awk '{print("@dirrm "$$1)}' >> ${WRKDIR}/PLIST
+       ${ECHO} bin/${OO_UNXNAME} >> ${WRKDIR}/PLIST
+       ${ECHO} bin/${OO_UNXNAME}-printeradmin >> ${WRKDIR}/PLIST
+
+# OS specific Makefile
+.if exists(Makefile.${OPSYS})
+.  include "Makefile.${OPSYS}"
+.endif
+
+.include "../../mk/compiler.mk"
+
+.include "../../lang/python/application.mk"
+
+.include "../../databases/db4/buildlink3.mk"
+.include "../../devel/gperf/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../fonts/fontconfig/buildlink3.mk"
+.include "../../graphics/MesaLib/buildlink3.mk"
+.include "../../graphics/cairo/buildlink3.mk"
+.include "../../graphics/freetype2/buildlink3.mk"
+.include "../../graphics/jpeg/buildlink3.mk"
+.include "../../textproc/expat/buildlink3.mk"
+.include "../../textproc/libxml2/buildlink3.mk"
+.include "../../textproc/libxslt/buildlink3.mk"
+.include "../../www/curl/buildlink3.mk"
+.include "../../www/neon/buildlink3.mk"
+.include "../../x11/libX11/buildlink3.mk"
+.include "../../x11/libXaw/buildlink3.mk"
+.include "../../x11/libXcursor/buildlink3.mk"
+.include "../../x11/libXext/buildlink3.mk"
+.include "../../x11/libXfixes/buildlink3.mk"
+.include "../../x11/libXi/buildlink3.mk"
+.include "../../x11/libXinerama/buildlink3.mk"
+.include "../../x11/libXrandr/buildlink3.mk"
+.include "../../x11/libXrender/buildlink3.mk"
+.include "../../x11/libXt/buildlink3.mk"
+.include "../../mk/dlopen.buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r bb31577b9d04 -r da2171a9dcc0 misc/openoffice3/Makefile.FreeBSD
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/openoffice3/Makefile.FreeBSD Tue Oct 14 11:02:24 2008 +0000
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile.FreeBSD,v 1.1.1.1 2008/10/14 11:02:24 hira Exp $
+#
+
+# This package needs native Java.
+PKG_JVMS_ACCEPTED=      jdk14 jdk15
+
+BUILD_DEPENDS+=                coreutils>=*:../../sysutils/coreutils
+BUILD_DEPENDS+=                patch>=*:../../devel/patch
+CONFIGURE_ARGS+=       --with-gnu-cp=${PREFIX}/bin/gcp
+CONFIGURE_ARGS+=       --with-gnu-patch=${PREFIX}/bin/gpatch
+
+.if ${MACHINE_ARCH} == "i386"
+#OPENOFFICE_DLLSUFFIX= fi
+OPENOFFICE_OUTPATH=    unxfbsdi
+OPENOFFICE_SETFILE=    FreeBSDX86
+.elif ${MACHINE_ARCH} == "x86_64"
+#OPENOFFICE_DLLSUFFIX= fx
+OPENOFFICE_OUTPATH=    unxfbsdx
+OPENOFFICE_SETFILE=    FreeBSDAMD
+.endif
diff -r bb31577b9d04 -r da2171a9dcc0 misc/openoffice3/Makefile.NetBSD
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/openoffice3/Makefile.NetBSD  Tue Oct 14 11:02:24 2008 +0000
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile.NetBSD,v 1.1.1.1 2008/10/14 11:02:24 hira Exp $
+#
+
+# This package needs native Java.
+PKG_JVMS_ACCEPTED=     jdk14 jdk15
+
+# *.pc files are required, but these don't exist on NetBSD.
+.if defined(X11_TYPE) && !empty(X11_TYPE:Mnative)
+. for _pkg_ in freetype2 Xfixes Xrandr Xrender
+.  if !exists(${X11BASE}/lib/pkgconfig/${_pkg_:tl}.pc)
+USE_BUILTIN.${_pkg_}=   no
+.  endif
+. endfor
+.endif



Home | Main Index | Thread Index | Old Index