[gnome-sdk-images] Another stab at making WebKit build (disable upower)



commit c288b8fbac0d57ae3f3d58d33408c4e3cc375c1b
Author: Michael Catanzaro <mcatanzaro igalia com>
Date:   Tue Nov 14 09:36:55 2017 -0600

    Another stab at making WebKit build (disable upower)

 org.gnome.Sdk.json.in |   14 ++++----------
 1 files changed, 4 insertions(+), 10 deletions(-)
---
diff --git a/org.gnome.Sdk.json.in b/org.gnome.Sdk.json.in
index 6b0b05d..90c6670 100644
--- a/org.gnome.Sdk.json.in
+++ b/org.gnome.Sdk.json.in
@@ -758,15 +758,6 @@
             ]
         },
         {
-            "name": "upower",
-            "sources": [
-                {
-                    "type": "git",
-                    "url": "https://anongit.freedesktop.org/git/upower.git";
-                }
-            ]
-        },
-        {
             "name": "webkitgtk4",
             "cleanup-platform": [ "/libexec/webkit2gtk-4.0/MiniBrowser" ],
             "buildsystem": "cmake",
@@ -796,7 +787,10 @@
                 "-DSHARE_INSTALL_PREFIX:PATH=/usr/share",
                 "-DINCLUDE_INSTALL_DIR:PATH=/usr/include",
                 "-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON",
-                "-DENABLE_MINIBROWSER=ON"
+                "-DENABLE_MINIBROWSER=ON",
+                # FIXME: This is very bad as it means timers will not be throttled on low power.
+                # We need libupower-glib in the SDK, but not the rest of upower.
+                "-DUSE_UPOWER=OFF"
             ],
             "sources": [
                 {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]