# Buildsheet autogenerated by ravenadm tool -- Do not edit. NAMEBASE= webkit2 VERSION= 2.22.5 KEYWORDS= www VARIANTS= gtk3 SDESC[gtk3]= Opensource browser engine using the GTK+ 3 toolkit HOMEPAGE= https://www.webkitgtk.org/ CONTACT= nobody DOWNLOAD_GROUPS= main SITES[main]= https://www.webkitgtk.org/releases/ https://fossies.org/linux/www/ DISTFILE[1]= webkitgtk-2.22.5.tar.xz:main DF_INDEX= 1 SPKGS[gtk3]= single OPTIONS_AVAILABLE= GTK3 OPTIONS_STANDARD= none VOPTS[gtk3]= GTK3=ON BUILD_DEPENDS= gperf:single:standard autoselect-python:single:standard BUILDRUN_DEPENDS= enchant:single:standard fontconfig:primary:standard freetype:primary:standard WebP:single:standard libsecret:primary:standard libnotify:primary:standard hyphen:single:standard harfbuzz:icu:standard icu:single:standard libsoup:primary:standard libgcrypt:single:standard gnutls:single:standard libtasn1:primary:standard geoclue:single:standard woff2:single:standard gstreamer1-plugins-gl:single:standard USES= jpeg png mesa cmake pkgconfig sqlite bison perl:build python:py27,build ruby:build gettext-tools GNOME_COMPONENTS= gtk3 gdkpixbuf introspection libxslt XORG_COMPONENTS= x11 xcomposite xdamage xext xrender xt ice DISTNAME= webkitgtk-2.22.5 LICENSE= GPLv2+:single BSD3CLAUSE:single LICENSE_TERMS= single:{{WRKDIR}}/TERMS LICENSE_FILE= GPLv2+:stock BSD3CLAUSE:{{WRKDIR}}/LICENSE_BSD LICENSE_AWK= BSD3CLAUSE:"^$$" TERMS:"^$$" LICENSE_SOURCE= BSD3CLAUSE:{{WRKSRC}}/Source/WebCore/css/parser/MediaQueryBlockWatcher.h TERMS:{{WRKSRC}}/Source/WebCore/style/StyleScope.cpp LICENSE_SCHEME= multi FPC_EQUIVALENT= www/webkit2-gtk3 CONFIGURE_ENV= XDG_CACHE_HOME={{WRKDIR}} AUTOPYTHON=2.7 MAKE_ENV= AUTOPYTHON=2.7 INSTALL_TARGET= install SOVERSION= 37.33.6 PLIST_SUB= JSSOVERSION=18.11.6 JSSOMAJOR=18 WKAPI=4.0 WKAPIMAJOR=4 CXXFLAGS= -DFIXED_EXECUTABLE_MEMORY_POOL_SIZE_IN_MB=32 CMAKE_ARGS= -DPORT=GTK -DNDEBUG=1 -DENABLE_GEOLOCATION:BOOL=true -DENABLE_GLES2:BOOL=ON -DENABLE_MINIBROWSER:BOOL=ON [GTK3].DESCRIPTION= Build GTK+3 variant [GTK3].MAKEFILE_ON= BROWSER_PLUGIN_DIR={{LOCALBASE}}/lib/browser_plugins/symlinks/webkit-gtk3 post-patch: ${REINPLACE_CMD} -e 's|/usr/lib/browser/plugins|${BROWSER_PLUGINS_DIR}|' \ ${WRKSRC}/Source/WebKit/Shared/Plugins/unix/PluginSearchPath.cpp post-install: (cd ${STAGEDIR}${PREFIX}/bin && \ ${LN} -s ../libexec/webkit2gtk-4.0/jsc jsc-4 && \ ${LN} -s ../libexec/webkit2gtk-4.0/MiniBrowser MiniBrowser-4) ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so.*.* ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/webkit2gtk-4.0/injected-bundle/*.so ${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/webkit2gtk-4.0/* ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/WebKitWebDriver [FILE:576:descriptions/desc.single] WebKitGTK+ is a full-featured port of the WebKit rendering engine, suitable for projects requiring any kind of web integration, from hybrid HTML/CSS applications to full-fledged web browsers. It offers WebKit's full functionality and is useful in a wide range of systems from desktop computers to embedded systems like phones, tablets, and televisions. WebKitGTK+ is made by a lively community of developers and designers, who hope to bring the web platform to everyone. It's the official web engine of the GNOME platform and is used in browsers such as Epiphany and Midori. [FILE:102:distinfo] 99d3863f418a7c3a3e37e5062950dbf2d91fb106ec1633459b0ef6f2d5f6cb13 16774560 webkitgtk-2.22.5.tar.xz [FILE:8588:manifests/plist.single] bin/ MiniBrowser-%%WKAPIMAJOR%% WebKitWebDriver jsc-%%WKAPIMAJOR%% include/webkitgtk-%%WKAPI%%/JavaScriptCore/ JSBase.h JSContextRef.h JSObjectRef.h JSStringRef.h JSTypedArray.h JSValueRef.h JavaScript.h WebKitAvailability.h include/webkitgtk-%%WKAPI%%/jsc/ JSCAutocleanups.h JSCClass.h JSCContext.h JSCDefines.h JSCException.h JSCValue.h JSCVersion.h JSCVirtualMachine.h JSCWeakValue.h jsc.h include/webkitgtk-%%WKAPI%%/webkit2/ WebKitApplicationInfo.h WebKitAuthenticationRequest.h WebKitAutocleanups.h WebKitAutomationSession.h WebKitBackForwardList.h WebKitBackForwardListItem.h WebKitColorChooserRequest.h WebKitConsoleMessage.h WebKitContextMenu.h WebKitContextMenuActions.h WebKitContextMenuItem.h WebKitCookieManager.h WebKitCredential.h WebKitDefines.h WebKitDownload.h WebKitEditingCommands.h WebKitEditorState.h WebKitEnumTypes.h WebKitError.h WebKitFaviconDatabase.h WebKitFileChooserRequest.h WebKitFindController.h WebKitFormSubmissionRequest.h WebKitForwardDeclarations.h WebKitFrame.h WebKitGeolocationPermissionRequest.h WebKitHitTestResult.h WebKitInstallMissingMediaPluginsPermissionRequest.h WebKitJavascriptResult.h WebKitMimeInfo.h WebKitNavigationAction.h WebKitNavigationPolicyDecision.h WebKitNetworkProxySettings.h WebKitNotification.h WebKitNotificationPermissionRequest.h WebKitOptionMenu.h WebKitOptionMenuItem.h WebKitPermissionRequest.h WebKitPlugin.h WebKitPolicyDecision.h WebKitPrintCustomWidget.h WebKitPrintOperation.h WebKitResponsePolicyDecision.h WebKitScriptDialog.h WebKitScriptWorld.h WebKitSecurityManager.h WebKitSecurityOrigin.h WebKitSettings.h WebKitURIRequest.h WebKitURIResponse.h WebKitURISchemeRequest.h WebKitUserContent.h WebKitUserContentManager.h WebKitUserMediaPermissionRequest.h WebKitVersion.h WebKitWebContext.h WebKitWebEditor.h WebKitWebExtension.h WebKitWebExtensionAutocleanups.h WebKitWebHitTestResult.h WebKitWebInspector.h WebKitWebPage.h WebKitWebProcessEnumTypes.h WebKitWebResource.h WebKitWebView.h WebKitWebViewBase.h WebKitWebViewSessionState.h WebKitWebsiteData.h WebKitWebsiteDataManager.h WebKitWindowProperties.h webkit-web-extension.h webkit2.h include/webkitgtk-%%WKAPI%%/webkitdom/ WebKitDOMAttr.h WebKitDOMBlob.h WebKitDOMCDATASection.h WebKitDOMCSSRule.h WebKitDOMCSSRuleList.h WebKitDOMCSSStyleDeclaration.h WebKitDOMCSSStyleSheet.h WebKitDOMCSSValue.h WebKitDOMCharacterData.h WebKitDOMClientRect.h WebKitDOMClientRectList.h WebKitDOMComment.h WebKitDOMCustom.h WebKitDOMCustomUnstable.h WebKitDOMDOMImplementation.h WebKitDOMDOMSelection.h WebKitDOMDOMTokenList.h WebKitDOMDOMWindow.h WebKitDOMDOMWindowUnstable.h WebKitDOMDeprecated.h WebKitDOMDocument.h WebKitDOMDocumentFragment.h WebKitDOMDocumentFragmentUnstable.h WebKitDOMDocumentType.h WebKitDOMDocumentUnstable.h WebKitDOMElement.h WebKitDOMElementUnstable.h WebKitDOMEvent.h WebKitDOMEventTarget.h WebKitDOMFile.h WebKitDOMFileList.h WebKitDOMHTMLAnchorElement.h WebKitDOMHTMLAppletElement.h WebKitDOMHTMLAreaElement.h WebKitDOMHTMLBRElement.h WebKitDOMHTMLBaseElement.h WebKitDOMHTMLBodyElement.h WebKitDOMHTMLButtonElement.h WebKitDOMHTMLCanvasElement.h WebKitDOMHTMLCollection.h WebKitDOMHTMLDListElement.h WebKitDOMHTMLDirectoryElement.h WebKitDOMHTMLDivElement.h WebKitDOMHTMLDocument.h WebKitDOMHTMLElement.h WebKitDOMHTMLElementUnstable.h WebKitDOMHTMLEmbedElement.h WebKitDOMHTMLFieldSetElement.h WebKitDOMHTMLFontElement.h WebKitDOMHTMLFormElement.h WebKitDOMHTMLFrameElement.h WebKitDOMHTMLFrameSetElement.h WebKitDOMHTMLHRElement.h WebKitDOMHTMLHeadElement.h WebKitDOMHTMLHeadingElement.h WebKitDOMHTMLHtmlElement.h WebKitDOMHTMLIFrameElement.h WebKitDOMHTMLImageElement.h WebKitDOMHTMLInputElement.h WebKitDOMHTMLLIElement.h WebKitDOMHTMLLabelElement.h WebKitDOMHTMLLegendElement.h WebKitDOMHTMLLinkElement.h WebKitDOMHTMLMapElement.h WebKitDOMHTMLMarqueeElement.h WebKitDOMHTMLMenuElement.h WebKitDOMHTMLMetaElement.h WebKitDOMHTMLModElement.h WebKitDOMHTMLOListElement.h WebKitDOMHTMLObjectElement.h WebKitDOMHTMLOptGroupElement.h WebKitDOMHTMLOptionElement.h WebKitDOMHTMLOptionsCollection.h WebKitDOMHTMLParagraphElement.h WebKitDOMHTMLParamElement.h WebKitDOMHTMLPreElement.h WebKitDOMHTMLQuoteElement.h WebKitDOMHTMLScriptElement.h WebKitDOMHTMLSelectElement.h WebKitDOMHTMLStyleElement.h WebKitDOMHTMLTableCaptionElement.h WebKitDOMHTMLTableCellElement.h WebKitDOMHTMLTableColElement.h WebKitDOMHTMLTableElement.h WebKitDOMHTMLTableRowElement.h WebKitDOMHTMLTableSectionElement.h WebKitDOMHTMLTextAreaElement.h WebKitDOMHTMLTitleElement.h WebKitDOMHTMLUListElement.h WebKitDOMKeyboardEvent.h WebKitDOMMediaList.h WebKitDOMMouseEvent.h WebKitDOMNamedNodeMap.h WebKitDOMNode.h WebKitDOMNodeFilter.h WebKitDOMNodeIterator.h WebKitDOMNodeList.h WebKitDOMObject.h WebKitDOMProcessingInstruction.h WebKitDOMRange.h WebKitDOMRangeUnstable.h WebKitDOMStyleSheet.h WebKitDOMStyleSheetList.h WebKitDOMText.h WebKitDOMTreeWalker.h WebKitDOMUIEvent.h WebKitDOMWheelEvent.h WebKitDOMXPathExpression.h WebKitDOMXPathNSResolver.h WebKitDOMXPathResult.h webkitdom.h webkitdomautocleanups.h webkitdomdefines.h lib/ libjavascriptcoregtk-%%WKAPI%%.so libjavascriptcoregtk-%%WKAPI%%.so.%%JSSOMAJOR%% libjavascriptcoregtk-%%WKAPI%%.so.%%JSSOVERSION%% libwebkit2gtk-%%WKAPI%%.so libwebkit2gtk-%%WKAPI%%.so.%%SOMAJOR%% libwebkit2gtk-%%WKAPI%%.so.%%SOVERSION%% lib/girepository-1.0/ JavaScriptCore-%%WKAPI%%.typelib WebKit2-%%WKAPI%%.typelib WebKit2WebExtension-%%WKAPI%%.typelib lib/pkgconfig/ javascriptcoregtk-%%WKAPI%%.pc webkit2gtk-%%WKAPI%%.pc webkit2gtk-web-extension-%%WKAPI%%.pc lib/webkit2gtk-%%WKAPI%%/injected-bundle/libwebkit2gtkinjectedbundle.so libexec/webkit2gtk-%%WKAPI%%/ MiniBrowser WebKitNetworkProcess WebKitPluginProcess WebKitPluginProcess2 WebKitStorageProcess WebKitWebProcess jsc share/gir-1.0/ JavaScriptCore-%%WKAPI%%.gir WebKit2-%%WKAPI%%.gir WebKit2WebExtension-%%WKAPI%%.gir share/locale/ar/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo share/locale/as/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo share/locale/bg/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo share/locale/ca/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo share/locale/cs/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo share/locale/de/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo share/locale/el/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo share/locale/en_CA/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo share/locale/en_GB/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo share/locale/eo/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo share/locale/es/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo share/locale/et/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo share/locale/eu/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo share/locale/fi/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo share/locale/fr/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo share/locale/gl/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo share/locale/gu/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo share/locale/he/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo share/locale/hi/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo share/locale/hu/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo share/locale/id/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo share/locale/it/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo share/locale/ja/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo share/locale/kn/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo share/locale/ko/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo share/locale/lt/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo share/locale/lv/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo share/locale/ml/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo share/locale/mr/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo share/locale/nb/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo share/locale/nl/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo share/locale/or/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo share/locale/pa/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo share/locale/pl/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo share/locale/pt/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo share/locale/pt_BR/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo share/locale/ro/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo share/locale/ru/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo share/locale/sl/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo share/locale/sr/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo share/locale/sr@latin/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo share/locale/sv/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo share/locale/ta/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo share/locale/te/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo share/locale/tr/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo share/locale/uk/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo share/locale/vi/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo share/locale/zh_CN/LC_MESSAGES/WebKit2GTK-%%WKAPI%%.mo [FILE:657:patches/patch-Source_JavaScriptCore_CMakeLists.txt] --- Source/JavaScriptCore/CMakeLists.txt.orig 2018-11-21 16:24:21 UTC +++ Source/JavaScriptCore/CMakeLists.txt @@ -255,7 +255,6 @@ add_executable(LLIntOffsetsExtractor ${DERIVED_SOURCES_JAVASCRIPTCORE_DIR}/LLIntDesiredOffsets.h ${DERIVED_SOURCES_JAVASCRIPTCORE_DIR}/Bytecodes.h ${DERIVED_SOURCES_JAVASCRIPTCORE_DIR}/BytecodeStructs.h ) target_link_libraries(LLIntOffsetsExtractor WTF) -add_dependencies(LLIntOffsetsExtractor JavaScriptCoreForwardingHeaders) # The build system will execute asm.rb every time LLIntOffsetsExtractor's mtime is newer than # LLIntAssembly.h's mtime. The problem we have here is: asm.rb has some built-in optimization [FILE:534:patches/patch-Source_JavaScriptCore_assembler_ARM64Assembler.h] --- Source/JavaScriptCore/assembler/ARM64Assembler.h.orig 2018-11-21 16:24:21 UTC +++ Source/JavaScriptCore/assembler/ARM64Assembler.h @@ -2865,6 +2865,8 @@ public: sys_cache_control(kCacheFunctionPrepareForExecution, code, size); #elif OS(FUCHSIA) zx_cache_flush(code, size, ZX_CACHE_FLUSH_INSN); +#elif OS(FREEBSD) || OS(NETBSD) + __clear_cache(code, reinterpret_cast(code) + size); #elif OS(LINUX) size_t page = pageSize(); uintptr_t current = reinterpret_cast(code); [FILE:334:patches/patch-Source_WTF_wtf_NumberOfCores.cpp] --- Source/WTF/wtf/NumberOfCores.cpp.orig 2018-11-21 16:24:23 UTC +++ Source/WTF/wtf/NumberOfCores.cpp @@ -35,6 +35,7 @@ #include #include #elif OS(LINUX) || OS(AIX) || OS(OPENBSD) || OS(NETBSD) || OS(FREEBSD) +#include // sscanf #include #elif OS(WINDOWS) #include [FILE:421:patches/patch-Source_WebCore_PAL_pal_PlatformGTK.cmake] --- Source/WebCore/PAL/pal/PlatformGTK.cmake.orig 2018-03-14 16:44:18 UTC +++ Source/WebCore/PAL/pal/PlatformGTK.cmake @@ -20,6 +20,13 @@ list(APPEND PAL_SOURCES unix/LoggingUnix.cpp ) +list(APPEND PAL_INCLUDE_DIRECTORIES + ${LIBGCRYPT_INCLUDE_DIRS} +) +list(APPEND PAL_LIBRARIES + ${LIBGCRYPT_LIBRARIES} +) + if (ENABLE_SUBTLE_CRYPTO) list(APPEND PAL_PUBLIC_HEADERS crypto/tasn1/Utilities.h [FILE:610:patches/patch-Source_WebCore_platform_graphics_cpu_arm_filters_FELightingNEON.cpp] --- Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNEON.cpp.orig 2018-11-21 16:24:24 UTC +++ Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNEON.cpp @@ -403,7 +403,7 @@ TOSTRING(neonDrawLighting) ":" NL "vmin.f32 " TMP2_D0 ", " TMP2_D0 ", " CONST_ONE_HI_D NL "vmul.f32 " TMP3_Q ", " COLOR_Q ", " TMP2_D0 "[1]" NL "vcvt.u32.f32 " TMP3_Q ", " TMP3_Q NL - "vmov.u32 r2, r3, " TMP3_S0 ", " TMP3_S1 NL + "vmov r2, r3, " TMP3_S0 ", " TMP3_S1 NL // The color values are stored in-place. "strb r2, [" PIXELS_R ", #-11]" NL "strb r3, [" PIXELS_R ", #-10]" NL [FILE:396:patches/patch-Source_WebCore_platform_graphics_egl_GLContextEGL.cpp] --- Source/WebCore/platform/graphics/egl/GLContextEGL.cpp.orig 2018-03-21 23:57:43 UTC +++ Source/WebCore/platform/graphics/egl/GLContextEGL.cpp @@ -45,6 +45,8 @@ #include "OpenGLShims.h" #endif +#include + #if ENABLE(ACCELERATED_2D_CANVAS) // cairo-gl.h includes some definitions from GLX that conflict with // the ones provided by us. Since GLContextEGL doesn't use any GLX [FILE:336:patches/patch-Source_WebDriver_PlatformGTK.cmake] --- Source/WebDriver/PlatformGTK.cmake.orig 2017-11-30 10:24:52 UTC +++ Source/WebDriver/PlatformGTK.cmake @@ -5,6 +5,7 @@ add_definitions(-DLIBEXECDIR="${CMAKE_IN list(APPEND WebDriver_SYSTEM_INCLUDE_DIRECTORIES "${GLIB_INCLUDE_DIRS}" "${LIBSOUP_INCLUDE_DIRS}" + "${ICU_INCLUDE_DIRS}" ) list(APPEND WebDriver_SOURCES