Commit 4f4b0967 authored by Felipe Borges's avatar Felipe Borges Committed by Felipe Borges

Add flatpak manifest

parent 81d5bf87
--- gnome-boxes-5/src/spice-display.vala~ 2017-07-20 19:01:57.817177298 +0100
+++ gnome-boxes-5/src/spice-display.vala 2017-07-20 19:24:55.686539194 +0100
@@ -1,7 +1,7 @@
// This file is part of GNOME Boxes. License: LGPLv2+
using Gtk;
using Spice;
-using LibUSB;
+//using LibUSB;
private class Boxes.SpiceDisplay: Boxes.Display {
public override string protocol { get { return "SPICE"; } }
@@ -54,6 +54,7 @@
gtk_session = GtkSession.get (session);
Spice.set_session_option (session);
+#if 0
try {
var manager = UsbDeviceManager.get (session);
@@ -65,6 +66,7 @@
});
} catch (GLib.Error error) {
}
+#endif
}
private Spice.MainChannel? _main_channel;
@@ -173,14 +175,16 @@
}
public override bool should_keep_alive () {
+#if 0
try {
var manager = UsbDeviceManager.get (session);
var devs = get_usb_devices (manager);
return (!closed && (devs.length > 0));
} catch (GLib.Error error) {
+#endif
return false;
- }
+// }
}
public override void set_enable_audio (bool enable) {
@@ -207,6 +211,7 @@
builder.append_printf ("Agent: %s\n", main_channel.agent_connected ? "connected" : "disconnected");
}
+#if 0
try {
var manager = UsbDeviceManager.get (session);
var devs = manager.get_devices ();
@@ -217,6 +222,7 @@
}
} catch (GLib.Error error) {
}
+#endif
}
public override void connect_it (owned Display.OpenFDFunc? open_fd = null) {
@@ -338,6 +344,7 @@
if (!connected)
break;
+#if 0
try {
var manager = UsbDeviceManager.get (session);
var devs = get_usb_devices (manager);
@@ -407,6 +414,7 @@
});
} catch (GLib.Error error) {
}
+#endif
break;
}
@@ -420,6 +428,7 @@
display.send_keys (keyvals, DisplayKeyEvent.CLICK);
}
+#if 0
private GLib.GenericArray<UsbDevice> get_usb_devices (UsbDeviceManager manager) {
GLib.GenericArray<UsbDevice> ret = new GLib.GenericArray<UsbDevice> ();
var devs = manager.get_devices ();
@@ -492,6 +501,7 @@
return ret;
}
+#endif
}
private class Boxes.SpiceChannelHandler : GLib.Object {
--- libvirt/bootstrap.conf~ 2017-06-06 14:08:56.365460561 +0100
+++ libvirt/bootstrap.conf 2017-06-06 14:09:30.721724034 +0100
@@ -203,7 +203,7 @@
autoconf 2.59
automake 1.9.6
autopoint -
-gettext 0.17
+xgettext 0.17
git 1.5.5
gzip -
libtool -
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment