1 |
suka 07/12/02 20:03:07 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: openoffice-bin-2.3.1_rc1.ebuild |
5 |
Log: |
6 |
Add masked release candidate for openoffice-bin-2.3.1 |
7 |
(Portage version: 2.1.4_rc4) |
8 |
|
9 |
Revision Changes Path |
10 |
1.179 app-office/openoffice-bin/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/openoffice-bin/ChangeLog?rev=1.179&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/openoffice-bin/ChangeLog?rev=1.179&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/openoffice-bin/ChangeLog?r1=1.178&r2=1.179 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/app-office/openoffice-bin/ChangeLog,v |
19 |
retrieving revision 1.178 |
20 |
retrieving revision 1.179 |
21 |
diff -u -r1.178 -r1.179 |
22 |
--- ChangeLog 20 Sep 2007 13:25:59 -0000 1.178 |
23 |
+++ ChangeLog 2 Dec 2007 20:03:07 -0000 1.179 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for app-office/openoffice-bin |
26 |
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice-bin/ChangeLog,v 1.178 2007/09/20 13:25:59 suka Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice-bin/ChangeLog,v 1.179 2007/12/02 20:03:07 suka Exp $ |
29 |
+ |
30 |
+*openoffice-bin-2.3.1_rc1 (02 Dec 2007) |
31 |
+ |
32 |
+ 02 Dec 2007; Andreas Proschofsky <suka@g.o> |
33 |
+ +openoffice-bin-2.3.1_rc1.ebuild: |
34 |
+ Add masked release candidate for openoffice-bin-2.3.1 |
35 |
|
36 |
20 Sep 2007; Andreas Proschofsky <suka@g.o> |
37 |
openoffice-bin-2.3.0.ebuild: |
38 |
|
39 |
|
40 |
|
41 |
1.1 app-office/openoffice-bin/openoffice-bin-2.3.1_rc1.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/openoffice-bin/openoffice-bin-2.3.1_rc1.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/openoffice-bin/openoffice-bin-2.3.1_rc1.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: openoffice-bin-2.3.1_rc1.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2007 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice-bin/openoffice-bin-2.3.1_rc1.ebuild,v 1.1 2007/12/02 20:03:07 suka Exp $ |
51 |
|
52 |
inherit eutils fdo-mime rpm multilib |
53 |
|
54 |
IUSE="gnome java kde" |
55 |
|
56 |
BUILDID="9238" |
57 |
MY_PV="${PV/_/}" |
58 |
MY_PV2="${MY_PV}_20071113" |
59 |
MY_PV3="${PV/_rc1/}-${BUILDID}" |
60 |
PACKED="OOG680_m9_native_packed-1" |
61 |
S="${WORKDIR}/${PACKED}_en-US.${BUILDID}/RPMS" |
62 |
DESCRIPTION="OpenOffice productivity suite" |
63 |
|
64 |
SRC_URI="mirror://openoffice/contrib/rc/${MY_PV}/OOo_${MY_PV2}_LinuxIntel_install_en-US.tar.gz" |
65 |
|
66 |
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 gl 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_YU sk sl sr_CS 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" |
67 |
|
68 |
for X in ${LANGS} ; do |
69 |
[[ ${X} != "en" ]] && SRC_URI="${SRC_URI} linguas_${X}? ( mirror://openoffice-extended/${MY_PV}/OOo_${MY_PV2}_LinuxIntel_langpack_${X/_/-}.tar.gz )" |
70 |
IUSE="${IUSE} linguas_${X}" |
71 |
done |
72 |
|
73 |
HOMEPAGE="http://www.openoffice.org/" |
74 |
|
75 |
LICENSE="LGPL-2" |
76 |
SLOT="0" |
77 |
KEYWORDS="~amd64 ~x86" |
78 |
|
79 |
RDEPEND="!app-office/openoffice |
80 |
x11-libs/libXaw |
81 |
sys-libs/glibc |
82 |
>=dev-lang/perl-5.0 |
83 |
app-arch/zip |
84 |
app-arch/unzip |
85 |
>=media-libs/freetype-2.1.10-r2 |
86 |
>=app-admin/eselect-oodict-20060706 |
87 |
java? ( !amd64? ( >=virtual/jre-1.4 ) |
88 |
amd64? ( app-emulation/emul-linux-x86-java ) ) |
89 |
amd64? ( >=app-emulation/emul-linux-x86-xlibs-1.0 ) |
90 |
linguas_ja? ( >=media-fonts/kochi-substitute-20030809-r3 ) |
91 |
linguas_zh_CN? ( >=media-fonts/arphicfonts-0.1-r2 ) |
92 |
linguas_zh_TW? ( >=media-fonts/arphicfonts-0.1-r2 )" |
93 |
|
94 |
DEPEND="${RDEPEND} |
95 |
sys-apps/findutils" |
96 |
|
97 |
PROVIDE="virtual/ooo" |
98 |
RESTRICT="strip" |
99 |
|
100 |
QA_EXECSTACK="usr/$(get_libdir)/openoffice/program/*" |
101 |
QA_TEXTRELS="usr/$(get_libdir)/openoffice/program/libvclplug_gen680li.so.1.1 \ |
102 |
usr/$(get_libdir)/openoffice/program/python-core-2.3.4/lib/lib-dynload/_curses_panel.so \ |
103 |
usr/$(get_libdir)/openoffice/program/python-core-2.3.4/lib/lib-dynload/_curses.so" |
104 |
|
105 |
src_unpack() { |
106 |
|
107 |
unpack ${A} |
108 |
|
109 |
for i in base calc core01 core02 core03 core03u core04 core04u core05 core05u core06 core07 core08 core09 core10 draw emailmerge graphicfilter headless impress math pyuno testtool writer xsltfilter ; do |
110 |
rpm_unpack ${S}/openoffice.org-${i}-${MY_PV3}.i586.rpm |
111 |
done |
112 |
|
113 |
rpm_unpack ${S}/desktop-integration/openoffice.org-freedesktop-menus-2.3-9238.noarch.rpm |
114 |
|
115 |
use gnome && rpm_unpack ${S}/openoffice.org-gnome-integration-${MY_PV3}.i586.rpm |
116 |
use kde && rpm_unpack ${S}/openoffice.org-kde-integration-${MY_PV3}.i586.rpm |
117 |
use java && rpm_unpack ${S}/openoffice.org-javafilter-${MY_PV3}.i586.rpm |
118 |
|
119 |
strip-linguas en ${LANGS} |
120 |
|
121 |
for i in ${LINGUAS}; do |
122 |
i="${i/_/-}" |
123 |
if [[ ${i} != "en" ]] ; then |
124 |
LANGDIR="${WORKDIR}/${PACKED}_${i}.${BUILDID}/RPMS/" |
125 |
rpm_unpack ${LANGDIR}/openoffice.org-${i}-${MY_PV3}.i586.rpm |
126 |
rpm_unpack ${LANGDIR}/openoffice.org-${i}-help-${MY_PV3}.i586.rpm |
127 |
rpm_unpack ${LANGDIR}/openoffice.org-${i}-res-${MY_PV3}.i586.rpm |
128 |
fi |
129 |
done |
130 |
|
131 |
} |
132 |
|
133 |
src_install () { |
134 |
|
135 |
#Multilib install dir magic for AMD64 |
136 |
has_multilib_profile && ABI=x86 |
137 |
INSTDIR="/usr/$(get_libdir)/openoffice" |
138 |
|
139 |
einfo "Installing OpenOffice.org into build root..." |
140 |
dodir ${INSTDIR} |
141 |
mv ${WORKDIR}/opt/openoffice.org2.3/* ${D}${INSTDIR} |
142 |
|
143 |
#Menu entries, icons and mime-types |
144 |
cd ${D}${INSTDIR}/share/xdg/ |
145 |
|
146 |
for desk in base calc draw impress math printeradmin writer; do |
147 |
mv ${desk}.desktop openoffice.org-2.3-${desk}.desktop |
148 |
sed -i -e s/openoffice.org2.3/ooffice/g openoffice.org-2.3-${desk}.desktop || die |
149 |
sed -i -e s/openofficeorg23-${desk}/ooo-${desk}/g openoffice.org-2.3-${desk}.desktop || die |
150 |
domenu openoffice.org-2.3-${desk}.desktop |
151 |
insinto /usr/share/pixmaps |
152 |
newins ${WORKDIR}/usr/share/icons/gnome/48x48/apps/openofficeorg23-${desk}.png ooo-${desk}.png |
153 |
done |
154 |
|
155 |
insinto /usr/share/mime/packages |
156 |
doins ${WORKDIR}/usr/share/mime/packages/openoffice.org.xml |
157 |
|
158 |
# Install wrapper script |
159 |
newbin ${FILESDIR}/wrapper.in ooffice |
160 |
sed -i -e s/LIBDIR/$(get_libdir)/g ${D}/usr/bin/ooffice || die |
161 |
|
162 |
# Component symlinks |
163 |
for app in base calc draw impress math writer; do |
164 |
dosym ${INSTDIR}/program/s${app} /usr/bin/oo${app} |
165 |
done |
166 |
|
167 |
dosym ${INSTDIR}/program/spadmin.bin /usr/bin/ooffice-printeradmin |
168 |
dosym ${INSTDIR}/program/soffice /usr/bin/soffice |
169 |
|
170 |
# Change user install dir |
171 |
sed -i -e s/.openoffice.org2/.ooo-2.0/g ${D}${INSTDIR}/program/bootstraprc || die |
172 |
|
173 |
# Non-java weirdness see bug #99366 |
174 |
use !java && rm -f ${D}${INSTDIR}/program/javaldx |
175 |
|
176 |
# Remove the provided dictionaries, we use our own instead |
177 |
rm -f ${D}${INSTDIR}/share/dict/ooo/* |
178 |
|
179 |
# prevent revdep-rebuild from attempting to rebuild all the time |
180 |
insinto /etc/revdep-rebuild && doins ${FILESDIR}/50-openoffice-bin |
181 |
|
182 |
} |
183 |
|
184 |
pkg_postinst() { |
185 |
|
186 |
fdo-mime_desktop_database_update |
187 |
fdo-mime_mime_database_update |
188 |
|
189 |
eselect oodict update --libdir $(get_libdir) |
190 |
|
191 |
[[ -x /sbin/chpax ]] && [[ -e /usr/$(get_libdir)/openoffice/program/soffice.bin ]] && chpax -zm /usr/$(get_libdir)/openoffice/program/soffice.bin |
192 |
|
193 |
elog " To start OpenOffice.org, run:" |
194 |
elog |
195 |
elog " $ ooffice" |
196 |
elog |
197 |
elog " Also, for individual components, you can use any of:" |
198 |
elog |
199 |
elog " oobase, oocalc, oodraw, ooimpress, oomath, or oowriter" |
200 |
elog |
201 |
elog " Spell checking is now provided through our own myspell-ebuilds, " |
202 |
elog " if you want to use it, please install the correct myspell package " |
203 |
elog " according to your language needs. " |
204 |
|
205 |
} |
206 |
|
207 |
|
208 |
|
209 |
-- |
210 |
gentoo-commits@g.o mailing list |