From 4d6e4960577caee23190ac00ae092fd22227adbe Mon Sep 17 00:00:00 2001 From: Eric Chanudet Date: Mon, 14 Jun 2021 18:07:46 -0400 Subject: [PATCH 1/3] rpc-proxy: Use rpc-autogen bindings module dbus-gen generates a set of bindings for the currently supported API. Use the built module instead of relying on generating the bindings from the IDL in the source tree. Signed-off-by: Eric Chanudet --- rpc-proxy/rpc-proxy.cabal | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rpc-proxy/rpc-proxy.cabal b/rpc-proxy/rpc-proxy.cabal index 84d96689..6e34ca23 100644 --- a/rpc-proxy/rpc-proxy.cabal +++ b/rpc-proxy/rpc-proxy.cabal @@ -38,7 +38,8 @@ Executable rpc-proxy transformers-base, xchwebsocket, xchxenstore, - xchdb + xchdb, + rpc-autogen Main-Is: Main.hs if flag(stubdom) GHC-Options: -O2 -fwarn-incomplete-patterns -static -optl-static -optl-pthread From e4b99917d5fc137f97294f75042a0bc1d774960f Mon Sep 17 00:00:00 2001 From: Eric Chanudet Date: Mon, 14 Jun 2021 18:08:48 -0400 Subject: [PATCH 2/3] updatemgr: Use rpc-autogen bindings module dbus-gen generates a set of bindings for the currently supported API. Use the built module instead of relying on generating the bindings from the IDL in the source tree. Signed-off-by: Eric Chanudet --- updatemgr/updatemgr.cabal | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/updatemgr/updatemgr.cabal b/updatemgr/updatemgr.cabal index c24c6abf..07b6f2b5 100644 --- a/updatemgr/updatemgr.cabal +++ b/updatemgr/updatemgr.cabal @@ -35,6 +35,7 @@ Executable updatemgr monad-control, monad-loops, hinotify, - HTTP + HTTP, + rpc-autogen Main-Is: Main.hs GHC-Options: -O2 -fwarn-incomplete-patterns -dynamic -threaded From 3a7553a5ad5e96b22bb2f4d47f0c07d94f540346 Mon Sep 17 00:00:00 2001 From: Eric Chanudet Date: Mon, 14 Jun 2021 18:11:42 -0400 Subject: [PATCH 3/3] xenmgr: Use rpc-autogen bindings module dbus-gen generates a set of bindings for the currently supported API. Use the built module instead of relying on generating the bindings from the IDL in the source tree. Signed-off-by: Eric Chanudet --- xenmgr/xenmgr.cabal | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xenmgr/xenmgr.cabal b/xenmgr/xenmgr.cabal index a5cf8f8b..28ed4e7b 100644 --- a/xenmgr/xenmgr.cabal +++ b/xenmgr/xenmgr.cabal @@ -33,7 +33,8 @@ Executable xenmgr xchargo, xchxenstore, xchdb, - xenmgr-core + xenmgr-core, + rpc-autogen Main-Is: Main.hs GHC-Options: -O2 -Werror -fwarn-incomplete-patterns -threaded -dynamic