summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Proschofsky <suka@gentoo.org>2011-01-24 21:23:08 +0000
committerAndreas Proschofsky <suka@gentoo.org>2011-01-24 21:23:08 +0000
commite03b3146e87685549be65c12fe74b7519dba67ae (patch)
tree2509f5d9adc6a7d1b965bfbbda669c521f8768dc /app-office/libreoffice
parentsparc stable (diff)
downloadgentoo-2-e03b3146e87685549be65c12fe74b7519dba67ae.tar.gz
gentoo-2-e03b3146e87685549be65c12fe74b7519dba67ae.tar.bz2
gentoo-2-e03b3146e87685549be65c12fe74b7519dba67ae.zip
Fix extensions stuff, patch from bug #339057
(Portage version: 2.1.9.35/cvs/Linux x86_64)
Diffstat (limited to 'app-office/libreoffice')
-rw-r--r--app-office/libreoffice/ChangeLog6
-rw-r--r--app-office/libreoffice/files/sdext-presenter.diff11
-rw-r--r--app-office/libreoffice/libreoffice-3.3.0_rc4.ebuild30
3 files changed, 25 insertions, 22 deletions
diff --git a/app-office/libreoffice/ChangeLog b/app-office/libreoffice/ChangeLog
index fa880db744e0..f3b2b9b468eb 100644
--- a/app-office/libreoffice/ChangeLog
+++ b/app-office/libreoffice/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-office/libreoffice
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice/ChangeLog,v 1.2 2011/01/24 20:56:06 suka Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice/ChangeLog,v 1.3 2011/01/24 21:23:08 suka Exp $
+
+ 24 Jan 2011; Andreas Proschofsky <suka@gentoo.org>
+ libreoffice-3.3.0_rc4.ebuild, +files/sdext-presenter.diff:
+ Fix extensions stuff, patch from bug #339057
24 Jan 2011; Andreas Proschofsky <suka@gentoo.org>
libreoffice-3.3.0_rc4.ebuild:
diff --git a/app-office/libreoffice/files/sdext-presenter.diff b/app-office/libreoffice/files/sdext-presenter.diff
new file mode 100644
index 000000000000..b1eac7d89b98
--- /dev/null
+++ b/app-office/libreoffice/files/sdext-presenter.diff
@@ -0,0 +1,11 @@
+--- sdext/source/presenter/makefile.mk 2011-01-24 20:03:50.376007211 +0100
++++ sdext/source/presenter/makefile.mk 2011-01-24 20:04:45.184007227 +0100
+@@ -295,7 +295,7 @@
+ @@-$(MKDIRHIER) $(@:d)
+ $(COPY) $< $@
+
+-$(ZIP1DIR)/help/%/com.sun.PresenterScreen-$(PLATFORMID)/presenter.xhp : $(COMMONMISC)/%/com.sun.PresenterScreen/presenter.xhp
++$(ZIP1DIR)$/help$/%$/com.sun.PresenterScreen-$(PLATFORMID)$/presenter.xhp : $(COMMONMISC)$/%$/com.sun.PresenterScreen$/presenter.xhp
+ @echo creating $@
+ @-$(MKDIRHIER) $(@:d)
+ $(TYPE) $< | sed "s/PLATFORMID/$(PLATFORMID)/" | sed 's/@PRESENTEREXTENSIONPRODUCTNAME@/Presenter Console/g' > $@
diff --git a/app-office/libreoffice/libreoffice-3.3.0_rc4.ebuild b/app-office/libreoffice/libreoffice-3.3.0_rc4.ebuild
index e7337d2ba626..9097683ddcf3 100644
--- a/app-office/libreoffice/libreoffice-3.3.0_rc4.ebuild
+++ b/app-office/libreoffice/libreoffice-3.3.0_rc4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice/libreoffice-3.3.0_rc4.ebuild,v 1.2 2011/01/24 20:56:06 suka Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice/libreoffice-3.3.0_rc4.ebuild,v 1.3 2011/01/24 21:23:08 suka Exp $
EAPI="3"
@@ -280,6 +280,7 @@ src_prepare() {
epatch "${FILESDIR}/fix-ooo-collision.diff"
epatch "${FILESDIR}/scrap-pixmap-links.diff"
epatch "${FILESDIR}/enable-startup-notification.diff"
+ cp -f "${FILESDIR}/sdext-presenter.diff" "${S}/patches/hotfixes" || die
#Use flag checks
if use java ; then
@@ -316,14 +317,12 @@ src_prepare() {
echo $(use_enable debug strip-solver) >> ${CONFFILE}
# Extension stuff
- echo "--without-extension-integration" >> ${CONFFILE}
- echo "--disable-pdfimport" >> ${CONFFILE}
-
- # breaks the build
- echo "--disable-minimizer" >> ${CONFFILE}
- echo "--disable-presenter-console" >> ${CONFFILE}
- echo "--disable-presenter-extra-ui" >> ${CONFFILE}
- echo "--disable-presenter-screen" >> ${CONFFILE}
+ echo "--with-extension-integration" >> ${CONFFILE}
+ echo "--enable-pdfimport" >> ${CONFFILE}
+ echo "--enable-minimizer" >> ${CONFFILE}
+ echo "--enable-presenter-console" >> ${CONFFILE}
+ echo "--enable-presenter-extra-ui" >> ${CONFFILE}
+ echo "--enable-presenter-screen" >> ${CONFFILE}
# Misc stuff
echo "--disable-graphite" >> ${CONFFILE}
@@ -395,7 +394,7 @@ src_configure() {
$(use_with templates sun-templates) \
--disable-access \
--disable-post-install-scripts \
- --disable-extensions \
+ --enable-extensions \
--without-system-libwpd \
--without-system-libwpg \
--mandir=/usr/share/man \
@@ -444,17 +443,6 @@ pkg_postinst() {
# Add available & useful jars to LibreOffice classpath
use java && /usr/$(get_libdir)/${PN}/${BASIS}/program/java-set-classpath $(java-config --classpath=jdbc-mysql 2>/dev/null) >/dev/null
-# extensions disabled for now...
-# 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)/${PN}/share/extension/install/ "
-# elog " instead of those from the SUN extension site. "
-# elog
-
kde4-base_pkg_postinst
}