Comment 9 for bug 1510198

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote : Re: Rebase/Reimplement Ubuntu changes upon Debian (possibly upstream them)

On 2016-02-10 16:34, Mattia Rizzolo wrote:
> Well, lo-dicts builds a binary hunspell-sv containing both dictionaries.

Aha, great, missed that. Then all is well, I think.

> the source hunspell-sv instead builds 2 binaries hunspell-sv-se and
> myspell-sv-se. They probably conflicts, but one doesn't take the other
> over automatically, no.

I decided that some testing is a good thing as a base for decision, so I created a PPA:

https://launchpad.net/~gunnarhj/+archive/ubuntu/lo-dicts

It includes libreoffice-dictionaries from Debian sid, with a few adjustments in debian/control.

I have identified two other source packages which need to be changed, so the PPA also includes modified builds of:

* openoffice.org-hyphenation
* language-selector

There are three kinds of debian/control adjustments in lo-dicts:

1. The version number of lo-dicts in Ubuntu is 1:4.2.1-0ubuntu3, so I
replaced the occurrences of "(<= 1:3.3.0-4)" in Breaks/Replaces with
"(<< 1:5)".

2. Added "Replaces" fields to new hunspell-* packages which conflict
with other packages. This gives them precedence over conflicting
packages, and at least in Ubuntu I think that feels safer,
considering that language support packages are typically pulled by
language-selector in Ubuntu, and not so often picked manually by the
users.

3. Added "Replaces"/"Conflicts" fields to new hyphen-* packages which
replace hyph_* dictionaries in openoffice.org-hyphenation 0.8.

After having enabled the PPA, I could smoothly upgrade with Synaptic and add new packages by opening gnome-language-selector.

@Mattia: Could you please review the changes I made to debian/control, and consider them for inclusion in the Debian repository.

With those changes, I think that a sync is not only possible, but also the preferred way to do it.