# Process this file with autoconf to produce a configure script.
AC_PREREQ([2.60])
-AC_INIT([gumd], [1.0.0],[],[],[https://github.com/01org/gumd])
+AC_INIT([gumd], [1.0.1],[],[],[https://github.com/01org/gumd])
AC_CONFIG_SRCDIR([src/daemon/main.c])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_AUX_DIR([build-aux])
+gumd (1.0.1-0) unstable; urgency=low
+
+ * Fixed bug where gum-utils hangs in offline mode
+
+ -- Imran Zaman <imran.zaman@intel.com> Fri, 24 Oct 2014 18:00:00 +0300
+
gumd (1.0.0-0) unstable; urgency=low
* Added sysroot support (in offline mode) to gum-utils.
Name: gumd
Summary: User management daemon and client library
-Version: 1.0.0
+Version: 1.0.1
Release: 0
Group: System/Daemons
License: LGPL-2.1+
%changelog
+* Fri Oct 24 2014 Imran Zaman <imran.zaman@intel.com>
+- Fixed bug where gum-utils hangs in offline mode
+
* Thu Oct 23 2014 Imran Zaman <imran.zaman@intel.com>
- Added sysroot support (in offline mode) to gum-utils
- Removed offline support from gumd as it is moved to libgum/gum-utils
+* Fri Oct 24 2014 Imran Zaman <imran.zaman@intel.com>
+- Fixed bug where gum-utils hangs in offline mode
+
* Thu Oct 23 2014 Imran Zaman <imran.zaman@intel.com>
- Added sysroot support (in offline mode) to gum-utils
- Removed offline support from gumd as it is moved to libgum/gum-utils
Name: gumd
Summary: User management daemon and client library
-Version: 1.0.0
+Version: 1.0.1
Release: 0
Group: Security/Accounts
License: LGPL-2.1+
GumGroup *self = GUM_GROUP (object);
switch (property_id) {
case PROP_OFFLINE: {
- if (g_value_get_boolean (value))
+ if (g_value_get_boolean (value)) {
self->priv->offline_service = gumd_daemon_new ();
+ } else {
+ self->priv->cancellable = g_cancellable_new ();
+ self->priv->dbus_service = gum_group_service_get_instance ();
+ }
break;
}
default: {
self->priv = GUM_GROUP_PRIV (self);
self->priv->dbus_group = NULL;
self->priv->offline_group = NULL;
- if (!self->priv->offline_service) {
- self->priv->cancellable = g_cancellable_new ();
- self->priv->dbus_service = gum_group_service_get_instance ();
- } else {
- self->priv->cancellable = NULL;
- self->priv->dbus_service = NULL;
- }
+ self->priv->cancellable = NULL;
+ self->priv->dbus_service = NULL;
self->priv->op = NULL;
}
GumUser *self = GUM_USER (object);
switch (property_id) {
case PROP_OFFLINE: {
- if (g_value_get_boolean (value))
+ if (g_value_get_boolean (value)) {
self->priv->offline_service = gumd_daemon_new ();
+ } else {
+ self->priv->cancellable = g_cancellable_new ();
+ self->priv->dbus_service = gum_user_service_get_instance ();
+ }
break;
}
default: {
self->priv = GUM_USER_PRIV (self);
self->priv->dbus_user = NULL;
self->priv->offline_user = NULL;
- if (!self->priv->offline_service) {
- self->priv->cancellable = g_cancellable_new ();
- self->priv->dbus_service = gum_user_service_get_instance ();
- } else {
- self->priv->cancellable = NULL;
- self->priv->dbus_service = NULL;
- }
+ self->priv->cancellable = NULL;
+ self->priv->dbus_service = NULL;
self->priv->op = NULL;
}
GError *error = NULL;
gchar *object_path = NULL;
- GumUser *user = GUM_USER (g_object_new (GUM_TYPE_USER, "offline", offline,
+ GumUser *user = GUM_USER (g_object_new (GUM_TYPE_USER, "offline", offline,
NULL));
if (!user) return NULL;
TESTS_ENVIRONMENT = \
G_MESSAGES_DEBUG="all" \
- LD_LIBRARY_PATH="$(top_builddir)/src/common/.libs:$(top_builddir)/src/daemon/.libs:$(top_builddir)/src/daemon/dbus/.libs"
+ LD_LIBRARY_PATH="$(top_builddir)/src/common/.libs:$(top_builddir)/src/daemon/core/.libs:$(top_builddir)/src/daemon/.libs:$(top_builddir)/src/daemon/dbus/.libs"
TEST_CFLAGS = -DGUM_TEST_DATA_DIR=\"$(abs_top_srcdir)/test/data/\"
\ No newline at end of file