Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 228223 Details for
Bug 315815
Review Prefix changes to app-office/openoffice-3.2.0
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to ebuild
openoffice-3.2.0.ebuild.diff (text/plain), 3.46 KB, created by
Jonathan Callen (RETIRED)
on 2010-04-17 23:26:10 UTC
(
hide
)
Description:
patch to ebuild
Filename:
MIME Type:
Creator:
Jonathan Callen (RETIRED)
Created:
2010-04-17 23:26:10 UTC
Size:
3.46 KB
patch
obsolete
>--- /home/portage/app-office/openoffice/openoffice-3.2.0.ebuild 2010-04-10 20:36:38.192878292 -0400 >+++ openoffice-3.2.0.ebuild 2010-04-17 19:18:08.876421379 -0400 >@@ -3,7 +3,7 @@ > # $Header: /var/cvsroot/gentoo-x86/app-office/openoffice/openoffice-3.2.0.ebuild,v 1.19 2010/04/07 04:22:12 darkside Exp $ > > WANT_AUTOMAKE="1.9" >-EAPI="2" >+EAPI="3" > KDE_REQUIRED="optional" > CMAKE_REQUIRED="false" > >@@ -61,7 +61,7 @@ HOMEPAGE="http://go-oo.org" > > LICENSE="LGPL-2" > SLOT="0" >-KEYWORDS="amd64 ~ppc ~sparc x86" >+KEYWORDS="amd64 ~ppc ~sparc x86 ~amd64-linux ~x86-linux" > > COMMON_DEPEND="!app-office/openoffice-bin > x11-libs/libXaw >@@ -224,6 +224,9 @@ src_prepare() { > cp -f "${FILESDIR}/npwrap-fix-nogtk.diff" "${S}/patches/hotfixes" || die > cp -f "${FILESDIR}/neon-remove-SSPI-support.diff" "${S}/patches/hotfixes" || die > >+ # Prefix patch >+ epatch "${FILESDIR}/ooo-build-3.0.1.2-prefix.patch" >+ > #Use flag checks > if use java ; then > echo "--with-ant-home=${ANT_HOME}" >> ${CONFFILE} >@@ -316,6 +319,8 @@ src_configure() { > > cd "${S}" > ./configure --with-distro="Gentoo" \ >+ --prefix="${EPREFIX}"/usr \ >+ --sysconfdir="${EPREFIX}"/etc \ > --with-arch="${ARCH}" \ > --with-srcdir="${DISTDIR}" \ > --with-lang="${LINGUAS_OOO}" \ >@@ -340,8 +345,8 @@ src_configure() { > --enable-extensions \ > --with-system-libwpd \ > --with-system-libwpg \ >- --mandir=/usr/share/man \ >- --libdir=/usr/$(get_libdir) \ >+ --mandir="${EPREFIX}"/usr/share/man \ >+ --libdir="${EPREFIX}"/usr/$(get_libdir) \ > || die "Configuration failed!" > > } >@@ -360,18 +365,18 @@ src_install() { > make DESTDIR="${D}" install || die "Installation failed!" > > # Fix the permissions for security reasons >- chown -RP root:0 "${D}" >+ use prefix || chown -RP root:0 "${ED}" > > # record java libraries > if use java; then >- java-pkg_regjar "${D}"/usr/$(get_libdir)/openoffice/${BASIS}/program/classes/*.jar >- java-pkg_regjar "${D}"/usr/$(get_libdir)/openoffice/ure/share/java/*.jar >+ 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 "${D}"/etc/bash_completion.d/ooffice.sh ooffice >- rm -rf "${D}"/etc/bash_completion.d/ || die "rm failed" >+ dobashcompletion "${ED}"/etc/bash_completion.d/ooffice.sh ooffice >+ rm -rf "${ED}"/etc/bash_completion.d/ || die "rm failed" > > } > >@@ -381,10 +386,11 @@ pkg_postinst() { > fdo-mime_mime_database_update > BASHCOMPLETION_NAME=ooffice && bash-completion_pkg_postinst > >- ( [[ -x /sbin/chpax ]] || [[ -x /sbin/paxctl ]] ) && [[ -e /usr/$(get_libdir)/openoffice/program/soffice.bin ]] && scanelf -Xzm /usr/$(get_libdir)/openoffice/program/soffice.bin >+ # does this make sense for Prefix? >+ [[ -x ${EPREFIX}/sbin/chpax || -x ${EPREFIX}/sbin/paxctl ]] && [[ -e ${EPREFIX}/usr/$(get_libdir)/openoffice/program/soffice.bin ]] && scanelf -Xzm "${EPREFIX}"/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 >+ use java && "${EPREFIX}"/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 "
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 315815
: 228223 |
228225