On Tue, Feb 17, 2015 at 10:07:43PM +0100, Pierre Labastie wrote:
>
> Well, the problem is the book inconsistent state: because g-i is recommended
> for some packages (like colord), which are recommended outside of gnome
> (example CUPS), you always end up building g-i (unless you want to deviate
> from the recommended deps). that's how you may be hit by the type of
> annoyances I described in the OP.
>
I do not understand why we recommend it for colord. Mind you, I
am not convinced that colord is useful without (at least) GNOME Color
Manager, whatever that might be. At some point I put it into my
builds to perhaps go back to trying to use my ColorHUG, and it seems
to have remained.
> So building g-i as early as possible prevents those annoyances. But
> unsuspecting users might not do that!
>
> Thinking more about it, fixing the book is much more easily done by
> recommending g-ir everywhere than by making it optional each time it is
> possible: determining the switches needed to not requiring it (such as
> --disable-instrospection) would be a long task. For example, is it possible
> (without heavy workarounds) to build colord without g-i? I think I'll give it
> a try, but there are more urgent things (libpeas/Lua fixing again, and testing
> new patch for LO).
>
I have been building colord-1.2.8 with:
./configure --prefix=/usr --sysconfdir=/etc \
--localstatedir=/var \
--with-daemon-user=colord \
--disable-gusb \
--disable-polkit \
${KM_SYSD} \
--disable-argyllcms-sensor \
--disable-bash-completion \
--disable-static
where KM_SYSD is set as
KM_SYSD="--enable-systemd-login=no --with-systemdsystemunitdir=no"
(a legacy of when systemd was in LFS).
So, in the absence of introspection (and gusb) configure reports:
checking for gobject-introspection... no
The only one of the recommended deps that I usually provide is
gudev. But then I only have colord as a build dep (well, I'm
assuming something still uses it, but I have not checked).
ĸen
--
Nanny Ogg usually went to bed early. After all, she was an old lady.
Sometimes she went to bed as early as 6 a.m.
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page