Re: gnome-desktop for GNOME 3.22 will depend on libudev



On Sat, 2016-06-25 at 13:36 +0200, Bastien Nocera wrote:
From https://bugzilla.gnome.org/show_bug.cgi?id=590059

"
hwdb has its own database which it compiles to binary, so that:
1) initialisation is practically free
See https://git.gnome.org/browse/gnome-settings-daemon/commit/gnome-s
et
tings-daemon/gnome-settings-
manager.c?id=d8c158e74caea048dea5a38232bd87c1c7a78a70
2) lookups are also quick, as they use a binary DB
3) we don't have to maintain our own copy of the database
4) allows model lookup rather than simply vendor lookup, when the
   database contains that information
"

jhbuild has been updated to reflect the new dependencies. Non-Linux
OSes should revert this patch in their 3.22 releases.

libudev was already a dependency of gnome-bluetooth, which uses it to
lookup vendor names from udev/hwdb's OUI database.

And this broke building applications in Flatpak. The udev API isn't
stable, so cannot be used in sandboxed applications where the system
version of the daemon might not match our expectations.

This commit along with changes in gnome-nightly-apps should get us over
the hurdle in the short-term.

commit 140aa80ae4b3d83505e374d0d3a53068a6489e17
Author: Bastien Nocera <hadess hadess net>
Date:   Sat Jun 25 14:40:02 2016 +0200

    pnp-ids: Add --disable-udev command-line argument
    
    This will allow building gnome-desktop in environments where libudev
    isn't available (such as flatpak's Sdk) until we have a thumbnailing API
    living in the platform API (likely GLib or GTK+).


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]