[gnome-software/wip/mak/libas] hack: Add AS_URL_KIND_MISSING temporarily, permit Meson wrap downloads




commit e050401e019efdf4ed4806f81232942ef21dcaf3
Author: Matthias Klumpp <matthias tenstral net>
Date:   Fri Jan 8 03:48:05 2021 +0100

    hack: Add AS_URL_KIND_MISSING temporarily, permit Meson wrap downloads
    
    This is just a temporary change, until we have decided what to do with
    this feature / url kind.

 .gitlab-ci.yml | 4 +++-
 lib/gs-app.h   | 3 +++
 2 files changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 8a0d303d6..60d4f86b7 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -8,7 +8,7 @@ cache:
 variables:
   MESON_TEST_TIMEOUT_MULTIPLIER: 2
   G_MESSAGES_DEBUG: all
-  MESON_COMMON_OPTIONS: "--buildtype debug --wrap-mode=nodownload --prefix /usr"
+  MESON_COMMON_OPTIONS: "--buildtype debug --prefix /usr"
 
 .build:
   before_script:
@@ -21,6 +21,7 @@ fedora-x86_64:
   except:
     - tags
   script:
+    - sudo dnf -y install lmdb-devel libstemmer-devel
     - meson ${MESON_COMMON_OPTIONS}
             -Drpm_ostree=true
             -Dmalcontent=true
@@ -49,6 +50,7 @@ debian-stable-x86_64:
   except:
     - tags
   script:
+    - sudo apt-get install -yq liblmdb-dev libstemmer-dev
     - meson ${MESON_COMMON_OPTIONS}
             -Drpm_ostree=false
             -Dmalcontent=false
diff --git a/lib/gs-app.h b/lib/gs-app.h
index e624200e6..3874d6af3 100644
--- a/lib/gs-app.h
+++ b/lib/gs-app.h
@@ -16,6 +16,9 @@
 
 G_BEGIN_DECLS
 
+/* FIXME-libas: Find a proper solution for the missing enum */
+#define AS_URL_KIND_MISSING 0xffff
+
 #define GS_TYPE_APP (gs_app_get_type ())
 
 G_DECLARE_DERIVABLE_TYPE (GsApp, gs_app, GS, APP, GObject)


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