diff options
author | 2005-10-12 10:21:47 +0000 | |
---|---|---|
committer | 2005-10-12 10:21:47 +0000 | |
commit | 714549a217c589a55aec79129c794061f1ced176 (patch) | |
tree | ef9af0df5f494963fd497a79ffc975c606dc3257 /app-office | |
parent | Changed shutdown-behaviour, and corrected a bug in shutdown. Cosmetic changes... (diff) | |
download | gentoo-2-714549a217c589a55aec79129c794061f1ced176.tar.gz gentoo-2-714549a217c589a55aec79129c794061f1ced176.tar.bz2 gentoo-2-714549a217c589a55aec79129c794061f1ced176.zip |
Really fix the build with -ldap
(Portage version: 2.0.53_rc5)
Diffstat (limited to 'app-office')
5 files changed, 46 insertions, 8 deletions
diff --git a/app-office/openoffice/ChangeLog b/app-office/openoffice/ChangeLog index 37653bef29f2..d53df66f30d3 100644 --- a/app-office/openoffice/ChangeLog +++ b/app-office/openoffice/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-office/openoffice # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice/ChangeLog,v 1.129 2005/10/11 19:01:22 suka Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice/ChangeLog,v 1.130 2005/10/12 10:21:47 suka Exp $ + + 12 Oct 2005; Andreas Proschofsky <suka@gentoo.org> + +files/2.0.0/no-ldap-mozilla.diff, files/2.0.0/gentoo-2.0.0_rc2.diff, + openoffice-2.0.0_rc2.ebuild: + Really fix the build with -ldap 11 Oct 2005; Andreas Proschofsky <suka@gentoo.org> files/2.0.0/gentoo-2.0.0_rc2.diff, diff --git a/app-office/openoffice/files/2.0.0/gentoo-2.0.0_rc2.diff b/app-office/openoffice/files/2.0.0/gentoo-2.0.0_rc2.diff index 3faa396f17ab..b4993c1198e3 100644 --- a/app-office/openoffice/files/2.0.0/gentoo-2.0.0_rc2.diff +++ b/app-office/openoffice/files/2.0.0/gentoo-2.0.0_rc2.diff @@ -19,11 +19,12 @@ # Don't fail when building --without-stlport4 buildfix-ucb-without-stlport4.diff -@@ -733,6 +730,7 @@ +@@ -732,6 +734,8 @@ [ GentooOnly ] version-2-0-sysuserconfig.diff gentoo-splash.diff +no-fontooo-wizard.diff ++no-ldap-mozilla.diff # # NOTE: 64 bit OOo is work in progress! diff --git a/app-office/openoffice/files/2.0.0/no-ldap-mozilla.diff b/app-office/openoffice/files/2.0.0/no-ldap-mozilla.diff new file mode 100644 index 000000000000..da503de579b1 --- /dev/null +++ b/app-office/openoffice/files/2.0.0/no-ldap-mozilla.diff @@ -0,0 +1,33 @@ +--- config_office/configure.in.orig 2005-08-11 16:07:16.000000000 +0200 ++++ config_office/configure.in 2005-08-13 12:39:17.000000000 +0200 +@@ -2784,7 +2784,7 @@ + fi + + AC_MSG_CHECKING([whether to build LDAP configuration backend]) +-if test "$enable_mozilla" = "no" && test "$enable_openldap" != "yes"; then ++if test "$enable_openldap" != "yes"; then + AC_MSG_RESULT([no. Either Mozilla or OpenLDAP needed.]) + WITH_LDAP=NO + elif test "$with_system_mozilla" = "yes" || test "$enable_openldap" = "yes"; then +--- extensions/source/config/ldap/makefile.mk.orig 2005-06-19 02:53:37.725788224 +0200 ++++ extensions/source/config/ldap/makefile.mk 2005-06-19 02:54:17.068807176 +0200 +@@ -75,7 +75,7 @@ + .INCLUDE : settings.mk + DLLPRE = + +-.IF "$(WITH_MOZILLA)" == "NO" && "$(WITH_OPENLDAP)" != "YES" ++.IF "$(WITH_OPENLDAP)" != "YES" + @all: + @echo "Mozilla disabled and no OpenLDAP wanted -> LDAP disabled." + .ENDIF +--- scp2/source/ooo/file_library_ooo.scp.orig 2005-08-18 14:53:05.000000000 +0200 ++++ scp2/source/ooo/file_library_ooo.scp 2005-08-18 14:53:11.000000000 +0200 +@@ -185,7 +185,7 @@ + End + + #ifndef WITHOUT_LDAP +-#if !defined WITHOUT_MOZILLA || defined WITH_OPENLDAP ++#if defined WITH_OPENLDAP + File gid_File_Lib_Ldapbe2 + TXT_FILE_BODY; + Styles = (PACKED,UNO_COMPONENT,PATCH); diff --git a/app-office/openoffice/files/digest-openoffice-2.0.0_rc2 b/app-office/openoffice/files/digest-openoffice-2.0.0_rc2 index 401d0aadf074..a52f57f19cf4 100644 --- a/app-office/openoffice/files/digest-openoffice-2.0.0_rc2 +++ b/app-office/openoffice/files/digest-openoffice-2.0.0_rc2 @@ -1,5 +1,5 @@ MD5 733051ebeffae5232a2eb760162da020 extras-2.tar.bz2 94740 -MD5 b02c7bc05031f4fb7ac15c8a31a01ef4 ooo-build-2.0.rc2.tar.gz 4142886 +MD5 9359995ab8e140e0eaab7c6f571b6d46 ooo-build-2.0.rc2-2.tar.gz 4130987 MD5 953371e1907b03e14895bababd019443 ooo680-m2-core.tar.bz2 156979138 MD5 793c55bcf17e52b7d888729f55d984b6 ooo680-m2-lang.tar.bz2 33104453 MD5 e5ec50d3c1b78d6880037d88036657e5 ooo680-m2-system.tar.bz2 19325507 diff --git a/app-office/openoffice/openoffice-2.0.0_rc2.ebuild b/app-office/openoffice/openoffice-2.0.0_rc2.ebuild index 40d04b5233c3..d92cd02d09b0 100644 --- a/app-office/openoffice/openoffice-2.0.0_rc2.ebuild +++ b/app-office/openoffice/openoffice-2.0.0_rc2.ebuild @@ -1,13 +1,13 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice/openoffice-2.0.0_rc2.ebuild,v 1.4 2005/10/11 19:01:22 suka Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice/openoffice-2.0.0_rc2.ebuild,v 1.5 2005/10/12 10:21:47 suka Exp $ inherit eutils fdo-mime flag-o-matic kde-functions toolchain-funcs IUSE="curl eds gnome java kde ldap mozilla nas python zlib xml2" OO_VER="${PV/_rc2}" -MY_PV="2.0.rc2" +MY_PV="2.0.rc2-2" PATCHLEVEL="OOO680" PATCHDIR="${WORKDIR}/ooo-build-${MY_PV}" SRC="ooo680-m2" @@ -39,6 +39,7 @@ RDEPEND="!app-office/openoffice-bin >=gnome-base/gconf-2.0 ) eds? ( >=gnome-extra/evolution-data-server-1.2 ) kde? ( kde-base/kdelibs ) + mozilla? ( >=www-client/mozilla-1.7.10 ) >=x11-libs/startup-notification-0.5 >=media-libs/freetype-2.1.4 >=media-libs/fontconfig-2.2.0 @@ -78,10 +79,7 @@ PROVIDE="virtual/ooo" pkg_setup() { ewarn - ewarn " This is a pre-release, so expect stuff to be broken, in fact there are " - ewarn " known problems. To sum it up: Good luck, you are on your own. " - 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 " @@ -124,6 +122,7 @@ src_unpack() { #Additional and new patches get here cp -pPRf ${FILESDIR}/${OO_VER}/config_office-openldap-fix.diff ${PATCHDIR}/patches/src680 || die + cp -pPRf ${FILESDIR}/${OO_VER}/no-ldap-mozilla.diff ${PATCHDIR}/patches/src680 || die #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" |