From: Hans de Goede <j.w.r.degoede@hhs.nl>
To: lm-sensors@vger.kernel.org
Subject: Re: [lm-sensors] lm-sensors 3.0.0-rc1 has been released!
Date: Mon, 22 Oct 2007 07:06:27 +0000 [thread overview]
Message-ID: <471C4BF3.70208@hhs.nl> (raw)
In-Reply-To: <20070925233316.7afaa297@hyperion.delvare>
Jean Delvare wrote:
> Hans,
>
> On Sun, 21 Oct 2007 21:13:35 +0200, Hans de Goede wrote:
>> Jean Delvare wrote:
>>> How do you deal with the case where both libsensors.so.3 and
>>> libsensors.so.4 are available at link time?
>> Well -lsensors will search for libsensors.so, which is a symlink to one of the
>> two, I would expect this symlink to point to the same version as
>> /usr/include/sensors/sensors.h is.
>
> Ah, OK. I didn't realize this before, thanks for the clarification.
>
> I somehow expected / hoped that it was possible to explicitly point ld
> to a specific .so version, but apparently this isn't the case.
>
>> When talking distros, the symlinks usually reside in the -devel package. One
>> can then make either the 2 -devel pakcages conflict, or put the symlink in a
>> subdir of /usr/lib[64] and have a pkg-config file (which are usually versioned)
>> and use pkg-config to add the correct -L/..... path to the LD_FLAGS.
>>
>> This (symlinks in subdirs of /usr/lib, pkg-config) is how many libraries which
>> are designed for parallel installs do it. In the case of lm_sensors the plan
>> for Feodra is to switch to libsensors4 and just patch all users to move to the
>> new API, I much rather spend some time writing patches for libsensors using
>> apps, then spend time to make the 2 parallel installable. Also notice that as
>> the 2 are inherently not paralell installable as the both want to install
>> /usr/include/sensors/sensors.h
>
> I'm interested in this because in openSuse, there's currently no
> separate devel package for sensors. I plan to make one before moving to
> 3.0.0, so I need to learn how this is supposed to work.
>
In general, anything not needed runtime goes in the -devel package, so thats
the .so symlink, static (.a) versions of the lib (if you want to have one at
all, Fedora has done away with static libs), headers, developer documentation
like section 3 manpages, and README's / FAQ's / whatever more geared towards
developers then users. You may also want to build sensorsd and put it in a
seperate sub-package.
Also you will need to create a package for the now seperated i2c tools. I still
need todo this too, you may use mine as a base once its there.
Regards,
Hans
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
next prev parent reply other threads:[~2007-10-22 7:06 UTC|newest]
Thread overview: 41+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-25 21:33 [lm-sensors] lm-sensors 3.0.0-rc1 has been released! Jean Delvare
2007-09-25 21:45 ` Philip Edelbrock
2007-09-26 21:02 ` Hans de Goede
2007-09-27 14:35 ` Jean Delvare
2007-09-27 14:42 ` Jean Delvare
2007-09-27 17:53 ` Henrique de Moraes Holschuh
2007-09-28 17:07 ` Jean Delvare
2007-09-28 20:13 ` Henrique de Moraes Holschuh
2007-09-29 13:39 ` Jean Delvare
2007-09-30 0:56 ` Henrique de Moraes Holschuh
2007-09-30 11:54 ` Jean Delvare
2007-09-30 12:10 ` Jean Delvare
2007-09-30 14:54 ` Henrique de Moraes Holschuh
2007-10-03 10:36 ` Jean Delvare
2007-10-03 11:38 ` Henrique de Moraes Holschuh
2007-10-04 9:45 ` Jean Delvare
2007-10-04 12:49 ` Henrique de Moraes Holschuh
2007-10-04 13:42 ` Jean Delvare
2007-10-07 11:21 ` Axel Thimm
2007-10-17 21:44 ` Jean Delvare
2007-10-18 7:17 ` Hans de Goede
2007-10-18 8:18 ` Aurelien Jarno
2007-10-19 14:46 ` Jean Delvare
2007-10-19 20:18 ` Hans de Goede
2007-10-20 18:13 ` Jean Delvare
2007-10-20 22:41 ` Hans de Goede
2007-10-21 19:08 ` Jean Delvare
2007-10-21 19:13 ` Hans de Goede
2007-10-21 21:12 ` Jean Delvare
2007-10-22 7:06 ` Hans de Goede [this message]
2007-10-22 7:48 ` Jean Delvare
2007-10-22 8:13 ` Hans de Goede
2007-10-22 8:23 ` Jean Delvare
2007-10-22 9:40 ` Hans de Goede
2007-10-22 11:55 ` Jean Delvare
2007-10-22 13:15 ` Hans de Goede
2007-10-22 13:55 ` Jean Delvare
2007-10-22 19:27 ` Hans de Goede
2007-10-22 22:25 ` Aurelien Jarno
2007-10-24 15:30 ` Jean Delvare
2007-10-24 17:09 ` Hans de Goede
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=471C4BF3.70208@hhs.nl \
--to=j.w.r.degoede@hhs.nl \
--cc=lm-sensors@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.