1 |
suka 09/09/02 19:40:14 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: openoffice-bin-3.1.1.ebuild |
5 |
Removed: openoffice-bin-3.0.1.ebuild |
6 |
Log: |
7 |
Bump to OpenOffice.org 3.1.1 |
8 |
(Portage version: 2.2_rc40/cvs/Linux i686) |
9 |
|
10 |
Revision Changes Path |
11 |
1.217 app-office/openoffice-bin/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/openoffice-bin/ChangeLog?rev=1.217&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/openoffice-bin/ChangeLog?rev=1.217&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/openoffice-bin/ChangeLog?r1=1.216&r2=1.217 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/app-office/openoffice-bin/ChangeLog,v |
20 |
retrieving revision 1.216 |
21 |
retrieving revision 1.217 |
22 |
diff -u -r1.216 -r1.217 |
23 |
--- ChangeLog 26 May 2009 17:58:19 -0000 1.216 |
24 |
+++ ChangeLog 2 Sep 2009 19:40:14 -0000 1.217 |
25 |
@@ -1,6 +1,16 @@ |
26 |
# ChangeLog for app-office/openoffice-bin |
27 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice-bin/ChangeLog,v 1.216 2009/05/26 17:58:19 suka Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice-bin/ChangeLog,v 1.217 2009/09/02 19:40:14 suka Exp $ |
30 |
+ |
31 |
+ 02 Sep 2009; Andreas Proschofsky <suka@g.o> |
32 |
+ -openoffice-bin-3.0.1.ebuild |
33 |
+ Remove old release |
34 |
+ |
35 |
+*openoffice-bin-3.1.1 (02 Sep 2009) |
36 |
+ |
37 |
+ 02 Sep 2009; Andreas Proschofsky <suka@g.o> |
38 |
+ +openoffice-bin-3.1.1.ebuild: |
39 |
+ Add ebuild for OpenOffice.org 3.1.1 |
40 |
|
41 |
26 May 2009; Andreas Proschofsky <suka@g.o> |
42 |
openoffice-bin-3.1.0.ebuild: |
43 |
|
44 |
|
45 |
|
46 |
1.1 app-office/openoffice-bin/openoffice-bin-3.1.1.ebuild |
47 |
|
48 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/openoffice-bin/openoffice-bin-3.1.1.ebuild?rev=1.1&view=markup |
49 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/openoffice-bin/openoffice-bin-3.1.1.ebuild?rev=1.1&content-type=text/plain |
50 |
|
51 |
Index: openoffice-bin-3.1.1.ebuild |
52 |
=================================================================== |
53 |
# Copyright 1999-2009 Gentoo Foundation |
54 |
# Distributed under the terms of the GNU General Public License v2 |
55 |
# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice-bin/openoffice-bin-3.1.1.ebuild,v 1.1 2009/09/02 19:40:14 suka Exp $ |
56 |
|
57 |
inherit eutils fdo-mime rpm multilib |
58 |
|
59 |
IUSE="gnome java kde" |
60 |
|
61 |
BUILDID="9420" |
62 |
BUILDID2="9420" |
63 |
UREVER="1.5.1" |
64 |
MY_PV="${PV}rc2" |
65 |
MY_PV2="${MY_PV}_20090820" |
66 |
MY_PV3="${PV}-${BUILDID}" |
67 |
BASIS="ooobasis3.1" |
68 |
MST="OOO310_m19" |
69 |
|
70 |
if [ "${ARCH}" = "amd64" ] ; then |
71 |
OOARCH="x86_64" |
72 |
PACKED="${MST}_native_packed-2" |
73 |
PACKED2="${MST}_native_packed-2" |
74 |
else |
75 |
OOARCH="i586" |
76 |
PACKED="${MST}_native_packed-1" |
77 |
PACKED2="${MST}_native_packed-1" |
78 |
fi |
79 |
|
80 |
S="${WORKDIR}/${PACKED}_en-US.${BUILDID}/RPMS" |
81 |
DESCRIPTION="OpenOffice productivity suite" |
82 |
|
83 |
SRC_URI="x86? ( mirror://openoffice/stable/${PV}/OOo_${PV}_LinuxIntel_install_en-US.tar.gz ) |
84 |
amd64? ( mirror://openoffice/stable/${PV}/OOo_${PV}_LinuxX86-64_install_wJRE_en-US.tar.gz )" |
85 |
|
86 |
LANGS="af ar as_IN be_BY bg bn br brx bs ca cs cy de dgo dz el en en_GB en_ZA eo es et eu fa fi fr ga gl gu gu_IN he hi_IN hr hu id it ka kk km kn_IN ko kok ks ku lt mai mk ml_IN mn mni mr_IN my nb ne nl nn nr ns oc or_IN pa_IN pl pt pt_BR ru rw sa_IN sat sd sh sk sl sr ss st sv sw_TZ ta ta_IN te_IN tg th ti_ER tn tr ts uk ur_IN uz ve vi xh zh_CN zh_TW zu" |
87 |
|
88 |
for X in ${LANGS} ; do |
89 |
[[ ${X} != "en" ]] && SRC_URI="${SRC_URI} linguas_${X}? ( |
90 |
x86? ( mirror://openoffice-extended/${MY_PV}/OOo_${MY_PV2}_LinuxIntel_langpack_${X/_/-}.tar.gz ) |
91 |
amd64? ( mirror://openoffice-extended/${MY_PV}/OOo_${MY_PV2}_LinuxX86-64_langpack_${X/_/-}.tar.gz ) )" |
92 |
IUSE="${IUSE} linguas_${X}" |
93 |
done |
94 |
|
95 |
HOMEPAGE="http://www.openoffice.org/" |
96 |
|
97 |
LICENSE="LGPL-2" |
98 |
SLOT="0" |
99 |
KEYWORDS="~amd64 ~x86" |
100 |
|
101 |
RDEPEND="!app-office/openoffice |
102 |
x11-libs/libXaw |
103 |
sys-libs/glibc |
104 |
>=dev-lang/perl-5.0 |
105 |
app-arch/zip |
106 |
app-arch/unzip |
107 |
>=media-libs/freetype-2.1.10-r2 |
108 |
java? ( >=virtual/jre-1.5 ) |
109 |
linguas_ja? ( >=media-fonts/kochi-substitute-20030809-r3 ) |
110 |
linguas_zh_CN? ( >=media-fonts/arphicfonts-0.1-r2 ) |
111 |
linguas_zh_TW? ( >=media-fonts/arphicfonts-0.1-r2 )" |
112 |
|
113 |
DEPEND="${RDEPEND} |
114 |
sys-apps/findutils" |
115 |
|
116 |
PROVIDE="virtual/ooo" |
117 |
RESTRICT="strip" |
118 |
|
119 |
QA_EXECSTACK="usr/$(get_libdir)/openoffice/basis3.1/program/* |
120 |
usr/$(get_libdir)/openoffice/ure/lib/*" |
121 |
QA_TEXTRELS="usr/$(get_libdir)/openoffice/basis3.1/program/libvclplug_genli.so \ |
122 |
usr/$(get_libdir)/openoffice/basis3.1/program/python-core-2.3.4/lib/lib-dynload/_curses_panel.so \ |
123 |
usr/$(get_libdir)/openoffice/basis3.1/program/python-core-2.3.4/lib/lib-dynload/_curses.so \ |
124 |
usr/$(get_libdir)/openoffice/ure/lib/*" |
125 |
|
126 |
src_unpack() { |
127 |
|
128 |
unpack ${A} |
129 |
|
130 |
for i in base binfilter calc core01 core02 core03 core04 core05 core06 core07 draw graphicfilter images impress math ooofonts oooimprovement ooolinguistic pyuno testtool writer xsltfilter ; do |
131 |
rpm_unpack "${S}/${BASIS}-${i}-${MY_PV3}.${OOARCH}.rpm" |
132 |
done |
133 |
|
134 |
for j in base calc draw impress math writer; do |
135 |
rpm_unpack "${S}/openoffice.org3-${j}-${MY_PV3}.${OOARCH}.rpm" |
136 |
done |
137 |
|
138 |
rpm_unpack "${S}/openoffice.org3-${MY_PV3}.${OOARCH}.rpm" |
139 |
rpm_unpack "${S}/openoffice.org-ure-${UREVER}-${BUILDID}.${OOARCH}.rpm" |
140 |
|
141 |
rpm_unpack "${S}/desktop-integration/openoffice.org3.1-freedesktop-menus-3.1-${BUILDID2}.noarch.rpm" |
142 |
|
143 |
use gnome && rpm_unpack "${S}/${BASIS}-gnome-integration-${MY_PV3}.${OOARCH}.rpm" |
144 |
use kde && rpm_unpack "${S}/${BASIS}-kde-integration-${MY_PV3}.${OOARCH}.rpm" |
145 |
use java && rpm_unpack "${S}/${BASIS}-javafilter-${MY_PV3}.${OOARCH}.rpm" |
146 |
|
147 |
strip-linguas ${LANGS} |
148 |
|
149 |
if [[ -z "${LINGUAS}" ]]; then |
150 |
export LINGUAS="en" |
151 |
fi |
152 |
|
153 |
for k in ${LINGUAS}; do |
154 |
i="${k/_/-}" |
155 |
if [[ ${i} = "en" ]] ; then |
156 |
i="en-US" |
157 |
LANGDIR="${WORKDIR}/${PACKED}_${i}.${BUILDID}/RPMS/" |
158 |
else |
159 |
LANGDIR="${WORKDIR}/${PACKED2}_${i}.${BUILDID}/RPMS/" |
160 |
fi |
161 |
rpm_unpack ${LANGDIR}/${BASIS}-${i}-${MY_PV3}.${OOARCH}.rpm |
162 |
rpm_unpack ${LANGDIR}/openoffice.org3-${i}-${MY_PV3}.${OOARCH}.rpm |
163 |
for j in base binfilter calc draw help impress math res writer; do |
164 |
rpm_unpack ${LANGDIR}/${BASIS}-${i}-${j}-${MY_PV3}.${OOARCH}.rpm |
165 |
done |
166 |
done |
167 |
|
168 |
# Unpack provided dictionaries, unless there is a better solution... |
169 |
rpm_unpack "${S}/openoffice.org3-dict-en-${MY_PV3}.${OOARCH}.rpm" |
170 |
rpm_unpack "${S}/openoffice.org3-dict-es-${MY_PV3}.${OOARCH}.rpm" |
171 |
rpm_unpack "${S}/openoffice.org3-dict-fr-${MY_PV3}.${OOARCH}.rpm" |
172 |
|
173 |
} |
174 |
|
175 |
src_install () { |
176 |
|
177 |
INSTDIR="/usr/$(get_libdir)/openoffice" |
178 |
|
179 |
einfo "Installing OpenOffice.org into build root..." |
180 |
dodir ${INSTDIR} |
181 |
mv "${WORKDIR}"/opt/openoffice.org/* "${D}${INSTDIR}" || die |
182 |
mv "${WORKDIR}"/opt/openoffice.org3/* "${D}${INSTDIR}" || die |
183 |
|
184 |
#Menu entries, icons and mime-types |
185 |
cd "${D}${INSTDIR}/share/xdg/" |
186 |
|
187 |
for desk in base calc draw impress math printeradmin qstart writer; do |
188 |
mv ${desk}.desktop openoffice.org-${desk}.desktop |
189 |
sed -i -e s/openoffice.org3/ooffice/g openoffice.org-${desk}.desktop || die |
190 |
sed -i -e s/openofficeorg3-${desk}/ooo-${desk}/g openoffice.org-${desk}.desktop || die |
191 |
domenu openoffice.org-${desk}.desktop |
192 |
insinto /usr/share/pixmaps |
193 |
if [ "${desk}" != "qstart" ] ; then |
194 |
newins "${WORKDIR}/usr/share/icons/gnome/48x48/apps/openofficeorg3-${desk}.png" ooo-${desk}.png |
195 |
fi |
196 |
done |
197 |
|
198 |
# Install wrapper script |
199 |
newbin "${FILESDIR}/wrapper.in" ooffice |
200 |
sed -i -e s/LIBDIR/$(get_libdir)/g "${D}/usr/bin/ooffice" || die |
201 |
|
202 |
# Component symlinks |
203 |
for app in base calc draw impress math writer; do |
204 |
dosym ${INSTDIR}/program/s${app} /usr/bin/oo${app} |
205 |
done |
206 |
|
207 |
dosym ${INSTDIR}/program/spadmin /usr/bin/ooffice-printeradmin |
208 |
dosym ${INSTDIR}/program/soffice /usr/bin/soffice |
209 |
|
210 |
rm -f "${D}${INSTDIR}/basis-link" || die |
211 |
dosym ${INSTDIR}/basis3.1 ${INSTDIR}/basis-link |
212 |
|
213 |
# Change user install dir |
214 |
sed -i -e "s/.openoffice.org\/3/.ooo3/g" "${D}${INSTDIR}/program/bootstraprc" || die |
215 |
|
216 |
# Non-java weirdness see bug #99366 |
217 |
use !java && rm -f "${D}${INSTDIR}/ure/bin/javaldx" |
218 |
|
219 |
# prevent revdep-rebuild from attempting to rebuild all the time |
220 |
insinto /etc/revdep-rebuild && doins "${FILESDIR}/50-openoffice-bin" |
221 |
|
222 |
} |
223 |
|
224 |
pkg_postinst() { |
225 |
|
226 |
fdo-mime_desktop_database_update |
227 |
fdo-mime_mime_database_update |
228 |
|
229 |
[[ -x /sbin/chpax ]] && [[ -e /usr/$(get_libdir)/openoffice/program/soffice.bin ]] && chpax -zm /usr/$(get_libdir)/openoffice/program/soffice.bin |
230 |
|
231 |
elog " openoffice-bin does not provide integration with system spell " |
232 |
elog " dictionaries. Please install them manually through the Extensions " |
233 |
elog " Manager (Tools > Extensions Manager) or use the source based " |
234 |
elog " package instead. " |
235 |
elog |
236 |
elog " Dictionaries for english, french and spanish are provided in " |
237 |
elog " /usr/$(get_libdir)/openoffice/share/extension/install " |
238 |
elog " Other dictionaries can be found at Suns extension site. " |
239 |
elog |
240 |
|
241 |
} |