Commit graph

277 commits

Author SHA1 Message Date
nia
b2e0c18886 *: Enable Wayland where supported in GTK and Firefox.
Bump PKGREVISIONs
2020-01-05 17:55:21 +00:00
taca
f89772dda7 Bump PKGREVISION by change of default Ruby version
Bump PKGREVISION by change of default Ruby version from 2.4.x to 2.6.x.
These packages are depends on Ruby in some ways.
2019-12-15 15:38:57 +00:00
leot
1b5bbf3fda webkit-gtk: Fix build when `opengl' option is disabled
Similar commit done upstream too.
2019-12-14 15:09:42 +00:00
leot
08862f1af2 webkit-gtk: Update to 2.26.2
Changes:
2.26.2
======
  - Improve performance of querying system fallback fonts.
  - Don't use prgname in dbus-proxy socket path.
  - Fix thread-safety issues in image decoders.
  - Fix the build with WebDriver disabled.
  - Disable accelerated compositing when we fail to initialize the EGL
    dispaly under Wayland.
  - Fill the objects category in emoji picker.
  - Fix several crashes and rendering issues.
2019-11-06 22:47:38 +00:00
nia
5940ce4e43 webkit-gtk: Disable WPE when wayland is enabled for now 2019-10-05 14:59:47 +00:00
leot
a86b2b6c24 webkit-gtk: Update to 2.26.1
Changes:
WebKitGTK 2.26.1
================
 - Fix MSE media player with GStreamer 1.14.
 - Fix HTML alternate loads never finishing.
 - Fix web view initialization delay on first load.
 - Validate user agent string set via API.
 - Fix a crash when a web view is destroyed with accelerated compositing mode enabled.
 - Fix EGL initialization with newer versions of Mesa.
 - Do not enable the sandbox inside docker.
 - Fix several crashes and rendering issues.

Thanks to <wiz> for approving update during freeze!
2019-09-24 17:07:20 +00:00
wiz
dd9a44bb25 webkit-gtk: add TOOL_DEPENDS on py-expat
Trying to fix
[ 53%] Generating ../../DerivedSources/JavaScriptCore/IntlDateTimeFormatConstructor.lut.h
Traceback (most recent call last):
  File "/scratch/www/webkit-gtk/work/webkitgtk-2.26.0/Source/JavaScriptCore/disassembler/udis86/ud_itab.py", line 379, in <module>
    main()
  File "/scratch/www/webkit-gtk/work/webkitgtk-2.26.0/Source/JavaScriptCore/disassembler/udis86/ud_itab.py", line 374, in main
    tables = UdOpcodeTables(xml=sys.argv[1])
  File "/scratch/www/webkit-gtk/work/webkitgtk-2.26.0/Source/JavaScriptCore/disassembler/udis86/ud_opcode.py", line 326, in __init__
    for insn in self.__class__.parseOptableXML(xml):
  File "/scratch/www/webkit-gtk/work/webkitgtk-2.26.0/Source/JavaScriptCore/disassembler/udis86/ud_opcode.py", line 585, in parseOptableXML
    xmlDoc = minidom.parse(xml)
  File "/usr/pkg/lib/python2.7/xml/dom/minidom.py", line 1917, in parse
    from xml.dom import expatbuilder
  File "/usr/pkg/lib/python2.7/xml/dom/expatbuilder.py", line 32, in <module>
    from xml.parsers import expat
  File "/usr/pkg/lib/python2.7/xml/parsers/expat.py", line 4, in <module>
    from pyexpat import *
ImportError: No module named pyexpat
2019-09-22 05:38:53 +00:00
leot
f4c00e9042 webkit-gtk: isinf/isnan needs <cmath> in SymbolTable_autogen.cpp 2019-09-15 10:58:52 +00:00
leot
b66807f611 webkit-gtk: Bump ABI depends due possible new gcc requirements
(Should be part of the 2.26.0 update, sorry.)
2019-09-10 22:14:12 +00:00
leot
7d3865ac04 webkit-gtk: Update to 2.26.0
pkgsrc changes:
 - When built with gcc, 7.3.0 or newer is now needed

Changes:
WebKitGTK 2.26.0
================
 - Disable process swap on navigation.
 - Do not enable the sandbox in Snap.
 - Fix sandbox parsing DISPLAY on X11.
 - Translation updates: Brazilian Portuguese, German.

WebKitGTK 2.25.92
=================
 - Add WEBKIT_USE_SINGLE_WEB_PROCESS environment variable to force single
   process model in all WebKitWebContext.
   This is a temporary solution for applications still depending on the
   single process mode behavior. It will be only available in 2.26 series.
 - Add new API to remove a filter from an user content manager given its
   identifier.
 - Add support for HSTS.
 - Several improvements and bug fixes in MSE media player.
 - Fix building without unified sources.
 - Fix several crashes and rendering issues.
 - Translation updates: Polish, Ukrainian.

WebKitGTK 2.25.4
================
 - Switch to use libsoup WebSockets API.
 - Add support for permessage-deflate WebSocket extension.
 - Add support for datalist element in text input fields.
 - Fix a crash with empty video source.
 - Fix several crashes and rendering issues.

WebKitGTK 2.25.3
================
 - Remove support for GTK2 NPAPI plugins.
 - Fix web view updates after swapping web process if accelerated
   compositing mode is forced.
 - Make kinetic scrolling work again.
 - Fix position of emoji chooser when page is scrolled.
 - Fix web process deadlock when scrolling twitter timeline which contains
   HLS videos.
 - Make navigation gesture use dark fallback background color color on dark
   themes.
 - Make Previous/Next gesture work in RTL mode.
 - Support cancelling touchscreen back/forward gesture.
 - Add user agent quirk to make github work in FreeBSD.
 - Fix content disappearing when using CSS transforms.
 - Fix some radio streams that could not be played.
 - Fix video pause that sometimes caused to skip to finish.
 - Fix volume level changes when playing a video.
 - Fix several crashes and rendering issues.

WebKitGTK 2.25.2
================
 - Enable process switch on cross site navigation.
 - Use libwpe with fdo backend to implement accelerated compositing under
   wayland.
 - Fix rendering artifacts in youtube volume button.
 - Fix trapezoid artifact in github comment box.
 - Ensure web extensions directory is readable when sandbox is enabled.
 - Fix the executable name of WebDriver process, renamed by mistake in
   2.25.1.
 - Enable hyperlink auditing setting by default.
 - Remove the option to build without using the redirected XComposite window.
 - Fix HLS streams being slow to start.
 - Make accessibility work when sandbox is enabled.
 - Fix several crashes and rendering issues.

WebKitGTK 2.25.1
================
 - Add support for subprocess sandboxing.
 - Add API to get the web process unique identifier of a WebKitFrame.
 - Add WebKitWebPage::did-associate-form-controls-for-frame signal and
   deprecate did-associate-form-controls.
 - Implement AtkComponentIface scroll_to methods.
 - Improve rendering of form controls when GTK theme is dark and enable
   prefers-color-scheme media query.
 - Show the emoji chooser popover for editable content.
 - Fix touch capabilities detection for websites checking touch events
   properties present in window or pointer media queries.
 - Fix several crashes and rendering issues.
2019-09-10 22:10:04 +00:00
nia
fad2215b7e webkit-gtk: Wayland support.
Build tested by leot, thanks.
2019-08-29 10:40:14 +00:00
leot
d829d38605 webkit-gtk: Update to 2.24.4
pkgsrc changes:
 - Permit to use Python 3.x for build
 - Update REPLACE_* lists and add tool dependency to bash
 - Remove no longer needed
   patch-Source_WebCore_platform_graphics_gstreamer_MediaPlayerPrivateGStreamer.cpp
   (fixed upstream)

Changes:
2.24.4
------
 - Updated the user agent string to make happy certain websites which
   would claim that the browser being used was unsupported.
 - Improve loading of multimedia streams to avoid memory exhaustion due
   to excessive caching.
 - Fix display of documents with MIME type application/xml in the Web
   Inspector, when loaded using XmlHttpRequest.
 - Fix a hang while scrolling certain websites which include HLS video
   content (Twitter, for example).
 - Fix rounding artifacts in volume levels for media playback.
 - Fix several crashes and rendering issues.
 - Fix the build with video track support disabled.
 - Fix the build with OpenGL support disabled.
 - Fix build issue which would cause media controls to disappear when
   Python 3.x was used during the build process.
2019-08-28 10:11:09 +00:00
wiz
84e123ddd2 Bump PKGREVISIONs for perl 5.30.0 2019-08-11 13:17:48 +00:00
wiz
1ac2210b6f *: recursive bump for gdk-pixbuf2-2.38.1 2019-07-21 22:23:57 +00:00
leot
753cdcc0af webkit-gtk: Update to 2.24.3
pkgsrc changes:
 - Remove not needed dependency to gnutls and add missing dependency to
   libtasn1 (previously indirectly picked up via gnutls)
 - Remove patch-Source_WebCore_platform_graphics_gstreamer_MediaPlayerPrivateGStreamerBase.cpp,
   fix is now present in 2.24.3.
 - Remove a no more needed hunk in
   patch-Source_JavaScriptCore_assembler_ARM64Assembler.h.

Changes:
2.24.3
======
 - Deprecate WebSQL APIs.
 - Make Previous/Next gesture work in RTL mode.
 - Fix content disappearing when using CSS transforms.
 - Fix rendering artifacts in youtube volume button.
 - Fix trapezoid artifact in github comment box.
 - Fix video pause that sometimes caused to skip to finish.
 - Fix volume level changes when playing a video.
 - Fix HLS streams being slow to start.
 - Fix some radio streams that could not be played.
 - Fix the build with older versions of GStreamer.
 - Fix the build with video and audio disabled.
 - Fix several crashes and rendering issues.
 - Translation updates: Brazilian Portuguese.
2019-07-02 10:48:08 +00:00
leot
d60bcb0ce7 webkit-gtk: Add a reference to CMakeLists.txt for GCC_REQD 2019-05-20 11:46:57 +00:00
leot
ff2a1f09af webkit-gtk: Add a rationale for NOT_PAX_MPROTECT_SAFE 2019-05-20 11:23:48 +00:00
leot
91259cfe63 webkit-gtk: Fix the build with `opengl' option
TEXTURE_MAPPER_COLOR_CONVERT_FLAG is defined only if GSTREAMER_GL
is defined (it is not in pkgsrc package). Backport a patch from
upstream to address that.

Thanks to <wiz> for reporting this problem!
2019-05-20 11:15:48 +00:00
leot
ed78310ec3 webkit-gtk: Revert accidental patches/patch-CMakeLists.txt expansion
Thanks to <maya>!
2019-05-17 17:57:44 +00:00
leot
3e66494795 webkit-gtk: Update to 2.24.2
Changes:
2.24.2
======
 - Fix rendering of emojis copy-pasted from GTK emoji chooser.
 - Fix space characters not being rendered with some CJK fonts.
 - Fix adaptive streaming playback with older GStreamer versions.
 - Set a maximum zoom level for pinch zooming gesture.
 - Fix navigation gesture to not interfere with scrolling.
 - Fix SSE2 detection at compile time, ensuring the right flags are passed to the compiler.
 - Fix several crashes and rendering issues.
 - Translation updates: Danish, Spanish, Ukrainian.
 - Security fixes: CVE-2019-8595, CVE-2019-8607, CVE-2019-8615.
2019-05-17 16:11:17 +00:00
maya
7820bc7a2f fix some whitespace, mostly introduced in the previous
python 3.4 / 3.5 removal commit.
2019-04-26 14:12:31 +00:00
maya
5901ac0824 Omit mentions of python 34 and 35, after those were removed.
- Includes some whitespace changes, to be handled in a separate commit.
2019-04-26 13:13:41 +00:00
maya
f34a8c24a3 PKGREVISION bump for anything using python without a PYPKGPREFIX.
This is a semi-manual PKGREVISION bump.
2019-04-25 07:32:34 +00:00
leot
dd4a17c704 webkit-gtk: Fix opengl option
ENABLE_WEBGL was renamed to ENABLE_OPENGL, adjust options.mk accordingly.
2019-04-20 16:39:13 +00:00
leot
bf73f3d426 webkit-gtk: Adjust WEBKIT_JIT_MACHINE_PLATFORMS per-upstream
Sync WEBKIT_JIT_MACHINE_PLATFORMS (platforms where `webkit-jit'
option is suggested) is enabled by default with
Source/cmake/WebKitFeatures.cmake.

While here also disable ENABLE_C_LOOP when ENABLE_JIT is enabled
(the two options are incompatible).

Should workaround PR pkg/54109.

(No PKGREVISION bump since it should only fix platforms where since
update of webkit-gtk 2.24.0 were broken.)
2019-04-11 17:48:39 +00:00
leot
517c5be2ec webkit-gtk: Add references about WEBKIT_JIT_MACHINE_PLATFORMS 2019-04-09 15:34:04 +00:00
leot
1b13af4b71 webkit-gtk: Update to 2.24.1
Changes:
WebKitGTK  2.24.1
=================
 - Do not allow changes in active URI before provisional load starts for non-API requests.
 - Stop the threaded compositor when the page is not visible or layer tree state is frozen.
 - Use WebKit HTTP source element again for adaptive streaming fragments downloading.
 - Properly handle empty resources in webkit_web_resource_get_data().
 - Add quirk to ensure outlook.live.com uses the modern UI.
 - Fix methods returing GObject or boxed types in JavaScriptCore GLib API.
 - Ensure callback data is passed to functions and constructors with no parameters in JavaScriptCore GLib API.
 - Fix rendering of complex text when the font uses x,y origins.
 - Fix sound loop with Google Hangouts and WhatsApp notifications.
 - Fix the build with GStreamer 1.12.5 and GST GL enabled.
 - Detect SSE2 at compile time.
 - Fix several crashes and rendering issues.
 - Security fixes: CVE-2019-6251.
2019-04-09 12:45:28 +00:00
ryoon
6fc378bce9 Recursive revbump from textproc/icu 2019-04-03 00:32:25 +00:00
jperkin
a63c784433 webkit-gtk: Naive implementation of computeRAMSize for SunOS. 2019-03-27 10:50:30 +00:00
leot
745c1d8453 webkit-gtk: Update to 2.24.0
pkgsrc changes:
 - Remove patch-Source_JavaScriptCore_assembler_MacroAssemblerARM.cpp: logic
   changed upstream and there is no longer a function that check for a VFP.

Changes:
2.24.0
------
 - Added support fot content filtering.
 - Variation fonts support.
 - Fully emoji rendering support.
 - Added navigation and pinch zoom gestures for touchpads.
 - Support for JPEG2000 images (please note that in pkgsrc at the
   moment it is disabled to avoid a dependency on openjpeg)
 - Script dialogs are now modal to the current web view only.
 - New API to convert URI to format for display.
2019-03-13 20:49:40 +00:00
leot
f8da3fa9a3 webkit-gtk: Update to 2.22.7
pkgsrc changes:
 - Remove patch-Source_JavaScriptCore_dfg_DFGDoesGC.cpp, it was applied in
   2.22.7

Changes:
2.22.7
======
  - Fix rendering of glyphs in Hebrew (and possibly other languages) when
    Unicode NFC normalization is used.
  - Fix several crashes and race conditions.
2019-03-01 18:53:17 +00:00
maya
27d1c6ecd0 webkit-gtk: backport upstream patch. security fix.
Subject: [PATCH] Fix DFG doesGC() for CompareEq/Less/LessEq/Greater/GreaterEq
 and CompareStrictEq nodes. https://bugs.webkit.org/show_bug.cgi?id=194800
 <rdar://problem/48183773>

Reviewed by Yusuke Suzuki.

Fix doesGC() for the following nodes:

    CompareEq:
    CompareLess:
    CompareLessEq:
    CompareGreater:
    CompareGreaterEq:
    CompareStrictEq:
        Only return false (i.e. does not GC) for child node use kinds that have
        been vetted to not do anything that can GC.  For all other use kinds
        (including StringUse and BigIntUse), we return true (i.e. does GC).

* dfg/DFGDoesGC.cpp:
(JSC::DFG::doesGC):


This was published alongside with exploit code claiming it is remote
code execution, but I don't understand what the exploit is doing.

bump PKGREVISION
2019-02-21 18:52:15 +00:00
leot
2439ba9864 webkit-gtk: Update to 2.22.6
pkgsrc changes:
 - Set USE_GCC_RUNTIME to depends on gcc6-libs when pkgsrc gcc is used
   (XXX: Not tested and not clear if currently mk/compiler/gcc.mk DTRT
    XXX: regarding (if not, that's probably why firefox/mozilla-common.mk
    XXX: abuses USE_PKGSRC_GCC_RUNTIME!))

Changes:
WebKitGTK+ 2.22.6
=================
 - Make kinetic scrolling slow down smoothly when reaching the ends of
   pages, instead of abruptly, to better match the GTK+ behaviour.
 - Fix Web inspector magnifier under Wayland.
 - Fix garbled rendering of some websites (e.g. YouTube) while scrolling
   under X11.
 - Fix several crashes, race conditions, and rendering issues.
2019-02-09 11:29:44 +00:00
roy
80d2fce977 regen 2018-12-23 22:23:09 +00:00
roy
1d01d6bb20 Wups, quickly revert part of a mistaken commit. 2018-12-23 22:22:47 +00:00
roy
65d5cedda9 Work with a bigger register for aarch64. 2018-12-23 22:18:14 +00:00
leot
2632a6f1d8 webkit-gtk: Avoid to depends on flex and minor cleanup
- The flex requirements can be just satisfied via USE_TOOLS (the
  version was from older webkit-gtk-s and it should be just a tool
  dependency).
- No need to specify `:build' in USE_TOOLS, it is already the default
- Update the comment regarding PYTHON_VERSIONS_INCOMPATIBLE definition

Bump PKGREVISION
2018-12-14 15:51:13 +00:00
leot
06f5540497 webkit-gtk: Update to 2.22.5
Changes:
2.22.5
======
 - Improved the logic to determine for which architectures to enable
   the JIT compiler support and USE_SYSTEM_MALLOC at build time.
 - Fix the build with ENABLE_VIDEO=OFF and ENABLE_OPENGL=OFF.
 - Fix several crashes.
2018-12-13 22:50:27 +00:00
adam
16dd5de231 revbump after updating textproc/icu 2018-12-09 18:51:58 +00:00
leot
6573414ba1 webkit-gtk: Update www/webkit-gtk to 2.22.4
Changes:
=================
WebKitGTK+ 2.22.4
=================

What's new in WebKitGTK+ 2.22.4?

  - Expose ENABLE_MEDIA_SOURCE as a public build option.
  - Fix a crash when using Cairo versions between 1.15 and 1.16.0
  - Fix the build with -DLOG_DISABLED=0.
  - Fix the build with ENABLE_VIDEO=OFF and ENABLE_WEB_AUDIO=OFF.
  - Fix debug builds of JavaScriptCore.
  - Fix several crashes and rendering issues.
2018-11-21 20:36:42 +00:00
kleink
f1a683c990 Revbump after cairo 1.16.0 update. 2018-11-14 22:20:58 +00:00
leot
ab8b707664 webkit-gtk: Add patches to fix the build on aarch64
Import/adapt patches from FreeBSD to fix the build on aarch64.

Thanks to <jakllsch>!

XXX: (There is a compiler warning about m_compareRegister bitfield
XXX:  that's probably needs XXX: further investigation the `: 6' should
XXX:  be probably `: 7')
2018-11-13 20:11:38 +00:00
jperkin
6db6f6b0af *: Add CTF_SUPPORTED/CTF_FILES_SKIP where necessary. 2018-11-12 14:40:20 +00:00
wiz
e09a5b9839 webkit-gtk: make bl3.mk match change to options.mk (enchant -> enchant2) 2018-11-12 11:29:27 +00:00
ryoon
b86dfe6873 Recursive revbump from hardbuzz-2.1.1 2018-11-12 03:51:07 +00:00
bsiegert
009730f5a9 Flip enchant option to use enchant2.
Bump revision.
2018-11-05 16:50:48 +00:00
leot
150ccd4873 webkit-gtk: Update www/webkit-gtk to 2.22.3
Changes:
WebKitGTK+ 2.22.3
=================
  - Many improvements and fixes for video playback with media source
    extensions (MSE), which improve the user experience across the board,
    and in particular for playback of WebM videos.
  - Fix a memory leak during media playback when using playbin3.
  - Fix portions of Web views not being rendered after resizing.
  - Fix Resource Timing reporting for <iframe> elements.
  - Fix the build with the remote Web Inspector disabled.
  - Fix the build on ARMv7 with NEON extensions.
  - Fix several crashes and rendering issues.
2018-10-29 11:54:11 +00:00
leot
22a5000947 webkit-gtk: Add support to build with -DUSE_SYSTEM_MALLOC=ON on NetBSD
On NetBSD there is no <sys/sysinfo.h> but we can use hw.usermem64.

This should address WebKitGTK+ support for NetBSD ports where
USE_SYSTEM_MALLOC is by default OFF.

Side-note: on NetBSD/amd64 -current when building with -DUSE_SYSTEM_MALLOC=ON
both SunSpider and JetStream benchmarks shows a very little performance penalty,
so also remove the `-DUSE_SYSTEM_MALLOC=ON' commented out CMAKE_ARGS (i.e. when
possible just use the preferred malloc).
2018-10-25 09:58:18 +00:00
leot
d060682adf webkit-gtk: Update www/webkit-gtk to 2.22.2
pkgsrc changes:
 - Bump GCC_REQD to 6 (now gcc 6.0.0 or newer is needed)
 - Add NetBSD support for JavaScript JIT on x86_64, i386, arm,
   aarch64 and mips
 - Add WebKitWebProcess and jsc to NOT_PAX_MPROTECT_SAFE.
   At least on NetBSD/amd64, running SunSpider 1.0.2 JavaScript Benchmark
   (<https://webkit.org/perf/sunspider/sunspider.html>) with MiniBrowser
   before `paxctl +m'-ing them needed:
    Total:                 1006.9ms +/- 0.7%
   ...while after `paxctl +m'-ing them:
    Total:                 322.3ms +/- 3.0%
   (Probably EACCESS due PaX MPROTECT are handled gracefully and
   silently instead of failing hard at runtime.)
   Please also note that webkit-gtk browsers should not need any
   NOT_PAX_MPROTECT_SAFE because WebKitWebProcess is used and already
   have that.
 - Improve handling of `webkit-jit' by introducing a
   WEBKIT_JIT_MACHINE_PLATFORMS list that contain all MACHINE_PLATFORMs
   triplets that have `webkit-jit' option as suggested one.
 - Always use OS(...) and BOS(...) macros instead of __Os__ macros for
   consistency with webkit code.
 - Add definition for BOS(SOLARIS) and OS(SOLARIS) and add it to the
   OS(UNIX) OSes list.
 - Limit patch-Source_JavaScriptCore_jit_ExecutableAllocator.cpp to
   OpenBSD. It is no longer present in FreeBSD ports and it is not
   problematic in NetBSD.
 - Remove no longer needed patch-Source_WTF_wtf_ThreadSpecific.h:
   NetBSD 5.x was already part of NOT_FOR_PLATFORM.
 - Sync patch-CMakeLists.txt with FreeBSD ports.
   Please note that this also removes WTF_CPU_SPARC64 definition that was
   unused.
 - madvise(2) on {Free,DragonFly,Net,Open}BSD supports MADV_FREE and
   MADV_DONTNEED flags. Define the corresponding HAVE_* via
   patch-Source_WTF_wtf_Platform.h.
 - Use globbing for REPLACE_{PERL,PYTHON} where possible.

Changes:
WebKitGTK+ 2.22.2
=================
  - Several fixes for video playback with media source extensions (MSE).
    This allows using WebM support for YouTube, which no longer works through
    regular video source. Note that MSE is still disabled by default and
    webkit_settings_set_enable_mediasource() has to be used to enable the
    feature.
  - Fix the build when only Wayland support is enabled and X11 headers are
    not available.

WebKitGTK+ 2.22.1
=================
  - Fix printing in landscape.
  - Fix the build in several platforms: s390x, ppc64le, armv7hl.
  - Fix the build with a11y disabled.
  - Fix the build with video disabled.
  - Fix several crashes and rendering issues.

WebKitGTK+ 2.22.0
==================
  - Add warn_unused_result attribute to some JavaScriptCore GLib APIs.
  - Make pinch to zoom scale the page without changing the layout.
  - Fix the build in mips64.
2018-10-24 18:31:07 +00:00
jperkin
8745935170 webkit-gtk: Avoid flock() on SunOS, not supported on older platforms. 2018-10-01 21:45:31 +00:00