diff options
author | Andreas Proschofsky <suka@gentoo.org> | 2006-08-24 09:21:22 +0000 |
---|---|---|
committer | Andreas Proschofsky <suka@gentoo.org> | 2006-08-24 09:21:22 +0000 |
commit | 2c65347adf819ac9f60baa04378348b1c3bc2e34 (patch) | |
tree | 2cf9f7eb077d012b0ad23a5835ec45ff0a5b895b | |
parent | Mask OpenOffice.org 2.0.4 pre-release (diff) | |
download | historical-2c65347adf819ac9f60baa04378348b1c3bc2e34.tar.gz historical-2c65347adf819ac9f60baa04378348b1c3bc2e34.tar.bz2 historical-2c65347adf819ac9f60baa04378348b1c3bc2e34.zip |
First release candidate for OOo 2.0.4
Package-Manager: portage-2.1.1_pre5-r3
-rw-r--r-- | app-office/openoffice/ChangeLog | 10 | ||||
-rw-r--r-- | app-office/openoffice/Manifest | 25 | ||||
-rw-r--r-- | app-office/openoffice/files/2.0.4_rc1/gentoo-2.0.4_rc1.diff | 31 | ||||
-rw-r--r-- | app-office/openoffice/files/digest-openoffice-2.0.4_rc1 | 39 | ||||
-rw-r--r-- | app-office/openoffice/openoffice-2.0.4_rc1.ebuild | 307 |
5 files changed, 407 insertions, 5 deletions
diff --git a/app-office/openoffice/ChangeLog b/app-office/openoffice/ChangeLog index f83236c81e69..8764964edf7d 100644 --- a/app-office/openoffice/ChangeLog +++ b/app-office/openoffice/ChangeLog @@ -1,6 +1,14 @@ # 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.239 2006/07/28 21:54:29 suka Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice/ChangeLog,v 1.240 2006/08/24 09:21:21 suka Exp $ + +*openoffice-2.0.4_rc1 (24 Aug 2006) + + 24 Aug 2006; <suka@gentoo.org> +files/2.0.4_rc1/gentoo-2.0.4_rc1.diff, + +openoffice-2.0.4_rc1.ebuild: + First release candidate for OpenOffice.org 2.0.4. Some of the highlights of + this release: optional Gstreamer-support for the media-player, Gentoo-splash + only installed when using the branding use-flag, tcsh-dependency is gone. 28 Jul 2006; Andreas Proschofsky <suka@gentoo.org> openoffice-2.0.3.ebuild: diff --git a/app-office/openoffice/Manifest b/app-office/openoffice/Manifest index ba360fb0f742..dab6c080b3fc 100644 --- a/app-office/openoffice/Manifest +++ b/app-office/openoffice/Manifest @@ -2,6 +2,10 @@ AUX 2.0.3/gentoo-2.0.3.diff 523 RMD160 9e60f68dae950bc929d454a5d5d0a050a03b90e9 MD5 919be84ef3c8315b84c37cdd1f5b947d files/2.0.3/gentoo-2.0.3.diff 523 RMD160 9e60f68dae950bc929d454a5d5d0a050a03b90e9 files/2.0.3/gentoo-2.0.3.diff 523 SHA256 adf13d129e3a3a6fb513ada2046af98d10d4d46953603da13be8e4ae75d56527 files/2.0.3/gentoo-2.0.3.diff 523 +AUX 2.0.4_rc1/gentoo-2.0.4_rc1.diff 775 RMD160 c9625d2c3a589fa87f306da15371a69967090d78 SHA1 4a9d83497f7d6274e827d45cdf81d8d732ea9f15 SHA256 0bb0442e774124fd7ea3c7ccfed17743274aef3d2413e85fe6981d71f0e5838b +MD5 c6636afc3588216a5a60fd5c99eefc50 files/2.0.4_rc1/gentoo-2.0.4_rc1.diff 775 +RMD160 c9625d2c3a589fa87f306da15371a69967090d78 files/2.0.4_rc1/gentoo-2.0.4_rc1.diff 775 +SHA256 0bb0442e774124fd7ea3c7ccfed17743274aef3d2413e85fe6981d71f0e5838b files/2.0.4_rc1/gentoo-2.0.4_rc1.diff 775 DIST OOO_2_0_3-binfilter.tar.bz2 17307831 RMD160 a8bb291789bee4692804f8fc3b32ce204689d7a3 SHA1 fa89f8f7c1414b365b78467dc4007d802e9ffd68 SHA256 eeb478603262ea62bc749f6698512bf0463d66cc2a5669db6ecedeb937577864 DIST OOO_2_0_3-core.tar.bz2 109469286 RMD160 d40a11614ef9d25b6af96485877a347ffb6cefd0 SHA1 2ec6cee1fad05c128eb8c0b4e4ab7d9ca1b2c71f SHA256 0d6889e0426590e58c546ca03d227f266ced7de41bc55bcec7ff6f3cfd238c2d DIST OOO_2_0_3-lang.tar.bz2 64201627 RMD160 f893f84ad3c3526c15eb935163d7d98c201d225d SHA1 7525407d609a40ff1edb2c3b74642fd5e83d7921 SHA256 d9120ed91073ec624e60e604872611ecbde204300762874cf5a673addfda4dd8 @@ -12,16 +16,26 @@ DIST extras-2.tar.bz2 94740 RMD160 cba0fdebbbf84e6520af08d1cbb09363d36874bd SHA1 DIST hunspell_UNO_1.1.tar.gz 13774 RMD160 9c0c31220d63894c9060a05fd136083b0b017b94 SHA1 d72420069de87062b3e5b4f45235a7bc2c1e124a SHA256 9de07fbe97c9539bae9c76502474c76471ab173dac365e251ca3fc5281008149 DIST libwpd-0.8.3.tar.gz 482757 RMD160 f8010300e50e1c43942e6a84a3b526738edb4ed5 SHA1 397b33bf77a6bfbab71ca3de7e42bc99ab80fdd6 SHA256 2221aaa444d29f4a1eacea1a0a939012f02a8aa8e02c178788d68ccc0024170c DIST lp_solve_5.5.tar.gz 495452 RMD160 4f54d0d2116998da5de38cf51505835a8fd6e412 SHA1 1cb19a392a4b3370adc3513964f7a351ad605875 SHA256 6f9946c08c8fc3c97f74b58db8a62eac74027a7e709d81ee968716f7386682f1 +DIST ood680-m1-binfilter.tar.bz2 16801691 RMD160 e4626103a2d897867ce142267a618e014d4f876b SHA1 4d7ec28c3f59991022822e948fdadbe086a63356 SHA256 8d2e815620dbd83d49c4c107ca1cb63dda2095e06b28579de40046e9b49499c1 +DIST ood680-m1-core.tar.bz2 108530107 RMD160 d0451f05d5345a72ae0ca1613d8d954cf5a32826 SHA1 d0d8ce23c90bc92568caa7ac4e2493da1b0936c8 SHA256 93b109f79d9c2f746893546785b4c14587849463cdb7928bc033c94a7415ac9c +DIST ood680-m1-lang.tar.bz2 64737274 RMD160 d30de72ca7bf577d76fd991249050fe80ae839ce SHA1 c92fbc083fb9362411af86baa8ca0783495c36db SHA256 8198743aef1129cf357bc09a880bf0746cf088466963dec6ec0adbb57a9b5e92 +DIST ood680-m1-system.tar.bz2 28794391 RMD160 5492cc2dd5e0d67d63fa594dc33b42d77a5a8564 SHA1 b4e3795a1314489c26fb7db73b4669c0478b6612 SHA256 dc7890a4ea710e9bc2dcb1d9d32f58c68a02844bdcc40e41248682f0082fff20 DIST ooo-build-2.0.3.0.tar.gz 5158406 RMD160 45eb102b17f4b55b1b44f0eb08a933b75b9eb3dc SHA1 a8d5c3d264819620bcb0122342558debc50c8729 SHA256 b425013aa40d1fd4e3d596a38b2add86ae9c4d7e84cc23e1b2b5e924553efd7c +DIST ooo-build-ood680-m1.tar.gz 4267507 RMD160 bd38e9d1fdefc39322d9a628b89bace8a0c387f0 SHA1 59d387f58a0d994b822b8926c8f0c8c54c663dd6 SHA256 9ddf518c5f41b6268f81ae43480acdd246cdf7fb074d9f6edf127ceeeca5ccaa +DIST unowinreg.dll 6144 RMD160 9e2a2789a96842a2aec747a62dee3db3e8370761 SHA1 712720da502d36175cd7aa05cb1862ee0330638c SHA256 f563e522922133db9340b0306711c2d8767cc3481dd9e7d9b0d059906d12653c DIST xt-20051206-src-only.zip 423516 RMD160 5fd5bb66b6586809e27fc240d624d64589ec4b9d SHA1 edaba936383f5e1d6d245b4c826c6207825a8297 SHA256 38121476c238c81760e1285e3aeea9eda1a7ab18c0c31a54e3645910bd8fb38e EBUILD openoffice-2.0.3.ebuild 8771 RMD160 d8e4177da714bf2baf0918254d55d74b007c0450 SHA1 e027c967c426442b48e0489ef85cfbcc75a51bf5 SHA256 64fb4fc0fce9c69df56246ceec62779be3256d6e9eff1d876ab566e245a29e20 MD5 1bb775b012dc3e889ce2deb201d52cf7 openoffice-2.0.3.ebuild 8771 RMD160 d8e4177da714bf2baf0918254d55d74b007c0450 openoffice-2.0.3.ebuild 8771 SHA256 64fb4fc0fce9c69df56246ceec62779be3256d6e9eff1d876ab566e245a29e20 openoffice-2.0.3.ebuild 8771 -MISC ChangeLog 50071 RMD160 b079c32732849e73e8ec2edda24773441a6fd459 SHA1 1da53943ee434afd470fb6aa70a20282cecac022 SHA256 3cdb333ffaee109524a34622b0f042829988aafa8505607758e2191bb41a2a53 -MD5 fcbf664a438494609a65d49c10d2b0f7 ChangeLog 50071 -RMD160 b079c32732849e73e8ec2edda24773441a6fd459 ChangeLog 50071 -SHA256 3cdb333ffaee109524a34622b0f042829988aafa8505607758e2191bb41a2a53 ChangeLog 50071 +EBUILD openoffice-2.0.4_rc1.ebuild 9341 RMD160 4b9c5ec7d1106ec287501ba229a569d300568b7c SHA1 2ad05a9804959111be4dd1f3e261d8bd83620e3b SHA256 b2597a6d635e19451a1389f4faade3daf71d61ccc3d91b3c9e5d54a621a9a410 +MD5 5ec5a736fca1af2a25b540fabe5448e4 openoffice-2.0.4_rc1.ebuild 9341 +RMD160 4b9c5ec7d1106ec287501ba229a569d300568b7c openoffice-2.0.4_rc1.ebuild 9341 +SHA256 b2597a6d635e19451a1389f4faade3daf71d61ccc3d91b3c9e5d54a621a9a410 openoffice-2.0.4_rc1.ebuild 9341 +MISC ChangeLog 50447 RMD160 194c7bd196f14ed90b6d3e3e97b09a73b05442b4 SHA1 eb94b73b86f3449db61924e86ef4cd46eb2197b6 SHA256 93c48fc3b88a236f0b83ad22fbaecc18bbc9b6ea36fe3cf224356718233ccdb0 +MD5 59c167c1f34bad32ad11382917e0a180 ChangeLog 50447 +RMD160 194c7bd196f14ed90b6d3e3e97b09a73b05442b4 ChangeLog 50447 +SHA256 93c48fc3b88a236f0b83ad22fbaecc18bbc9b6ea36fe3cf224356718233ccdb0 ChangeLog 50447 MISC metadata.xml 461 RMD160 3e99c165e962e73417462c6df7a476a558b3ae18 SHA1 dc88aabf10f5ff2f3e4613172ba8f12abe4d0f59 SHA256 7a25927f2c830703539753c0f7295551795419ef0d05b72db505a2ac1094d291 MD5 e3ec4a70395943b59adad7fc4f0538d7 metadata.xml 461 RMD160 3e99c165e962e73417462c6df7a476a558b3ae18 metadata.xml 461 @@ -29,3 +43,6 @@ SHA256 7a25927f2c830703539753c0f7295551795419ef0d05b72db505a2ac1094d291 metadata MD5 a6b28e47f7e33da4cd6c0f075331cce8 files/digest-openoffice-2.0.3 2964 RMD160 70b80a5d3b91f81fa2bb814b3fa15c9295667201 files/digest-openoffice-2.0.3 2964 SHA256 79256124a48dd35bbf1af13f79d11424b11686766035dc9441c898cb8e7838a0 files/digest-openoffice-2.0.3 2964 +MD5 5b59631fd5610696d04698355c2a9c8a files/digest-openoffice-2.0.4_rc1 3184 +RMD160 b6ebbc1ba35dc6bc4a45d27975b8880b37ec99e6 files/digest-openoffice-2.0.4_rc1 3184 +SHA256 f14da0f443f95ea849dc44ed3e2b4802ed63df164c57b5cd7713bee0e776f75d files/digest-openoffice-2.0.4_rc1 3184 diff --git a/app-office/openoffice/files/2.0.4_rc1/gentoo-2.0.4_rc1.diff b/app-office/openoffice/files/2.0.4_rc1/gentoo-2.0.4_rc1.diff new file mode 100644 index 000000000000..f0a4c1634c0f --- /dev/null +++ b/app-office/openoffice/files/2.0.4_rc1/gentoo-2.0.4_rc1.diff @@ -0,0 +1,31 @@ +--- bin/package-ooo ++++ bin/package-ooo +@@ -57,6 +57,7 @@ + #!/bin/sh + export OOO_EXTRA_ARG='$2' ++unset PYTHONPATH + $OOINSTBASE/program/ooqstart $3 "\$@" + EOT + chmod 755 $1 + } +--- bin/ooo-wrapper.in ++++ bin/ooo-wrapper.in +@@ -92,6 +89,9 @@ + print STDERR "\n\n --- Warning - OO.o will not work without a mounted /proc filesystem --- \n\n\n"; + } + ++# Clear PYTHONPATH, otherwise Python scripting does not work ++delete $ENV{'PYTHONPATH'}; ++ + # And here we go. + exec "$SystemInstallDir/program/$Binary", @ooo_argv + +--- distro-configs/Gentoo.conf.in ++++ distro-configs/Gentoo.conf.in +@@ -9,6 +9,5 @@ + --disable-qadevooo + --with-dynamic-xinerama + --without-myspell-dicts +---with-intro-bitmaps=\"${SRCDIR}/openintro_gentoo.bmp\" + --with-vendor=\"Gentoo Foundation\" + diff --git a/app-office/openoffice/files/digest-openoffice-2.0.4_rc1 b/app-office/openoffice/files/digest-openoffice-2.0.4_rc1 new file mode 100644 index 000000000000..0ee1c6a509db --- /dev/null +++ b/app-office/openoffice/files/digest-openoffice-2.0.4_rc1 @@ -0,0 +1,39 @@ +MD5 2aa6bb72a257abcd896014b08fa4e6f0 cli_types.dll 634880 +RMD160 2cba491d27cc349a3468127a93981396756c6fc8 cli_types.dll 634880 +SHA256 7316a75be649b5a1c09c953b6ac20aa1953afbddd82a454a864d4a1c70a5a3ca cli_types.dll 634880 +MD5 f06322e5157495c22ba77f310fa4a89b cli_types_bridgetest.dll 20480 +RMD160 ac4a4110cf21d5bc7d9797f651a84fa20627c03b cli_types_bridgetest.dll 20480 +SHA256 3e62533c0f9e337021d2396332438ad23ea0fd480aab849c50aab48ab40579bb cli_types_bridgetest.dll 20480 +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 2ff7b4c52f9c3937ebe3002798fbc479 lp_solve_5.5.tar.gz 495452 +RMD160 4f54d0d2116998da5de38cf51505835a8fd6e412 lp_solve_5.5.tar.gz 495452 +SHA256 6f9946c08c8fc3c97f74b58db8a62eac74027a7e709d81ee968716f7386682f1 lp_solve_5.5.tar.gz 495452 +MD5 4227cb490181e7906d68e230e503e7fd ood680-m1-binfilter.tar.bz2 16801691 +RMD160 e4626103a2d897867ce142267a618e014d4f876b ood680-m1-binfilter.tar.bz2 16801691 +SHA256 8d2e815620dbd83d49c4c107ca1cb63dda2095e06b28579de40046e9b49499c1 ood680-m1-binfilter.tar.bz2 16801691 +MD5 a7f39438c364c1a4d690c142828eb784 ood680-m1-core.tar.bz2 108530107 +RMD160 d0451f05d5345a72ae0ca1613d8d954cf5a32826 ood680-m1-core.tar.bz2 108530107 +SHA256 93b109f79d9c2f746893546785b4c14587849463cdb7928bc033c94a7415ac9c ood680-m1-core.tar.bz2 108530107 +MD5 0505bc40e555c79641baf214d24c7661 ood680-m1-lang.tar.bz2 64737274 +RMD160 d30de72ca7bf577d76fd991249050fe80ae839ce ood680-m1-lang.tar.bz2 64737274 +SHA256 8198743aef1129cf357bc09a880bf0746cf088466963dec6ec0adbb57a9b5e92 ood680-m1-lang.tar.bz2 64737274 +MD5 67346db58d80775c901ef0b808c7b9db ood680-m1-system.tar.bz2 28794391 +RMD160 5492cc2dd5e0d67d63fa594dc33b42d77a5a8564 ood680-m1-system.tar.bz2 28794391 +SHA256 dc7890a4ea710e9bc2dcb1d9d32f58c68a02844bdcc40e41248682f0082fff20 ood680-m1-system.tar.bz2 28794391 +MD5 a9bc3fcc2b08095779b839b43dbd8a4a ooo-build-ood680-m1.tar.gz 4267507 +RMD160 bd38e9d1fdefc39322d9a628b89bace8a0c387f0 ooo-build-ood680-m1.tar.gz 4267507 +SHA256 9ddf518c5f41b6268f81ae43480acdd246cdf7fb074d9f6edf127ceeeca5ccaa ooo-build-ood680-m1.tar.gz 4267507 +MD5 e3a0b76dcd876f3d721ee7183729153d unowinreg.dll 6144 +RMD160 9e2a2789a96842a2aec747a62dee3db3e8370761 unowinreg.dll 6144 +SHA256 f563e522922133db9340b0306711c2d8767cc3481dd9e7d9b0d059906d12653c unowinreg.dll 6144 +MD5 0395e6e7da27c1cea7e1852286f6ccf9 xt-20051206-src-only.zip 423516 +RMD160 5fd5bb66b6586809e27fc240d624d64589ec4b9d xt-20051206-src-only.zip 423516 +SHA256 38121476c238c81760e1285e3aeea9eda1a7ab18c0c31a54e3645910bd8fb38e xt-20051206-src-only.zip 423516 diff --git a/app-office/openoffice/openoffice-2.0.4_rc1.ebuild b/app-office/openoffice/openoffice-2.0.4_rc1.ebuild new file mode 100644 index 000000000000..e15a58c1519d --- /dev/null +++ b/app-office/openoffice/openoffice-2.0.4_rc1.ebuild @@ -0,0 +1,307 @@ +# 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.4_rc1.ebuild,v 1.1 2006/08/24 09:21:21 suka Exp $ + +inherit check-reqs debug eutils fdo-mime flag-o-matic java-pkg-opt-2 kde-functions mono multilib toolchain-funcs + +IUSE="binfilter branding cairo eds firefox gnome gstreamer gtk java kde ldap mono odk pam xml" + +MY_PV="${PV}" +PATCHLEVEL="OOD680" +SRC="ood680-m1" +S="${WORKDIR}/ooo" +S_OLD="${WORKDIR}/ooo-build-${SRC}" +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-${SRC}.tar.gz + http://go-oo.org/packages/libwpd/libwpd-0.8.3.tar.gz + mono? ( http://go-oo.org/packages/SRC680/cli_types.dll + http://go-oo.org/packages/SRC680/cli_types_bridgetest.dll ) + http://tools.openoffice.org/unowinreg_prebuild/680/unowinreg.dll + http://go-oo.org/packages/SRC680/extras-2.tar.bz2 + http://go-oo.org/packages/SRC680/hunspell_UNO_1.1.tar.gz + http://go-oo.org/packages/xt/xt-20051206-src-only.zip + http://go-oo.org/packages/SRC680/lp_solve_5.5.tar.gz" + +LANGS="af ar be_BY bg bn bs ca cs cy da de el en en_GB en_US en_ZA es et fa fi fr gu_IN he hi_IN hr hu it ja km ko lt mk nb nl nn nr ns pa_IN pl pt pt_BR ru rw sh_YU sk sl sr_CS st sv sw_TZ th tn tr ts vi xh zh_CN zh_TW zu" + +for X in ${LANGS} ; do + IUSE="${IUSE} linguas_${X}" +done + +HOMEPAGE="http://go-oo.org" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="-amd64 ~ppc ~sparc ~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 ) + cairo? ( >=x11-libs/cairo-1.0.2 + >=x11-libs/gtk+-2.8 ) + eds? ( >=gnome-extra/evolution-data-server-1.2 ) + gstreamer? ( >=media-libs/gstreamer-0.10 + >=media-libs/gst-plugins-base-0.10 ) + kde? ( >=kde-base/kdelibs-3.2 ) + firefox? ( >=www-client/mozilla-firefox-1.5-r9 + >=dev-libs/nspr-4.6.2 + >=dev-libs/nss-3.11-r1 ) + >=x11-libs/startup-notification-0.5 + >=media-libs/freetype-2.1.10-r2 + >=media-libs/fontconfig-2.2.0 + media-libs/libpng + sys-devel/flex + sys-devel/bison + app-arch/zip + app-arch/unzip + >=app-text/hunspell-1.1.4-r1 + dev-libs/expat + java? ( >=virtual/jre-1.4 + >=dev-java/java-config-2 ) + >=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/bash + dev-perl/Archive-Zip + dev-perl/Compress-Zlib + dev-util/pkgconfig + dev-util/intltool + >=net-misc/curl-7.9.8 + sys-libs/zlib + sys-apps/coreutils + pam? ( sys-libs/pam ) + !dev-util/dmake + >=dev-lang/python-2.3.4 + app-admin/eselect-oodict + 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 ) + mono? ( >=dev-lang/mono-1.1.6 ) + xml? ( >=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 + + # Check if we have enough RAM and free diskspace to build this beast + CHECKREQS_MEMORY="256" + use debug && CHECKREQS_DISK_BUILD="8192" || CHECKREQS_DISK_BUILD="5120" + check_reqs + + strip-linguas ${LANGS} + + if [ -z "${LINGUAS}" ]; then + export LINGUAS_OOO="en-US" + ewarn + ewarn " To get a localized build, set the according LINGUAS variable(s). " + ewarn + else + export LINGUAS_OOO=`echo ${LINGUAS} | \ + sed -e 's/\ben\b/en_US/g' -e 's/_/-/g'` + 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 xml 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" + + use java && java-pkg-opt-2_pkg_setup + +} + +src_unpack() { + + unpack ooo-build-${SRC}.tar.gz + + # Hackish workaround for overlong path problem, see bug #130837 + mv ${S_OLD} ${S} || die + + #Some fixes for our patchset + cd ${S} + epatch ${FILESDIR}/${PV}/gentoo-${PV}.diff + + # Copy over some missing stuff + cp -f ${DISTDIR}/unowinreg.dll ${S}/src + + #Use flag checks + use java && echo "--with-jdk-home=${JAVA_HOME} --with-ant-home=${ANT_HOME}" >> ${CONFFILE} || echo "--without-java" >> ${CONFFILE} + use branding && echo "--with-intro-bitmaps=\\\"${S}/src/openintro_gentoo.bmp\\\"" >> ${CONFFILE} + + echo "`use_enable binfilter`" >> ${CONFFILE} + echo "`use_with xml system-libxml`" >> ${CONFFILE} + + echo "`use_enable firefox mozilla`" >> ${CONFFILE} + echo "`use_with firefox system-mozilla`" >> ${CONFFILE} + echo "`use_with firefox`" >> ${CONFFILE} + + echo "`use_enable ldap`" >> ${CONFFILE} + echo "`use_with ldap openldap`" >> ${CONFFILE} + echo "`use_enable eds evolution2`" >> ${CONFFILE} + echo "`use_enable gnome gnome-vfs`" >> ${CONFFILE} + echo "`use_enable gnome lockdown`" >> ${CONFFILE} + echo "`use_enable gnome atkbridge`" >> ${CONFFILE} + echo "`use_enable gstreamer`" >> ${CONFFILE} + + echo "`use_enable odk`" >> ${CONFFILE} + echo "`use_enable debug crashdump`" >> ${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 + + # Compile problems with these ... + filter-flags "-funroll-loops" + filter-flags "-fprefetch-loop-arrays" + filter-flags "-fno-default-inline" + filter-flags "-fstack-protector" + filter-flags "-ftracer" + filter-flags "-ffast-math" + filter-flags "-fforce-addr" + replace-flags "-O3" "-O2" + replace-flags "-Os" "-O2" + replace-flags "-O1" "-O2" + replace-flags "-O0" "-O2" + + use ppc && append-flags "-D_STLP_STRICT_ANSI" + + # Now for our optimization flags ... + export ARCH_FLAGS="${CXXFLAGS}" + + # 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-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` \ + `use_enable cairo` \ + `use_with cairo system-cairo` \ + `use_enable gnome quickstart` \ + `use_enable mono` \ + `use_enable pam` \ + `use_enable !debug strip` \ + --disable-access \ + --disable-post-install-scripts \ + --enable-hunspell \ + --with-system-hunspell \ + --mandir=/usr/share/man \ + --libdir=/usr/$(get_libdir) \ + || die "Configuration failed!" + + 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 + + # Fix the permissions for security reasons + chown -R root:root ${D} || die + +} + +pkg_postinst() { + + fdo-mime_desktop_database_update + fdo-mime_mime_database_update + + eselect oodict update --libdir $(get_libdir) + + [ -x /sbin/chpax ] && [ -e /usr/$(get_libdir)/openoffice/program/soffice.bin ] && chpax -zm /usr/$(get_libdir)/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" + einfo + einfo " Spell checking is now provided through our own myspell-ebuilds, " + einfo " if you want to use it, please install the correct myspell package " + einfo " according to your language needs. " + +} |