On Wed, 2020-12-30 at 18:21 +0000, Ken Moffat via blfs-dev wrote: > Hi Guys, > > some of you may have noticed that I have an aversion to gtk-doc (I'm > getting over it). This was triggered by occasional uses of > autoreconf now needing gtkdocize. That first hit me in polkit with > the patch for elogind, but my memory suggested that the patch has in > the past been added or rolled forward a little after updates to > polkit. > > So, I tried without the patch and (thus far) all of fluxbox, icewm, > openbox, sawfish don't need it. I'm still working through the other > packages which use autoreconf (and autoconf, to be sure), but so far > only polkit with the patch, and cairo, need gtkdocize. > > Cairo, of course, is why I've had to install gtk-doc. But when I > come to add gtk-doc as a dependency it would be better if I > understood why we patch polkit. Is it for users of desktop managers > and/or gnome shell (i.e. conventional startx will always work > without it), or is there a different reason ?
Without a fix, "polkitunixsession" is linked to consolekit even if elogind is present. This means that it is impossible to register an authentication agent, or to use pkexec, for example. DEs that do not register an authentication agent do not need it, I guess. I'm sure conventional startx can be used to start lxde, and that without the patch, a warning is printed (about missing consolekit), so no, startx wouldn't always "work without it". Noe that it does not prevent the session to start. But it lacks several functionalities (ability to shutdown, hibernate, etc, without using the cli for example). Note that I think the patch could be rewritten to patch configure instead of configure.ac. That would remove the need to run autoconf. > > And a side question - mutter apparently gets invoked by gnome shell, > is there any way to do that without using a desktop manager ? I think you can start gnome without a dm, by putting "exec gnome- session" in .xinitrc. Now how to only start gnome-shell, I am not sure. Pierre -- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page