Opened 13 years ago

Closed 12 years ago

Last modified 10 years ago

#3210 closed defect (fixed)

GConf Nitpicks

Reported by: Randy McMurchy Owned by: blfs-book@…
Priority: normal Milestone:
Component: BOOK Version: SVN
Severity: normal Keywords:
Cc:

Description

In the GConf instructions it shows that polkit is a required dependency; however, it should be listed as recommended at most. Here is the relevant stuff from configure.in:

HAVE_POLKIT=no
AC_ARG_ENABLE(defaults_service,
  AS_HELP_STRING([--enable-defaults-service],
    [build the defaults DBus service @<:@default=auto@:>@]),
  , enable_defaults_service=auto)

if test "x$enable_defaults_service" != "xno" ; then
  PKG_CHECK_MODULES(DEFAULTS, glib-2.0 gobject-2.0 dbus-1 dbus-glib-1 polkit-gobject-1, HAVE_POLKIT=yes, HAVE_POLKIT=no)
  if test "x$HAVE_POLKIT" = "xno"; then
    if test "x$enable_defaults_service" = "xyes" ; then
      AC_MSG_ERROR([[
*** Could not find PolicyKit.]])
    fi
  else
    enable_defaults_service=yes
  fi
fi

if test "x$enable_defaults_service" != "xno" ; then
  AC_DEFINE(ENABLE_DEFAULTS_SERVICE, 1, [enable defaults DBus service])
fi

AM_CONDITIONAL(ENABLE_DEFAULTS_SERVICE, [test "x$enable_defaults_service" != "xno"])

Change History (6)

comment:1 by Randy McMurchy, 13 years ago

Summary: GConf DependenciesGConf Nitpicks
Type: taskdefect

Additionally, there are a couple more things that need to be updated in the GConf instructions.

1) It should be explained why the /etc/gnome/2.30.2/gconf/gconf.xml.system directory is created after `make install'.

2) It should be mentioned how to include the ${GNOME_PREFIX}/share/dbus-1/services and ${GNOME_PREFIX}/share/dbus-1/system-services directories if ${GNOME_PREFIX} is not /usr. (DBus configuration - easy enough to add to the system-local.conf and session-local.conf files)

3) It should be mentioned how to include the ${GNOME_PREFIX}/share/polkit-1/actions directory if ${GNOME_PREFIX} is not /usr. I have not figured out a way to do this. The polkit(8) manpage only mentions /usr/share/polkit-1/actions as the appropriate directory with no mention how to include other directories.

More about #'s 2 and 3 in an upcoming message to BLFS-Dev.

comment:2 by Wayne Blaszczyk, 13 years ago

In regards to polkit not being a required dependency. I have tried several times now, and for the life of me, I cannot successfully build Gconf without polkit. Configure runs fine but make fails with the following error: gconf-defaults.c:34:18: fatal error: glib.h: No such file or directory I think (been so long ago) that is why I put it as required in the first place. I would be interested if anyone else successfully built Gconf without polkit. I don't think it can be done without some kind of patch.

comment:3 by Wayne Blaszczyk, 13 years ago

I've put in a command explanation for point 1.

comment:4 by bdubbs@…, 12 years ago

Milestone: 6.7current

comment:5 by rt, 12 years ago

Resolution: fixed
Status: newclosed

comment:6 by bdubbs@…, 10 years ago

Milestone: current

Milestone current deleted

Note: See TracTickets for help on using tickets.