summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-graphics
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2021-10-11 20:41:36 +0200
committerKhem Raj <raj.khem@gmail.com>2021-10-16 09:50:38 -0700
commita93f9de2e76650b24391bcf13093b3131601e364 (patch)
treed695fc3e6768b4991cd48ef9554208df0490f8aa /meta-oe/recipes-graphics
parent66986b24687fff8cf7937bb1de8013378072c67d (diff)
downloadmeta-openembedded-a93f9de2e76650b24391bcf13093b3131601e364.tar.gz
surf: add a webkit 2.34 compatibility patch
Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-graphics')
-rw-r--r--meta-oe/recipes-graphics/surf/surf/0001-config.ml-make-compatible-with-webkitgtk-2.34.0.patch32
-rw-r--r--meta-oe/recipes-graphics/surf/surf_2.1.bb3
2 files changed, 34 insertions, 1 deletions
diff --git a/meta-oe/recipes-graphics/surf/surf/0001-config.ml-make-compatible-with-webkitgtk-2.34.0.patch b/meta-oe/recipes-graphics/surf/surf/0001-config.ml-make-compatible-with-webkitgtk-2.34.0.patch
new file mode 100644
index 000000000..2fb44eb0e
--- /dev/null
+++ b/meta-oe/recipes-graphics/surf/surf/0001-config.ml-make-compatible-with-webkitgtk-2.34.0.patch
@@ -0,0 +1,32 @@
1From 0cd38e6dbcaff7eef39fd46a60ff8a47e5f488c4 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex@linutronix.de>
3Date: Sun, 3 Oct 2021 23:08:48 +0200
4Subject: [PATCH] config.ml: make compatible with webkitgtk 2.34.0
5
6Signed-off-by: Alexander Kanavin <alex@linutronix.de>
7---
8 config.mk | 8 ++++----
9 1 file changed, 4 insertions(+), 4 deletions(-)
10
11diff --git a/config.mk b/config.mk
12index 032bf9f..850afbf 100644
13--- a/config.mk
14+++ b/config.mk
15@@ -12,10 +12,10 @@ LIBDIR = $(LIBPREFIX)/surf
16 X11INC = `pkg-config --cflags x11`
17 X11LIB = `pkg-config --libs x11`
18
19-GTKINC = `pkg-config --cflags gtk+-3.0 gcr-3 webkit2gtk-4.0`
20-GTKLIB = `pkg-config --libs gtk+-3.0 gcr-3 webkit2gtk-4.0`
21-WEBEXTINC = `pkg-config --cflags webkit2gtk-4.0 webkit2gtk-web-extension-4.0 gio-2.0`
22-WEBEXTLIBS = `pkg-config --libs webkit2gtk-4.0 webkit2gtk-web-extension-4.0 gio-2.0`
23+GTKINC = `pkg-config --cflags gtk+-3.0 gcr-3 webkit2gtk-4.1`
24+GTKLIB = `pkg-config --libs gtk+-3.0 gcr-3 webkit2gtk-4.1`
25+WEBEXTINC = `pkg-config --cflags webkit2gtk-4.1 webkit2gtk-web-extension-4.1 gio-2.0`
26+WEBEXTLIBS = `pkg-config --libs webkit2gtk-4.1 webkit2gtk-web-extension-4.1 gio-2.0`
27
28 # includes and libs
29 INCS = $(X11INC) $(GTKINC)
30--
312.20.1
32
diff --git a/meta-oe/recipes-graphics/surf/surf_2.1.bb b/meta-oe/recipes-graphics/surf/surf_2.1.bb
index 307ee9b98..710ed9bce 100644
--- a/meta-oe/recipes-graphics/surf/surf_2.1.bb
+++ b/meta-oe/recipes-graphics/surf/surf_2.1.bb
@@ -11,7 +11,8 @@ REQUIRED_DISTRO_FEATURES = "x11 opengl"
11 11
12SRC_URI = "git://git.suckless.org/surf;branch=surf-webkit2 \ 12SRC_URI = "git://git.suckless.org/surf;branch=surf-webkit2 \
13 file://0001-config.mk-Fix-compiler-and-linker.patch \ 13 file://0001-config.mk-Fix-compiler-and-linker.patch \
14" 14 file://0001-config.ml-make-compatible-with-webkitgtk-2.34.0.patch \
15 "
15SRCREV = "bcd7d74e613fb8af11b40c351f0a6c1a771b2d2b" 16SRCREV = "bcd7d74e613fb8af11b40c351f0a6c1a771b2d2b"
16 17
17S = "${WORKDIR}/git" 18S = "${WORKDIR}/git"