Skip to contentSkip to conversation

The big webkitgtk bump

PATCH Superseded Gustavo Zacarias 3 participants 12 messages Jul 14, 2015 Kbuild

v5 of 6 Superseded Latest is v6 →

lore
Share & tools
lore
#0 lore raw

v5 cover The big webkitgtk bump

Fifth take at the webkit/midori bump...

There's support for libgtk2 & libgtk3, though libgtk2 is always needed for the plugin system.

GL* support was only tested via mesa software renderer.

Wayland support wasn't enabled because it still needs gtk2 (plugins) - this could possibly be patched away.

Multimedia support is automatic via detection of gst1-plugins-base, ideally this should be an option but right now opencv+gst generate a dependency loop if gstreamer1 is selected. Also codecs will need to be catered by the user via the appropiate gst selects.

MIPS support was disabled pending libatomic support for __sync_fetch_and_add_8 which is handled there for some 32-bit architectures.
Update for v2: MIPS(eb) SIGBUSes, so disabled in general, kept the libatomic tweak for reference. MIPSel untested.
Update for v4: Little-endian works so enabled.

Possible TODOs:
Wayland in a proper way, granite support, gcr support, more arch testing/support.

v5:
* Add license info to webkitgtk24 [Yann]
* Avoid MAKE_VERSION clobber [Yann / Gustavo]
* Bump vala to 0.28 and patch midori [Gustavo]

v4:
* Bump to version 2.4.9 [Gustavo]

* Install MiniBrowser (the test browser for gtk3+) [Gustavo]

* Enable mipsel & mips64el [Gustavo]
These seem to work with the emulator, only big-endian is broken.

* Fix make 3.81 workaround, it was doing the opposite [Gustavo]

* Add libatomic fix for SuperH as well [Gustavo] It's required to build properly, but runtime testing says it doesn't work, though it might be related with Qemu not being able to emulate more than 64MB RAM for sh4-r2d.

* Update deprecation version to 2015.08

v3:
* Work around make 3.81 looping bug for webkitgtk24. [Gustavo]

* Fold libatomic patches.
webkitgtk24 requires libatomic for i386 support. While a better solution is desirable for other packages such as strongswan on microblazeel there's no final solution yet, and it most likely will require copying them anyway. [Gustavo]

* Add host variants of: harfbuzz, cairo, pango, librsvg. host-librsvg is required by midori for rsvg-convert. The rest are just dependencies of host-librsvg. [Gustavo]

v2:
* Needs NPTL [Gustavo]
It uses pthread_getattr_np()

* Handle libatomic [Gustavo]
Needed for i386, mips & mipsel at least.

* Deprecate libgail, no longer used by any package [Gustavo]

v1:

* Bump webkitgtk to version 2.4.x in a versioned package. This is because midori can't use 2.6.x or 2.8.x and this way we can have another webkitgtk package in parallel for other uses. The series is still security-supported upstream.

* Bump midori to version 0.5.9.
No effort was made to enable support for the old webkit 1.x. series, it may be possible to do so but it makes no sense.

* Deprecate old webkit package.
Security bugs, build issues, general instability.

Gustavo Zacarias (6):
Makefile: save MAKE_VERSION
webkitgtk24: new package
midori: bump to version 0.5.9
vala: bump to version 0.28.0
webkit: mark as deprecated
libgail: mark as deprecated

 Makefile                                    |   7 +-
 package/Config.in                           |   1 +
 package/libgail/Config.in                   |   2 +
 package/midori/0001-disable-libnotify.patch |  43 ++++++++++
 package/midori/0002-new-vala.patch          |  26 ++++++
 package/midori/Config.in                    |  39 ++++++---
 package/midori/midori.hash                  |   2 +
 package/midori/midori.mk                    |  54 ++++++-------
 package/vala/vala.hash                      |   4 +-
 package/vala/vala.mk                        |   4 +-
 package/webkit/Config.in                    |   3 +
 package/webkitgtk24/0001-fix-ppc32.patch    |  34 ++++++++
 package/webkitgtk24/Config.in               |  59 ++++++++++++++
 package/webkitgtk24/webkitgtk24.hash        |   2 +
 package/webkitgtk24/webkitgtk24.mk          | 120 ++++++++++++++++++++++++++++
 15 files changed, 355 insertions(+), 45 deletions(-)
 create mode 100644 package/midori/0001-disable-libnotify.patch
 create mode 100644 package/midori/0002-new-vala.patch
 create mode 100644 package/midori/midori.hash
 create mode 100644 package/webkitgtk24/0001-fix-ppc32.patch
 create mode 100644 package/webkitgtk24/Config.in
 create mode 100644 package/webkitgtk24/webkitgtk24.hash
 create mode 100644 package/webkitgtk24/webkitgtk24.mk
Signature · 1 line
2.3.6
#1 lore raw

PATCH v5 1/6 Makefile: save MAKE_VERSION

Save MAKE_VERSION as RUNNING_MAKE_VERSION since this is later clobbered by the make package.

It will be used by the webkitgtk24 package to check for older make versions which have a bug building it with parallel jobs (it hangs).

---
 Makefile | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
Makefile +5 -2
index 9a18853..06ca929 100644
@@ -43,10 +43,13 @@ all:
 # Set and export the version string
 export BR2_VERSION := 2015.08-git
 
+# Save running make version since it's clobbered by the make package
+RUNNING_MAKE_VERSION = $(MAKE_VERSION)
+
 # Check for minimal make version (note: this check will break at make 10.x)
 MIN_MAKE_VERSION = 3.81
-ifneq ($(firstword $(sort $(MAKE_VERSION) $(MIN_MAKE_VERSION))),$(MIN_MAKE_VERSION))
-$(error You have make '$(MAKE_VERSION)' installed. GNU make >= $(MIN_MAKE_VERSION) is required)
+ifneq ($(firstword $(sort $(RUNNING_MAKE_VERSION) $(MIN_MAKE_VERSION))),$(MIN_MAKE_VERSION))
+$(error You have make '$(RUNNING_MAKE_VERSION)' installed. GNU make >= $(MIN_MAKE_VERSION) is required)
 endif
 
 export HOSTARCH := $(shell uname -m | \
Signature · 1 line
2.3.6
#2 lore raw

PATCH v5 1/6 Makefile: save MAKE_VERSION

Quoted 16 lines · Gustavo Zacarias

Save MAKE_VERSION as RUNNING_MAKE_VERSION since this is later clobbered by the make package.

It will be used by the webkitgtk24 package to check for older make versions which have a bug building it with parallel jobs (it hangs).

---
 Makefile | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
Makefile +0 -0
index 9a18853..06ca929 100644

Makefile all: · line 47

Quoted 5 lines
Makefile +2 -0
@@ -43,10 +43,13 @@ all:
 # Set and export the version string
 export BR2_VERSION := 2015.08-git
 
+# Save running make version since it's clobbered by the make package
+RUNNING_MAKE_VERSION = $(MAKE_VERSION)

Shouldn't this be := instead of = ? Otherwise it will still be clobbered, no?

Otherwise:

Regards,
Arnout

Quoted 11 lines
Makefile +3 -2
+
 # Check for minimal make version (note: this check will break at make 10.x)
 MIN_MAKE_VERSION = 3.81
-ifneq ($(firstword $(sort $(MAKE_VERSION) $(MIN_MAKE_VERSION))),$(MIN_MAKE_VERSION))
-$(error You have make '$(MAKE_VERSION)' installed. GNU make >= $(MIN_MAKE_VERSION) is required)
+ifneq ($(firstword $(sort $(RUNNING_MAKE_VERSION) $(MIN_MAKE_VERSION))),$(MIN_MAKE_VERSION))
+$(error You have make '$(RUNNING_MAKE_VERSION)' installed. GNU make >= $(MIN_MAKE_VERSION) is required)
 endif
 
 export HOSTARCH := $(shell uname -m | \
Signature · 6 lines
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
#3 lore raw

PATCH v5 1/6 Makefile: save MAKE_VERSION

Quoted 10 lines · Arnout Vandecappelle

Makefile all: · line 47

Quoted 2 lines
Makefile +2 -0
+# Save running make version since it's clobbered by the make package
+RUNNING_MAKE_VERSION = $(MAKE_VERSION)

Shouldn't this be := instead of = ? Otherwise it will still be clobbered, no?

Otherwise:

Regards,
Arnout

So very true!
I'll send v2, it can be applied separately, albeit before, webkit & minions. Regards.

#4 lore raw

PATCH v5 2/6 webkitgtk24: new package

In reply to Gustavo Zacarias

Add new webkitgtk24 package.

The difference with the legacy webkit package is that this one uses the new webkit2 API, and optionally the webkit1 API.

It's versioned because the latest release of midori can't use the newer 2.6.x or 2.8.x webkitgtk versions yet.

This paves the way for a newer webkitgtk26 or webkitgtk28 package that can live side-by-side with this one for other uses.

Some loose checks (like !xorg7) are in place for possible/future wayland support.
Right now wayland requires gtk2, hence xorg, but it might be possible to patch that out with some work (it seems to be done for version 2.6.x, though the build system changed to cmake so it might not be a straighfoward patch).

Choices had to be made in the GL-area, right now the preference order is libGL (full OpenGL), then GLES, then nothing (obviously). And when gtk3 is around it's also preferred as well.

---
 package/Config.in                        |   1 +
 package/webkitgtk24/0001-fix-ppc32.patch |  34 +++++++++
 package/webkitgtk24/Config.in            |  59 +++++++++++++++
 package/webkitgtk24/webkitgtk24.hash     |   2 +
 package/webkitgtk24/webkitgtk24.mk       | 120 +++++++++++++++++++++++++++++++
 5 files changed, 216 insertions(+)
 create mode 100644 package/webkitgtk24/0001-fix-ppc32.patch
 create mode 100644 package/webkitgtk24/Config.in
 create mode 100644 package/webkitgtk24/webkitgtk24.hash
 create mode 100644 package/webkitgtk24/webkitgtk24.mk
package/Config.in +1 -0
index 8e977f9..bd096ba 100644
@@ -819,6 +819,7 @@ menu "Graphics"
 	source "package/tiff/Config.in"
 	source "package/wayland/Config.in"
 	source "package/webkit/Config.in"
+	source "package/webkitgtk24/Config.in"
 	source "package/webp/Config.in"
 	source "package/zxing/Config.in"
 endmenu
package/webkitgtk24/0001-fix-ppc32.patch new file +34 -0
new file mode 100644
index 0000000..c655a0e
@@ -0,0 +1,34 @@
+From https://bugs.webkit.org/show_bug.cgi?id=130837
+
+Signed-off-by: Gustavo Zacarias <[email protected]>
+
+diff -Nura webkitgtk-2.4.8/Source/WebKit2/Platform/IPC/Connection.h webkitgtk-2.4.8-ppc/Source/WebKit2/Platform/IPC/Connection.h
+--- webkitgtk-2.4.8/Source/WebKit2/Platform/IPC/Connection.h	2015-01-07 06:45:43.000000000 -0300
++++ webkitgtk-2.4.8-ppc/Source/WebKit2/Platform/IPC/Connection.h	2015-04-20 01:55:41.554547510 -0300
+@@ -216,7 +216,11 @@
+ 
+     Client* m_client;
+     bool m_isServer;
++#if CPU(PPC)
++    uint64_t m_syncRequestID;
++#else
+     std::atomic<uint64_t> m_syncRequestID;
++#endif
+ 
+     bool m_onlySendMessagesAsDispatchWhenWaitingForSyncReplyWhenProcessingSuchAMessage;
+     bool m_shouldExitOnSyncMessageSendFailure;
+diff -Nura webkitgtk-2.4.8/Source/WebKit2/UIProcess/StatisticsRequest.cpp webkitgtk-2.4.8-ppc/Source/WebKit2/UIProcess/StatisticsRequest.cpp
+--- webkitgtk-2.4.8/Source/WebKit2/UIProcess/StatisticsRequest.cpp	2015-01-07 06:45:43.000000000 -0300
++++ webkitgtk-2.4.8-ppc/Source/WebKit2/UIProcess/StatisticsRequest.cpp	2015-04-20 01:55:41.555547544 -0300
+@@ -44,7 +44,11 @@
+ 
+ uint64_t StatisticsRequest::addOutstandingRequest()
+ {
++#if CPU(PPC)
++    static int64_t uniqueRequestID;
++#else
+     static std::atomic<int64_t> uniqueRequestID;
++#endif
+ 
+     uint64_t requestID = ++uniqueRequestID;
+     m_outstandingRequests.add(requestID);
package/webkitgtk24/Config.in new file +59 -0

59 lines not on this page · raw message

package/webkitgtk24/webkitgtk24.hash new file +2 -0
new file mode 100644
index 0000000..bd1754e
@@ -0,0 +1,2 @@
+# From http://www.webkitgtk.org/releases/webkitgtk-2.4.9.tar.xz.sha1
+sha1	fbe02db8a4f01a70e7cdf0d16f8a18463e18b104	webkitgtk-2.4.9.tar.xz
package/webkitgtk24/webkitgtk24.mk new file +120 -0

120 lines not on this page · raw message

Signature · 1 line
2.3.6
#5 lore raw

PATCH v5 3/6 midori: bump to version 0.5.9

In reply to Gustavo Zacarias

Bump to version 0.5.9 which uses the new webkit2 API (gtk3) or alternatively fallback to webkit1 compatibility API (gtk2). The old webkit is completely unsupported now, it makes no sense because of instability and security issues.

Even though there's a newer midori 0.5.10 release it was skipped on purpose since it's very unstable.

---
 package/midori/0001-disable-libnotify.patch | 43 +++++++++++++++++++++++
 package/midori/0002-new-vala.patch          | 26 ++++++++++++++
 package/midori/Config.in                    | 39 ++++++++++++++-------
 package/midori/midori.hash                  |  2 ++
 package/midori/midori.mk                    | 54 ++++++++++++++---------------
 5 files changed, 125 insertions(+), 39 deletions(-)
 create mode 100644 package/midori/0001-disable-libnotify.patch
 create mode 100644 package/midori/0002-new-vala.patch
 create mode 100644 package/midori/midori.hash
package/midori/0001-disable-libnotify.patch new file +43 -0
new file mode 100644
index 0000000..830ecff
@@ -0,0 +1,43 @@
+Disable libnotify support, we've got no package and it's not very useful
+in embedded targets anyway.
+The webmedia extension requires libnotify as well.
+
+Signed-off-by: Gustavo Zacarias <[email protected]>
+
+diff -Nura midori-0.5.9.orig/CMakeLists.txt midori-0.5.9/CMakeLists.txt
+--- midori-0.5.9.orig/CMakeLists.txt	2015-03-30 15:57:29.554632932 -0300
++++ midori-0.5.9/CMakeLists.txt	2015-03-30 15:57:35.299830192 -0300
+@@ -143,16 +143,7 @@
+     endif ()
+ endif ()
+ 
+-if (WIN32)
+-    add_definitions("-DLIBNOTIFY_VERSION=\"No\"")
+-else ()
+-    pkg_check_modules(NOTIFY REQUIRED libnotify)
+-    add_definitions("-DLIBNOTIFY_VERSION=\"${NOTIFY_VERSION}\"")
+-    add_definitions("-DHAVE_LIBNOTIFY")
+-    set(OPTS_INCLUDE_DIRS "${OPTS_INCLUDE_DIRS};${NOTIFY_INCLUDE_DIRS}")
+-    set(OPTS_LIBRARIES "${OPTS_LIBRARIES};${NOTIFY_LIBRARIES}")
+-    set(PKGS ${PKGS} libnotify)
+-endif ()
++add_definitions("-DLIBNOTIFY_VERSION=\"No\"")
+ 
+ option(USE_GTK3 "Use GTK+3" OFF)
+ option(HALF_BRO_INCOM_WEBKIT2 "Serve as a guniea pig" OFF)
+diff -Nura midori-0.5.9.orig/extensions/CMakeLists.txt midori-0.5.9/extensions/CMakeLists.txt
+--- midori-0.5.9.orig/extensions/CMakeLists.txt	2015-03-30 15:57:29.544632589 -0300
++++ midori-0.5.9/extensions/CMakeLists.txt	2015-03-30 15:57:51.777395949 -0300
+@@ -24,11 +24,7 @@
+          )
+ endif ()
+ 
+-# FIXME: re-enable webmedia extension
+-# once we have working notifications on win
+-if (WIN32)
+-    list(REMOVE_ITEM EXTENSIONS "webmedia-now-playing.vala")
+-endif()
++list(REMOVE_ITEM EXTENSIONS "webmedia-now-playing.vala")
+ 
+ foreach(UNIT_SRC ${EXTENSIONS})
+     string(FIND ${UNIT_SRC} ".c" UNIT_EXTENSION)
package/midori/0002-new-vala.patch new file +26 -0
new file mode 100644
index 0000000..600ff49
@@ -0,0 +1,26 @@
+Fix build with newer (0.28+) vala versions, from:
+http://www.linuxquestions.org/questions/slackware-14/midori-compile-fail-ambiguous-reference-between-glib-and-gtk-4175542325/
+
+Signed-off-by: Gustavo Zacarias <[email protected]>
+
+diff -Nura midori-0.5.9.orig/extensions/history-list.vala midori-0.5.9/extensions/history-list.vala
+--- midori-0.5.9.orig/extensions/history-list.vala	2015-07-03 21:05:01.183360199 -0300
++++ midori-0.5.9/extensions/history-list.vala	2015-07-03 21:05:48.959900926 -0300
+@@ -319,7 +319,7 @@
+         }
+ 
+         private void create_widgets () {
+-            ListStore model;
++            Gtk.ListStore model;
+             TreeIter iter;
+             TreeIter? active_iter = null;
+ 
+@@ -331,7 +331,7 @@
+ 
+             var tab_closing_behavior = this.hl_manager.get_integer ("TabClosingBehavior");
+ 
+-            model = new ListStore (2, typeof (string), typeof (int));
++            model = new Gtk.ListStore (2, typeof (string), typeof (int));
+ 
+             model.append (out iter);
+             model.set (iter, TabClosingBehaviorModel.TEXT, _("Do nothing"),
package/midori/Config.in +27 -12
index c3b5a1b..b3ab8a9 100644
@@ -1,20 +1,35 @@
+comment "midori needs libgtk2 and a toolchain w/ C++, wchar, NPTL"
+	depends on BR2_PACKAGE_WEBKITGTK24_ARCH_SUPPORTS
+	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
+		!BR2_TOOLCHAIN_HAS_THREADS_NPTL || !BR2_PACKAGE_LIBGTK2
+
 config BR2_PACKAGE_MIDORI
 	bool "midori"
-	select BR2_PACKAGE_WEBKIT
-	select BR2_PACKAGE_LIBSEXY
+	select BR2_PACKAGE_LIBSOUP
+	select BR2_PACKAGE_LIBSOUP_GNOME
+	select BR2_PACKAGE_LIBXML2
+	select BR2_PACKAGE_SQLITE
+	select BR2_PACKAGE_WEBKITGTK24
 	select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
 	select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
-	depends on BR2_PACKAGE_LIBGTK2
-	depends on BR2_INSTALL_LIBSTDCPP # webkit
-	depends on BR2_TOOLCHAIN_HAS_THREADS # webkit -> enchant -> libglib2
-	depends on BR2_USE_WCHAR	 # webkit
-	depends on BR2_PACKAGE_WEBKIT_ARCH_SUPPORTS
+	depends on (BR2_PACKAGE_LIBGTK2 && BR2_PACKAGE_XORG7)
+	depends on BR2_INSTALL_LIBSTDCPP # webkitgtk24
+	depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # webkitgtk24
+	depends on BR2_USE_WCHAR # webkitgtk24
+	depends on BR2_PACKAGE_WEBKITGTK24_ARCH_SUPPORTS
 	help
 	  Midori is a lightweight web browser based on WebKit
 
-	  http://software.twotoasts.de/?page=midori
+	  http://www.midori-browser.org/
 
-comment "midori needs libgtk2 and a toolchain w/ C++, wchar, threads"
-	depends on BR2_PACKAGE_WEBKIT_ARCH_SUPPORTS
-	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
-		!BR2_TOOLCHAIN_HAS_THREADS || !BR2_PACKAGE_LIBGTK2
+if BR2_PACKAGE_MIDORI
+
+config BR2_PACKAGE_MIDORI_HTTPS
+	bool "HTTPS support"
+	select BR2_PACKAGE_CA_CERTIFICATES # runtime
+	select BR2_PACKAGE_GLIB_NETWORKING
+	select BR2_PACKAGE_GNUTLS # for glib-networking
+	help
+	  Enable HTTPS protocol support
+
+endif
package/midori/midori.hash new file +2 -0
new file mode 100644
index 0000000..7aae4c1
@@ -0,0 +1,2 @@
+# From download link @ http://midori-browser.org/download/source/
+sha1	475614dcc89a214a3c2fdc2aaefc817a5fa0ca03	midori_0.5.9_all_.tar.bz2
package/midori/midori.mk +27 -27

72 lines not on this page · raw message

Signature · 1 line
2.3.6
#6 lore raw

PATCH v5 4/6 vala: bump to version 0.28.0

In reply to Gustavo Zacarias
---
 package/vala/vala.hash | 4 ++--
 package/vala/vala.mk   | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
package/vala/vala.hash +2 -2
index fcaa0e1..063ec21 100644
@@ -1,2 +1,2 @@
-# From https://download.gnome.org/sources/vala/0.26/vala-0.26.2.sha256sum
-sha256	37f13f430c56a93b6dac85239084681fd8f31c407d386809c43bc2f2836e03c4	vala-0.26.2.tar.xz
+# From https://download.gnome.org/sources/vala/0.28/vala-0.28.0.sha256sum
+sha256	0d9e3bd3f82145664875f7c29b2f544ba92d2814f75412948f774c0727fc977f	vala-0.28.0.tar.xz
package/vala/vala.mk +2 -2
index 573e1e4..9dedd8f 100644
@@ -4,8 +4,8 @@
 #
 ################################################################################
 
-VALA_VERSION_MAJOR = 0.26
-VALA_VERSION = $(VALA_VERSION_MAJOR).2
+VALA_VERSION_MAJOR = 0.28
+VALA_VERSION = $(VALA_VERSION_MAJOR).0
 VALA_SITE = http://download.gnome.org/sources/vala/$(VALA_VERSION_MAJOR)
 VALA_SOURCE = vala-$(VALA_VERSION).tar.xz
 VALA_LICENSE = LGPLv2.1+
Signature · 1 line
2.3.6
#7 lore raw

PATCH v5 4/6 vala: bump to version 0.28.0

Dear Gustavo Zacarias,

Quoted 5 lines · Gustavo Zacarias
---
 package/vala/vala.hash | 4 ++--
 package/vala/vala.mk   | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

Applied, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#8 lore raw

PATCH v5 4/6 vala: bump to version 0.28.0

Quoted 10 lines · Thomas Petazzoni

Dear Gustavo Zacarias,

Quoted 5 lines · Gustavo Zacarias
---
  package/vala/vala.hash | 4 ++--
  package/vala/vala.mk   | 4 ++--
  2 files changed, 4 insertions(+), 4 deletions(-)

Applied, thanks.

I haven't tested but this may break current midori, so revert in case it does (it even breaks 0.5.9 without patching).
gmpc is not affected though.
Regards.

#9 lore raw

PATCH v5 4/6 vala: bump to version 0.28.0

Dear Gustavo Zacarias,

Quoted 3 lines · Gustavo Zacarias

I haven't tested but this may break current midori, so revert in case it does (it even breaks 0.5.9 without patching).
gmpc is not affected though.

Argh, hum, ok. We'll see. It should boost us to apply your webkit and midori patches.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#10 lore raw

PATCH v5 5/6 webkit: mark as deprecated

In reply to Gustavo Zacarias

Mark webkit as deprecated now that midori has been updated to use webkitgtk24.
It has multiple CVEs under it's belt and is no longer maintained upstream.

---
 package/webkit/Config.in | 3 +++
 1 file changed, 3 insertions(+)
package/webkit/Config.in +3 -0
index 2f0b90d..7f0d1e4 100644
@@ -5,11 +5,13 @@ config BR2_PACKAGE_WEBKIT_ARCH_SUPPORTS
 	default y if BR2_i386 || BR2_mips || BR2_mipsel || \
 		BR2_sparc || BR2_x86_64
 	depends on BR2_USE_MMU # libgail -> pango -> libglib2
+	depends on BR2_DEPRECATED_SINCE_2015_08
 
 # disabled on powerpc due to bug https://bugs.webkit.org/show_bug.cgi?id=113638
 
 config BR2_PACKAGE_WEBKIT
 	bool "webkit"
+	depends on BR2_DEPRECATED_SINCE_2015_08
 	depends on BR2_INSTALL_LIBSTDCPP
 	depends on BR2_USE_WCHAR # enchant -> libglib2
 	depends on BR2_TOOLCHAIN_HAS_THREADS # enchant -> libglib2; icu
@@ -43,6 +45,7 @@ config BR2_PACKAGE_WEBKIT
 	  http://webkit.org/
 
 comment "webkit needs libgtk2 and a toolchain w/ C++, wchar, threads"
+	depends on BR2_DEPRECATED_SINCE_2015_08
 	depends on BR2_PACKAGE_WEBKIT_ARCH_SUPPORTS
 	depends on BR2_ARCH_HAS_ATOMICS # cairo
 	depends on !BR2_PACKAGE_LIBGTK2 || !BR2_INSTALL_LIBSTDCPP || \
Signature · 1 line
2.3.6
#11 lore raw

PATCH v5 6/6 libgail: mark as deprecated

In reply to Gustavo Zacarias

Mark libgail as deprecated now that midori has been updated to use webkitgtk24 and the only package that uses it (webkit) has been deprecated.

---
 package/libgail/Config.in | 2 ++
 1 file changed, 2 insertions(+)
package/libgail/Config.in +2 -0
index 3967083..5e4f03b 100644
@@ -6,6 +6,7 @@ config BR2_PACKAGE_LIBGAIL
 	depends on BR2_INSTALL_LIBSTDCPP # pango -> freetype
 	depends on BR2_ARCH_HAS_ATOMICS # pango -> cairo
 	depends on BR2_PACKAGE_LIBGTK2
+	depends on BR2_DEPRECATED_SINCE_2015_08
 	select BR2_PACKAGE_PANGO
 	help
 	  GAIL provides accessibility support for gtk+ and
@@ -27,3 +28,4 @@ comment "libgail needs a toolchain w/ C++, wchar, threads"
 	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
 	depends on BR2_USE_MMU
 	depends on BR2_ARCH_HAS_ATOMICS
+	depends on BR2_DEPRECATED_SINCE_2015_08
Signature · 1 line
2.3.6