NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
18.17k stars 14.19k forks source link

libreoffice doesn't come with the en-us dictionary #26234

Closed magnetophon closed 1 year ago

magnetophon commented 7 years ago

Issue description

When installing LibreOffice, one would expect there to be a default dictionary to handle spell-checking. There isn't.

The pkgs has "# TODO: dictionaries", put there by @domenkozar, and "--without-myspell-dicts", by @viric

Technical details

brodul commented 6 years ago

This is super annoying, I had to write a report in a hurry. There is a quick workaround by installing an extension.

https://extensions.libreoffice.org/extensions/english-dictionaries

JohnAZoidberg commented 4 years ago

This still seems to be the case :(

mmilata commented 4 years ago

80353 aims to make spellcheck in LibreOffice work with hunspell dictionaries installed with Nix. Testing appreciated.

magnetophon commented 4 years ago

How do I test? I tried running nix-review pr 80353 but the resulting binary didn't have working spellcheck as far as I could tell.

mmilata commented 4 years ago

@magnetophon You also need to install hunspellDicts.xx_YY packages for languages xx_YY you want to spellcheck.

magnetophon commented 4 years ago

Idk what's going on: the first time I ran the above command it ran quickly and now it's been building for 18 hours.

mmilata commented 4 years ago

My guess is that LibreOffice has been updated in master (#80375) but Hydra hasn't built it yet (because it's busy with 20.03?) so you're building it from source.

magnetophon commented 4 years ago

Ah, I didn't know nix-review pr built from master. thanks.

mmilata commented 4 years ago

I'm not sure either, I suppose it tries to merge with master before building? Either way, if you have local copy of the nixpkgs repository you can build the package by checking out the branch and then running nix-build . -A libreoffice in the repo directory, hopefully the (older version of) main package will download from Hydra and the shell wrapper will be placed in result.

stale[bot] commented 4 years ago

Hello, I'm a bot and I thank you in the name of the community for opening this issue.

To help our human contributors focus on the most-relevant reports, I check up on old issues to see if they're still relevant. This issue has had no activity for 180 days, and so I marked it as stale, but you can rest assured it will never be closed by a non-human.

The community would appreciate your effort in checking if the issue is still valid. If it isn't, please close it.

If the issue persists, and you'd like to remove the stale label, you simply need to leave a comment. Your comment can be as simple as "still important to me". If you'd like it to get more attention, you can ask for help by searching for maintainers and people that previously touched related code and @ mention them in a comment. You can use Git blame or GitHub's web interface on the relevant files to find them.

Lastly, you can always ask for help at our Discourse Forum or at #nixos' IRC channel.

Artturin commented 1 year ago

Seems fixed