[gnome-boxes] build: Drop libuuid dependency
- From: Felipe Borges <felipeborges src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes] build: Drop libuuid dependency
- Date: Wed, 12 Jul 2017 09:09:17 +0000 (UTC)
commit 6df5ef26e18804eb570a22d8e27ee161ec325b86
Author: Felipe Borges <felipeborges gnome org>
Date: Mon Jun 26 11:16:53 2017 +0200
build: Drop libuuid dependency
https://bugzilla.gnome.org/show_bug.cgi?id=784204
configure.ac | 2 --
src/util-app.vala | 18 ------------------
2 files changed, 0 insertions(+), 20 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index a7d822a..2e890c8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -64,7 +64,6 @@ SPICE_GTK_MIN_VERSION=0.32
GUDEV_MIN_VERSION=165
OSINFO_MIN_VERSION=0.2.12
TRACKER_SPARQL=0.13.1
-UUID_REQUIRED=1.41.3
LIBSOUP_REQUIRED=2.38
LIBARCHIVE_MIN_VERSION=3.0.0
@@ -81,7 +80,6 @@ PKG_CHECK_MODULES(BOXES, [
spice-client-gtk-3.0 >= $SPICE_GTK_MIN_VERSION
gudev-1.0 >= $GUDEV_MIN_VERSION
libosinfo-1.0 >= $OSINFO_MIN_VERSION
- uuid >= $UUID_REQUIRED
libsoup-2.4 >= $LIBSOUP_REQUIRED
libarchive >= $LIBARCHIVE_MIN_VERSION
])
diff --git a/src/util-app.vala b/src/util-app.vala
index dd66ff4..2428e18 100644
--- a/src/util-app.vala
+++ b/src/util-app.vala
@@ -563,24 +563,6 @@ namespace Boxes {
}
}
- namespace UUID {
- [CCode (cname = "uuid_generate", cheader_filename = "uuid/uuid.h")]
- internal extern static void generate ([CCode (array_length = false)] uchar[] uuid);
- [CCode (cname = "uuid_unparse", cheader_filename = "uuid/uuid.h")]
- internal extern static void unparse ([CCode (array_length = false)] uchar[] uuid,
- [CCode (array_length = false)] uchar[] output);
- }
-
- string uuid_generate () {
- var udn = new uchar[50];
- var id = new uchar[16];
-
- UUID.generate (id);
- UUID.unparse (id, udn);
-
- return (string) udn;
- }
-
// shamelessly copied from gnome-documents
public GLib.Icon create_symbolic_emblem (string name) {
var pix = Gd.create_symbolic_icon (name, 128);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]