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.7.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
41 USES= jpeg png mesa cmake 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.7
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.8
73 CXXFLAGS= -DFIXED_EXECUTABLE_MEMORY_POOL_SIZE_IN_MB=32
74 CMAKE_ARGS= -DPORT=GTK
75 -DENABLE_GEOLOCATION:BOOL=ON
76 -DENABLE_GLES2:BOOL=ON
77 -DENABLE_MINIBROWSER:BOOL=ON
78 -DSUPPRESS_ASSERT: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 4be6f7d605cd0a690fd26e8aa83b089a33ad9d419148eafcfb60580dd2af30ff 16777676 webkitgtk-2.22.7.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:433:patches/patch-CMakeLists.txt]
404 --- CMakeLists.txt.orig 2019-02-28 10:08:12 UTC
406 @@ -162,6 +162,11 @@ if (ENABLE_API_TESTS)
410 +if (SUPPRESS_ASSERT)
411 + add_definitions(-DNDEBUG=1)
412 + add_definitions(-D__OPTIMIZE__)
415 # -----------------------------------------------------------------------------
416 # Add module directories
417 # -----------------------------------------------------------------------------
420 [FILE:657:patches/patch-Source_JavaScriptCore_CMakeLists.txt]
421 --- Source/JavaScriptCore/CMakeLists.txt.orig 2019-02-08 16:17:00 UTC
422 +++ Source/JavaScriptCore/CMakeLists.txt
423 @@ -255,7 +255,6 @@ add_executable(LLIntOffsetsExtractor
424 ${DERIVED_SOURCES_JAVASCRIPTCORE_DIR}/LLIntDesiredOffsets.h ${DERIVED_SOURCES_JAVASCRIPTCORE_DIR}/Bytecodes.h ${DERIVED_SOURCES_JAVASCRIPTCORE_DIR}/BytecodeStructs.h
426 target_link_libraries(LLIntOffsetsExtractor WTF)
427 -add_dependencies(LLIntOffsetsExtractor JavaScriptCoreForwardingHeaders)
429 # The build system will execute asm.rb every time LLIntOffsetsExtractor's mtime is newer than
430 # LLIntAssembly.h's mtime. The problem we have here is: asm.rb has some built-in optimization
433 [FILE:534:patches/patch-Source_JavaScriptCore_assembler_ARM64Assembler.h]
434 --- Source/JavaScriptCore/assembler/ARM64Assembler.h.orig 2019-02-08 16:17:00 UTC
435 +++ Source/JavaScriptCore/assembler/ARM64Assembler.h
436 @@ -2865,6 +2865,8 @@ public:
437 sys_cache_control(kCacheFunctionPrepareForExecution, code, size);
439 zx_cache_flush(code, size, ZX_CACHE_FLUSH_INSN);
440 +#elif OS(FREEBSD) || OS(NETBSD)
441 + __clear_cache(code, reinterpret_cast<char*>(code) + size);
443 size_t page = pageSize();
444 uintptr_t current = reinterpret_cast<uintptr_t>(code);
447 [FILE:334:patches/patch-Source_WTF_wtf_NumberOfCores.cpp]
448 --- Source/WTF/wtf/NumberOfCores.cpp.orig 2019-02-08 16:17:03 UTC
449 +++ Source/WTF/wtf/NumberOfCores.cpp
451 #include <sys/types.h>
452 #include <sys/sysctl.h>
453 #elif OS(LINUX) || OS(AIX) || OS(OPENBSD) || OS(NETBSD) || OS(FREEBSD)
454 +#include <stdio.h> // sscanf
460 [FILE:421:patches/patch-Source_WebCore_PAL_pal_PlatformGTK.cmake]
461 --- Source/WebCore/PAL/pal/PlatformGTK.cmake.orig 2019-02-08 16:17:03 UTC
462 +++ Source/WebCore/PAL/pal/PlatformGTK.cmake
463 @@ -20,6 +20,13 @@ list(APPEND PAL_SOURCES
467 +list(APPEND PAL_INCLUDE_DIRECTORIES
468 + ${LIBGCRYPT_INCLUDE_DIRS}
470 +list(APPEND PAL_LIBRARIES
471 + ${LIBGCRYPT_LIBRARIES}
474 if (ENABLE_SUBTLE_CRYPTO)
475 list(APPEND PAL_PUBLIC_HEADERS
476 crypto/tasn1/Utilities.h
479 [FILE:610:patches/patch-Source_WebCore_platform_graphics_cpu_arm_filters_FELightingNEON.cpp]
480 --- Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNEON.cpp.orig 2019-02-08 16:17:04 UTC
481 +++ Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNEON.cpp
482 @@ -403,7 +403,7 @@ TOSTRING(neonDrawLighting) ":" NL
483 "vmin.f32 " TMP2_D0 ", " TMP2_D0 ", " CONST_ONE_HI_D NL
484 "vmul.f32 " TMP3_Q ", " COLOR_Q ", " TMP2_D0 "[1]" NL
485 "vcvt.u32.f32 " TMP3_Q ", " TMP3_Q NL
486 - "vmov.u32 r2, r3, " TMP3_S0 ", " TMP3_S1 NL
487 + "vmov r2, r3, " TMP3_S0 ", " TMP3_S1 NL
488 // The color values are stored in-place.
489 "strb r2, [" PIXELS_R ", #-11]" NL
490 "strb r3, [" PIXELS_R ", #-10]" NL
493 [FILE:396:patches/patch-Source_WebCore_platform_graphics_egl_GLContextEGL.cpp]
494 --- Source/WebCore/platform/graphics/egl/GLContextEGL.cpp.orig 2018-07-25 11:56:31 UTC
495 +++ Source/WebCore/platform/graphics/egl/GLContextEGL.cpp
497 #include "OpenGLShims.h"
500 +#include <X11/Xlib.h>
502 #if ENABLE(ACCELERATED_2D_CANVAS)
503 // cairo-gl.h includes some definitions from GLX that conflict with
504 // the ones provided by us. Since GLContextEGL doesn't use any GLX
507 [FILE:336:patches/patch-Source_WebDriver_PlatformGTK.cmake]
508 --- Source/WebDriver/PlatformGTK.cmake.orig 2017-11-30 10:24:52 UTC
509 +++ Source/WebDriver/PlatformGTK.cmake
510 @@ -5,6 +5,7 @@ add_definitions(-DLIBEXECDIR="${CMAKE_IN
511 list(APPEND WebDriver_SYSTEM_INCLUDE_DIRECTORIES
512 "${GLIB_INCLUDE_DIRS}"
513 "${LIBSOUP_INCLUDE_DIRS}"
514 + "${ICU_INCLUDE_DIRS}"
517 list(APPEND WebDriver_SOURCES
520 [FILE:808:patches/patch-Source_WebKit_Platform_unix_SharedMemoryUnix.cpp]
521 --- Source/WebKit/Platform/unix/SharedMemoryUnix.cpp.orig 2019-02-08 16:17:05 UTC
522 +++ Source/WebKit/Platform/unix/SharedMemoryUnix.cpp
523 @@ -112,7 +112,13 @@ RefPtr<SharedMemory> SharedMemory::creat
525 int fileDescriptor = -1;
526 for (int tries = 0; fileDescriptor == -1 && tries < 10; ++tries) {
527 - String name = String("/WK2SharedMemory.") + String::number(static_cast<unsigned>(WTF::randomNumber() * (std::numeric_limits<unsigned>::max() + 1.0)));
529 +#ifdef __DragonFly__
530 + String("/tmp/WK2SharedMemory.")
532 + String("/WK2SharedMemory.")
534 + + String::number(static_cast<unsigned>(WTF::randomNumber() * (std::numeric_limits<unsigned>::max() + 1.0)));
535 tempName = name.utf8();