Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 261046 Details for
Bug 353010
app-office/libreoffice-bin-3.3.0 should install dictionaries
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
install dictionaries take 2
libreoffice-bin-3.3.0-r1.ebuild.patch (text/plain), 1.50 KB, created by
Matthew Turnbull
on 2011-01-29 22:32:42 UTC
(
hide
)
Description:
install dictionaries take 2
Filename:
MIME Type:
Creator:
Matthew Turnbull
Created:
2011-01-29 22:32:42 UTC
Size:
1.50 KB
patch
obsolete
>--- /usr/portage/app-office/libreoffice-bin/libreoffice-bin-3.3.0.ebuild 2011-01-27 10:05:26.000000000 -0500 >+++ /usr/portage/app-office/libreoffice-bin/libreoffice-bin-3.3.0-r1.ebuild 2011-01-29 17:10:27.910180772 -0500 >@@ -110,14 +110,13 @@ src_unpack() { > # English support installed by default > rpm_unpack "./${UP}/${BASIS}-en-US-${BVER}.${LOARCH}.rpm" > rpm_unpack "./${UP}/libreoffice3-en-US-${BVER}.${LOARCH}.rpm" >+ rpm_unpack "./${UP}/libreoffice3-dict-en-${BVER}.${LOARCH}.rpm" > use offlinehelp && rpm_unpack "./LibO_${MY_PV2}_Linux_${LOARCH2}_helppack-rpm_en-US/RPMS//${BASIS}-en-US-help-${BVER}.${LOARCH}.rpm" > for s in base binfilter calc math res writer ; do > rpm_unpack "./${UP}/${BASIS}-en-US-${s}-${BVER}.${LOARCH}.rpm" > done > > # Lang files >- # TODO: Install dictionaries >- > strip-linguas ${LANGS} > > for l in ${LINGUAS}; do >@@ -129,6 +128,15 @@ src_unpack() { > for n in base binfilter calc math res writer; do > rpm_unpack "./${LANGDIR}/${BASIS}-${m}-${n}-${BVER}.${LOARCH}.rpm" > done >+ >+ for DICT_FILE in `find "./${LANGDIR}" -name "libreoffice3-dict-*-${BVER}.${LOARCH}.rpm"`; do >+ DICT_REGEX="s/libreoffice3-dict-(.*?)-${BVER}.${LOARCH}.rpm/\1/" >+ DICT_LOCALE=`basename "$DICT_FILE" | sed -E "${DICT_REGEX}"` >+ if [[ -n "${DICT_LOCALE}" && ! -d "${WORKDIR}/opt/libreoffice/share/extensions/dict-${DICT_LOCALE}" ]] ; then >+ rpm_unpack "${DICT_FILE}" >+ fi >+ done >+ > # Help files > if use offlinehelp; then > LANGDIR2="LibO_${MY_PV2}_Linux_${LOARCH2}_helppack-rpm_${m}/RPMS/"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 353010
:
260893
| 261046