[Slackbuilds-users] (no subject)

Murat D. Kadirov banderols at gmail.com
Fri Oct 17 00:52:00 UTC 2008


01:47 Fri 17 Oct, Thomas Morper wrote:
> Am Donnerstag, 16. Oktober 2008 06:50:40 schrieb Robby Workman:
> 
> > office/openoffice.org: Bugfix to add the various dictionaries (en, es,
> > fr) included with the prepackaged binaries in such a way that they're
> > actually installed via the extension manager.
> > If I missed anything else, let me know.  --rworkman
> 
> This latest fix can make the build fail when you're using one of the
> localized OOo-versions, because these don't necessarily contain the
> same (en, es, fr) dictionaries. The German version, for example, has
> additional German and Italian dictionaries, but misses the Spanish one.
> 
> A possible solution would be to find and install dictionary extensions
> dynamically:
> 
> --- openoffice.org.SlackBuild   2008-10-15 22:31:16.000000000 +0200
> +++ openoffice.org.SlackBuild.new       2008-10-17 01:11:01.152418973 +0200
> @@ -94,11 +94,10 @@
>  # Install dictionary extensions for spellchecking
>  if [ -x "$PKG/opt/openoffice.org3/program/unopkg" ]; then
>    UNOPKGTMP=$TMP/$$$$$$
> -  for DICT_LANG in en es fr ; do
> -    $PKG/opt/openoffice.org3/program/unopkg add --shared --shared \
> -      $PKG/opt/openoffice.org3/share/extension/install/dict-$DICT_LANG.oxt \
> -      "-env:UserInstallation=file:///$UNOPKGTMP" ;
> -  done
> +  find $PKG/opt/openoffice.org3/share/extension/install \
> +    -type f -name 'dict-*.oxt' \
> +    -exec $PKG/opt/openoffice.org3/program/unopkg add --shared {} \
> +    "-env:UserInstallation=file:///$UNOPKGTMP" \;
>    rm -rf $UNOPKGTMP
>  fi
> 
> This seems to work for me. Any comments?

Yes, it's true. For example, russian version contains only en, ru. I
think that all version contain eng-dict.

-- 
Murat D. Kadirov
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20081017/afd77460/attachment.sig>


More information about the SlackBuilds-users mailing list