Bug 4437 - Please move in Mozilla applications from myspell to hunspell
Summary: Please move in Mozilla applications from myspell to hunspell
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: D Morgan
QA Contact:
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: 1994
  Show dependency treegraph
 
Reported: 2012-02-08 07:55 CET by Kamil Rytarowski
Modified: 2012-02-25 18:20 CET (History)
3 users (show)

See Also:
Source RPM: firefox, thunderbird
CVE:
Status comment:


Attachments

Description Kamil Rytarowski 2012-02-08 07:55:41 CET
Description of problem:
Myspell is obsolete, please move to hunspell. Hunspell dicts are in /usr/share/hunspell and they are compatible with Myspell.

Possible (not tested) patch:

Index: SPECS/firefox.spec
===================================================================
--- SPECS/firefox.spec	(wersja 206356)
+++ SPECS/firefox.spec	(kopia robocza)
@@ -34,7 +34,7 @@
 %if 0%{?prel}
 %define release %mkrel -c %prel 1
 %else
-%define release %mkrel 2
+%define release %mkrel 3
 %endif
 
 Summary:	Next generation web browser
@@ -125,7 +125,7 @@
 Requires:       xdg-utils
 # fixes bug #42096
 Requires:	mailcap
-Suggests:	myspell-en_US
+Suggests:	hunspell-en
 Suggests:	%{_lib}canberra0
 Suggests:	%{_lib}cups2
 Obsoletes:	firefox-ext-weave-sync
@@ -334,7 +334,7 @@
 
 # use the system myspell dictionaries
 rm -fr %{buildroot}%{mozillalibdir}/dictionaries
-ln -s %{_datadir}/dict/mozilla %{buildroot}%{mozillalibdir}/dictionaries
+ln -s %{_datadir}/hunspell %{buildroot}%{mozillalibdir}/dictionaries
 
 # (lm) touch and %ghost bookmarks.html to a proper uninstall
 touch %{buildroot}%{mozillalibdir}/defaults/profile/bookmarks.htm
Florian Hubold 2012-02-08 15:09:01 CET

Keywords: (none) => PATCH
CC: (none) => doktor5000
Assignee: bugsquad => dmorganec

Manuel Hiebel 2012-02-09 15:30:59 CET

CC: (none) => fundawang

Kamil Rytarowski 2012-02-22 01:11:41 CET

Blocks: (none) => 1994

Comment 1 Thierry Vignaud 2012-02-22 08:18:53 CET
You could have done it yourself I think

Status: NEW => RESOLVED
CC: (none) => thierry.vignaud
Resolution: (none) => FIXED

Comment 2 Kamil Rytarowski 2012-02-25 18:20:01 CET
Thanks! I will have more courage with key package next time :)

Note You need to log in before you can comment on or make changes to this bug.