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.3.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 cpe
46 GNOME_COMPONENTS= gtk3 gdkpixbuf introspection libxslt
47 XORG_COMPONENTS= x11 xcomposite xdamage xext xrender xt ice
49 DISTNAME= webkitgtk-2.28.3
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 CPE_PRODUCT= webkitgtk
63 FPC_EQUIVALENT= www/webkit2-gtk3
65 CONFIGURE_ENV= XDG_CACHE_HOME={{WRKDIR}}
67 INSTALL_TARGET= install
69 PLIST_SUB= JSSOVERSION=18.16.6
74 CXXFLAGS= -DFIXED_EXECUTABLE_MEMORY_POOL_SIZE_IN_MB=32
75 CMAKE_ARGS= -DPORT=GTK
76 -DENABLE_GEOLOCATION:BOOL=ON
77 -DENABLE_GLES2:BOOL=ON
78 -DENABLE_MINIBROWSER:BOOL=ON
79 -DENABLE_WAYLAND_TARGET:BOOL=OFF
80 -DENABLE_BUBBLEWRAP_SANDBOX:BOOL=OFF
81 -DSUPPRESS_ASSERT:BOOL=ON
83 [GTK3].DESCRIPTION= Build GTK+3 variant
84 [GTK3].MAKEFILE_ON= BROWSER_PLUGIN_DIR={{LOCALBASE}}/lib/browser_plugins/symlinks/webkit-gtk3
87 ${REINPLACE_CMD} -e 's|/usr/lib/browser/plugins|${BROWSER_PLUGINS_DIR}|' \
88 ${WRKSRC}/Source/WebKit/Shared/Plugins/unix/PluginSearchPath.cpp
91 (cd ${STAGEDIR}${PREFIX}/bin && \
92 ${LN} -s ../libexec/webkit2gtk-4.0/jsc jsc-4 && \
93 ${LN} -s ../libexec/webkit2gtk-4.0/MiniBrowser MiniBrowser-4)
94 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so.*.*
95 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/webkit2gtk-4.0/injected-bundle/*.so
96 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/webkit2gtk-4.0/*
97 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/WebKitWebDriver
99 [FILE:576:descriptions/desc.primary]
100 WebKitGTK+ is a full-featured port of the WebKit rendering engine, suitable
101 for projects requiring any kind of web integration, from hybrid HTML/CSS
102 applications to full-fledged web browsers. It offers WebKit's full
103 functionality and is useful in a wide range of systems from desktop
104 computers to embedded systems like phones, tablets, and televisions.
106 WebKitGTK+ is made by a lively community of developers and designers,
107 who hope to bring the web platform to everyone. It's the official web
108 engine of the GNOME platform and is used in browsers such as Epiphany
113 f0898ac072c220e13a4aee819408421a6cb56a6eb89170ceafe52468b0903522 21425556 webkitgtk-2.28.3.tar.xz
116 [FILE:6250:manifests/plist.primary]
118 MiniBrowser-%%WKAPIMAJOR%%
121 include/webkitgtk-%%WKAPI%%/JavaScriptCore/
130 include/webkitgtk-%%WKAPI%%/jsc/
142 include/webkitgtk-%%WKAPI%%/webkit2/
143 WebKitApplicationInfo.h
144 WebKitAuthenticationRequest.h
146 WebKitAutomationSession.h
147 WebKitBackForwardList.h
148 WebKitBackForwardListItem.h
149 WebKitColorChooserRequest.h
150 WebKitConsoleMessage.h
152 WebKitContextMenuActions.h
153 WebKitContextMenuItem.h
154 WebKitCookieManager.h
157 WebKitDeviceInfoPermissionRequest.h
159 WebKitEditingCommands.h
163 WebKitFaviconDatabase.h
164 WebKitFileChooserRequest.h
165 WebKitFindController.h
166 WebKitFormSubmissionRequest.h
167 WebKitForwardDeclarations.h
169 WebKitGeolocationManager.h
170 WebKitGeolocationPermissionRequest.h
171 WebKitHitTestResult.h
172 WebKitInputMethodContext.h
173 WebKitInstallMissingMediaPluginsPermissionRequest.h
174 WebKitJavascriptResult.h
176 WebKitNavigationAction.h
177 WebKitNavigationPolicyDecision.h
178 WebKitNetworkProxySettings.h
180 WebKitNotificationPermissionRequest.h
182 WebKitOptionMenuItem.h
183 WebKitPermissionRequest.h
185 WebKitPointerLockPermissionRequest.h
186 WebKitPolicyDecision.h
187 WebKitPrintCustomWidget.h
188 WebKitPrintOperation.h
189 WebKitResponsePolicyDecision.h
192 WebKitSecurityManager.h
193 WebKitSecurityOrigin.h
197 WebKitURISchemeRequest.h
200 WebKitUserContentFilterStore.h
201 WebKitUserContentManager.h
202 WebKitUserMediaPermissionRequest.h
208 WebKitWebExtensionAutocleanups.h
209 WebKitWebHitTestResult.h
212 WebKitWebProcessEnumTypes.h
216 WebKitWebViewSessionState.h
218 WebKitWebsiteDataManager.h
219 WebKitWindowProperties.h
220 webkit-web-extension.h
222 include/webkitgtk-%%WKAPI%%/webkitdom/
225 WebKitDOMCDATASection.h
227 WebKitDOMCSSRuleList.h
228 WebKitDOMCSSStyleDeclaration.h
229 WebKitDOMCSSStyleSheet.h
231 WebKitDOMCharacterData.h
232 WebKitDOMClientRect.h
233 WebKitDOMClientRectList.h
236 WebKitDOMCustomUnstable.h
237 WebKitDOMDOMImplementation.h
238 WebKitDOMDOMSelection.h
239 WebKitDOMDOMTokenList.h
241 WebKitDOMDOMWindowUnstable.h
242 WebKitDOMDeprecated.h
244 WebKitDOMDocumentFragment.h
245 WebKitDOMDocumentFragmentUnstable.h
246 WebKitDOMDocumentType.h
247 WebKitDOMDocumentUnstable.h
249 WebKitDOMElementUnstable.h
251 WebKitDOMEventTarget.h
254 WebKitDOMHTMLAnchorElement.h
255 WebKitDOMHTMLAppletElement.h
256 WebKitDOMHTMLAreaElement.h
257 WebKitDOMHTMLBRElement.h
258 WebKitDOMHTMLBaseElement.h
259 WebKitDOMHTMLBodyElement.h
260 WebKitDOMHTMLButtonElement.h
261 WebKitDOMHTMLCanvasElement.h
262 WebKitDOMHTMLCollection.h
263 WebKitDOMHTMLDListElement.h
264 WebKitDOMHTMLDirectoryElement.h
265 WebKitDOMHTMLDivElement.h
266 WebKitDOMHTMLDocument.h
267 WebKitDOMHTMLElement.h
268 WebKitDOMHTMLElementUnstable.h
269 WebKitDOMHTMLEmbedElement.h
270 WebKitDOMHTMLFieldSetElement.h
271 WebKitDOMHTMLFontElement.h
272 WebKitDOMHTMLFormElement.h
273 WebKitDOMHTMLFrameElement.h
274 WebKitDOMHTMLFrameSetElement.h
275 WebKitDOMHTMLHRElement.h
276 WebKitDOMHTMLHeadElement.h
277 WebKitDOMHTMLHeadingElement.h
278 WebKitDOMHTMLHtmlElement.h
279 WebKitDOMHTMLIFrameElement.h
280 WebKitDOMHTMLImageElement.h
281 WebKitDOMHTMLInputElement.h
282 WebKitDOMHTMLLIElement.h
283 WebKitDOMHTMLLabelElement.h
284 WebKitDOMHTMLLegendElement.h
285 WebKitDOMHTMLLinkElement.h
286 WebKitDOMHTMLMapElement.h
287 WebKitDOMHTMLMarqueeElement.h
288 WebKitDOMHTMLMenuElement.h
289 WebKitDOMHTMLMetaElement.h
290 WebKitDOMHTMLModElement.h
291 WebKitDOMHTMLOListElement.h
292 WebKitDOMHTMLObjectElement.h
293 WebKitDOMHTMLOptGroupElement.h
294 WebKitDOMHTMLOptionElement.h
295 WebKitDOMHTMLOptionsCollection.h
296 WebKitDOMHTMLParagraphElement.h
297 WebKitDOMHTMLParamElement.h
298 WebKitDOMHTMLPreElement.h
299 WebKitDOMHTMLQuoteElement.h
300 WebKitDOMHTMLScriptElement.h
301 WebKitDOMHTMLSelectElement.h
302 WebKitDOMHTMLStyleElement.h
303 WebKitDOMHTMLTableCaptionElement.h
304 WebKitDOMHTMLTableCellElement.h
305 WebKitDOMHTMLTableColElement.h
306 WebKitDOMHTMLTableElement.h
307 WebKitDOMHTMLTableRowElement.h
308 WebKitDOMHTMLTableSectionElement.h
309 WebKitDOMHTMLTextAreaElement.h
310 WebKitDOMHTMLTitleElement.h
311 WebKitDOMHTMLUListElement.h
312 WebKitDOMKeyboardEvent.h
314 WebKitDOMMouseEvent.h
315 WebKitDOMNamedNodeMap.h
317 WebKitDOMNodeFilter.h
318 WebKitDOMNodeIterator.h
321 WebKitDOMProcessingInstruction.h
323 WebKitDOMRangeUnstable.h
324 WebKitDOMStyleSheet.h
325 WebKitDOMStyleSheetList.h
327 WebKitDOMTreeWalker.h
329 WebKitDOMWheelEvent.h
330 WebKitDOMXPathExpression.h
331 WebKitDOMXPathNSResolver.h
332 WebKitDOMXPathResult.h
334 webkitdomautocleanups.h
337 libjavascriptcoregtk-%%WKAPI%%.so
338 libjavascriptcoregtk-%%WKAPI%%.so.%%JSSOMAJOR%%
339 libjavascriptcoregtk-%%WKAPI%%.so.%%JSSOVERSION%%
340 libwebkit2gtk-%%WKAPI%%.so
341 libwebkit2gtk-%%WKAPI%%.so.%%SOMAJOR%%
342 libwebkit2gtk-%%WKAPI%%.so.%%SOVERSION%%
343 lib/girepository-1.0/
344 JavaScriptCore-%%WKAPI%%.typelib
345 WebKit2-%%WKAPI%%.typelib
346 WebKit2WebExtension-%%WKAPI%%.typelib
348 javascriptcoregtk-%%WKAPI%%.pc
349 webkit2gtk-%%WKAPI%%.pc
350 webkit2gtk-web-extension-%%WKAPI%%.pc
351 lib/webkit2gtk-%%WKAPI%%/injected-bundle/libwebkit2gtkinjectedbundle.so
352 libexec/webkit2gtk-%%WKAPI%%/
359 JavaScriptCore-%%WKAPI%%.gir
360 WebKit2-%%WKAPI%%.gir
361 WebKit2WebExtension-%%WKAPI%%.gir
364 [FILE:2566:manifests/plist.nls]
365 share/locale/ar/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
366 share/locale/as/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
367 share/locale/bg/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
368 share/locale/ca/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
369 share/locale/cs/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
370 share/locale/da/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
371 share/locale/de/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
372 share/locale/el/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
373 share/locale/en_CA/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
374 share/locale/en_GB/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
375 share/locale/eo/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
376 share/locale/es/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
377 share/locale/et/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
378 share/locale/eu/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
379 share/locale/fi/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
380 share/locale/fr/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
381 share/locale/gl/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
382 share/locale/gu/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
383 share/locale/he/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
384 share/locale/hi/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
385 share/locale/hu/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
386 share/locale/id/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
387 share/locale/it/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
388 share/locale/ja/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
389 share/locale/kn/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
390 share/locale/ko/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
391 share/locale/lt/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
392 share/locale/lv/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
393 share/locale/ml/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
394 share/locale/mr/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
395 share/locale/nb/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
396 share/locale/nl/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
397 share/locale/or/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
398 share/locale/pa/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
399 share/locale/pl/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
400 share/locale/pt/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
401 share/locale/pt_BR/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
402 share/locale/ro/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
403 share/locale/ru/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
404 share/locale/sl/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
405 share/locale/sr/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
406 share/locale/sr@latin/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
407 share/locale/sv/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
408 share/locale/ta/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
409 share/locale/te/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
410 share/locale/tr/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
411 share/locale/uk/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
412 share/locale/vi/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
413 share/locale/zh_CN/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
416 [FILE:433:patches/patch-CMakeLists.txt]
417 --- CMakeLists.txt.orig 2020-02-04 10:23:40 UTC
419 @@ -175,6 +175,11 @@ if (ENABLE_API_TESTS)
423 +if (SUPPRESS_ASSERT)
424 + add_definitions(-DNDEBUG=1)
425 + add_definitions(-D__OPTIMIZE__)
428 # -----------------------------------------------------------------------------
429 # Add module directories
430 # -----------------------------------------------------------------------------
433 [FILE:534:patches/patch-Source_JavaScriptCore_assembler_ARM64Assembler.h]
434 --- Source/JavaScriptCore/assembler/ARM64Assembler.h.orig 2020-02-04 10:23:58 UTC
435 +++ Source/JavaScriptCore/assembler/ARM64Assembler.h
436 @@ -2811,6 +2811,8 @@ public:
437 sys_cache_control(kCacheFunctionPrepareForExecution, code, size);
439 zx_cache_flush(code, size, ZX_CACHE_FLUSH_INSN);
440 +#elif OS(FREEBSD) || OS(NETBSD)
441 + __clear_cache(code, reinterpret_cast<char*>(code) + size);
443 size_t page = pageSize();
444 uintptr_t current = reinterpret_cast<uintptr_t>(code);
447 [FILE:334:patches/patch-Source_WTF_wtf_NumberOfCores.cpp]
448 --- Source/WTF/wtf/NumberOfCores.cpp.orig 2020-02-04 10:24:07 UTC
449 +++ Source/WTF/wtf/NumberOfCores.cpp
451 #include <sys/types.h>
452 #include <sys/sysctl.h>
453 #elif OS(LINUX) || OS(AIX) || OS(OPENBSD) || OS(NETBSD) || OS(FREEBSD)
454 +#include <stdio.h> // sscanf
460 [FILE:610:patches/patch-Source_WebCore_platform_graphics_cpu_arm_filters_FELightingNEON.cpp]
461 --- Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNEON.cpp.orig 2020-02-04 10:24:08 UTC
462 +++ Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNEON.cpp
463 @@ -403,7 +403,7 @@ TOSTRING(neonDrawLighting) ":" NL
464 "vmin.f32 " TMP2_D0 ", " TMP2_D0 ", " CONST_ONE_HI_D NL
465 "vmul.f32 " TMP3_Q ", " COLOR_Q ", " TMP2_D0 "[1]" NL
466 "vcvt.u32.f32 " TMP3_Q ", " TMP3_Q NL
467 - "vmov.u32 r2, r3, " TMP3_S0 ", " TMP3_S1 NL
468 + "vmov r2, r3, " TMP3_S0 ", " TMP3_S1 NL
469 // The color values are stored in-place.
470 "strb r2, [" PIXELS_R ", #-11]" NL
471 "strb r3, [" PIXELS_R ", #-10]" NL
474 [FILE:396:patches/patch-Source_WebCore_platform_graphics_egl_GLContextEGL.cpp]
475 --- Source/WebCore/platform/graphics/egl/GLContextEGL.cpp.orig 2020-02-04 10:24:08 UTC
476 +++ Source/WebCore/platform/graphics/egl/GLContextEGL.cpp
478 #include "OpenGLShims.h"
481 +#include <X11/Xlib.h>
483 #if ENABLE(ACCELERATED_2D_CANVAS)
484 // cairo-gl.h includes some definitions from GLX that conflict with
485 // the ones provided by us. Since GLContextEGL doesn't use any GLX
488 [FILE:336:patches/patch-Source_WebDriver_PlatformGTK.cmake]
489 --- Source/WebDriver/PlatformGTK.cmake.orig 2020-02-04 10:24:08 UTC
490 +++ Source/WebDriver/PlatformGTK.cmake
491 @@ -5,6 +5,7 @@ add_definitions(-DLIBEXECDIR="${CMAKE_IN
492 list(APPEND WebDriver_SYSTEM_INCLUDE_DIRECTORIES
493 "${GLIB_INCLUDE_DIRS}"
494 "${LIBSOUP_INCLUDE_DIRS}"
495 + "${ICU_INCLUDE_DIRS}"
498 list(APPEND WebDriver_SOURCES
501 [FILE:792:patches/patch-Source_WebKit_Platform_unix_SharedMemoryUnix.cpp]
502 --- Source/WebKit/Platform/unix/SharedMemoryUnix.cpp.orig 2020-02-04 10:24:08 UTC
503 +++ Source/WebKit/Platform/unix/SharedMemoryUnix.cpp
504 @@ -137,7 +137,13 @@ static int createSharedMemory()
507 for (int tries = 0; fileDescriptor == -1 && tries < 10; ++tries) {
508 - String name = String("/WK2SharedMemory.") + String::number(static_cast<unsigned>(WTF::randomNumber() * (std::numeric_limits<unsigned>::max() + 1.0)));
510 +#ifdef __DragonFly__
511 + String("/tmp/WK2SharedMemory.")
513 + String("/WK2SharedMemory.")
515 + + String::number(static_cast<unsigned>(WTF::randomNumber() * (std::numeric_limits<unsigned>::max() + 1.0)));
516 tempName = name.utf8();