diff options
author | Andreas Proschofsky <suka@gentoo.org> | 2005-01-17 20:43:25 +0000 |
---|---|---|
committer | Andreas Proschofsky <suka@gentoo.org> | 2005-01-17 20:43:25 +0000 |
commit | d1cb454f6920c6ab5c9cdaf703f0f105699ac8c4 (patch) | |
tree | 4b13c31a011f396a66d9bc33bbc0e47f557c95aa | |
parent | updated HOMEPAGE. (diff) | |
download | historical-d1cb454f6920c6ab5c9cdaf703f0f105699ac8c4.tar.gz historical-d1cb454f6920c6ab5c9cdaf703f0f105699ac8c4.tar.bz2 historical-d1cb454f6920c6ab5c9cdaf703f0f105699ac8c4.zip |
ebuild cleanup
Package-Manager: portage-2.0.51-r13
-rw-r--r-- | app-office/openoffice-ximian/ChangeLog | 7 | ||||
-rw-r--r-- | app-office/openoffice-ximian/Manifest | 5 | ||||
-rw-r--r-- | app-office/openoffice-ximian/files/1.1.3/gcc-instlib.patch | 12 | ||||
-rw-r--r-- | app-office/openoffice-ximian/openoffice-ximian-1.3.7.ebuild | 38 |
4 files changed, 41 insertions, 21 deletions
diff --git a/app-office/openoffice-ximian/ChangeLog b/app-office/openoffice-ximian/ChangeLog index 65b108ff7e76..a8671d54b89d 100644 --- a/app-office/openoffice-ximian/ChangeLog +++ b/app-office/openoffice-ximian/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-office/openoffice-ximian # Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice-ximian/ChangeLog,v 1.95 2005/01/17 14:57:53 suka Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice-ximian/ChangeLog,v 1.96 2005/01/17 20:43:25 suka Exp $ + + 17 Jan 2005; Andreas Proschofsky <suka@gentoo.org> + +files/1.1.3/gcc-instlib.patch, openoffice-ximian-1.3.7.ebuild: + Mostly ebuild cleanup and sync with vanilla OOo, remove some useless stuff + and add another patch for gccinstlib 17 Jan 2005; Andreas Proschofsky <suka@gentoo.org> openoffice-ximian-1.3.7.ebuild: diff --git a/app-office/openoffice-ximian/Manifest b/app-office/openoffice-ximian/Manifest index dd98cde91a1b..a718445104da 100644 --- a/app-office/openoffice-ximian/Manifest +++ b/app-office/openoffice-ximian/Manifest @@ -1,7 +1,7 @@ MD5 f881d3e35a8d3a9c27e1d29984b9d3fd openoffice-ximian-1.3.6.ebuild 16873 MD5 26f1b4de2d99cba28eb2b09825c69475 openoffice-ximian-1.3.5-r1.ebuild 16129 -MD5 fe2f89a142b83705c437cf77504f71e0 openoffice-ximian-1.3.7.ebuild 17378 -MD5 bc8b2c8418d8815ba19eb20911a07124 ChangeLog 23531 +MD5 d97c6ae594692c16756c4bdaf210c10d openoffice-ximian-1.3.7.ebuild 17295 +MD5 91a1e484df4e7f1f1ab930e68d7e3b8c ChangeLog 23767 MD5 f3942f82433bf5ae16461240cbcc4984 metadata.xml 300 MD5 b7a3ab0336f7e514b6641e5871c1bbbb files/digest-openoffice-ximian-1.3.5-r1 437 MD5 2595967ac130a541e50bffc75e105041 files/digest-openoffice-ximian-1.3.6 502 @@ -16,6 +16,7 @@ MD5 f9578015a434c209259917e9df3c0b27 files/1.1.3/gcc34_2.patch.bz2 33535 MD5 04621a43bfeb4fac8077a770a8eba7e3 files/1.1.3/gcc34.patch.bz2 33661 MD5 a5ef896f6a59b91fa3367c92de077769 files/1.1.3/gentoo-1.3.6.patch 597 MD5 6ecbfeab440a03f031dbfa0631404aa0 files/1.1.3/ximian-openoffice.applications 980 +MD5 ffcbf659ca6f54e8e15401cced99af77 files/1.1.3/gcc-instlib.patch 393 MD5 9abefd659e5b06ff9d9f515f312cdc4b files/1.1.3/gentoo-splash.diff 890 MD5 24035033f41d743378e16582c2e51469 files/1.1.3/javafix.patch 1382 MD5 d1a499cfa276614323b547e013d5c6a0 files/1.1.3/ximian-openoffice.keys 6298 diff --git a/app-office/openoffice-ximian/files/1.1.3/gcc-instlib.patch b/app-office/openoffice-ximian/files/1.1.3/gcc-instlib.patch new file mode 100644 index 000000000000..99e424abed01 --- /dev/null +++ b/app-office/openoffice-ximian/files/1.1.3/gcc-instlib.patch @@ -0,0 +1,12 @@ +diff -urN solenv/bin/gccinstlib.pl oo_1.1.2_src/solenv/bin/gccinstlib.pl +--- solenv/bin/gccinstlib.pl 2004-03-16 11:15:42.000000000 +0100 ++++ solenv/bin/gccinstlib.pl 2004-09-27 10:36:02.338394960 +0200 +@@ -63,7 +63,7 @@ + # + #************************************************************************* + +-$ENV{'LC_MESSAGES'} = 'C'; ++$ENV{'LC_ALL'} = 'C'; + + %SearchDirs = GetGccSearchDirs (); + diff --git a/app-office/openoffice-ximian/openoffice-ximian-1.3.7.ebuild b/app-office/openoffice-ximian/openoffice-ximian-1.3.7.ebuild index 950b587d09aa..064d82207deb 100644 --- a/app-office/openoffice-ximian/openoffice-ximian-1.3.7.ebuild +++ b/app-office/openoffice-ximian/openoffice-ximian-1.3.7.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice-ximian/openoffice-ximian-1.3.7.ebuild,v 1.7 2005/01/17 14:57:53 suka Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice-ximian/openoffice-ximian-1.3.7.ebuild,v 1.8 2005/01/17 20:43:25 suka Exp $ # Notes: # @@ -37,6 +37,7 @@ INSTDIR="/opt/Ximian-OpenOffice" PATCHDIR="${WORKDIR}/ooo-build-${PV}" S="${WORKDIR}/OOo_${OO_VER}_src" DESCRIPTION="Ximian-ized version of OpenOffice.org, a full office productivity suite." + SRC_URI="mirror://openoffice/stable/${OO_VER}/OOo_${OO_VER}-1_source.tar.gz http://www.stlport.org/archive/STLport-4.6.2.tar.gz http://ooo.ximian.com/packages/${PATCHLEVEL}/ooo-build-${PV}.tar.gz @@ -56,7 +57,6 @@ RDEPEND="!app-office/openoffice-ximian-bin virtual/x11 virtual/libc virtual/lpr - !=sys-libs/glibc-2.3.1* >=dev-lang/perl-5.0 gnome? ( >=x11-libs/gtk+-2.0 >=gnome-base/gnome-vfs-2.0 @@ -73,7 +73,7 @@ RDEPEND="!app-office/openoffice-ximian-bin app-arch/zip app-arch/unzip dev-libs/expat - java? ( >=virtual/jdk-1.4.1 ) + java? ( >=virtual/jre-1.4.1 ) ppc? ( >=sys-libs/glibc-2.2.5-r7 >=sys-devel/gcc-3.2.1 )" @@ -86,6 +86,7 @@ DEPEND="${RDEPEND} zlib? ( sys-libs/zlib ) sys-libs/pam !dev-util/dmake + java? ( >=virtual/jdk-1.4.1 ) !java? ( dev-libs/libxslt )" pkg_setup() { @@ -103,10 +104,6 @@ pkg_setup() { fi fi - ewarn " This version should now also compile fine with gcc 3.4.x " - ewarn " If you encounter problems in relation to this, please report " - ewarn " them to http://bugs.gentoo.org " - 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 " @@ -239,18 +236,22 @@ src_unpack() { #Fix java problems in 1.3.7 epatch ${FILESDIR}/${OO_VER}/nojvmfwk-fix.patch - #Still needed: The STLport patch cd ${S} + + #Still needed: The STLport patch cp ${DISTDIR}/STLport-4.6.2.tar.gz ${S}/stlport/download || die epatch ${FILESDIR}/${OO_VER}/newstlportfix.patch - if use ppc; then - epatch ${FILESDIR}/${OO_VER}/STLport-vector.patch - fi + epatch ${FILESDIR}/${OO_VER}/gcc-instlib.patch #Another java problem epatch ${FILESDIR}/${OO_VER}/javafix.patch + # Workaround for bug #73940, may break debug use flag on ppc + if use ppc; then + epatch ${FILESDIR}/${OO_VER}/STLport-vector.patch + fi + #Add our own splash screen epatch ${FILESDIR}/${OO_VER}/gentoo-splash.diff @@ -328,7 +329,6 @@ src_compile() { addpredict /bin addpredict /root/.gconfd - local buildcmd="" # dmake security patch cd ${S}/dmake @@ -361,10 +361,15 @@ src_compile() { cd ${S}/config_office rm -f config.cache || die autoconf || die + + if [ "LANGNAME" != "ENUS" ]; then + LANGNAME="${LANGNAME},ENUS" + fi + MYCONF="${MYCONF} --enable-libart \ --enable-libsn \ --enable-crashdump=no \ - --with-lang=ENUS,${LANGNAME} \ + --with-lang=${LANGNAME} \ --without-fonts \ --disable-rpath \ --enable-fontconfig \ @@ -517,9 +522,6 @@ src_install() { find ${D}${INSTDIR}/ -type f -exec chmod a+r {} \; chmod a+x ${D}${INSTDIR}/share/config/webcast/*.pl - # Fix symlinks - dosym program/setup ${INSTDIR}/setup - # Install user autoresponse file insinto /etc/ximian-openoffice sed -e "s|<pv>|${OO_VER}|g" ${T}/rsfile-local > ${T}/autoresponse-${OO_VER}.conf @@ -532,7 +534,7 @@ src_install() { doexe ${T}/xooffice # Component symlinks - for app in calc draw html impress math writer setup; do + for app in calc draw impress math web writer setup; do dosym xooffice /usr/bin/xoo${app} done @@ -590,5 +592,5 @@ pkg_postinst() { einfo einfo " Also, for individual components, you can use any of:" einfo - einfo " xoocalc, xoodraw, xoohtml, xooimpress, xoomath or xoowriter" + einfo " xoocalc, xoodraw, xooimpress, xoomath, xooweb or xoowriter" } |