Allow the configuration file to be specified via an environment variable. --- geoclue-2.1.10/src/gclue-config.c 2015-04-07 09:50:07.721074380 +0200 +++ geoclue-2.1.10/src/gclue-config.c 2015-04-07 10:27:26.613171960 +0200 @@ -235,6 +235,11 @@ gclue_config_init (GClueConfig *config) { GError *error = NULL; + const char *config_file_path; + + config_file_path = g_getenv ("GEOCLUE_CONFIG_FILE"); + if (config_file_path == NULL) + config_file_path = CONFIG_FILE_PATH; config->priv = G_TYPE_INSTANCE_GET_PRIVATE (config, @@ -242,7 +247,7 @@ GClueConfigPrivate); config->priv->key_file = g_key_file_new (); g_key_file_load_from_file (config->priv->key_file, - CONFIG_FILE_PATH, + config_file_path, 0, &error); if (error != NULL) { s='sub right'>
aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/libusb.scm
AgeCommit message (Expand)Author
2018-01-10gnu: libmtp: Update to 1.1.14....Tobias Geerinckx-Rice
2017-12-28gnu: Add python-hidapi....Danny Milosavljevic
2017-11-12gnu: libusb-compat: Use the same home page as libusb....Tobias Geerinckx-Rice
2017-10-03Update e-mail for Theodoros Foradis....Theodoros Foradis
2017-09-04gnu: Put autoconf-related phases immediately after the 'unpack phase....Kei Kebreau
2017-07-20gnu: Add libusb@0.1....Jonathan Brielmaier
2017-05-15gnu: Add java-usb4java....Ricardo Wurmus
2017-05-15gnu: Add libusb4java....Ricardo Wurmus
2017-04-06gnu: libusb: Update to 1.0.21....Marius Bakke
2017-04-06gnu: libmtp: Update to 1.1.13 [security fixes]....Marius Bakke
2016-11-09gnu: hidapi: Fix 'license'....Ludovic Courtès