Add libgtk3 and bump webkit to version 2.4.3
cover Add libgtk3 and bump webkit to version 2.4.3
Hello all,
This series mainly does two things: add libgtk3 and bump webkit.
- 1..5: requirements and dependencies for libgtk3
- 6: add libgtk3
- 7: bump webkit
- 8: is required by Midori
- 9: bump Midori to test WebKit 2.4.3
For now, only X11 support is done and tested for both libgtk3 and webkit. Wayland support will be done later.
Tests:
* All is compiled-tested (with GTK+2 and GTK+3 for WebKit and Midori).
* Running tests were done for libgtk3 (with gtk3-demo) and Midori GTK+2 with WebKit GTK+2 and webkit1 (on Qemu and BeagleBone Black).
For testing you will need GCC 4.8 because WebKit needs at least version 4.8 (see commit message) and X.org needs a version lesser than 4.9 (see this issue:
http://lists.busybox.net/pipermail/buildroot/2014-June/098679.html).
There is still a weird problem with WebKit: parallel make with Make 3.81 results in a make hang on:
CXXLD libWebCoreSVG.la
This is reproducible.
You can find a defconfig for Qemu here:
http://bpaste.net/show/fR3jDhQPmtUHPYpGoiUn/
Best regards,
Hadrien
---
Hadrien Boutteville (9):
libglib2: bump to version 2.40.0
pango: bump to version 1.36.3
cairo: add freetype and gobject support
at-spi2-core: new package
at-spi2-atk: new package
libgtk3: new package
webkit: bump to version 2.4.3
libsoup: add libsoup-gnome support
midori: bump to version 0.5.8
package/Config.in | 3 + package/at-spi2-atk/Config.in | 16 + package/at-spi2-atk/at-spi2-atk.mk | 19 + package/at-spi2-core/Config.in | 17 + ...se-AC_CHECK_ALIGNOF-instead-of-custom-DBI.patch | 79 ++ package/at-spi2-core/at-spi2-core.mk | 24 + package/cairo/cairo.mk | 14 + ...ror-format-string-errors-from-mismatched-.patch | 56 - package/libglib2/libglib2-0002-no-gtk-doc.patch | 25 + package/libglib2/libglib2.mk | 4 +- package/libgtk3/Config.in | 47 + package/libgtk3/libgtk3-0001-no-gtk-doc.patch | 11 + .../libgtk3-0002-add-file-introspection-m4.patch | 100 ++ package/libgtk3/libgtk3.mk | 184 +++ package/libsoup/Config.in | 5 + package/libsoup/libsoup.mk | 8 +- package/midori/Config.in | 15 +- .../midori-0001-remove-libnotify-dependency.patch | 27 + package/midori/midori.mk | 51 +- package/pango/Config.in | 1 + package/pango/pango-0001-no-tests.patch | 27 + package/pango/pango-0002-no-gtk-doc.patch | 25 + package/pango/pango-no-const-return.patch | 475 ------- package/pango/pango-no-tests.patch | 22 - package/pango/pango.mk | 19 +- package/webkit/Config.in | 16 +- ...ebkit-0001-build-fix-for-32-bit-autotools.patch | 34 - .../webkit-0002-build-fix-for-gtklauncher.patch | 51 - .../webkit/webkit-0003-detect-harfbuzz-icu.patch | 28 - package/webkit/webkit-0004-disable-docrebase.patch | 27 - package/webkit/webkit-0005-disable-tests.patch | 80 -- package/webkit/webkit-0006-execinfo_h.patch | 20 - package/webkit/webkit-0007-mips-dfg.patch | 1490 -------------------- package/webkit/webkit-0008-support-bison-3.0.patch | 22 - package/webkit/webkit.mk | 67 +- 35 files changed, 711 insertions(+), 2398 deletions(-) create mode 100644 package/at-spi2-atk/Config.in create mode 100644 package/at-spi2-atk/at-spi2-atk.mk create mode 100644 package/at-spi2-core/Config.in create mode 100644 package/at-spi2-core/at-spi2-core-0001-configure-use-AC_CHECK_ALIGNOF-instead-of-custom-DBI.patch create mode 100644 package/at-spi2-core/at-spi2-core.mk delete mode 100644 package/libglib2/0001-gio-Fix-Werror-format-string-errors-from-mismatched-.patch create mode 100644 package/libglib2/libglib2-0002-no-gtk-doc.patch create mode 100644 package/libgtk3/Config.in create mode 100644 package/libgtk3/libgtk3-0001-no-gtk-doc.patch create mode 100644 package/libgtk3/libgtk3-0002-add-file-introspection-m4.patch create mode 100644 package/libgtk3/libgtk3.mk create mode 100644 package/midori/midori-0001-remove-libnotify-dependency.patch create mode 100644 package/pango/pango-0001-no-tests.patch create mode 100644 package/pango/pango-0002-no-gtk-doc.patch delete mode 100644 package/pango/pango-no-const-return.patch delete mode 100644 package/pango/pango-no-tests.patch delete mode 100644 package/webkit/webkit-0001-build-fix-for-32-bit-autotools.patch delete mode 100644 package/webkit/webkit-0002-build-fix-for-gtklauncher.patch delete mode 100644 package/webkit/webkit-0003-detect-harfbuzz-icu.patch delete mode 100644 package/webkit/webkit-0004-disable-docrebase.patch delete mode 100644 package/webkit/webkit-0005-disable-tests.patch delete mode 100644 package/webkit/webkit-0006-execinfo_h.patch delete mode 100644 package/webkit/webkit-0007-mips-dfg.patch delete mode 100644 package/webkit/webkit-0008-support-bison-3.0.patch
Signature · 1 line
2.0.1
RFC 1/9 libglib2: bump to version 2.40.0
Remove patch because it is applied upstream in this version.
--- ...ror-format-string-errors-from-mismatched-.patch | 56 ---------------------- package/libglib2/libglib2-0002-no-gtk-doc.patch | 25 ++++++++++ package/libglib2/libglib2.mk | 4 +- 3 files changed, 27 insertions(+), 58 deletions(-) delete mode 100644 package/libglib2/0001-gio-Fix-Werror-format-string-errors-from-mismatched-.patch create mode 100644 package/libglib2/libglib2-0002-no-gtk-doc.patch
package/libglib2/0001-gio-Fix-Werror-format-string-errors-from-mismatched-.patch deleted +0 -56
@@ -1,56 +0,0 @@ -From 0167c3340d8201dca8e9031b61703bbc5ed6ce33 Mon Sep 17 00:00:00 2001 -From: Jan Schmidt <[email protected]> -Date: Wed, 25 Sep 2013 19:22:26 +1000 -Subject: [PATCH] gio: Fix -Werror format string errors from mismatched ints. - -Upstream-Status: Backport - ---- - gio/gdbusmessage.c | 8 ++++---- - gio/gdbusprivate.c | 4 ++-- - 2 files changed, 6 insertions(+), 6 deletions(-) - -diff --git a/gio/gdbusmessage.c b/gio/gdbusmessage.c -index ac233a3..ad77aa6 100644 ---- a/gio/gdbusmessage.c -+++ b/gio/gdbusmessage.c -@@ -3468,10 +3468,10 @@ g_dbus_message_print (GDBusMessage *message, - statbuf.st_mode); - g_string_append_printf (fs, "%s" "ino=%" G_GUINT64_FORMAT, fs->len > 0 ? "," : "", - (guint64) statbuf.st_ino); -- g_string_append_printf (fs, "%s" "uid=%d", fs->len > 0 ? "," : "", -- statbuf.st_uid); -- g_string_append_printf (fs, "%s" "gid=%d", fs->len > 0 ? "," : "", -- statbuf.st_gid); -+ g_string_append_printf (fs, "%s" "uid=%u", fs->len > 0 ? "," : "", -+ (guint) statbuf.st_uid); -+ g_string_append_printf (fs, "%s" "gid=%u", fs->len > 0 ? "," : "", -+ (guint) statbuf.st_gid); - g_string_append_printf (fs, "%s" "rdev=%d:%d", fs->len > 0 ? "," : "", - major (statbuf.st_rdev), minor (statbuf.st_rdev)); - g_string_append_printf (fs, "%s" "size=%" G_GUINT64_FORMAT, fs->len > 0 ? "," : "", -diff --git a/gio/gdbusprivate.c b/gio/gdbusprivate.c -index 0e5bef2..785a0c0 100644 ---- a/gio/gdbusprivate.c -+++ b/gio/gdbusprivate.c -@@ -2155,7 +2155,7 @@ write_message_print_transport_debug (gssize bytes_written, - _g_dbus_debug_print_lock (); - g_print ("========================================================================\n" - "GDBus-debug:Transport:\n" -- " >>>> WROTE %" G_GSIZE_FORMAT " bytes of message with serial %d and\n" -+ " >>>> WROTE %" G_GSSIZE_FORMAT " bytes of message with serial %d and\n" - " size %" G_GSIZE_FORMAT " from offset %" G_GSIZE_FORMAT " on a %s\n", - bytes_written, - g_dbus_message_get_serial (data->message), -@@ -2206,7 +2206,7 @@ read_message_print_transport_debug (gssize bytes_read, - _g_dbus_debug_print_lock (); - g_print ("========================================================================\n" - "GDBus-debug:Transport:\n" -- " <<<< READ %" G_GSIZE_FORMAT " bytes of message with serial %d and\n" -+ " <<<< READ %" G_GSSIZE_FORMAT " bytes of message with serial %d and\n" - " size %d to offset %" G_GSIZE_FORMAT " from a %s\n", - bytes_read, - serial, --- -1.8.3.1 -
package/libglib2/libglib2-0002-no-gtk-doc.patch new file +25 -0
@@ -0,0 +1,25 @@ +Same patch as for systemd in commit +7144f2f04b705538a893e538a6b851f536f433b6: + +Fix deactivation of gtk-doc + +The tarball contains the Makefile for building documentation with gtk-doc, +Unfortunately the AM_CONDITIONAL variable is not the correct one, which +results in an error when running autoreconf. + +This patch fixes this issue. + +Signed-off-by: Eric Le Bihan <[email protected]> +Signed-off-by: Hadrien Boutteville <[email protected]> + +--- a/gtk-doc.make ++++ b/gtk-doc.make +@@ -267,7 +267,7 @@ + # + # Require gtk-doc when making dist + # +-if HAVE_GTK_DOC ++if ENABLE_GTK_DOC + dist-check-gtkdoc: docs + else + dist-check-gtkdoc:
package/libglib2/libglib2.mk +2 -2
@@ -4,8 +4,8 @@ # ################################################################################ -LIBGLIB2_VERSION_MAJOR = 2.38 -LIBGLIB2_VERSION = $(LIBGLIB2_VERSION_MAJOR).2 +LIBGLIB2_VERSION_MAJOR = 2.40 +LIBGLIB2_VERSION = $(LIBGLIB2_VERSION_MAJOR).0 LIBGLIB2_SOURCE = glib-$(LIBGLIB2_VERSION).tar.xz LIBGLIB2_SITE = http://ftp.gnome.org/pub/gnome/sources/glib/$(LIBGLIB2_VERSION_MAJOR) LIBGLIB2_LICENSE = LGPLv2+
Signature · 1 line
2.0.1
RFC 2/9 pango: bump to version 1.36.3
In reply to Hadrien BouttevilleNote: HarfBuzz is needed to build Pango. Configure does not return an error if HarfBuzz is missing, but without HarfBuzz it can't enable any backends.
Remove patch pango-no-const-return because it is applied upstream in this version.
--- package/pango/Config.in | 1 + package/pango/pango-0001-no-tests.patch | 27 ++ package/pango/pango-0002-no-gtk-doc.patch | 25 ++ package/pango/pango-no-const-return.patch | 475 ------------------------------ package/pango/pango-no-tests.patch | 22 -- package/pango/pango.mk | 19 +- 6 files changed, 63 insertions(+), 506 deletions(-) create mode 100644 package/pango/pango-0001-no-tests.patch create mode 100644 package/pango/pango-0002-no-gtk-doc.patch delete mode 100644 package/pango/pango-no-const-return.patch delete mode 100644 package/pango/pango-no-tests.patch
package/pango/Config.in +1 -0
@@ -9,6 +9,7 @@ config BR2_PACKAGE_PANGO select BR2_PACKAGE_CAIRO select BR2_PACKAGE_FONTCONFIG select BR2_PACKAGE_FREETYPE + select BR2_PACKAGE_HARFBUZZ select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE select BR2_PACKAGE_XLIB_LIBX11 if BR2_PACKAGE_XORG7 help
package/pango/pango-0001-no-tests.patch new file +27 -0
@@ -0,0 +1,27 @@ +Prevent Pango to build tests. + +Updated to Pango 1.36.3 by Hadrien Boutteville. + +Signed-off-by: Hadrien Boutteville <[email protected]> + +--- a/Makefile.am ++++ b/Makefile.am +@@ -1,6 +1,6 @@ + ## Process this file with automake to create Makefile.in. + +-SUBDIRS= pango modules pango-view examples docs tools tests build ++SUBDIRS= pango modules pango-view examples docs tools build + + EXTRA_DIST = \ + autogen.sh \ +--- a/Makefile.in ++++ b/Makefile.in +@@ -418,7 +418,7 @@ target_alias = @target_alias@ + top_build_prefix = @top_build_prefix@ + top_builddir = @top_builddir@ + top_srcdir = @top_srcdir@ +-SUBDIRS = pango modules pango-view examples docs tools tests build ++SUBDIRS = pango modules pango-view examples docs tools build + EXTRA_DIST = \ + autogen.sh \ + pango.pc.in \
package/pango/pango-0002-no-gtk-doc.patch new file +25 -0
@@ -0,0 +1,25 @@ +Same patch as for systemd in commit +7144f2f04b705538a893e538a6b851f536f433b6: + +Fix deactivation of gtk-doc + +The tarball contains the Makefile for building documentation with gtk-doc, +Unfortunately the AM_CONDITIONAL variable is not the correct one, which +results in an error when running autoreconf. + +This patch fixes this issue. + +Signed-off-by: Eric Le Bihan <[email protected]> +Signed-off-by: Hadrien Boutteville <[email protected]> + +--- a/gtk-doc.make ++++ b/gtk-doc.make +@@ -267,7 +267,7 @@ + # + # Require gtk-doc when making dist + # +-if HAVE_GTK_DOC ++if ENABLE_GTK_DOC + dist-check-gtkdoc: docs + else + dist-check-gtkdoc:
package/pango/pango-no-const-return.patch deleted +0 -475
475 lines not on this page · raw message
package/pango/pango-no-tests.patch deleted +0 -22
@@ -1,22 +0,0 @@ ---- a/Makefile.in 2008-01-21 22:28:49.000000000 -0500 -+++ b/Makefile.in 2008-02-09 13:02:41.000000000 -0500 -@@ -260,7 +260,7 @@ sysconfdir = @sysconfdir@ - target_alias = @target_alias@ - top_builddir = @top_builddir@ - top_srcdir = @top_srcdir@ --SUBDIRS = pango modules pango-view examples docs tools tests -+SUBDIRS = pango modules pango-view examples docs tools - EXTRA_DIST = \ - autogen.sh \ - pango.pc.in \ - ---- a/Makefile.am 2008-01-17 16:37:49.000000000 -0500 -+++ b/Makefile.am 2008-02-09 13:35:13.000000000 -0500 -@@ -1,6 +1,6 @@ - ## Process this file with automake to create Makefile.in. - --SUBDIRS= pango modules pango-view examples docs tools tests -+SUBDIRS= pango modules pango-view examples docs tools - - EXTRA_DIST = \ - autogen.sh \
package/pango/pango.mk +10 -9
@@ -4,9 +4,9 @@ # ################################################################################ -PANGO_VERSION_MAJOR = 1.28 -PANGO_VERSION = $(PANGO_VERSION_MAJOR).4 -PANGO_SOURCE = pango-$(PANGO_VERSION).tar.bz2 +PANGO_VERSION_MAJOR = 1.36 +PANGO_VERSION = $(PANGO_VERSION_MAJOR).3 +PANGO_SOURCE = pango-$(PANGO_VERSION).tar.xz PANGO_SITE = http://ftp.gnome.org/pub/GNOME/sources/pango/$(PANGO_VERSION_MAJOR) PANGO_AUTORECONF = YES PANGO_INSTALL_STAGING = YES
@@ -40,26 +40,27 @@ PANGO_CONF_ENV = ac_cv_func_posix_getpwuid_r=yes glib_cv_stack_grows=no \ ac_use_included_regex=no gl_cv_c_restrict=no \ ac_cv_path_FREETYPE_CONFIG=$(STAGING_DIR)/usr/bin/freetype-config -PANGO_CONF_OPT = --enable-explicit-deps=no --disable-debug +PANGO_CONF_OPT = --enable-explicit-deps=no \ + --disable-debug \ + --disable-gtk-doc-html PANGO_DEPENDENCIES = $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext) \ host-pkgconf \ libglib2 \ cairo \ + harfbuzz \ fontconfig \ freetype ifeq ($(BR2_PACKAGE_XORG7),y) - PANGO_CONF_OPT += --with-x \ - --x-includes=$(STAGING_DIR)/usr/include/X11 \ - --x-libraries=$(STAGING_DIR)/usr/lib --disable-glibtest + PANGO_CONF_OPT += --x-includes=$(STAGING_DIR)/usr/include/X11 \ + --x-libraries=$(STAGING_DIR)/usr/lib PANGO_DEPENDENCIES += xlib_libX11 -else - PANGO_CONF_OPT += --without-x endif ifeq ($(BR2_PACKAGE_XLIB_LIBXFT)$(BR2_PACKAGE_XLIB_LIBXRENDER),yy) PANGO_DEPENDENCIES += xlib_libXft xlib_libXrender + PANGO_CONF_OPT += --with-xft endif define PANGO_INSTALL_INITSCRIPT
Signature · 1 line
2.0.1
RFC 3/9 cairo: add freetype and gobject support
In reply to Hadrien Boutteville--- package/cairo/cairo.mk | 14 ++++++++++++++ 1 file changed, 14 insertions(+)
package/cairo/cairo.mk +14 -0
@@ -55,6 +55,20 @@ else CAIRO_CONF_OPT += --disable-directfb endif +ifeq ($(BR2_PACKAGE_FREETYPE),y) + CAIRO_CONF_OPT += --enable-ft + CAIRO_DEPENDENCIES += freetype +else + CAIRO_CONF_OPT += --disable-ft +endif + +ifeq ($(BR2_PACKAGE_LIBGLIB2),y) + CAIRO_CONF_OPT += --enable-gobject + CAIRO_DEPENDENCIES += libglib2 +else + CAIRO_CONF_OPT += --disable-gobject +endif + ifeq ($(BR2_PACKAGE_HAS_LIBGLES),y) CAIRO_CONF_OPT += --enable-glesv2 CAIRO_DEPENDENCIES += libgles
Signature · 1 line
2.0.1
RFC 4/9 at-spi2-core: new package
In reply to Hadrien BouttevilleThe ati-spi2-core package provides Assistive Technology Service Provider Interface (dbus core). This package is a requirement for Gtk+ 3.0.
--- package/Config.in | 1 + package/at-spi2-core/Config.in | 17 +++++ ...se-AC_CHECK_ALIGNOF-instead-of-custom-DBI.patch | 79 ++++++++++++++++++++++ package/at-spi2-core/at-spi2-core.mk | 24 +++++++ 4 files changed, 121 insertions(+) create mode 100644 package/at-spi2-core/Config.in create mode 100644 package/at-spi2-core/at-spi2-core-0001-configure-use-AC_CHECK_ALIGNOF-instead-of-custom-DBI.patch create mode 100644 package/at-spi2-core/at-spi2-core.mk
package/Config.in +1 -0
@@ -587,6 +587,7 @@ endmenu menu "Graphics" source "package/atk/Config.in" + source "package/at-spi2-core/Config.in" source "package/cairo/Config.in" source "package/fltk/Config.in" source "package/fontconfig/Config.in"
package/at-spi2-core/Config.in new file +17 -0
@@ -0,0 +1,17 @@ +config BR2_PACKAGE_AT_SPI2_CORE + bool "at-spi2-core" + select BR2_PACKAGE_LIBGLIB2 + select BR2_PACKAGE_DBUS + select BR2_PACKAGE_XLIB_LIBXI + select BR2_PACKAGE_XLIB_LIBXTST + depends on BR2_PACKAGE_XORG7 + depends on BR2_USE_WCHAR # libglib2 + depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2 + depends on BR2_USE_MMU # libglib2 + help + Assistive Technology Service Provider Interface (dbus core) + +comment "at-spi2-core needs a toolchain w/wchar, threads" + depends on !BR2_USE_MMU + depends on !BR2_PACKAGE_XORG7 + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
package/at-spi2-core/at-spi2-core-0001-configure-use-AC_CHECK_ALIGNOF-instead-of-custom-DBI.patch new file +79 -0
79 lines not on this page · raw message
package/at-spi2-core/at-spi2-core.mk new file +24 -0
@@ -0,0 +1,24 @@ +################################################################################ +# +# at-spi2-core +# +################################################################################ + +AT_SPI2_CORE_VERSION_MAJOR = 2.10 +AT_SPI2_CORE_VERSION_MINOR = 2 +AT_SPI2_CORE_VERSION = $(AT_SPI2_CORE_VERSION_MAJOR).$(AT_SPI2_CORE_VERSION_MINOR) +AT_SPI2_CORE_SOURCE = at-spi2-core-$(AT_SPI2_CORE_VERSION).tar.xz +AT_SPI2_CORE_SITE = http://ftp.gnome.org/pub/gnome/sources/at-spi2-core/$(AT_SPI2_CORE_VERSION_MAJOR) +AT_SPI2_CORE_LICENSE = LGPLv2+ +AT_SPI2_CORE_LICENSE_FILES = COPYING +AT_SPI2_CORE_INSTALL_STAGING = YES +AT_SPI2_CORE_INSTALL_TARGET = YES +AT_SPI2_CORE_AUTORECONF = YES + +AT_SPI2_CORE_CONF_OPT = --disable-introspection \ + --disable-xevie + +AT_SPI2_CORE_DEPENDENCIES = host-pkgconf libglib2 dbus xlib_libXi xlib_libXtst \ + host-intltool + +$(eval $(autotools-package))
Signature · 1 line
2.0.1
RFC 5/9 at-spi2-atk: new package
In reply to Hadrien BouttevilleThe at-spi2-atk package provides AT-SPI 2 Toolkit Bridge. This is a requirement for Gtk+ 3.0.
--- package/Config.in | 1 + package/at-spi2-atk/Config.in | 16 ++++++++++++++++ package/at-spi2-atk/at-spi2-atk.mk | 19 +++++++++++++++++++ 3 files changed, 36 insertions(+) create mode 100644 package/at-spi2-atk/Config.in create mode 100644 package/at-spi2-atk/at-spi2-atk.mk
package/Config.in +1 -0
@@ -588,6 +588,7 @@ endmenu menu "Graphics" source "package/atk/Config.in" source "package/at-spi2-core/Config.in" + source "package/at-spi2-atk/Config.in" source "package/cairo/Config.in" source "package/fltk/Config.in" source "package/fontconfig/Config.in"
package/at-spi2-atk/Config.in new file +16 -0
@@ -0,0 +1,16 @@ +config BR2_PACKAGE_AT_SPI2_ATK + bool "at-spi2-atk" + select BR2_PACKAGE_LIBGLIB2 + select BR2_PACKAGE_DBUS + select BR2_PACKAGE_ATK + select BR2_PACKAGE_AT_SPI2_CORE + depends on BR2_PACKAGE_XORG7 # at-spi2-core + depends on BR2_USE_WCHAR # libglib2 + depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2 + depends on BR2_USE_MMU # libglib2 + help + AT-SPI 2 Toolkit Bridge + +comment "at-spi2-atk needs a toolchain w/wchar, threads" + depends on !BR2_USE_MMU + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
package/at-spi2-atk/at-spi2-atk.mk new file +19 -0
@@ -0,0 +1,19 @@ +################################################################################ +# +# at-spi2-atk +# +################################################################################ + +AT_SPI2_ATK_VERSION_MAJOR = 2.10 +AT_SPI2_ATK_VERSION_MINOR = 2 +AT_SPI2_ATK_VERSION = $(AT_SPI2_ATK_VERSION_MAJOR).$(AT_SPI2_ATK_VERSION_MINOR) +AT_SPI2_ATK_SOURCE = at-spi2-atk-$(AT_SPI2_ATK_VERSION).tar.xz +AT_SPI2_ATK_SITE = http://ftp.gnome.org/pub/gnome/sources/at-spi2-atk/$(AT_SPI2_ATK_VERSION_MAJOR) +AT_SPI2_ATK_LICENSE = LGPLv2+ +AT_SPI2_ATK_LICENSE_FILES = COPYING +AT_SPI2_ATK_INSTALL_STAGING = YES +AT_SPI2_ATK_INSTALL_TARGET = YES + +AT_SPI2_ATK_DEPENDENCIES = host-pkgconf libglib2 dbus atk at-spi2-core + +$(eval $(autotools-package))
Signature · 1 line
2.0.1
RFC 6/9 libgtk3: new package
In reply to Hadrien Boutteville--- package/Config.in | 1 + package/libgtk3/Config.in | 47 ++++++ package/libgtk3/libgtk3-0001-no-gtk-doc.patch | 11 ++ .../libgtk3-0002-add-file-introspection-m4.patch | 100 +++++++++++ package/libgtk3/libgtk3.mk | 184 +++++++++++++++++++++ 5 files changed, 343 insertions(+) create mode 100644 package/libgtk3/Config.in create mode 100644 package/libgtk3/libgtk3-0001-no-gtk-doc.patch create mode 100644 package/libgtk3/libgtk3-0002-add-file-introspection-m4.patch create mode 100644 package/libgtk3/libgtk3.mk
package/Config.in +1 -0
@@ -612,6 +612,7 @@ menu "Graphics" source "package/libgeotiff/Config.in" source "package/libglade/Config.in" source "package/libgtk2/Config.in" + source "package/libgtk3/Config.in" source "package/libpng/Config.in" source "package/libqrencode/Config.in" source "package/libraw/Config.in"
package/libgtk3/Config.in new file +47 -0
47 lines not on this page · raw message
package/libgtk3/libgtk3-0001-no-gtk-doc.patch new file +11 -0
@@ -0,0 +1,11 @@ +--- a/gtk-doc.make ++++ b/gtk-doc.make +@@ -267,7 +267,7 @@ + # + # Require gtk-doc when making dist + # +-if HAVE_GTK_DOC ++if ENABLE_GTK_DOC + dist-check-gtkdoc: docs + else + dist-check-gtkdoc:
package/libgtk3/libgtk3-0002-add-file-introspection-m4.patch new file +100 -0
100 lines not on this page · raw message
package/libgtk3/libgtk3.mk new file +184 -0
184 lines not on this page · raw message
Signature · 1 line
2.0.1
RFC 6/9 libgtk3: new package
Hi!
Quoted 16 lines · Hadrien Boutteville
Signed-off-by Hadrien Boutteville <[email protected]>Signed-off-by Eric Le Bihan <[email protected]>Cc Thomas Petazzoni <[email protected]>Cc "Yann E. MORIN" <[email protected]>--- package/Config.in | 1 + package/libgtk3/Config.in | 47 ++++++ package/libgtk3/libgtk3-0001-no-gtk-doc.patch | 11 ++ .../libgtk3-0002-add-file-introspection-m4.patch | 100 +++++++++++ package/libgtk3/libgtk3.mk | 184 +++++++++++++++++++++ 5 files changed, 343 insertions(+) create mode 100644 package/libgtk3/Config.in create mode 100644 package/libgtk3/libgtk3-0001-no-gtk-doc.patch create mode 100644 package/libgtk3/libgtk3-0002-add-file-introspection-m4.patch create mode 100644 package/libgtk3/libgtk3.mk
[snip]
package/libgtk3/libgtk3-0002-add-file-introspection-m4.patch
Quoted 4 lines
package/libgtk3/libgtk3-0002-add-file-introspection-m4.patch new file +0
-1--- /dev/null
I guess the addition of this file is needed because you have to perform an autoreconf, but GOBJECT_INTROSPECTION_CHECK could not be resolved, right?
Maybe you can avoid it by patching configure.ac, to add a check, as performed in Systemd:
m4_ifdef([GOBJECT_INTROSPECTION_CHECK],
[GOBJECT_INTROSPECTION_CHECK([1.31.1])],
[AM_CONDITIONAL([HAVE_INTROSPECTION], [false])
enable_introspection=no])Quoted 66 lines
package/libgtk3/libgtk3.mk new file +60
-0@@ -0,0 +1,184 @@ +################################################################################ +# +# libgtk3 +# +################################################################################ + +LIBGTK3_VERSION_MAJOR = 3.12 +LIBGTK3_VERSION = $(LIBGTK3_VERSION_MAJOR).2 + +LIBGTK3_SOURCE = gtk+-$(LIBGTK3_VERSION).tar.xz +LIBGTK3_SITE = http://ftp.gnome.org/pub/gnome/sources/gtk+/$(LIBGTK3_VERSION_MAJOR) +LIBGTK3_LICENSE = LGPLv2+ +LIBGTK3_LICENSE_FILES = COPYING +LIBGTK3_INSTALL_STAGING = YES +LIBGTK3_INSTALL_TARGET = YES + +LIBGTK3_AUTORECONF = YES + +LIBGTK3_CONF_ENV = ac_cv_func_posix_getpwuid_r=yes glib_cv_stack_grows=no \ + glib_cv_uscore=no \ + ac_cv_func_strtod=yes \ + ac_fsusage_space=yes \ + fu_cv_sys_stat_statfs2_bsize=yes \ + ac_cv_func_closedir_void=no \ + ac_cv_func_getloadavg=no \ + ac_cv_lib_util_getloadavg=no \ + ac_cv_lib_getloadavg_getloadavg=no \ + ac_cv_func_getgroups=yes \ + ac_cv_func_getgroups_works=yes \ + ac_cv_func_chown_works=yes \ + ac_cv_have_decl_euidaccess=no \ + ac_cv_func_euidaccess=no \ + ac_cv_have_decl_strnlen=yes \ + ac_cv_func_strnlen_working=yes \ + ac_cv_func_lstat_dereferences_slashed_symlink=yes \ + ac_cv_func_lstat_empty_string_bug=no \ + ac_cv_func_stat_empty_string_bug=no \ + vb_cv_func_rename_trailing_slash_bug=no \ + ac_cv_have_decl_nanosleep=yes \ + jm_cv_func_nanosleep_works=yes \ + gl_cv_func_working_utimes=yes \ + ac_cv_func_utime_null=yes \ + ac_cv_have_decl_strerror_r=yes \ + ac_cv_func_strerror_r_char_p=no \ + jm_cv_func_svid_putenv=yes \ + ac_cv_func_getcwd_null=yes \ + ac_cv_func_getdelim=yes \ + ac_cv_func_mkstemp=yes \ + utils_cv_func_mkstemp_limitations=no \ + utils_cv_func_mkdir_trailing_slash_bug=no \ + jm_cv_func_gettimeofday_clobber=no \ + gl_cv_func_working_readdir=yes \ + jm_ac_cv_func_link_follows_symlink=no \ + utils_cv_localtime_cache=no \ + ac_cv_struct_st_mtim_nsec=no \ + gl_cv_func_tzset_clobber=no \ + gl_cv_func_getcwd_null=yes \ + gl_cv_func_getcwd_path_max=yes \ + ac_cv_func_fnmatch_gnu=yes \ + am_getline_needs_run_time_check=no \
package/libgtk3/libgtk3.mk line 70
Quoted 10 lines
package/libgtk3/libgtk3.mk new file +10
-0+ am_cv_func_working_getline=yes \ + gl_cv_func_mkdir_trailing_slash_bug=no \ + gl_cv_func_mkstemp_limitations=no \ + ac_cv_func_working_mktime=yes \ + jm_cv_func_working_re_compile_pattern=yes \ + ac_use_included_regex=no gl_cv_c_restrict=no \ + ac_cv_path_GTK_UPDATE_ICON_CACHE=$(HOST_DIR)/usr/bin/gtk-update-icon-cache \ + ac_cv_path_GDK_PIXBUF_CSOURCE=$(HOST_DIR)/usr/bin/gdk-pixbuf-csource \ + ac_cv_prog_F77=no \ + ac_cv_path_CUPS_CONFIG=no
I still wonder why all these definitions are needed... I manage to build libgtk3 using a uclibc-based toolchain without them (except for ac_cv_path_GTK_UPDATE_ICON_CACHE and ac_cv_path_GDK_PIXBUF_CSOURCE of course)!
Anyone with some background history on this?
Quoted 8 lines
package/libgtk3/libgtk3.mk new file +8
-0+ +LIBGTK3_CONF_OPT = --disable-glibtest \ + --enable-explicit-deps=no \ + --enable-gtk2-dependency \ + --disable-debug + +LIBGTK3_DEPENDENCIES = host-pkgconf host-libgtk3 libglib2 cairo pango atk \ + gdk-pixbuf
[snip]
package/libgtk3/libgtk3.mk line 164
Quoted 12 lines
package/libgtk3/libgtk3.mk new file +12
-0+ +# We do not build a full version of libgtk3 for the host, because that +# requires compiling Cairo, Pango, ATK and X.org for the +# host. Therefore, we patch it to remove dependencies, and we hack the +# build to only build gdk-pixbuf-from-source and +# gtk-update-icon-cache, which are the host tools needed to build Gtk +# for the target. + +HOST_LIBGTK3_DEPENDENCIES = host-libglib2 host-libpng host-gdk-pixbuf + +HOST_LIBGTK3_CFLAGS = $(shell $(HOST_DIR)/usr/bin/pkg-config \ + --cflags --libs gdk-pixbuf-2.0)
When experimenting on my side, I've noticed that gtk+ >= 3.10 can build a native version of gtk-update-icon-cache if --enable-gtk2-dependency=no is set when invoking './configure'.
Unfortunately, if the target toolchain is based on uClibc, the macro AM_GLIB_GNU_GETTEXT will detect the libintl built for the target and will add '-lintl' to the default list of libraries for the linker (used for both native and target builds).
But no native version of libintl is available (the functions are provided by glibc): gtk-update-icon-cache will not build...
So, Buildroot must still build its own version, as done in your patch.
Best regards,
ELB
RFC 6/9 libgtk3: new package
Hi,
Quoted 6 lines · Eric Le Bihan
package/libgtk3/libgtk3-0002-add-file-introspection-m4.patch
Quoted 4 lines
package/libgtk3/libgtk3-0002-add-file-introspection-m4.patch new file +0
-1--- /dev/nullI guess the addition of this file is needed because you have to perform an autoreconf, but
GOBJECT_INTROSPECTION_CHECKcould not be resolved, right?
Yes. It's the solution given by the GTK+3 doc.
Quoted 7 lines
Maybe you can avoid it by patching configure.ac, to add a check, as performed in Systemd:
m4_ifdef([GOBJECT_INTROSPECTION_CHECK],
[GOBJECT_INTROSPECTION_CHECK([1.31.1])], [AM_CONDITIONAL([HAVE_INTROSPECTION], [false]) enable_introspection=no])
I will test, I actually prefer this solution rather than adding a file. Thanks!
Quoted 7 lines
package/libgtk3/libgtk3-0002-add-file-introspection-m4.patch
Quoted 7 lines
package/libgtk3/libgtk3-0002-add-file-introspection-m4.patch new file +7
-0+ +# We do not build a full version of libgtk3 for the host, because that +# requires compiling Cairo, Pango, ATK and X.org for the +# host. Therefore, we patch it to remove dependencies, and we hack the +# build to only build gdk-pixbuf-from-source and +# gtk-update-icon-cache, which are the host tools needed to build Gtk +# for the target.
I realized that I forget to modify the comment for this part :-/. This comment was for my first attempt with a patch which reduced dependencies like for libgtk2. Now we don't patch to reduce dependencies and we just manually build gtk-update-icon-cache to get rid of the dependencies and the configure.
Quoted 14 lines
package/libgtk3/libgtk3-0002-add-file-introspection-m4.patch
Quoted 4 lines
package/libgtk3/libgtk3-0002-add-file-introspection-m4.patch new file +4
-0+HOST_LIBGTK3_DEPENDENCIES = host-libglib2 host-libpng host-gdk-pixbuf + +HOST_LIBGTK3_CFLAGS = $(shell $(HOST_DIR)/usr/bin/pkg-config \ + --cflags --libs gdk-pixbuf-2.0)When experimenting on my side, I've noticed that gtk+ >= 3.10 can build a native version of gtk-update-icon-cache if --enable-gtk2-dependency=no is set when invoking './configure'.
Unfortunately, if the target toolchain is based on uClibc, the macro
AM_GLIB_GNU_GETTEXTwill detect the libintl built for the target and will add '-lintl' to the default list of libraries for the linker (used for both native and target builds).
Quoted 4 lines
But no native version of libintl is available (the functions are provided by glibc): gtk-update-icon-cache will not build...
So, Buildroot must still build its own version, as done in your patch.
Yes, and your solution was better than my first patch ;-).
Thanks,
Hadrien
RFC 6/9 libgtk3: new package
In reply to Eric Le BihanHello,
Quoted 57 lines · Eric Le Bihan
Quoted 42 lines
package/libgtk3/libgtk3.mk new file +42
-0+LIBGTK3_CONF_ENV = ac_cv_func_posix_getpwuid_r=yes glib_cv_stack_grows=no \ + glib_cv_uscore=no \ + ac_cv_func_strtod=yes \ + ac_fsusage_space=yes \ + fu_cv_sys_stat_statfs2_bsize=yes \ + ac_cv_func_closedir_void=no \ + ac_cv_func_getloadavg=no \ + ac_cv_lib_util_getloadavg=no \ + ac_cv_lib_getloadavg_getloadavg=no \ + ac_cv_func_getgroups=yes \ + ac_cv_func_getgroups_works=yes \ + ac_cv_func_chown_works=yes \ + ac_cv_have_decl_euidaccess=no \ + ac_cv_func_euidaccess=no \ + ac_cv_have_decl_strnlen=yes \ + ac_cv_func_strnlen_working=yes \ + ac_cv_func_lstat_dereferences_slashed_symlink=yes \ + ac_cv_func_lstat_empty_string_bug=no \ + ac_cv_func_stat_empty_string_bug=no \ + vb_cv_func_rename_trailing_slash_bug=no \ + ac_cv_have_decl_nanosleep=yes \ + jm_cv_func_nanosleep_works=yes \ + gl_cv_func_working_utimes=yes \ + ac_cv_func_utime_null=yes \ + ac_cv_have_decl_strerror_r=yes \ + ac_cv_func_strerror_r_char_p=no \ + jm_cv_func_svid_putenv=yes \ + ac_cv_func_getcwd_null=yes \ + ac_cv_func_getdelim=yes \ + ac_cv_func_mkstemp=yes \ + utils_cv_func_mkstemp_limitations=no \ + utils_cv_func_mkdir_trailing_slash_bug=no \ + jm_cv_func_gettimeofday_clobber=no \ + gl_cv_func_working_readdir=yes \ + jm_ac_cv_func_link_follows_symlink=no \ + utils_cv_localtime_cache=no \ + ac_cv_struct_st_mtim_nsec=no \ + gl_cv_func_tzset_clobber=no \ + gl_cv_func_getcwd_null=yes \ + gl_cv_func_getcwd_path_max=yes \ + ac_cv_func_fnmatch_gnu=yes \ + am_getline_needs_run_time_check=no \package/libgtk3/libgtk3.mk line 70
Quoted 10 lines
package/libgtk3/libgtk3.mk new file +10
-0+ am_cv_func_working_getline=yes \ + gl_cv_func_mkdir_trailing_slash_bug=no \ + gl_cv_func_mkstemp_limitations=no \ + ac_cv_func_working_mktime=yes \ + jm_cv_func_working_re_compile_pattern=yes \ + ac_use_included_regex=no gl_cv_c_restrict=no \ + ac_cv_path_GTK_UPDATE_ICON_CACHE=$(HOST_DIR)/usr/bin/gtk-update-icon-cache \ + ac_cv_path_GDK_PIXBUF_CSOURCE=$(HOST_DIR)/usr/bin/gdk-pixbuf-csource \ + ac_cv_prog_F77=no \ + ac_cv_path_CUPS_CONFIG=noI still wonder why all these definitions are needed... I manage to build libgtk3 using a uclibc-based toolchain without them (except for
ac_cv_path_GTK_UPDATE_ICON_CACHEandac_cv_path_GDK_PIXBUF_CSOURCEof course)!
Quoted 1 line
Anyone with some background history on this?
I missed this comment in my previous mail. In fact I don't know if these definitions (apart ac_cv_path_GTK_UPDATE_ICON_CACHE and ac_cv_path_GDK_PIXBUF_CSOURCE) are still needed. I'm not an expert for that, I have just reused them from libgtk2 mainly because I didn't test with uclibc-based toolchain. I saw you removed them from your patch, and I just successfully build with an uclibc-based toolchain too, so I think we can remove the extra definitions.
Thanks!
Hadrien
RFC 7/9 webkit: bump to version 2.4.3
In reply to Hadrien BouttevilleWebKit needs at least GCC in version 4.8 to build:
https://bugs.webkit.org/show_bug.cgi?id=127103
The package can't depends on a specific GCC version with external toolchains so add a comment in the help menu.
Remove all patches because they are applied upstream in this version.
--- package/webkit/Config.in | 16 +- ...ebkit-0001-build-fix-for-32-bit-autotools.patch | 34 - .../webkit-0002-build-fix-for-gtklauncher.patch | 51 - .../webkit/webkit-0003-detect-harfbuzz-icu.patch | 28 - package/webkit/webkit-0004-disable-docrebase.patch | 27 - package/webkit/webkit-0005-disable-tests.patch | 80 -- package/webkit/webkit-0006-execinfo_h.patch | 20 - package/webkit/webkit-0007-mips-dfg.patch | 1490 -------------------- package/webkit/webkit-0008-support-bison-3.0.patch | 22 - package/webkit/webkit.mk | 67 +- 10 files changed, 38 insertions(+), 1797 deletions(-) delete mode 100644 package/webkit/webkit-0001-build-fix-for-32-bit-autotools.patch delete mode 100644 package/webkit/webkit-0002-build-fix-for-gtklauncher.patch delete mode 100644 package/webkit/webkit-0003-detect-harfbuzz-icu.patch delete mode 100644 package/webkit/webkit-0004-disable-docrebase.patch delete mode 100644 package/webkit/webkit-0005-disable-tests.patch delete mode 100644 package/webkit/webkit-0006-execinfo_h.patch delete mode 100644 package/webkit/webkit-0007-mips-dfg.patch delete mode 100644 package/webkit/webkit-0008-support-bison-3.0.patch
package/webkit/Config.in +10 -6
@@ -14,7 +14,7 @@ config BR2_PACKAGE_WEBKIT depends on BR2_INSTALL_LIBSTDCPP depends on BR2_USE_WCHAR # enchant -> libglib2 depends on BR2_TOOLCHAIN_HAS_THREADS # enchant -> libglib2; icu - depends on BR2_PACKAGE_LIBGTK2 + depends on BR2_PACKAGE_LIBGTK2 || BR2_PACKAGE_LIBGTK3 depends on BR2_PACKAGE_WEBKIT_ARCH_SUPPORTS depends on !BR2_BINFMT_FLAT # icu select BR2_PACKAGE_CAIRO_PNG
@@ -31,8 +31,10 @@ config BR2_PACKAGE_WEBKIT select BR2_PACKAGE_SQLITE select BR2_PACKAGE_WEBP select BR2_PACKAGE_XLIB_LIBXT if BR2_PACKAGE_XORG7 - select BR2_PACKAGE_XLIB_LIBXCOMPOSITE if BR2_PACKAGE_HAS_LIBGL - select BR2_PACKAGE_XLIB_LIBXDAMAGE if BR2_PACKAGE_HAS_LIBGL + select BR2_PACKAGE_XLIB_LIBXCOMPOSITE if BR2_PACKAGE_HAS_LIBGL || \ + (BR2_PACKAGE_HAS_LIBGLES && BR2_PACKAGE_HAS_LIBEGL) + select BR2_PACKAGE_XLIB_LIBXDAMAGE if BR2_PACKAGE_HAS_LIBGL || \ + (BR2_PACKAGE_HAS_LIBGLES && BR2_PACKAGE_HAS_LIBEGL) help WebKit is an open source, standards compliant web browser engine.
@@ -41,7 +43,9 @@ config BR2_PACKAGE_WEBKIT http://webkit.org/ -comment "webkit needs libgtk2 and a toolchain w/ C++, wchar, threads" + WebKit needs at least GCC 4.8 to build. + +comment "webkit needs libgtk2 or libgtk3 and a toolchain w/ C++, wchar, threads" depends on BR2_PACKAGE_WEBKIT_ARCH_SUPPORTS - depends on !BR2_PACKAGE_LIBGTK2 || !BR2_INSTALL_LIBSTDCPP || \ - !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS + depends on !(BR2_PACKAGE_LIBGTK2 || BR2_PACKAGE_LIBGTK3) || \ + !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
package/webkit/webkit-0001-build-fix-for-32-bit-autotools.patch deleted +0 -34
@@ -1,34 +0,0 @@ -Add missing symbol for WebCore::TextIterator::getLocationAndLengthFromRange - -Signed-off-by: Markos Chandras <[email protected]> - -From f5bb58f9096061f00c948e668335811d364ba360 Mon Sep 17 00:00:00 2001 -From: "kov at webkit.org" <[email protected]@268f45cc-cd09-0410-ab3c-d52691b4dbfc> -Date: Thu, 7 Feb 2013 13:48:46 +0000 -Subject: [PATCH] Unreviewed build fix after r141196 for 32 bits autotools. - -* Source/autotools/symbols.filter: restore 32 bits version of the -WebCore::TextIterator::getLocationAndLengthFromRange(WebCore::Node*, -WebCore::Range const*, unsigned int&, unsigned int&) symbol. - -git-svn-id: http://svn.webkit.org/repository/webkit/trunk at 142105 268f45cc-cd09-0410-ab3c-d52691b4dbfc ---- - ChangeLog | 8 ++++++++ - Source/autotools/symbols.filter | 1 + - 2 files changed, 9 insertions(+) - -diff --git a/Source/autotools/symbols.filter b/Source/autotools/symbols.filter -index 9d730b3..2edefaf 100644 ---- a/Source/autotools/symbols.filter -+++ b/Source/autotools/symbols.filter -@@ -57,6 +57,7 @@ _ZN7WebCore11HistoryItem16setDocumentStateERKN3WTF6VectorINS1_6StringELj0EEE; - _ZN7WebCore11HistoryItem16setDocumentStateERKN3WTF6VectorINS1_6StringELm0EEE; - _ZN7WebCore11MemoryCache14resourceForURLERKNS_4KURLE; - _ZN7WebCore12TextIterator26rangeFromLocationAndLengthEPNS_13ContainerNodeEiib; -+_ZN7WebCore12TextIterator29getLocationAndLengthFromRangeEPNS_4NodeEPKNS_5RangeERjS6_; - _ZN7WebCore12TextIterator29getLocationAndLengthFromRangeEPNS_4NodeEPKNS_5RangeERmS6_; - _ZN7WebCore12PrintContext20pageNumberForElementEPNS_7ElementERKNS_9FloatSizeE; - _ZN7WebCore13createWrapperEPN3JSC9ExecStateEPNS_17JSDOMGlobalObjectEPNS_4NodeE; --- -1.8.3.2 -
package/webkit/webkit-0002-build-fix-for-gtklauncher.patch deleted +0 -51
51 lines not on this page · raw message
package/webkit/webkit-0003-detect-harfbuzz-icu.patch deleted +0 -28
@@ -1,28 +0,0 @@ -harfbuzz-icu detections based on the following upstream commits - -- 5f3ae29ffb29c499c1825578ba7f3ffcbf1aa8b9 -- ad2a23ec44b692bde43a13b658990770caa8dfc5 -- 22b4786377142424bfb6562ff029997acd0846d1 - -Signed-off-by: Markos Chandras <[email protected]> - -Index: webkit-1.11.5/configure.ac -=================================================================== ---- webkit-1.11.5.orig/configure.ac -+++ webkit-1.11.5/configure.ac -@@ -938,6 +938,15 @@ PKG_CHECK_MODULES([FREETYPE], - freetype2 >= $FREETYPE2_REQUIRED_VERSION - harfbuzz]) - fi -+# HarfBuzz 0.9.18 splits harbuzz-icu into a separate library. -+# Since we support earlier HarfBuzz versions we keep this conditional for now. -+m4_define([harfbuzz_required_version], [0.9.7]) -+if $PKG_CONFIG --atleast-version 0.9.18 harfbuzz; then -+ PKG_CHECK_MODULES([HARFBUZZ_ICU], [harfbuzz-icu >= $harfbuzz_required_version]) -+ FREETYPE_CFLAGS+=" $HARFBUZZ_ICU_CFLAGS" -+ FREETYPE_LIBS+=" $HARFBUZZ_ICU_LIBS" -+fi -+ - AC_SUBST([FREETYPE_CFLAGS]) - AC_SUBST([FREETYPE_LIBS]) -
package/webkit/webkit-0004-disable-docrebase.patch deleted +0 -27
@@ -1,27 +0,0 @@ -This patch prevents documentation from being rebased or installed. This -prevents an error when gtk-doc --rebase is called. - -Signed-off-by: Spenser Gilliland <[email protected]> -Signed-off-by: Markos Chandras <[email protected]> - -Index: webkit-1.11.5/Tools/GNUmakefile.am -=================================================================== ---- webkit-1.11.5.orig/Tools/GNUmakefile.am -+++ webkit-1.11.5/Tools/GNUmakefile.am -@@ -308,6 +308,8 @@ EXTRA_DIST += \ - Tools/Scripts/webkit-build-directory \ - Tools/Scripts/webkitdirs.pm - -+if ENABLE_GTK_DOC -+ - docs: docs-build.stamp - .PHONY : docs - DISTCLEANFILES += docs-build.stamp -@@ -412,7 +414,6 @@ if ENABLE_WEBKIT2 - rm -rf $${installdir} - endif - --if ENABLE_GTK_DOC - all: docs-build.stamp - endif -
package/webkit/webkit-0005-disable-tests.patch deleted +0 -80
80 lines not on this page · raw message
package/webkit/webkit-0006-execinfo_h.patch deleted +0 -20
@@ -1,20 +0,0 @@ -Fixes uclibc build as uclibc does not include backtrace functionality - -Signed-of-by: Spenser Gilliland <[email protected]> -Signed-of-by: Markos Chandras <[email protected]> - -Index: webkit-1.11.5/Source/WTF/wtf/Assertions.cpp -=================================================================== ---- webkit-1.11.5.orig/Source/WTF/wtf/Assertions.cpp -+++ webkit-1.11.5/Source/WTF/wtf/Assertions.cpp -@@ -61,8 +61,10 @@ - #if (OS(DARWIN) || (OS(LINUX) && !defined(__UCLIBC__))) && !OS(ANDROID) - #include <cxxabi.h> - #include <dlfcn.h> -+#if !defined(__UCLIBC__) - #include <execinfo.h> - #endif -+#endif - - #if OS(ANDROID) - #include "android/log.h"
package/webkit/webkit-0007-mips-dfg.patch deleted +0 -1490
1,490 lines not on this page · raw message
package/webkit/webkit-0008-support-bison-3.0.patch deleted +0 -22
@@ -1,22 +0,0 @@ -ANGLE doesn't build with bison 3.0 - -Author: allan.jensen at digia.com -?https://bugs.webkit.org/show_bug.cgi?id=119798 -Reviewed by Antti Koivisto. -Make glslang.y compatible with bison 3.0, by using %lex-param -to set YYLEX_PARAM and getting rid of useless YYID macro. - -From upstream: http://trac.webkit.org/changeset/154109 -[Arnout: adapted to our older webkit version] -Signed-off-by: Arnout Vandecaeppelle (Essensium/Mind) <[email protected]> ---- -Index: trunk/Source/ThirdParty/ANGLE/src/compiler/glslang.y -=================================================================== ---- trunk/Source/ThirdParty/ANGLE/src/compiler/glslang.y (revision 154108) -+++ trunk/Source/ThirdParty/ANGLE/src/compiler/glslang.y (revision 154109) -@@ -48,4 +48,5 @@ - %pure-parser - %parse-param {TParseContext* context} -+%lex-param {YYLEX_PARAM} - - %union {
package/webkit/webkit.mk +28 -39
97 lines not on this page · raw message
Signature · 1 line
2.0.1
RFC 8/9 libsoup: add libsoup-gnome support
In reply to Hadrien Bouttevillelibsoup can build a libsoup-gnome library. Add support for libsoup-gnome as it is a dependency of Midori.
--- package/libsoup/Config.in | 5 +++++ package/libsoup/libsoup.mk | 8 +++++++- 2 files changed, 12 insertions(+), 1 deletion(-)
package/libsoup/Config.in +5 -0
@@ -15,6 +15,11 @@ config BR2_PACKAGE_LIBSOUP if BR2_PACKAGE_LIBSOUP +config BR2_PACKAGE_LIBSOUP_GNOME + bool "libsoup-gnome" + help + Build libsoup-gnome library. + config BR2_PACKAGE_LIBSOUP_SSL bool "https support" select BR2_PACKAGE_GLIB_NETWORKING
package/libsoup/libsoup.mk +7 -1
@@ -18,11 +18,17 @@ ifneq ($(BR2_INET_IPV6),y) LIBSOUP_CONF_ENV += soup_cv_ipv6=no endif -LIBSOUP_CONF_OPT = --disable-glibtest --without-gnome +LIBSOUP_CONF_OPT = --disable-glibtest LIBSOUP_DEPENDENCIES = host-pkgconf host-libglib2 \ libglib2 libxml2 sqlite host-intltool +ifeq ($(BR2_PACKAGE_LIBSOUP_GNOME),y) +LIBSOUP_CONF_OPT += --with-gnome +else +LIBSOUP_CONF_OPT += --without-gnome +endif + ifeq ($(BR2_PACKAGE_LIBSOUP_SSL),y) LIBSOUP_DEPENDENCIES += glib-networking else
Signature · 1 line
2.0.1
RFC 9/9 midori: bump to version 0.5.8
In reply to Hadrien Boutteville--- package/midori/Config.in | 15 ++++--- .../midori-0001-remove-libnotify-dependency.patch | 27 ++++++++++++ package/midori/midori.mk | 51 +++++++++------------- 3 files changed, 57 insertions(+), 36 deletions(-) create mode 100644 package/midori/midori-0001-remove-libnotify-dependency.patch
package/midori/Config.in +9 -6
@@ -1,20 +1,23 @@ 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_SQLITE + select BR2_PACKAGE_LIBXML2 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_PACKAGE_LIBGTK2 || BR2_PACKAGE_LIBGTK3 depends on BR2_INSTALL_LIBSTDCPP # webkit depends on BR2_TOOLCHAIN_HAS_THREADS # webkit -> enchant -> libglib2 - depends on BR2_USE_WCHAR # webkit + depends on BR2_USE_WCHAR # webkit, libsoup -> libglib2 depends on BR2_PACKAGE_WEBKIT_ARCH_SUPPORTS help Midori is a lightweight web browser based on WebKit http://software.twotoasts.de/?page=midori -comment "midori needs libgtk2 and a toolchain w/ C++, wchar, threads" +comment "midori needs libgtk2 or libgtk3 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 + !BR2_TOOLCHAIN_HAS_THREADS || \ + !(BR2_PACKAGE_LIBGTK2 || BR2_PACKAGE_LIBGTK3)
package/midori/midori-0001-remove-libnotify-dependency.patch new file +27 -0
@@ -0,0 +1,27 @@ +Remove the libnotify dependency. + +For now there is no libnotify package in Buildroot and this feature does not +seem necessary. + +Signed-off-by: Hadrien Boutteville <[email protected]> + +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -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)
package/midori/midori.mk +21 -30
66 lines not on this page · raw message
Signature · 1 line
2.0.1
RFC 9/9 midori: bump to version 0.5.8
Hello all,
On Tue, 8 Jul 2014 15:57:12 +0200, Hadrien Boutteville wrote:
[...]
Quoted 1 line
+ifeq ($(BR2_PACKAGE_GTK3),y)
Argh! I made a mistake in a last minute untested modification... It's of course BR2_PACKAGE_LIBGTK3.
Quoted 9 lines
package/midori/midori.mk +8
-0+# The actual WebKit logic in Buildroot enable webkit2 when WebKit uses GTK+3 +MIDORI_CONF_OPT += \ + -DUSE_GTK3=ON \ + -DHALF_BRO_INCOM_WEBKIT2=ON +MIDORI_DEPENDENCIES += libgtk3 +else +MIDORI_DEPENDENCIES += libgtk2 +endif
package/midori/midori.mk line 39
Quoted 10 lines
package/midori/midori.mk +4
-3-define MIDORI_INSTALL_TARGET_CMDS - (cd $(@D); $(HOST_DIR)/usr/bin/python2 ./waf --destdir=$(TARGET_DIR) install) +define MIDORI_EXTRACT_CMDS + $(call suitable-extractor,$(MIDORI_SOURCE)) $(DL_DIR)/$(MIDORI_SOURCE) \ + | $(TAR) $(TAR_STRIP_COMPONENTS)=0 -C $(@D) $(TAR_OPTIONS) - endef -$(eval $(generic-package)) +$(eval $(cmake-package))
Regards,
Hadrien
cover Add libgtk3 and bump webkit to version 2.4.3
In reply to Hadrien BouttevilleDear Hadrien Boutteville,
Quoted 7 lines · Hadrien Boutteville
This series mainly does two things: add libgtk3 and bump webkit.
- 1..5: requirements and dependencies for libgtk3
- 6: add libgtk3
- 7: bump webkit
- 8: is required by Midori
- 9: bump Midori to test WebKit 2.4.3
I've applied patches 1, 2 and 3 of your series. For the rest of the series, I'm waiting for some more review. But at least having the libglib and pango bumps applied will give them some testing in the autobuilders. Get ready to fix issues if some appears.
Thanks,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
cover Add libgtk3 and bump webkit to version 2.4.3
Hello Thomas,
Quoted 12 lines · Thomas Petazzoni
Dear Hadrien Boutteville,
Quoted 7 lines · Hadrien Boutteville
This series mainly does two things: add libgtk3 and bump webkit.
- 1..5: requirements and dependencies for libgtk3
- 6: add libgtk3
- 7: bump webkit
- 8: is required by Midori
- 9: bump Midori to test WebKit 2.4.3
Quoted 4 lines
I've applied patches 1, 2 and 3 of your series. For the rest of the series, I'm waiting for some more review. But at least having the libglib and pango bumps applied will give them some testing in the autobuilders. Get ready to fix issues if some appears.
Sure, thanks!
Hadrien