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.22.2.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-gl:single:standard
41 USES= jpeg png mesa cmake:outsource pkgconfig sqlite bison
42 perl:build python:py27,build ruby:build
44 GNOME_COMPONENTS= gtk3 gdkpixbuf introspection libxslt
45 XORG_COMPONENTS= x11 xcomposite xdamage xext xrender xt ice
47 DISTNAME= webkitgtk-2.22.2
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}}
64 MAKE_ENV= AUTOPYTHON=2.7
66 INSTALL_TARGET= install
68 PLIST_SUB= JSSOVERSION=18.11.3
73 CXXFLAGS= -DFIXED_EXECUTABLE_MEMORY_POOL_SIZE_IN_MB=32
74 CMAKE_ARGS= -DPORT=GTK
76 -DENABLE_GEOLOCATION:BOOL=true
77 -DENABLE_GLES2:BOOL=ON
78 -DENABLE_MINIBROWSER:BOOL=ON
80 [GTK3].DESCRIPTION= Build GTK+3 variant
81 [GTK3].MAKEFILE_ON= BROWSER_PLUGIN_DIR={{LOCALBASE}}/lib/browser_plugins/symlinks/webkit-gtk3
84 ${REINPLACE_CMD} -e 's|/usr/lib/browser/plugins|${BROWSER_PLUGINS_DIR}|' \
85 ${WRKSRC}/Source/WebKit/Shared/Plugins/unix/PluginSearchPath.cpp
88 (cd ${STAGEDIR}${PREFIX}/bin && \
89 ${LN} -s ../libexec/webkit2gtk-4.0/jsc jsc-4 && \
90 ${LN} -s ../libexec/webkit2gtk-4.0/MiniBrowser MiniBrowser-4)
91 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so.*.*
92 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/webkit2gtk-4.0/injected-bundle/*.so
93 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/webkit2gtk-4.0/*
94 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/WebKitWebDriver
96 [FILE:576:descriptions/desc.single]
97 WebKitGTK+ is a full-featured port of the WebKit rendering engine, suitable
98 for projects requiring any kind of web integration, from hybrid HTML/CSS
99 applications to full-fledged web browsers. It offers WebKit's full
100 functionality and is useful in a wide range of systems from desktop
101 computers to embedded systems like phones, tablets, and televisions.
103 WebKitGTK+ is made by a lively community of developers and designers,
104 who hope to bring the web platform to everyone. It's the official web
105 engine of the GNOME platform and is used in browsers such as Epiphany
110 345487d4d1896e711683f951d1e09387d3b90d7cf59295c0e634af7f515e99ba 16769120 webkitgtk-2.22.2.tar.xz
113 [FILE:8588:manifests/plist.single]
115 MiniBrowser-%%WKAPIMAJOR%%
118 include/webkitgtk-%%WKAPI%%/JavaScriptCore/
127 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
154 WebKitEditingCommands.h
158 WebKitFaviconDatabase.h
159 WebKitFileChooserRequest.h
160 WebKitFindController.h
161 WebKitFormSubmissionRequest.h
162 WebKitForwardDeclarations.h
164 WebKitGeolocationPermissionRequest.h
165 WebKitHitTestResult.h
166 WebKitInstallMissingMediaPluginsPermissionRequest.h
167 WebKitJavascriptResult.h
169 WebKitNavigationAction.h
170 WebKitNavigationPolicyDecision.h
171 WebKitNetworkProxySettings.h
173 WebKitNotificationPermissionRequest.h
175 WebKitOptionMenuItem.h
176 WebKitPermissionRequest.h
178 WebKitPolicyDecision.h
179 WebKitPrintCustomWidget.h
180 WebKitPrintOperation.h
181 WebKitResponsePolicyDecision.h
184 WebKitSecurityManager.h
185 WebKitSecurityOrigin.h
189 WebKitURISchemeRequest.h
191 WebKitUserContentManager.h
192 WebKitUserMediaPermissionRequest.h
197 WebKitWebExtensionAutocleanups.h
198 WebKitWebHitTestResult.h
201 WebKitWebProcessEnumTypes.h
205 WebKitWebViewSessionState.h
207 WebKitWebsiteDataManager.h
208 WebKitWindowProperties.h
209 webkit-web-extension.h
211 include/webkitgtk-%%WKAPI%%/webkitdom/
214 WebKitDOMCDATASection.h
216 WebKitDOMCSSRuleList.h
217 WebKitDOMCSSStyleDeclaration.h
218 WebKitDOMCSSStyleSheet.h
220 WebKitDOMCharacterData.h
221 WebKitDOMClientRect.h
222 WebKitDOMClientRectList.h
225 WebKitDOMCustomUnstable.h
226 WebKitDOMDOMImplementation.h
227 WebKitDOMDOMSelection.h
228 WebKitDOMDOMTokenList.h
230 WebKitDOMDOMWindowUnstable.h
231 WebKitDOMDeprecated.h
233 WebKitDOMDocumentFragment.h
234 WebKitDOMDocumentFragmentUnstable.h
235 WebKitDOMDocumentType.h
236 WebKitDOMDocumentUnstable.h
238 WebKitDOMElementUnstable.h
240 WebKitDOMEventTarget.h
243 WebKitDOMHTMLAnchorElement.h
244 WebKitDOMHTMLAppletElement.h
245 WebKitDOMHTMLAreaElement.h
246 WebKitDOMHTMLBRElement.h
247 WebKitDOMHTMLBaseElement.h
248 WebKitDOMHTMLBodyElement.h
249 WebKitDOMHTMLButtonElement.h
250 WebKitDOMHTMLCanvasElement.h
251 WebKitDOMHTMLCollection.h
252 WebKitDOMHTMLDListElement.h
253 WebKitDOMHTMLDirectoryElement.h
254 WebKitDOMHTMLDivElement.h
255 WebKitDOMHTMLDocument.h
256 WebKitDOMHTMLElement.h
257 WebKitDOMHTMLElementUnstable.h
258 WebKitDOMHTMLEmbedElement.h
259 WebKitDOMHTMLFieldSetElement.h
260 WebKitDOMHTMLFontElement.h
261 WebKitDOMHTMLFormElement.h
262 WebKitDOMHTMLFrameElement.h
263 WebKitDOMHTMLFrameSetElement.h
264 WebKitDOMHTMLHRElement.h
265 WebKitDOMHTMLHeadElement.h
266 WebKitDOMHTMLHeadingElement.h
267 WebKitDOMHTMLHtmlElement.h
268 WebKitDOMHTMLIFrameElement.h
269 WebKitDOMHTMLImageElement.h
270 WebKitDOMHTMLInputElement.h
271 WebKitDOMHTMLLIElement.h
272 WebKitDOMHTMLLabelElement.h
273 WebKitDOMHTMLLegendElement.h
274 WebKitDOMHTMLLinkElement.h
275 WebKitDOMHTMLMapElement.h
276 WebKitDOMHTMLMarqueeElement.h
277 WebKitDOMHTMLMenuElement.h
278 WebKitDOMHTMLMetaElement.h
279 WebKitDOMHTMLModElement.h
280 WebKitDOMHTMLOListElement.h
281 WebKitDOMHTMLObjectElement.h
282 WebKitDOMHTMLOptGroupElement.h
283 WebKitDOMHTMLOptionElement.h
284 WebKitDOMHTMLOptionsCollection.h
285 WebKitDOMHTMLParagraphElement.h
286 WebKitDOMHTMLParamElement.h
287 WebKitDOMHTMLPreElement.h
288 WebKitDOMHTMLQuoteElement.h
289 WebKitDOMHTMLScriptElement.h
290 WebKitDOMHTMLSelectElement.h
291 WebKitDOMHTMLStyleElement.h
292 WebKitDOMHTMLTableCaptionElement.h
293 WebKitDOMHTMLTableCellElement.h
294 WebKitDOMHTMLTableColElement.h
295 WebKitDOMHTMLTableElement.h
296 WebKitDOMHTMLTableRowElement.h
297 WebKitDOMHTMLTableSectionElement.h
298 WebKitDOMHTMLTextAreaElement.h
299 WebKitDOMHTMLTitleElement.h
300 WebKitDOMHTMLUListElement.h
301 WebKitDOMKeyboardEvent.h
303 WebKitDOMMouseEvent.h
304 WebKitDOMNamedNodeMap.h
306 WebKitDOMNodeFilter.h
307 WebKitDOMNodeIterator.h
310 WebKitDOMProcessingInstruction.h
312 WebKitDOMRangeUnstable.h
313 WebKitDOMStyleSheet.h
314 WebKitDOMStyleSheetList.h
316 WebKitDOMTreeWalker.h
318 WebKitDOMWheelEvent.h
319 WebKitDOMXPathExpression.h
320 WebKitDOMXPathNSResolver.h
321 WebKitDOMXPathResult.h
323 webkitdomautocleanups.h
326 libjavascriptcoregtk-%%WKAPI%%.so
327 libjavascriptcoregtk-%%WKAPI%%.so.%%JSSOMAJOR%%
328 libjavascriptcoregtk-%%WKAPI%%.so.%%JSSOVERSION%%
329 libwebkit2gtk-%%WKAPI%%.so
330 libwebkit2gtk-%%WKAPI%%.so.%%SOMAJOR%%
331 libwebkit2gtk-%%WKAPI%%.so.%%SOVERSION%%
332 lib/girepository-1.0/
333 JavaScriptCore-%%WKAPI%%.typelib
334 WebKit2-%%WKAPI%%.typelib
335 WebKit2WebExtension-%%WKAPI%%.typelib
337 javascriptcoregtk-%%WKAPI%%.pc
338 webkit2gtk-%%WKAPI%%.pc
339 webkit2gtk-web-extension-%%WKAPI%%.pc
340 lib/webkit2gtk-%%WKAPI%%/injected-bundle/libwebkit2gtkinjectedbundle.so
341 libexec/webkit2gtk-%%WKAPI%%/
350 JavaScriptCore-%%WKAPI%%.gir
351 WebKit2-%%WKAPI%%.gir
352 WebKit2WebExtension-%%WKAPI%%.gir
353 share/locale/ar/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
354 share/locale/as/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
355 share/locale/bg/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
356 share/locale/ca/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
357 share/locale/cs/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
358 share/locale/de/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
359 share/locale/el/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
360 share/locale/en_CA/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
361 share/locale/en_GB/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
362 share/locale/eo/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
363 share/locale/es/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
364 share/locale/et/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
365 share/locale/eu/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
366 share/locale/fi/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
367 share/locale/fr/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
368 share/locale/gl/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
369 share/locale/gu/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
370 share/locale/he/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
371 share/locale/hi/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
372 share/locale/hu/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
373 share/locale/id/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
374 share/locale/it/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
375 share/locale/ja/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
376 share/locale/kn/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
377 share/locale/ko/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
378 share/locale/lt/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
379 share/locale/lv/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
380 share/locale/ml/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
381 share/locale/mr/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
382 share/locale/nb/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
383 share/locale/nl/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
384 share/locale/or/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
385 share/locale/pa/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
386 share/locale/pl/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
387 share/locale/pt/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
388 share/locale/pt_BR/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
389 share/locale/ro/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
390 share/locale/ru/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
391 share/locale/sl/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
392 share/locale/sr/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
393 share/locale/sr@latin/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
394 share/locale/sv/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
395 share/locale/ta/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
396 share/locale/te/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
397 share/locale/tr/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
398 share/locale/uk/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
399 share/locale/vi/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
400 share/locale/zh_CN/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
403 [FILE:657:patches/patch-Source_JavaScriptCore_CMakeLists.txt]
404 --- Source/JavaScriptCore/CMakeLists.txt.orig 2018-09-03 07:39:47 UTC
405 +++ Source/JavaScriptCore/CMakeLists.txt
406 @@ -255,7 +255,6 @@ add_executable(LLIntOffsetsExtractor
407 ${DERIVED_SOURCES_JAVASCRIPTCORE_DIR}/LLIntDesiredOffsets.h ${DERIVED_SOURCES_JAVASCRIPTCORE_DIR}/Bytecodes.h ${DERIVED_SOURCES_JAVASCRIPTCORE_DIR}/BytecodeStructs.h
409 target_link_libraries(LLIntOffsetsExtractor WTF)
410 -add_dependencies(LLIntOffsetsExtractor JavaScriptCoreForwardingHeaders)
412 # The build system will execute asm.rb every time LLIntOffsetsExtractor's mtime is newer than
413 # LLIntAssembly.h's mtime. The problem we have here is: asm.rb has some built-in optimization
416 [FILE:534:patches/patch-Source_JavaScriptCore_assembler_ARM64Assembler.h]
417 --- Source/JavaScriptCore/assembler/ARM64Assembler.h.orig 2018-08-20 11:53:24 UTC
418 +++ Source/JavaScriptCore/assembler/ARM64Assembler.h
419 @@ -2865,6 +2865,8 @@ public:
420 sys_cache_control(kCacheFunctionPrepareForExecution, code, size);
422 zx_cache_flush(code, size, ZX_CACHE_FLUSH_INSN);
423 +#elif OS(FREEBSD) || OS(NETBSD)
424 + __clear_cache(code, reinterpret_cast<char*>(code) + size);
426 size_t page = pageSize();
427 uintptr_t current = reinterpret_cast<uintptr_t>(code);
430 [FILE:334:patches/patch-Source_WTF_wtf_NumberOfCores.cpp]
431 --- Source/WTF/wtf/NumberOfCores.cpp.orig 2018-04-18 06:26:40 UTC
432 +++ Source/WTF/wtf/NumberOfCores.cpp
434 #include <sys/types.h>
435 #include <sys/sysctl.h>
436 #elif OS(LINUX) || OS(AIX) || OS(OPENBSD) || OS(NETBSD) || OS(FREEBSD)
437 +#include <stdio.h> // sscanf
443 [FILE:421:patches/patch-Source_WebCore_PAL_pal_PlatformGTK.cmake]
444 --- Source/WebCore/PAL/pal/PlatformGTK.cmake.orig 2018-04-18 06:26:41 UTC
445 +++ Source/WebCore/PAL/pal/PlatformGTK.cmake
446 @@ -20,6 +20,13 @@ list(APPEND PAL_SOURCES
450 +list(APPEND PAL_INCLUDE_DIRECTORIES
451 + ${LIBGCRYPT_INCLUDE_DIRS}
453 +list(APPEND PAL_LIBRARIES
454 + ${LIBGCRYPT_LIBRARIES}
457 if (ENABLE_SUBTLE_CRYPTO)
458 list(APPEND PAL_PUBLIC_HEADERS
459 crypto/tasn1/Utilities.h
462 [FILE:610:patches/patch-Source_WebCore_platform_graphics_cpu_arm_filters_FELightingNEON.cpp]
463 --- Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNEON.cpp.orig 2018-04-18 06:26:41 UTC
464 +++ Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNEON.cpp
465 @@ -403,7 +403,7 @@ TOSTRING(neonDrawLighting) ":" NL
466 "vmin.f32 " TMP2_D0 ", " TMP2_D0 ", " CONST_ONE_HI_D NL
467 "vmul.f32 " TMP3_Q ", " COLOR_Q ", " TMP2_D0 "[1]" NL
468 "vcvt.u32.f32 " TMP3_Q ", " TMP3_Q NL
469 - "vmov.u32 r2, r3, " TMP3_S0 ", " TMP3_S1 NL
470 + "vmov r2, r3, " TMP3_S0 ", " TMP3_S1 NL
471 // The color values are stored in-place.
472 "strb r2, [" PIXELS_R ", #-11]" NL
473 "strb r3, [" PIXELS_R ", #-10]" NL
476 [FILE:839:patches/patch-Source_WebCore_platform_graphics_cpu_arm_filters_FELightingNEON.h]
477 --- Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNEON.h.orig 2018-04-18 06:26:41 UTC
478 +++ Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNEON.h
479 @@ -144,9 +144,9 @@ inline void FELighting::platformApplyNeo
480 neonData.flags |= FLAG_CONE_EXPONENT_IS_1;
482 ASSERT(m_lightSource->type() == LS_DISTANT);
483 - floatArguments.lightX = paintingData.lightVector.x();
484 - floatArguments.lightY = paintingData.lightVector.y();
485 - floatArguments.lightZ = paintingData.lightVector.z();
486 + floatArguments.lightX = paintingData.initialLightingData.lightVector.x();
487 + floatArguments.lightY = paintingData.initialLightingData.lightVector.y();
488 + floatArguments.lightZ = paintingData.initialLightingData.lightVector.z();
489 floatArguments.padding2 = 1;
494 [FILE:396:patches/patch-Source_WebCore_platform_graphics_egl_GLContextEGL.cpp]
495 --- Source/WebCore/platform/graphics/egl/GLContextEGL.cpp.orig 2018-04-18 06:26:41 UTC
496 +++ Source/WebCore/platform/graphics/egl/GLContextEGL.cpp
498 #include "OpenGLShims.h"
501 +#include <X11/Xlib.h>
503 #if ENABLE(ACCELERATED_2D_CANVAS)
504 // cairo-gl.h includes some definitions from GLX that conflict with
505 // the ones provided by us. Since GLContextEGL doesn't use any GLX
508 [FILE:336:patches/patch-Source_WebDriver_PlatformGTK.cmake]
509 --- Source/WebDriver/PlatformGTK.cmake.orig 2018-04-18 06:26:41 UTC
510 +++ Source/WebDriver/PlatformGTK.cmake
511 @@ -5,6 +5,7 @@ add_definitions(-DLIBEXECDIR="${CMAKE_IN
512 list(APPEND WebDriver_SYSTEM_INCLUDE_DIRECTORIES
513 "${GLIB_INCLUDE_DIRS}"
514 "${LIBSOUP_INCLUDE_DIRS}"
515 + "${ICU_INCLUDE_DIRS}"
518 list(APPEND WebDriver_SOURCES