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