summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2011-08-06 08:49:09 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2011-08-06 08:49:09 +0000
commit0f75b657c3d668b82fd005c5298ada20c25bf581 (patch)
treeb9ca0210096e616cf84a6b7325d607076d12a1bc /app-office/libreoffice
parentAdd ~x86-linux keyword. (diff)
downloadgentoo-2-0f75b657c3d668b82fd005c5298ada20c25bf581.tar.gz
gentoo-2-0f75b657c3d668b82fd005c5298ada20c25bf581.tar.bz2
gentoo-2-0f75b657c3d668b82fd005c5298ada20c25bf581.zip
Update branding to version 0.3. Fixes bug #377899. Sync the live and release ebuilds.
(Portage version: 2.2.0_alpha47/cvs/Linux x86_64)
Diffstat (limited to 'app-office/libreoffice')
-rw-r--r--app-office/libreoffice/ChangeLog7
-rw-r--r--app-office/libreoffice/libreoffice-3.4.2.3.ebuild4
-rw-r--r--app-office/libreoffice/libreoffice-3.4.9999.ebuild21
3 files changed, 26 insertions, 6 deletions
diff --git a/app-office/libreoffice/ChangeLog b/app-office/libreoffice/ChangeLog
index 50679492e6ff..419702c68fc1 100644
--- a/app-office/libreoffice/ChangeLog
+++ b/app-office/libreoffice/ChangeLog
@@ -1,6 +1,11 @@
# 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.86 2011/08/05 07:41:11 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice/ChangeLog,v 1.87 2011/08/06 08:49:09 scarabeus Exp $
+
+ 06 Aug 2011; Tomáš Chvátal <scarabeus@gentoo.org>
+ libreoffice-3.4.2.3.ebuild, libreoffice-3.4.9999.ebuild:
+ Update branding to version 0.3. Fixes bug #377899. Sync the live and release
+ ebuilds.
05 Aug 2011; Michał Górny <mgorny@gentoo.org>
files/libreoffice-check-for-avx.patch:
diff --git a/app-office/libreoffice/libreoffice-3.4.2.3.ebuild b/app-office/libreoffice/libreoffice-3.4.2.3.ebuild
index 3b4c9d6921c5..864ac11ed251 100644
--- a/app-office/libreoffice/libreoffice-3.4.2.3.ebuild
+++ b/app-office/libreoffice/libreoffice-3.4.2.3.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.4.2.3.ebuild,v 1.19 2011/08/04 17:56:40 dilfridge Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice/libreoffice-3.4.2.3.ebuild,v 1.20 2011/08/06 08:49:09 scarabeus Exp $
EAPI=3
@@ -21,7 +21,7 @@ DEV_URI="
EXT_URI="http://ooo.itc.hu/oxygenoffice/download/libreoffice"
ADDONS_URI="http://dev-www.libreoffice.org/src/"
-BRANDING="${PN}-branding-gentoo-0.2.tar.xz"
+BRANDING="${PN}-branding-gentoo-0.3.tar.xz"
[[ ${PV} == *9999* ]] && SCM_ECLASS="git-2"
inherit base autotools check-reqs eutils java-pkg-opt-2 kde4-base pax-utils prefix python multilib toolchain-funcs flag-o-matic nsplugins ${SCM_ECLASS}
diff --git a/app-office/libreoffice/libreoffice-3.4.9999.ebuild b/app-office/libreoffice/libreoffice-3.4.9999.ebuild
index ac7bea8fa400..15559f95277e 100644
--- a/app-office/libreoffice/libreoffice-3.4.9999.ebuild
+++ b/app-office/libreoffice/libreoffice-3.4.9999.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.4.9999.ebuild,v 1.5 2011/08/04 16:31:40 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice/libreoffice-3.4.9999.ebuild,v 1.6 2011/08/06 08:49:09 scarabeus Exp $
EAPI=3
@@ -21,7 +21,7 @@ DEV_URI="
EXT_URI="http://ooo.itc.hu/oxygenoffice/download/libreoffice"
ADDONS_URI="http://dev-www.libreoffice.org/src/"
-BRANDING="${PN}-branding-gentoo-0.2.tar.xz"
+BRANDING="${PN}-branding-gentoo-0.3.tar.xz"
[[ ${PV} == *9999* ]] && SCM_ECLASS="git-2"
inherit base autotools check-reqs eutils java-pkg-opt-2 kde4-base pax-utils prefix python multilib toolchain-funcs flag-o-matic nsplugins ${SCM_ECLASS}
@@ -235,7 +235,10 @@ PATCHES=(
"${FILESDIR}/${PN}-translate-toolkit-parallel-solenv.patch"
"${FILESDIR}/${PN}-gbuild-use-cxxflags.patch"
"${FILESDIR}/${PN}-installed-files-permissions.patch"
+ "${FILESDIR}/${PN}-check-for-avx.patch"
+ "${FILESDIR}/${PN}-append-no-avx.patch"
"${FILESDIR}/${PN}-32b-qt4-libdir.patch"
+ "${FILESDIR}/${PN}-binfilter-as-needed.patch"
)
# Uncoment me when updating to eapi4
@@ -349,7 +352,19 @@ src_unpack() {
src_prepare() {
strip-linguas ${LANGUAGES}
- LINGUAS_OOO=$(echo ${LINGUAS} | sed -e 's/\ben\b/en_US/;s/_/-/g')
+
+ # HACK: linguas needs special parsing until fixed upstream
+ if [[ -z ${LINGUAS} || ${LINGUAS} == en ]]; then
+ # if empty or just english we want empty
+ LO_LANGUAGES=
+ elif [[ ${LINGUAS} =~ en( |$) ]]; then
+ # otherwise if more then one language and english we
+ # replace en to en-US
+ LO_LANGUAGES="$(sed -e 's/\ben\b/en_US/;s/_/-/g' <<< ${LINGUAS})"
+ else
+ # and finally if no en is set we add en-US
+ LO_LANGUAGES="en-US ${LINGUAS//_/-}"
+ fi
# Now for our optimization flags ...
export ARCH_FLAGS="${CXXFLAGS}"