Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
gnome-boxes
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Jobs
Commits
Open sidebar
GNOME
gnome-boxes
Commits
4f4b0967
Commit
4f4b0967
authored
May 11, 2018
by
Felipe Borges
Committed by
Felipe Borges
May 22, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add flatpak manifest
parent
81d5bf87
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
427 additions
and
0 deletions
+427
-0
build-aux/flatpak/gnome-boxes-disable-spice-usb.patch
build-aux/flatpak/gnome-boxes-disable-spice-usb.patch
+93
-0
build-aux/flatpak/libvirt-bootstrap-gettext.patch
build-aux/flatpak/libvirt-bootstrap-gettext.patch
+11
-0
build-aux/flatpak/org.gnome.Boxes.json
build-aux/flatpak/org.gnome.Boxes.json
+323
-0
No files found.
build-aux/flatpak/gnome-boxes-disable-spice-usb.patch
0 → 100644
View file @
4f4b0967
--- 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 {
build-aux/flatpak/libvirt-bootstrap-gettext.patch
0 → 100644
View file @
4f4b0967
--- 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 -
build-aux/flatpak/org.gnome.Boxes.json
0 → 100644
View file @
4f4b0967
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment