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.20.2.tar.xz:main
18 OPTIONS_AVAILABLE= GTK3
19 OPTIONS_STANDARD= none
24 BUILD_DEPENDS= gperf:single:standard
25 BUILDRUN_DEPENDS= enchant:single:standard
26 fontconfig:primary:standard
27 freetype:primary:standard
29 libsecret:primary:standard
30 libnotify:primary:standard
31 hyphen:single:standard
34 libsoup:primary:standard
35 libgcrypt:single:standard
36 gnutls:single:standard
37 libtasn1:primary:standard
38 geoclue:single:standard
40 gstreamer1-plugins-gl:single:standard
42 USES= jpeg png mesa cmake:outsource pkgconfig sqlite bison
43 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.20.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}}
63 INSTALL_TARGET= install
65 PLIST_SUB= JSSOVERSION=18.7.8
70 CXXFLAGS= -DFIXED_EXECUTABLE_MEMORY_POOL_SIZE_IN_MB=32
71 CMAKE_ARGS= -DPORT=GTK
73 -DENABLE_GEOLOCATION:BOOL=true
74 -DENABLE_GLES2:BOOL=ON
75 -DENABLE_MINIBROWSER:BOOL=ON
77 [GTK3].DESCRIPTION= Build GTK+3 variant
78 [GTK3].MAKEFILE_ON= BROWSER_PLUGIN_DIR={{LOCALBASE}}/lib/browser_plugins/symlinks/webkit-gtk3
81 ${REINPLACE_CMD} -e 's|/usr/lib/browser/plugins|${BROWSER_PLUGINS_DIR}|' \
82 ${WRKSRC}/Source/WebKit/Shared/Plugins/unix/PluginSearchPath.cpp
85 (cd ${STAGEDIR}${PREFIX}/bin && \
86 ${LN} -s ../libexec/webkit2gtk-4.0/jsc jsc-4 && \
87 ${LN} -s ../libexec/webkit2gtk-4.0/MiniBrowser MiniBrowser-4)
88 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so.*.*
89 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/webkit2gtk-4.0/injected-bundle/*.so
90 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/webkit2gtk-4.0/*
91 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/WebKitWebDriver
93 [FILE:576:descriptions/desc.single]
94 WebKitGTK+ is a full-featured port of the WebKit rendering engine, suitable
95 for projects requiring any kind of web integration, from hybrid HTML/CSS
96 applications to full-fledged web browsers. It offers WebKit's full
97 functionality and is useful in a wide range of systems from desktop
98 computers to embedded systems like phones, tablets, and televisions.
100 WebKitGTK+ is made by a lively community of developers and designers,
101 who hope to bring the web platform to everyone. It's the official web
102 engine of the GNOME platform and is used in browsers such as Epiphany
107 dffe93a241f03f1c73b369f4e323e4d8f12e39d33d5515948cbf454ca4b526e2 16622048 webkitgtk-2.20.2.tar.xz
110 [FILE:8389:manifests/plist.single]
112 MiniBrowser-%%WKAPIMAJOR%%
115 include/webkitgtk-%%WKAPI%%/JavaScriptCore/
124 include/webkitgtk-%%WKAPI%%/webkit2/
125 WebKitApplicationInfo.h
126 WebKitAuthenticationRequest.h
128 WebKitAutomationSession.h
129 WebKitBackForwardList.h
130 WebKitBackForwardListItem.h
131 WebKitColorChooserRequest.h
132 WebKitConsoleMessage.h
134 WebKitContextMenuActions.h
135 WebKitContextMenuItem.h
136 WebKitCookieManager.h
140 WebKitEditingCommands.h
144 WebKitFaviconDatabase.h
145 WebKitFileChooserRequest.h
146 WebKitFindController.h
147 WebKitFormSubmissionRequest.h
148 WebKitForwardDeclarations.h
150 WebKitGeolocationPermissionRequest.h
151 WebKitHitTestResult.h
152 WebKitInstallMissingMediaPluginsPermissionRequest.h
153 WebKitJavascriptResult.h
155 WebKitNavigationAction.h
156 WebKitNavigationPolicyDecision.h
157 WebKitNetworkProxySettings.h
159 WebKitNotificationPermissionRequest.h
161 WebKitOptionMenuItem.h
162 WebKitPermissionRequest.h
164 WebKitPolicyDecision.h
165 WebKitPrintCustomWidget.h
166 WebKitPrintOperation.h
167 WebKitResponsePolicyDecision.h
170 WebKitSecurityManager.h
171 WebKitSecurityOrigin.h
175 WebKitURISchemeRequest.h
177 WebKitUserContentManager.h
178 WebKitUserMediaPermissionRequest.h
183 WebKitWebExtensionAutocleanups.h
184 WebKitWebHitTestResult.h
187 WebKitWebProcessEnumTypes.h
191 WebKitWebViewSessionState.h
193 WebKitWebsiteDataManager.h
194 WebKitWindowProperties.h
195 webkit-web-extension.h
197 include/webkitgtk-%%WKAPI%%/webkitdom/
200 WebKitDOMCDATASection.h
202 WebKitDOMCSSRuleList.h
203 WebKitDOMCSSStyleDeclaration.h
204 WebKitDOMCSSStyleSheet.h
206 WebKitDOMCharacterData.h
207 WebKitDOMClientRect.h
208 WebKitDOMClientRectList.h
211 WebKitDOMCustomUnstable.h
212 WebKitDOMDOMImplementation.h
213 WebKitDOMDOMSelection.h
214 WebKitDOMDOMTokenList.h
216 WebKitDOMDOMWindowUnstable.h
217 WebKitDOMDeprecated.h
219 WebKitDOMDocumentFragment.h
220 WebKitDOMDocumentFragmentUnstable.h
221 WebKitDOMDocumentType.h
222 WebKitDOMDocumentUnstable.h
224 WebKitDOMElementUnstable.h
226 WebKitDOMEventTarget.h
229 WebKitDOMHTMLAnchorElement.h
230 WebKitDOMHTMLAppletElement.h
231 WebKitDOMHTMLAreaElement.h
232 WebKitDOMHTMLBRElement.h
233 WebKitDOMHTMLBaseElement.h
234 WebKitDOMHTMLBodyElement.h
235 WebKitDOMHTMLButtonElement.h
236 WebKitDOMHTMLCanvasElement.h
237 WebKitDOMHTMLCollection.h
238 WebKitDOMHTMLDListElement.h
239 WebKitDOMHTMLDirectoryElement.h
240 WebKitDOMHTMLDivElement.h
241 WebKitDOMHTMLDocument.h
242 WebKitDOMHTMLElement.h
243 WebKitDOMHTMLElementUnstable.h
244 WebKitDOMHTMLEmbedElement.h
245 WebKitDOMHTMLFieldSetElement.h
246 WebKitDOMHTMLFontElement.h
247 WebKitDOMHTMLFormElement.h
248 WebKitDOMHTMLFrameElement.h
249 WebKitDOMHTMLFrameSetElement.h
250 WebKitDOMHTMLHRElement.h
251 WebKitDOMHTMLHeadElement.h
252 WebKitDOMHTMLHeadingElement.h
253 WebKitDOMHTMLHtmlElement.h
254 WebKitDOMHTMLIFrameElement.h
255 WebKitDOMHTMLImageElement.h
256 WebKitDOMHTMLInputElement.h
257 WebKitDOMHTMLLIElement.h
258 WebKitDOMHTMLLabelElement.h
259 WebKitDOMHTMLLegendElement.h
260 WebKitDOMHTMLLinkElement.h
261 WebKitDOMHTMLMapElement.h
262 WebKitDOMHTMLMarqueeElement.h
263 WebKitDOMHTMLMenuElement.h
264 WebKitDOMHTMLMetaElement.h
265 WebKitDOMHTMLModElement.h
266 WebKitDOMHTMLOListElement.h
267 WebKitDOMHTMLObjectElement.h
268 WebKitDOMHTMLOptGroupElement.h
269 WebKitDOMHTMLOptionElement.h
270 WebKitDOMHTMLOptionsCollection.h
271 WebKitDOMHTMLParagraphElement.h
272 WebKitDOMHTMLParamElement.h
273 WebKitDOMHTMLPreElement.h
274 WebKitDOMHTMLQuoteElement.h
275 WebKitDOMHTMLScriptElement.h
276 WebKitDOMHTMLSelectElement.h
277 WebKitDOMHTMLStyleElement.h
278 WebKitDOMHTMLTableCaptionElement.h
279 WebKitDOMHTMLTableCellElement.h
280 WebKitDOMHTMLTableColElement.h
281 WebKitDOMHTMLTableElement.h
282 WebKitDOMHTMLTableRowElement.h
283 WebKitDOMHTMLTableSectionElement.h
284 WebKitDOMHTMLTextAreaElement.h
285 WebKitDOMHTMLTitleElement.h
286 WebKitDOMHTMLUListElement.h
287 WebKitDOMKeyboardEvent.h
289 WebKitDOMMouseEvent.h
290 WebKitDOMNamedNodeMap.h
292 WebKitDOMNodeFilter.h
293 WebKitDOMNodeIterator.h
296 WebKitDOMProcessingInstruction.h
298 WebKitDOMRangeUnstable.h
299 WebKitDOMStyleSheet.h
300 WebKitDOMStyleSheetList.h
302 WebKitDOMTreeWalker.h
304 WebKitDOMWheelEvent.h
305 WebKitDOMXPathExpression.h
306 WebKitDOMXPathNSResolver.h
307 WebKitDOMXPathResult.h
309 webkitdomautocleanups.h
312 libjavascriptcoregtk-%%WKAPI%%.so
313 libjavascriptcoregtk-%%WKAPI%%.so.%%JSSOMAJOR%%
314 libjavascriptcoregtk-%%WKAPI%%.so.%%JSSOVERSION%%
315 libwebkit2gtk-%%WKAPI%%.so
316 libwebkit2gtk-%%WKAPI%%.so.%%SOMAJOR%%
317 libwebkit2gtk-%%WKAPI%%.so.%%SOVERSION%%
318 lib/girepository-1.0/
319 JavaScriptCore-%%WKAPI%%.typelib
320 WebKit2-%%WKAPI%%.typelib
321 WebKit2WebExtension-%%WKAPI%%.typelib
323 javascriptcoregtk-%%WKAPI%%.pc
324 webkit2gtk-%%WKAPI%%.pc
325 webkit2gtk-web-extension-%%WKAPI%%.pc
326 lib/webkit2gtk-%%WKAPI%%/injected-bundle/libwebkit2gtkinjectedbundle.so
327 libexec/webkit2gtk-%%WKAPI%%/
335 JavaScriptCore-%%WKAPI%%.gir
336 WebKit2-%%WKAPI%%.gir
337 WebKit2WebExtension-%%WKAPI%%.gir
338 share/locale/ar/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
339 share/locale/as/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
340 share/locale/bg/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
341 share/locale/ca/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
342 share/locale/cs/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
343 share/locale/de/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
344 share/locale/el/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
345 share/locale/en_CA/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
346 share/locale/en_GB/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
347 share/locale/eo/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
348 share/locale/es/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
349 share/locale/et/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
350 share/locale/eu/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
351 share/locale/fi/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
352 share/locale/fr/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
353 share/locale/gl/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
354 share/locale/gu/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
355 share/locale/he/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
356 share/locale/hi/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
357 share/locale/hu/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
358 share/locale/id/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
359 share/locale/it/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
360 share/locale/ja/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
361 share/locale/kn/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
362 share/locale/ko/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
363 share/locale/lt/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
364 share/locale/lv/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
365 share/locale/ml/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
366 share/locale/mr/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
367 share/locale/nb/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
368 share/locale/nl/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
369 share/locale/or/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
370 share/locale/pa/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
371 share/locale/pl/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
372 share/locale/pt/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
373 share/locale/pt_BR/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
374 share/locale/ro/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
375 share/locale/ru/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
376 share/locale/sl/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
377 share/locale/sr/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
378 share/locale/sr@latin/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
379 share/locale/sv/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
380 share/locale/ta/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
381 share/locale/te/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
382 share/locale/tr/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
383 share/locale/uk/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
384 share/locale/vi/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
385 share/locale/zh_CN/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
388 [FILE:658:patches/patch-Source_JavaScriptCore_CMakeLists.txt]
389 --- Source/JavaScriptCore/CMakeLists.txt.orig 2018-04-10 07:33:13 UTC
390 +++ Source/JavaScriptCore/CMakeLists.txt
391 @@ -253,6 +253,7 @@ add_executable(LLIntOffsetsExtractor
392 ${DERIVED_SOURCES_JAVASCRIPTCORE_DIR}/LLIntDesiredOffsets.h ${DERIVED_SOURCES_JAVASCRIPTCORE_DIR}/Bytecodes.h ${DERIVED_SOURCES_JAVASCRIPTCORE_DIR}/BytecodeStructs.h
394 target_link_libraries(LLIntOffsetsExtractor WTF)
395 +add_dependencies(LLIntOffsetsExtractor JavaScriptCoreForwardingHeaders)
397 # The build system will execute asm.rb every time LLIntOffsetsExtractor's mtime is newer than
398 # LLIntAssembly.h's mtime. The problem we have here is: asm.rb has some built-in optimization
401 [FILE:477:patches/patch-Source_JavaScriptCore_assembler_ARM64Assembler.h]
402 --- Source/JavaScriptCore/assembler/ARM64Assembler.h.orig 2018-03-05 09:28:05 UTC
403 +++ Source/JavaScriptCore/assembler/ARM64Assembler.h
404 @@ -2856,6 +2856,8 @@ public:
407 sys_cache_control(kCacheFunctionPrepareForExecution, code, size);
408 +#elif OS(FREEBSD) || OS(NETBSD)
409 + __clear_cache(code, reinterpret_cast<char*>(code) + size);
411 size_t page = pageSize();
412 uintptr_t current = reinterpret_cast<uintptr_t>(code);
415 [FILE:334:patches/patch-Source_WTF_wtf_NumberOfCores.cpp]
416 --- Source/WTF/wtf/NumberOfCores.cpp.orig 2018-02-19 07:45:30 UTC
417 +++ Source/WTF/wtf/NumberOfCores.cpp
419 #include <sys/types.h>
420 #include <sys/sysctl.h>
421 #elif OS(LINUX) || OS(AIX) || OS(OPENBSD) || OS(NETBSD) || OS(FREEBSD)
422 +#include <stdio.h> // sscanf
428 [FILE:416:patches/patch-Source_WebCore_PAL_pal_PlatformGTK.cmake]
429 --- Source/WebCore/PAL/pal/PlatformGTK.cmake.orig 2018-02-19 07:45:31 UTC
430 +++ Source/WebCore/PAL/pal/PlatformGTK.cmake
431 @@ -12,6 +12,13 @@ list(APPEND PAL_SOURCES
435 +list(APPEND PAL_INCLUDE_DIRECTORIES
436 + ${LIBGCRYPT_INCLUDE_DIRS}
438 +list(APPEND PAL_LIBRARIES
439 + ${LIBGCRYPT_LIBRARIES}
442 if (ENABLE_SUBTLE_CRYPTO)
443 list(APPEND PAL_SOURCES
444 crypto/tasn1/Utilities.cpp
447 [FILE:610:patches/patch-Source_WebCore_platform_graphics_cpu_arm_filters_FELightingNEON.cpp]
448 --- Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNEON.cpp.orig 2018-05-07 07:58:18 UTC
449 +++ Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNEON.cpp
450 @@ -403,7 +403,7 @@ TOSTRING(neonDrawLighting) ":" NL
451 "vmin.f32 " TMP2_D0 ", " TMP2_D0 ", " CONST_ONE_HI_D NL
452 "vmul.f32 " TMP3_Q ", " COLOR_Q ", " TMP2_D0 "[1]" NL
453 "vcvt.u32.f32 " TMP3_Q ", " TMP3_Q NL
454 - "vmov.u32 r2, r3, " TMP3_S0 ", " TMP3_S1 NL
455 + "vmov r2, r3, " TMP3_S0 ", " TMP3_S1 NL
456 // The color values are stored in-place.
457 "strb r2, [" PIXELS_R ", #-11]" NL
458 "strb r3, [" PIXELS_R ", #-10]" NL
461 [FILE:839:patches/patch-Source_WebCore_platform_graphics_cpu_arm_filters_FELightingNEON.h]
462 --- Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNEON.h.orig 2018-05-07 07:58:18 UTC
463 +++ Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNEON.h
464 @@ -144,9 +144,9 @@ inline void FELighting::platformApplyNeo
465 neonData.flags |= FLAG_CONE_EXPONENT_IS_1;
467 ASSERT(m_lightSource->type() == LS_DISTANT);
468 - floatArguments.lightX = paintingData.lightVector.x();
469 - floatArguments.lightY = paintingData.lightVector.y();
470 - floatArguments.lightZ = paintingData.lightVector.z();
471 + floatArguments.lightX = paintingData.initialLightingData.lightVector.x();
472 + floatArguments.lightY = paintingData.initialLightingData.lightVector.y();
473 + floatArguments.lightZ = paintingData.initialLightingData.lightVector.z();
474 floatArguments.padding2 = 1;
479 [FILE:396:patches/patch-Source_WebCore_platform_graphics_egl_GLContextEGL.cpp]
480 --- Source/WebCore/platform/graphics/egl/GLContextEGL.cpp.orig 2018-02-19 07:45:32 UTC
481 +++ Source/WebCore/platform/graphics/egl/GLContextEGL.cpp
483 #include "OpenGLShims.h"
486 +#include <X11/Xlib.h>
488 #if ENABLE(ACCELERATED_2D_CANVAS)
489 // cairo-gl.h includes some definitions from GLX that conflict with
490 // the ones provided by us. Since GLContextEGL doesn't use any GLX
493 [FILE:336:patches/patch-Source_WebDriver_PlatformGTK.cmake]
494 --- Source/WebDriver/PlatformGTK.cmake.orig 2018-02-19 07:45:32 UTC
495 +++ Source/WebDriver/PlatformGTK.cmake
496 @@ -5,6 +5,7 @@ add_definitions(-DLIBEXECDIR="${CMAKE_IN
497 list(APPEND WebDriver_SYSTEM_INCLUDE_DIRECTORIES
498 "${GLIB_INCLUDE_DIRS}"
499 "${LIBSOUP_INCLUDE_DIRS}"
500 + "${ICU_INCLUDE_DIRS}"
503 list(APPEND WebDriver_SOURCES