mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-19 08:13:21 +00:00
www/webkit2-gtk3: Update to 2.20.0
- Add WAYLAND option - Bump PORTREVISION of dependents - Fix build of epiphany 3.24.2 with newer WebKit versions PR: 223733 Submitted by: Greg V <greg@unrelenting.technology> (initial update to 2.18.3) Reviewed by: Ting-Wei Lan <lantw44@gmail.com> Approved by: gnome (maintainer timeout, too long) Security: 1ce95bc7-3278-11e8-b527-00012e582166 MFH: 2018Q2 Differential Revision: https://reviews.freebsd.org/D14872
This commit is contained in:
parent
656577b723
commit
c4df193039
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=466598
@ -2,6 +2,7 @@
|
||||
|
||||
PORTNAME= nuvolaplayer
|
||||
PORTVERSION= 3.0.4
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= audio www
|
||||
|
||||
MAINTAINER= avilla@FreeBSD.org
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= evolution-data-server
|
||||
PORTVERSION= 3.24.2
|
||||
PORTREVISION= 7
|
||||
PORTREVISION= 8
|
||||
CATEGORIES= databases gnome
|
||||
MASTER_SITES= GNOME
|
||||
DIST_SUBDIR= gnome3
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= gnome-documents
|
||||
PORTVERSION= 3.18.2
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= deskutils gnome
|
||||
MASTER_SITES= GNOME
|
||||
DIST_SUBDIR= gnome3
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= osmo
|
||||
PORTVERSION= 0.4.2
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= deskutils
|
||||
MASTER_SITES= SF/${PORTNAME}-pim/${PORTNAME}-pim/${PORTNAME}-${PORTVERSION}
|
||||
|
||||
|
@ -2,6 +2,7 @@
|
||||
|
||||
PORTNAME= showdown
|
||||
DISTVERSION= 0.6
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= deskutils
|
||||
|
||||
MAINTAINER= dg@syrec.org
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= devhelp
|
||||
PORTVERSION= 3.24.0
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= devel gnome
|
||||
MASTER_SITES= GNOME
|
||||
DIST_SUBDIR= gnome3
|
||||
|
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= emacs
|
||||
DISTVERSION= ${EMACS_VER}.${EMACS_REV}
|
||||
PORTREVISION= 1
|
||||
PORTEPOCH= 2
|
||||
CATEGORIES= editors ipv6
|
||||
PKGNAMESUFFIX= -devel
|
||||
|
@ -5,7 +5,7 @@
|
||||
|
||||
PORTNAME= atril
|
||||
PORTVERSION= 1.18.1
|
||||
PORTREVISION?= 1
|
||||
PORTREVISION?= 2
|
||||
CATEGORIES= graphics print mate
|
||||
MASTER_SITES= MATE
|
||||
DIST_SUBDIR= mate
|
||||
|
@ -4,6 +4,7 @@
|
||||
|
||||
PORTNAME= gthumb
|
||||
PORTVERSION= 3.6.1
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= graphics
|
||||
MASTER_SITES= GNOME
|
||||
DIST_SUBDIR= gnome3
|
||||
|
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= shotwell
|
||||
PORTVERSION= 0.28.0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= graphics gnome
|
||||
MASTER_SITES= GNOME/sources/shotwell/${PORTVERSION:R}
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= evolution-ews
|
||||
PORTVERSION= 3.24.2
|
||||
PORTREVISION= 3
|
||||
PORTREVISION= 4
|
||||
CATEGORIES= mail gnome
|
||||
MASTER_SITES= GNOME
|
||||
DIST_SUBDIR= gnome3
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= evolution
|
||||
PORTVERSION= 3.24.2
|
||||
PORTREVISION= 3
|
||||
PORTREVISION= 4
|
||||
CATEGORIES= mail gnome
|
||||
MASTER_SITES= GNOME
|
||||
DIST_SUBDIR= gnome3
|
||||
|
@ -4,6 +4,7 @@
|
||||
|
||||
PORTNAME= geary
|
||||
PORTVERSION= 0.12.1
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= mail gnome
|
||||
MASTER_SITES= GNOME
|
||||
DIST_SUBDIR= gnome3
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= quodlibet
|
||||
PORTVERSION= 3.6.2
|
||||
PORTREVISION= 3
|
||||
PORTREVISION= 4
|
||||
CATEGORIES= multimedia audio python gnome
|
||||
MASTER_SITES= http://bitbucket.org/lazka/${PORTNAME}-files/raw/default/releases/
|
||||
|
||||
|
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= empathy
|
||||
PORTVERSION= 3.12.14
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= net-im gnome
|
||||
MASTER_SITES= GNOME
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= gnome-online-accounts
|
||||
PORTVERSION= 3.24.1
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= GNOME
|
||||
|
||||
|
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= liferea
|
||||
DISTVERSION= 1.12-rc3
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= net gnome
|
||||
MASTER_SITES= https://github.com/lwindolf/liferea/releases/download/v${PORTVERSION:S/.r/-rc/}/
|
||||
|
||||
|
@ -2,6 +2,7 @@
|
||||
|
||||
PORTNAME= libgepub
|
||||
PORTVERSION= 0.4
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= textproc gnome
|
||||
MASTER_SITES= GNOME
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= epiphany
|
||||
PORTVERSION= 3.24.2
|
||||
PORTREVISION= 3
|
||||
PORTREVISION= 4
|
||||
CATEGORIES= www gnome
|
||||
MASTER_SITES= GNOME
|
||||
DIST_SUBDIR= gnome3
|
||||
|
25
www/epiphany/files/patch-src_ephy-window.c
Normal file
25
www/epiphany/files/patch-src_ephy-window.c
Normal file
@ -0,0 +1,25 @@
|
||||
--- src/ephy-window.c.orig 2018-03-27 15:41:00 UTC
|
||||
+++ src/ephy-window.c
|
||||
@@ -1301,13 +1301,6 @@ webkit_context_menu_item_new_from_gaction_with_paramet
|
||||
#pragma GCC diagnostic pop
|
||||
}
|
||||
|
||||
-static WebKitContextMenuItem *
|
||||
-webkit_context_menu_item_new_from_gaction (GAction *action,
|
||||
- const char *label)
|
||||
-{
|
||||
- return webkit_context_menu_item_new_from_gaction_with_parameter (action, label, NULL);
|
||||
-}
|
||||
-
|
||||
static char *
|
||||
ellipsize_string (const char *string,
|
||||
glong max_length)
|
||||
@@ -1380,7 +1373,7 @@ add_action_to_context_menu (WebKitContextMenu *context
|
||||
action = g_action_map_lookup_action (G_ACTION_MAP (action_group), name);
|
||||
label = g_hash_table_lookup (window->action_labels, name);
|
||||
if (strcmp (label, "search-selection-placeholder") != 0) {
|
||||
- webkit_context_menu_append (context_menu, webkit_context_menu_item_new_from_gaction (action, _(label)));
|
||||
+ webkit_context_menu_append (context_menu, webkit_context_menu_item_new_from_gaction_with_parameter (action, _(label), NULL));
|
||||
} else {
|
||||
search_term = g_variant_get_string (target, NULL);
|
||||
search_label = format_search_label (search_term);
|
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= luakit
|
||||
PORTVERSION= 2017.08.10
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= www
|
||||
|
||||
MAINTAINER= ports@textmail.me
|
||||
|
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= surf
|
||||
DISTVERSION= 2.0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= www
|
||||
MASTER_SITES= http://dl.suckless.org/${PORTNAME}/
|
||||
PKGNAMESUFFIX= -browser
|
||||
|
@ -2,8 +2,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= webkit
|
||||
PORTVERSION= 2.16.6
|
||||
PORTREVISION= 3
|
||||
PORTVERSION= 2.20.0
|
||||
CATEGORIES= www
|
||||
MASTER_SITES= http://webkitgtk.org/releases/
|
||||
PKGNAMESUFFIX= 2-gtk3
|
||||
@ -28,82 +27,78 @@ LIB_DEPENDS= libenchant.so:textproc/enchant \
|
||||
libharfbuzz-icu.so:print/harfbuzz-icu \
|
||||
libsoup-2.4.so:devel/libsoup \
|
||||
libgcrypt.so:security/libgcrypt \
|
||||
libgnutls.so:security/gnutls
|
||||
libgnutls.so:security/gnutls \
|
||||
libtasn1.so:security/libtasn1 \
|
||||
libwoff2dec.so:devel/woff2
|
||||
|
||||
PORTSCOUT= limitw:1,even
|
||||
|
||||
USE_GSTREAMER1= bad gl
|
||||
USE_XORG= x11 xcomposite xdamage xext xrender xt ice
|
||||
USES= bison cmake compiler:c++14-lang gettext gnome gperf \
|
||||
jpeg perl5 pkgconfig python:2.7,build sqlite tar:xz
|
||||
USE_RUBY= yes
|
||||
RUBY_NO_RUN_DEPENDS=yes
|
||||
USES= bison cmake:outsource compiler:c++14-lang gettext gnome gperf \
|
||||
jpeg localbase:ldflags perl5 pkgconfig python:2.7,build \
|
||||
sqlite tar:xz
|
||||
USE_GNOME= cairo gdkpixbuf2 gtk30 introspection:build libxml2 libxslt
|
||||
USE_GL= gl egl
|
||||
USE_PERL5= build
|
||||
USE_GL= gl egl glesv2
|
||||
USE_GSTREAMER1= bad gl
|
||||
USE_LDCONFIG= yes
|
||||
CPPFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
INSTALL_TARGET= install
|
||||
USE_PERL5= build
|
||||
USE_RUBY= yes
|
||||
RUBY_NO_RUN_DEPENDS= yes
|
||||
USE_XORG= x11 xcomposite xdamage xext xrender xt ice
|
||||
|
||||
CMAKE_ARGS+= -DPORT=GTK \
|
||||
-DENABLE_WAYLAND_TARGET:BOOL=OFF \
|
||||
-DENABLE_MINIBROWSER:BOOL=ON \
|
||||
-DENABLE_GLES2:BOOL=OFF \
|
||||
-DENABLE_ACCELERATED_2D_CANVAS=ON \
|
||||
-DUSE_LD_GOLD:BOOL=OFF \
|
||||
-DENABLE_WEBKIT:BOOL=OFF
|
||||
CONFIGURE_ENV+= XDG_CACHE_HOME=${WRKDIR}
|
||||
BINARY_ALIAS= python=${PYTHON_CMD}
|
||||
CXXFLAGS+= -DFIXED_EXECUTABLE_MEMORY_POOL_SIZE_IN_MB=32
|
||||
CXXFLAGS_powerpc= -DENABLE_YARR_JIT=0
|
||||
CXXFLAGS_powerpc64= -DENABLE_YARR_JIT=0 \
|
||||
-mminimal-toc
|
||||
CMAKE_ARGS= -DPORT=GTK
|
||||
CMAKE_OFF= USE_LD_GOLD ${CMAKE_OFF_${ARCH}:U}
|
||||
CMAKE_ON= ENABLE_GLES2 ENABLE_MINIBROWSER
|
||||
CMAKE_OFF_armv6= ENABLE_JIT
|
||||
CMAKE_OFF_armv7= ENABLE_JIT
|
||||
CMAKE_OFF_powerpc= ENABLE_JIT
|
||||
CMAKE_OFF_powerpc64= ENABLE_JIT
|
||||
CONFIGURE_ENV= XDG_CACHE_HOME=${WRKDIR}
|
||||
INSTALL_TARGET= install
|
||||
|
||||
BROWSER_PLUGINS_DIR?= ${LOCALBASE}/lib/browser_plugins/symlinks/webkit-gtk3
|
||||
#_BROWSER_PLUGINS_DIR= ${BROWSER_PLUGINS_DIR:S|^/|"|:S|/|", "|g}",
|
||||
|
||||
OPTIONS_SUB= yes
|
||||
OPTIONS_DEFINE= DEBUG GEOIP NPAPI
|
||||
OPTIONS_DEFAULT=GEOIP
|
||||
OPTIONS_DEFINE= DEBUG GEOIP NPAPI WAYLAND
|
||||
OPTIONS_DEFAULT= GEOIP
|
||||
OPTIONS_DEFAULT_i386= NPAPI
|
||||
OPTIONS_DEFAULT_amd64= NPAPI
|
||||
OPTIONS_SUB= yes
|
||||
|
||||
NPAPI_DESC= Support gtk2 (NPAPI) based plugins (like flash)
|
||||
|
||||
# Building WebKit with debugging symbols requires ar and ld with
|
||||
# support for thin archives. Also see
|
||||
# https://bugs.webkit.org/show_bug.cgi?id=140384
|
||||
DEBUG_BUILD_DEPENDS= binutils>=0:devel/binutils
|
||||
DEBUG_CMAKE_ON= -DCMAKE_BUILD_TYPE:STRING=Debug \
|
||||
-DCMAKE_AR=${LOCALBASE}/bin/ar \
|
||||
DEBUG_CMAKE_ON= -DCMAKE_AR=${LOCALBASE}/bin/ar \
|
||||
-DCMAKE_RANLIB=${LOCALBASE}/bin/ranlib \
|
||||
-DCMAKE_LINKER=${LOCALBASE}/bin/ld
|
||||
DEBUG_CXXFLAGS= -B${LOCALBASE}/bin
|
||||
|
||||
DEBUG_CMAKE_OFF= -DCMAKE_BUILD_TYPE:STRING=Release \
|
||||
-DCMAKE_AR=/usr/bin/ar \
|
||||
DEBUG_CMAKE_OFF= -DCMAKE_AR=/usr/bin/ar \
|
||||
-DCMAKE_RANLIB=/usr/bin/ranlib \
|
||||
-DCMAKE_LINKER=/usr/bin/ld
|
||||
DEBUG_CXXFLAGS_OFF= -B/usr/bin
|
||||
DEBUG_CFLAGS_OFF= -DNDEBUG
|
||||
|
||||
GEOIP_CMAKE_BOOL= ENABLE_GEOLOCATION
|
||||
GEOIP_BUILD_DEPENDS+= geoclue>=2.4.3:net/geoclue
|
||||
GEOIP_RUN_DEPENDS+= geoclue>=2.4.3:net/geoclue
|
||||
GEOIP_BUILD_DEPENDS= geoclue>=2.4.3:net/geoclue
|
||||
GEOIP_RUN_DEPENDS= geoclue>=2.4.3:net/geoclue
|
||||
|
||||
NPAPI_DESC= Support gtk2 (NPAPI) based plugins (like flash)
|
||||
NPAPI_CMAKE_BOOL= ENABLE_PLUGIN_PROCESS_GTK2
|
||||
NPAPI_USE= GNOME=gtk20
|
||||
NPAPI_USE= GNOME=gtk20
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${ARCH} == armv6 || ${ARCH} == armv7
|
||||
CMAKE_ARGS+= -DENABLE_JIT:BOOL=OFF
|
||||
.endif
|
||||
|
||||
.if ${ARCH} == powerpc || ${ARCH} == powerpc64
|
||||
CMAKE_ARGS+= -DENABLE_JIT:BOOL=OFF
|
||||
CFLAGS+= -DENABLE_YARR_JIT=0
|
||||
.endif
|
||||
|
||||
.if ${ARCH} == powerpc64
|
||||
CFLAGS+= -mminimal-toc
|
||||
.endif
|
||||
WAYLAND_CMAKE_BOOL= ENABLE_WAYLAND_TARGET
|
||||
WAYLAND_LIB_DEPENDS= libwayland-client.so:graphics/wayland \
|
||||
libwayland-egl.so:graphics/mesa-libs
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|%%BROWSER_PLUGINS_DIR%%|${BROWSER_PLUGINS_DIR}|' \
|
||||
${WRKSRC}/Source/WebKit2/Shared/Plugins/unix/PluginSearchPath.cpp
|
||||
@${REINPLACE_CMD} -e 's|/usr/lib/browser/plugins|${BROWSER_PLUGINS_DIR}|' \
|
||||
${WRKSRC}/Source/WebKit/Shared/Plugins/unix/PluginSearchPath.cpp
|
||||
|
||||
pre-configure:
|
||||
# .if !exists() evaluates too early before cairo has a chance to be installed
|
||||
@ -113,10 +108,13 @@ pre-configure:
|
||||
fi
|
||||
|
||||
post-install:
|
||||
@${LN} -sf ../libexec/webkit2gtk-4.0/jsc ${STAGEDIR}${PREFIX}/bin/jsc-4
|
||||
@${LN} -sf ../libexec/webkit2gtk-4.0/MiniBrowser ${STAGEDIR}${PREFIX}/bin/MiniBrowser-4
|
||||
@${RLN} ${STAGEDIR}${PREFIX}/libexec/webkit2gtk-4.0/jsc \
|
||||
${STAGEDIR}${PREFIX}/bin/jsc-4
|
||||
@${RLN} ${STAGEDIR}${PREFIX}/libexec/webkit2gtk-4.0/MiniBrowser \
|
||||
${STAGEDIR}${PREFIX}/bin/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
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1500907942
|
||||
SHA256 (webkitgtk-2.16.6.tar.xz) = fc23650df953123c59b9c0edf3855e7bd55bd107820997fc72375811e1ea4b21
|
||||
SIZE (webkitgtk-2.16.6.tar.xz) = 14658120
|
||||
TIMESTAMP = 1522145820
|
||||
SHA256 (webkitgtk-2.20.0.tar.xz) = 57f640f720bd9a8a7207f3321cf803a15c2f207b4e7b75ff1be17bc1eeb00a3c
|
||||
SIZE (webkitgtk-2.20.0.tar.xz) = 16617492
|
||||
|
@ -1,6 +1,6 @@
|
||||
--- CMakeLists.txt.orig 2017-05-06 21:35:44.417942000 +0200
|
||||
+++ CMakeLists.txt 2017-05-06 21:36:47.317895000 +0200
|
||||
@@ -60,9 +60,9 @@
|
||||
--- CMakeLists.txt.orig 2018-02-19 07:44:43 UTC
|
||||
+++ CMakeLists.txt
|
||||
@@ -93,9 +93,9 @@ elseif (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "(x64
|
||||
set(WTF_CPU_X86_64 1)
|
||||
elseif (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "(i[3-6]86|x86)")
|
||||
set(WTF_CPU_X86 1)
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- Source/JavaScriptCore/PlatformGTK.cmake.orig 2014-12-25 20:19:12.049673483 +0100
|
||||
+++ Source/JavaScriptCore/PlatformGTK.cmake 2014-12-25 20:20:42.328667491 +0100
|
||||
@@ -10,7 +10,7 @@
|
||||
ADD_TYPELIB(${CMAKE_BINARY_DIR}/JavaScriptCore-${WEBKITGTK_API_VERSION}.typelib)
|
||||
|
||||
install(FILES "${CMAKE_BINARY_DIR}/Source/JavaScriptCore/javascriptcoregtk-${WEBKITGTK_API_VERSION}.pc"
|
||||
- DESTINATION "${LIB_INSTALL_DIR}/pkgconfig"
|
||||
+ DESTINATION "${CMAKE_INSTALL_PREFIX}/libdata/pkgconfig"
|
||||
)
|
||||
|
||||
install(FILES API/JavaScript.h
|
@ -1,6 +1,6 @@
|
||||
--- Source/JavaScriptCore/assembler/ARM64Assembler.h.orig 2015-08-06 08:21:27 UTC
|
||||
--- Source/JavaScriptCore/assembler/ARM64Assembler.h.orig 2018-03-05 09:28:05 UTC
|
||||
+++ Source/JavaScriptCore/assembler/ARM64Assembler.h
|
||||
@@ -2862,6 +2862,8 @@ public:
|
||||
@@ -2856,6 +2856,8 @@ class ARM64Assembler { (public)
|
||||
{
|
||||
#if OS(IOS)
|
||||
sys_cache_control(kCacheFunctionPrepareForExecution, code, size);
|
||||
|
@ -1,15 +0,0 @@
|
||||
$OpenBSD: patch-Source_JavaScriptCore_jit_ExecutableAllocator_h,v 1.1 2013/04/13 09:11:02 landry Exp $
|
||||
|
||||
https://bugs.webkit.org/show_bug.cgi?id=61137
|
||||
|
||||
--- Source/JavaScriptCore/jit/ExecutableAllocator.h.orig 2016-02-04 11:16:16 UTC
|
||||
+++ Source/JavaScriptCore/jit/ExecutableAllocator.h
|
||||
@@ -78,7 +78,7 @@ class DemandExecutableAllocator;
|
||||
static const size_t fixedExecutableMemoryPoolSize = 16 * 1024 * 1024;
|
||||
#elif CPU(ARM64)
|
||||
static const size_t fixedExecutableMemoryPoolSize = 32 * 1024 * 1024;
|
||||
-#elif CPU(X86_64)
|
||||
+#elif CPU(X86_64) && !defined(__OpenBSD__) && !defined(__FreeBSD__)
|
||||
static const size_t fixedExecutableMemoryPoolSize = 1024 * 1024 * 1024;
|
||||
#else
|
||||
static const size_t fixedExecutableMemoryPoolSize = 32 * 1024 * 1024;
|
@ -1,10 +1,10 @@
|
||||
--- Source/WTF/wtf/NumberOfCores.cpp.orig 2017-04-11 20:08:02.949675000 +0200
|
||||
+++ Source/WTF/wtf/NumberOfCores.cpp 2017-04-11 20:08:43.723709000 +0200
|
||||
@@ -33,6 +33,7 @@
|
||||
--- Source/WTF/wtf/NumberOfCores.cpp.orig 2018-02-19 07:45:30 UTC
|
||||
+++ Source/WTF/wtf/NumberOfCores.cpp
|
||||
@@ -35,6 +35,7 @@
|
||||
#include <sys/types.h>
|
||||
#include <sys/sysctl.h>
|
||||
#elif OS(LINUX) || OS(AIX) || OS(SOLARIS) || OS(OPENBSD) || OS(NETBSD) || OS(FREEBSD)
|
||||
+#include <stdio.h> // sscanf()
|
||||
#elif OS(LINUX) || OS(AIX) || OS(OPENBSD) || OS(NETBSD) || OS(FREEBSD)
|
||||
+#include <stdio.h> // sscanf
|
||||
#include <unistd.h>
|
||||
#elif OS(WINDOWS)
|
||||
#include <windows.h>
|
||||
|
@ -1,6 +1,6 @@
|
||||
--- Source/WTF/wtf/Platform.h.orig 2016-07-20 UTC
|
||||
--- Source/WTF/wtf/Platform.h.orig 2018-02-20 09:12:50 UTC
|
||||
+++ Source/WTF/wtf/Platform.h
|
||||
@@ -218,6 +218,7 @@
|
||||
@@ -182,6 +182,7 @@
|
||||
#elif defined(__ARM_ARCH_6__) \
|
||||
|| defined(__ARM_ARCH_6J__) \
|
||||
|| defined(__ARM_ARCH_6K__) \
|
||||
@ -8,7 +8,7 @@
|
||||
|| defined(__ARM_ARCH_6Z__) \
|
||||
|| defined(__ARM_ARCH_6ZK__) \
|
||||
|| defined(__ARM_ARCH_6T2__) \
|
||||
@@ -264,6 +265,7 @@
|
||||
@@ -229,6 +230,7 @@
|
||||
|
||||
#elif defined(__ARM_ARCH_6J__) \
|
||||
|| defined(__ARM_ARCH_6K__) \
|
||||
|
@ -1,10 +1,9 @@
|
||||
--- Source/WebCore/PAL/pal/PlatformGTK.cmake.orig 2017-04-17 15:36:57.688080000 +0200
|
||||
+++ Source/WebCore/PAL/pal/PlatformGTK.cmake 2017-04-17 15:39:47.928689000 +0200
|
||||
@@ -1,3 +1,11 @@
|
||||
list(APPEND PAL_SOURCES
|
||||
crypto/gcrypt/CryptoDigestGCrypt.cpp
|
||||
--- Source/WebCore/PAL/pal/PlatformGTK.cmake.orig 2018-02-19 07:45:31 UTC
|
||||
+++ Source/WebCore/PAL/pal/PlatformGTK.cmake
|
||||
@@ -12,6 +12,13 @@ list(APPEND PAL_SOURCES
|
||||
unix/LoggingUnix.cpp
|
||||
)
|
||||
+
|
||||
|
||||
+list(APPEND PAL_INCLUDE_DIRECTORIES
|
||||
+ ${LIBGCRYPT_INCLUDE_DIRS}
|
||||
+)
|
||||
@ -12,3 +11,6 @@
|
||||
+ ${LIBGCRYPT_LIBRARIES}
|
||||
+)
|
||||
+
|
||||
if (ENABLE_SUBTLE_CRYPTO)
|
||||
list(APPEND PAL_SOURCES
|
||||
crypto/tasn1/Utilities.cpp
|
||||
|
@ -1,4 +1,4 @@
|
||||
--- Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNEON.cpp.orig 2016-04-10 06:48:37 UTC
|
||||
--- Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNEON.cpp.orig 2018-02-19 07:45:32 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
|
||||
|
@ -0,0 +1,15 @@
|
||||
--- Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNEON.h.orig 2018-02-19 07:45:32 UTC
|
||||
+++ Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNEON.h
|
||||
@@ -144,9 +144,9 @@ inline void FELighting::platformApplyNeon(const Lighti
|
||||
neonData.flags |= FLAG_CONE_EXPONENT_IS_1;
|
||||
} else {
|
||||
ASSERT(m_lightSource->type() == LS_DISTANT);
|
||||
- floatArguments.lightX = paintingData.lightVector.x();
|
||||
- floatArguments.lightY = paintingData.lightVector.y();
|
||||
- floatArguments.lightZ = paintingData.lightVector.z();
|
||||
+ floatArguments.lightX = paintingData.initialLightingData.lightVector.x();
|
||||
+ floatArguments.lightY = paintingData.initialLightingData.lightVector.y();
|
||||
+ floatArguments.lightZ = paintingData.initialLightingData.lightVector.z();
|
||||
floatArguments.padding2 = 1;
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
--- Source/WebCore/platform/graphics/egl/GLContextEGL.cpp.orig 2015-07-10 13:10:10.413595000 +0200
|
||||
+++ Source/WebCore/platform/graphics/egl/GLContextEGL.cpp 2015-07-10 13:10:48.159246000 +0200
|
||||
@@ -42,6 +42,8 @@
|
||||
#endif
|
||||
--- Source/WebCore/platform/graphics/egl/GLContextEGL.cpp.orig 2018-02-19 07:45:32 UTC
|
||||
+++ Source/WebCore/platform/graphics/egl/GLContextEGL.cpp
|
||||
@@ -44,6 +44,8 @@
|
||||
#include "OpenGLShims.h"
|
||||
#endif
|
||||
|
||||
+#include <X11/Xlib.h>
|
||||
|
@ -0,0 +1,10 @@
|
||||
--- Source/WebDriver/PlatformGTK.cmake.orig 2018-02-19 07:45:32 UTC
|
||||
+++ Source/WebDriver/PlatformGTK.cmake
|
||||
@@ -5,6 +5,7 @@ add_definitions(-DLIBEXECDIR="${CMAKE_INSTALL_FULL_LIB
|
||||
list(APPEND WebDriver_SYSTEM_INCLUDE_DIRECTORIES
|
||||
"${GLIB_INCLUDE_DIRS}"
|
||||
"${LIBSOUP_INCLUDE_DIRS}"
|
||||
+ "${ICU_INCLUDE_DIRS}"
|
||||
)
|
||||
|
||||
list(APPEND WebDriver_SOURCES
|
@ -1,11 +0,0 @@
|
||||
--- Source/WebKit2/PlatformGTK.cmake.orig 2014-12-25 20:23:07.749658406 +0100
|
||||
+++ Source/WebKit2/PlatformGTK.cmake 2014-12-25 20:23:43.409739634 +0100
|
||||
@@ -837,7 +837,7 @@
|
||||
)
|
||||
install(FILES "${CMAKE_BINARY_DIR}/Source/WebKit2/webkit2gtk-${WEBKITGTK_API_VERSION}.pc"
|
||||
"${CMAKE_BINARY_DIR}/Source/WebKit2/webkit2gtk-web-extension-${WEBKITGTK_API_VERSION}.pc"
|
||||
- DESTINATION "${LIB_INSTALL_DIR}/pkgconfig"
|
||||
+ DESTINATION "${CMAKE_INSTALL_PREFIX}/libdata/pkgconfig"
|
||||
)
|
||||
install(FILES ${WebKit2GTK_INSTALLED_HEADERS}
|
||||
${WebKit2WebExtension_INSTALLED_HEADERS}
|
@ -1,10 +0,0 @@
|
||||
--- Source/WebKit2/Shared/Plugins/unix/PluginSearchPath.cpp.orig 2016-01-28 08:55:09 UTC
|
||||
+++ Source/WebKit2/Shared/Plugins/unix/PluginSearchPath.cpp
|
||||
@@ -50,6 +50,7 @@ Vector<String> pluginsDirectories()
|
||||
|
||||
result.append(homeDirectoryPath() + "/.mozilla/plugins");
|
||||
result.append(homeDirectoryPath() + "/.netscape/plugins");
|
||||
+ result.append("%%BROWSER_PLUGINS_DIR%%");
|
||||
result.append("/usr/lib/browser/plugins");
|
||||
result.append("/usr/local/lib/mozilla/plugins");
|
||||
result.append("/usr/lib/firefox/plugins");
|
@ -1,6 +1,6 @@
|
||||
--- Source/JavaScriptCore/assembler/ARMAssembler.h.orig 2014-12-02 14:49:22.000000000 +0100
|
||||
+++ Source/JavaScriptCore/assembler/ARMAssembler.h 2014-12-26 10:35:15.394821543 +0100
|
||||
@@ -1104,6 +1104,8 @@
|
||||
--- Source/JavaScriptCore/assembler/ARMAssembler.h.orig 2018-02-19 07:45:14 UTC
|
||||
+++ Source/JavaScriptCore/assembler/ARMAssembler.h
|
||||
@@ -1202,6 +1202,8 @@ namespace JSC {
|
||||
linuxPageFlush(current, current + page);
|
||||
|
||||
linuxPageFlush(current, end);
|
||||
|
@ -1,6 +1,6 @@
|
||||
--- Source/bmalloc/bmalloc/BPlatform.h.orig 2017-05-24 07:01:14 UTC
|
||||
--- Source/bmalloc/bmalloc/BPlatform.h.orig 2018-02-19 08:53:21 UTC
|
||||
+++ Source/bmalloc/bmalloc/BPlatform.h
|
||||
@@ -108,6 +108,7 @@
|
||||
@@ -139,6 +139,7 @@
|
||||
#elif defined(__ARM_ARCH_6__) \
|
||||
|| defined(__ARM_ARCH_6J__) \
|
||||
|| defined(__ARM_ARCH_6K__) \
|
||||
|
@ -1,4 +1,5 @@
|
||||
bin/MiniBrowser-4
|
||||
bin/WebKitWebDriver
|
||||
bin/jsc-4
|
||||
include/webkitgtk-4.0/JavaScriptCore/JSBase.h
|
||||
include/webkitgtk-4.0/JavaScriptCore/JSContextRef.h
|
||||
@ -8,8 +9,10 @@ include/webkitgtk-4.0/JavaScriptCore/JSTypedArray.h
|
||||
include/webkitgtk-4.0/JavaScriptCore/JSValueRef.h
|
||||
include/webkitgtk-4.0/JavaScriptCore/JavaScript.h
|
||||
include/webkitgtk-4.0/JavaScriptCore/WebKitAvailability.h
|
||||
include/webkitgtk-4.0/webkit2/WebKitApplicationInfo.h
|
||||
include/webkitgtk-4.0/webkit2/WebKitAuthenticationRequest.h
|
||||
include/webkitgtk-4.0/webkit2/WebKitAutocleanups.h
|
||||
include/webkitgtk-4.0/webkit2/WebKitAutomationSession.h
|
||||
include/webkitgtk-4.0/webkit2/WebKitBackForwardList.h
|
||||
include/webkitgtk-4.0/webkit2/WebKitBackForwardListItem.h
|
||||
include/webkitgtk-4.0/webkit2/WebKitColorChooserRequest.h
|
||||
@ -41,6 +44,8 @@ include/webkitgtk-4.0/webkit2/WebKitNavigationPolicyDecision.h
|
||||
include/webkitgtk-4.0/webkit2/WebKitNetworkProxySettings.h
|
||||
include/webkitgtk-4.0/webkit2/WebKitNotification.h
|
||||
include/webkitgtk-4.0/webkit2/WebKitNotificationPermissionRequest.h
|
||||
include/webkitgtk-4.0/webkit2/WebKitOptionMenu.h
|
||||
include/webkitgtk-4.0/webkit2/WebKitOptionMenuItem.h
|
||||
include/webkitgtk-4.0/webkit2/WebKitPermissionRequest.h
|
||||
include/webkitgtk-4.0/webkit2/WebKitPlugin.h
|
||||
include/webkitgtk-4.0/webkit2/WebKitPolicyDecision.h
|
||||
@ -66,6 +71,7 @@ include/webkitgtk-4.0/webkit2/WebKitWebExtensionAutocleanups.h
|
||||
include/webkitgtk-4.0/webkit2/WebKitWebHitTestResult.h
|
||||
include/webkitgtk-4.0/webkit2/WebKitWebInspector.h
|
||||
include/webkitgtk-4.0/webkit2/WebKitWebPage.h
|
||||
include/webkitgtk-4.0/webkit2/WebKitWebProcessEnumTypes.h
|
||||
include/webkitgtk-4.0/webkit2/WebKitWebResource.h
|
||||
include/webkitgtk-4.0/webkit2/WebKitWebView.h
|
||||
include/webkitgtk-4.0/webkit2/WebKitWebViewBase.h
|
||||
@ -84,6 +90,8 @@ include/webkitgtk-4.0/webkitdom/WebKitDOMCSSStyleDeclaration.h
|
||||
include/webkitgtk-4.0/webkitdom/WebKitDOMCSSStyleSheet.h
|
||||
include/webkitgtk-4.0/webkitdom/WebKitDOMCSSValue.h
|
||||
include/webkitgtk-4.0/webkitdom/WebKitDOMCharacterData.h
|
||||
include/webkitgtk-4.0/webkitdom/WebKitDOMClientRect.h
|
||||
include/webkitgtk-4.0/webkitdom/WebKitDOMClientRectList.h
|
||||
include/webkitgtk-4.0/webkitdom/WebKitDOMComment.h
|
||||
include/webkitgtk-4.0/webkitdom/WebKitDOMCustom.h
|
||||
include/webkitgtk-4.0/webkitdom/WebKitDOMCustomUnstable.h
|
||||
@ -191,19 +199,19 @@ lib/girepository-1.0/WebKit2-4.0.typelib
|
||||
lib/girepository-1.0/WebKit2WebExtension-4.0.typelib
|
||||
lib/libjavascriptcoregtk-4.0.so
|
||||
lib/libjavascriptcoregtk-4.0.so.18
|
||||
lib/libjavascriptcoregtk-4.0.so.18.5.13
|
||||
lib/libjavascriptcoregtk-4.0.so.18.7.8
|
||||
lib/libwebkit2gtk-4.0.so
|
||||
lib/libwebkit2gtk-4.0.so.37
|
||||
lib/libwebkit2gtk-4.0.so.37.19.9
|
||||
lib/libwebkit2gtk-4.0.so.37.28.0
|
||||
lib/webkit2gtk-4.0/injected-bundle/libwebkit2gtkinjectedbundle.so
|
||||
libdata/pkgconfig/javascriptcoregtk-4.0.pc
|
||||
libdata/pkgconfig/webkit2gtk-4.0.pc
|
||||
libdata/pkgconfig/webkit2gtk-web-extension-4.0.pc
|
||||
libexec/webkit2gtk-4.0/MiniBrowser
|
||||
libexec/webkit2gtk-4.0/WebKitDatabaseProcess
|
||||
libexec/webkit2gtk-4.0/WebKitNetworkProcess
|
||||
libexec/webkit2gtk-4.0/WebKitPluginProcess
|
||||
%%NPAPI%%libexec/webkit2gtk-4.0/WebKitPluginProcess2
|
||||
libexec/webkit2gtk-4.0/WebKitStorageProcess
|
||||
libexec/webkit2gtk-4.0/WebKitWebProcess
|
||||
libexec/webkit2gtk-4.0/jsc
|
||||
share/gir-1.0/JavaScriptCore-4.0.gir
|
||||
|
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= sushi
|
||||
PORTVERSION= 3.18.0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= x11-fm gnome
|
||||
MASTER_SITES= GNOME
|
||||
DIST_SUBDIR= gnome3
|
||||
|
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= yelp
|
||||
PORTVERSION= 3.22.0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= x11 gnome
|
||||
MASTER_SITES= GNOME
|
||||
DIST_SUBDIR= gnome3
|
||||
|
Loading…
Reference in New Issue
Block a user