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.26.3.tar.xz:main
18 OPTIONS_AVAILABLE= GTK3
19 OPTIONS_STANDARD= none
22 BUILD_DEPENDS= gperf:single: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.26.3
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.14.8
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 add51153943cc11d90a7038d0ea5f6332281e6c0be0640f802a211b035f0e611 19331900 webkitgtk-2.26.3.tar.xz
112 [FILE:8729: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 WebKitInstallMissingMediaPluginsPermissionRequest.h
169 WebKitJavascriptResult.h
171 WebKitNavigationAction.h
172 WebKitNavigationPolicyDecision.h
173 WebKitNetworkProxySettings.h
175 WebKitNotificationPermissionRequest.h
177 WebKitOptionMenuItem.h
178 WebKitPermissionRequest.h
180 WebKitPolicyDecision.h
181 WebKitPrintCustomWidget.h
182 WebKitPrintOperation.h
183 WebKitResponsePolicyDecision.h
186 WebKitSecurityManager.h
187 WebKitSecurityOrigin.h
191 WebKitURISchemeRequest.h
194 WebKitUserContentFilterStore.h
195 WebKitUserContentManager.h
196 WebKitUserMediaPermissionRequest.h
201 WebKitWebExtensionAutocleanups.h
202 WebKitWebHitTestResult.h
205 WebKitWebProcessEnumTypes.h
209 WebKitWebViewSessionState.h
211 WebKitWebsiteDataManager.h
212 WebKitWindowProperties.h
213 webkit-web-extension.h
215 include/webkitgtk-%%WKAPI%%/webkitdom/
218 WebKitDOMCDATASection.h
220 WebKitDOMCSSRuleList.h
221 WebKitDOMCSSStyleDeclaration.h
222 WebKitDOMCSSStyleSheet.h
224 WebKitDOMCharacterData.h
225 WebKitDOMClientRect.h
226 WebKitDOMClientRectList.h
229 WebKitDOMCustomUnstable.h
230 WebKitDOMDOMImplementation.h
231 WebKitDOMDOMSelection.h
232 WebKitDOMDOMTokenList.h
234 WebKitDOMDOMWindowUnstable.h
235 WebKitDOMDeprecated.h
237 WebKitDOMDocumentFragment.h
238 WebKitDOMDocumentFragmentUnstable.h
239 WebKitDOMDocumentType.h
240 WebKitDOMDocumentUnstable.h
242 WebKitDOMElementUnstable.h
244 WebKitDOMEventTarget.h
247 WebKitDOMHTMLAnchorElement.h
248 WebKitDOMHTMLAppletElement.h
249 WebKitDOMHTMLAreaElement.h
250 WebKitDOMHTMLBRElement.h
251 WebKitDOMHTMLBaseElement.h
252 WebKitDOMHTMLBodyElement.h
253 WebKitDOMHTMLButtonElement.h
254 WebKitDOMHTMLCanvasElement.h
255 WebKitDOMHTMLCollection.h
256 WebKitDOMHTMLDListElement.h
257 WebKitDOMHTMLDirectoryElement.h
258 WebKitDOMHTMLDivElement.h
259 WebKitDOMHTMLDocument.h
260 WebKitDOMHTMLElement.h
261 WebKitDOMHTMLElementUnstable.h
262 WebKitDOMHTMLEmbedElement.h
263 WebKitDOMHTMLFieldSetElement.h
264 WebKitDOMHTMLFontElement.h
265 WebKitDOMHTMLFormElement.h
266 WebKitDOMHTMLFrameElement.h
267 WebKitDOMHTMLFrameSetElement.h
268 WebKitDOMHTMLHRElement.h
269 WebKitDOMHTMLHeadElement.h
270 WebKitDOMHTMLHeadingElement.h
271 WebKitDOMHTMLHtmlElement.h
272 WebKitDOMHTMLIFrameElement.h
273 WebKitDOMHTMLImageElement.h
274 WebKitDOMHTMLInputElement.h
275 WebKitDOMHTMLLIElement.h
276 WebKitDOMHTMLLabelElement.h
277 WebKitDOMHTMLLegendElement.h
278 WebKitDOMHTMLLinkElement.h
279 WebKitDOMHTMLMapElement.h
280 WebKitDOMHTMLMarqueeElement.h
281 WebKitDOMHTMLMenuElement.h
282 WebKitDOMHTMLMetaElement.h
283 WebKitDOMHTMLModElement.h
284 WebKitDOMHTMLOListElement.h
285 WebKitDOMHTMLObjectElement.h
286 WebKitDOMHTMLOptGroupElement.h
287 WebKitDOMHTMLOptionElement.h
288 WebKitDOMHTMLOptionsCollection.h
289 WebKitDOMHTMLParagraphElement.h
290 WebKitDOMHTMLParamElement.h
291 WebKitDOMHTMLPreElement.h
292 WebKitDOMHTMLQuoteElement.h
293 WebKitDOMHTMLScriptElement.h
294 WebKitDOMHTMLSelectElement.h
295 WebKitDOMHTMLStyleElement.h
296 WebKitDOMHTMLTableCaptionElement.h
297 WebKitDOMHTMLTableCellElement.h
298 WebKitDOMHTMLTableColElement.h
299 WebKitDOMHTMLTableElement.h
300 WebKitDOMHTMLTableRowElement.h
301 WebKitDOMHTMLTableSectionElement.h
302 WebKitDOMHTMLTextAreaElement.h
303 WebKitDOMHTMLTitleElement.h
304 WebKitDOMHTMLUListElement.h
305 WebKitDOMKeyboardEvent.h
307 WebKitDOMMouseEvent.h
308 WebKitDOMNamedNodeMap.h
310 WebKitDOMNodeFilter.h
311 WebKitDOMNodeIterator.h
314 WebKitDOMProcessingInstruction.h
316 WebKitDOMRangeUnstable.h
317 WebKitDOMStyleSheet.h
318 WebKitDOMStyleSheetList.h
320 WebKitDOMTreeWalker.h
322 WebKitDOMWheelEvent.h
323 WebKitDOMXPathExpression.h
324 WebKitDOMXPathNSResolver.h
325 WebKitDOMXPathResult.h
327 webkitdomautocleanups.h
330 libjavascriptcoregtk-%%WKAPI%%.so
331 libjavascriptcoregtk-%%WKAPI%%.so.%%JSSOMAJOR%%
332 libjavascriptcoregtk-%%WKAPI%%.so.%%JSSOVERSION%%
333 libwebkit2gtk-%%WKAPI%%.so
334 libwebkit2gtk-%%WKAPI%%.so.%%SOMAJOR%%
335 libwebkit2gtk-%%WKAPI%%.so.%%SOVERSION%%
336 lib/girepository-1.0/
337 JavaScriptCore-%%WKAPI%%.typelib
338 WebKit2-%%WKAPI%%.typelib
339 WebKit2WebExtension-%%WKAPI%%.typelib
341 javascriptcoregtk-%%WKAPI%%.pc
342 webkit2gtk-%%WKAPI%%.pc
343 webkit2gtk-web-extension-%%WKAPI%%.pc
344 lib/webkit2gtk-%%WKAPI%%/injected-bundle/libwebkit2gtkinjectedbundle.so
345 libexec/webkit2gtk-%%WKAPI%%/
352 JavaScriptCore-%%WKAPI%%.gir
353 WebKit2-%%WKAPI%%.gir
354 WebKit2WebExtension-%%WKAPI%%.gir
355 share/locale/ar/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
356 share/locale/as/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
357 share/locale/bg/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
358 share/locale/ca/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
359 share/locale/cs/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
360 share/locale/da/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
361 share/locale/de/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
362 share/locale/el/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
363 share/locale/en_CA/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
364 share/locale/en_GB/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
365 share/locale/eo/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
366 share/locale/es/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
367 share/locale/et/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
368 share/locale/eu/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
369 share/locale/fi/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
370 share/locale/fr/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
371 share/locale/gl/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
372 share/locale/gu/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
373 share/locale/he/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
374 share/locale/hi/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
375 share/locale/hu/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
376 share/locale/id/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
377 share/locale/it/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
378 share/locale/ja/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
379 share/locale/kn/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
380 share/locale/ko/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
381 share/locale/lt/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
382 share/locale/lv/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
383 share/locale/ml/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
384 share/locale/mr/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
385 share/locale/nb/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
386 share/locale/nl/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
387 share/locale/or/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
388 share/locale/pa/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
389 share/locale/pl/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
390 share/locale/pt/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
391 share/locale/pt_BR/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
392 share/locale/ro/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
393 share/locale/ru/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
394 share/locale/sl/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
395 share/locale/sr/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
396 share/locale/sr@latin/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
397 share/locale/sv/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
398 share/locale/ta/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
399 share/locale/te/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
400 share/locale/tr/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
401 share/locale/uk/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
402 share/locale/vi/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
403 share/locale/zh_CN/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
406 [FILE:433:patches/patch-CMakeLists.txt]
407 --- CMakeLists.txt.orig 2019-08-28 11:46:12 UTC
409 @@ -175,6 +175,11 @@ if (ENABLE_API_TESTS)
413 +if (SUPPRESS_ASSERT)
414 + add_definitions(-DNDEBUG=1)
415 + add_definitions(-D__OPTIMIZE__)
418 # -----------------------------------------------------------------------------
419 # Add module directories
420 # -----------------------------------------------------------------------------
423 [FILE:534:patches/patch-Source_JavaScriptCore_assembler_ARM64Assembler.h]
424 --- Source/JavaScriptCore/assembler/ARM64Assembler.h.orig 2019-08-28 11:46:27 UTC
425 +++ Source/JavaScriptCore/assembler/ARM64Assembler.h
426 @@ -2808,6 +2808,8 @@ public:
427 sys_cache_control(kCacheFunctionPrepareForExecution, code, size);
429 zx_cache_flush(code, size, ZX_CACHE_FLUSH_INSN);
430 +#elif OS(FREEBSD) || OS(NETBSD)
431 + __clear_cache(code, reinterpret_cast<char*>(code) + size);
433 size_t page = pageSize();
434 uintptr_t current = reinterpret_cast<uintptr_t>(code);
437 [FILE:334:patches/patch-Source_WTF_wtf_NumberOfCores.cpp]
438 --- Source/WTF/wtf/NumberOfCores.cpp.orig 2019-08-28 11:46:29 UTC
439 +++ Source/WTF/wtf/NumberOfCores.cpp
441 #include <sys/types.h>
442 #include <sys/sysctl.h>
443 #elif OS(LINUX) || OS(AIX) || OS(OPENBSD) || OS(NETBSD) || OS(FREEBSD)
444 +#include <stdio.h> // sscanf
450 [FILE:610:patches/patch-Source_WebCore_platform_graphics_cpu_arm_filters_FELightingNEON.cpp]
451 --- Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNEON.cpp.orig 2019-08-28 11:46:31 UTC
452 +++ Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNEON.cpp
453 @@ -403,7 +403,7 @@ TOSTRING(neonDrawLighting) ":" NL
454 "vmin.f32 " TMP2_D0 ", " TMP2_D0 ", " CONST_ONE_HI_D NL
455 "vmul.f32 " TMP3_Q ", " COLOR_Q ", " TMP2_D0 "[1]" NL
456 "vcvt.u32.f32 " TMP3_Q ", " TMP3_Q NL
457 - "vmov.u32 r2, r3, " TMP3_S0 ", " TMP3_S1 NL
458 + "vmov r2, r3, " TMP3_S0 ", " TMP3_S1 NL
459 // The color values are stored in-place.
460 "strb r2, [" PIXELS_R ", #-11]" NL
461 "strb r3, [" PIXELS_R ", #-10]" NL
464 [FILE:396:patches/patch-Source_WebCore_platform_graphics_egl_GLContextEGL.cpp]
465 --- Source/WebCore/platform/graphics/egl/GLContextEGL.cpp.orig 2019-09-23 08:18:33 UTC
466 +++ Source/WebCore/platform/graphics/egl/GLContextEGL.cpp
468 #include "OpenGLShims.h"
471 +#include <X11/Xlib.h>
473 #if ENABLE(ACCELERATED_2D_CANVAS)
474 // cairo-gl.h includes some definitions from GLX that conflict with
475 // the ones provided by us. Since GLContextEGL doesn't use any GLX
478 [FILE:336:patches/patch-Source_WebDriver_PlatformGTK.cmake]
479 --- Source/WebDriver/PlatformGTK.cmake.orig 2019-08-28 11:46:32 UTC
480 +++ Source/WebDriver/PlatformGTK.cmake
481 @@ -5,6 +5,7 @@ add_definitions(-DLIBEXECDIR="${CMAKE_IN
482 list(APPEND WebDriver_SYSTEM_INCLUDE_DIRECTORIES
483 "${GLIB_INCLUDE_DIRS}"
484 "${LIBSOUP_INCLUDE_DIRS}"
485 + "${ICU_INCLUDE_DIRS}"
488 list(APPEND WebDriver_SOURCES
491 [FILE:792:patches/patch-Source_WebKit_Platform_unix_SharedMemoryUnix.cpp]
492 --- Source/WebKit/Platform/unix/SharedMemoryUnix.cpp.orig 2019-08-28 11:46:32 UTC
493 +++ Source/WebKit/Platform/unix/SharedMemoryUnix.cpp
494 @@ -137,7 +137,13 @@ static int createSharedMemory()
497 for (int tries = 0; fileDescriptor == -1 && tries < 10; ++tries) {
498 - String name = String("/WK2SharedMemory.") + String::number(static_cast<unsigned>(WTF::randomNumber() * (std::numeric_limits<unsigned>::max() + 1.0)));
500 +#ifdef __DragonFly__
501 + String("/tmp/WK2SharedMemory.")
503 + String("/WK2SharedMemory.")
505 + + String::number(static_cast<unsigned>(WTF::randomNumber() * (std::numeric_limits<unsigned>::max() + 1.0)));
506 tempName = name.utf8();