aboutsummaryrefslogtreecommitdiffstats
path: root/package/webkit
Commit message (Collapse)AuthorAgeFilesLines
* webkit: fix build with bison 2.6Thomas Petazzoni2012-12-152-2/+674
| | | | | | | | | | | | | | | | | | | WebKit 1.2.7 does not build with Bison 2.6, but Bison 2.6 is our host-bison, so if the build machine has bison 2.6, or if by chance it gets built before webkit, then the build fails with errors such as: http://autobuild.buildroot.org/results/0b7cfbebd4388cabfa243b5ef74e3b6316fd9fd9/build-end.log (the real error is not visible due to the overwhelming number of warnings). So, we add a patch that modifies WebKit to make it compatible with Bison 2.6 (patch taken from upstream), and we also add 'host-bison' to the WebKit dependencies, so that we are sure that a well-known version of bison is used. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* webkit: silence gazillions of warningsThomas Petazzoni2012-12-151-1/+7
| | | | | | | | | | | | | Building webkit with a recent gcc versions gives gazillions of warnings such as 'warning: cast from 'WTF::AlignedBufferChar* {aka char*}' to 'JSC::Identifier*' increases required alignment of target type [-Wcast-align]'. Those make the webkit build very noise, and hard to debug, so let's silence those warnings. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* webkit: Fix build issue with gcc-4.6 and aboveValentine Barshak2012-10-211-0/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes the "Unknown parameter for tags/attrs" build error. Backported from commit 88e08c43d0200a4b06a298b7d2541965eebc0afe [PATCH] 2011-04-17 Thierry Reding <thierry.reding@avionic-design.de> Reviewed by Adam Barth. Fix build with GCC 4.6. * dom/make_names.pl: Execute preprocessor without the -P option. The preprocessor in GCC 4.6 eats empty lines, effectively breaking the parsing performed by this script. Dropping the -P option when invoking the preprocessor keeps the empty lines but as a side-effect also adds additional linemarkers. From the cpp manpage: -P Inhibit generation of linemarkers in the output from the preprocessor. This might be useful when running the preprocessor on something that is not C code, and will be sent to a program which might be confused by the linemarkers. The linemarkers are not problematic, however, because the script properly handles them by ignoring all lines starting with a #. Signed-off-by: Valentine Barshak <gvaxon@gmail.com> Tested-by: Samuel Martin <s.martin49@gmail.com> Acked-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* all packages: rename XXXTARGETS to xxx-packageArnout Vandecappelle (Essensium/Mind)2012-07-171-1/+1
| | | | | | | | | | | | | Also remove the redundant $(call ...). This is a purely mechanical change, performed with find package linux toolchain boot -name \*.mk | \ xargs sed -i -e 's/$(eval $(call GENTARGETS))/$(eval $(generic-package))/' \ -e 's/$(eval $(call AUTOTARGETS))/$(eval $(autotools-package))/' \ -e 's/$(eval $(call CMAKETARGETS))/$(eval $(cmake-package))/' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package: remove useless arguments from AUTOTARGETSThomas Petazzoni2011-09-291-1/+1
| | | | | | | | | | Thanks to the pkgparentdir and pkgname functions, we can rewrite the AUTOTARGETS macro in a way that avoids the need for each package to repeat its name and the directory in which it is present. [Peter: pkgdir->pkgparentdir] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* webkit: update pthread_getattr_np patches for uClibc 0.9.32Peter Korsgaard2011-06-241-3/+4
| | | | | | Similar to how it is done for qt. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* webkit: bump to version 1.2.7Gustavo Zacarias2011-03-311-1/+1
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* webkit: prefer X11 backend if both directfb and x11 are availablePeter Korsgaard2011-03-271-3/+1
| | | | | | | | | | This shouldn't happen with any sane configuration, but is possible with randpackageconfig builds, where it breaks the build as libgtk would prefer X11 and webkit directfb, causing it to fail with: No package 'gtk+-directfb-2.0' found Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* webkit: security bump to version 1.2.6Gustavo Zacarias2011-01-111-1/+1
| | | | | | | | | Bump to version 1.2.6 which includes security fixes for: CVE-2010-1791, CVE-2010-3812, CVE-2010-3813, CVE-2010-4197, CVE-2010-4198, CVE-2010-4204 and CVE-2010-4206. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* webkit: bump to version 1.2.5Gustavo Zacarias2010-12-225-7/+70
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* webkit: needs libcurl, not the curl binaryPeter Korsgaard2010-11-192-2/+2
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* webkit: fix compilation with directfbGustavo Zacarias2010-11-191-0/+144
| | | | | | | | Closes #2833 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* webkit: Fix build failure on uClibcThomas Petazzoni2010-07-271-0/+79
| | | | | | | | | uClibc does not define pthread_getattr_np(), so we need to workaround this using a patch. Fixes bug #1405. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* webkit: the X11 variant needs libXtThomas Petazzoni2010-07-272-1/+2
| | | | | | Fixes bug #829. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* webkit: bump to webkitgtk 1.2.3Thomas Petazzoni2010-07-275-202/+29
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* webkit: fix misc build issuesThomas Petazzoni2010-07-061-1/+2
| | | | | | | | Webkit depends on libjpeg, so add it as a dependency. Webkit also uses icu but fails to find it if we don't pass ac_cv_path_icu_config to its ./configure script. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* webkit: remove user visible rendering target selectionPeter Korsgaard2010-05-252-23/+7
| | | | | | | | Instead use the same logic as in libgtk2. The rendering target selected MUST be the same as libgtk2's, so just figure it out automatically instead. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package: don't select libgtk2 as it doesn't know what backend to usePeter Korsgaard2010-05-251-1/+1
| | | | | | | | libgtk2 can either use the X11 or directfb backend, depending on what is selected - But if other packages 'select' libgtk2 there is no guarantee that any backends are enabled, breaking the build. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* webkit: mention build failure with old linuxthread toolchainsThomas Petazzoni2010-02-231-0/+3
| | | | | | | | I could have created a !dependency on !BR2_PTHREADS_OLD, but that wouldn't work with external toolchains. So, let's just add a notice in the help message of WebKit. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* webkit: several build fixesThomas Petazzoni2010-02-232-1/+176
| | | | | | | | | | | | | | | | | | | | | | This patch fixes different problems: * The autogen script of Webkit did not find autoconf, automake and aclocal since they are not installed in the host, but in $(HOST_DIR). Therefore we pass HOST_CONFIGURE_OPTS to autogen.sh so that the PATH is correct. * The autogen script was complaining that gtk-doc.make could not be find. As compiling gtk-doc completely is a pain (depends on Docbook), we just include gtk-doc.make into package/webkit/, and copy it to the source directory. * The autogen script was complaining about macros used in gtk-doc.make that did not exist. This is because aclocal was not run with $(STAGING_DIR)/usr/share/aclocal/ in the include path. Therefore, we fix ACLOCAL_FLAGS of Webkit's autogen script before running it. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* webkit: fix dependencies on host tools flex and gperfLionel Landwerlin2010-01-271-2/+2
| | | | | Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* webkit: convert to newstyle autotools infrastructureLionel Landwerlin2010-01-271-8/+9
| | | | | Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* webkit: select cairo PNG featureThomas Petazzoni2009-08-101-0/+1
| | | | | | | | | | | | | | | Webkit currently depends on libgtk2, which itself depends on Cairo. However, the dependency of libgtk2 is only on BR2_PACKAGE_CAIRO, BR2_PACKAGE_CAIRO_PS and BR2_PACKAGE_CAIRO_PDF. While this might be enough for libgtk2 to build and work, Webkit makes direct use of the PNG functionnalities of Cairo. If this functionnality is not available in Cairo, the Webkit build complains that cairo_surface_write_to_png_stream() is not defined. Therefore, we make sure that WebKit selects BR2_PACKAGE_CAIRO_PNG. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* webkit: disable the libtool patchThomas Petazzoni2009-08-101-0/+1
| | | | | | | | | | | The version of Webkit packaged in Buildroot uses libtool 2.x, for which our package/buildroot-libtool.patch does not apply. So we disable this patch. However, on my system, the lack of libtool modification prevents the final linking to succeed (due to libtool trying to link target code with host libraries). This will have to be fixed separatly. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* webkit: only show the rendering backend choice when webkit is enabledThomas Petazzoni2009-08-041-0/+4
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* webkit: Update to WebKit svn r44552.Will Newton2009-08-022-5/+39
| | | | | | | | | | | Closes #427 - Fix generation of configure script and Makefiles. - Add dependencies on libsoup and enchant. - Allow configuration of rendering target (currently X11 or DirectFB). Signed-off-by: Will Newton <will.newton@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* libglib2: build host version for build-time binariesPeter Korsgaard2009-03-161-2/+0
| | | | | Build host version of glib in HOST_DIR and use the build-time binaries from there instead of relying on what is installed on the host.
* webkit: depend on C++ + wchar support in toolkit, as icu needs itPeter Korsgaard2009-01-271-0/+4
|
* webkit: don't depend on X serverPeter Korsgaard2009-01-271-1/+1
|
* webkit: revert r24983 (Disable webkit (with comment) if X is not available)Peter Korsgaard2009-01-271-6/+1
| | | | Webkit doesn't need X.
* Disable webkit (with comment) if X is not availableUlf Samuelsson2009-01-231-1/+6
|
* buildroot: remove trailing spacesPeter Korsgaard2008-08-042-5/+5
| | | | | | | for i in `find -name 'Config*' -o -name 'Makefile*' -o -name '*.mk'`; do sed -i 's/ \+$//' $i; done
* Kconfig: remove 'default n'Peter Korsgaard2008-07-171-1/+0
| | | | 'default n' is the default, so there's no need to say it explicitly.
* Use HOST_GLIB for packagesUlf Samuelsson2008-07-051-1/+1
|
* update webkit versionJohn Voltz2008-04-241-1/+1
|
* added webkitJohn Voltz2008-03-063-0/+44