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