87 Commits

Author SHA1 Message Date
ajacoutot
a25f9bf46d Similar commit to what was done to webkitgtk4 regarding wxneeded:
"
USE_WXNEEDED, add "-Wl,-z,wxneeded" to pkg-config files
WebKit violates W^X, so binaries linked with it need to be "wxneeded".
Pkg-config files seem to be an appropriate mean of automating this task.
"
2016-09-01 15:50:30 +00:00
ajacoutot
7c64a73d83 SECURITY update to webkit-2.4.10. 2016-03-16 07:10:57 +00:00
ajacoutot
b5d32276a3 SECURITY fix for CVE-2014-1748. 2016-02-04 13:34:20 +00:00
ajacoutot
0527c94ac8 Drop old-bison patch; not tested yes since it seems pledged binutils broke
stuffs.
2015-11-15 12:45:48 +00:00
landry
798f0db6ba Fix build on sparc64. 2015-11-09 09:29:05 +00:00
ajacoutot
8e11a8faa7 Update to webkit-2.4.9. 2015-05-20 15:32:54 +00:00
ajacoutot
e7a0202d99 --disable-webkit2 ; WebKit2 is now provided by www/webkitgtk4.
ok landry@
2015-04-08 21:42:14 +00:00
ajacoutot
4c30b4775f Fix Webkit build with new GLib. 2015-03-27 16:02:49 +00:00
naddy
9b935b0068 <sys/socket.h> already exposes struct iovec, no need to include <sys/uio.h>.
Remove now useless patches.
2015-01-20 11:44:19 +00:00
ajacoutot
a1b1736f85 Update to webkit-2.4.8. 2015-01-10 00:38:38 +00:00
ajacoutot
7ff00abad3 Minor update to webkit-2.4.6. 2014-09-30 12:18:09 +00:00
ajacoutot
03c8485d05 Cleanup to help future update and split; no pkg change. 2014-09-28 06:52:14 +00:00
ajacoutot
5a2ff42e86 Update to webkit-2.4.5.
ok landry@
2014-08-26 21:31:03 +00:00
espie
f8357ab163 webkit doesn't use pkgconfig for EGL, so explicitly link the extra library
for now. This fixes the build and unlocks at least 100 other ports.
2014-07-15 19:58:52 +00:00
ajacoutot
4619ca73e5 Update to webkit-2.4.4. 2014-07-14 21:13:31 +00:00
ajacoutot
dd10cceb96 Minor update to WebKit 2.4.3. 2014-05-26 16:52:35 +00:00
ajacoutot
3bd02d9c7c Minor update to webkit-2.4.1. 2014-04-20 16:40:55 +00:00
ajacoutot
fe9fa22afd Remove fcntl call to set access mode flags on the duplicated files
descriptor. Those flags make fcntl to fail (upstream).

ok landry@
2014-04-11 18:27:45 +00:00
sthen
7e5aa6d1cb fix one issue with webkit on i386, from landry@ 2014-04-03 15:19:20 +00:00
landry
93b603d39b Fix gtk3 FLAVOR / Webkit2 on powerpc. Using std::atomic on a 64 bits
type wont fly on a 32 bits arch.. since gcc wont have atomic builtins
for it. #ifdef out the templatization as a workaround for now.
https://bugs.webkit.org/show_bug.cgi?id=130837
2014-03-27 22:03:48 +00:00
landry
5e560a9fe9 Drop chunk 7 of patch-GNUmakefile_in, it was added for webkit 2.0.0 at
that time to workaround a gmake weirdness triggering forkbombs, but now
apparently it causes weird build failures with binutils error messages
when using MAKE_JOBS>=4, as experienced by sthen@, naddy@ & espie@.

Unfortunately, i don't have hardware with 4 cores or more, so didnt see
those... Removing the chunk doesnt seem to show gmake weirdness anymore,
 so just do it (tm). Analysed by espie@.

Note that gtk3 FLAVOR is broken on powerpc with "undefined reference to
`__atomic_fetch_add_8'". /me goes crying in a corner.

building webkit is hard, let's go shopping.
2014-03-26 21:10:06 +00:00
landry
1d6cd62103 Update to webkit 2.4.0.
See http://webkitgtk.org/2014/03/24/webkitgtk2.4.0-released.html. Note
that Webkit2 API is still broken, on OpenBSD(and FreeBSD) and this might
be the last release shipping the Webkit1 API.
Pass -DLOG_DISABLED=0 to CPPFLAGS to somewhat allow debugging.
Use the same ruby version on sparc64 as other archs now that they're
more reliable.

Remove some patches merged upstream, and add links to upstream bz for
most of the remaining patches.

Note: this needs gnu/usr.bin/binutils/include/opcode/i386.h r1.15 to
build. And gcc 4.8 (and python, ruby & perl :)
Built numerous times on amd64/ppc/sparc64 (broken at runtime on the last
two, but that's not a regression from 2.2..) and went in a bunch of
bulks.
2014-03-25 06:25:45 +00:00
espie
883456a3be better: don't bother linking if it's already there, just don't error out
for that...
2014-03-23 12:59:57 +00:00
espie
434e6c1212 use ln -f, so even if we rerun things twice, we won't blow in a stupid way. 2014-03-23 09:51:33 +00:00
ajacoutot
96d65047c9 Re-update to webkit-2.2.4 with a fix for our pre-historical bison(1). 2014-01-29 17:28:05 +00:00
landry
e786c343ff Revert previous and bump EPOCH, seems this now requires a newer bison,
which i didnt spot since i had an update on my box.
Noticed by nigel@, thanks!
2014-01-28 23:24:42 +00:00
landry
aefa9d3d69 Bugfix update to webkit 2.2.4.
http://webkitgtk.org/2014/01/21/webkitgtk2.2.4-released.html
2014-01-27 19:56:20 +00:00
ajacoutot
b33b0e92d8 Update to webkit-2.2.2.
ok landry@
2013-11-14 16:47:00 +00:00
landry
f4aeefd780 Bugfix update to webkit 2.2.1.
http://webkitgtk.org/2013/10/16/webkitgtk2.2.1-released.html
2013-10-20 13:24:29 +00:00
landry
b1d6e1ceb8 Shot in the dark to fix on sparc64 by providing int64_t variants of
atomicDecrement/Increment.
2013-10-20 09:07:57 +00:00
landry
f4b4fea34b Add patch to fix the build on sparc64, adding a reinterpret_cast copied
from Source/WebKit2/Platform/CoreIPC/Connection.cpp
2013-10-06 14:42:39 +00:00
landry
bdb86c1a88 Add forgotten patch taken from
https://bug-103128-attachments.webkit.org/attachment.cgi?id=202651 to
blindly fix powerpc (maybe)
2013-10-06 14:23:04 +00:00
landry
28a14a9d51 Update to webkit 2.2.0.
- Now depends on newer gcc, use 4.6 by default.
- Enable webkit2 api in the gtk3 FLAVOR. Still broken/erratic behaviour at
  runtime, but at least this will allow people to debug it, and it's
  required by newer GNOMEs anyway. Provide MiniBrowser for debugging purposes.
- add hack from bug #118732 to workaround the fact that our binutils
  doesnt support 'ar T'
- update patches from #103128 to tentatively fix powerpc runtime
- force-disable YARR_JIT & ASSEMBLE on archs without JIT (ie anything
  besides i386/amd64) via Platform.h patch instead of JSC_CPPFLAGS (which
  doesnt work anymore anyway)
- add a bunch of patches to fix build (missing includes etc) in the WebKit2
  source tree

Tested in an amd64 bulk build, runtime-tested previous betas on
i386/amd64, test-built on powerpc and sparc64. Things might still be
broken at runtime on powerpc, but at least it allows more GNOME things
to be updated.
2013-10-06 14:03:42 +00:00
ajacoutot
d8696f3b93 Update to webkit 2.0.4.
OK landry@ (maintainer)
2013-08-06 19:11:30 +00:00
ajacoutot
9e90967bbb Update to webkit-2.0.3.
ok landry@ (maintainer)
2013-06-19 13:24:17 +00:00
ajacoutot
2932fc964a Needs to depend on devel/harfbuzz,-icu now. 2013-05-31 20:07:33 +00:00
ajacoutot
6fb221d40b Update to webkit-2.0.2.
ok landry@ (maintainer)
2013-05-14 12:04:59 +00:00
ajacoutot
61190f187b Initialize WebKitWebPlugin path to prevent double-free; from upstream
landry@ (maintainer) is currently away, so ok jasper@
2013-05-07 14:16:52 +00:00
landry
55dd5addd8 Add a patch to fix stack bounds computation, from David Hill (also
pushed upstream as https://bugs.webkit.org/show_bug.cgi?id=114978)

Seems to fix xombrero/surf crashes on amd64, and seems to magically make
webkit sort-of usable (ie dead-slow, but js seems to work) on powerpc.
(symptom : ** Message: console message: undefined @0: RangeError: Maximum
call stack size exceeded.)

Note : webkit still fails to build on mips64* and hppa. sigh.

ok jasper@
2013-04-23 09:40:58 +00:00
ajacoutot
cb00849379 Update to webkit-2.0.1.
ok landry@ (maintainer)
2013-04-18 11:31:37 +00:00
landry
4631994f18 Major update to webkit 2.0.0.
- add ruby to BDEPS. Webkit build system now uses autohell, python, ruby and perl \o/
- set MODRUBY_REV = 1.8 on sparc64 since 1.9 is broken there
- disable WebKit2 support, it needs shm_open()/shm_unlink()
- switch from gstreamer-0.10 to gstreamer1
- force-disable JIT/ASSEMBLER on non-jit archs, builds fails otherwise (bug #113638)
- only build NumberPrototype.cpp with -O0 on sparc64, not the damn whole thing
- use -Wl,--relax on ppc otherwise linking fails
- move some patches around since JavaScriptCore/wtf moved to WTF/wtf
- dont uselessly rerun make within make during install, gmake blows
- blindly backport upstream r144077 to fix mips64 build
- backport bits of #103128 & r145551 to fix powerpc build
- backport r147967 & more to fix bashisms in configure
- bug #109932 forced the use of gcc >= 4.7 or clang >= 3.0, but this is
  only for WebKit2 so loosen the check atm

Tested working fine on amd64 & i386, went in bulk builds, known broken
at runtime on ppc (being worked on. or not.) should build on mips64el
(and maybe even run!) and sparc64 (wont run! ever! nothing new here..),
but 'someone' will care about the poor exotic archs and fix'em, right ?

After too much prodding from the gnome maintainers who desperately need it
2013-04-13 09:11:02 +00:00
landry
e873e2ac85 Add the missing goo to allow webkit to build on hppa, opening the can of
worms for a whole bunch of new ports there.
2012-10-07 09:24:18 +00:00
landry
4f9c4f4351 Bugfix update to webkit 1.8.3.
Remove the pthread/lpthread chunks from patch-GNUmakefile_in while here.

Successfully tested with GtkLauncher on sparc64 after a whooping 21h-build..
2012-08-22 07:48:37 +00:00
landry
fb0432c4b2 Bugfix update to webkit 1.8.2.
See http://trac.webkit.org/wiki/WebKitGTK/1.8.x for list of fixes.
2012-08-07 09:35:37 +00:00
landry
4f9544f081 add upstream bug # url 2012-05-18 09:56:04 +00:00
landry
99bc929b39 Fix build on sparc64, broken since 1.8.1. Provide atomic{In,De}crement
implems based on __sync_fetch_and_add builtin, with hints from kettenis@
2012-05-18 07:45:57 +00:00
landry
b8258512ed Update to webkit 1.8.1.
ok ajacoutot@, tested by a few on ports@ (thanks!)
2012-04-30 13:31:06 +00:00
landry
df59187f3f sync comment 2012-04-03 15:41:07 +00:00
landry
010583df4b Major update to webkit 1.8.0.
- disable static libs, shrinks package size by a factor 3
- now depends on geoclue for geolocation purposes (of course its up to
  the browsers to enable the feature or not..)
- simplify Makefile/FLAVORS/SHARED_LIBS
- fold most of the PFRAGs to PLIST by using variables
- remove patch-Source_JavaScriptCore_runtime_JSValue_h, seems it was
  added for sparc64 but now it breaks the build there, and noone has been
able to justify the addition of that patch. Without it, GtkLauncher
shows simple html websites on sparc64 and crashes as soon as some js is
involved, but thats not much different from before
- remove patch-Source_JavaScriptCore_wtf_text_StringHash_h &
  patch-Source_JavaScriptCore_wtf_text_StringImpl_cpp, replaced by
patch-Source_JavaScriptCore_runtime_UString_h for mips64/sparc64
- add patch-Source_JavaScriptCore_wtf_NumberOfCores_cpp for #82585

tested on i386/amd64 by several, amd64 bulk build, ppc & sparc64 testing
by myself. mips64el in the works..
ok ajacoutot@
2012-04-03 15:39:35 +00:00
landry
e55fa6c13c add link to upstream bz# 2012-03-14 20:23:57 +00:00