summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Proschofsky <suka@gentoo.org>2011-03-16 21:07:29 +0000
committerAndreas Proschofsky <suka@gentoo.org>2011-03-16 21:07:29 +0000
commit81e2f5c7e7c9646058ea2bccb197e47d2d4e3bba (patch)
treeb9fdbfe05c750360ebc0081c69b6f854b4fc8114 /app-office
parentVersion bump. Now builds with unbundled libafterimage (bug #252918), gl2ps. A... (diff)
downloadhistorical-81e2f5c7e7c9646058ea2bccb197e47d2d4e3bba.tar.gz
historical-81e2f5c7e7c9646058ea2bccb197e47d2d4e3bba.tar.bz2
historical-81e2f5c7e7c9646058ea2bccb197e47d2d4e3bba.zip
Remove outdated release.
Package-Manager: portage-2.2.0_alpha27/cvs/Linux x86_64
Diffstat (limited to 'app-office')
-rw-r--r--app-office/openoffice/ChangeLog7
-rw-r--r--app-office/openoffice/Manifest26
-rw-r--r--app-office/openoffice/files/boost-undefined-references.diff12
-rw-r--r--app-office/openoffice/files/gcc45-buildfix.diff17
-rw-r--r--app-office/openoffice/files/gentoo-3.2.0.diff67
-rw-r--r--app-office/openoffice/files/npwrap-fix-nogtk.diff12
-rw-r--r--app-office/openoffice/openoffice-3.2.0.ebuild405
7 files changed, 7 insertions, 539 deletions
diff --git a/app-office/openoffice/ChangeLog b/app-office/openoffice/ChangeLog
index 1a08ac50894d..3652a5480c1c 100644
--- a/app-office/openoffice/ChangeLog
+++ b/app-office/openoffice/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-office/openoffice
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice/ChangeLog,v 1.549 2011/03/16 19:18:42 xarthisius Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice/ChangeLog,v 1.550 2011/03/16 21:07:29 suka Exp $
+
+ 16 Mar 2011; Andreas Proschofsky <suka@gentoo.org> -openoffice-3.2.0.ebuild,
+ -files/gentoo-3.2.0.diff, -files/boost-undefined-references.diff,
+ -files/gcc45-buildfix.diff, -files/npwrap-fix-nogtk.diff:
+ Remove outdated release.
16 Mar 2011; Kacper Kowalik <xarthisius@gentoo.org>
openoffice-3.2.1-r1.ebuild:
diff --git a/app-office/openoffice/Manifest b/app-office/openoffice/Manifest
index 35d98dad7fa9..d27fb66621ed 100644
--- a/app-office/openoffice/Manifest
+++ b/app-office/openoffice/Manifest
@@ -1,25 +1,12 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-AUX boost-undefined-references.diff 409 RMD160 0a2ef66416f3b5f27f5acef23da21e77c619d81b SHA1 bdceb87ef22cb795836dd53d5946e4f7e26cd35a SHA256 f280a5bfe4206465cb00ebd97abbb3dff42136b6d4e59265f42153c22bf5fa07
AUX enable-startup-notification.diff 6396 RMD160 e444175640eaa2fac7cbc9a425c58e5c51c857f0 SHA1 0d8d51ae8de4d13b884bb2cd065807c75e1c3dc3 SHA256 e27eb3682c5cf8153caff674ec5964f20c54ced5faa47f129e3a806a5e95f5bb
-AUX gcc45-buildfix.diff 840 RMD160 fcb6c08ee67b61f60641d641daa329d5fd17772b SHA1 6344952a2d0d9690d4f864b3273713f95068eabd SHA256 2d5b95e94f9b9e95c97876db669aabe523d01194c9f7ce2f0a3ccb9bde9221bc
-AUX gentoo-3.2.0.diff 1972 RMD160 7c17515819d13c84c73b6361bc2c5fa3bcf26d17 SHA1 8d5df16b03e066e67a536e361b3670bca9651666 SHA256 f622b98d8988e904e6d168cbdc05ec44ae6388178f555d5943959f59282129f1
AUX gentoo-3.2.1.diff 1239 RMD160 f55c9c7c0b228da729f03886ea90c2302655c30e SHA1 a9f57a94f2093f8e3c88629c3d5704154d6c364a SHA256 6f62dca2b15828e5644201daf82096b077f50e53fce1e41ddacf91d7f7dfe251
AUX gentoo-pythonpath.diff 173 RMD160 dacec2c40bd4bd8e2c07fb849afb6f3fe3643371 SHA1 1430513326652f7b09eb04ee8f420532ac60b5c2 SHA256 de9316222af0f197a11041ba1105bfd070ba31cbcc1a2a212641d911b728ed5a
AUX libX11-fix.diff 304 RMD160 ce2d10b7c71301ec7944e185cab4afb20c7a6338 SHA1 e30094b51314d022dfda318fc27027d5a0da1af3 SHA256 9e62f06912f089043bd688a911678d609ddcce79a4e9b89427cba4198d00411e
AUX neon-remove-SSPI-support.diff 1091 RMD160 5dee3324b22b9c8d9f14b0e7998695a212c046a8 SHA1 e8541e791a03836d986d8e0db0d488570bb6ab36 SHA256 90d88d2fb96a0e82afe6b55e77c478ee9b1925e14dfbc998c2af0ef05edfd508
-AUX npwrap-fix-nogtk.diff 382 RMD160 557fe38a19d9a0e4505af34bed4033884f1075ab SHA1 209f73c706adabb1e2b2b3e4bc706f9afbbee172 SHA256 ad64cea66e4e4d9b351a44b3ed2774484baaaebe5e37ebea3121f4a0981d231f
AUX ooo-build-3.0.1.2-prefix.patch 1887 RMD160 b301f1bf5f753727f52a2a0540b4bd49f2d4fbd9 SHA1 7cde97117d314b904d1ef44c1224496d9728cd55 SHA256 c51409a5a1d3b951497f0ca6fcb8be2a345776f133b2d18c07ed534eaa5099eb
AUX ooo-env_log.diff 617 RMD160 480edf4962e8d55f82a4103297c3cc10a1bd4f3e SHA1 b655566079c408e72f1046262fe269ba8bf66040 SHA256 efb99da32fcc2029418b4c4c080ccc97cb622fcc24a6a6dd69d8cc5508c54bf1
AUX qt-use-native-backend.diff 391 RMD160 602d444e9768c1bb0a8f2ad36567c8ab571bc569 SHA1 148a3431222e7405eb16c42330da7f0a2f01e1eb SHA256 f3ba5e9390f47d42acb955c04f5ef62a5b62a5776bd9d5d3226d5034fafe6be9
AUX scrap-pixmap-links.diff 1082 RMD160 2d5dd83fbae0317186263d38b1f05433011670b0 SHA1 9c126e8f7fde6ad1dbb5095302926dd0ce9c7df7 SHA256 d5f64aaa8004cb38dae8259bcee8ec5b35e985a401b3253d5f3e3a83fc3ee4b7
-DIST OOo_3.2.0_src_binfilter.tar.bz2 6485071 RMD160 1a92582f7e9dc4c3dd57be6db0519f5d53e0b9ad SHA1 ef1041645ae444395f004eef4dbe31c472501476 SHA256 2acbd583f8b090e0fbdb5ea01d5362ad467b713299d29344fc7c80e5ff5083ca
-DIST OOo_3.2.0_src_core.tar.bz2 214923121 RMD160 2535240f28aa99777ca3768c366d5a465e044f72 SHA1 0246b77b0cb8445eb0c3ee9fb43f6e00ca54a61b SHA256 b44ab94c75b89c9354531ddba9c211374567535e147308a934e8c35d7b26814a
-DIST OOo_3.2.0_src_extensions.tar.bz2 13921000 RMD160 a274fabcc76bcc39640fe0c47a4ab008baffbcfd SHA1 860262cc0f3c6bf0e49d34ad495b956512265ad3 SHA256 6862b728fb1b5946399ddc1c7a3735a9ab84b696309a3af6c28cba7b885f5dd0
-DIST OOo_3.2.0_src_l10n-fixed.tar.bz2 104366307 RMD160 f82cf11833e0cb77038921d127db6da8a14cc0cf SHA1 1cf8bb2c5a37e3d5aab6bf59bd018a0209b33e35 SHA256 3e633557845657dabab634e347827f56668c4c1d01ef3f925084ac30b43d01da
-DIST OOo_3.2.0_src_system.tar.bz2 59670795 RMD160 02281b8890c724b7f2ad3115578d876cd48dab0a SHA1 ea0cdaa50ac620219671deb30070d3c52d0e509c SHA256 97796333eb2f17e8199026d4ab4334d59bbbffc8d2f9d9100a0c27e823e1305a
-DIST OOo_3.2.0_src_testautomation.tar.bz2 49095034 RMD160 f8dd241fdfa788b367aaee9212a21d5085287b52 SHA1 2ceb738b76f70feb4b4459308180dd65fcedf7e5 SHA256 2acfd1e2c1f81096489dc453d8be99ab0df51130ddf29c14450aebb78a57a9a5
DIST OOo_3.2.1_src_binfilter.tar.bz2 6461292 RMD160 2d0a5cfc4b155582ccab30db26998fae10a746ea SHA1 120dcb4c080423eb1135c582e8d1251b67585a25 SHA256 d72cbd9f3c173250c7c7ec3d5545d3b4783ead5addc95db23dd198c25b0eb05b
DIST OOo_3.2.1_src_core.tar.bz2 214703203 RMD160 f58b4adfe4beec9bcf37e8d063be253069dc31d0 SHA1 50416998ecca06118dbfb7ca8b1ab348cd9419c3 SHA256 d1dc94d1a82c0c2867c6f90917c431f648567a0156854908fc6a7e0b6d84423e
DIST OOo_3.2.1_src_extensions.tar.bz2 13898563 RMD160 6d223db57fb042dfe43e76c7209cb663189da161 SHA1 e0cd094a38973f9314e775ece03e6d7315607733 SHA256 32dba3a668c2ead7bc936a04296a1d39b49b4f418d702644d41d30059ef7ab34
@@ -36,21 +23,10 @@ DIST extras-3.tar.bz2 130640 RMD160 c6b6efb20cbec79b48bd21046f93959367fe1bd4 SHA
DIST libwps-0.1.2.tar.gz 413360 RMD160 a3f60fed70ab0c4f34091c10f4eb4a421cb87d44 SHA1 3da402f74a6296425e88d0ab1cf197a5927288d6 SHA256 e8f03fc83f7ddd3976adb61f693eaeebefee852655875816e5f945e0efabb2b1
DIST lp_solve_5.5.0.12_source.tar.gz 787446 RMD160 8cd5299543e07d2bf1819297fe0a18400b18d12b SHA1 ffa7e52c18ffacef7ed3dfe535f4221e853068df SHA256 bc26d07fe39ae50264e15ee54dbbcf4cb1fe6ecd2fef10142be5bdd38947f193
DIST mdds_0.3.0.tar.bz2 43041 RMD160 76d894e8f083d03ef1795e9c4c764c4b20c90a3a SHA1 3a1d839b9a36287074c3724fa16ac1e04d343fbe SHA256 4d28548468bb63edf630ebfc8c14f80531f12265f8fa5694c01b401594d01dff
-DIST ooo-build-3.2.0.10.tar.gz 13064810 RMD160 da7a0d18dee79db651fa144e9775511af1f0efdb SHA1 b6ebdf18e9022e62c5a6a457405d694ff218dde2 SHA256 41f42155d2d453576821ae6d24b125e6dce0bf9d95ea2f4267c6ae785305d63c
DIST ooo-build-3.2.1.6.tar.gz 14547953 RMD160 2fbb9a5dfcee854b18584cdd5b49f4801a3fbb5d SHA1 e3c77576f4ea8e097360897e8e9adf0418769b08 SHA256 bed78b0bbdff8bc08e1198d8aa7f026f3defff6147195b5ed4127b1eccbb33d1
DIST ooo_oxygen_images-2009-06-17.tar.gz 14296938 RMD160 355b7d43aff12578fc0af6ca6030301577477857 SHA1 c3dd261bfe366ac514a019b0fa829369b833c0c7 SHA256 3fcc0eb394ddfc43111ac27f35a7d966d4f775b0b46d6853c9b2b2612a940f4a
DIST scsolver.2008-10-30.tar.bz2 230572 RMD160 2176fd8207cce2e2db56c888849e766eedfb1a63 SHA1 7ad9c3396c3b1b9ac63274eb53818ba2d0a9f70c SHA256 865ac491bfbc7d4cc66b51fff78f3962a0a91efba1a8b5cc0bf5cf36be60e193
DIST unowinreg.dll 6144 RMD160 9e2a2789a96842a2aec747a62dee3db3e8370761 SHA1 712720da502d36175cd7aa05cb1862ee0330638c SHA256 f563e522922133db9340b0306711c2d8767cc3481dd9e7d9b0d059906d12653c
-EBUILD openoffice-3.2.0.ebuild 13421 RMD160 b283446a8a5161a7a1b25396c3817f0edd56c790 SHA1 fe1344114eae43927ad8a58976e8e9d0287b135a SHA256 3931665e4ddbd7af49bb10a13ea1c2e7579328eb01ca0b71b1482f0d8a3ee5a0
EBUILD openoffice-3.2.1-r1.ebuild 13494 RMD160 e71ded7b53c0f5f2d4e2c19a0b2151582c381e2f SHA1 f80d3759b29373f8c26acbbbf16b224df0c4ddda SHA256 1b7efecacb8359e8e6c7a1a2fbac76d4a7b02015611a0000bd4e7287fa4b437e
-MISC ChangeLog 111755 RMD160 0aa695666a6d9ccf5ee8b4be1e1814134aeb2b76 SHA1 beb3ba7bacfe1a6a0aeb1bebe73e79ed39667653 SHA256 8766ece94952486be07ae45bde5204c38eab871d662dfedb64b643f087b0ffa0
+MISC ChangeLog 111984 RMD160 f52a4c518a1f9d59b451b0c5e11e47b7744c10c2 SHA1 2619904a163ae621aeabf3d5b3b71cee93f76bb4 SHA256 f0eb5998b7eb0673315adad00a1db11ea2d968eceabb7eb1ef9793d8ef52b9c5
MISC metadata.xml 704 RMD160 c65911c6a5496c96e51d40848179c3321fb5fafd SHA1 25c8229286d330cdf48dbca4847594359a35820f SHA256 c60a22487a895dd589228b2bd964c2481067bbdabd4d91c49bb38927482abd78
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.17 (GNU/Linux)
-
-iJwEAQECAAYFAk2BDR0ACgkQIiMqcbOVdxSO8AP+Nc8QMe8SuJi0oWfJX5JruOgL
-qGTFBZwZvVDlgFhg3ri5IwqEa5eTG6rgPmKeWELUh5l88ROHXjStv3tLU3RWJ/67
-N+Bjd5J4lTqy4K9iVBj0vWQ0m6X06FI4C2c5nOVQuFiRfPyfbeUB1ZDJd2id0Ktm
-MBqozm67oAyTbuHw1Fc=
-=3zT8
------END PGP SIGNATURE-----
diff --git a/app-office/openoffice/files/boost-undefined-references.diff b/app-office/openoffice/files/boost-undefined-references.diff
deleted file mode 100644
index b0700a7815f4..000000000000
--- a/app-office/openoffice/files/boost-undefined-references.diff
+++ /dev/null
@@ -1,12 +0,0 @@
---- sc/source/core/tool/makefile.mk-orig 2009-09-07 20:15:14.880679704 -0500
-+++ sc/source/core/tool/makefile.mk 2009-09-07 20:14:38.941679215 -0500
-@@ -132,7 +132,8 @@
- $(SLO)$/prnsave.obj \
- $(SLO)$/reftokenhelper.obj \
- $(SLO)$/stringutil.obj \
-- $(SLO)$/token.obj
-+ $(SLO)$/token.obj \
-+ $(SLO)$/detfunc.obj
-
- # [kh] POWERPC compiler problem
- .IF "$(OS)$(COM)$(CPUNAME)"=="LINUXGCCPOWERPC"
diff --git a/app-office/openoffice/files/gcc45-buildfix.diff b/app-office/openoffice/files/gcc45-buildfix.diff
deleted file mode 100644
index 7cc3c022072e..000000000000
--- a/app-office/openoffice/files/gcc45-buildfix.diff
+++ /dev/null
@@ -1,17 +0,0 @@
---- cppu/inc/uno/lbnames.h.old 2010-02-02 12:49:41.000000000 +0100
-+++ cppu/inc/uno/lbnames.h 2010-03-05 17:13:22.000000000 +0100
-@@ -62,12 +62,12 @@ provoking error here, because PP ignores
- #error "Tested gcc 2 versions are 2.91 and 2.95. Patch uno/lbnames.h to try your gcc 2 version."
- #elif (__GNUC__ == 3 && __GNUC_MINOR__ <= 4)
- #define __CPPU_ENV gcc3
--#elif (__GNUC__ == 4 && __GNUC_MINOR__ <= 4)
-+#elif (__GNUC__ == 4 && __GNUC_MINOR__ <= 5)
- #define __CPPU_ENV gcc3
- #elif (__GNUC__ == 3)
- #error "Tested gcc 3 version is <= 3.4. Patch uno/lbnames.h to try your gcc 3 version."
- #else
--#error "Supported gcc majors are 2 , 3 and 4 <= 4.4. Unsupported gcc major version."
-+#error "Supported gcc majors are 2 , 3 and 4 <= 4.5. Unsupported gcc major version."
- #endif /* defined (__GNUC__) */
- #endif /* defined (_MSC_VER) */
-
diff --git a/app-office/openoffice/files/gentoo-3.2.0.diff b/app-office/openoffice/files/gentoo-3.2.0.diff
deleted file mode 100644
index 1b00c342e834..000000000000
--- a/app-office/openoffice/files/gentoo-3.2.0.diff
+++ /dev/null
@@ -1,67 +0,0 @@
---- patches/dev300/apply
-+++ patches/dev300/apply
-@@ -1596,7 +1596,7 @@
- SectionOwner => aprosky
-
- # Allow build to proceed with PaX enabled
--gentoo-pax-fix.diff, aprosky
-+#gentoo-pax-fix.diff, aprosky
- # support server-only versions of 64bit JDKs
- 64bit-jdk-server-paths.diff, i#65974, hmth
- # use IBM j9vm over IBM classic JVM
-@@ -2932,7 +2932,7 @@
- l10n-build-only-selected-langs.diff, i#106185, pmladek
-
- [ LocalizeFixes < ooo320-m13 ]
--i109407_BUSCAR.diff
-+#i109407_BUSCAR.diff
-
- [ PieceBits ]
- # zipintro is not kind to us ...
-@@ -3561,7 +3561,6 @@
- [ BuildBits ]
- # Allow oowintool to detect java sdk 1.6.x
- oowintool-java6.diff, fridrich
--connectivity-build-fix-mac.diff, thorsten
- vcl-xinerama-clone-fix.diff, n#578730, thorsten
-
- [ HyphenFix ]
---- configure.in
-+++ configure.in
-@@ -1326,12 +1326,18 @@
- done
- fi
- SUNTEMPLATES_LANG=
-- # check whether the langs are requested at all
-- for lang in $wanted_sun_templates ; do
-- if test -n "`echo $with_lang | grep "$lang"`" ; then
-- SUNTEMPLATES_LANG="$SUNTEMPLATES_LANG $lang"
-- fi
-- done
-+
-+ # --with-lang="" now used for en-US
-+ if test "z$with_lang" = "z" ; then
-+ SUNTEMPLATES_LANG="en-US"
-+ else
-+ # check whether the langs are requested at all
-+ for lang in $wanted_sun_templates ; do
-+ if test -n "`echo $with_lang | grep "$lang"`" ; then
-+ SUNTEMPLATES_LANG="$SUNTEMPLATES_LANG $lang"
-+ fi
-+ done
-+ fi
- AC_MSG_RESULT([$SUNTEMPLATES_LANG])
- fi
- AC_SUBST(SUNTEMPLATES_LANG)
---- bin/setup.in
-+++ bin/setup.in
-@@ -268,7 +268,7 @@
- OOO_TARBALL="${UPSTREAM_NAME}_core.tar.bz2"
- OOO_SYSTEM_TARBALL="${UPSTREAM_NAME}_system.tar.bz2"
- OOO_BINFILTER_TARBALL="${UPSTREAM_NAME}_binfilter.tar.bz2"
-- OOO_LANG_TARBALL="${UPSTREAM_NAME}_l10n.tar.bz2"
-+ OOO_LANG_TARBALL="${UPSTREAM_NAME}_l10n-fixed.tar.bz2"
- OOO_EXTENSIONS_TARBALL="${UPSTREAM_NAME}_extensions.tar.bz2"
- else
- OOO_TARBALL="$CVSTAG-core.tar.bz2"
-
diff --git a/app-office/openoffice/files/npwrap-fix-nogtk.diff b/app-office/openoffice/files/npwrap-fix-nogtk.diff
deleted file mode 100644
index 8ce807186d79..000000000000
--- a/app-office/openoffice/files/npwrap-fix-nogtk.diff
+++ /dev/null
@@ -1,12 +0,0 @@
---- extensions/source/plugin/unx/npwrap.cxx 2010-02-22 02:31:31.000000000 +0300
-+++ extensions/source/plugin/unx/npwrap.cxx 2010-02-22 02:32:04.000000000 +0300
-@@ -485,7 +485,9 @@
-
- medDebug( 1, "left plugin app main loop\n" );
-
-+ #ifdef ENABLE_GTK
- g_source_remove(xt_polling_timer_id);
-+ #endif
-
- pNP_Shutdown();
- medDebug( 1, "NP_Shutdown done\n" );
diff --git a/app-office/openoffice/openoffice-3.2.0.ebuild b/app-office/openoffice/openoffice-3.2.0.ebuild
deleted file mode 100644
index f24141fe2b82..000000000000
--- a/app-office/openoffice/openoffice-3.2.0.ebuild
+++ /dev/null
@@ -1,405 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice/openoffice-3.2.0.ebuild,v 1.32 2011/03/13 19:42:04 suka Exp $
-
-WANT_AUTOMAKE="1.9"
-EAPI="3"
-KDE_REQUIRED="optional"
-CMAKE_REQUIRED="never"
-PYTHON_DEPEND="2"
-PYTHON_USE_WITH="threads"
-
-inherit autotools bash-completion check-reqs db-use eutils fdo-mime flag-o-matic java-pkg-opt-2 kde4-base mono multilib pax-utils python toolchain-funcs
-
-IUSE="binfilter cups dbus debug eds gnome gstreamer gtk kde ldap mono nsplugin odk opengl pam templates"
-
-MY_PV=3.2.0.10
-PATCHLEVEL=OOO320
-SRC=OOo_${PV}_src
-MST=OOO320_m12
-DEVPATH=http://download.services.openoffice.org/files/stable/${PV}/${SRC}
-S=${WORKDIR}/ooo
-S_OLD=${WORKDIR}/ooo-build-${MY_PV}
-CONFFILE=${S}/distro-configs/Gentoo.conf.in
-BASIS=basis3.2
-DESCRIPTION="OpenOffice.org, a full office productivity suite."
-
-SRC_URI="${DEVPATH}_core.tar.bz2
- ${DEVPATH}_extensions.tar.bz2
- ${DEVPATH}_system.tar.bz2
- ${DEVPATH}_testautomation.tar.bz2
- mirror://gentoo/OOo_3.2.0_src_l10n-fixed.tar.bz2
- binfilter? ( ${DEVPATH}_binfilter.tar.bz2 )
- templates? ( http://extensions.services.openoffice.org/files/273/0/Sun_ODF_Template_Pack_en-US.oxt
- http://extensions.services.openoffice.org/files/295/1/Sun_ODF_Template_Pack_de.oxt
- http://extensions.services.openoffice.org/files/299/0/Sun_ODF_Template_Pack_it.oxt
- http://extensions.services.openoffice.org/files/297/0/Sun_ODF_Template_Pack_fr.oxt
- http://extensions.services.openoffice.org/files/301/1/Sun_ODF_Template_Pack_es.oxt
- ftp://ftp.devall.hu/kami/go-oo//Sun_ODF_Template_Pack_hu.oxt )
- http://download.go-oo.org/${PATCHLEVEL}/ooo-build-${MY_PV}.tar.gz
- odk? ( java? ( http://tools.openoffice.org/unowinreg_prebuild/680/unowinreg.dll ) )
- http://download.go-oo.org/SRC680/extras-3.tar.bz2
- http://download.go-oo.org/SRC680/biblio.tar.bz2
- http://download.go-oo.org/SRC680/lp_solve_5.5.0.12_source.tar.gz
- http://download.go-oo.org/DEV300/scsolver.2008-10-30.tar.bz2
- http://download.go-oo.org/DEV300/ooo_oxygen_images-2009-06-17.tar.gz
- http://download.go-oo.org/SRC680/libwps-0.1.2.tar.gz"
-
-LANGS1="af ar as_IN be_BY bg bn br brx bs ca cs cy da de dgo dz el en_GB en_ZA eo es et eu fa fi fr ga gl gu he hi_IN hr hu id it ja ka kk km kn_IN ko kok ks ku lt mai mk ml_IN mn mni mr_IN nb ne nl nn nr ns oc or_IN pa_IN pl pt pt_BR ru rw sa_IN sat sd sh sk sl sr ss st sv sw_TZ ta ta_IN te_IN tg th ti_ER tn tr ts uk ur_IN uz ve vi xh zh_CN zh_TW zu"
-LANGS="${LANGS1} en en_US"
-
-for X in ${LANGS} ; do
- IUSE="${IUSE} linguas_${X}"
-done
-
-# intersection of available linguas and app-dicts/myspell-* dictionaries
-SPELL_DIRS="af bg ca cs cy da de el en eo es et fr ga gl he hr hu it ku lt mk nb nl nn pl pt ru sk sl sv tn zu"
-SPELL_DIRS_DEPEND=""
-for X in ${SPELL_DIRS} ; do
- SPELL_DIRS_DEPEND="${SPELL_DIRS_DEPEND} linguas_${X}? ( app-dicts/myspell-${X} )"
-done
-
-HOMEPAGE="http://go-oo.org"
-
-LICENSE="LGPL-2"
-SLOT="0"
-KEYWORDS="amd64 ppc ~sparc x86"
-
-COMMON_DEPEND="!app-office/openoffice-bin
- x11-libs/libXaw
- x11-libs/libXinerama
- x11-libs/libXrandr
- >=dev-lang/perl-5.0
- >=dev-libs/glib-2.18
- dbus? ( >=dev-libs/dbus-glib-0.71 )
- gnome? ( >=x11-libs/gtk+-2.10:2
- gnome-base/gconf:2
- >=gnome-base/gnome-vfs-2.6:2
- >=x11-libs/cairo-1.0.2 )
- gtk? ( >=x11-libs/gtk+-2.10:2
- >=x11-libs/cairo-1.0.2 )
- eds? ( >=gnome-extra/evolution-data-server-1.2 )
- gstreamer? ( >=media-libs/gstreamer-0.10
- >=media-libs/gst-plugins-base-0.10 )
- java? ( >=dev-java/bsh-2.0_beta4
- >=dev-db/hsqldb-1.8.0.9
- dev-java/lucene:2.3
- dev-java/lucene-analyzers:2.3
- dev-java/rhino:1.5 )
- mono? ( || ( >dev-lang/mono-2.4-r1 <dev-lang/mono-2.4 ) )
- nsplugin? ( net-libs/xulrunner:1.9
- >=dev-libs/nspr-4.6.6
- >=dev-libs/nss-3.11-r1 )
- opengl? ( virtual/opengl )
- >=net-libs/neon-0.24.7
- >=dev-libs/openssl-0.9.8g
- >=media-libs/freetype-2.1.10-r2
- >=media-libs/fontconfig-2.3.0
- cups? ( net-print/cups )
- virtual/jpeg
- media-libs/libpng
- app-arch/zip
- app-arch/unzip
- >=app-text/hunspell-1.1.4-r1
- dev-libs/expat
- >=dev-libs/icu-4.0
- >=sys-libs/db-4.3
- >=app-text/libwpd-0.8.8
- >=media-libs/vigra-1.4
- >=app-text/poppler-0.12.3-r3[xpdf-headers]
- >=media-libs/libwpg-0.1.3"
-
-RDEPEND="java? ( >=virtual/jre-1.5 )
- ${SPELL_DIRS_DEPEND}
- ${COMMON_DEPEND}"
-
-DEPEND="${COMMON_DEPEND}
- x11-libs/libXrender
- x11-libs/libXtst
- x11-proto/printproto
- x11-proto/xextproto
- x11-proto/xproto
- x11-proto/xineramaproto
- >=sys-apps/findutils-4.1.20-r1
- dev-perl/Archive-Zip
- dev-util/pkgconfig
- dev-util/intltool
- >=dev-libs/boost-1.36
- sys-devel/flex
- sys-devel/bison
- dev-libs/libxslt
- >=dev-libs/libxml2-2.0
- >=dev-util/gperf-3
- >=net-misc/curl-7.12
- sys-libs/zlib
- sys-apps/coreutils
- pam? ( sys-libs/pam
- sys-apps/shadow[pam] )
- java? ( || ( =virtual/jdk-1.6* =virtual/jdk-1.5* )
- >=dev-java/ant-core-1.7 )
- ldap? ( net-nds/openldap )"
-
-PROVIDE="virtual/ooo"
-
-pkg_setup() {
-
- java-pkg-opt-2_pkg_setup
-
- # sys-libs/db version used
- local db_ver=$(db_findver '>=sys-libs/db-4.3')
-
- kde4-base_pkg_setup
-
- python_set_active_version 2
- python_pkg_setup
-
-}
-
-src_unpack() {
-
- unpack ooo-build-${MY_PV}.tar.gz
-
-}
-
-src_prepare() {
-
- 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 aggressive CFLAGS, lower the CFLAGS and try to "
- ewarn " merge again. "
- ewarn
- ewarn " Also if you experience a build break, please make sure to retry "
- ewarn " with MAKEOPTS="-j1" before filing a bug. "
- ewarn
-
- # Check if we have enough RAM and free diskspace to build this beast
- CHECKREQS_MEMORY="512"
- use debug && CHECKREQS_DISK_BUILD="12288" || CHECKREQS_DISK_BUILD="6144"
- check_reqs
-
- strip-linguas ${LANGS}
-
- # en_US is built by default, upstream needs us to use --with-lang="" in this case though, so strip it out
- export LINGUAS_TEMP=$(echo ${LINGUAS} | sed -e 's/\ben_US\b//g;s/en//g;s/_GB/en_GB/g;s/_ZA/en_ZA/g')
-
- if [[ -z "${LINGUAS_TEMP}" ]] || [[ ${LINGUAS_TEMP} == " " ]]; then
- export LINGUAS_OOO=""
- else
- # always build en-US as a fallback (needed for broken code / translations)
- export LINGUAS_OOO="en-US ${LINGUAS_TEMP//_/-}"
- fi
-
- if use !java; then
- ewarn " You are building with java-support disabled, this results in some "
- ewarn " of the OpenOffice.org functionality being disabled. "
- ewarn " If something you need does not work for you, rebuild with "
- ewarn " java in your USE-flags. "
- ewarn
- fi
-
- if use !gtk && use !gnome; then
- ewarn " If you want the OpenOffice.org systray quickstarter to work "
- ewarn " activate either the 'gtk' or 'gnome' use flags. "
- ewarn
- fi
-
- if is-flagq -ffast-math ; then
- eerror " You are using -ffast-math, which is known to cause problems. "
- eerror " Please remove it from your CFLAGS, using this globally causes "
- eerror " all sorts of problems. "
- eerror " After that you will also have to - at least - rebuild python otherwise "
- eerror " the openoffice build will break. "
- die
- fi
-
- # Hackish workaround for overlong path problem, see bug #130837
- mv "${S_OLD}" "${S}" || die
-
- #Some fixes for our patchset
- cd "${S}"
- epatch "${FILESDIR}/gentoo-${PV}.diff"
- epatch "${FILESDIR}/gentoo-pythonpath.diff"
- epatch "${FILESDIR}/ooo-env_log.diff"
- cp -f "${FILESDIR}/boost-undefined-references.diff" "${S}/patches/hotfixes" || die
- cp -f "${FILESDIR}/qt-use-native-backend.diff" "${S}/patches/hotfixes" || die
- cp -f "${FILESDIR}/npwrap-fix-nogtk.diff" "${S}/patches/hotfixes" || die
- cp -f "${FILESDIR}/neon-remove-SSPI-support.diff" "${S}/patches/hotfixes" || die
- cp -f "${FILESDIR}/gcc45-buildfix.diff" "${S}/patches/hotfixes" || die
-
- #Use flag checks
- if use java ; then
- echo "--with-ant-home=${ANT_HOME}" >> ${CONFFILE}
- echo "--with-jdk-home=$(java-config --jdk-home 2>/dev/null)" >> ${CONFFILE}
- echo "--with-java-target-version=$(java-pkg_get-target)" >> ${CONFFILE}
- echo "--with-jvm-path=/usr/$(get_libdir)/" >> ${CONFFILE}
- echo "--with-system-beanshell" >> ${CONFFILE}
- echo "--with-system-hsqldb" >> ${CONFFILE}
- echo "--with-system-lucene" >> ${CONFFILE}
- echo "--with-system-rhino" >> ${CONFFILE}
- echo "--with-beanshell-jar=$(java-pkg_getjar bsh bsh.jar)" >> ${CONFFILE}
- echo "--with-hsqldb-jar=$(java-pkg_getjar hsqldb hsqldb.jar)" >> ${CONFFILE}
- echo "--with-lucene-core-jar=$(java-pkg_getjar lucene-2.3 lucene-core.jar)" >> ${CONFFILE}
- echo "--with-lucene-analyzers-jar=$(java-pkg_getjar lucene-analyzers-2.3 lucene-analyzers.jar)" >> ${CONFFILE}
- echo "--with-rhino-jar=$(java-pkg_getjar rhino-1.5 js.jar)" >> ${CONFFILE}
- fi
-
- echo $(use_enable nsplugin mozilla) >> ${CONFFILE}
- echo $(use_with nsplugin system-mozilla libxul) >> ${CONFFILE}
-
- echo $(use_enable binfilter) >> ${CONFFILE}
- echo $(use_enable cups) >> ${CONFFILE}
- echo $(use_enable dbus) >> ${CONFFILE}
- echo $(use_enable eds evolution2) >> ${CONFFILE}
- echo $(use_enable gnome gconf) >> ${CONFFILE}
- echo $(use_enable gnome gnome-vfs) >> ${CONFFILE}
- #gio support still gives crashes, see i#108993
- echo "--disable-gio" >> ${CONFFILE}
- echo $(use_enable gnome lockdown) >> ${CONFFILE}
- echo $(use_enable gstreamer) >> ${CONFFILE}
- echo $(use_enable gtk systray) >> ${CONFFILE}
- echo $(use_enable ldap) >> ${CONFFILE}
- echo $(use_enable opengl) >> ${CONFFILE}
- echo $(use_with ldap openldap) >> ${CONFFILE}
- echo $(use_enable debug crashdump) >> ${CONFFILE}
- echo $(use_enable debug strip-solver) >> ${CONFFILE}
-
- # Extension stuff
- echo "--with-extension-integration" >> ${CONFFILE}
- echo "--enable-minimizer" >> ${CONFFILE}
- echo "--enable-pdfimport" >> ${CONFFILE}
- echo "--enable-presenter-console" >> ${CONFFILE}
-
- echo "--without-writer2latex" >> ${CONFFILE}
-
- # Use splash screen without Sun logo
- echo "--with-intro-bitmaps=\\\"${S}/build/${MST}/ooo_custom_images/nologo/introabout/intro.bmp\\\"" >> ${CONFFILE}
-
- # Upstream this, disabled for now #i108911
- #echo "--with-system-redland" >> ${CONFFILE}
-
- # needed for sun-templates patch
- eautoreconf
-
-}
-
-src_configure() {
-
- use kde && export KDE4DIR="${KDEDIR}"
- use kde && export QT4LIB="/usr/$(get_libdir)/qt4"
-
- # Use multiprocessing by default now, it gets tested by upstream
- export JOBS=$(echo "${MAKEOPTS}" | sed -e "s/.*-j\([0-9]\+\).*/\1/")
-
- # Compile problems with these ...
- filter-flags "-funroll-loops"
- filter-flags "-fprefetch-loop-arrays"
- filter-flags "-fno-default-inline"
- filter-flags "-ftracer"
- filter-flags "-fforce-addr"
-
- filter-flags "-O[s2-9]"
-
- if [[ $(gcc-major-version) -lt 4 ]]; then
- filter-flags "-fstack-protector"
- filter-flags "-fstack-protector-all"
- replace-flags "-fomit-frame-pointer" "-momit-leaf-frame-pointer"
- fi
-
- # Build with NVidia cards breaks otherwise
- use opengl && append-flags "-DGL_GLEXT_PROTOTYPES"
-
- # Now for our optimization flags ...
- export ARCH_FLAGS="${CXXFLAGS}"
- use debug || export LINKFLAGSOPTIMIZE="${LDFLAGS}"
-
- # Make sure gnome-users get gtk-support
- local GTKFLAG="--disable-gtk --disable-cairo --without-system-cairo"
- { use gtk || use gnome; } && GTKFLAG="--enable-gtk --enable-cairo --with-system-cairo"
-
- cd "${S}"
- ./configure --with-distro="Gentoo" \
- --with-arch="${ARCH}" \
- --with-srcdir="${DISTDIR}" \
- --with-lang="${LINGUAS_OOO}" \
- --with-num-cpus="${JOBS}" \
- --without-binsuffix \
- --with-installed-ooo-dirname="openoffice" \
- --with-tag="${MST}" \
- --with-drink="True Blood" \
- --without-git \
- --without-split \
- ${GTKFLAG} \
- $(use_enable mono) \
- --disable-kde \
- $(use_enable kde kde4) \
- $(use_enable !debug strip) \
- $(use_enable odk) \
- $(use_enable pam) \
- $(use_with java) \
- $(use_with templates sun-templates) \
- --disable-access \
- --disable-post-install-scripts \
- --enable-extensions \
- --with-system-libwpd \
- --with-system-libwpg \
- --mandir=/usr/share/man \
- --libdir=/usr/$(get_libdir) \
- || die "Configuration failed!"
-
-}
-
-src_compile() {
-
- make || die "Build failed"
-
-}
-
-src_install() {
-
- export PYTHONPATH=""
-
- einfo "Preparing Installation"
- make DESTDIR="${D}" install || die "Installation failed!"
-
- # Fix the permissions for security reasons
- chown -RP root:0 "${ED}"
-
- # record java libraries
- if use java; then
- java-pkg_regjar "${ED}"/usr/$(get_libdir)/openoffice/${BASIS}/program/classes/*.jar
- java-pkg_regjar "${ED}"/usr/$(get_libdir)/openoffice/ure/share/java/*.jar
- fi
-
- # Upstream places the bash-completion module in /etc. Gentoo places them in
- # /usr/share/bash-completion. bug 226061
- dobashcompletion "${ED}"/etc/bash_completion.d/ooffice.sh ooffice
- rm -rf "${ED}"/etc/bash_completion.d/ || die "rm failed"
-
-}
-
-pkg_postinst() {
-
- fdo-mime_desktop_database_update
- fdo-mime_mime_database_update
- BASHCOMPLETION_NAME=ooffice && bash-completion_pkg_postinst
-
- pax-mark -m /usr/$(get_libdir)/openoffice/program/soffice.bin
-
- # Add available & useful jars to openoffice classpath
- use java && /usr/$(get_libdir)/openoffice/${BASIS}/program/java-set-classpath $(java-config --classpath=jdbc-mysql 2>/dev/null) >/dev/null
-
- elog " Some aditional functionality can be installed via Extension Manager: "
- elog " *) PDF Import "
- elog " *) Presentation Console "
- elog " *) Presentation Minimizer "
- elog
- elog " Please use the packages provided in "
- elog " /usr/$(get_libdir)/openoffice/share/extension/install/ "
- elog " instead of those from the SUN extension site. "
- elog
-
- kde4-base_pkg_postinst
-
-}