Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 367561

Summary: www-client/firefox-4.0.1-r1: spell check dictionary list shows too many dictionaries
Product: Gentoo Linux Reporter: Nikos Chantziaras <realnc>
Component: Current packagesAssignee: Mozilla Gentoo Team <mozilla>
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---

Description Nikos Chantziaras 2011-05-16 17:53:34 UTC
firefox and xulrunner got updated today to 4.0.1-r1 and 2.0.1-r1 respectively. Now the spell checker lists too many dictionaries.  I only used three: English, German and Greek. Now it lists 12 (!). Some are listed twice. If I remove the add-ons that provide the three original dicts, it still lists too many (9), containing every possible dialect of English. This is very annoying for people who switch between dictionaries very often due to writing multilingual texts (Greek/German with lots of English terms in my case).

There doesn't seem to be a USE flag that controls this either. What is needed is to either get rid of all the English dialects and leave only one (English US in my case), or tell Firefox to only use my add-ons for spell checking.

(Thunderbird has the same problem, but I guess that should be a different bug report?)

Reproducible: Always

Portage (default/linux/amd64/10.0/desktop/kde, gcc-4.5.2, glibc-2.12.2-r0, 2.6.38-gentoo-r5-ck3 x86_64)
                        System Settings
System uname: Linux-2.6.38-gentoo-r5-ck3-x86_64-Intel-R-_Core-TM-2_CPU_6600_@_2.40GHz-with-gentoo-2.0.2
Timestamp of tree: Mon, 16 May 2011 16:15:01 +0000
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.6.6-r2
dev-util/cmake:           2.8.4-r1
sys-apps/baselayout:      2.0.2
sys-apps/openrc:          0.8.2-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:       2.21
sys-devel/gcc:            4.5.2, 4.6.0
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82
sys-kernel/linux-headers: 2.6.38 (virtual/os-headers)
sys-libs/glibc:           2.12.2
ACCEPT_KEYWORDS="amd64 ~amd64"
CFLAGS="-pipe -mtune=native -march=native -O2"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-pipe -mtune=native -march=native -O2"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages metadata-transfer news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
LDFLAGS="-Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common"
LINGUAS="en en_US"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTDIR_OVERLAY="/var/lib/layman/nx /var/lib/layman/vmware /var/lib/layman/pro-audio /var/lib/layman/interactive-fiction /var/lib/layman/kde /usr/local/portage"
USE="X a52 aac acpi alsa amd64 audiofile bash-completion branding bzip2 cairo cdr cli consolekit cracklib crypt cxx dbus dri dts dvd dvdr emboss encode exif fam fbcondecor flac gallium gdbm gdu gif glitz gpm iconv imlib jpeg kde lcdfilter lcms libsamplerate lm_sensors mad mmx mmxext mng modules mp3 mp4 mpeg mudflap multilib ncurses nptl nptlonly offensive ogg opengl openmp pango pcre pdf plasma png policykit ppds pppd qt qt4 readline session spell sse sse2 sse3 sse4 ssl ssse3 startup-notification svg sysfs tcpd tiff truetype udev unicode usb vorbis webkit x264 xcb xcomposite xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DRACUT_MODULES="plymouth" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" SANE_BACKENDS="nothing" USERLAND="GNU" VIDEO_CARDS="radeon r600" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 

                        Package Settings

www-client/firefox-4.0.1-r1 was built with the following:
USE="alsa (consolekit) dbus ipc (multilib) (policykit) startup-notification webm -bindist -custom-optimization -debug -libnotify -system-sqlite -wifi" LINGUAS="en -af -ak -ar -ast -be -bg -bn -bn_BD -bn_IN -br -bs -ca -cs -cy -da -de -el -en_ZA -eo -es -es_ES -et -eu -fa -fi -fr -fy -fy_NL -ga -ga_IE -gd -gl -gu -gu_IN -he -hi -hi_IN -hr -hu -hy -hy_AM -id -is -it -ja -kk -kn -ko -ku -lg -lt -lv -mai -mk -ml -mr -nb -nb_NO -nl -nn -nn_NO -nso -or -pa -pa_IN -pl -pt -pt_PT -rm -ro -ru -si -sk -sl -son -sq -sr -sv -sv_SE -ta -ta_LK -te -th -tr -uk -vi -zu"
CFLAGS="-pipe -mtune=native -march=native -Wno-return-type -w"
CXXFLAGS="-pipe -mtune=native -march=native -Wno-return-type -w"
Comment 1 Jory A. Pratt gentoo-dev 2011-05-16 19:19:51 UTC
myspell-en provides most of the en-* dictionaries for english, as gentoo always uses systems libs we have made mozilla products use system dictionaries. We are currently working with upstream to include the updated patch for hunspell dictionary detection. Just for the record we have used myspell dictionaries from the system since early firefox-3.0.x
Comment 2 Nikos Chantziaras 2011-05-16 19:26:05 UTC
This bug isn't invalid, because I can't get rid of the dictionaries.
Comment 3 Nikos Chantziaras 2011-05-17 23:26:19 UTC
Since there was no reply, I guess I'll open it again myself. Sorry for the noise.
Comment 4 Jory A. Pratt gentoo-dev 2011-05-18 02:34:30 UTC
(In reply to comment #2)
> This bug isn't invalid, because I can't get rid of the dictionaries.

If your not happy with the myspell dictionaries you can speak to that herd about it, or you are  free to remove the system hunspell detection in your own overlay. I can not accomidate everyone.If you use openoffice or libreoffice you would experience the same issue. This bug is very invalid and wont be fixed from the mozilla side of things.
Comment 5 Nikos Chantziaras 2011-05-18 03:34:37 UTC
So you're saying there is no provision in the mozilla build system that allows one to disable hunspell support?  (And therefore allow a USE flag that controls it.)
Comment 6 Jory A. Pratt gentoo-dev 2011-05-18 12:15:24 UTC
(In reply to comment #5)
> So you're saying there is no provision in the mozilla build system that allows
> one to disable hunspell support?  (And therefore allow a USE flag that controls
> it.)

Your always welcome to use firefox-bin and thunderbird-bin

*** This bug has been marked as a duplicate of bug 366249 ***