From: Marcel Holtmann <marcel@holtmann.org>
To: linux-hotplug@vger.kernel.org
Subject: Re: libudev major number not increased
Date: Tue, 14 Apr 2009 15:05:08 +0000 [thread overview]
Message-ID: <1239721508.11795.37.camel@violet> (raw)
In-Reply-To: <49E48B22.9020701@redhat.com>
Hi Kay,
> >> > The _major_ number of libudev has to be increased, because several symbols
> >> > were removed (e.g. udev_device_new_from_devpath()) from the library in the
> >> > changes from 128 to 129.
> >> >
> >> > Which means, that every application, which linked to a udev version prior to
> >> > udev-129 has to be recompiled to work with newer libudev versions and
> >> > unfortunately there is now no way to install compat libs anymore.
> >>
> >> Right, we do not bump the major number as long as it is experimental.
> >>
> >> It's not only the API which has changed in earlier versions, also the
> >> logic behind it, so it would not really work with compat libs anyway.
> >> The usual way to do compat libs by taking the code from old packages
> >> will also not work, because the lib is tied to the running udev
> >> version. Older libs are unlikely to work with a new udev running.
> >
> > you don't need to bump the package version number. Just bump the .so
> > name/version of the library.
>
> Yeah, but we have the Debian-like lib packaging with the package name
> following the lib version. The build system will not allow to have
> different versions.
I am not following. I was talking about this part:
libudev_la_LDFLAGS = \
-version-info $(LIBUDEV_LT_CURRENT):$(LIBUDEV_LT_REVISION):$(LIBUDEV_LT_AGE) \
-export-symbols $(top_srcdir)/udev/lib/exported_symbols
So you increase $(LIBUDEV_LT_CURRENT) while keeping $(LIBUDEV_LT_AGE)
and resetting $(LIBUDEV_LT_REVISION).
Regards
Marcel
next prev parent reply other threads:[~2009-04-14 15:05 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-14 13:09 libudev major number not increased Harald Hoyer
2009-04-14 13:24 ` Kay Sievers
2009-04-14 13:47 ` Marcel Holtmann
2009-04-14 13:54 ` Kay Sievers
2009-04-14 15:05 ` Marcel Holtmann [this message]
2009-04-14 16:39 ` Kay Sievers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1239721508.11795.37.camel@violet \
--to=marcel@holtmann.org \
--cc=linux-hotplug@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).