1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
7 SDESC[gtk3]= Opensource browser engine using the GTK+ 3 toolkit
8 HOMEPAGE= https://www.webkitgtk.org/
12 SITES[main]= https://www.webkitgtk.org/releases/
13 https://fossies.org/linux/www/
14 DISTFILE[1]= webkitgtk-2.28.2.tar.xz:main
20 OPTIONS_AVAILABLE= GTK3
21 OPTIONS_STANDARD= none
24 BUILD_DEPENDS= gperf:primary:standard
25 autoselect-python:single:standard
26 BUILDRUN_DEPENDS= enchant:single:standard
27 fontconfig:primary:standard
28 freetype:primary:standard
30 libsecret:primary:standard
31 libnotify:primary:standard
32 hyphen:single:standard
35 libsoup:primary:standard
36 libgcrypt:single:standard
37 gnutls:primary:standard
38 libtasn1:primary:standard
39 geoclue:single:standard
41 gstreamer1-plugins-base:primary:standard
42 openjpeg:single:standard
44 USES= png mesa cmake pkgconfig sqlite bison perl:build
45 python:build ruby:build gettext-tools
46 GNOME_COMPONENTS= gtk3 gdkpixbuf introspection libxslt
47 XORG_COMPONENTS= x11 xcomposite xdamage xext xrender xt ice
49 DISTNAME= webkitgtk-2.28.2
51 LICENSE= GPLv2+:primary BSD3CLAUSE:primary
52 LICENSE_TERMS= primary:{{WRKDIR}}/TERMS
53 LICENSE_FILE= GPLv2+:stock
54 BSD3CLAUSE:{{WRKDIR}}/LICENSE_BSD
55 LICENSE_AWK= BSD3CLAUSE:"^$$"
57 LICENSE_SOURCE= BSD3CLAUSE:{{WRKSRC}}/Source/WebCore/css/parser/MediaQueryBlockWatcher.h
58 TERMS:{{WRKSRC}}/Source/WebCore/style/StyleScope.cpp
61 FPC_EQUIVALENT= www/webkit2-gtk3
63 CONFIGURE_ENV= XDG_CACHE_HOME={{WRKDIR}}
65 INSTALL_TARGET= install
67 PLIST_SUB= JSSOVERSION=18.16.5
72 CXXFLAGS= -DFIXED_EXECUTABLE_MEMORY_POOL_SIZE_IN_MB=32
73 CMAKE_ARGS= -DPORT=GTK
74 -DENABLE_GEOLOCATION:BOOL=ON
75 -DENABLE_GLES2:BOOL=ON
76 -DENABLE_MINIBROWSER:BOOL=ON
77 -DENABLE_WAYLAND_TARGET:BOOL=OFF
78 -DENABLE_BUBBLEWRAP_SANDBOX:BOOL=OFF
79 -DSUPPRESS_ASSERT:BOOL=ON
81 [GTK3].DESCRIPTION= Build GTK+3 variant
82 [GTK3].MAKEFILE_ON= BROWSER_PLUGIN_DIR={{LOCALBASE}}/lib/browser_plugins/symlinks/webkit-gtk3
85 ${REINPLACE_CMD} -e 's|/usr/lib/browser/plugins|${BROWSER_PLUGINS_DIR}|' \
86 ${WRKSRC}/Source/WebKit/Shared/Plugins/unix/PluginSearchPath.cpp
89 (cd ${STAGEDIR}${PREFIX}/bin && \
90 ${LN} -s ../libexec/webkit2gtk-4.0/jsc jsc-4 && \
91 ${LN} -s ../libexec/webkit2gtk-4.0/MiniBrowser MiniBrowser-4)
92 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so.*.*
93 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/webkit2gtk-4.0/injected-bundle/*.so
94 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/webkit2gtk-4.0/*
95 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/WebKitWebDriver
97 [FILE:576:descriptions/desc.primary]
98 WebKitGTK+ is a full-featured port of the WebKit rendering engine, suitable
99 for projects requiring any kind of web integration, from hybrid HTML/CSS
100 applications to full-fledged web browsers. It offers WebKit's full
101 functionality and is useful in a wide range of systems from desktop
102 computers to embedded systems like phones, tablets, and televisions.
104 WebKitGTK+ is made by a lively community of developers and designers,
105 who hope to bring the web platform to everyone. It's the official web
106 engine of the GNOME platform and is used in browsers such as Epiphany
111 b9d23525cfd8d22c37b5d964a9fe9a8ce7583042a2f8d3922e71e6bbc68c30bd 21427772 webkitgtk-2.28.2.tar.xz
114 [FILE:6250:manifests/plist.primary]
116 MiniBrowser-%%WKAPIMAJOR%%
119 include/webkitgtk-%%WKAPI%%/JavaScriptCore/
128 include/webkitgtk-%%WKAPI%%/jsc/
140 include/webkitgtk-%%WKAPI%%/webkit2/
141 WebKitApplicationInfo.h
142 WebKitAuthenticationRequest.h
144 WebKitAutomationSession.h
145 WebKitBackForwardList.h
146 WebKitBackForwardListItem.h
147 WebKitColorChooserRequest.h
148 WebKitConsoleMessage.h
150 WebKitContextMenuActions.h
151 WebKitContextMenuItem.h
152 WebKitCookieManager.h
155 WebKitDeviceInfoPermissionRequest.h
157 WebKitEditingCommands.h
161 WebKitFaviconDatabase.h
162 WebKitFileChooserRequest.h
163 WebKitFindController.h
164 WebKitFormSubmissionRequest.h
165 WebKitForwardDeclarations.h
167 WebKitGeolocationManager.h
168 WebKitGeolocationPermissionRequest.h
169 WebKitHitTestResult.h
170 WebKitInputMethodContext.h
171 WebKitInstallMissingMediaPluginsPermissionRequest.h
172 WebKitJavascriptResult.h
174 WebKitNavigationAction.h
175 WebKitNavigationPolicyDecision.h
176 WebKitNetworkProxySettings.h
178 WebKitNotificationPermissionRequest.h
180 WebKitOptionMenuItem.h
181 WebKitPermissionRequest.h
183 WebKitPointerLockPermissionRequest.h
184 WebKitPolicyDecision.h
185 WebKitPrintCustomWidget.h
186 WebKitPrintOperation.h
187 WebKitResponsePolicyDecision.h
190 WebKitSecurityManager.h
191 WebKitSecurityOrigin.h
195 WebKitURISchemeRequest.h
198 WebKitUserContentFilterStore.h
199 WebKitUserContentManager.h
200 WebKitUserMediaPermissionRequest.h
206 WebKitWebExtensionAutocleanups.h
207 WebKitWebHitTestResult.h
210 WebKitWebProcessEnumTypes.h
214 WebKitWebViewSessionState.h
216 WebKitWebsiteDataManager.h
217 WebKitWindowProperties.h
218 webkit-web-extension.h
220 include/webkitgtk-%%WKAPI%%/webkitdom/
223 WebKitDOMCDATASection.h
225 WebKitDOMCSSRuleList.h
226 WebKitDOMCSSStyleDeclaration.h
227 WebKitDOMCSSStyleSheet.h
229 WebKitDOMCharacterData.h
230 WebKitDOMClientRect.h
231 WebKitDOMClientRectList.h
234 WebKitDOMCustomUnstable.h
235 WebKitDOMDOMImplementation.h
236 WebKitDOMDOMSelection.h
237 WebKitDOMDOMTokenList.h
239 WebKitDOMDOMWindowUnstable.h
240 WebKitDOMDeprecated.h
242 WebKitDOMDocumentFragment.h
243 WebKitDOMDocumentFragmentUnstable.h
244 WebKitDOMDocumentType.h
245 WebKitDOMDocumentUnstable.h
247 WebKitDOMElementUnstable.h
249 WebKitDOMEventTarget.h
252 WebKitDOMHTMLAnchorElement.h
253 WebKitDOMHTMLAppletElement.h
254 WebKitDOMHTMLAreaElement.h
255 WebKitDOMHTMLBRElement.h
256 WebKitDOMHTMLBaseElement.h
257 WebKitDOMHTMLBodyElement.h
258 WebKitDOMHTMLButtonElement.h
259 WebKitDOMHTMLCanvasElement.h
260 WebKitDOMHTMLCollection.h
261 WebKitDOMHTMLDListElement.h
262 WebKitDOMHTMLDirectoryElement.h
263 WebKitDOMHTMLDivElement.h
264 WebKitDOMHTMLDocument.h
265 WebKitDOMHTMLElement.h
266 WebKitDOMHTMLElementUnstable.h
267 WebKitDOMHTMLEmbedElement.h
268 WebKitDOMHTMLFieldSetElement.h
269 WebKitDOMHTMLFontElement.h
270 WebKitDOMHTMLFormElement.h
271 WebKitDOMHTMLFrameElement.h
272 WebKitDOMHTMLFrameSetElement.h
273 WebKitDOMHTMLHRElement.h
274 WebKitDOMHTMLHeadElement.h
275 WebKitDOMHTMLHeadingElement.h
276 WebKitDOMHTMLHtmlElement.h
277 WebKitDOMHTMLIFrameElement.h
278 WebKitDOMHTMLImageElement.h
279 WebKitDOMHTMLInputElement.h
280 WebKitDOMHTMLLIElement.h
281 WebKitDOMHTMLLabelElement.h
282 WebKitDOMHTMLLegendElement.h
283 WebKitDOMHTMLLinkElement.h
284 WebKitDOMHTMLMapElement.h
285 WebKitDOMHTMLMarqueeElement.h
286 WebKitDOMHTMLMenuElement.h
287 WebKitDOMHTMLMetaElement.h
288 WebKitDOMHTMLModElement.h
289 WebKitDOMHTMLOListElement.h
290 WebKitDOMHTMLObjectElement.h
291 WebKitDOMHTMLOptGroupElement.h
292 WebKitDOMHTMLOptionElement.h
293 WebKitDOMHTMLOptionsCollection.h
294 WebKitDOMHTMLParagraphElement.h
295 WebKitDOMHTMLParamElement.h
296 WebKitDOMHTMLPreElement.h
297 WebKitDOMHTMLQuoteElement.h
298 WebKitDOMHTMLScriptElement.h
299 WebKitDOMHTMLSelectElement.h
300 WebKitDOMHTMLStyleElement.h
301 WebKitDOMHTMLTableCaptionElement.h
302 WebKitDOMHTMLTableCellElement.h
303 WebKitDOMHTMLTableColElement.h
304 WebKitDOMHTMLTableElement.h
305 WebKitDOMHTMLTableRowElement.h
306 WebKitDOMHTMLTableSectionElement.h
307 WebKitDOMHTMLTextAreaElement.h
308 WebKitDOMHTMLTitleElement.h
309 WebKitDOMHTMLUListElement.h
310 WebKitDOMKeyboardEvent.h
312 WebKitDOMMouseEvent.h
313 WebKitDOMNamedNodeMap.h
315 WebKitDOMNodeFilter.h
316 WebKitDOMNodeIterator.h
319 WebKitDOMProcessingInstruction.h
321 WebKitDOMRangeUnstable.h
322 WebKitDOMStyleSheet.h
323 WebKitDOMStyleSheetList.h
325 WebKitDOMTreeWalker.h
327 WebKitDOMWheelEvent.h
328 WebKitDOMXPathExpression.h
329 WebKitDOMXPathNSResolver.h
330 WebKitDOMXPathResult.h
332 webkitdomautocleanups.h
335 libjavascriptcoregtk-%%WKAPI%%.so
336 libjavascriptcoregtk-%%WKAPI%%.so.%%JSSOMAJOR%%
337 libjavascriptcoregtk-%%WKAPI%%.so.%%JSSOVERSION%%
338 libwebkit2gtk-%%WKAPI%%.so
339 libwebkit2gtk-%%WKAPI%%.so.%%SOMAJOR%%
340 libwebkit2gtk-%%WKAPI%%.so.%%SOVERSION%%
341 lib/girepository-1.0/
342 JavaScriptCore-%%WKAPI%%.typelib
343 WebKit2-%%WKAPI%%.typelib
344 WebKit2WebExtension-%%WKAPI%%.typelib
346 javascriptcoregtk-%%WKAPI%%.pc
347 webkit2gtk-%%WKAPI%%.pc
348 webkit2gtk-web-extension-%%WKAPI%%.pc
349 lib/webkit2gtk-%%WKAPI%%/injected-bundle/libwebkit2gtkinjectedbundle.so
350 libexec/webkit2gtk-%%WKAPI%%/
357 JavaScriptCore-%%WKAPI%%.gir
358 WebKit2-%%WKAPI%%.gir
359 WebKit2WebExtension-%%WKAPI%%.gir
362 [FILE:2566:manifests/plist.nls]
363 share/locale/ar/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
364 share/locale/as/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
365 share/locale/bg/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
366 share/locale/ca/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
367 share/locale/cs/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
368 share/locale/da/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
369 share/locale/de/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
370 share/locale/el/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
371 share/locale/en_CA/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
372 share/locale/en_GB/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
373 share/locale/eo/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
374 share/locale/es/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
375 share/locale/et/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
376 share/locale/eu/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
377 share/locale/fi/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
378 share/locale/fr/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
379 share/locale/gl/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
380 share/locale/gu/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
381 share/locale/he/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
382 share/locale/hi/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
383 share/locale/hu/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
384 share/locale/id/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
385 share/locale/it/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
386 share/locale/ja/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
387 share/locale/kn/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
388 share/locale/ko/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
389 share/locale/lt/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
390 share/locale/lv/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
391 share/locale/ml/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
392 share/locale/mr/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
393 share/locale/nb/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
394 share/locale/nl/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
395 share/locale/or/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
396 share/locale/pa/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
397 share/locale/pl/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
398 share/locale/pt/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
399 share/locale/pt_BR/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
400 share/locale/ro/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
401 share/locale/ru/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
402 share/locale/sl/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
403 share/locale/sr/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
404 share/locale/sr@latin/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
405 share/locale/sv/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
406 share/locale/ta/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
407 share/locale/te/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
408 share/locale/tr/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
409 share/locale/uk/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
410 share/locale/vi/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
411 share/locale/zh_CN/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
414 [FILE:433:patches/patch-CMakeLists.txt]
415 --- CMakeLists.txt.orig 2020-02-04 10:23:40 UTC
417 @@ -175,6 +175,11 @@ if (ENABLE_API_TESTS)
421 +if (SUPPRESS_ASSERT)
422 + add_definitions(-DNDEBUG=1)
423 + add_definitions(-D__OPTIMIZE__)
426 # -----------------------------------------------------------------------------
427 # Add module directories
428 # -----------------------------------------------------------------------------
431 [FILE:534:patches/patch-Source_JavaScriptCore_assembler_ARM64Assembler.h]
432 --- Source/JavaScriptCore/assembler/ARM64Assembler.h.orig 2020-02-04 10:23:58 UTC
433 +++ Source/JavaScriptCore/assembler/ARM64Assembler.h
434 @@ -2811,6 +2811,8 @@ public:
435 sys_cache_control(kCacheFunctionPrepareForExecution, code, size);
437 zx_cache_flush(code, size, ZX_CACHE_FLUSH_INSN);
438 +#elif OS(FREEBSD) || OS(NETBSD)
439 + __clear_cache(code, reinterpret_cast<char*>(code) + size);
441 size_t page = pageSize();
442 uintptr_t current = reinterpret_cast<uintptr_t>(code);
445 [FILE:334:patches/patch-Source_WTF_wtf_NumberOfCores.cpp]
446 --- Source/WTF/wtf/NumberOfCores.cpp.orig 2020-02-04 10:24:07 UTC
447 +++ Source/WTF/wtf/NumberOfCores.cpp
449 #include <sys/types.h>
450 #include <sys/sysctl.h>
451 #elif OS(LINUX) || OS(AIX) || OS(OPENBSD) || OS(NETBSD) || OS(FREEBSD)
452 +#include <stdio.h> // sscanf
458 [FILE:610:patches/patch-Source_WebCore_platform_graphics_cpu_arm_filters_FELightingNEON.cpp]
459 --- Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNEON.cpp.orig 2020-02-04 10:24:08 UTC
460 +++ Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNEON.cpp
461 @@ -403,7 +403,7 @@ TOSTRING(neonDrawLighting) ":" NL
462 "vmin.f32 " TMP2_D0 ", " TMP2_D0 ", " CONST_ONE_HI_D NL
463 "vmul.f32 " TMP3_Q ", " COLOR_Q ", " TMP2_D0 "[1]" NL
464 "vcvt.u32.f32 " TMP3_Q ", " TMP3_Q NL
465 - "vmov.u32 r2, r3, " TMP3_S0 ", " TMP3_S1 NL
466 + "vmov r2, r3, " TMP3_S0 ", " TMP3_S1 NL
467 // The color values are stored in-place.
468 "strb r2, [" PIXELS_R ", #-11]" NL
469 "strb r3, [" PIXELS_R ", #-10]" NL
472 [FILE:396:patches/patch-Source_WebCore_platform_graphics_egl_GLContextEGL.cpp]
473 --- Source/WebCore/platform/graphics/egl/GLContextEGL.cpp.orig 2020-02-04 10:24:08 UTC
474 +++ Source/WebCore/platform/graphics/egl/GLContextEGL.cpp
476 #include "OpenGLShims.h"
479 +#include <X11/Xlib.h>
481 #if ENABLE(ACCELERATED_2D_CANVAS)
482 // cairo-gl.h includes some definitions from GLX that conflict with
483 // the ones provided by us. Since GLContextEGL doesn't use any GLX
486 [FILE:336:patches/patch-Source_WebDriver_PlatformGTK.cmake]
487 --- Source/WebDriver/PlatformGTK.cmake.orig 2020-02-04 10:24:08 UTC
488 +++ Source/WebDriver/PlatformGTK.cmake
489 @@ -5,6 +5,7 @@ add_definitions(-DLIBEXECDIR="${CMAKE_IN
490 list(APPEND WebDriver_SYSTEM_INCLUDE_DIRECTORIES
491 "${GLIB_INCLUDE_DIRS}"
492 "${LIBSOUP_INCLUDE_DIRS}"
493 + "${ICU_INCLUDE_DIRS}"
496 list(APPEND WebDriver_SOURCES
499 [FILE:792:patches/patch-Source_WebKit_Platform_unix_SharedMemoryUnix.cpp]
500 --- Source/WebKit/Platform/unix/SharedMemoryUnix.cpp.orig 2020-02-04 10:24:08 UTC
501 +++ Source/WebKit/Platform/unix/SharedMemoryUnix.cpp
502 @@ -137,7 +137,13 @@ static int createSharedMemory()
505 for (int tries = 0; fileDescriptor == -1 && tries < 10; ++tries) {
506 - String name = String("/WK2SharedMemory.") + String::number(static_cast<unsigned>(WTF::randomNumber() * (std::numeric_limits<unsigned>::max() + 1.0)));
508 +#ifdef __DragonFly__
509 + String("/tmp/WK2SharedMemory.")
511 + String("/WK2SharedMemory.")
513 + + String::number(static_cast<unsigned>(WTF::randomNumber() * (std::numeric_limits<unsigned>::max() + 1.0)));
514 tempName = name.utf8();