diff options
| author | Leon Anavi <leon.anavi@konsulko.com> | 2021-05-18 18:17:22 +0300 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2021-05-19 09:17:49 -0700 |
| commit | 34277b5ac92f246aaa8c04ff772ce11005e53345 (patch) | |
| tree | d0433f2ce493e93f82e0e52e8add81a442a50850 | |
| parent | 417a344477180929a6e2ee8950451ad4cc4df69e (diff) | |
| download | meta-openembedded-34277b5ac92f246aaa8c04ff772ce11005e53345.tar.gz | |
surf: Upgrade 2.0 -> 2.1
Upgade Surf browser to release 2.1:
- Remove accelerated canvas parameter
- Remove external plugin handling
License-Update: Update contributors in file LICENSE
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-oe/recipes-graphics/surf/surf/0001-config.mk-Fix-compiler-and-linker.patch | 35 | ||||
| -rw-r--r-- | meta-oe/recipes-graphics/surf/surf_2.1.bb (renamed from meta-oe/recipes-graphics/surf/surf_2.0.bb) | 6 |
2 files changed, 14 insertions, 27 deletions
diff --git a/meta-oe/recipes-graphics/surf/surf/0001-config.mk-Fix-compiler-and-linker.patch b/meta-oe/recipes-graphics/surf/surf/0001-config.mk-Fix-compiler-and-linker.patch index fb90432eac..93f1a9f42e 100644 --- a/meta-oe/recipes-graphics/surf/surf/0001-config.mk-Fix-compiler-and-linker.patch +++ b/meta-oe/recipes-graphics/surf/surf/0001-config.mk-Fix-compiler-and-linker.patch | |||
| @@ -1,41 +1,28 @@ | |||
| 1 | From e97bb73851f5bbd94260da553a222526485cdfb1 Mon Sep 17 00:00:00 2001 | 1 | From 9de4f5fa81891e14e205fe61e1408f1218369e55 Mon Sep 17 00:00:00 2001 |
| 2 | From: Leon Anavi <leon.anavi@konsulko.com> | 2 | From: Leon Anavi <leon.anavi@konsulko.com> |
| 3 | Date: Fri, 15 Nov 2019 18:24:42 +0000 | 3 | Date: Tue, 18 May 2021 15:03:22 +0000 |
| 4 | Subject: [PATCH] config.mk: Fix compiler and linker | 4 | Subject: [PATCH] config.mk: Fix compiler and linker |
| 5 | 5 | ||
| 6 | Do not set explicitly compiler and linker. | 6 | Fix LIBS |
| 7 | 7 | ||
| 8 | Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> | 8 | Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> |
| 9 | --- | 9 | --- |
| 10 | config.mk | 8 ++++---- | 10 | config.mk | 2 +- |
| 11 | 1 file changed, 4 insertions(+), 4 deletions(-) | 11 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 12 | 12 | ||
| 13 | diff --git a/config.mk b/config.mk | 13 | diff --git a/config.mk b/config.mk |
| 14 | index df6e812..5deb991 100644 | 14 | index 2eb9fb0..032bf9f 100644 |
| 15 | --- a/config.mk | 15 | --- a/config.mk |
| 16 | +++ b/config.mk | 16 | +++ b/config.mk |
| 17 | @@ -15,17 +15,17 @@ GTKINC = `pkg-config --cflags gtk+-3.0 webkit2gtk-4.0` | 17 | @@ -19,7 +19,7 @@ WEBEXTLIBS = `pkg-config --libs webkit2gtk-4.0 webkit2gtk-web-extension-4.0 gio- |
| 18 | GTKLIB = `pkg-config --libs gtk+-3.0 webkit2gtk-4.0` | ||
| 19 | 18 | ||
| 20 | # includes and libs | 19 | # includes and libs |
| 21 | -INCS = -I. -I/usr/include -I${X11INC} ${GTKINC} | 20 | INCS = $(X11INC) $(GTKINC) |
| 22 | -LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 ${GTKLIB} -lgthread-2.0 | 21 | -LIBS = $(X11LIB) $(GTKLIB) -lgthread-2.0 |
| 23 | +INCS = ${GTKINC} | ||
| 24 | +LIBS = -lc -lX11 ${GTKLIB} -lgthread-2.0 | 22 | +LIBS = -lc -lX11 ${GTKLIB} -lgthread-2.0 |
| 25 | 23 | ||
| 26 | # flags | 24 | # flags |
| 27 | CPPFLAGS = -DVERSION=\"${VERSION}\" -DWEBEXTDIR=\"${LIBPREFIX}\" -D_DEFAULT_SOURCE | 25 | CPPFLAGS = -DVERSION=\"$(VERSION)\" -DGCR_API_SUBJECT_TO_CHANGE \ |
| 28 | CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS} | ||
| 29 | -LDFLAGS = -s ${LIBS} | ||
| 30 | +LDFLAGS = ${LIBS} | ||
| 31 | |||
| 32 | # Solaris | ||
| 33 | #CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\" | ||
| 34 | #LDFLAGS = ${LIBS} | ||
| 35 | |||
| 36 | # compiler and linker | ||
| 37 | -CC = cc | ||
| 38 | +CC ?= cc | ||
| 39 | -- | 26 | -- |
| 40 | 2.7.4 | 27 | 2.17.1 |
| 41 | 28 | ||
diff --git a/meta-oe/recipes-graphics/surf/surf_2.0.bb b/meta-oe/recipes-graphics/surf/surf_2.1.bb index 989730186a..307ee9b981 100644 --- a/meta-oe/recipes-graphics/surf/surf_2.0.bb +++ b/meta-oe/recipes-graphics/surf/surf_2.1.bb | |||
| @@ -3,16 +3,16 @@ DESCRIPTION = "Simple open source web browser based on WebKit2/GTK" | |||
| 3 | HOMEPAGE = "https://surf.suckless.org/" | 3 | HOMEPAGE = "https://surf.suckless.org/" |
| 4 | SECTION = "x11/graphics" | 4 | SECTION = "x11/graphics" |
| 5 | LICENSE = "MIT" | 5 | LICENSE = "MIT" |
| 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=b57e7f7720307a02d5a6598b00fe3afa" | 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=2a6f86d002ae9ae1eb1ccc466289f146" |
| 7 | 7 | ||
| 8 | DEPENDS = "webkitgtk gtk+3 glib-2.0" | 8 | DEPENDS = "webkitgtk gtk+3 glib-2.0 gcr" |
| 9 | 9 | ||
| 10 | REQUIRED_DISTRO_FEATURES = "x11 opengl" | 10 | REQUIRED_DISTRO_FEATURES = "x11 opengl" |
| 11 | 11 | ||
| 12 | SRC_URI = "git://git.suckless.org/surf;branch=surf-webkit2 \ | 12 | SRC_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 | " |
| 15 | SRCREV = "b814567e2bf8bda07cea8de1c7a062f4aa437b65" | 15 | SRCREV = "bcd7d74e613fb8af11b40c351f0a6c1a771b2d2b" |
| 16 | 16 | ||
| 17 | S = "${WORKDIR}/git" | 17 | S = "${WORKDIR}/git" |
| 18 | 18 | ||
