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.0.tar.xz:main
18 OPTIONS_AVAILABLE= GTK3
19 OPTIONS_STANDARD= none
22 BUILD_DEPENDS= gperf:primary:standard
23 autoselect-python:single:standard
24 BUILDRUN_DEPENDS= enchant:single:standard
25 fontconfig:primary:standard
26 freetype:primary:standard
28 libsecret:primary:standard
29 libnotify:primary:standard
30 hyphen:single:standard
33 libsoup:primary:standard
34 libgcrypt:single:standard
35 gnutls:single:standard
36 libtasn1:primary:standard
37 geoclue:single:standard
39 gstreamer1-plugins-base:single:standard
40 openjpeg:single:standard
42 USES= png mesa cmake pkgconfig sqlite bison perl:build
43 python:build ruby:build gettext-tools
44 GNOME_COMPONENTS= gtk3 gdkpixbuf introspection libxslt
45 XORG_COMPONENTS= x11 xcomposite xdamage xext xrender xt ice
47 DISTNAME= webkitgtk-2.28.0
49 LICENSE= GPLv2+:single BSD3CLAUSE:single
50 LICENSE_TERMS= single:{{WRKDIR}}/TERMS
51 LICENSE_FILE= GPLv2+:stock
52 BSD3CLAUSE:{{WRKDIR}}/LICENSE_BSD
53 LICENSE_AWK= BSD3CLAUSE:"^$$"
55 LICENSE_SOURCE= BSD3CLAUSE:{{WRKSRC}}/Source/WebCore/css/parser/MediaQueryBlockWatcher.h
56 TERMS:{{WRKSRC}}/Source/WebCore/style/StyleScope.cpp
59 FPC_EQUIVALENT= www/webkit2-gtk3
61 CONFIGURE_ENV= XDG_CACHE_HOME={{WRKDIR}}
63 INSTALL_TARGET= install
65 PLIST_SUB= JSSOVERSION=18.16.3
70 CXXFLAGS= -DFIXED_EXECUTABLE_MEMORY_POOL_SIZE_IN_MB=32
71 CMAKE_ARGS= -DPORT=GTK
72 -DENABLE_GEOLOCATION:BOOL=ON
73 -DENABLE_GLES2:BOOL=ON
74 -DENABLE_MINIBROWSER:BOOL=ON
75 -DENABLE_WAYLAND_TARGET:BOOL=OFF
76 -DENABLE_BUBBLEWRAP_SANDBOX:BOOL=OFF
77 -DSUPPRESS_ASSERT:BOOL=ON
79 [GTK3].DESCRIPTION= Build GTK+3 variant
80 [GTK3].MAKEFILE_ON= BROWSER_PLUGIN_DIR={{LOCALBASE}}/lib/browser_plugins/symlinks/webkit-gtk3
83 ${REINPLACE_CMD} -e 's|/usr/lib/browser/plugins|${BROWSER_PLUGINS_DIR}|' \
84 ${WRKSRC}/Source/WebKit/Shared/Plugins/unix/PluginSearchPath.cpp
87 (cd ${STAGEDIR}${PREFIX}/bin && \
88 ${LN} -s ../libexec/webkit2gtk-4.0/jsc jsc-4 && \
89 ${LN} -s ../libexec/webkit2gtk-4.0/MiniBrowser MiniBrowser-4)
90 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so.*.*
91 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/webkit2gtk-4.0/injected-bundle/*.so
92 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/webkit2gtk-4.0/*
93 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/WebKitWebDriver
95 [FILE:576:descriptions/desc.single]
96 WebKitGTK+ is a full-featured port of the WebKit rendering engine, suitable
97 for projects requiring any kind of web integration, from hybrid HTML/CSS
98 applications to full-fledged web browsers. It offers WebKit's full
99 functionality and is useful in a wide range of systems from desktop
100 computers to embedded systems like phones, tablets, and televisions.
102 WebKitGTK+ is made by a lively community of developers and designers,
103 who hope to bring the web platform to everyone. It's the official web
104 engine of the GNOME platform and is used in browsers such as Epiphany
109 361f3d178f62a9c112cbadfedd46106c34455c26d57a12a28fb3b09178d20e8b 21425084 webkitgtk-2.28.0.tar.xz
112 [FILE:8816:manifests/plist.single]
114 MiniBrowser-%%WKAPIMAJOR%%
117 include/webkitgtk-%%WKAPI%%/JavaScriptCore/
126 include/webkitgtk-%%WKAPI%%/jsc/
138 include/webkitgtk-%%WKAPI%%/webkit2/
139 WebKitApplicationInfo.h
140 WebKitAuthenticationRequest.h
142 WebKitAutomationSession.h
143 WebKitBackForwardList.h
144 WebKitBackForwardListItem.h
145 WebKitColorChooserRequest.h
146 WebKitConsoleMessage.h
148 WebKitContextMenuActions.h
149 WebKitContextMenuItem.h
150 WebKitCookieManager.h
153 WebKitDeviceInfoPermissionRequest.h
155 WebKitEditingCommands.h
159 WebKitFaviconDatabase.h
160 WebKitFileChooserRequest.h
161 WebKitFindController.h
162 WebKitFormSubmissionRequest.h
163 WebKitForwardDeclarations.h
165 WebKitGeolocationManager.h
166 WebKitGeolocationPermissionRequest.h
167 WebKitHitTestResult.h
168 WebKitInputMethodContext.h
169 WebKitInstallMissingMediaPluginsPermissionRequest.h
170 WebKitJavascriptResult.h
172 WebKitNavigationAction.h
173 WebKitNavigationPolicyDecision.h
174 WebKitNetworkProxySettings.h
176 WebKitNotificationPermissionRequest.h
178 WebKitOptionMenuItem.h
179 WebKitPermissionRequest.h
181 WebKitPointerLockPermissionRequest.h
182 WebKitPolicyDecision.h
183 WebKitPrintCustomWidget.h
184 WebKitPrintOperation.h
185 WebKitResponsePolicyDecision.h
188 WebKitSecurityManager.h
189 WebKitSecurityOrigin.h
193 WebKitURISchemeRequest.h
196 WebKitUserContentFilterStore.h
197 WebKitUserContentManager.h
198 WebKitUserMediaPermissionRequest.h
204 WebKitWebExtensionAutocleanups.h
205 WebKitWebHitTestResult.h
208 WebKitWebProcessEnumTypes.h
212 WebKitWebViewSessionState.h
214 WebKitWebsiteDataManager.h
215 WebKitWindowProperties.h
216 webkit-web-extension.h
218 include/webkitgtk-%%WKAPI%%/webkitdom/
221 WebKitDOMCDATASection.h
223 WebKitDOMCSSRuleList.h
224 WebKitDOMCSSStyleDeclaration.h
225 WebKitDOMCSSStyleSheet.h
227 WebKitDOMCharacterData.h
228 WebKitDOMClientRect.h
229 WebKitDOMClientRectList.h
232 WebKitDOMCustomUnstable.h
233 WebKitDOMDOMImplementation.h
234 WebKitDOMDOMSelection.h
235 WebKitDOMDOMTokenList.h
237 WebKitDOMDOMWindowUnstable.h
238 WebKitDOMDeprecated.h
240 WebKitDOMDocumentFragment.h
241 WebKitDOMDocumentFragmentUnstable.h
242 WebKitDOMDocumentType.h
243 WebKitDOMDocumentUnstable.h
245 WebKitDOMElementUnstable.h
247 WebKitDOMEventTarget.h
250 WebKitDOMHTMLAnchorElement.h
251 WebKitDOMHTMLAppletElement.h
252 WebKitDOMHTMLAreaElement.h
253 WebKitDOMHTMLBRElement.h
254 WebKitDOMHTMLBaseElement.h
255 WebKitDOMHTMLBodyElement.h
256 WebKitDOMHTMLButtonElement.h
257 WebKitDOMHTMLCanvasElement.h
258 WebKitDOMHTMLCollection.h
259 WebKitDOMHTMLDListElement.h
260 WebKitDOMHTMLDirectoryElement.h
261 WebKitDOMHTMLDivElement.h
262 WebKitDOMHTMLDocument.h
263 WebKitDOMHTMLElement.h
264 WebKitDOMHTMLElementUnstable.h
265 WebKitDOMHTMLEmbedElement.h
266 WebKitDOMHTMLFieldSetElement.h
267 WebKitDOMHTMLFontElement.h
268 WebKitDOMHTMLFormElement.h
269 WebKitDOMHTMLFrameElement.h
270 WebKitDOMHTMLFrameSetElement.h
271 WebKitDOMHTMLHRElement.h
272 WebKitDOMHTMLHeadElement.h
273 WebKitDOMHTMLHeadingElement.h
274 WebKitDOMHTMLHtmlElement.h
275 WebKitDOMHTMLIFrameElement.h
276 WebKitDOMHTMLImageElement.h
277 WebKitDOMHTMLInputElement.h
278 WebKitDOMHTMLLIElement.h
279 WebKitDOMHTMLLabelElement.h
280 WebKitDOMHTMLLegendElement.h
281 WebKitDOMHTMLLinkElement.h
282 WebKitDOMHTMLMapElement.h
283 WebKitDOMHTMLMarqueeElement.h
284 WebKitDOMHTMLMenuElement.h
285 WebKitDOMHTMLMetaElement.h
286 WebKitDOMHTMLModElement.h
287 WebKitDOMHTMLOListElement.h
288 WebKitDOMHTMLObjectElement.h
289 WebKitDOMHTMLOptGroupElement.h
290 WebKitDOMHTMLOptionElement.h
291 WebKitDOMHTMLOptionsCollection.h
292 WebKitDOMHTMLParagraphElement.h
293 WebKitDOMHTMLParamElement.h
294 WebKitDOMHTMLPreElement.h
295 WebKitDOMHTMLQuoteElement.h
296 WebKitDOMHTMLScriptElement.h
297 WebKitDOMHTMLSelectElement.h
298 WebKitDOMHTMLStyleElement.h
299 WebKitDOMHTMLTableCaptionElement.h
300 WebKitDOMHTMLTableCellElement.h
301 WebKitDOMHTMLTableColElement.h
302 WebKitDOMHTMLTableElement.h
303 WebKitDOMHTMLTableRowElement.h
304 WebKitDOMHTMLTableSectionElement.h
305 WebKitDOMHTMLTextAreaElement.h
306 WebKitDOMHTMLTitleElement.h
307 WebKitDOMHTMLUListElement.h
308 WebKitDOMKeyboardEvent.h
310 WebKitDOMMouseEvent.h
311 WebKitDOMNamedNodeMap.h
313 WebKitDOMNodeFilter.h
314 WebKitDOMNodeIterator.h
317 WebKitDOMProcessingInstruction.h
319 WebKitDOMRangeUnstable.h
320 WebKitDOMStyleSheet.h
321 WebKitDOMStyleSheetList.h
323 WebKitDOMTreeWalker.h
325 WebKitDOMWheelEvent.h
326 WebKitDOMXPathExpression.h
327 WebKitDOMXPathNSResolver.h
328 WebKitDOMXPathResult.h
330 webkitdomautocleanups.h
333 libjavascriptcoregtk-%%WKAPI%%.so
334 libjavascriptcoregtk-%%WKAPI%%.so.%%JSSOMAJOR%%
335 libjavascriptcoregtk-%%WKAPI%%.so.%%JSSOVERSION%%
336 libwebkit2gtk-%%WKAPI%%.so
337 libwebkit2gtk-%%WKAPI%%.so.%%SOMAJOR%%
338 libwebkit2gtk-%%WKAPI%%.so.%%SOVERSION%%
339 lib/girepository-1.0/
340 JavaScriptCore-%%WKAPI%%.typelib
341 WebKit2-%%WKAPI%%.typelib
342 WebKit2WebExtension-%%WKAPI%%.typelib
344 javascriptcoregtk-%%WKAPI%%.pc
345 webkit2gtk-%%WKAPI%%.pc
346 webkit2gtk-web-extension-%%WKAPI%%.pc
347 lib/webkit2gtk-%%WKAPI%%/injected-bundle/libwebkit2gtkinjectedbundle.so
348 libexec/webkit2gtk-%%WKAPI%%/
355 JavaScriptCore-%%WKAPI%%.gir
356 WebKit2-%%WKAPI%%.gir
357 WebKit2WebExtension-%%WKAPI%%.gir
358 share/locale/ar/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
359 share/locale/as/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
360 share/locale/bg/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
361 share/locale/ca/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
362 share/locale/cs/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
363 share/locale/da/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
364 share/locale/de/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
365 share/locale/el/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
366 share/locale/en_CA/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
367 share/locale/en_GB/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
368 share/locale/eo/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
369 share/locale/es/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
370 share/locale/et/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
371 share/locale/eu/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
372 share/locale/fi/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
373 share/locale/fr/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
374 share/locale/gl/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
375 share/locale/gu/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
376 share/locale/he/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
377 share/locale/hi/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
378 share/locale/hu/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
379 share/locale/id/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
380 share/locale/it/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
381 share/locale/ja/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
382 share/locale/kn/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
383 share/locale/ko/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
384 share/locale/lt/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
385 share/locale/lv/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
386 share/locale/ml/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
387 share/locale/mr/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
388 share/locale/nb/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
389 share/locale/nl/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
390 share/locale/or/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
391 share/locale/pa/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
392 share/locale/pl/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
393 share/locale/pt/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
394 share/locale/pt_BR/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
395 share/locale/ro/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
396 share/locale/ru/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
397 share/locale/sl/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
398 share/locale/sr/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
399 share/locale/sr@latin/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
400 share/locale/sv/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
401 share/locale/ta/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
402 share/locale/te/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
403 share/locale/tr/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
404 share/locale/uk/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
405 share/locale/vi/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
406 share/locale/zh_CN/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
409 [FILE:433:patches/patch-CMakeLists.txt]
410 --- CMakeLists.txt.orig 2019-08-28 11:46:12 UTC
412 @@ -175,6 +175,11 @@ if (ENABLE_API_TESTS)
416 +if (SUPPRESS_ASSERT)
417 + add_definitions(-DNDEBUG=1)
418 + add_definitions(-D__OPTIMIZE__)
421 # -----------------------------------------------------------------------------
422 # Add module directories
423 # -----------------------------------------------------------------------------
426 [FILE:534:patches/patch-Source_JavaScriptCore_assembler_ARM64Assembler.h]
427 --- Source/JavaScriptCore/assembler/ARM64Assembler.h.orig 2019-08-28 11:46:27 UTC
428 +++ Source/JavaScriptCore/assembler/ARM64Assembler.h
429 @@ -2808,6 +2808,8 @@ public:
430 sys_cache_control(kCacheFunctionPrepareForExecution, code, size);
432 zx_cache_flush(code, size, ZX_CACHE_FLUSH_INSN);
433 +#elif OS(FREEBSD) || OS(NETBSD)
434 + __clear_cache(code, reinterpret_cast<char*>(code) + size);
436 size_t page = pageSize();
437 uintptr_t current = reinterpret_cast<uintptr_t>(code);
440 [FILE:334:patches/patch-Source_WTF_wtf_NumberOfCores.cpp]
441 --- Source/WTF/wtf/NumberOfCores.cpp.orig 2019-08-28 11:46:29 UTC
442 +++ Source/WTF/wtf/NumberOfCores.cpp
444 #include <sys/types.h>
445 #include <sys/sysctl.h>
446 #elif OS(LINUX) || OS(AIX) || OS(OPENBSD) || OS(NETBSD) || OS(FREEBSD)
447 +#include <stdio.h> // sscanf
453 [FILE:610:patches/patch-Source_WebCore_platform_graphics_cpu_arm_filters_FELightingNEON.cpp]
454 --- Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNEON.cpp.orig 2019-08-28 11:46:31 UTC
455 +++ Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNEON.cpp
456 @@ -403,7 +403,7 @@ TOSTRING(neonDrawLighting) ":" NL
457 "vmin.f32 " TMP2_D0 ", " TMP2_D0 ", " CONST_ONE_HI_D NL
458 "vmul.f32 " TMP3_Q ", " COLOR_Q ", " TMP2_D0 "[1]" NL
459 "vcvt.u32.f32 " TMP3_Q ", " TMP3_Q NL
460 - "vmov.u32 r2, r3, " TMP3_S0 ", " TMP3_S1 NL
461 + "vmov r2, r3, " TMP3_S0 ", " TMP3_S1 NL
462 // The color values are stored in-place.
463 "strb r2, [" PIXELS_R ", #-11]" NL
464 "strb r3, [" PIXELS_R ", #-10]" NL
467 [FILE:396:patches/patch-Source_WebCore_platform_graphics_egl_GLContextEGL.cpp]
468 --- Source/WebCore/platform/graphics/egl/GLContextEGL.cpp.orig 2019-09-23 08:18:33 UTC
469 +++ Source/WebCore/platform/graphics/egl/GLContextEGL.cpp
471 #include "OpenGLShims.h"
474 +#include <X11/Xlib.h>
476 #if ENABLE(ACCELERATED_2D_CANVAS)
477 // cairo-gl.h includes some definitions from GLX that conflict with
478 // the ones provided by us. Since GLContextEGL doesn't use any GLX
481 [FILE:336:patches/patch-Source_WebDriver_PlatformGTK.cmake]
482 --- Source/WebDriver/PlatformGTK.cmake.orig 2019-08-28 11:46:32 UTC
483 +++ Source/WebDriver/PlatformGTK.cmake
484 @@ -5,6 +5,7 @@ add_definitions(-DLIBEXECDIR="${CMAKE_IN
485 list(APPEND WebDriver_SYSTEM_INCLUDE_DIRECTORIES
486 "${GLIB_INCLUDE_DIRS}"
487 "${LIBSOUP_INCLUDE_DIRS}"
488 + "${ICU_INCLUDE_DIRS}"
491 list(APPEND WebDriver_SOURCES
494 [FILE:792:patches/patch-Source_WebKit_Platform_unix_SharedMemoryUnix.cpp]
495 --- Source/WebKit/Platform/unix/SharedMemoryUnix.cpp.orig 2019-08-28 11:46:32 UTC
496 +++ Source/WebKit/Platform/unix/SharedMemoryUnix.cpp
497 @@ -137,7 +137,13 @@ static int createSharedMemory()
500 for (int tries = 0; fileDescriptor == -1 && tries < 10; ++tries) {
501 - String name = String("/WK2SharedMemory.") + String::number(static_cast<unsigned>(WTF::randomNumber() * (std::numeric_limits<unsigned>::max() + 1.0)));
503 +#ifdef __DragonFly__
504 + String("/tmp/WK2SharedMemory.")
506 + String("/WK2SharedMemory.")
508 + + String::number(static_cast<unsigned>(WTF::randomNumber() * (std::numeric_limits<unsigned>::max() + 1.0)));
509 tempName = name.utf8();