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.24.0.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
40 openjpeg:single:standard
42 USES= png mesa cmake pkgconfig sqlite bison perl:build
43 python:py27,build ruby:build gettext-tools
44 GNOME_COMPONENTS= gtk3 gdkpixbuf introspection libxslt
45 XORG_COMPONENTS= x11 xcomposite xdamage xext xrender xt ice
47 DISTNAME= webkitgtk-2.24.0
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.13.3
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 -DENABLE_WAYLAND_TARGET:BOOL=OFF
79 -DSUPPRESS_ASSERT:BOOL=ON
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 2e4ad1503fe482ceb5a83cf70ac9cd42f37eb718555a4d6844fe4c59a9214407 17894000 webkitgtk-2.24.0.tar.xz
114 [FILE:8671:manifests/plist.single]
116 MiniBrowser-%%WKAPIMAJOR%%
119 include/webkitgtk-%%WKAPI%%/JavaScriptCore/
128 include/webkitgtk-%%WKAPI%%/jsc/
140 include/webkitgtk-%%WKAPI%%/webkit2/
141 WebKitApplicationInfo.h
142 WebKitAuthenticationRequest.h
144 WebKitAutomationSession.h
145 WebKitBackForwardList.h
146 WebKitBackForwardListItem.h
147 WebKitColorChooserRequest.h
148 WebKitConsoleMessage.h
150 WebKitContextMenuActions.h
151 WebKitContextMenuItem.h
152 WebKitCookieManager.h
155 WebKitDeviceInfoPermissionRequest.h
157 WebKitEditingCommands.h
161 WebKitFaviconDatabase.h
162 WebKitFileChooserRequest.h
163 WebKitFindController.h
164 WebKitFormSubmissionRequest.h
165 WebKitForwardDeclarations.h
167 WebKitGeolocationPermissionRequest.h
168 WebKitHitTestResult.h
169 WebKitInstallMissingMediaPluginsPermissionRequest.h
170 WebKitJavascriptResult.h
172 WebKitNavigationAction.h
173 WebKitNavigationPolicyDecision.h
174 WebKitNetworkProxySettings.h
176 WebKitNotificationPermissionRequest.h
178 WebKitOptionMenuItem.h
179 WebKitPermissionRequest.h
181 WebKitPolicyDecision.h
182 WebKitPrintCustomWidget.h
183 WebKitPrintOperation.h
184 WebKitResponsePolicyDecision.h
187 WebKitSecurityManager.h
188 WebKitSecurityOrigin.h
192 WebKitURISchemeRequest.h
195 WebKitUserContentFilterStore.h
196 WebKitUserContentManager.h
197 WebKitUserMediaPermissionRequest.h
202 WebKitWebExtensionAutocleanups.h
203 WebKitWebHitTestResult.h
206 WebKitWebProcessEnumTypes.h
210 WebKitWebViewSessionState.h
212 WebKitWebsiteDataManager.h
213 WebKitWindowProperties.h
214 webkit-web-extension.h
216 include/webkitgtk-%%WKAPI%%/webkitdom/
219 WebKitDOMCDATASection.h
221 WebKitDOMCSSRuleList.h
222 WebKitDOMCSSStyleDeclaration.h
223 WebKitDOMCSSStyleSheet.h
225 WebKitDOMCharacterData.h
226 WebKitDOMClientRect.h
227 WebKitDOMClientRectList.h
230 WebKitDOMCustomUnstable.h
231 WebKitDOMDOMImplementation.h
232 WebKitDOMDOMSelection.h
233 WebKitDOMDOMTokenList.h
235 WebKitDOMDOMWindowUnstable.h
236 WebKitDOMDeprecated.h
238 WebKitDOMDocumentFragment.h
239 WebKitDOMDocumentFragmentUnstable.h
240 WebKitDOMDocumentType.h
241 WebKitDOMDocumentUnstable.h
243 WebKitDOMElementUnstable.h
245 WebKitDOMEventTarget.h
248 WebKitDOMHTMLAnchorElement.h
249 WebKitDOMHTMLAppletElement.h
250 WebKitDOMHTMLAreaElement.h
251 WebKitDOMHTMLBRElement.h
252 WebKitDOMHTMLBaseElement.h
253 WebKitDOMHTMLBodyElement.h
254 WebKitDOMHTMLButtonElement.h
255 WebKitDOMHTMLCanvasElement.h
256 WebKitDOMHTMLCollection.h
257 WebKitDOMHTMLDListElement.h
258 WebKitDOMHTMLDirectoryElement.h
259 WebKitDOMHTMLDivElement.h
260 WebKitDOMHTMLDocument.h
261 WebKitDOMHTMLElement.h
262 WebKitDOMHTMLElementUnstable.h
263 WebKitDOMHTMLEmbedElement.h
264 WebKitDOMHTMLFieldSetElement.h
265 WebKitDOMHTMLFontElement.h
266 WebKitDOMHTMLFormElement.h
267 WebKitDOMHTMLFrameElement.h
268 WebKitDOMHTMLFrameSetElement.h
269 WebKitDOMHTMLHRElement.h
270 WebKitDOMHTMLHeadElement.h
271 WebKitDOMHTMLHeadingElement.h
272 WebKitDOMHTMLHtmlElement.h
273 WebKitDOMHTMLIFrameElement.h
274 WebKitDOMHTMLImageElement.h
275 WebKitDOMHTMLInputElement.h
276 WebKitDOMHTMLLIElement.h
277 WebKitDOMHTMLLabelElement.h
278 WebKitDOMHTMLLegendElement.h
279 WebKitDOMHTMLLinkElement.h
280 WebKitDOMHTMLMapElement.h
281 WebKitDOMHTMLMarqueeElement.h
282 WebKitDOMHTMLMenuElement.h
283 WebKitDOMHTMLMetaElement.h
284 WebKitDOMHTMLModElement.h
285 WebKitDOMHTMLOListElement.h
286 WebKitDOMHTMLObjectElement.h
287 WebKitDOMHTMLOptGroupElement.h
288 WebKitDOMHTMLOptionElement.h
289 WebKitDOMHTMLOptionsCollection.h
290 WebKitDOMHTMLParagraphElement.h
291 WebKitDOMHTMLParamElement.h
292 WebKitDOMHTMLPreElement.h
293 WebKitDOMHTMLQuoteElement.h
294 WebKitDOMHTMLScriptElement.h
295 WebKitDOMHTMLSelectElement.h
296 WebKitDOMHTMLStyleElement.h
297 WebKitDOMHTMLTableCaptionElement.h
298 WebKitDOMHTMLTableCellElement.h
299 WebKitDOMHTMLTableColElement.h
300 WebKitDOMHTMLTableElement.h
301 WebKitDOMHTMLTableRowElement.h
302 WebKitDOMHTMLTableSectionElement.h
303 WebKitDOMHTMLTextAreaElement.h
304 WebKitDOMHTMLTitleElement.h
305 WebKitDOMHTMLUListElement.h
306 WebKitDOMKeyboardEvent.h
308 WebKitDOMMouseEvent.h
309 WebKitDOMNamedNodeMap.h
311 WebKitDOMNodeFilter.h
312 WebKitDOMNodeIterator.h
315 WebKitDOMProcessingInstruction.h
317 WebKitDOMRangeUnstable.h
318 WebKitDOMStyleSheet.h
319 WebKitDOMStyleSheetList.h
321 WebKitDOMTreeWalker.h
323 WebKitDOMWheelEvent.h
324 WebKitDOMXPathExpression.h
325 WebKitDOMXPathNSResolver.h
326 WebKitDOMXPathResult.h
328 webkitdomautocleanups.h
331 libjavascriptcoregtk-%%WKAPI%%.so
332 libjavascriptcoregtk-%%WKAPI%%.so.%%JSSOMAJOR%%
333 libjavascriptcoregtk-%%WKAPI%%.so.%%JSSOVERSION%%
334 libwebkit2gtk-%%WKAPI%%.so
335 libwebkit2gtk-%%WKAPI%%.so.%%SOMAJOR%%
336 libwebkit2gtk-%%WKAPI%%.so.%%SOVERSION%%
337 lib/girepository-1.0/
338 JavaScriptCore-%%WKAPI%%.typelib
339 WebKit2-%%WKAPI%%.typelib
340 WebKit2WebExtension-%%WKAPI%%.typelib
342 javascriptcoregtk-%%WKAPI%%.pc
343 webkit2gtk-%%WKAPI%%.pc
344 webkit2gtk-web-extension-%%WKAPI%%.pc
345 lib/webkit2gtk-%%WKAPI%%/injected-bundle/libwebkit2gtkinjectedbundle.so
346 libexec/webkit2gtk-%%WKAPI%%/
354 JavaScriptCore-%%WKAPI%%.gir
355 WebKit2-%%WKAPI%%.gir
356 WebKit2WebExtension-%%WKAPI%%.gir
357 share/locale/ar/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
358 share/locale/as/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
359 share/locale/bg/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
360 share/locale/ca/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
361 share/locale/cs/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
362 share/locale/de/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
363 share/locale/el/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
364 share/locale/en_CA/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
365 share/locale/en_GB/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
366 share/locale/eo/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
367 share/locale/es/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
368 share/locale/et/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
369 share/locale/eu/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
370 share/locale/fi/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
371 share/locale/fr/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
372 share/locale/gl/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
373 share/locale/gu/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
374 share/locale/he/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
375 share/locale/hi/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
376 share/locale/hu/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
377 share/locale/id/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
378 share/locale/it/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
379 share/locale/ja/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
380 share/locale/kn/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
381 share/locale/ko/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
382 share/locale/lt/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
383 share/locale/lv/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
384 share/locale/ml/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
385 share/locale/mr/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
386 share/locale/nb/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
387 share/locale/nl/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
388 share/locale/or/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
389 share/locale/pa/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
390 share/locale/pl/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
391 share/locale/pt/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
392 share/locale/pt_BR/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
393 share/locale/ro/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
394 share/locale/ru/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
395 share/locale/sl/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
396 share/locale/sr/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
397 share/locale/sr@latin/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
398 share/locale/sv/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
399 share/locale/ta/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
400 share/locale/te/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
401 share/locale/tr/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
402 share/locale/uk/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
403 share/locale/vi/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
404 share/locale/zh_CN/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo
407 [FILE:433:patches/patch-CMakeLists.txt]
408 --- CMakeLists.txt.orig 2019-02-12 11:20:53 UTC
410 @@ -165,6 +165,11 @@ if (ENABLE_API_TESTS)
414 +if (SUPPRESS_ASSERT)
415 + add_definitions(-DNDEBUG=1)
416 + add_definitions(-D__OPTIMIZE__)
419 # -----------------------------------------------------------------------------
420 # Add module directories
421 # -----------------------------------------------------------------------------
424 [FILE:608:patches/patch-Source_JavaScriptCore_CMakeLists.txt]
425 --- Source/JavaScriptCore/CMakeLists.txt.orig 2019-03-05 15:17:43 UTC
426 +++ Source/JavaScriptCore/CMakeLists.txt
427 @@ -301,7 +301,6 @@ add_executable(LLIntOffsetsExtractor
428 target_link_libraries(LLIntSettingsExtractor WTF)
429 add_dependencies(LLIntSettingsExtractor JavaScriptCoreForwardingHeaders)
430 target_link_libraries(LLIntOffsetsExtractor WTF)
431 -add_dependencies(LLIntOffsetsExtractor JavaScriptCoreForwardingHeaders)
433 # The build system will execute asm.rb every time LLIntOffsetsExtractor's mtime is newer than
434 # LLIntAssembly.h's mtime. The problem we have here is: asm.rb has some built-in optimization
437 [FILE:534:patches/patch-Source_JavaScriptCore_assembler_ARM64Assembler.h]
438 --- Source/JavaScriptCore/assembler/ARM64Assembler.h.orig 2019-02-12 11:21:03 UTC
439 +++ Source/JavaScriptCore/assembler/ARM64Assembler.h
440 @@ -2876,6 +2876,8 @@ public:
441 sys_cache_control(kCacheFunctionPrepareForExecution, code, size);
443 zx_cache_flush(code, size, ZX_CACHE_FLUSH_INSN);
444 +#elif OS(FREEBSD) || OS(NETBSD)
445 + __clear_cache(code, reinterpret_cast<char*>(code) + size);
447 size_t page = pageSize();
448 uintptr_t current = reinterpret_cast<uintptr_t>(code);
451 [FILE:334:patches/patch-Source_WTF_wtf_NumberOfCores.cpp]
452 --- Source/WTF/wtf/NumberOfCores.cpp.orig 2019-02-12 11:21:17 UTC
453 +++ Source/WTF/wtf/NumberOfCores.cpp
455 #include <sys/types.h>
456 #include <sys/sysctl.h>
457 #elif OS(LINUX) || OS(AIX) || OS(OPENBSD) || OS(NETBSD) || OS(FREEBSD)
458 +#include <stdio.h> // sscanf
464 [FILE:610:patches/patch-Source_WebCore_platform_graphics_cpu_arm_filters_FELightingNEON.cpp]
465 --- Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNEON.cpp.orig 2019-02-12 11:21:18 UTC
466 +++ Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNEON.cpp
467 @@ -403,7 +403,7 @@ TOSTRING(neonDrawLighting) ":" NL
468 "vmin.f32 " TMP2_D0 ", " TMP2_D0 ", " CONST_ONE_HI_D NL
469 "vmul.f32 " TMP3_Q ", " COLOR_Q ", " TMP2_D0 "[1]" NL
470 "vcvt.u32.f32 " TMP3_Q ", " TMP3_Q NL
471 - "vmov.u32 r2, r3, " TMP3_S0 ", " TMP3_S1 NL
472 + "vmov r2, r3, " TMP3_S0 ", " TMP3_S1 NL
473 // The color values are stored in-place.
474 "strb r2, [" PIXELS_R ", #-11]" NL
475 "strb r3, [" PIXELS_R ", #-10]" NL
478 [FILE:396:patches/patch-Source_WebCore_platform_graphics_egl_GLContextEGL.cpp]
479 --- Source/WebCore/platform/graphics/egl/GLContextEGL.cpp.orig 2019-03-13 09:18:29 UTC
480 +++ Source/WebCore/platform/graphics/egl/GLContextEGL.cpp
482 #include "OpenGLShims.h"
485 +#include <X11/Xlib.h>
487 #if ENABLE(ACCELERATED_2D_CANVAS)
488 // cairo-gl.h includes some definitions from GLX that conflict with
489 // the ones provided by us. Since GLContextEGL doesn't use any GLX
492 [FILE:336:patches/patch-Source_WebDriver_PlatformGTK.cmake]
493 --- Source/WebDriver/PlatformGTK.cmake.orig 2019-02-12 11:21:18 UTC
494 +++ Source/WebDriver/PlatformGTK.cmake
495 @@ -5,6 +5,7 @@ add_definitions(-DLIBEXECDIR="${CMAKE_IN
496 list(APPEND WebDriver_SYSTEM_INCLUDE_DIRECTORIES
497 "${GLIB_INCLUDE_DIRS}"
498 "${LIBSOUP_INCLUDE_DIRS}"
499 + "${ICU_INCLUDE_DIRS}"
502 list(APPEND WebDriver_SOURCES
505 [FILE:792:patches/patch-Source_WebKit_Platform_unix_SharedMemoryUnix.cpp]
506 --- Source/WebKit/Platform/unix/SharedMemoryUnix.cpp.orig 2019-02-12 11:21:18 UTC
507 +++ Source/WebKit/Platform/unix/SharedMemoryUnix.cpp
508 @@ -134,7 +134,13 @@ static int createSharedMemory()
511 for (int tries = 0; fileDescriptor == -1 && tries < 10; ++tries) {
512 - String name = String("/WK2SharedMemory.") + String::number(static_cast<unsigned>(WTF::randomNumber() * (std::numeric_limits<unsigned>::max() + 1.0)));
514 +#ifdef __DragonFly__
515 + String("/tmp/WK2SharedMemory.")
517 + String("/WK2SharedMemory.")
519 + + String::number(static_cast<unsigned>(WTF::randomNumber() * (std::numeric_limits<unsigned>::max() + 1.0)));
520 tempName = name.utf8();