From: Andreas Proschofsky Date: Fri, 17 Feb 2006 07:48:54 +0000 (+0000) Subject: First Release Candidate of OpenOffice.org 2.0.2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=acb521eb0db2f2f4a41dfab5841925f9642ce3eb;p=gentoo.git First Release Candidate of OpenOffice.org 2.0.2 Package-Manager: portage-2.1_pre4-r1 --- diff --git a/app-office/openoffice/ChangeLog b/app-office/openoffice/ChangeLog index 72888b887ee0..9e448c5ed531 100644 --- a/app-office/openoffice/ChangeLog +++ b/app-office/openoffice/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-office/openoffice # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice/ChangeLog,v 1.184 2006/02/15 12:12:05 suka Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice/ChangeLog,v 1.185 2006/02/17 07:48:54 suka Exp $ + +*openoffice-2.0.2_rc1 (17 Feb 2006) + + 17 Feb 2006; Andreas Proschofsky + +files/2.0.2/removecrystalcheck.diff, +openoffice-2.0.2_rc1.ebuild: + First Release Candidate of OpenOffice.org 2.0.2, use at your own risk. 15 Feb 2006; Andreas Proschofsky openoffice-2.0.1.ebuild: diff --git a/app-office/openoffice/Manifest b/app-office/openoffice/Manifest index 9a589495dd44..7c5ede5bc9b7 100644 --- a/app-office/openoffice/Manifest +++ b/app-office/openoffice/Manifest @@ -1,15 +1,24 @@ -MD5 b81498d563d301efca0812bbc134f037 ChangeLog 39997 -RMD160 fe43c22fcd8b09c60a1f18b3ee0956fb3f29bf5f ChangeLog 39997 -SHA256 c9739d73bb8c4f4690a55588c61e8728a1acd241b94230fb5837038228cd693c ChangeLog 39997 +MD5 db19e5c68774ea1d8b97c7b7f5ec4b49 ChangeLog 40231 +RMD160 1fe403d02940baf23198f4180b0195b9fb141eaa ChangeLog 40231 +SHA256 86aba0263472b871b34c1ce3ce1eaf0056ca45aeccca377c462a39b851b24310 ChangeLog 40231 MD5 500f7e71be57d40b0a8042cab1484df9 files/2.0.1/alwayscrystal.diff 3222 RMD160 6f563dccad523db881def1fdb711df3949c2a687 files/2.0.1/alwayscrystal.diff 3222 SHA256 22af14b2c3bd7d796eeda2f4a423f4290e71d2f2790a82038b837c6219133ef1 files/2.0.1/alwayscrystal.diff 3222 +MD5 d741869e1665d1423c2086f1723b93d7 files/2.0.2/removecrystalcheck.diff 572 +RMD160 5e7b6c92506bd7d3f4e09e3ee43656a6f4f8c30d files/2.0.2/removecrystalcheck.diff 572 +SHA256 06a05ee5a27ce6a1de1c9eeebe4e22b860d0a6292f778ec6c81aa2c28c1daa08 files/2.0.2/removecrystalcheck.diff 572 MD5 9017e3971f27ac77833ae962069feccf files/digest-openoffice-2.0.1 2024 RMD160 94f476c151e7c42212f2d6dd05b48443ca784e1e files/digest-openoffice-2.0.1 2024 SHA256 ac0d68a776f61080710f7f031ed79457a1f1a30bc24abcc85a563ce1df2d9d46 files/digest-openoffice-2.0.1 2024 +MD5 c8187afffa248ede44120f5a7c15d796 files/digest-openoffice-2.0.2_rc1 2012 +RMD160 0d33bbd794703ec78d32cbad3f1af98852c0d5d2 files/digest-openoffice-2.0.2_rc1 2012 +SHA256 fac8a6e81af5412aa11217eceab4cfe7930eed2671b5bedf1c2576a4ba2fd700 files/digest-openoffice-2.0.2_rc1 2012 MD5 e3ec4a70395943b59adad7fc4f0538d7 metadata.xml 461 RMD160 3e99c165e962e73417462c6df7a476a558b3ae18 metadata.xml 461 SHA256 7a25927f2c830703539753c0f7295551795419ef0d05b72db505a2ac1094d291 metadata.xml 461 MD5 e00605b0acc60de47e6eee98a5f32894 openoffice-2.0.1.ebuild 7274 RMD160 ed88f0dc45b87c259271f83fa9d4fd8bb55fab93 openoffice-2.0.1.ebuild 7274 SHA256 56a67a1cd040cd120cb5227ed0fa926fbf378c5ba46e267bc43a9b0218f87fa7 openoffice-2.0.1.ebuild 7274 +MD5 2b4fe158c36562f5b4bda82507306664 openoffice-2.0.2_rc1.ebuild 7509 +RMD160 0090c5d0115c69c5b4e9b77dfb27072834f48182 openoffice-2.0.2_rc1.ebuild 7509 +SHA256 f9c02cc017003b6aac0c2c919b896b51f21996333bd258054b7613e7c5abad53 openoffice-2.0.2_rc1.ebuild 7509 diff --git a/app-office/openoffice/files/2.0.2/removecrystalcheck.diff b/app-office/openoffice/files/2.0.2/removecrystalcheck.diff new file mode 100644 index 000000000000..a9cb2d7c731a --- /dev/null +++ b/app-office/openoffice/files/2.0.2/removecrystalcheck.diff @@ -0,0 +1,18 @@ +--- bin/unpack ++++ bin/unpack +@@ -266,15 +266,6 @@ + rm -f $CUSTOM_DIR/industrial/vcl/source/src/check*; + fi + +-# needed until integration of iconswitching2 +-check_tarball $SRCDIR/$OOO_CRYSTAL_IMAGES +-tar xzf $SRCDIR/$OOO_CRYSTAL_IMAGES -C $CUSTOM_DIR || exit 1; +-if test ! -d $OOBUILDDIR/external_images ; then +- mkdir $OOBUILDDIR/external_images +-fi +-if test ! -f $OOBUILDDIR/external_images/$OOO_CRYSTAL_IMAGES ; then +- cp $SRCDIR/$OOO_CRYSTAL_IMAGES $OOBUILDDIR/external_images/ +-fi + + if test "x$OOO_EXTRA_ARTWORK" != "x"; then + # Html export rulers etc. diff --git a/app-office/openoffice/files/digest-openoffice-2.0.2_rc1 b/app-office/openoffice/files/digest-openoffice-2.0.2_rc1 new file mode 100644 index 000000000000..dc273b6f1270 --- /dev/null +++ b/app-office/openoffice/files/digest-openoffice-2.0.2_rc1 @@ -0,0 +1,24 @@ +MD5 733051ebeffae5232a2eb760162da020 extras-2.tar.bz2 94740 +RMD160 cba0fdebbbf84e6520af08d1cbb09363d36874bd extras-2.tar.bz2 94740 +SHA256 26e593ad0fecc6642b59349923434c6b36c224db5a26239c760b119ba29c9863 extras-2.tar.bz2 94740 +MD5 4cc68d37ed3a3191bb78a14630e14c64 hunspell_UNO_1.1.tar.gz 13774 +RMD160 9c0c31220d63894c9060a05fd136083b0b017b94 hunspell_UNO_1.1.tar.gz 13774 +SHA256 9de07fbe97c9539bae9c76502474c76471ab173dac365e251ca3fc5281008149 hunspell_UNO_1.1.tar.gz 13774 +MD5 f34404f8dc6123aca156d203c37e3e5d libwpd-0.8.3.tar.gz 482757 +RMD160 f8010300e50e1c43942e6a84a3b526738edb4ed5 libwpd-0.8.3.tar.gz 482757 +SHA256 2221aaa444d29f4a1eacea1a0a939012f02a8aa8e02c178788d68ccc0024170c libwpd-0.8.3.tar.gz 482757 +MD5 b0eca30b3ba93aaa70a710a25e6458a1 oob680-m1-binfilter.tar.bz2 17439083 +RMD160 df7a39fd3f332716f2bbb4f8219b2d6cd777cd88 oob680-m1-binfilter.tar.bz2 17439083 +SHA256 902406788f351cd364bd3f7c07f279762394df18f12be5a3eee461530184212d oob680-m1-binfilter.tar.bz2 17439083 +MD5 1f8a90ac2460ac460233907c2f04acbe oob680-m1-core.tar.bz2 109259563 +RMD160 766e4fe653cb985c7c06ab329cefd7e5eeb29d2f oob680-m1-core.tar.bz2 109259563 +SHA256 cc98cc22468cf37c1e993ed54e989dab80871509cc1c1caee788880010db8f0b oob680-m1-core.tar.bz2 109259563 +MD5 764ef15ef0c5b703fd8b83afb3f9e0ff oob680-m1-lang.tar.bz2 58057100 +RMD160 2b20ec845e7632e3089b7d770f34b7cd8d69a5c2 oob680-m1-lang.tar.bz2 58057100 +SHA256 849e23b9d61b2b8f83a2bab8bae91001cca84887cfe598e5393a7fe8552d5ba2 oob680-m1-lang.tar.bz2 58057100 +MD5 5224687b5b6a42a1f74cd92ab3ce1d12 oob680-m1-system.tar.bz2 25711228 +RMD160 cd2b4e3732f022e65f2cf1cb17ca847db70e5165 oob680-m1-system.tar.bz2 25711228 +SHA256 d9fa12beb5d799470a7cb920b533abd369ccf5aaba2fd6ce485dc0adaff5cd3c oob680-m1-system.tar.bz2 25711228 +MD5 0c23a985a5f17757c6e05a21ef955270 ooo-build-oob680.1.1.tar.gz 5151627 +RMD160 1f4f59831472dfacd38fdb78cc85ebfe59e7ddf0 ooo-build-oob680.1.1.tar.gz 5151627 +SHA256 7163640de8b1aa7d1ef44b2ddca94786a91085886124ade8a856077f7703b956 ooo-build-oob680.1.1.tar.gz 5151627 diff --git a/app-office/openoffice/openoffice-2.0.2_rc1.ebuild b/app-office/openoffice/openoffice-2.0.2_rc1.ebuild new file mode 100644 index 000000000000..caa637ed5566 --- /dev/null +++ b/app-office/openoffice/openoffice-2.0.2_rc1.ebuild @@ -0,0 +1,250 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice/openoffice-2.0.2_rc1.ebuild,v 1.1 2006/02/17 07:48:54 suka Exp $ + +inherit eutils fdo-mime flag-o-matic kde-functions toolchain-funcs + +IUSE="binfilter curl eds firefox gnome gtk java kde ldap mozilla xml2" + +MY_PV="${PV/_rc1/}" +MY_PV2="oob680.1.1" +PATCHLEVEL="OOB680" +SRC="oob680-m1" +S="${WORKDIR}/ooo-build-${MY_PV2}" +CONFFILE="${S}/distro-configs/Gentoo.conf.in" +DESCRIPTION="OpenOffice.org, a full office productivity suite." + +SRC_URI="http://go-oo.org/packages/${PATCHLEVEL}/${SRC}-core.tar.bz2 + http://go-oo.org/packages/${PATCHLEVEL}/${SRC}-system.tar.bz2 + http://go-oo.org/packages/${PATCHLEVEL}/${SRC}-lang.tar.bz2 + binfilter? ( http://go-oo.org/packages/${PATCHLEVEL}/${SRC}-binfilter.tar.bz2 ) + http://go-oo.org/packages/${PATCHLEVEL}/ooo-build-${MY_PV2}.tar.gz + http://go-ooo.org/packages/libwpd/libwpd-0.8.3.tar.gz + http://go-oo.org/packages/SRC680/extras-2.tar.bz2 + http://go-oo.org/packages/SRC680/hunspell_UNO_1.1.tar.gz" + +HOMEPAGE="http://go-oo.org" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="~x86" + +RDEPEND="!app-office/openoffice-bin + || ( ( + x11-libs/libXaw + x11-libs/libXinerama + ) + virtual/x11 ) + virtual/libc + >=dev-lang/perl-5.0 + gnome? ( >=x11-libs/gtk+-2.4 + >=gnome-base/gnome-vfs-2.6 + >=gnome-base/gconf-2.0 ) + gtk? ( >=x11-libs/gtk+-2.4 ) + eds? ( >=gnome-extra/evolution-data-server-1.2 ) + kde? ( >=kde-base/kdelibs-3.2 ) + mozilla? ( !firefox? ( >=www-client/mozilla-1.7.12 ) + firefox? ( >=www-client/mozilla-firefox-1.5-r9 ) ) + >=x11-libs/startup-notification-0.5 + >=media-libs/freetype-2.1.4 + >=media-libs/fontconfig-2.2.0 + media-libs/libpng + sys-devel/flex + sys-devel/bison + app-arch/zip + app-arch/unzip + app-text/hunspell + dev-libs/expat + java? ( >=virtual/jre-1.4 ) + >=sys-devel/gcc-3.2.1 + linguas_ja? ( >=media-fonts/kochi-substitute-20030809-r3 ) + linguas_zh_CN? ( >=media-fonts/arphicfonts-0.1-r2 ) + linguas_zh_TW? ( >=media-fonts/arphicfonts-0.1-r2 )" + +DEPEND="${RDEPEND} + || ( ( + x11-libs/libXrender + x11-proto/printproto + x11-proto/xextproto + x11-proto/xproto + x11-proto/xineramaproto + ) + virtual/x11 ) + net-print/cups + >=sys-apps/findutils-4.1.20-r1 + app-shells/tcsh + dev-perl/Archive-Zip + dev-util/pkgconfig + dev-util/intltool + curl? ( >=net-misc/curl-7.9.8 ) + sys-libs/zlib + sys-libs/pam + !dev-util/dmake + >=dev-lang/python-2.3.4 + java? ( >=virtual/jdk-1.4 + dev-java/ant-core + >=dev-java/java-config-1.2.11-r1 ) + !java? ( dev-libs/libxslt + >=dev-libs/libxml2-2.0 ) + ldap? ( net-nds/openldap ) + xml2? ( >=dev-libs/libxml2-2.0 )" + +PROVIDE="virtual/ooo" + +pkg_setup() { + + ewarn + ewarn " It is important to note that OpenOffice.org is a very fragile " + ewarn " build when it comes to CFLAGS. A number of flags have already " + ewarn " been filtered out. If you experience difficulty merging this " + ewarn " package and use agressive CFLAGS, lower the CFLAGS and try to " + ewarn " merge again. Also note that building OOo takes a lot of time and " + ewarn " hardware ressources: 4-6 GB free diskspace and 256 MB RAM are " + ewarn " the minimum requirements. If you have less, use openoffice-bin " + ewarn " instead. " + ewarn + + strip-linguas af ar be_BY bg bn br bs ca cs cy da de el en en_GB en_US en_ZA es et fa fi fr ga gu_IN he hi_IN hr hu it ja km ko lo lt lv mk nb ne nl nn nr ns pa_IN pl pt_BR ru rw sh_YU sk sl sr_CS st sv sw_TZ th tn tr vi xh zh_CN zh_TW zu + + if [ -z "${LINGUAS}" ]; then + export LINGUAS_OOO="en-US" + ewarn " To get a localized build, set the according LINGUAS variable(s). " + ewarn + else + export LINGUAS_OOO="${LINGUAS//en/en_US}" + export LINGUAS_OOO="${LINGUAS_OOO//en_US_GB/en_GB}" + export LINGUAS_OOO="${LINGUAS_OOO//en_US_US/en_US}" + export LINGUAS_OOO="${LINGUAS_OOO//_/-}" + fi + + if use !java; then + ewarn " You are building with java-support disabled, this results in some " + ewarn " of the OpenOffice.org functionality (i.e. help) being disabled. " + ewarn " If something you need does not work for you, rebuild with " + ewarn " java in your USE-flags. Also the xml2 use-flag is disabled with " + ewarn " -java to prevent build breakage. " + ewarn + elif use sparc; then + ewarn " Java support on sparc is very flaky, we don't recommend " + ewarn " building openoffice this way." + ebeep 5 + epause 10 + fi + + #Detect which look and patchset we are using, amd64 is known not to be working atm, so this is here for testing purposes only + use amd64 && export DISTRO="Gentoo64" || export DISTRO="Gentoo" + +} + +src_unpack() { + + unpack ooo-build-${MY_PV2}.tar.gz + + #Some fixes for our patchset + cd ${S} + epatch ${FILESDIR}/${MY_PV}/removecrystalcheck.diff + + #Use flag checks + use java && echo "--with-jdk-home=${JAVA_HOME} --with-ant-home=${ANT_HOME}" >> ${CONFFILE} || echo "--without-java" >> ${CONFFILE} + + echo "`use_enable binfilter`" >> ${CONFFILE} + echo "`use_with curl system-curl`" >> ${CONFFILE} + echo "`use_with xml2 system-libxml`" >> ${CONFFILE} + + echo "`use_with mozilla system-mozilla`" >> ${CONFFILE} + echo "`use_enable mozilla`" >> ${CONFFILE} + echo "`use_with firefox`" >> ${CONFFILE} + + echo "`use_enable ldap openldap`" >> ${CONFFILE} + echo "`use_enable eds evolution2`" >> ${CONFFILE} + echo "`use_enable gnome gnome-vfs`" >> ${CONFFILE} + echo "`use_enable gnome lockdown`" >> ${CONFFILE} + +} + +src_compile() { + + unset LIBC + addpredict "/bin" + addpredict "/root/.gconfd" + addpredict "/root/.gnome" + + # Should the build use multiprocessing? Not enabled by default, as it tends to break + export JOBS="1" + if [ "${WANT_DISTCC}" == "true" ]; then + export JOBS=`echo "${MAKEOPTS}" | sed -e "s/.*-j\([0-9]\+\).*/\1/"` + fi + + # Make sure gnome-users get gtk-support + export GTKFLAG="`use_enable gtk`" && use gnome && GTKFLAG="--enable-gtk" + + cd ${S} + autoconf || die + ./configure ${MYCONF} \ + --with-distro="${DISTRO}" \ + --with-vendor="Gentoo" \ + --with-arch="${ARCH}" \ + --with-srcdir="${DISTDIR}" \ + --with-lang="${LINGUAS_OOO}" \ + --with-num-cpus="${JOBS}" \ + --with-binsuffix="2" \ + --with-installed-ooo-dirname="openoffice" \ + --with-tag=${SRC} \ + "${GTKFLAG}" \ + `use_enable kde` \ + --disable-access \ + --disable-mono \ + --disable-cairo \ + --disable-post-install-scripts \ + --enable-hunspell \ + --with-system-hunspell \ + --mandir=/usr/share/man \ + || die "Configuration failed!" + + # Compile problems with these ... + filter-flags "-funroll-loops" + filter-flags "-fomit-frame-pointer" + filter-flags "-fprefetch-loop-arrays" + filter-flags "-fno-default-inline" + filter-flags "-fstack-protector" + filter-flags "-ftracer" + append-flags "-fno-strict-aliasing" + replace-flags "-O3" "-O2" + replace-flags "-Os" "-O2" + + # Now for our optimization flags ... + export ARCH_FLAGS="${CFLAGS}" + + einfo "Building OpenOffice.org..." + use kde && set-kdedir 3 + make || die "Build failed" + +} + +src_install() { + + einfo "Preparing Installation" + make DESTDIR=${D} install || die "Installation failed!" + + # Install corrected Symbol Font + insinto /usr/share/fonts/TTF/ + doins fonts/*.ttf + +} + +pkg_postinst() { + + fdo-mime_desktop_database_update + fdo-mime_mime_database_update + + [ -x /sbin/chpax ] && [ -e /usr/lib/openoffice/program/soffice.bin ] && chpax -zm /usr/lib/openoffice/program/soffice.bin + + einfo " To start OpenOffice.org, run:" + einfo + einfo " $ ooffice2" + einfo + einfo " Also, for individual components, you can use any of:" + einfo + einfo " oobase2, oocalc2, oodraw2, oofromtemplate2, ooimpress2, oomath2," + einfo " ooweb2 or oowriter2" +}