bug-hurd
[Top][All Lists]
Advanced

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

Decouple the Hurd version from the package version. (was: [SCM] Hurd bra


From: Thomas Schwinge
Subject: Decouple the Hurd version from the package version. (was: [SCM] Hurd branch, master, updated. v0.5)
Date: Sun, 29 Sep 2013 10:37:37 +0200
User-agent: Notmuch/0.9-101-g81dad07 (http://notmuchmail.org) Emacs/23.4.1 (i486-pc-linux-gnu)

Hi!

On Fri, 27 Sep 2013 21:43:37 +0000, Thomas Schwinge <thomas@schwinge.name> 
wrote:
> commit 3bdf8aad39d39168d096d3042b659fb9d2ef1651
> Author: Thomas Schwinge <thomas@codesourcery.com>
> Date:   Fri Sep 27 20:36:58 2013 +0200
> 
>     Decouple the Hurd version from the package version.

I should explain that one.

>     * config.make.in (package-version): New variable.
>     (hurd-version): Set to 0.3.

If not doing that, all shared libraries' SONAMEs (libdiskfs.so.0.3, etc.)
would have changed -- which we didn't want, to avoid breaking
compatibility at that level.  The SONAMEs are set from the hurd-version
variable.  It would probably make sense to now rename that one to
lib-version.  And, the Hurd libraries should be switched to normal ELF
symbol versioning.

>     * Makeconf (%: %.sh): Use package-version instead of hurd-version.
>     * Makefile (stamp-version): Likewise.
>     * doc/Makefile (stamp-version): Likewise.

These on the other hand are for "documentation purposes" and should refer
to the real Hurd package version.  This will also get used for the
version string in proc_register_version calls, which will in turn be used
for replying to uname requests, which will then report a 0.5 version --
which is actually what we want.

There may be some occasional hard-coding of 0.3 in external packages (but
most likely just for the SONAMEs/filenames, which is fine for the
moment); we couldn't think of anything major.


Grüße,
 Thomas

Attachment: pgpDQJmwfFdMR.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]