Void-packages: Libreoffice installs all dictionaries by default

Created on 15 Feb 2019  路  8Comments  路  Source: void-linux/void-packages

System

  • xuname:
    Void 4.19.23_1 x86_64 GenuineIntel uptodate rFFF

  • package:
    LibreOffice Version: 6.1.4.2

Expected behavior

Only main Dictionary/ies to be installed

Actual behavior

All dictionaries from Afrikaans to zulu are being installed

Steps to reproduce the behavior

doas xbps-install -S libreoffice
open libreoffice
tools -> extension manager

enhancement

Most helpful comment

@Johnnynator I don't care as long as I can have some dictionary for German ;-P
If you think disabling the internal dictionaries is okay, just do it.

All 8 comments

These are only the dictionaries and not the full language package, but I think it probably makes sense to split them.

It should only have https://github.com/void-linux/void-packages/blob/ed0a601b653907335fe5f29459ee848512aac400/srcpkgs/libreoffice/template#L39-L46 and not every available language. Can you confirm this?

# Add the previously installed default languages as well
depends+=" libreoffice-i18n-en-US>=${version}_${revision}"
depends+=" libreoffice-i18n-de>=${version}_${revision}"
depends+=" libreoffice-i18n-es>=${version}_${revision}"
depends+=" libreoffice-i18n-fr>=${version}_${revision}"
depends+=" libreoffice-i18n-it>=${version}_${revision}"
depends+=" libreoffice-i18n-pl>=${version}_${revision}"
depends+=" libreoffice-i18n-pt>=${version}_${revision}"

I even think the user should be able to define these to their specific needs

@ralphee You can, libreoffice is just the meta package that pulls in everything. If someone only needs a subset of that, then they can install the needed packages manually.

@ralphee You can, libreoffice is just the meta package that pulls in everything. If someone only needs a subset of that, then they can install the needed packages manually.

even with subset you get the A-Z dictionaries....very painful if you actually use libreoffice and spellcheck

& I appreciate that those 7 languages are very common / popular at the same time to be fair....how many people speak 7 languages....

even with subset you get the A-Z dictionaries....very painful if you actually use libreoffice and spellcheck

As I said in the first comment, I will look into splitting the dictionary files. The default languages will stay as they are for now.

@pullmoll What do you say, Imo we should look into getting some more hunspell dictionaries into the repo and disable the internal dict of LibreOffice.

@Johnnynator I don't care as long as I can have some dictionary for German ;-P
If you think disabling the internal dictionaries is okay, just do it.

Was this page helpful?
0 / 5 - 0 ratings