Gentoo Archives: gentoo-commits

From: "Tomas Chvatal (scarabeus)" <scarabeus@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-office/libreoffice-bin: ChangeLog libreoffice-bin-3.4.3-r1.ebuild
Date: Sat, 03 Sep 2011 11:57:10
Message-Id: 20110903115658.DB77120051@flycatcher.gentoo.org
1 scarabeus 11/09/03 11:56:58
2
3 Modified: ChangeLog libreoffice-bin-3.4.3-r1.ebuild
4 Log:
5 Depend on split libreoffice-l10n package instead of installing the languages here.
6
7 (Portage version: 2.2.0_alpha52/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.33 app-office/libreoffice-bin/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice-bin/ChangeLog?rev=1.33&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice-bin/ChangeLog?rev=1.33&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice-bin/ChangeLog?r1=1.32&r2=1.33
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-office/libreoffice-bin/ChangeLog,v
19 retrieving revision 1.32
20 retrieving revision 1.33
21 diff -u -r1.32 -r1.33
22 --- ChangeLog 2 Sep 2011 10:53:52 -0000 1.32
23 +++ ChangeLog 3 Sep 2011 11:56:58 -0000 1.33
24 @@ -1,6 +1,11 @@
25 # ChangeLog for app-office/libreoffice-bin
26 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice-bin/ChangeLog,v 1.32 2011/09/02 10:53:52 scarabeus Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice-bin/ChangeLog,v 1.33 2011/09/03 11:56:58 scarabeus Exp $
29 +
30 + 03 Sep 2011; Tomáš Chvátal <scarabeus@g.o>
31 + libreoffice-bin-3.4.3-r1.ebuild:
32 + Depend on split libreoffice-l10n package instead of installing the languages
33 + here.
34
35 *libreoffice-bin-3.4.3-r1 (02 Sep 2011)
36
37
38
39
40 1.2 app-office/libreoffice-bin/libreoffice-bin-3.4.3-r1.ebuild
41
42 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice-bin/libreoffice-bin-3.4.3-r1.ebuild?rev=1.2&view=markup
43 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice-bin/libreoffice-bin-3.4.3-r1.ebuild?rev=1.2&content-type=text/plain
44 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice-bin/libreoffice-bin-3.4.3-r1.ebuild?r1=1.1&r2=1.2
45
46 Index: libreoffice-bin-3.4.3-r1.ebuild
47 ===================================================================
48 RCS file: /var/cvsroot/gentoo-x86/app-office/libreoffice-bin/libreoffice-bin-3.4.3-r1.ebuild,v
49 retrieving revision 1.1
50 retrieving revision 1.2
51 diff -u -r1.1 -r1.2
52 --- libreoffice-bin-3.4.3-r1.ebuild 2 Sep 2011 10:53:52 -0000 1.1
53 +++ libreoffice-bin-3.4.3-r1.ebuild 3 Sep 2011 11:56:58 -0000 1.2
54 @@ -1,12 +1,12 @@
55 # Copyright 1999-2011 Gentoo Foundation
56 # Distributed under the terms of the GNU General Public License v2
57 -# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice-bin/libreoffice-bin-3.4.3-r1.ebuild,v 1.1 2011/09/02 10:53:52 scarabeus Exp $
58 +# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice-bin/libreoffice-bin-3.4.3-r1.ebuild,v 1.2 2011/09/03 11:56:58 scarabeus Exp $
59
60 EAPI="3"
61
62 inherit eutils fdo-mime gnome2-utils pax-utils prefix rpm multilib
63
64 -IUSE="gnome java offlinehelp"
65 +IUSE="gnome java"
66
67 MY_PV="${PV/_/-}"
68 MY_PV2="${PV}rc2"
69 @@ -29,27 +29,8 @@
70
71 DESCRIPTION="LibreOffice productivity suite."
72 HOMEPAGE="http://www.libreoffice.org"
73 -SRC_URI="amd64? ( ${FILEPATH}/x86_64/LibO_${PV}_Linux_x86-64_install-rpm_en-US.tar.gz
74 - offlinehelp? ( ${FILEPATH}/x86_64/LibO_${PV}_Linux_x86-64_helppack-rpm_en-US.tar.gz ) )
75 - x86? ( ${FILEPATH}/x86/LibO_${PV}_Linux_x86_install-rpm_en-US.tar.gz
76 - offlinehelp? ( ${FILEPATH}/x86/LibO_${PV}_Linux_x86_helppack-rpm_en-US.tar.gz ) )"
77 -
78 -LANGS="af ar as ast be bg bn bo br brx bs ca ca_XV cs cy da de dgo dz el en en_GB en_ZA eo es et eu fa fi fr ga gl gu he hi hr hu id is it ja ka kk km kn ko kok ks ku lo lt lv mai mk ml mn mni mr my nb ne nl nn nr nso oc om or pa_IN pl pt pt_BR ro ru rw sa_IN sat sd sh si sk sl sq sr ss st sv sw_TZ ta te tg th tn tr ts ug uk uz ve vi xh zh_CN zh_TW zu"
79 -
80 -LANGS2="bg bn bo bs ca ca_XV cs da de dz el en en_GB en_ZA eo es et eu fi fr gl gu he hi hr hu id is it ja ka km ko mk nb ne nl nn om pl pt pt_BR ru si sk sl sq sv tg tr ug uk vi zh_CN zh_TW"
81 -
82 -for X in ${LANGS} ; do
83 - [[ ${X} != "en" ]] && SRC_URI="${SRC_URI} linguas_${X}? (
84 - amd64? ( "${FILEPATH}"/x86_64/LibO_${PV}_Linux_x86-64_langpack-rpm_${X/_/-}.tar.gz )
85 - x86? ( "${FILEPATH}"/x86/LibO_${PV}_Linux_x86_langpack-rpm_${X/_/-}.tar.gz ) )"
86 - IUSE="${IUSE} linguas_${X}"
87 -done
88 -
89 -for Y in ${LANGS2} ; do
90 - [[ ${Y} != "en" ]] && SRC_URI="${SRC_URI} linguas_${Y}? (
91 - amd64? ( offlinehelp? ( "${FILEPATH}"/x86_64/LibO_${PV}_Linux_x86-64_helppack-rpm_${Y/_/-}.tar.gz ) )
92 - x86? ( offlinehelp? ( "${FILEPATH}"/x86/LibO_${PV}_Linux_x86_helppack-rpm_${Y/_/-}.tar.gz ) ) )"
93 -done
94 +SRC_URI="amd64? ( ${FILEPATH}/x86_64/LibO_${PV}_Linux_x86-64_install-rpm_en-US.tar.gz )
95 + x86? ( ${FILEPATH}/x86/LibO_${PV}_Linux_x86_install-rpm_en-US.tar.gz )"
96
97 LICENSE="LGPL-3"
98 SLOT="0"
99 @@ -59,6 +40,7 @@
100 !app-office/openoffice
101 !app-office/openoffice-bin
102 !prefix? ( sys-libs/glibc )
103 + >=app-office/libreoffice-l10n-${PV}
104 app-arch/unzip
105 app-arch/zip
106 >=dev-lang/perl-5.0
107 @@ -116,39 +98,10 @@
108 rpm_unpack "./${UP}/${BASIS}-en-US-${BVER}.${XARCH}.rpm"
109 rpm_unpack "./${UP}/${NM2}-en-US-${BVER}.${XARCH}.rpm"
110 rpm_unpack "./${UP}/${NM2}-dict-en-${BVER}.${XARCH}.rpm"
111 - use offlinehelp && rpm_unpack "./${PACKED}_helppack-rpm_en-US/RPMS//${BASIS}-en-US-help-${BVER}.${XARCH}.rpm"
112 for s in base binfilter calc math res writer ; do
113 rpm_unpack "./${UP}/${BASIS}-en-US-${s}-${BVER}.${XARCH}.rpm"
114 done
115
116 - # Localization
117 - strip-linguas ${LANGS}
118 - for l in ${LINGUAS}; do
119 - m="${l/_/-}"
120 - if [[ ${m} != "en" ]] ; then
121 - LANGDIR="${PACKED}_langpack-rpm_${m}/RPMS/"
122 - rpm_unpack "./${LANGDIR}/${BASIS}-${m}-${BVER}.${XARCH}.rpm"
123 - rpm_unpack "./${LANGDIR}/${NM2}-${m}-${BVER}.${XARCH}.rpm"
124 - for n in base binfilter calc math res writer; do
125 - rpm_unpack "./${LANGDIR}/${BASIS}-${m}-${n}-${BVER}.${XARCH}.rpm"
126 - done
127 -
128 - for DICT_FILE in `find "./${LANGDIR}" -name "${NM2}-dict-*-${BVER}.${XARCH}.rpm"`; do
129 - DICT_REGEX="s/${NM2}-dict-(.*?)-${BVER}.${XARCH}.rpm/\1/"
130 - DICT_LOCALE=`basename "$DICT_FILE" | sed -E "${DICT_REGEX}"`
131 - if [[ -n "${DICT_LOCALE}" && ! -d "${WORKDIR}/opt/${NM1}/share/extensions/dict-${DICT_LOCALE}" ]] ; then
132 - rpm_unpack "${DICT_FILE}"
133 - fi
134 - done
135 -
136 - # Help files
137 - if use offlinehelp; then
138 - LANGDIR2="${PACKED}_helppack-rpm_${m}/RPMS/"
139 - rpm_unpack "./${LANGDIR2}/${BASIS}-${m}-help-${BVER}.${XARCH}.rpm"
140 - fi
141 - fi
142 - done
143 -
144 }
145
146 src_install () {