[gnome-software/wip/mak/libas] hacks: Add AS_URL_KIND_MISSING temporarily, make CI work
- From: Matthias Klumpp <mak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/mak/libas] hacks: Add AS_URL_KIND_MISSING temporarily, make CI work
- Date: Sat, 9 Jan 2021 00:21:15 +0000 (UTC)
commit 539a1ec5e4aa7b8d086844896d3197e229806a69
Author: Matthias Klumpp <matthias tenstral net>
Date: Fri Jan 8 03:48:05 2021 +0100
hacks: Add AS_URL_KIND_MISSING temporarily, make CI work
This is just a temporary change, until we have decided what to do with
the AS_URL_KIND_MISSING feature / url kind and the CI images have been
updated to include a newer libappstream.
.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..a4818d3d8 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 libyaml-devel gperf
- 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 libyaml-dev gperf
- 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]