Make native protocol

Remove DBus and work towards something like wayland.
Remove more glib stuff from the client code
This commit is contained in:
Wim Taymans 2016-11-24 17:00:42 +01:00
parent efae64a759
commit 27bba6f587
55 changed files with 3089 additions and 4969 deletions

View file

@ -30,7 +30,7 @@
#include "pinos/daemon/daemon-config.h"
#define DEFAULT_CONFIG_FILE PINOS_CONFIG_DIR G_DIR_SEPARATOR_S "pinos.conf"
#define DEFAULT_CONFIG_FILE PINOS_CONFIG_DIR "/pinos.conf"
static bool
parse_line (PinosDaemonConfig *config,
@ -165,7 +165,7 @@ bool
pinos_daemon_config_load (PinosDaemonConfig *config,
char **err)
{
const gchar *filename;
const char *filename;
filename = getenv ("PINOS_CONFIG_FILE");
if (filename != NULL && *filename != '\0') {

View file

@ -36,7 +36,7 @@ main (int argc, char *argv[])
/* parse configuration */
config = pinos_daemon_config_new ();
if (!pinos_daemon_config_load (config, &err)) {
g_error ("failed to parse config: %s", err);
pinos_log_error ("failed to parse config: %s", err);
free (err);
return -1;
}

View file

@ -1,4 +1,4 @@
load-module libpinos-module-protocol-dbus
#load-module libpinos-module-protocol-dbus
load-module libpinos-module-protocol-native
load-module libpinos-module-suspend-on-idle
load-module libpinos-module-spa