Bug 34910 - duplicated dict-en in langpacks
Summary: duplicated dict-en in langpacks
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Installation (show other bugs)
Version:
(earliest affected)
3.3.1 release
Hardware: All All
: medium trivial
Assignee: Petr Mladek
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: mab3.4
  Show dependency treegraph
 
Reported: 2011-03-02 03:28 UTC by sasha.libreoffice
Modified: 2011-05-03 02:49 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sasha.libreoffice 2011-03-02 03:28:24 UTC
On site http://www.libreoffice.org/download presents this files:
 LibO_3.3.1_Linux_x86-64_langpack-deb_be-BY.tar.gz
 LibO_3.3.1_Linux_x86-64_langpack-rpm_be-BY.tar.gz
 LibO_3.3.1_Linux_x86_langpack-deb_be-BY.tar.gz
 LibO_3.3.1_Linux_x86_langpack-rpm_be-BY.tar.gz
all they contain instal file begining with libreoffice3-dict-en-3.3.1-8
it is english spell dictionary, that already installed from main LibreOffice instal. I think it is unnecesary to place here this file, it chould be deleted.
Comment 1 Cédric Bosdonnat 2011-03-02 07:19:51 UTC
Fridrich, any idea here?
Comment 2 Petr Mladek 2011-04-26 07:06:07 UTC
It seems that dict-en is budled with every localization that does not have its own dictionary => using more generic summary.

Yes, it need not be duplicated this way. I do not see any solution on the first look. It will need more love.
Comment 3 sasha.libreoffice 2011-04-27 02:03:00 UTC
Exists spell dictionary for belorussian. Site spell-be.sf.net
But its License: Creative Commons Attribution-ShareAlike
It works well. But I do not know if this compatible with LGPLv3 or not.
If compatible, then it can be included into LibreOffice.
Comment 4 Petr Mladek 2011-04-27 02:58:36 UTC
(In reply to comment #3)
> Exists spell dictionary for belorussian. Site spell-be.sf.net
> But its License: Creative Commons Attribution-ShareAlike
> It works well. But I do not know if this compatible with LGPLv3 or not.
> If compatible, then it can be included into LibreOffice.

I am not 100% sure but I think that it could be included. Dictionaries do not include executable code, so there are less strict rules for the compatibility of licenses.

Anyway, please open separate bug for adding the dictionary and mark it as enhancement. Let's leave this bug for the generic problem that affects all dictionaries.
Comment 5 sasha.libreoffice 2011-04-27 07:46:19 UTC
Done. Bug 36641
Comment 6 Andras Timar 2011-04-29 05:35:38 UTC
I fixed this by modifying the control file:
http://opengrok.libreoffice.org/xref/components/setup_native/source/packinfo/spellchecker_selection.txt

Dictionaries do not belong to langpacks. As Tor Lillqvist well pointed out on libreoffice dev mailing list a few months ago, it is a politically sensitive area. So all dictionaries should be shipped with main install pack. Langpacks should contain UI localizations only.

My commit:
http://cgit.freedesktop.org/libreoffice/components/commit/?h=libreoffice-3-4&id=f6b3c7c837eec9f79e76c8e8587d9f635ff82203
Comment 7 Petr Mladek 2011-05-03 02:47:45 UTC
(In reply to comment #6)
> Dictionaries do not belong to langpacks. As Tor Lillqvist well pointed out on
> libreoffice dev mailing list a few months ago, it is a politically sensitive
> area. So all dictionaries should be shipped with main install pack. Langpacks
> should contain UI localizations only.

Hmm, I am not sure if we really want this. We have about 100 myspell/hunspell dictionaries available for openSUSE. The size of all dictionaries is about 80MB. It would be great to have them available for LO as well. I think that we do not want to bump the main installer with 80MBs, though.
Comment 8 Petr Mladek 2011-05-03 02:49:37 UTC
On the other hand, the windows multilang installer included all the dictionaries even before this change.