gnome-initial-setup/webkitgtk-6.0.patch
2022-12-05 12:23:12 -06:00

54 lines
1.7 KiB
Diff

From 716516f82f975016a4ec025e6f09cbc996564365 Mon Sep 17 00:00:00 2001
From: Michael Catanzaro <mcatanzaro@redhat.com>
Date: Mon, 5 Dec 2022 12:21:26 -0600
Subject: [PATCH] Build against webkitgtk-6.0
---
gnome-initial-setup/gis-driver.c | 2 +-
gnome-initial-setup/meson.build | 2 +-
gnome-initial-setup/pages/privacy/gis-privacy-page.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/gnome-initial-setup/gis-driver.c b/gnome-initial-setup/gis-driver.c
index 1fbf636c..e6835a5f 100644
--- a/gnome-initial-setup/gis-driver.c
+++ b/gnome-initial-setup/gis-driver.c
@@ -26,7 +26,7 @@
#include <errno.h>
#include <locale.h>
#include <stdlib.h>
-#include <webkit2/webkit2.h>
+#include <webkit/webkit.h>
#include "cc-common-language.h"
#include "gis-assistant.h"
diff --git a/gnome-initial-setup/meson.build b/gnome-initial-setup/meson.build
index 3127803c..ce098298 100644
--- a/gnome-initial-setup/meson.build
+++ b/gnome-initial-setup/meson.build
@@ -63,7 +63,7 @@ dependencies = [
dependency ('libsecret-1', version: '>= 0.18.8'),
dependency ('pwquality'),
dependency ('rest-1.0'),
- dependency ('webkit2gtk-5.0'),
+ dependency ('webkitgtk-6.0'),
ibus_dep,
libmalcontent_dep,
libmalcontent_ui_dep,
diff --git a/gnome-initial-setup/pages/privacy/gis-privacy-page.c b/gnome-initial-setup/pages/privacy/gis-privacy-page.c
index 40cfd882..eff481f7 100644
--- a/gnome-initial-setup/pages/privacy/gis-privacy-page.c
+++ b/gnome-initial-setup/pages/privacy/gis-privacy-page.c
@@ -27,7 +27,7 @@
#include "privacy-resources.h"
#include "gis-privacy-page.h"
-#include <webkit2/webkit2.h>
+#include <webkit/webkit.h>
#include <locale.h>
#include <gtk/gtk.h>
--
2.38.1