[libgdata/wip/hadess/port-to-gcr-4: 1/2] build: Build against new gcr-4 library
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgdata/wip/hadess/port-to-gcr-4: 1/2] build: Build against new gcr-4 library
- Date: Tue, 2 Aug 2022 09:11:17 +0000 (UTC)
commit 9b10d9fc9a4e452ed6697981780369c2b3726d22
Author: Bastien Nocera <hadess hadess net>
Date: Tue Aug 2 11:07:49 2022 +0200
build: Build against new gcr-4 library
Rather than the old gcr-base-3.
gdata/gdata-service.c | 2 +-
meson.build | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gdata/gdata-service.c b/gdata/gdata-service.c
index 6e1f0d40..a59a23be 100644
--- a/gdata/gdata-service.c
+++ b/gdata/gdata-service.c
@@ -46,7 +46,7 @@
#ifdef HAVE_GNOME
#define GCR_API_SUBJECT_TO_CHANGE
-#include <gcr/gcr-base.h>
+#include <gcr/gcr.h>
#endif /* HAVE_GNOME */
#include "gdata-service.h"
diff --git a/meson.build b/meson.build
index 68eb0b1a..0f665174 100644
--- a/meson.build
+++ b/meson.build
@@ -108,10 +108,10 @@ gtk_dep = dependency(
)
# GNOME support, which pulls in gcr-base-3 to provide non-pageable memory
-gcr_dep = dependency('gcr-base-3', required: get_option('gnome'))
+gcr_dep = dependency('gcr-4', required: get_option('gnome'))
enable_gnome = gcr_dep.found()
if enable_gnome
- gdata_private_deps += dependency('gcr-base-3')
+ gdata_private_deps += dependency('gcr-4')
endif
config_h.set('HAVE_GNOME', enable_gnome)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]