Missing symbolic links for pt-br dictionary in /usr/share/myspell/dicts

Bug #760724 reported by Vítor E. Silva Souza
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
myspell-pt-br (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: myspell-pt-br

$ lsb_release -rd
Description: Ubuntu Natty (development branch)
Release: 11.04

$ apt-cache policy myspell-pt-br
myspell-pt-br:
  Installed: 20101030-1
  Candidate: 20101030-1
  Version table:
 *** 20101030-1 0
        500 http://it.archive.ubuntu.com/ubuntu/ natty/main i386 Packages
        100 /var/lib/dpkg/status

en-us and it-it symbolic links exist in /usr/share/myspell/dicts. As a visible consequence, you can spell check in these languages in Firefox, for instance. Although myspell-pt-br is installed, there's no link for it in that same folder, so Firefox doesn't offer Brazilian Portuguese as a language for spell checking.

I added them as root pointing to the hunspell dictionaries:

$ ls -l /usr/share/myspell/dicts/pt*
lrwxrwxrwx 1 root root 24 2011-04-14 16:04 /usr/share/myspell/dicts/pt_BR.aff -> ../../hunspell/pt_BR.aff
lrwxrwxrwx 1 root root 24 2011-04-14 16:04 /usr/share/myspell/dicts/pt_BR.dic -> ../../hunspell/pt_BR.dic

When I restarted Firefox, Brazilian Portuguese was now an option for spell checking.

On a side note, I wanted to as you: why are there two links for each language in /usr/share/myspell/dicts/? E.g. one is en-US (with dash) and the other is en_US (with underscore):

$ ls -l /usr/share/myspell/dicts/en*.aff
lrwxrwxrwx 1 root root 24 2011-04-13 13:41 /usr/share/myspell/dicts/en_US.aff -> ../../hunspell/en_US.aff
lrwxrwxrwx 1 root root 24 2011-04-13 13:41 /usr/share/myspell/dicts/en-US.aff -> ../../hunspell/en_US.aff

That makes Firefox recognize two different U.S. English dictionaries. Are both symlinks really necessary?

Thanks,
- Vítor

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: myspell-pt-br 20101030-1
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic-pae 2.6.38.2
Uname: Linux 2.6.38-8-generic-pae i686
Architecture: i386
Date: Thu Apr 14 16:04:50 2011
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Beta i386 (20110330)
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_US:en
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: myspell-pt-br
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Vítor E. Silva Souza (vitorsouza) wrote :
Revision history for this message
Hélio Nunes (dedalu-dedalu) wrote :

I confirm: without the symbolic links Firefox does not show Portuguese dictionaries.

Changed in myspell-pt-br (Ubuntu):
status: New → Confirmed
Revision history for this message
Vítor E. Silva Souza (vitorsouza) wrote :

Recently installed Ubuntu 11.10. The links for pt-BR dictionary are still not there, but Firefox does show Portuguese dictionaries now. Is it checking directly with hunspell now? Anyways, don't know if this makes the bug invalid...

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package myspell-pt-br - 20131030-3

---------------
myspell-pt-br (20131030-3) unstable; urgency=low

  * Rebuild against sid dictionaries-common-dev 1.23.2 to properly clean
    dirs.
  * debian/rules: No longer ship symlinks to /var/lib/aspell.
  * Close old (LP: #760724), myspell symlinks are obsolete.
  * Close old (LP: #108899), BrOffice dictionary is used since 2007.04.11.

 -- Agustin Martin Domingo <email address hidden> Thu, 24 Apr 2014 11:15:07 +0200

Changed in myspell-pt-br (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.