Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 273417 Details for
Bug 302388
Myspell doesn't work with oxt dictionaries provided by OpenOffice.org extensions
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to myspell.eclass to support *.oxt openoffice extensions
myspell.eclass.patch (text/plain), 1.14 KB, created by
Atman Sense
on 2011-05-16 10:31:05 UTC
(
hide
)
Description:
patch to myspell.eclass to support *.oxt openoffice extensions
Filename:
MIME Type:
Creator:
Atman Sense
Created:
2011-05-16 10:31:05 UTC
Size:
1.14 KB
patch
obsolete
>--- /usr/portage/eclass/myspell.eclass 2009-02-09 09:21:00.000000000 +0100 >+++ /usr/local/portage/eclass/myspell.eclass 2011-05-16 10:44:38.151082651 +0200 >@@ -8,7 +8,7 @@ > > inherit multilib > >-EXPORT_FUNCTIONS src_install pkg_preinst pkg_postinst >+EXPORT_FUNCTIONS src_unpack src_install pkg_preinst pkg_postinst > > IUSE="" > >@@ -116,6 +116,33 @@ > # This format is from the available.lst, hyphavail.lst and > # thesavail.lst files on the openoffice.org repository. > >+#got inspiration from /usr/lib/portage/bin/ebuild.sh and /usr/portage/eclass/mozextension.eclass >+myspell_src_unpack() { >+ local oxt oxtname srcdir >+ >+ [ -z "${A}" ] && die "Nothing passed to the 'unpack' command" >+ >+ srcdir="${DISTDIR}/" >+ >+ for oxt in ${A}; do >+ einfo "Unpacking ${oxt} to ${PWD}" >+ >+ [[ -s "${srcdir}${oxt}" ]] || die "${oxt} does not exist" >+ >+ case "${oxt##*.}" in >+ oxt) >+ unzip -qoj "${srcdir}${oxt}" || die "failed to unpack ${oxt}" >+ ;; >+ ZIP|zip) >+ unpack ${oxt} >+ ;; >+ *) >+ einfo "unpack ${oxt}: file format not recognized. Ignoring." >+ ;; >+ esac >+ done >+} >+ > myspell_src_install() { > local filen fields entry dictlst > cd "${WORKDIR}"
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 302388
: 273417 |
305303