[Pkg-ime-devel] renamed to librime1-dev

Osamu Aoki osamu at debian.org
Mon May 12 12:50:26 UTC 2014


I am no expert on this topic but let me try my best and also share this
with other DDs for pkg-ime.

On Sun, May 11, 2014 at 07:35:06PM -0400, Guo Yixuan wrote:
> I just have a question: in the so-version bump of librime, 

It was done by aron in git repo with pre-release version: librime0 -> librime1

Read basics here:

Since this is C++ based library, symbols support can be skipped.

> librime-dev is renamed to librime1-dev, 

So you wanted to do this slightly different from what Aron did.  This is
certainly OK to do this.  

Versioned -dev package can be made but unless you plan to keep both
librime0 and librime1 in the same archive and build-able.  I do not see
much reason to make this extra complication.  
Anyway, rules are here:

(If you really wish to have both ABI packages in the archive, you need
to have source package to be versioned to keep them happy. This kind of
situation exist only for some select class of libraries.   Otherwise,
your action only buys you to have minor future flexibility, as I

Considering small numbers of programs depending on librime* library, I
would rather keep it simple by having librime-dev for all so name
versions as Aron.  I explained this case in my maint-guide:

> so I think it's necessary to add conflicts/replaces/provides[1]. 

This ensures only one package providing librime-dev is installed.
So good for your plan.

> Is this the usual and correct way of  handling a so-version bump?

Important is that this upload induced library transition.
Please read https://wiki.debian.org/Teams/ReleaseTeam/Transitions
and follow.

You need to send mail to debian-release at lists.debian.org using reportbug
with proper ben file.

The example mail as follows in the basic transition mail example is for
packaging style using librime-dev like -dev package.
Example of transition.

If you create versioned -dev package like you proposed, library
transition comes with extra-flexibility.  If you see
https://release.debian.org/transitions/ , transitions marked with auto-*
are ones with versioned -dev packages.  Example transition.
https://release.debian.org/transitions/html/auto-sword.html Anyway, I am
not so familiar with auto transition thing.  That is required for major
library.  You may need to get some external help (debian-mentor?) if you
wish to go along this route.

Good luck,


> [1]
> http://anonscm.debian.org/gitweb/?p=pkg-ime/librime.git;a=commitdiff;h=462d9a54b1491e5e340d110fdde027834c6bc127
> Cheers,
> Yixuan

More information about the Pkg-ime-devel mailing list