don't most distros provide additional dictionaries as separate packages? are the dictionaries downloaded separately, or part of the OpenOffice tgz/whatever?<br><br>
<div><span class="gmail_quote">On 9/23/06, <b class="gmail_sendername">Halim Issa</b> &lt;<a href="mailto:yallaone@gmail.com">yallaone@gmail.com</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi,<br><br>While <a href="http://openoffice.org">openoffice.org</a> comes with quite a few dictionaries, it for instance
<br>misses the Scandinavian languages, while it installs several dictionaries<br>that only non-native speakers of those languages use (Italian, Hungarian).<br>I've added a small part to openoffice.org.SlackBuild to include local
<br>dictionaries while removing all but the English (US and UK) dictionaries in<br>the final installation.<br><br>I realize this goes against the concept of providing non-patched packages,<br>but at the same time a change _is_ needed to add for instance Norwegian
<br>dicts, and at the same time I have little use for Italian, Spanish etc, and<br>thus took those out.<br><br>Adding the patch below - the actual dictionaries-file is 1.3MB so it's not<br>included.<br><br>diff -Naur openoffice.org.SlackBuild.SBo
<br>openoffice.org.SlackBuild.gfj&gt;openoffice.org.SlackBuild.patch<br><br>--- openoffice.org.SlackBuild.SBo&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2006-09-08 17:30:43.000000000 +0200<br>+++ openoffice.org.SlackBuild.gfj&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2006-09-23 12:18:31.000000000
 +0200<br>@@ -33,6 +33,7 @@<br>TMP=${TMP:-/tmp/SBo}<br>PKG=$TMP/package-$PRGNAM<br>OUTPUT=/tmp<br>+LOCALIZATION=norwegian-2.0.8<br><br># Require the script to exit if any command fails<br>set -e<br>@@ -97,6 +98,18 @@<br>&nbsp;&nbsp;done
<br>)<br><br>+# Add localized dictionaries and remove other dictionaries<br>+( if [ -f $CWD/$LOCALIZATION.tgz ]; then<br>+&nbsp;&nbsp;&nbsp;&nbsp;echo &quot;Localizing for $LOCALIZATION...&quot;<br>+&nbsp;&nbsp;&nbsp;&nbsp;cd $PKG/opt/openoffice.org2.0/share/dict/ooo
<br>+&nbsp;&nbsp;&nbsp;&nbsp;mv README_en_GB.txt keep_README_en_GB.txt<br>+&nbsp;&nbsp;&nbsp;&nbsp;rm -f README* INSTALL_de.txt de_* hu_* it_* nl_* sw_* th_* hyph_d*<br>hyph_h*<br>hyph_i* hyph_n* hyph_r*<br>+&nbsp;&nbsp;&nbsp;&nbsp;mv keep_README_en_GB.txt README_en_GB.txt<br>+&nbsp;&nbsp;&nbsp;&nbsp;mv 
dictionary.lst dictionary.lst.orig<br>+&nbsp;&nbsp;&nbsp;&nbsp;tar xvf $CWD/$LOCALIZATION.tgz<br>+&nbsp;&nbsp;fi<br>+)<br>+<br>mkdir -p $PKG/install<br>cat $CWD/slack-desc &gt; $PKG/install/slack-desc<br><br><br>The norwegian-2.0.8.tgz file contains:<br>
-r--r--r-- root/root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 800 2006-09-23 11:41:06 dictionary.lst<br>-rw-r--r-- root/root&nbsp;&nbsp;&nbsp;&nbsp;186678 2006-05-30 13:23:23 hyph_nb_NO.dic<br>-rw-r--r-- root/root&nbsp;&nbsp;&nbsp;&nbsp;186678 2006-05-30 13:23:23 hyph_nn_NO.dic<br>-rw-r--r-- root/root&nbsp;&nbsp;&nbsp;&nbsp; 16898 2006-05-30 13:23:21 nb_NO.aff
<br>-rw-r--r-- root/root&nbsp;&nbsp; 2119161 2006-05-30 13:23:21 nb_NO.dic<br>-rw-r--r-- root/root&nbsp;&nbsp;&nbsp;&nbsp; 13502 2006-05-30 13:23:22 nn_NO.aff<br>-rw-r--r-- root/root&nbsp;&nbsp; 1548984 2006-05-30 13:23:22 nn_NO.dic<br>-rw-r--r-- root/root&nbsp;&nbsp;&nbsp;&nbsp;136676 2006-05-30 17:15:07 th_nb_NO_v2.dat
<br>-rw-r--r-- root/root&nbsp;&nbsp;&nbsp;&nbsp; 44209 2006-05-30 17:15:07 th_nb_NO_v2.idx<br><br>(Norwegian dictionaries consist of both nb and nn, as stupid little Norway of<br>4 million inhabitants has two&nbsp;&nbsp;(actually three) different official
<br>languages - our tax dollars at work...)<br>_______________________________________________<br>Slackbuilds-users mailing list<br><a href="mailto:Slackbuilds-users@slackbuilds.org">Slackbuilds-users@slackbuilds.org</a><br>
<a href="http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users">http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users</a><br></blockquote></div><br><br clear="all"><br>-- <br>Martin Lefebvre<br>eMail: 
<a href="mailto:dadexter@gmail.com">dadexter@gmail.com</a><br><br>WWW: <a href="http://sigterm.homeunix.com">http://sigterm.homeunix.com</a><br>Registered Linux #349269<br><br>&quot;Me? I'm dishonest, and a dishonest man you can always trust to
<br>be dishonest. Honestly. It's the honest ones you want to watch<br>out for, because you can never predict when they're going to do<br>something incredibly... stupid.&quot;