Ravenports generated: 04 Mar 2019 14:58
[ravenports.git] / bucket_58 / webkit2
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               webkit2
4 VERSION=                2.22.7
5 KEYWORDS=               www
6 VARIANTS=               gtk3
7 SDESC[gtk3]=            Opensource browser engine using the GTK+ 3 toolkit
8 HOMEPAGE=               https://www.webkitgtk.org/
9 CONTACT=                nobody
10
11 DOWNLOAD_GROUPS=        main
12 SITES[main]=            https://www.webkitgtk.org/releases/
13                         https://fossies.org/linux/www/
14 DISTFILE[1]=            webkitgtk-2.22.7.tar.xz:main
15 DF_INDEX=               1
16 SPKGS[gtk3]=            single
17
18 OPTIONS_AVAILABLE=      GTK3
19 OPTIONS_STANDARD=       none
20 VOPTS[gtk3]=            GTK3=ON
21
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
27                         WebP:single:standard
28                         libsecret:primary:standard
29                         libnotify:primary:standard
30                         hyphen:single:standard
31                         harfbuzz:icu:standard
32                         icu:single:standard
33                         libsoup:primary:standard
34                         libgcrypt:single:standard
35                         gnutls:single:standard
36                         libtasn1:primary:standard
37                         geoclue:single:standard
38                         woff2:single:standard
39                         gstreamer1-plugins-base:single:standard
40
41 USES=                   jpeg png mesa cmake pkgconfig sqlite bison
42                         perl:build python:py27,build ruby:build
43                         gettext-tools
44 GNOME_COMPONENTS=       gtk3 gdkpixbuf introspection libxslt
45 XORG_COMPONENTS=        x11 xcomposite xdamage xext xrender xt ice
46
47 DISTNAME=               webkitgtk-2.22.7
48
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:"^$$"
54                         TERMS:"^$$"
55 LICENSE_SOURCE=         BSD3CLAUSE:{{WRKSRC}}/Source/WebCore/css/parser/MediaQueryBlockWatcher.h
56                         TERMS:{{WRKSRC}}/Source/WebCore/style/StyleScope.cpp
57 LICENSE_SCHEME=         multi
58
59 FPC_EQUIVALENT=         www/webkit2-gtk3
60
61 CONFIGURE_ENV=          XDG_CACHE_HOME={{WRKDIR}}
62                         AUTOPYTHON=2.7
63
64 MAKE_ENV=               AUTOPYTHON=2.7
65
66 INSTALL_TARGET=         install
67 SOVERSION=              37.33.8
68 PLIST_SUB=              JSSOVERSION=18.11.8
69                         JSSOMAJOR=18
70                         WKAPI=4.0
71                         WKAPIMAJOR=4
72
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
79
80 [GTK3].DESCRIPTION=                     Build GTK+3 variant
81 [GTK3].MAKEFILE_ON=                     BROWSER_PLUGIN_DIR={{LOCALBASE}}/lib/browser_plugins/symlinks/webkit-gtk3
82
83 post-patch:
84         ${REINPLACE_CMD} -e 's|/usr/lib/browser/plugins|${BROWSER_PLUGINS_DIR}|' \
85                 ${WRKSRC}/Source/WebKit/Shared/Plugins/unix/PluginSearchPath.cpp
86
87 post-install:
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
95
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.
102
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
106 and Midori.
107
108
109 [FILE:102:distinfo]
110 4be6f7d605cd0a690fd26e8aa83b089a33ad9d419148eafcfb60580dd2af30ff     16777676 webkitgtk-2.22.7.tar.xz
111
112
113 [FILE:8588:manifests/plist.single]
114 bin/
115  MiniBrowser-%%WKAPIMAJOR%%
116  WebKitWebDriver
117  jsc-%%WKAPIMAJOR%%
118 include/webkitgtk-%%WKAPI%%/JavaScriptCore/
119  JSBase.h
120  JSContextRef.h
121  JSObjectRef.h
122  JSStringRef.h
123  JSTypedArray.h
124  JSValueRef.h
125  JavaScript.h
126  WebKitAvailability.h
127 include/webkitgtk-%%WKAPI%%/jsc/
128  JSCAutocleanups.h
129  JSCClass.h
130  JSCContext.h
131  JSCDefines.h
132  JSCException.h
133  JSCValue.h
134  JSCVersion.h
135  JSCVirtualMachine.h
136  JSCWeakValue.h
137  jsc.h
138 include/webkitgtk-%%WKAPI%%/webkit2/
139  WebKitApplicationInfo.h
140  WebKitAuthenticationRequest.h
141  WebKitAutocleanups.h
142  WebKitAutomationSession.h
143  WebKitBackForwardList.h
144  WebKitBackForwardListItem.h
145  WebKitColorChooserRequest.h
146  WebKitConsoleMessage.h
147  WebKitContextMenu.h
148  WebKitContextMenuActions.h
149  WebKitContextMenuItem.h
150  WebKitCookieManager.h
151  WebKitCredential.h
152  WebKitDefines.h
153  WebKitDownload.h
154  WebKitEditingCommands.h
155  WebKitEditorState.h
156  WebKitEnumTypes.h
157  WebKitError.h
158  WebKitFaviconDatabase.h
159  WebKitFileChooserRequest.h
160  WebKitFindController.h
161  WebKitFormSubmissionRequest.h
162  WebKitForwardDeclarations.h
163  WebKitFrame.h
164  WebKitGeolocationPermissionRequest.h
165  WebKitHitTestResult.h
166  WebKitInstallMissingMediaPluginsPermissionRequest.h
167  WebKitJavascriptResult.h
168  WebKitMimeInfo.h
169  WebKitNavigationAction.h
170  WebKitNavigationPolicyDecision.h
171  WebKitNetworkProxySettings.h
172  WebKitNotification.h
173  WebKitNotificationPermissionRequest.h
174  WebKitOptionMenu.h
175  WebKitOptionMenuItem.h
176  WebKitPermissionRequest.h
177  WebKitPlugin.h
178  WebKitPolicyDecision.h
179  WebKitPrintCustomWidget.h
180  WebKitPrintOperation.h
181  WebKitResponsePolicyDecision.h
182  WebKitScriptDialog.h
183  WebKitScriptWorld.h
184  WebKitSecurityManager.h
185  WebKitSecurityOrigin.h
186  WebKitSettings.h
187  WebKitURIRequest.h
188  WebKitURIResponse.h
189  WebKitURISchemeRequest.h
190  WebKitUserContent.h
191  WebKitUserContentManager.h
192  WebKitUserMediaPermissionRequest.h
193  WebKitVersion.h
194  WebKitWebContext.h
195  WebKitWebEditor.h
196  WebKitWebExtension.h
197  WebKitWebExtensionAutocleanups.h
198  WebKitWebHitTestResult.h
199  WebKitWebInspector.h
200  WebKitWebPage.h
201  WebKitWebProcessEnumTypes.h
202  WebKitWebResource.h
203  WebKitWebView.h
204  WebKitWebViewBase.h
205  WebKitWebViewSessionState.h
206  WebKitWebsiteData.h
207  WebKitWebsiteDataManager.h
208  WebKitWindowProperties.h
209  webkit-web-extension.h
210  webkit2.h
211 include/webkitgtk-%%WKAPI%%/webkitdom/
212  WebKitDOMAttr.h
213  WebKitDOMBlob.h
214  WebKitDOMCDATASection.h
215  WebKitDOMCSSRule.h
216  WebKitDOMCSSRuleList.h
217  WebKitDOMCSSStyleDeclaration.h
218  WebKitDOMCSSStyleSheet.h
219  WebKitDOMCSSValue.h
220  WebKitDOMCharacterData.h
221  WebKitDOMClientRect.h
222  WebKitDOMClientRectList.h
223  WebKitDOMComment.h
224  WebKitDOMCustom.h
225  WebKitDOMCustomUnstable.h
226  WebKitDOMDOMImplementation.h
227  WebKitDOMDOMSelection.h
228  WebKitDOMDOMTokenList.h
229  WebKitDOMDOMWindow.h
230  WebKitDOMDOMWindowUnstable.h
231  WebKitDOMDeprecated.h
232  WebKitDOMDocument.h
233  WebKitDOMDocumentFragment.h
234  WebKitDOMDocumentFragmentUnstable.h
235  WebKitDOMDocumentType.h
236  WebKitDOMDocumentUnstable.h
237  WebKitDOMElement.h
238  WebKitDOMElementUnstable.h
239  WebKitDOMEvent.h
240  WebKitDOMEventTarget.h
241  WebKitDOMFile.h
242  WebKitDOMFileList.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
302  WebKitDOMMediaList.h
303  WebKitDOMMouseEvent.h
304  WebKitDOMNamedNodeMap.h
305  WebKitDOMNode.h
306  WebKitDOMNodeFilter.h
307  WebKitDOMNodeIterator.h
308  WebKitDOMNodeList.h
309  WebKitDOMObject.h
310  WebKitDOMProcessingInstruction.h
311  WebKitDOMRange.h
312  WebKitDOMRangeUnstable.h
313  WebKitDOMStyleSheet.h
314  WebKitDOMStyleSheetList.h
315  WebKitDOMText.h
316  WebKitDOMTreeWalker.h
317  WebKitDOMUIEvent.h
318  WebKitDOMWheelEvent.h
319  WebKitDOMXPathExpression.h
320  WebKitDOMXPathNSResolver.h
321  WebKitDOMXPathResult.h
322  webkitdom.h
323  webkitdomautocleanups.h
324  webkitdomdefines.h
325 lib/
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
336 lib/pkgconfig/
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%%/
342  MiniBrowser
343  WebKitNetworkProcess
344  WebKitPluginProcess
345  WebKitPluginProcess2
346  WebKitStorageProcess
347  WebKitWebProcess
348  jsc
349 share/gir-1.0/
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
401
402
403 [FILE:433:patches/patch-CMakeLists.txt]
404 --- CMakeLists.txt.orig 2019-02-28 10:08:12 UTC
405 +++ CMakeLists.txt
406 @@ -162,6 +162,11 @@ if (ENABLE_API_TESTS)
407      enable_testing()
408  endif ()
409  
410 +if (SUPPRESS_ASSERT)
411 +   add_definitions(-DNDEBUG=1)
412 +   add_definitions(-D__OPTIMIZE__)
413 +endif()
414 +
415  # -----------------------------------------------------------------------------
416  # Add module directories
417  # -----------------------------------------------------------------------------
418
419
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
425  )
426  target_link_libraries(LLIntOffsetsExtractor WTF)
427 -add_dependencies(LLIntOffsetsExtractor JavaScriptCoreForwardingHeaders)
428  
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
431
432
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);
438  #elif OS(FUCHSIA)
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);
442  #elif OS(LINUX)
443          size_t page = pageSize();
444          uintptr_t current = reinterpret_cast<uintptr_t>(code);
445
446
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
450 @@ -35,6 +35,7 @@
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
455  #include <unistd.h>
456  #elif OS(WINDOWS)
457  #include <windows.h>
458
459
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
464      unix/LoggingUnix.cpp
465  )
466  
467 +list(APPEND PAL_INCLUDE_DIRECTORIES
468 +    ${LIBGCRYPT_INCLUDE_DIRS}
469 +)
470 +list(APPEND PAL_LIBRARIES
471 +    ${LIBGCRYPT_LIBRARIES}
472 +)
473 +
474  if (ENABLE_SUBTLE_CRYPTO)
475      list(APPEND PAL_PUBLIC_HEADERS
476          crypto/tasn1/Utilities.h
477
478
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
491
492
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
496 @@ -45,6 +45,8 @@
497  #include "OpenGLShims.h"
498  #endif
499  
500 +#include <X11/Xlib.h>
501 +
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
505
506
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}"
515  )
516  
517  list(APPEND WebDriver_SOURCES
518
519
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
524  
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)));
528 +        String name =
529 +#ifdef __DragonFly__
530 +                      String("/tmp/WK2SharedMemory.")
531 +#else
532 +                      String("/WK2SharedMemory.")
533 +#endif
534 +                      + String::number(static_cast<unsigned>(WTF::randomNumber() * (std::numeric_limits<unsigned>::max() + 1.0)));
535          tempName = name.utf8();
536  
537          do {
538