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.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-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.20.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}}
64 MAKE_ENV= AUTOPYTHON=2.7
66 INSTALL_TARGET= install
68 PLIST_SUB= JSSOVERSION=18.7.11
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 579b307d78fa16a73f112790178022166d7ad17d4147492ced9b9fba48f20dd8 16623456 webkitgtk-2.20.3.tar.xz
113 [FILE:8410:manifests/plist.single]
115 MiniBrowser-%%WKAPIMAJOR%%
118 include/webkitgtk-%%WKAPI%%/JavaScriptCore/
127 include/webkitgtk-%%WKAPI%%/webkit2/
128 WebKitApplicationInfo.h
129 WebKitAuthenticationRequest.h
131 WebKitAutomationSession.h
132 WebKitBackForwardList.h
133 WebKitBackForwardListItem.h
134 WebKitColorChooserRequest.h
135 WebKitConsoleMessage.h
137 WebKitContextMenuActions.h
138 WebKitContextMenuItem.h
139 WebKitCookieManager.h
143 WebKitEditingCommands.h
147 WebKitFaviconDatabase.h
148 WebKitFileChooserRequest.h
149 WebKitFindController.h
150 WebKitFormSubmissionRequest.h
151 WebKitForwardDeclarations.h
153 WebKitGeolocationPermissionRequest.h
154 WebKitHitTestResult.h
155 WebKitInstallMissingMediaPluginsPermissionRequest.h
156 WebKitJavascriptResult.h
158 WebKitNavigationAction.h
159 WebKitNavigationPolicyDecision.h
160 WebKitNetworkProxySettings.h
162 WebKitNotificationPermissionRequest.h
164 WebKitOptionMenuItem.h
165 WebKitPermissionRequest.h
167 WebKitPolicyDecision.h
168 WebKitPrintCustomWidget.h
169 WebKitPrintOperation.h
170 WebKitResponsePolicyDecision.h
173 WebKitSecurityManager.h
174 WebKitSecurityOrigin.h
178 WebKitURISchemeRequest.h
180 WebKitUserContentManager.h
181 WebKitUserMediaPermissionRequest.h
186 WebKitWebExtensionAutocleanups.h
187 WebKitWebHitTestResult.h
190 WebKitWebProcessEnumTypes.h
194 WebKitWebViewSessionState.h
196 WebKitWebsiteDataManager.h
197 WebKitWindowProperties.h
198 webkit-web-extension.h
200 include/webkitgtk-%%WKAPI%%/webkitdom/
203 WebKitDOMCDATASection.h
205 WebKitDOMCSSRuleList.h
206 WebKitDOMCSSStyleDeclaration.h
207 WebKitDOMCSSStyleSheet.h
209 WebKitDOMCharacterData.h
210 WebKitDOMClientRect.h
211 WebKitDOMClientRectList.h
214 WebKitDOMCustomUnstable.h
215 WebKitDOMDOMImplementation.h
216 WebKitDOMDOMSelection.h
217 WebKitDOMDOMTokenList.h
219 WebKitDOMDOMWindowUnstable.h
220 WebKitDOMDeprecated.h
222 WebKitDOMDocumentFragment.h
223 WebKitDOMDocumentFragmentUnstable.h
224 WebKitDOMDocumentType.h
225 WebKitDOMDocumentUnstable.h
227 WebKitDOMElementUnstable.h
229 WebKitDOMEventTarget.h
232 WebKitDOMHTMLAnchorElement.h
233 WebKitDOMHTMLAppletElement.h
234 WebKitDOMHTMLAreaElement.h
235 WebKitDOMHTMLBRElement.h
236 WebKitDOMHTMLBaseElement.h
237 WebKitDOMHTMLBodyElement.h
238 WebKitDOMHTMLButtonElement.h
239 WebKitDOMHTMLCanvasElement.h
240 WebKitDOMHTMLCollection.h
241 WebKitDOMHTMLDListElement.h
242 WebKitDOMHTMLDirectoryElement.h
243 WebKitDOMHTMLDivElement.h
244 WebKitDOMHTMLDocument.h
245 WebKitDOMHTMLElement.h
246 WebKitDOMHTMLElementUnstable.h
247 WebKitDOMHTMLEmbedElement.h
248 WebKitDOMHTMLFieldSetElement.h
249 WebKitDOMHTMLFontElement.h
250 WebKitDOMHTMLFormElement.h
251 WebKitDOMHTMLFrameElement.h
252 WebKitDOMHTMLFrameSetElement.h
253 WebKitDOMHTMLHRElement.h
254 WebKitDOMHTMLHeadElement.h
255 WebKitDOMHTMLHeadingElement.h
256 WebKitDOMHTMLHtmlElement.h
257 WebKitDOMHTMLIFrameElement.h
258 WebKitDOMHTMLImageElement.h
259 WebKitDOMHTMLInputElement.h
260 WebKitDOMHTMLLIElement.h
261 WebKitDOMHTMLLabelElement.h
262 WebKitDOMHTMLLegendElement.h
263 WebKitDOMHTMLLinkElement.h
264 WebKitDOMHTMLMapElement.h
265 WebKitDOMHTMLMarqueeElement.h
266 WebKitDOMHTMLMenuElement.h
267 WebKitDOMHTMLMetaElement.h
268 WebKitDOMHTMLModElement.h
269 WebKitDOMHTMLOListElement.h
270 WebKitDOMHTMLObjectElement.h
271 WebKitDOMHTMLOptGroupElement.h
272 WebKitDOMHTMLOptionElement.h
273 WebKitDOMHTMLOptionsCollection.h
274 WebKitDOMHTMLParagraphElement.h
275 WebKitDOMHTMLParamElement.h
276 WebKitDOMHTMLPreElement.h
277 WebKitDOMHTMLQuoteElement.h
278 WebKitDOMHTMLScriptElement.h
279 WebKitDOMHTMLSelectElement.h
280 WebKitDOMHTMLStyleElement.h
281 WebKitDOMHTMLTableCaptionElement.h
282 WebKitDOMHTMLTableCellElement.h
283 WebKitDOMHTMLTableColElement.h
284 WebKitDOMHTMLTableElement.h
285 WebKitDOMHTMLTableRowElement.h
286 WebKitDOMHTMLTableSectionElement.h
287 WebKitDOMHTMLTextAreaElement.h
288 WebKitDOMHTMLTitleElement.h
289 WebKitDOMHTMLUListElement.h
290 WebKitDOMKeyboardEvent.h
292 WebKitDOMMouseEvent.h
293 WebKitDOMNamedNodeMap.h
295 WebKitDOMNodeFilter.h
296 WebKitDOMNodeIterator.h
299 WebKitDOMProcessingInstruction.h
301 WebKitDOMRangeUnstable.h
302 WebKitDOMStyleSheet.h
303 WebKitDOMStyleSheetList.h
305 WebKitDOMTreeWalker.h
307 WebKitDOMWheelEvent.h
308 WebKitDOMXPathExpression.h
309 WebKitDOMXPathNSResolver.h
310 WebKitDOMXPathResult.h
312 webkitdomautocleanups.h
315 libjavascriptcoregtk-%%WKAPI%%.so
316 libjavascriptcoregtk-%%WKAPI%%.so.%%JSSOMAJOR%%
317 libjavascriptcoregtk-%%WKAPI%%.so.%%JSSOVERSION%%
318 libwebkit2gtk-%%WKAPI%%.so
319 libwebkit2gtk-%%WKAPI%%.so.%%SOMAJOR%%
320 libwebkit2gtk-%%WKAPI%%.so.%%SOVERSION%%
321 lib/girepository-1.0/
322 JavaScriptCore-%%WKAPI%%.typelib
323 WebKit2-%%WKAPI%%.typelib
324 WebKit2WebExtension-%%WKAPI%%.typelib
326 javascriptcoregtk-%%WKAPI%%.pc
327 webkit2gtk-%%WKAPI%%.pc
328 webkit2gtk-web-extension-%%WKAPI%%.pc
329 lib/webkit2gtk-%%WKAPI%%/injected-bundle/libwebkit2gtkinjectedbundle.so
330 libexec/webkit2gtk-%%WKAPI%%/
339 JavaScriptCore-%%WKAPI%%.gir
340 WebKit2-%%WKAPI%%.gir
341 WebKit2WebExtension-%%WKAPI%%.gir
342 share/locale/ar/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
343 share/locale/as/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
344 share/locale/bg/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
345 share/locale/ca/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
346 share/locale/cs/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
347 share/locale/de/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
348 share/locale/el/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
349 share/locale/en_CA/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
350 share/locale/en_GB/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
351 share/locale/eo/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
352 share/locale/es/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
353 share/locale/et/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
354 share/locale/eu/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
355 share/locale/fi/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
356 share/locale/fr/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
357 share/locale/gl/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
358 share/locale/gu/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
359 share/locale/he/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
360 share/locale/hi/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
361 share/locale/hu/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
362 share/locale/id/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
363 share/locale/it/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
364 share/locale/ja/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
365 share/locale/kn/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
366 share/locale/ko/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
367 share/locale/lt/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
368 share/locale/lv/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
369 share/locale/ml/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
370 share/locale/mr/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
371 share/locale/nb/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
372 share/locale/nl/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
373 share/locale/or/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
374 share/locale/pa/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
375 share/locale/pl/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
376 share/locale/pt/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
377 share/locale/pt_BR/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
378 share/locale/ro/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
379 share/locale/ru/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
380 share/locale/sl/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
381 share/locale/sr/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
382 share/locale/sr@latin/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
383 share/locale/sv/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
384 share/locale/ta/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
385 share/locale/te/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
386 share/locale/tr/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
387 share/locale/uk/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
388 share/locale/vi/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
389 share/locale/zh_CN/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
392 [FILE:658:patches/patch-Source_JavaScriptCore_CMakeLists.txt]
393 --- Source/JavaScriptCore/CMakeLists.txt.orig 2018-04-10 07:33:13 UTC
394 +++ Source/JavaScriptCore/CMakeLists.txt
395 @@ -253,6 +253,7 @@ add_executable(LLIntOffsetsExtractor
396 ${DERIVED_SOURCES_JAVASCRIPTCORE_DIR}/LLIntDesiredOffsets.h ${DERIVED_SOURCES_JAVASCRIPTCORE_DIR}/Bytecodes.h ${DERIVED_SOURCES_JAVASCRIPTCORE_DIR}/BytecodeStructs.h
398 target_link_libraries(LLIntOffsetsExtractor WTF)
399 +add_dependencies(LLIntOffsetsExtractor JavaScriptCoreForwardingHeaders)
401 # The build system will execute asm.rb every time LLIntOffsetsExtractor's mtime is newer than
402 # LLIntAssembly.h's mtime. The problem we have here is: asm.rb has some built-in optimization
405 [FILE:477:patches/patch-Source_JavaScriptCore_assembler_ARM64Assembler.h]
406 --- Source/JavaScriptCore/assembler/ARM64Assembler.h.orig 2018-03-05 09:28:05 UTC
407 +++ Source/JavaScriptCore/assembler/ARM64Assembler.h
408 @@ -2856,6 +2856,8 @@ public:
411 sys_cache_control(kCacheFunctionPrepareForExecution, code, size);
412 +#elif OS(FREEBSD) || OS(NETBSD)
413 + __clear_cache(code, reinterpret_cast<char*>(code) + size);
415 size_t page = pageSize();
416 uintptr_t current = reinterpret_cast<uintptr_t>(code);
419 [FILE:334:patches/patch-Source_WTF_wtf_NumberOfCores.cpp]
420 --- Source/WTF/wtf/NumberOfCores.cpp.orig 2018-02-19 07:45:30 UTC
421 +++ Source/WTF/wtf/NumberOfCores.cpp
423 #include <sys/types.h>
424 #include <sys/sysctl.h>
425 #elif OS(LINUX) || OS(AIX) || OS(OPENBSD) || OS(NETBSD) || OS(FREEBSD)
426 +#include <stdio.h> // sscanf
432 [FILE:416:patches/patch-Source_WebCore_PAL_pal_PlatformGTK.cmake]
433 --- Source/WebCore/PAL/pal/PlatformGTK.cmake.orig 2018-02-19 07:45:31 UTC
434 +++ Source/WebCore/PAL/pal/PlatformGTK.cmake
435 @@ -12,6 +12,13 @@ list(APPEND PAL_SOURCES
439 +list(APPEND PAL_INCLUDE_DIRECTORIES
440 + ${LIBGCRYPT_INCLUDE_DIRS}
442 +list(APPEND PAL_LIBRARIES
443 + ${LIBGCRYPT_LIBRARIES}
446 if (ENABLE_SUBTLE_CRYPTO)
447 list(APPEND PAL_SOURCES
448 crypto/tasn1/Utilities.cpp
451 [FILE:610:patches/patch-Source_WebCore_platform_graphics_cpu_arm_filters_FELightingNEON.cpp]
452 --- Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNEON.cpp.orig 2018-05-07 07:58:18 UTC
453 +++ Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNEON.cpp
454 @@ -403,7 +403,7 @@ TOSTRING(neonDrawLighting) ":" NL
455 "vmin.f32 " TMP2_D0 ", " TMP2_D0 ", " CONST_ONE_HI_D NL
456 "vmul.f32 " TMP3_Q ", " COLOR_Q ", " TMP2_D0 "[1]" NL
457 "vcvt.u32.f32 " TMP3_Q ", " TMP3_Q NL
458 - "vmov.u32 r2, r3, " TMP3_S0 ", " TMP3_S1 NL
459 + "vmov r2, r3, " TMP3_S0 ", " TMP3_S1 NL
460 // The color values are stored in-place.
461 "strb r2, [" PIXELS_R ", #-11]" NL
462 "strb r3, [" PIXELS_R ", #-10]" NL
465 [FILE:839:patches/patch-Source_WebCore_platform_graphics_cpu_arm_filters_FELightingNEON.h]
466 --- Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNEON.h.orig 2018-05-07 07:58:18 UTC
467 +++ Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNEON.h
468 @@ -144,9 +144,9 @@ inline void FELighting::platformApplyNeo
469 neonData.flags |= FLAG_CONE_EXPONENT_IS_1;
471 ASSERT(m_lightSource->type() == LS_DISTANT);
472 - floatArguments.lightX = paintingData.lightVector.x();
473 - floatArguments.lightY = paintingData.lightVector.y();
474 - floatArguments.lightZ = paintingData.lightVector.z();
475 + floatArguments.lightX = paintingData.initialLightingData.lightVector.x();
476 + floatArguments.lightY = paintingData.initialLightingData.lightVector.y();
477 + floatArguments.lightZ = paintingData.initialLightingData.lightVector.z();
478 floatArguments.padding2 = 1;
483 [FILE:396:patches/patch-Source_WebCore_platform_graphics_egl_GLContextEGL.cpp]
484 --- Source/WebCore/platform/graphics/egl/GLContextEGL.cpp.orig 2018-02-19 07:45:32 UTC
485 +++ Source/WebCore/platform/graphics/egl/GLContextEGL.cpp
487 #include "OpenGLShims.h"
490 +#include <X11/Xlib.h>
492 #if ENABLE(ACCELERATED_2D_CANVAS)
493 // cairo-gl.h includes some definitions from GLX that conflict with
494 // the ones provided by us. Since GLContextEGL doesn't use any GLX
497 [FILE:315:patches/patch-Source_WebCore_platform_network_soup_SoupNetworkSession.h]
498 --- Source/WebCore/platform/network/soup/SoupNetworkSession.h.orig 2018-05-07 08:56:05 UTC
499 +++ Source/WebCore/platform/network/soup/SoupNetworkSession.h
500 @@ -43,6 +43,7 @@ namespace WebCore {
502 class CertificateInfo;
505 struct SoupNetworkProxySettings;
507 class SoupNetworkSession {
510 [FILE:336:patches/patch-Source_WebDriver_PlatformGTK.cmake]
511 --- Source/WebDriver/PlatformGTK.cmake.orig 2018-02-19 07:45:32 UTC
512 +++ Source/WebDriver/PlatformGTK.cmake
513 @@ -5,6 +5,7 @@ add_definitions(-DLIBEXECDIR="${CMAKE_IN
514 list(APPEND WebDriver_SYSTEM_INCLUDE_DIRECTORIES
515 "${GLIB_INCLUDE_DIRS}"
516 "${LIBSOUP_INCLUDE_DIRS}"
517 + "${ICU_INCLUDE_DIRS}"
520 list(APPEND WebDriver_SOURCES