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
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.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.7.10
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
79 -DCMAKE_INSTALL_LIBDIR:STRING="lib"
81 [GTK3].DESCRIPTION= Build GTK+3 variant
82 [GTK3].MAKEFILE_ON= BROWSER_PLUGIN_DIR={{LOCALBASE}}/lib/browser_plugins/symlinks/webkit-gtk3
85 ${REINPLACE_CMD} -e 's|/usr/lib/browser/plugins|${BROWSER_PLUGINS_DIR}|' \
86 ${WRKSRC}/Source/WebKit/Shared/Plugins/unix/PluginSearchPath.cpp
89 (cd ${STAGEDIR}${PREFIX}/bin && \
90 ${LN} -s ../libexec/webkit2gtk-4.0/jsc jsc-4 && \
91 ${LN} -s ../libexec/webkit2gtk-4.0/MiniBrowser MiniBrowser-4)
92 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so.*.*
93 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/webkit2gtk-4.0/injected-bundle/*.so
94 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/webkit2gtk-4.0/*
95 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/WebKitWebDriver
97 [FILE:576:descriptions/desc.single]
98 WebKitGTK+ is a full-featured port of the WebKit rendering engine, suitable
99 for projects requiring any kind of web integration, from hybrid HTML/CSS
100 applications to full-fledged web browsers. It offers WebKit's full
101 functionality and is useful in a wide range of systems from desktop
102 computers to embedded systems like phones, tablets, and televisions.
104 WebKitGTK+ is made by a lively community of developers and designers,
105 who hope to bring the web platform to everyone. It's the official web
106 engine of the GNOME platform and is used in browsers such as Epiphany
111 dffe93a241f03f1c73b369f4e323e4d8f12e39d33d5515948cbf454ca4b526e2 16622048 webkitgtk-2.20.2.tar.xz
114 [FILE:8410:manifests/plist.single]
116 MiniBrowser-%%WKAPIMAJOR%%
119 include/webkitgtk-%%WKAPI%%/JavaScriptCore/
128 include/webkitgtk-%%WKAPI%%/webkit2/
129 WebKitApplicationInfo.h
130 WebKitAuthenticationRequest.h
132 WebKitAutomationSession.h
133 WebKitBackForwardList.h
134 WebKitBackForwardListItem.h
135 WebKitColorChooserRequest.h
136 WebKitConsoleMessage.h
138 WebKitContextMenuActions.h
139 WebKitContextMenuItem.h
140 WebKitCookieManager.h
144 WebKitEditingCommands.h
148 WebKitFaviconDatabase.h
149 WebKitFileChooserRequest.h
150 WebKitFindController.h
151 WebKitFormSubmissionRequest.h
152 WebKitForwardDeclarations.h
154 WebKitGeolocationPermissionRequest.h
155 WebKitHitTestResult.h
156 WebKitInstallMissingMediaPluginsPermissionRequest.h
157 WebKitJavascriptResult.h
159 WebKitNavigationAction.h
160 WebKitNavigationPolicyDecision.h
161 WebKitNetworkProxySettings.h
163 WebKitNotificationPermissionRequest.h
165 WebKitOptionMenuItem.h
166 WebKitPermissionRequest.h
168 WebKitPolicyDecision.h
169 WebKitPrintCustomWidget.h
170 WebKitPrintOperation.h
171 WebKitResponsePolicyDecision.h
174 WebKitSecurityManager.h
175 WebKitSecurityOrigin.h
179 WebKitURISchemeRequest.h
181 WebKitUserContentManager.h
182 WebKitUserMediaPermissionRequest.h
187 WebKitWebExtensionAutocleanups.h
188 WebKitWebHitTestResult.h
191 WebKitWebProcessEnumTypes.h
195 WebKitWebViewSessionState.h
197 WebKitWebsiteDataManager.h
198 WebKitWindowProperties.h
199 webkit-web-extension.h
201 include/webkitgtk-%%WKAPI%%/webkitdom/
204 WebKitDOMCDATASection.h
206 WebKitDOMCSSRuleList.h
207 WebKitDOMCSSStyleDeclaration.h
208 WebKitDOMCSSStyleSheet.h
210 WebKitDOMCharacterData.h
211 WebKitDOMClientRect.h
212 WebKitDOMClientRectList.h
215 WebKitDOMCustomUnstable.h
216 WebKitDOMDOMImplementation.h
217 WebKitDOMDOMSelection.h
218 WebKitDOMDOMTokenList.h
220 WebKitDOMDOMWindowUnstable.h
221 WebKitDOMDeprecated.h
223 WebKitDOMDocumentFragment.h
224 WebKitDOMDocumentFragmentUnstable.h
225 WebKitDOMDocumentType.h
226 WebKitDOMDocumentUnstable.h
228 WebKitDOMElementUnstable.h
230 WebKitDOMEventTarget.h
233 WebKitDOMHTMLAnchorElement.h
234 WebKitDOMHTMLAppletElement.h
235 WebKitDOMHTMLAreaElement.h
236 WebKitDOMHTMLBRElement.h
237 WebKitDOMHTMLBaseElement.h
238 WebKitDOMHTMLBodyElement.h
239 WebKitDOMHTMLButtonElement.h
240 WebKitDOMHTMLCanvasElement.h
241 WebKitDOMHTMLCollection.h
242 WebKitDOMHTMLDListElement.h
243 WebKitDOMHTMLDirectoryElement.h
244 WebKitDOMHTMLDivElement.h
245 WebKitDOMHTMLDocument.h
246 WebKitDOMHTMLElement.h
247 WebKitDOMHTMLElementUnstable.h
248 WebKitDOMHTMLEmbedElement.h
249 WebKitDOMHTMLFieldSetElement.h
250 WebKitDOMHTMLFontElement.h
251 WebKitDOMHTMLFormElement.h
252 WebKitDOMHTMLFrameElement.h
253 WebKitDOMHTMLFrameSetElement.h
254 WebKitDOMHTMLHRElement.h
255 WebKitDOMHTMLHeadElement.h
256 WebKitDOMHTMLHeadingElement.h
257 WebKitDOMHTMLHtmlElement.h
258 WebKitDOMHTMLIFrameElement.h
259 WebKitDOMHTMLImageElement.h
260 WebKitDOMHTMLInputElement.h
261 WebKitDOMHTMLLIElement.h
262 WebKitDOMHTMLLabelElement.h
263 WebKitDOMHTMLLegendElement.h
264 WebKitDOMHTMLLinkElement.h
265 WebKitDOMHTMLMapElement.h
266 WebKitDOMHTMLMarqueeElement.h
267 WebKitDOMHTMLMenuElement.h
268 WebKitDOMHTMLMetaElement.h
269 WebKitDOMHTMLModElement.h
270 WebKitDOMHTMLOListElement.h
271 WebKitDOMHTMLObjectElement.h
272 WebKitDOMHTMLOptGroupElement.h
273 WebKitDOMHTMLOptionElement.h
274 WebKitDOMHTMLOptionsCollection.h
275 WebKitDOMHTMLParagraphElement.h
276 WebKitDOMHTMLParamElement.h
277 WebKitDOMHTMLPreElement.h
278 WebKitDOMHTMLQuoteElement.h
279 WebKitDOMHTMLScriptElement.h
280 WebKitDOMHTMLSelectElement.h
281 WebKitDOMHTMLStyleElement.h
282 WebKitDOMHTMLTableCaptionElement.h
283 WebKitDOMHTMLTableCellElement.h
284 WebKitDOMHTMLTableColElement.h
285 WebKitDOMHTMLTableElement.h
286 WebKitDOMHTMLTableRowElement.h
287 WebKitDOMHTMLTableSectionElement.h
288 WebKitDOMHTMLTextAreaElement.h
289 WebKitDOMHTMLTitleElement.h
290 WebKitDOMHTMLUListElement.h
291 WebKitDOMKeyboardEvent.h
293 WebKitDOMMouseEvent.h
294 WebKitDOMNamedNodeMap.h
296 WebKitDOMNodeFilter.h
297 WebKitDOMNodeIterator.h
300 WebKitDOMProcessingInstruction.h
302 WebKitDOMRangeUnstable.h
303 WebKitDOMStyleSheet.h
304 WebKitDOMStyleSheetList.h
306 WebKitDOMTreeWalker.h
308 WebKitDOMWheelEvent.h
309 WebKitDOMXPathExpression.h
310 WebKitDOMXPathNSResolver.h
311 WebKitDOMXPathResult.h
313 webkitdomautocleanups.h
316 libjavascriptcoregtk-%%WKAPI%%.so
317 libjavascriptcoregtk-%%WKAPI%%.so.%%JSSOMAJOR%%
318 libjavascriptcoregtk-%%WKAPI%%.so.%%JSSOVERSION%%
319 libwebkit2gtk-%%WKAPI%%.so
320 libwebkit2gtk-%%WKAPI%%.so.%%SOMAJOR%%
321 libwebkit2gtk-%%WKAPI%%.so.%%SOVERSION%%
322 lib/girepository-1.0/
323 JavaScriptCore-%%WKAPI%%.typelib
324 WebKit2-%%WKAPI%%.typelib
325 WebKit2WebExtension-%%WKAPI%%.typelib
327 javascriptcoregtk-%%WKAPI%%.pc
328 webkit2gtk-%%WKAPI%%.pc
329 webkit2gtk-web-extension-%%WKAPI%%.pc
330 lib/webkit2gtk-%%WKAPI%%/injected-bundle/libwebkit2gtkinjectedbundle.so
331 libexec/webkit2gtk-%%WKAPI%%/
340 JavaScriptCore-%%WKAPI%%.gir
341 WebKit2-%%WKAPI%%.gir
342 WebKit2WebExtension-%%WKAPI%%.gir
343 share/locale/ar/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
344 share/locale/as/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
345 share/locale/bg/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
346 share/locale/ca/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
347 share/locale/cs/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
348 share/locale/de/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
349 share/locale/el/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
350 share/locale/en_CA/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
351 share/locale/en_GB/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
352 share/locale/eo/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
353 share/locale/es/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
354 share/locale/et/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
355 share/locale/eu/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
356 share/locale/fi/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
357 share/locale/fr/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
358 share/locale/gl/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
359 share/locale/gu/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
360 share/locale/he/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
361 share/locale/hi/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
362 share/locale/hu/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
363 share/locale/id/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
364 share/locale/it/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
365 share/locale/ja/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
366 share/locale/kn/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
367 share/locale/ko/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
368 share/locale/lt/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
369 share/locale/lv/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
370 share/locale/ml/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
371 share/locale/mr/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
372 share/locale/nb/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
373 share/locale/nl/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
374 share/locale/or/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
375 share/locale/pa/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
376 share/locale/pl/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
377 share/locale/pt/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
378 share/locale/pt_BR/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
379 share/locale/ro/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
380 share/locale/ru/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
381 share/locale/sl/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
382 share/locale/sr/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
383 share/locale/sr@latin/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
384 share/locale/sv/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
385 share/locale/ta/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
386 share/locale/te/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
387 share/locale/tr/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
388 share/locale/uk/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
389 share/locale/vi/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
390 share/locale/zh_CN/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
393 [FILE:658:patches/patch-Source_JavaScriptCore_CMakeLists.txt]
394 --- Source/JavaScriptCore/CMakeLists.txt.orig 2018-04-10 07:33:13 UTC
395 +++ Source/JavaScriptCore/CMakeLists.txt
396 @@ -253,6 +253,7 @@ add_executable(LLIntOffsetsExtractor
397 ${DERIVED_SOURCES_JAVASCRIPTCORE_DIR}/LLIntDesiredOffsets.h ${DERIVED_SOURCES_JAVASCRIPTCORE_DIR}/Bytecodes.h ${DERIVED_SOURCES_JAVASCRIPTCORE_DIR}/BytecodeStructs.h
399 target_link_libraries(LLIntOffsetsExtractor WTF)
400 +add_dependencies(LLIntOffsetsExtractor JavaScriptCoreForwardingHeaders)
402 # The build system will execute asm.rb every time LLIntOffsetsExtractor's mtime is newer than
403 # LLIntAssembly.h's mtime. The problem we have here is: asm.rb has some built-in optimization
406 [FILE:477:patches/patch-Source_JavaScriptCore_assembler_ARM64Assembler.h]
407 --- Source/JavaScriptCore/assembler/ARM64Assembler.h.orig 2018-03-05 09:28:05 UTC
408 +++ Source/JavaScriptCore/assembler/ARM64Assembler.h
409 @@ -2856,6 +2856,8 @@ public:
412 sys_cache_control(kCacheFunctionPrepareForExecution, code, size);
413 +#elif OS(FREEBSD) || OS(NETBSD)
414 + __clear_cache(code, reinterpret_cast<char*>(code) + size);
416 size_t page = pageSize();
417 uintptr_t current = reinterpret_cast<uintptr_t>(code);
420 [FILE:334:patches/patch-Source_WTF_wtf_NumberOfCores.cpp]
421 --- Source/WTF/wtf/NumberOfCores.cpp.orig 2018-02-19 07:45:30 UTC
422 +++ Source/WTF/wtf/NumberOfCores.cpp
424 #include <sys/types.h>
425 #include <sys/sysctl.h>
426 #elif OS(LINUX) || OS(AIX) || OS(OPENBSD) || OS(NETBSD) || OS(FREEBSD)
427 +#include <stdio.h> // sscanf
433 [FILE:416:patches/patch-Source_WebCore_PAL_pal_PlatformGTK.cmake]
434 --- Source/WebCore/PAL/pal/PlatformGTK.cmake.orig 2018-02-19 07:45:31 UTC
435 +++ Source/WebCore/PAL/pal/PlatformGTK.cmake
436 @@ -12,6 +12,13 @@ list(APPEND PAL_SOURCES
440 +list(APPEND PAL_INCLUDE_DIRECTORIES
441 + ${LIBGCRYPT_INCLUDE_DIRS}
443 +list(APPEND PAL_LIBRARIES
444 + ${LIBGCRYPT_LIBRARIES}
447 if (ENABLE_SUBTLE_CRYPTO)
448 list(APPEND PAL_SOURCES
449 crypto/tasn1/Utilities.cpp
452 [FILE:610:patches/patch-Source_WebCore_platform_graphics_cpu_arm_filters_FELightingNEON.cpp]
453 --- Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNEON.cpp.orig 2018-05-07 07:58:18 UTC
454 +++ Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNEON.cpp
455 @@ -403,7 +403,7 @@ TOSTRING(neonDrawLighting) ":" NL
456 "vmin.f32 " TMP2_D0 ", " TMP2_D0 ", " CONST_ONE_HI_D NL
457 "vmul.f32 " TMP3_Q ", " COLOR_Q ", " TMP2_D0 "[1]" NL
458 "vcvt.u32.f32 " TMP3_Q ", " TMP3_Q NL
459 - "vmov.u32 r2, r3, " TMP3_S0 ", " TMP3_S1 NL
460 + "vmov r2, r3, " TMP3_S0 ", " TMP3_S1 NL
461 // The color values are stored in-place.
462 "strb r2, [" PIXELS_R ", #-11]" NL
463 "strb r3, [" PIXELS_R ", #-10]" NL
466 [FILE:839:patches/patch-Source_WebCore_platform_graphics_cpu_arm_filters_FELightingNEON.h]
467 --- Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNEON.h.orig 2018-05-07 07:58:18 UTC
468 +++ Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNEON.h
469 @@ -144,9 +144,9 @@ inline void FELighting::platformApplyNeo
470 neonData.flags |= FLAG_CONE_EXPONENT_IS_1;
472 ASSERT(m_lightSource->type() == LS_DISTANT);
473 - floatArguments.lightX = paintingData.lightVector.x();
474 - floatArguments.lightY = paintingData.lightVector.y();
475 - floatArguments.lightZ = paintingData.lightVector.z();
476 + floatArguments.lightX = paintingData.initialLightingData.lightVector.x();
477 + floatArguments.lightY = paintingData.initialLightingData.lightVector.y();
478 + floatArguments.lightZ = paintingData.initialLightingData.lightVector.z();
479 floatArguments.padding2 = 1;
484 [FILE:396:patches/patch-Source_WebCore_platform_graphics_egl_GLContextEGL.cpp]
485 --- Source/WebCore/platform/graphics/egl/GLContextEGL.cpp.orig 2018-02-19 07:45:32 UTC
486 +++ Source/WebCore/platform/graphics/egl/GLContextEGL.cpp
488 #include "OpenGLShims.h"
491 +#include <X11/Xlib.h>
493 #if ENABLE(ACCELERATED_2D_CANVAS)
494 // cairo-gl.h includes some definitions from GLX that conflict with
495 // the ones provided by us. Since GLContextEGL doesn't use any GLX
498 [FILE:315:patches/patch-Source_WebCore_platform_network_soup_SoupNetworkSession.h]
499 --- Source/WebCore/platform/network/soup/SoupNetworkSession.h.orig 2018-05-07 08:56:05 UTC
500 +++ Source/WebCore/platform/network/soup/SoupNetworkSession.h
501 @@ -43,6 +43,7 @@ namespace WebCore {
503 class CertificateInfo;
506 struct SoupNetworkProxySettings;
508 class SoupNetworkSession {
511 [FILE:336:patches/patch-Source_WebDriver_PlatformGTK.cmake]
512 --- Source/WebDriver/PlatformGTK.cmake.orig 2018-02-19 07:45:32 UTC
513 +++ Source/WebDriver/PlatformGTK.cmake
514 @@ -5,6 +5,7 @@ add_definitions(-DLIBEXECDIR="${CMAKE_IN
515 list(APPEND WebDriver_SYSTEM_INCLUDE_DIRECTORIES
516 "${GLIB_INCLUDE_DIRS}"
517 "${LIBSOUP_INCLUDE_DIRS}"
518 + "${ICU_INCLUDE_DIRS}"
521 list(APPEND WebDriver_SOURCES