[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#908146: marked as done (libreoffice-dictionaries: Dealing with Breaks/Replaces against ancient dicts in other myspell/hunspell packages.)



Your message dated Fri, 07 Sep 2018 13:19:31 +0000
with message-id <E1fyGfb-000J3I-Am@fasolo.debian.org>
and subject line Bug#908146: fixed in libreoffice-dictionaries 1:6.1.0~rc2-3
has caused the Debian Bug report #908146,
regarding libreoffice-dictionaries: Dealing with Breaks/Replaces against ancient dicts in other myspell/hunspell packages.
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
908146: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=908146
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: libreoffice-dictionaries
Version: 1:6.1.0~rc2-2
Severity: wishlist

Dear Maintainers, Rene and Mattia,

I have recently received some bug reports about making transitional myspell
packages to hunspell packages contained in lo-dicts. Some of them refer to
myspell packages containing old versions of the same dict shipped with
lo-dicts, so version in lo-dicts should really be used.

 #903464 myspell-pt-br: Consider deprecating in favor of hunspell-pt-br
 #898756 myspell-pt-pt: Convert into dummy transitional package depending on hunspell-pt-pt
 #898748 myspell-ru: Convert into dummy transitional package depending on hunspell-ru

At the same time I found one package I sponsored a while ago, having a far
more recent version in lo-dicts (I had no further notice of the maintainer
since I sponsored that package). 

I think this should be dealt previously from inside lo-dicts adding
appropriate Breaks/Replaces, and old packages made transitional afterwards.

Summary follows

lo-dicts                             other
===========================================================================
hunspell-pt-br (1:6.1.0~rc2-2)       myspell-pt-br (20131030-10)
hunspell-pt-pt (1:6.1.0~rc2-2)       myspell-pt-pt (20091013-12)
hunspell-ru    (1:6.1.0~rc2-2)       myspell-ru (0.99g5-21)
hunspell-sv    (1:6.1.0~rc2-2)       hunspell-sv-se (1.51-1)

hunspell-pt-br, hunspell-pt-pt and hunspell-sv are more recent versions of
the dicts, in some cases using hunspell specific extensions. hunspell-ru is
the same dict as myspell-ru, but enhanced with a TRY line, so we can
consider it a better version.

A proposed patch is added.

Best regards,

-- 
Agustin
>From 1c44230c413caa777f310ecd14639b613389e9d5 Mon Sep 17 00:00:00 2001
From: Agustin Martin Domingo <agmartin@debian.org>
Date: Thu, 6 Sep 2018 18:00:58 +0200
Subject: [PATCH] Add Breaks/Replaces for some dictionaries with outdated
 versions in other packages.

---
 debian/control   | 11 ++++++++---
 debian/helper.py |  7 ++++---
 2 files changed, 12 insertions(+), 6 deletions(-)

diff --git a/debian/control b/debian/control
index 998d367..5f7b64a 100644
--- a/debian/control
+++ b/debian/control
@@ -1039,7 +1039,8 @@ Multi-Arch: foreign
 Depends: dictionaries-common, ${misc:Depends}, ${hunspell:Depends}
 Suggests: hunspell, libreoffice-writer
 Provides: hunspell-dictionary, hunspell-dictionary-pt-br
-Conflicts: myspell-pt-br
+Breaks: myspell-pt-br (<= 20131030-10)
+Replaces: myspell-pt-br (<= 20131030-10)
 Description: Brazilian Portuguese dictionary for hunspell
  This is the Brazilian Portuguese dictionary for use with the hunspell
  spellchecker.
@@ -1068,7 +1069,8 @@ Multi-Arch: foreign
 Depends: dictionaries-common, ${misc:Depends}, ${hunspell:Depends}
 Suggests: hunspell, libreoffice-writer
 Provides: hunspell-dictionary, hunspell-dictionary-pt-pt
-Conflicts: myspell-pt-pt
+Breaks: myspell-pt-pt (<= 20091013-12)
+Replaces: myspell-pt-pt (<= 20091013-12)
 Description: Portuguese dictionary for hunspell
  This is the Portuguese dictionary for use with the hunspell
  spellchecker.
@@ -1137,6 +1139,8 @@ Multi-Arch: foreign
 Depends: dictionaries-common, ${misc:Depends}, ${hunspell:Depends}
 Suggests: hunspell, libreoffice-writer
 Provides: hunspell-dictionary, hunspell-dictionary-ru
+Breaks: myspell-ru (<= 0.99g5-21)
+Replaces: myspell-ru (<= 0.99g5-21)
 Description: Russian dictionary for hunspell
  This is the Russian dictionary for use with the hunspell
  spellchecker.
@@ -1304,7 +1308,8 @@ Multi-Arch: foreign
 Depends: dictionaries-common, ${misc:Depends}, ${hunspell:Depends}
 Suggests: hunspell, libreoffice-writer
 Provides: hunspell-dictionary, hunspell-dictionary-sv
-Conflicts: hunspell-sv-se
+Breaks: hunspell-sv-se (<= 1.51-1)
+Replaces: hunspell-sv-se (<= 1.51-1)
 Description: Swedish dictionary for hunspell
  This is the Swedish dictionary for use with the hunspell
  spellchecker.
diff --git a/debian/helper.py b/debian/helper.py
index eebd467..8eb928a 100755
--- a/debian/helper.py
+++ b/debian/helper.py
@@ -73,6 +73,10 @@ breaks_replaces = {
  "hunspell-kmr": ('myspell-ku', '<<', '1:5.1.3-2'),
  "hunspell-lt": ('myspell-lt', '<<', '1.2.1-6'),
  "hunspell-pl": ('myspell-pl', '<<', '1:6.1.0~beta1-2'),
+ "hunspell-pt-br": ('myspell-pt-br', '<=', '20131030-10'),
+ "hunspell-pt-pt": ('myspell-pt-pt', '<=', '20091013-12'),
+ "hunspell-ru": ("myspell-ru", '<=', "0.99g5-21"),
+ "hunspell-sv": ("hunspell-sv-se",   '<=', "1.51-1"),
  "hunspell-sw": ("myspell-sw", '<<', "1:5.0.1+dfsg-1"),
  "hunspell-th": ("myspell-th", '<<', "1:5.0.1+dfsg-1"),
  "hunspell-sl": ("myspell-sl", '<=', "1.0-5"),
@@ -91,10 +95,7 @@ conflicts = {
  "hunspell-hu": "myspell-hu",
  "hunspell-nl": "myspell-nl",
  "hunspell-no": "myspell-nb, myspell-nn",
- "hunspell-pt-br": "myspell-pt-br",
- "hunspell-pt-pt": "myspell-pt-pt",
  "hunspell-sk": "myspell-sk",
- "hunspell-sv": "hunspell-sv-se",
  "hunspell-uk": "myspell-uk",
  "hyphen-et": "myspell-et",
  "hyphen-no": "myspell-nb, myspell-nn",
-- 
2.18.0


--- End Message ---
--- Begin Message ---
Source: libreoffice-dictionaries
Source-Version: 1:6.1.0~rc2-3

We believe that the bug you reported is fixed in the latest version of
libreoffice-dictionaries, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 908146@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Mattia Rizzolo <mattia@debian.org> (supplier of updated libreoffice-dictionaries package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Fri, 07 Sep 2018 14:38:25 +0200
Source: libreoffice-dictionaries
Binary: libreoffice-lightproof-pt-br myspell-hr myspell-pl myspell-sv-se hunspell-sv-se hyphen-af hunspell-af mythes-ar hyphen-bg hunspell-bg mythes-bg hunspell-bn hunspell-bs hyphen-ca mythes-ca hyphen-cs hunspell-cs mythes-cs hyphen-da hunspell-da mythes-da hunspell-de-at-frami hunspell-de-ch-frami hunspell-de-de-frami hyphen-de hyphen-el hunspell-el hunspell-en-za mythes-en-us hyphen-en-gb hunspell-en-gb hyphen-es hunspell-es mythes-es hyphen-fr mythes-fr hunspell-gd hyphen-gl hunspell-gl mythes-gl hunspell-gu hunspell-gug mythes-gug hunspell-he hunspell-hi hyphen-hr hunspell-hr hyphen-hu hunspell-hu mythes-hu hyphen-id hunspell-id mythes-id hyphen-is hunspell-is mythes-is hyphen-it hunspell-it mythes-it hunspell-kmr hunspell-lo hyphen-lt hunspell-lt mythes-lv hunspell-ne mythes-ne hyphen-nl hyphen-no hunspell-no mythes-no hunspell-oc hunspell-pl hyphen-pt-br hunspell-pt-br hyphen-pt-pt hunspell-pt-pt mythes-pt-pt hyphen-ro hunspell-ro mythes-ro hunspell-ru mythes-ru
 hunspell-si hyphen-sk hunspell-sk mythes-sk hyphen-sl hunspell-sl mythes-sl hyphen-sr hunspell-sr hyphen-sv hunspell-sv mythes-sv hunspell-sw hunspell-te hunspell-th hyphen-uk hunspell-uk mythes-uk hunspell-vi
 hyphen-zu
Architecture: source
Version: 1:6.1.0~rc2-3
Distribution: unstable
Urgency: medium
Maintainer: Debian LibreOffice Maintainers <debian-openoffice@lists.debian.org>
Changed-By: Mattia Rizzolo <mattia@debian.org>
Description:
 hunspell-af - Afrikaans dictionary for hunspell
 hunspell-bg - Bulgarian dictionary for hunspell
 hunspell-bn - Bengali dictionary for hunspell
 hunspell-bs - Bosnian dictionary for hunspell
 hunspell-cs - Czech dictionary for hunspell
 hunspell-da - Danish dictionary for hunspell
 hunspell-de-at-frami - German (Austria) dictionary for hunspell ("frami" version)
 hunspell-de-ch-frami - German (Switzerland) dictionary for hunspell ("frami" version)
 hunspell-de-de-frami - German dictionary for hunspell ("frami" version)
 hunspell-el - Modern Greek dictionary for hunspell
 hunspell-en-gb - English (GB) dictionary for hunspell
 hunspell-en-za - English (South Africa) dictionary for hunspell
 hunspell-es - Spanish dictionary for hunspell
 hunspell-gd - Scottish Gaelic dictionary for hunspell
 hunspell-gl - Galician dictionary for hunspell
 hunspell-gu - Gujarati dictionary for hunspell
 hunspell-gug - Guarani dictionary for hunspell
 hunspell-he - Hebrew dictionary for hunspell
 hunspell-hi - Hindi dictionary for hunspell
 hunspell-hr - Croatian dictionary for hunspell
 hunspell-hu - Hungarian dictionary for hunspell
 hunspell-id - Indonesian dictionary for hunspell
 hunspell-is - Icelandic dictionary for hunspell
 hunspell-it - Italian dictionary for hunspell
 hunspell-kmr - Kurmanji dictionary for hunspell
 hunspell-lo - Laotian dictionary for hunspell
 hunspell-lt - Lithuanian dictionary for hunspell
 hunspell-ne - Nepalese dictionary for hunspell
 hunspell-no - Norwegian dictionary for hunspell
 hunspell-oc - Occitan dictionary for hunspell
 hunspell-pl - Polish dictionary for hunspell
 hunspell-pt-br - Brazilian Portuguese dictionary for hunspell
 hunspell-pt-pt - Portuguese dictionary for hunspell
 hunspell-ro - Romanian dictionary for hunspell
 hunspell-ru - Russian dictionary for hunspell
 hunspell-si - Sinhala dictionary for hunspell
 hunspell-sk - Slovak dictionary for hunspell
 hunspell-sl - Slovene dictionary for hunspell
 hunspell-sr - Serbian dictionary for hunspell
 hunspell-sv - Swedish dictionary for hunspell
 hunspell-sv-se - Swedish dictionary for hunspell - dummy transitional package
 hunspell-sw - Swahili dictionary for hunspell
 hunspell-te - Telugu dictionary for hunspell
 hunspell-th - Thai dictionary for hunspell
 hunspell-uk - Ukrainian dictionary for hunspell
 hunspell-vi - Vietnamese dictionary for hunspell
 hyphen-af  - Afrikaans hyphenation patterns
 hyphen-bg  - Bulgarian hyphenation patterns
 hyphen-ca  - Catalan hyphenation patterns
 hyphen-cs  - Czech hyphenation patterns
 hyphen-da  - Danish hyphenation patterns
 hyphen-de  - German hyphenation patterns
 hyphen-el  - Modern Greek hyphenation patterns
 hyphen-en-gb - English (GB) hyphenation patterns
 hyphen-es  - Spanish hyphenation patterns
 hyphen-fr  - French hyphenation patterns
 hyphen-gl  - Galician hyphenation patterns
 hyphen-hr  - Croatian hyphenation patterns
 hyphen-hu  - Hungarian hyphenation patterns
 hyphen-id  - Indonesian hyphenation patterns
 hyphen-is  - Icelandic hyphenation patterns
 hyphen-it  - Italian hyphenation patterns
 hyphen-lt  - Lithuanian hyphenation patterns
 hyphen-nl  - Dutch hyphenation patterns
 hyphen-no  - Norwegian hyphenation patterns
 hyphen-pt-br - Brazilian Portuguese hyphenation patterns
 hyphen-pt-pt - Portuguese hyphenation patterns
 hyphen-ro  - Romanian hyphenation patterns
 hyphen-sk  - Slovak hyphenation patterns
 hyphen-sl  - Slovene hyphenation patterns
 hyphen-sr  - Serbian hyphenation patterns
 hyphen-sv  - Swedish hyphenation patterns
 hyphen-uk  - Ukrainian hyphenation patterns
 hyphen-zu  - Zulu hyphenation patterns
 libreoffice-lightproof-pt-br - Lightproof grammar checker for LibreOffice (Brazilian Portuguese)
 myspell-hr - Croatian dictionary for hunspell - dummy transitional package
 myspell-pl - Polish dictionary for hunspell - dummy transitional package
 myspell-sv-se - Swedish dictionary for hunspell - dummy transitional package
 mythes-ar  - Arabic Thesaurus for LibreOffice
 mythes-bg  - Bulgarian Thesaurus for LibreOffice
 mythes-ca  - Catalan Thesaurus for LibreOffice
 mythes-cs  - Czech Thesaurus for LibreOffice
 mythes-da  - Danish Thesaurus for LibreOffice
 mythes-en-us - English (USA) Thesaurus for LibreOffice
 mythes-es  - Spanish Thesaurus for LibreOffice
 mythes-fr  - French Thesaurus for LibreOffice
 mythes-gl  - Galician Thesaurus for LibreOffice
 mythes-gug - Guarani Thesaurus for LibreOffice
 mythes-hu  - Hungarian Thesaurus for LibreOffice
 mythes-id  - Indonesian Thesaurus for LibreOffice
 mythes-is  - Icelandic Thesaurus for LibreOffice
 mythes-it  - Italian Thesaurus for LibreOffice
 mythes-lv  - Latvian Thesaurus for LibreOffice
 mythes-ne  - Nepalese Thesaurus for LibreOffice
 mythes-no  - Norwegian Thesaurus for LibreOffice
 mythes-pt-pt - Portuguese Thesaurus for LibreOffice
 mythes-ro  - Romanian Thesaurus for LibreOffice
 mythes-ru  - Russian Thesaurus for LibreOffice
 mythes-sk  - Slovak Thesaurus for LibreOffice
 mythes-sl  - Slovene Thesaurus for LibreOffice
 mythes-sv  - Swedish Thesaurus for LibreOffice
 mythes-uk  - Ukrainian Thesaurus for LibreOffice
Closes: 908146
Changes:
 libreoffice-dictionaries (1:6.1.0~rc2-3) unstable; urgency=medium
 .
   [ Agustin Martin Domingo ]
   * [4349ecf] Add Breaks+Replaces for dictionaries with outdated versions in
     other packages, the myspell-* packages will become transitional packages.
     + hunspell-pt-br → myspell-pt-br  (used to be a Conflicts)
     + hunspell-pt-pt → myspell-pt-pt  (used to be a Conflicts)
     + hunspell-ru → myspell-ru
     + hunspell-sv → hunspell-sv-se (used to be a Conflicts)
     + Closes: #908146
 .
   [ Mattia Rizzolo ]
   * [8c6aa03] Build the transitional packages hunspell-sv-se and myspell-sv-se.
   * [c56d7a6] d/control: Set Rules-Requires-Root:no
   * [832e88c] d/control: Bump Standards-Version to 4.2.1, no changes needed.
Checksums-Sha1:
 1506e706aded5335a2e90eaf3c6b802374824b71 7897 libreoffice-dictionaries_6.1.0~rc2-3.dsc
 a5833e705ab033cd2ed005a5c858ecb29f5f450b 64984 libreoffice-dictionaries_6.1.0~rc2-3.debian.tar.xz
 bd26208854db091ff94bef390d66f60305259edb 33399 libreoffice-dictionaries_6.1.0~rc2-3_amd64.buildinfo
Checksums-Sha256:
 0be91588027d46d5adfa7beea62d06de33fe6bb69e96d9c879ab3db7462b0a14 7897 libreoffice-dictionaries_6.1.0~rc2-3.dsc
 f95dfc767692b216f8569432dc1ed3b6fcce0d6430157db1eddfb355027cdc57 64984 libreoffice-dictionaries_6.1.0~rc2-3.debian.tar.xz
 d65c0d21b3c948a907714b43662fec3734f78e55478db312dbf728f3a5eed46a 33399 libreoffice-dictionaries_6.1.0~rc2-3_amd64.buildinfo
Files:
 c57395dce086f4917bc705463ad9a25e 7897 text optional libreoffice-dictionaries_6.1.0~rc2-3.dsc
 3885304d5ad9523ccf245b702185685e 64984 text optional libreoffice-dictionaries_6.1.0~rc2-3.debian.tar.xz
 702be7b25b0605c85804a869ac5a5974 33399 text optional libreoffice-dictionaries_6.1.0~rc2-3_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEi3hoeGwz5cZMTQpICBa54Yx2K60FAluSdWQACgkQCBa54Yx2
K63dAQ/9F6znaWboh2nf/T76FAYC2LtrDVF8wr1qdtfDvDPqtumxbBTw3u+Lo67a
vsx6rFC8GIMcbcjmBBQaap9DI2yrT+XJopbCDewow3kdPWD5v5oapRvJep3C6JZY
zv5BWOP5fYQTqHpLQSDCzYjGZjftqwKtERDechjR08I5qifxB4hnykH2IUWDcPZC
NpE9OY0ESl0kxvaHDWoBZ3iSFPvr7h86rfnzY8CSMzIq28pjUywmNWOj/zXAE0Oh
2pYXvpO5Q8cmrT+sYRjJSeCKsSYeHChLsTFLIMMdNVOKrwtpLnP2a13AtmvIvohO
RnPTP25+BJ7TUVCJbTrpBMriZBEeiPPG2GAyQb23qnZ4LVHadotAZCYoWcz0M4de
MTdwALG7Bg9dnaR74923Q6abafpZBOZ1khrTclKLfdfzJRuJ3GHX9NQwn8RKMVhA
8DGan1gyVzUUzEPepnCUEubrlgqspXKL8Kv2p3TQ2Js2kK/wkCBWkPWL1yILXgAA
Rc27aX1B4DM9dfaUWmAvOawGO9PI4QQ/hDCdSd2bajv6b9eSiDLD1MpRaFOuDfMk
eQf/dFCmMShW6rD7ppyDHNJ/nvS4FogLr0CRcbRz5RCCelyzcb7pFeeN4CBBDMuE
ooymMeHCD5IWQkAbTCRBBR0Uab1+Za0D2XfhwYFucDd3yyyMv9U=
=D+xQ
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: