diff options
| -rw-r--r-- | meta-oe/recipes-graphics/surf/surf/0001-config.ml-make-compatible-with-webkitgtk-2.34.0.patch | 42 | ||||
| -rw-r--r-- | meta-oe/recipes-graphics/surf/surf_2.1.bb | 12 |
2 files changed, 2 insertions, 52 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 deleted file mode 100644 index d273d1459f..0000000000 --- a/meta-oe/recipes-graphics/surf/surf/0001-config.ml-make-compatible-with-webkitgtk-2.34.0.patch +++ /dev/null | |||
| @@ -1,42 +0,0 @@ | |||
| 1 | From 0cd38e6dbcaff7eef39fd46a60ff8a47e5f488c4 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Alexander Kanavin <alex@linutronix.de> | ||
| 3 | Date: Sun, 3 Oct 2021 23:08:48 +0200 | ||
| 4 | Subject: [PATCH] config.ml: make compatible with webkitgtk 2.34.0 | ||
| 5 | |||
| 6 | Signed-off-by: Alexander Kanavin <alex@linutronix.de> | ||
| 7 | --- | ||
| 8 | Upstream-Status: Pending | ||
| 9 | |||
| 10 | config.mk | 8 ++++---- | ||
| 11 | 1 file changed, 4 insertions(+), 4 deletions(-) | ||
| 12 | |||
| 13 | --- a/config.mk | ||
| 14 | +++ b/config.mk | ||
| 15 | @@ -2,6 +2,7 @@ | ||
| 16 | VERSION = 2.1 | ||
| 17 | |||
| 18 | # Customize below to fit your system | ||
| 19 | +PKG_CONFIG ?= pkg-config | ||
| 20 | |||
| 21 | # paths | ||
| 22 | PREFIX = /usr/local | ||
| 23 | @@ -9,13 +10,13 @@ MANPREFIX = $(PREFIX)/share/man | ||
| 24 | LIBPREFIX = $(PREFIX)/lib | ||
| 25 | LIBDIR = $(LIBPREFIX)/surf | ||
| 26 | |||
| 27 | -X11INC = `pkg-config --cflags x11` | ||
| 28 | -X11LIB = `pkg-config --libs x11` | ||
| 29 | +X11INC = $(shell $(PKG_CONFIG) --cflags x11) | ||
| 30 | +X11LIB = $(shell $(PKG_CONFIG) --libs x11) | ||
| 31 | |||
| 32 | -GTKINC = `pkg-config --cflags gtk+-3.0 gcr-3 webkit2gtk-4.0` | ||
| 33 | -GTKLIB = `pkg-config --libs gtk+-3.0 gcr-3 webkit2gtk-4.0` | ||
| 34 | -WEBEXTINC = `pkg-config --cflags webkit2gtk-4.0 webkit2gtk-web-extension-4.0 gio-2.0` | ||
| 35 | -WEBEXTLIBS = `pkg-config --libs webkit2gtk-4.0 webkit2gtk-web-extension-4.0 gio-2.0` | ||
| 36 | +GTKINC = $(shell $(PKG_CONFIG) --cflags gtk+-3.0 gcr-3 webkit2gtk-4.1) | ||
| 37 | +GTKLIB = $(shell $(PKG_CONFIG) --libs gtk+-3.0 gcr-3 webkit2gtk-4.1) | ||
| 38 | +WEBEXTINC = $(shell $(PKG_CONFIG) --cflags webkit2gtk-4.1 webkit2gtk-web-extension-4.1 gio-2.0) | ||
| 39 | +WEBEXTLIBS = $(shell $(PKG_CONFIG) --libs webkit2gtk-4.1 webkit2gtk-web-extension-4.1 gio-2.0) | ||
| 40 | |||
| 41 | # includes and libs | ||
| 42 | INCS = $(X11INC) $(GTKINC) | ||
diff --git a/meta-oe/recipes-graphics/surf/surf_2.1.bb b/meta-oe/recipes-graphics/surf/surf_2.1.bb index 258c78e509..6da7a0d93e 100644 --- a/meta-oe/recipes-graphics/surf/surf_2.1.bb +++ b/meta-oe/recipes-graphics/surf/surf_2.1.bb | |||
| @@ -9,20 +9,12 @@ DEPENDS = "webkitgtk3 gtk+3 glib-2.0 gcr3" | |||
| 9 | 9 | ||
| 10 | REQUIRED_DISTRO_FEATURES = "x11 opengl" | 10 | REQUIRED_DISTRO_FEATURES = "x11 opengl" |
| 11 | 11 | ||
| 12 | SRCREV = "665a709b522a6fa18c671f1fc41297603292d0e8" | 12 | SRCREV = "48517e586cdc98bc1af7115674b554cc70c8bc2e" |
| 13 | SRC_URI = "git://git.suckless.org/surf;branch=surf-webkit2 \ | 13 | SRC_URI = "git://git.suckless.org/surf;branch=surf-webkit2 \ |
| 14 | file://0001-config.mk-Fix-compiler-and-linker.patch \ | ||
| 14 | " | 15 | " |
| 15 | SRC_URI += "${@bb.utils.contains('PACKAGECONFIG', 'soup3', 'file://0001-config.mk-Fix-compiler-and-linker.patch file://0001-config.ml-make-compatible-with-webkitgtk-2.34.0.patch', '', d)}" | ||
| 16 | |||
| 17 | |||
| 18 | inherit pkgconfig features_check | 16 | inherit pkgconfig features_check |
| 19 | 17 | ||
| 20 | PACKAGECONFIG_SOUP ?= "soup3" | ||
| 21 | PACKAGECONFIG ??= "${PACKAGECONFIG_SOUP}" | ||
| 22 | |||
| 23 | PACKAGECONFIG[soup2] = ",,," | ||
| 24 | PACKAGECONFIG[soup3] = ",,," | ||
| 25 | |||
| 26 | TARGET_CC_ARCH += "${LDFLAGS}" | 18 | TARGET_CC_ARCH += "${LDFLAGS}" |
| 27 | 19 | ||
| 28 | do_install () { | 20 | do_install () { |
