[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#583795: myspell-en-za: using en_GB.aff for en_ZA breaks en_ZA spellchecking



Package: myspell-en-za
Version: 1:3.2.0-4
Severity: grave
Tags: patch
Justification: renders package unusable

I have no idea if it worked at the time, but the fix for Bug #536643
broke the new version of en_ZA included in OOO320_m7, which was a
different upstream fix for the same bug:
http://www.openoffice.org/issues/show_bug.cgi?id=100281

You can see some more details in this Ubuntu LP Bug:
https://bugs.edge.launchpad.net/ubuntu/+source/openoffice.org-dictionaries/+bug/467278

Here are some test-cases for the South African spellchecker. All these
words should be correct:

| have having dad dad's biltong braai bliksem

Additionally, Openoffice spews out 68k lines of the following type of
error when attempting to spellcheck with the broken dictionary:

| error: line 15: bad flag alias index: 0
| error: line 15: bad flag vector alias

So, essentially, myspell-en-za 1:3.2.0-4 is completely unusable for
South African users.

Attached is a patch that reverts the changes in 1:3.1.0-4 and fixes this
dictionary for me.

SR

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-3-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_ZA.UTF-8, LC_CTYPE=en_ZA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages myspell-en-za depends on:
ii  dictionaries-common [openoffi 1.5.5      Common utilities for spelling dict
ii  myspell-en-gb                 1:3.2.0-4  English_british dictionary for mys

myspell-en-za recommends no packages.

myspell-en-za suggests no packages.

-- no debconf information

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  H: +27 21 465 6908 C: +27 72 419 8559  UCT: x3127
diff -u openoffice.org-dictionaries-3.2.0~rc2/debian/myspell-en-za.links openoffice.org-dictionaries-3.2.0~rc2/debian/myspell-en-za.links
--- openoffice.org-dictionaries-3.2.0~rc2/debian/myspell-en-za.links
+++ openoffice.org-dictionaries-3.2.0~rc2/debian/myspell-en-za.links
@@ -1,4 +1,3 @@
-/usr/share/hunspell/en_GB.aff /usr/share/hunspell/en_ZA.aff
 /usr/share/hunspell/en_ZA.aff /usr/share/myspell/dicts/en_ZA.aff
 /usr/share/hunspell/en_ZA.dic /usr/share/myspell/dicts/en_ZA.dic
 
diff -u openoffice.org-dictionaries-3.2.0~rc2/debian/changelog openoffice.org-dictionaries-3.2.0~rc2/debian/changelog
--- openoffice.org-dictionaries-3.2.0~rc2/debian/changelog
+++ openoffice.org-dictionaries-3.2.0~rc2/debian/changelog
@@ -1,3 +1,10 @@
+openoffice.org-dictionaries (1:3.2.0~rc2-4.1) unstable; urgency=low
+
+  * Revert changes in 1:3.1.0-4 (Closes #FOO):
+    Make myspell-en-za depend on -en-gb , use en_GB.aff for en_ZA.aff
+
+ -- Stefano Rivera <stefano@rivera.za.net>  Sun, 30 May 2010 18:59:32 +0200
+
 openoffice.org-dictionaries (1:3.2.0~rc2-4) unstable; urgency=low
 
   * fix compat symlinks for openoffice.org-thesaurus-fr
diff -u openoffice.org-dictionaries-3.2.0~rc2/debian/myspell-en-za.install openoffice.org-dictionaries-3.2.0~rc2/debian/myspell-en-za.install
--- openoffice.org-dictionaries-3.2.0~rc2/debian/myspell-en-za.install
+++ openoffice.org-dictionaries-3.2.0~rc2/debian/myspell-en-za.install
@@ -1 +1,2 @@
+usr/share/hunspell/en_ZA.aff
 usr/share/hunspell/en_ZA.dic
diff -u openoffice.org-dictionaries-3.2.0~rc2/debian/control openoffice.org-dictionaries-3.2.0~rc2/debian/control
--- openoffice.org-dictionaries-3.2.0~rc2/debian/control
+++ openoffice.org-dictionaries-3.2.0~rc2/debian/control
@@ -139,7 +139,7 @@
 Package: myspell-en-za
 Architecture: all
 Conflicts: openoffice.org (<= 1.0.3-2)
-Depends: dictionaries-common (>= 0.10) | openoffice.org-updatedicts, myspell-en-gb
+Depends: dictionaries-common (>= 0.10) | openoffice.org-updatedicts
 Provides: myspell-dictionary, myspell-dictionary-en
 Description: English_southafrican dictionary for myspell
  This is the English_southafrican dictionary for use with the myspell

Attachment: signature.asc
Description: Digital signature


Reply to: