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

Bug#583250: RFS: myspell-sv (updated package)



On Fri, Sep 16, 2011 at 02:16:22PM +0200, Jon Lachmann wrote:
> Hi!
> 
> > Hi, Rene,
> > 
> > myspell-sv-se is already orphaned (http://bugs.debian.org/583250). I forgot
> > to assign it to the QA team in my last NMU, but if I modify it to be an
> > empty transitional package I will reassign it to the QA team as I should
> > have done before.
> > 
> > I'd like to see first what other distros did regarding this, at least to
> > document the changes and the choice. Not sure when I will have time.
> > 
> I know that the rpm-based ones have been using the dsso.se one for a long time.
> I just see it as an important issue to get this done ASAP, but i respect that
> you want to be sure about everything at first. But as I mentioned before this
> is one of the main issues i hear my swedish-speaking friends complain about 
> when using ubuntu/debian.

I have looking at this and seems that even myspell-sv www site
(http://sv.speling.org/myspell.html) now points to
http://www.dsso.se/, so auto-upgrade seems the way to go.

I would do it in a way similar to a package renaming, 

http://wiki.debian.org/Renaming_a_Package

with hunspell-sv-se providing the new myspell-sv-se empty dependency package. 
This way users will upgrade to new empty myspell-sv-se which depends on
hunspell-sv-se, thus resulting in actual smooth upgrade. Once new package
reaches testing, we can ask for removal of old package.

I am attaching a patch with proposed changes. Edit debian/README.myspell-sv-se
and debian/changelog to have your name there as maintainer.

More interesting info for that debian/README.myspell-sv-se may be available at
http://www.dsso.se/download.html, but since it seems to be Swedish-only I
cannot know.

Just send me hunspell-sv_1.46-3.debian.tar.gz and hunspell-sv_1.46-3.dsc
once they are ready to prepare a new upload.

I am also cc'ing myspell-sv orphaning bug report, so anyone thinking about
adopting myspell-sv knows about this.

Regards,

-- 
Agustin

>From b5a59f31c25ff4ec59a017894b5a31a3b81ff26b Mon Sep 17 00:00:00 2001
From: Agustin Martin Domingo <agmartin@debian.org>
Date: Wed, 21 Sep 2011 14:44:09 +0200
Subject: [PATCH] Provide myspell-sv-se dependency package for auto-upgrade to
 hunspell-sv-se.

myspell-sv is now obsolete and even its www site
(http://sv.speling.org/myspell.html) now points to
http://www.dsso.se/ where hunspell-sv-se is maintained.

This commit tries to provide a smooth upgrade path from myspell-sv-se
to hunspell-sv-se in a way similar to a package renaming.

More info about package renaming:

http://wiki.debian.org/Renaming_a_Package
---
 debian/README.myspell-sv-se |   17 +++++++++++++++++
 debian/changelog            |    8 ++++++++
 debian/control              |   17 ++++++++++++++---
 debian/myspell-sv-se.docs   |    1 +
 4 files changed, 40 insertions(+), 3 deletions(-)
 create mode 100644 debian/README.myspell-sv-se
 create mode 100644 debian/myspell-sv-se.docs

diff --git a/debian/README.myspell-sv-se b/debian/README.myspell-sv-se
new file mode 100644
index 0000000..24915a1
--- /dev/null
+++ b/debian/README.myspell-sv-se
@@ -0,0 +1,17 @@
+-*- readme-debian -*-
+
+myspell-sv-se for Debian
+------------------------
+
+Debian hunspell-sv source package provides a myspell-sv-se dependency
+binary package for migration to hunspell-sv-se.
+
+This dependency package is here only to ensure smooth upgrades from
+ancient myspell-sv-se to hunspell-sv-se. It can be safely removed
+afterwards.
+
+myspell-sv is now obsolete and even its www site
+(http://sv.speling.org/myspell.html) now points to
+http://www.dsso.se/ where hunspell-sv-se is maintained.
+
+ -- Agustin Martin Domingo <agmartin@debian.org>, Wed, 21 Sep 2011 14:42:25 +0200
diff --git a/debian/changelog b/debian/changelog
index eeb5adb..58e3e63 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+hunspell-sv (1.46-3) unstable; urgency=low
+
+  * Provide an empty myspell-sv-se dependency package to
+    ensure smooth upgrades from ancient myspell-sv-se to
+    hunspell-sv-se.
+
+ -- Agustin Martin Domingo <agmartin@debian.org>  Tue, 20 Sep 2011 12:04:35 +0200
+
 hunspell-sv (1.46-2) unstable; urgency=low
 
   * Initial release with dictionaries from www.dsso.se
diff --git a/debian/control b/debian/control
index d0ab2b5..cbb6aef 100644
--- a/debian/control
+++ b/debian/control
@@ -10,10 +10,21 @@ Package: hunspell-sv-se
 Architecture: all
 Depends: dictionaries-common (>= 0.10), ${misc:Depends}
 Suggests: libreoffice, iceape-browser | iceweasel | icedove
-Conflicts: openoffice.org (<= 1.0.3-2), myspell-sv-se
-Replaces: myspell-sv-se
-Provides: hunspell-dictionary, hunspell-dictionary-sv, myspell-sv-se
+Conflicts: openoffice.org (<= 1.0.3-2)
+Breaks: myspell-sv-se (<< 1.46)
+Replaces: myspell-sv-se (<< 1.46)
+Provides: hunspell-dictionary, hunspell-dictionary-sv
 Description: Swedish (SE) dictionary for hunspell
  This is the Swedish (SE) dictionary for use with the hunspell
  spellchecker which is currently used within LibreOffice and
  the mozilla spellchecker.
+
+Package: myspell-sv-se
+Architecture: all
+Section: oldlibs
+Depends: hunspell-sv-se, ${misc:Depends}
+Description: transitional dummy package
+ This is a dependency package for migration to hunspell-sv-se
+ This package is here only to ensure smooth upgrades from ancient
+ myspell-sv-se to hunspell-sv-se. It can be safely removed
+ afterwards.
diff --git a/debian/myspell-sv-se.docs b/debian/myspell-sv-se.docs
new file mode 100644
index 0000000..3b8db52
--- /dev/null
+++ b/debian/myspell-sv-se.docs
@@ -0,0 +1 @@
+debian/README.myspell-sv-se
-- 
1.7.5.4


Reply to: