On Wed, May 13, 2020 at 11:09:08PM +0100, Ken Moffat via blfs-support wrote:
> 
> In this case, your build *needs* the library from dbus.
> 
> I have no idea whether that is nowadays always true, in which case
> we need to correct the book, or whether it is a result of e.g. which
> dependencies are present.  What I can tell you is nowadays almost
> everyone will install dbus before glib.
> 

I repeat that almost everyone who builds glib will want to build
dbus before building glib, and hopefully the build order I posted
earleir might be useful. But I grepped for dbus in the current
glib source and among many irrelevant results were the following:

./gio/tests/meson.build:# Check for libdbus1 - Optional - is only used in the 
GDBus test cases
./gio/tests/meson.build:# 1.2.14 required for dbus_message_set_serial
./gio/tests/meson.build:dbus1_dep = dependency('dbus-1', required : false, 
version : '>= 1.2.14')
./gio/tests/meson.build:if not dbus1_dep.found()
./gio/tests/meson.build:      dbus1_dep = cc.find_library('dbus-1d', required : 
false)
./gio/tests/meson.build:      dbus1_dep = cc.find_library('dbus-1', required : 
false)

So it appears that dbus is still optional as far as glib is
concerned, so the book is correct in marking it as optional.

ĸen
-- 
                 See You Later, Holy Poppadom!
                    -- Red Dwarf, The Promised Land
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to