[virt-tools-list] [PATCH 2/7] Minor code cleanups

2015-12-11 Thread Eduardo Lima (Etrunko)
- Reuse #ifdef HAVE_SPICE_GTK block for include. - Move declaration of vfunc together with others of the same class. - Move variable declaration to the top of the function. Signed-off-by: Eduardo Lima (Etrunko) --- src/remote-viewer.c | 13 +++-- 1 file changed, 7

[virt-tools-list] [PATCH 5/7] Backport GVariantDict code from glib 2.40

2015-12-11 Thread Eduardo Lima (Etrunko)
Same case as last GApplication patch, but kept split for easier understanding. Signed-off-by: Eduardo Lima (Etrunko) --- src/virt-glib-compat.c | 204 + src/virt-glib-compat.h | 32 2 files changed, 236 insertions(+)

[virt-tools-list] [PATCH 6/7] Adapt glib code to build out of the tree

2015-12-11 Thread Eduardo Lima (Etrunko)
Signed-off-by: Eduardo Lima (Etrunko) --- src/virt-glib-compat.c | 97 +++--- 1 file changed, 68 insertions(+), 29 deletions(-) diff --git a/src/virt-glib-compat.c b/src/virt-glib-compat.c index a61a3a6..0118e45 100644 ---

[virt-tools-list] [PATCH 3/7] Port to GtkApplication API's

2015-12-11 Thread Eduardo Lima (Etrunko)
Most of this patch consists in code being shuffled around to fit the expected flow while using the new APIs. I tried my best to make this patch the less intrusive as possible. Main changes are: - Update glib requirements to 2.40.0 and adds gio as build dependency. - VirtViewerApp is now a

[virt-tools-list] [PATCH 4/7] Backport GApplication code from glib 2.40

2015-12-11 Thread Eduardo Lima (Etrunko)
Ideally, glib was required to be at least 2.40.0, but due to the fact that SLES still uses 2.38, we need to backport the code that is available only in glib version 2.40.0 onwards. Signed-off-by: Eduardo Lima (Etrunko) --- src/virt-glib-compat.c | 368

Re: [virt-tools-list] [PATCH 7/7] Make GApplication port compatible with older glib

2015-12-11 Thread Daniel P. Berrange
On Fri, Dec 11, 2015 at 02:40:36PM -0200, Eduardo Lima (Etrunko) wrote: > Signed-off-by: Eduardo Lima (Etrunko) > --- > configure.ac | 2 +- > src/remote-viewer.c| 9 + > src/virt-glib-compat.c | 29 + >