[colord] Intent of lib{huey,dtp94,munki}

Richard Hughes hughsient at gmail.com
Thu Feb 7 01:02:53 PST 2013


On 7 February 2013 03:23, Christopher James Halse Rogers
<chris at cooperteam.net> wrote:
> I'm wondering what the intent of the huey, dtp94, and munki libs are, under
> libs/?

Device access libs -- if you were writing a tool to target a specific
instrument you would link against these. I use them for my reverse
engineering tools.

> They look like convenience libraries, as they don't install headers and are
> used only in the sensor plugins, but they get compiled as a real shared
> library and installed into /usr/lib.

I think these need to be a real shared library, as they are linked in
from the sensor drivers, the daemon and various other utilities in the
project. I don't think a noinst_lib file cuts it, although if you can
get this working I guess it's fine for me.

> Having libraries in /usr/lib without an accompanying development header
> package seems icky to me.

I know what you mean. What about if they were called libhuey-private.so etc?

>  It looks like they might be potentially useful
> outside of colord, so they could ship the headers. If not, could we just
> build them into the sensor plugins?

The idea was that I could trivially add a .pc file and install the
headers if anyone asked. There are a few projects with very incomplete
instrument driver code, and if they wanted to use the raw driver code
in colord I'd be really happy to add the required bits. I didn't see
any point installing headers that were not going to be used.

Advice, as always, welcome.

Richard.


More information about the colord mailing list