Index: X11/app/dino/0.4.2/dino-pkg-install.sh
===================================================================
--- X11/app/dino/0.4.2/dino-pkg-install.sh (revision 87)
+++ X11/app/dino/0.4.2/dino-pkg-install.sh (revision 88)
@@ -21,7 +21,10 @@
# arg 1: the new package version
post_install() {
- /bin/true
+ # Update desktop database
+ if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications > /dev/null 2>&1
+ fi
}
# arg 1: the new package version
Index: X11/app/epiphany/44.3/Makefile
===================================================================
--- X11/app/epiphany/44.3/Makefile (nonexistent)
+++ X11/app/epiphany/44.3/Makefile (revision 88)
@@ -0,0 +1,318 @@
+
+COMPONENT_TARGETS = $(HARDWARE_INTEL_PC32)
+COMPONENT_TARGETS += $(HARDWARE_INTEL_PC64)
+COMPONENT_TARGETS += $(HARDWARE_EBOX_3350DX2)
+COMPONENT_TARGETS += $(HARDWARE_CB1X)
+COMPONENT_TARGETS += $(HARDWARE_CB2X)
+COMPONENT_TARGETS += $(HARDWARE_CB3X)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP2E)
+COMPONENT_TARGETS += $(HARDWARE_NANOPI_NEO)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PL2)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PI5)
+COMPONENT_TARGETS += $(HARDWARE_WECHIP_TX6)
+COMPONENT_TARGETS += $(HARDWARE_FFRK3288)
+COMPONENT_TARGETS += $(HARDWARE_POIN2)
+COMPONENT_TARGETS += $(HARDWARE_RK3328_CC)
+COMPONENT_TARGETS += $(HARDWARE_KHADAS_EDGE)
+COMPONENT_TARGETS += $(HARDWARE_LEEZ_P710)
+COMPONENT_TARGETS += $(HARDWARE_M201)
+COMPONENT_TARGETS += $(HARDWARE_MXV)
+COMPONENT_TARGETS += $(HARDWARE_P201)
+COMPONENT_TARGETS += $(HARDWARE_NEXBOX_A95X)
+COMPONENT_TARGETS += $(HARDWARE_ODROID_C2)
+COMPONENT_TARGETS += $(HARDWARE_P212)
+COMPONENT_TARGETS += $(HARDWARE_KHADAS_VIM)
+COMPONENT_TARGETS += $(HARDWARE_Q201)
+COMPONENT_TARGETS += $(HARDWARE_ENYBOX_X2)
+COMPONENT_TARGETS += $(HARDWARE_KHADAS_VIM2)
+COMPONENT_TARGETS += $(HARDWARE_NIT6Q)
+COMPONENT_TARGETS += $(HARDWARE_OKMX6DL_C)
+COMPONENT_TARGETS += $(HARDWARE_OKMX6Q_C)
+COMPONENT_TARGETS += $(HARDWARE_BONE_BLACK)
+COMPONENT_TARGETS += $(HARDWARE_OMAP5UEVM)
+COMPONENT_TARGETS += $(HARDWARE_DRA7XXEVM)
+COMPONENT_TARGETS += $(HARDWARE_CI20)
+COMPONENT_TARGETS += $(HARDWARE_BAIKAL_T1)
+COMPONENT_TARGETS += $(HARDWARE_BAIKAL_M1)
+COMPONENT_TARGETS += $(HARDWARE_S824L)
+COMPONENT_TARGETS += $(HARDWARE_VESNIN)
+COMPONENT_TARGETS += $(HARDWARE_S824L_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VESNIN_LSB)
+COMPONENT_TARGETS += $(HARDWARE_TL2WK2)
+COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
+COMPONENT_TARGETS += $(HARDWARE_TL2WK2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_TL2SV2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_SIFIVE_U740)
+
+
+NEED_ABS_PATH = true
+COMPONENT_IS_3PP = true
+
+
+include ../../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES = sources/GNOME/core/epiphany
+
+REQUIRES = X11/libs/webkitgtk/2.40.1
+REQUIRES += X11/libs/gcr/4.1.0
+REQUIRES += X11/libs/libportal/0.6
+REQUIRES += X11/libs/libadwaita/1.3.2
+REQUIRES += X11/libs/gst-plugins-good/1.22.0
+REQUIRES += X11/libs/gst-plugins-bad/1.22.0
+REQUIRES += X11/libs/startup-notification/0.12
+REQUIRES += X11/app/dbus-x11-launch/1.13.18
+REQUIRES += libs/json-glib/1.6.6
+REQUIRES += libs/libarchive/3.5.2
+REQUIRES += libs/libsoup3/3.4.2
+REQUIRES += libs/icu4c/73.1
+
+# ======= __END_OF_REQUIRES__ =======
+
+
+version = 44.3
+tar_xz_archive = $(SRC_PACKAGE_PATH)/GNOME/core/epiphany/epiphany-$(version).tar.xz
+SRC_ARCHIVE = $(tar_xz_archive)
+SRC_DIR = $(TARGET_BUILD_DIR)/epiphany-$(version)
+src_dir_name = epiphany-$(version)
+src_done = $(TARGET_BUILD_DIR)/.source_done
+
+PATCHES = PATCHES
+
+build_dir = $(TARGET_BUILD_DIR)/build
+build_target = $(TARGET_BUILD_DIR)/.build_done
+install_target = $(TARGET_BUILD_DIR)/.install_done
+
+cross_file = $(TARGET_BUILD_DIR)/$(TARGET)-cross
+
+
+####### Targets
+
+PKG_GROUP = xapp
+
+#
+# *PKG_NAME & *PKG_VERSION shouldn't be a reference to value.
+#
+EPIPHANY_PKG_NAME = epiphany
+EPIPHANY_PKG_VERSION = 44.3
+EPIPHANY_PKG_ARCH = $(PKGARCH)
+EPIPHANY_PKG_DISTRO_NAME = $(DISTRO_NAME)
+EPIPHANY_PKG_DISTRO_VERSION = $(DISTRO_VERSION)
+EPIPHANY_PKG_GROUP = $(PKG_GROUP)
+### |---handy-ruler-------------------------------|
+EPIPHANY_PKG_SHORT_DESCRIPTION = A GNOME web browser based on the WebKit
+EPIPHANY_PKG_URL = $(BUG_URL)
+EPIPHANY_PKG_LICENSE = GPLv3
+EPIPHANY_PKG_DESCRIPTION_FILE = $(TARGET_BUILD_DIR)/$(EPIPHANY_PKG_NAME)-pkg-description
+EPIPHANY_PKG_DESCRIPTION_FILE_IN = $(EPIPHANY_PKG_NAME)-pkg-description.in
+EPIPHANY_PKG_INSTALL_SCRIPT = $(EPIPHANY_PKG_NAME)-pkg-install.sh
+
+EPIPHANY_PKG = $(CURDIR)/$(TARGET_BUILD_DIR)/$(EPIPHANY_PKG_NAME)-package
+
+pkg_basename = $(EPIPHANY_PKG_NAME)-$(EPIPHANY_PKG_VERSION)-$(EPIPHANY_PKG_ARCH)-$(EPIPHANY_PKG_DISTRO_NAME)-$(EPIPHANY_PKG_DISTRO_VERSION)
+
+pkg_archive = $(TARGET_BUILD_DIR)/$(PKG_GROUP)/$(pkg_basename).$(pkg_arch_suffix)
+pkg_signature = $(call sign-name,$(pkg_archive))
+pkg_description = $(call desc-name,$(pkg_archive))
+products = $(call pkg-files,$(pkg_archive))
+
+BUILD_TARGETS = $(build_target)
+BUILD_TARGETS += $(install_target)
+
+PRODUCT_TARGETS = $(products)
+
+ROOTFS_TARGETS = $(pkg_archive)
+
+
+include ../../../../build-system/core.mk
+
+
+env_sysroot = DESTDIR=$(EPIPHANY_PKG)
+
+
+#
+# https://mesonbuild.com/Reference-tables.html :
+# =============================================
+#
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_A1X_GLIBC) $(TOOLCHAIN_A2X_GLIBC) \
+ $(TOOLCHAIN_H3_GLIBC) $(TOOLCHAIN_RK328X_GLIBC) \
+ $(TOOLCHAIN_S8XX_GLIBC) $(TOOLCHAIN_IMX6_GLIBC) \
+ $(TOOLCHAIN_AM335X_GLIBC) $(TOOLCHAIN_OMAP543X_GLIBC)),)
+cpu_name = arm
+endian = little
+endif
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_H5_GLIBC) $(TOOLCHAIN_RK33XX_GLIBC) \
+ $(TOOLCHAIN_RK339X_GLIBC) $(TOOLCHAIN_RK358X_GLIBC) \
+ $(TOOLCHAIN_S9XX_GLIBC) \
+ $(TOOLCHAIN_A311X_GLIBC) $(TOOLCHAIN_M1000_GLIBC)),)
+cpu_name = aarch64
+endian = little
+endif
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_JZ47XX_GLIBC) $(TOOLCHAIN_P5600_GLIBC)),)
+cpu_name = mips
+endian = little
+endif
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_POWER8_GLIBC) $(TOOLCHAIN_POWER9_GLIBC)),)
+cpu_name = ppc64
+endian = big
+endif
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_POWER8LE_GLIBC) $(TOOLCHAIN_POWER9LE_GLIBC)),)
+cpu_name = ppc64
+endian = little
+endif
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_RISCV64_GLIBC)),)
+cpu_name = riscv64
+endian = little
+endif
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_I586_GLIBC) $(TOOLCHAIN_I686_GLIBC)),)
+cpu_name = x86
+endian = little
+endif
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_X86_64_GLIBC)),)
+cpu_name = x86_64
+endian = little
+endif
+
+
+ifeq ($(__ENABLE_STATIC__),yes)
+extra_configure_switches += --default-library=both
+else
+extra_configure_switches += --default-library=shared
+endif
+
+
+extra_configure_switches += -Ddeveloper_mode=false
+extra_configure_switches += -Dnetwork_tests=disabled
+extra_configure_switches += -Dunit_tests=disabled
+extra_configure_switches += -Dtech_preview=false
+extra_configure_switches += -Dgranite=disabled
+
+
+CFLAGS += -Wno-deprecated-declarations -Wno-format -Wno-pointer-to-int-cast
+
+TARGET_BIN_RPATH = /lib$(LIBSUFFIX):/usr/lib$(LIBSUFFIX)
+
+LDFLAGS += -Wl,-rpath,$(TARGET_BIN_RPATH)
+
+
+####### Dependencies
+
+$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
+ $(UNPACK_SRC_ARCHIVE)
+ $(APPLY_PATCHES)
+ @touch $@
+
+$(build_target): $(src_done)
+ @mkdir -p $(build_dir)
+ @echo "" > $(cross_file)
+ @echo "[build_machine]" >> $(cross_file)
+ @echo "system = '$(shell uname -s | tr 'L' 'l')'" >> $(cross_file)
+ @echo "cpu_family = '$(shell uname -m)'" >> $(cross_file)
+ @echo "cpu = '$(shell uname -m)'" >> $(cross_file)
+ @echo "endian = '$(shell lscpu | grep Endian | tr -s ' ' | cut -f3 -d' ' | tr 'L' 'l')'" >> $(cross_file)
+ @echo "" >> $(cross_file)
+ @echo "[host_machine]" >> $(cross_file)
+ @echo "system = 'linux'" >> $(cross_file)
+ @echo "cpu_family = '$(cpu_name)'" >> $(cross_file)
+ @echo "cpu = '$(cpu_name)'" >> $(cross_file)
+ @echo "endian = '$(endian)'" >> $(cross_file)
+ @echo "" >> $(cross_file)
+ @echo "[target_machine]" >> $(cross_file)
+ @echo "system = 'linux'" >> $(cross_file)
+ @echo "cpu_family = '$(cpu_name)'" >> $(cross_file)
+ @echo "cpu = '$(cpu_name)'" >> $(cross_file)
+ @echo "endian = '$(endian)'" >> $(cross_file)
+ @echo "" >> $(cross_file)
+ @echo "[binaries]" >> $(cross_file)
+ @echo "c = '$(TOOLCHAIN_PATH)/bin/$(TARGET)-gcc'" >> $(cross_file)
+ @echo "cpp = '$(TOOLCHAIN_PATH)/bin/$(TARGET)-g++'" >> $(cross_file)
+ @echo "ar = '$(AR)'" >> $(cross_file)
+ @echo "strip = '$(STRIP)'" >> $(cross_file)
+ @echo "pkgconfig = 'pkg-config'" >> $(cross_file)
+ @echo "" >> $(cross_file)
+ @meson setup \
+ --prefix=/usr \
+ --libdir=lib$(LIBSUFFIX) \
+ --libexecdir=/usr/libexec \
+ --bindir=/usr/bin \
+ --sbindir=/usr/sbin \
+ --includedir=/usr/include \
+ --datadir=/usr/share \
+ --mandir=/usr/share/man \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --buildtype=release \
+ -Dc_args="`echo -n "--sysroot=$(TARGET_DEST_DIR) $(CFLAGS)" | tr -s ' '`" \
+ -Dc_link_args="`echo -n "--sysroot=$(TARGET_DEST_DIR) $(LDFLAGS)" | tr -s ' '`" \
+ -Dcpp_args="`echo -n "--sysroot=$(TARGET_DEST_DIR) $(CFLAGS)" | tr -s ' '`" \
+ -Dcpp_link_args="`echo -n "--sysroot=$(TARGET_DEST_DIR) $(LDFLAGS)" | tr -s ' '`" \
+ $(extra_configure_switches) \
+ --cross-file=$(cross_file) $(SRC_DIR) $(build_dir)
+ @cd $(build_dir) && ninja -v
+ @touch $@
+
+$(install_target): $(build_target)
+ @mkdir -p $(EPIPHANY_PKG)
+ @cd $(build_dir) && $(env_sysroot) ninja install
+ # ======= Install Documentation =======
+ @if [ -d $(EPIPHANY_PKG)/usr/share/man ]; then \
+ ( cd $(EPIPHANY_PKG)/usr/share/man ; \
+ for manpagedir in `find . -type d -name "man*"` ; do \
+ ( cd $$manpagedir ; \
+ for eachpage in `find . -type l -maxdepth 1` ; do \
+ ln -s `readlink $$eachpage`.gz $$eachpage.gz ; \
+ rm $$eachpage ; \
+ done ; \
+ gzip -9 *.? ; \
+ ) \
+ done \
+ ) \
+ fi
+ @mkdir -p $(EPIPHANY_PKG)/usr/doc/$(src_dir_name)
+ @cp -a $(SRC_DIR)/COPYING \
+ $(EPIPHANY_PKG)/usr/doc/$(src_dir_name)
+ @mkdir -p $(EPIPHANY_PKG)/usr/share/doc/$(src_dir_name)
+ @( cd $(SRC_DIR) ; \
+ cp -a COPYING README.md TODO \
+ $(EPIPHANY_PKG)/usr/share/doc/$(src_dir_name) ; \
+ )
+ @( cd $(SRC_DIR) ; \
+ if [ -r NEWS ]; then \
+ DOCSDIR=`echo $(EPIPHANY_PKG)/usr/share/doc/$(src_dir_name)` ; \
+ cat NEWS | head -n 1000 > $$DOCSDIR/NEWS ; \
+ touch -r NEWS $$DOCSDIR/NEWS ; \
+ fi \
+ )
+ # ======= Install the same to $(TARGET_DEST_DIR) =======
+ $(call install-into-devenv, $(EPIPHANY_PKG))
+ # ======= Strip binaries =======
+ @( cd $(EPIPHANY_PKG); \
+ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
+ find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
+ )
+ @touch $@
+
+$(EPIPHANY_PKG_DESCRIPTION_FILE): $(EPIPHANY_PKG_DESCRIPTION_FILE_IN)
+ @cat $< | $(SED) -e "s/@VERSION@/$(version)/g" > $@
+
+$(pkg_certificate) : $(pkg_archive) ;
+$(pkg_signature) : $(pkg_archive) ;
+$(pkg_description) : $(pkg_archive) ;
+
+$(pkg_archive): $(install_target) $(EPIPHANY_PKG_DESCRIPTION_FILE) $(EPIPHANY_PKG_INSTALL_SCRIPT)
+ @cp $(EPIPHANY_PKG_DESCRIPTION_FILE) $(EPIPHANY_PKG)/.DESCRIPTION
+ @cp $(EPIPHANY_PKG_INSTALL_SCRIPT) $(EPIPHANY_PKG)/.INSTALL
+ @$(BUILD_PKG_REQUIRES) $(EPIPHANY_PKG)/.REQUIRES
+ @echo "pkgname=$(EPIPHANY_PKG_NAME)" > $(EPIPHANY_PKG)/.PKGINFO ; \
+ echo "pkgver=$(EPIPHANY_PKG_VERSION)" >> $(EPIPHANY_PKG)/.PKGINFO ; \
+ echo "arch=$(EPIPHANY_PKG_ARCH)" >> $(EPIPHANY_PKG)/.PKGINFO ; \
+ echo "distroname=$(EPIPHANY_PKG_DISTRO_NAME)" >> $(EPIPHANY_PKG)/.PKGINFO ; \
+ echo "distrover=$(EPIPHANY_PKG_DISTRO_VERSION)" >> $(EPIPHANY_PKG)/.PKGINFO ; \
+ echo "group=$(EPIPHANY_PKG_GROUP)" >> $(EPIPHANY_PKG)/.PKGINFO ; \
+ echo "short_description=\"$(EPIPHANY_PKG_SHORT_DESCRIPTION)\"" >> $(EPIPHANY_PKG)/.PKGINFO ; \
+ echo "url=$(EPIPHANY_PKG_URL)" >> $(EPIPHANY_PKG)/.PKGINFO ; \
+ echo "license=$(EPIPHANY_PKG_LICENSE)" >> $(EPIPHANY_PKG)/.PKGINFO
+ @$(PSEUDO) sh -c "cd $(EPIPHANY_PKG) && \
+ chown -R root:root . && \
+ $(MAKE_PACKAGE) -J --linkadd=yes $(GNUPG_OPTIONS) -m -d .. ."
Index: X11/app/epiphany/44.3/PATCHES
===================================================================
Index: X11/app/epiphany/44.3/epiphany-pkg-description.in
===================================================================
--- X11/app/epiphany/44.3/epiphany-pkg-description.in (nonexistent)
+++ X11/app/epiphany/44.3/epiphany-pkg-description.in (revision 88)
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+ |-----handy-ruler------------------------------------------------------|
+epiphany: epiphany @VERSION@ (A GNOME web browser based on the WebKit)
+epiphany:
+epiphany: The web browser for GNOME, featuring tight integration with
+epiphany: the desktop and a simple and intuitive user interface that allows
+epiphany: you to focus on your web pages.
+epiphany:
+epiphany:
+epiphany:
+epiphany: Homepage: https://flathub.org/apps/org.gnome.Epiphany
+epiphany:
+epiphany:
Index: X11/app/epiphany/44.3/epiphany-pkg-install.sh
===================================================================
--- X11/app/epiphany/44.3/epiphany-pkg-install.sh (nonexistent)
+++ X11/app/epiphany/44.3/epiphany-pkg-install.sh (revision 88)
@@ -0,0 +1,56 @@
+#!/bin/sh
+
+# Preserve new files
+install_file() {
+ NEW="$1"
+ OLD="`dirname $NEW`/`basename $NEW .new`"
+ # If there's no file by that name, mv it over:
+ if [ ! -r $OLD ]; then
+ mv $NEW $OLD
+ elif [ "`cat $OLD | md5sum`" = "`cat $NEW | md5sum`" ]; then # toss the redundant copy
+ rm $NEW
+ fi
+ # Otherwise, we leave the .new copy for the admin to consider...
+}
+
+
+# arg 1: the new package version
+pre_install() {
+ /bin/true
+}
+
+# arg 1: the new package version
+post_install() {
+ # Update desktop database
+ if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications > /dev/null 2>&1
+ fi
+}
+
+# arg 1: the new package version
+# arg 2: the old package version
+pre_update() {
+ /bin/true
+}
+
+# arg 1: the new package version
+# arg 2: the old package version
+post_update() {
+ post_install
+}
+
+# arg 1: the old package version
+pre_remove() {
+ /bin/true
+}
+
+# arg 1: the old package version
+post_remove() {
+ /bin/true
+}
+
+
+operation=$1
+shift
+
+$operation $*
Property changes on: X11/app/epiphany/44.3/epiphany-pkg-install.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: X11/app/epiphany/44.3
===================================================================
--- X11/app/epiphany/44.3 (nonexistent)
+++ X11/app/epiphany/44.3 (revision 88)
Property changes on: X11/app/epiphany/44.3
___________________________________________________________________
Added: svn:ignore
## -0,0 +1,74 ##
+
+# install dir
+dist
+
+# Target build dirs
+.a1x-newlib
+.a2x-newlib
+.at91sam7s-newlib
+
+.build-machine
+
+.a1x-glibc
+.a2x-glibc
+.h3-glibc
+.h5-glibc
+.i586-glibc
+.i686-glibc
+.imx6-glibc
+.jz47xx-glibc
+.makefile
+.am335x-glibc
+.omap543x-glibc
+.p5600-glibc
+.power8-glibc
+.power8le-glibc
+.power9-glibc
+.power9le-glibc
+.m1000-glibc
+.riscv64-glibc
+.rk328x-glibc
+.rk33xx-glibc
+.rk339x-glibc
+.rk358x-glibc
+.s8xx-glibc
+.s9xx-glibc
+.x86_64-glibc
+
+# Hidden files (each file)
+.makefile
+.dist
+.rootfs
+
+# src & hw requires
+.src_requires
+.src_requires_depend
+.requires
+.requires_depend
+
+# Tarballs
+*.gz
+*.bz2
+*.lz
+*.xz
+*.tgz
+*.txz
+
+# Signatures
+*.asc
+*.sig
+*.sign
+*.sha1sum
+
+# Patches
+*.patch
+
+# Descriptions
+*.dsc
+*.txt
+
+# Default linux config files
+*.defconfig
+
+# backup copies
+*~
Index: X11/libs/webkitgtk/2.40.1/Makefile
===================================================================
--- X11/libs/webkitgtk/2.40.1/Makefile (revision 87)
+++ X11/libs/webkitgtk/2.40.1/Makefile (revision 88)
@@ -147,7 +147,7 @@
CFLAGS += -I$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/glib-2.0/include
-suppress-warnings = -Wno-unused-variable
+suppress-warnings = -Wno-unused-variable -Wno-uninitialized
configure_switches = -DCMAKE_BUILD_TYPE='Release'
@@ -388,7 +388,7 @@
$(install_target): $(build_target)
@mkdir -p $(WEBKITGTK_PKG)
# ======= Install WebKitGtk =======
- @cd $(build_dir) && $(BUILD_ENVIRONMENT) $(MAKE) -j1 install $(env_sysroot)
+ @cd $(build_dir) && $(BUILD_ENVIRONMENT) $(MAKE) install $(env_sysroot)
# ======= Install Documentation =======
@if [ -d $(WEBKITGTK_PKG)/usr/share/man ]; then \
( cd $(WEBKITGTK_PKG)/usr/share/man ; \
Index: X11/libs/webkitgtk/2.40.1/PATCHES
===================================================================
--- X11/libs/webkitgtk/2.40.1/PATCHES (revision 87)
+++ X11/libs/webkitgtk/2.40.1/PATCHES (revision 88)
@@ -1,3 +1,4 @@
+../../../../sources/packages/x/webkitgtk/patches/webkitgtk-2.40.1-arm-neon.patch -p0
../../../../sources/packages/x/webkitgtk/patches/webkitgtk-2.40.1-bwrap-cross.patch -p0
../../../../sources/packages/x/webkitgtk/patches/webkitgtk-2.40.1-source-brush.patch -p0
Index: X11/libs/webkitgtk/2.40.1/webkitgtk-pkg-description.in
===================================================================
--- X11/libs/webkitgtk/2.40.1/webkitgtk-pkg-description.in (revision 87)
+++ X11/libs/webkitgtk/2.40.1/webkitgtk-pkg-description.in (revision 88)
@@ -6,14 +6,14 @@
# customary to leave one space after the ':'.
|-----handy-ruler------------------------------------------------------|
-weblitgtk: weblitgtk @VERSION@ (Web content engine for GTK)
-weblitgtk:
-weblitgtk: WebKitGTK is a full-featured port of the WebKit rendering engine,
-weblitgtk: suitable for projects requiring any kind of web integration, from
-weblitgtk: hybrid HTML/CSS applications to full-fledged web browsers.
-weblitgtk:
-weblitgtk:
-weblitgtk:
-weblitgtk: Homepage: https://webkitgtk.org
-weblitgtk:
-weblitgtk:
+webkitgtk: webkitgtk @VERSION@ (Web content engine for GTK)
+webkitgtk:
+webkitgtk: WebKitGTK is a full-featured port of the WebKit rendering engine,
+webkitgtk: suitable for projects requiring any kind of web integration, from
+webkitgtk: hybrid HTML/CSS applications to full-fledged web browsers.
+webkitgtk:
+webkitgtk:
+webkitgtk:
+webkitgtk: Homepage: https://webkitgtk.org
+webkitgtk:
+webkitgtk:
Index: base/radix-system/etc/skel/.config/tint2/tint2rc
===================================================================
--- base/radix-system/etc/skel/.config/tint2/tint2rc (revision 87)
+++ base/radix-system/etc/skel/.config/tint2/tint2rc (revision 88)
@@ -165,6 +165,7 @@
launcher_item_app = ~/.local/share/applications/XTerm.desktop
launcher_item_app = /usr/share/applications/audacious.desktop
launcher_item_app = /usr/share/applications/im.dino.Dino.desktop
+launcher_item_app = /usr/share/applications/org.gnome.Epiphany.desktop
#-------------------------------------
# Clock
Index: products/X11/Makefile
===================================================================
--- products/X11/Makefile (revision 87)
+++ products/X11/Makefile (revision 88)
@@ -819,6 +819,7 @@
REQUIRES += X11/media/audacious-plugins/4.3
REQUIRES += X11/media/openal-soft/1.23.1
REQUIRES += X11/app/dino/0.4.2
+REQUIRES += X11/app/epiphany/44.3
# ======= __END_OF_REQUIRES__ =======
Index: sources/GNOME/core/epiphany/Makefile
===================================================================
--- sources/GNOME/core/epiphany/Makefile (nonexistent)
+++ sources/GNOME/core/epiphany/Makefile (revision 88)
@@ -0,0 +1,47 @@
+
+COMPONENT_TARGETS = $(HARDWARE_NOARCH)
+
+
+include ../../../../build-system/constants.mk
+
+
+url = $(DOWNLOAD_SERVER)/sources/GNOME/core/epiphany
+
+versions = 44.3
+pkgname = epiphany
+suffix = tar.xz
+
+tarballs = $(addsuffix .$(suffix), $(addprefix $(pkgname)-, $(versions)))
+sha1s = $(addsuffix .sha1sum, $(tarballs))
+
+
+BUILD_TARGETS = $(tarballs) $(sha1s)
+
+
+include ../../../../build-system/core.mk
+
+
+.PHONY: download_clean
+
+
+$(tarballs):
+ @echo -e "\n======= Downloading source tarballs =======" ; \
+ for tarball in $(tarballs) ; do \
+ echo "$(url)/$$tarball" | xargs -n 1 -P 100 wget $(WGET_OPTIONS) - & \
+ done ; wait
+
+$(sha1s): $(tarballs)
+ @for sha in $@ ; do \
+ echo -e "\n======= Downloading '$$sha' signature =======\n" ; \
+ echo "$(url)/$$sha" | xargs -n 1 -P 100 wget $(WGET_OPTIONS) - & wait %1 ; \
+ touch $$sha ; \
+ echo -e "\n======= Check the '$$sha' sha1sum =======\n" ; \
+ sha1sum --check $$sha ; ret="$$?" ; \
+ if [ "$$ret" == "1" ]; then \
+ echo -e "\n======= ERROR: Bad '$$sha' sha1sum =======\n" ; \
+ exit 1 ; \
+ fi ; \
+ done
+
+download_clean:
+ @rm -f $(tarballs) $(sha1s)
Index: sources/GNOME/core/epiphany
===================================================================
--- sources/GNOME/core/epiphany (nonexistent)
+++ sources/GNOME/core/epiphany (revision 88)
Property changes on: sources/GNOME/core/epiphany
___________________________________________________________________
Added: svn:ignore
## -0,0 +1,74 ##
+
+# install dir
+dist
+
+# Target build dirs
+.a1x-newlib
+.a2x-newlib
+.at91sam7s-newlib
+
+.build-machine
+
+.a1x-glibc
+.a2x-glibc
+.h3-glibc
+.h5-glibc
+.i586-glibc
+.i686-glibc
+.imx6-glibc
+.jz47xx-glibc
+.makefile
+.am335x-glibc
+.omap543x-glibc
+.p5600-glibc
+.power8-glibc
+.power8le-glibc
+.power9-glibc
+.power9le-glibc
+.m1000-glibc
+.riscv64-glibc
+.rk328x-glibc
+.rk33xx-glibc
+.rk339x-glibc
+.rk358x-glibc
+.s8xx-glibc
+.s9xx-glibc
+.x86_64-glibc
+
+# Hidden files (each file)
+.makefile
+.dist
+.rootfs
+
+# src & hw requires
+.src_requires
+.src_requires_depend
+.requires
+.requires_depend
+
+# Tarballs
+*.gz
+*.bz2
+*.lz
+*.xz
+*.tgz
+*.txz
+
+# Signatures
+*.asc
+*.sig
+*.sign
+*.sha1sum
+
+# Patches
+*.patch
+
+# Descriptions
+*.dsc
+*.txt
+
+# Default linux config files
+*.defconfig
+
+# backup copies
+*~
Index: sources/packages/x/webkitgtk/Makefile
===================================================================
--- sources/packages/x/webkitgtk/Makefile (revision 87)
+++ sources/packages/x/webkitgtk/Makefile (revision 88)
@@ -14,7 +14,8 @@
tarballs = $(addsuffix .$(suffix), $(addprefix $(pkgname)-, $(versions)))
sha1s = $(addsuffix .sha1sum, $(tarballs))
-patches = $(CURDIR)/patches/webkitgtk-2.40.1-bwrap-cross.patch
+patches = $(CURDIR)/patches/webkitgtk-2.40.1-arm-neon.patch
+patches += $(CURDIR)/patches/webkitgtk-2.40.1-bwrap-cross.patch
patches += $(CURDIR)/patches/webkitgtk-2.40.1-source-brush.patch
.NOTPARALLEL: $(patches)
@@ -50,6 +51,7 @@
$(patches): $(sha1s)
@echo -e "\n======= Create Patches =======\n" ; \
+ ( cd create-2.40.1-arm-neon-patch ; ./create.patch.sh ) ; \
( cd create-2.40.1-bwrap-cross-patch ; ./create.patch.sh ) ; \
( cd create-2.40.1-source-brush-patch ; ./create.patch.sh ) ; \
echo -e "\n"
Index: sources/packages/x/webkitgtk/create-2.40.1-arm-neon-patch/create.patch.sh
===================================================================
--- sources/packages/x/webkitgtk/create-2.40.1-arm-neon-patch/create.patch.sh (nonexistent)
+++ sources/packages/x/webkitgtk/create-2.40.1-arm-neon-patch/create.patch.sh (revision 88)
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+VERSION=2.40.1
+
+tar --files-from=file.list -xJvf ../webkitgtk-$VERSION.tar.xz
+mv webkitgtk-$VERSION webkitgtk-$VERSION-orig
+
+cp -rf ./webkitgtk-$VERSION-new ./webkitgtk-$VERSION
+
+diff --unified -Nr webkitgtk-$VERSION-orig webkitgtk-$VERSION > webkitgtk-$VERSION-arm-neon.patch
+
+mv webkitgtk-$VERSION-arm-neon.patch ../patches
+
+rm -rf ./webkitgtk-$VERSION
+rm -rf ./webkitgtk-$VERSION-orig
Property changes on: sources/packages/x/webkitgtk/create-2.40.1-arm-neon-patch/create.patch.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: sources/packages/x/webkitgtk/create-2.40.1-arm-neon-patch/file.list
===================================================================
--- sources/packages/x/webkitgtk/create-2.40.1-arm-neon-patch/file.list (nonexistent)
+++ sources/packages/x/webkitgtk/create-2.40.1-arm-neon-patch/file.list (revision 88)
@@ -0,0 +1 @@
+webkitgtk-2.40.1/Source/WTF/wtf/PlatformCPU.h
Index: sources/packages/x/webkitgtk/create-2.40.1-arm-neon-patch/webkitgtk-2.40.1-new/Source/WTF/wtf/PlatformCPU.h
===================================================================
--- sources/packages/x/webkitgtk/create-2.40.1-arm-neon-patch/webkitgtk-2.40.1-new/Source/WTF/wtf/PlatformCPU.h (nonexistent)
+++ sources/packages/x/webkitgtk/create-2.40.1-arm-neon-patch/webkitgtk-2.40.1-new/Source/WTF/wtf/PlatformCPU.h (revision 88)
@@ -0,0 +1,385 @@
+/*
+ * Copyright (C) 2020 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#pragma once
+
+#ifndef WTF_PLATFORM_GUARD_AGAINST_INDIRECT_INCLUSION
+#error "Please #include <wtf/Platform.h> instead of this file directly."
+#endif
+
+/* CPU() - the target CPU architecture */
+#define CPU(WTF_FEATURE) (defined WTF_CPU_##WTF_FEATURE && WTF_CPU_##WTF_FEATURE)
+
+/* ==== CPU() - the target CPU architecture ==== */
+/* CPU(KNOWN) becomes true if we explicitly support a target CPU. */
+
+/* CPU(MIPS) - MIPS 32-bit and 64-bit */
+#if (defined(mips) || defined(__mips__) || defined(MIPS) || defined(_MIPS_) || defined(__mips64))
+#if defined(_ABI64) && (_MIPS_SIM == _ABI64)
+#define WTF_CPU_MIPS64 1
+#define WTF_MIPS_ARCH __mips64
+#else
+#define WTF_CPU_MIPS 1
+#define WTF_MIPS_ARCH __mips
+#endif
+#define WTF_CPU_KNOWN 1
+#define WTF_MIPS_PIC (defined __PIC__)
+#define WTF_MIPS_ISA(v) (defined WTF_MIPS_ARCH && WTF_MIPS_ARCH == v)
+#define WTF_MIPS_ISA_AT_LEAST(v) (defined WTF_MIPS_ARCH && WTF_MIPS_ARCH >= v)
+#define WTF_MIPS_ARCH_REV __mips_isa_rev
+#define WTF_MIPS_ISA_REV(v) (defined WTF_MIPS_ARCH_REV && WTF_MIPS_ARCH_REV == v)
+#define WTF_MIPS_ISA_REV_AT_LEAST(v) (defined WTF_MIPS_ARCH_REV && WTF_MIPS_ARCH_REV >= v)
+#define WTF_MIPS_DOUBLE_FLOAT (defined __mips_hard_float && !defined __mips_single_float)
+#define WTF_MIPS_FP64 (defined __mips_fpr && __mips_fpr == 64)
+#endif
+
+/* CPU(LOONGARCH64) - LOONGARCH64 */
+#if defined(__loongarch64)
+#define WTF_CPU_LOONGARCH64 1
+#define WTF_CPU_KNOWN 1
+#endif
+
+/* CPU(PPC64) - PowerPC 64-bit Big Endian */
+#if ( defined(__ppc64__) \
+ || defined(__PPC64__)) \
+ && defined(__BYTE_ORDER__) \
+ && (__BYTE_ORDER__ == __ORDER_BIG_ENDIAN__)
+#define WTF_CPU_PPC64 1
+#define WTF_CPU_KNOWN 1
+#endif
+
+/* CPU(PPC64LE) - PowerPC 64-bit Little Endian */
+#if ( defined(__ppc64__) \
+ || defined(__PPC64__) \
+ || defined(__ppc64le__) \
+ || defined(__PPC64LE__)) \
+ && defined(__BYTE_ORDER__) \
+ && (__BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__)
+#define WTF_CPU_PPC64LE 1
+#define WTF_CPU_KNOWN 1
+#endif
+
+/* CPU(PPC) - PowerPC 32-bit */
+#if ( defined(__ppc__) \
+ || defined(__PPC__) \
+ || defined(__powerpc__) \
+ || defined(__powerpc) \
+ || defined(__POWERPC__) \
+ || defined(_M_PPC) \
+ || defined(__PPC)) \
+ && !CPU(PPC64) \
+ && CPU(BIG_ENDIAN)
+#define WTF_CPU_PPC 1
+#define WTF_CPU_KNOWN 1
+#endif
+
+/* CPU(X86) - i386 / x86 32-bit */
+#if defined(__i386__) \
+ || defined(i386) \
+ || defined(_M_IX86) \
+ || defined(_X86_) \
+ || defined(__THW_INTEL)
+#define WTF_CPU_X86 1
+#define WTF_CPU_KNOWN 1
+
+#if defined(__SSE2__) || (defined(_M_IX86_FP) && _M_IX86_FP >= 2)
+#define WTF_CPU_X86_SSE2 1
+#endif
+
+#endif
+
+/* CPU(X86_64) - AMD64 / Intel64 / x86_64 64-bit */
+#if defined(__x86_64__) \
+ || defined(_M_X64)
+#define WTF_CPU_X86_64 1
+#define WTF_CPU_X86_SSE2 1
+#define WTF_CPU_KNOWN 1
+#endif
+
+/* CPU(ARM64) */
+#if defined(__arm64__) || defined(__aarch64__)
+#define WTF_CPU_ARM64 1
+#define WTF_CPU_KNOWN 1
+
+#if defined(__arm64e__)
+#define WTF_CPU_ARM64E 1
+#endif
+#endif
+
+/* CPU(ARM) - ARM, any version*/
+#define WTF_ARM_ARCH_AT_LEAST(N) (CPU(ARM) && WTF_ARM_ARCH_VERSION >= N)
+
+#if defined(arm) \
+ || defined(__arm__) \
+ || defined(ARM) \
+ || defined(_ARM_)
+#define WTF_CPU_ARM 1
+#define WTF_CPU_KNOWN 1
+
+#if defined(__ARM_PCS_VFP)
+#define WTF_CPU_ARM_HARDFP 1
+#endif
+
+/* Set WTF_ARM_ARCH_VERSION */
+#if defined(__ARM_ARCH_4__) \
+ || defined(__ARM_ARCH_4T__) \
+ || defined(__MARM_ARMV4__)
+#define WTF_ARM_ARCH_VERSION 4
+
+#elif defined(__ARM_ARCH_5__) \
+ || defined(__ARM_ARCH_5T__) \
+ || defined(__MARM_ARMV5__)
+#define WTF_ARM_ARCH_VERSION 5
+
+#elif defined(__ARM_ARCH_5E__) \
+ || defined(__ARM_ARCH_5TE__) \
+ || defined(__ARM_ARCH_5TEJ__)
+#define WTF_ARM_ARCH_VERSION 5
+
+#elif defined(__ARM_ARCH_6__) \
+ || defined(__ARM_ARCH_6J__) \
+ || defined(__ARM_ARCH_6K__) \
+ || defined(__ARM_ARCH_6Z__) \
+ || defined(__ARM_ARCH_6ZK__) \
+ || defined(__ARM_ARCH_6T2__) \
+ || defined(__ARMV6__)
+#define WTF_ARM_ARCH_VERSION 6
+
+#elif defined(__ARM_ARCH_7A__) \
+ || defined(__ARM_ARCH_7K__) \
+ || defined(__ARM_ARCH_7R__) \
+ || defined(__ARM_ARCH_7S__)
+#define WTF_ARM_ARCH_VERSION 7
+
+#elif defined(__ARM_ARCH_8__) \
+ || defined(__ARM_ARCH_8A__)
+#define WTF_ARM_ARCH_VERSION 8
+
+/* MSVC sets _M_ARM */
+#elif defined(_M_ARM)
+#define WTF_ARM_ARCH_VERSION _M_ARM
+
+/* RVCT sets _TARGET_ARCH_ARM */
+#elif defined(__TARGET_ARCH_ARM)
+#define WTF_ARM_ARCH_VERSION __TARGET_ARCH_ARM
+
+#else
+#define WTF_ARM_ARCH_VERSION 0
+
+#endif
+
+/* FIXME: WTF_THUMB_ARCH_VERSION seems unused. Remove. */
+/* Set WTF_THUMB_ARCH_VERSION */
+#if defined(__ARM_ARCH_4T__)
+#define WTF_THUMB_ARCH_VERSION 1
+
+#elif defined(__ARM_ARCH_5T__) \
+ || defined(__ARM_ARCH_5TE__) \
+ || defined(__ARM_ARCH_5TEJ__)
+#define WTF_THUMB_ARCH_VERSION 2
+
+#elif defined(__ARM_ARCH_6J__) \
+ || defined(__ARM_ARCH_6K__) \
+ || defined(__ARM_ARCH_6Z__) \
+ || defined(__ARM_ARCH_6ZK__) \
+ || defined(__ARM_ARCH_6M__)
+#define WTF_THUMB_ARCH_VERSION 3
+
+#elif defined(__ARM_ARCH_6T2__) \
+ || defined(__ARM_ARCH_7__) \
+ || defined(__ARM_ARCH_7A__) \
+ || defined(__ARM_ARCH_7K__) \
+ || defined(__ARM_ARCH_7M__) \
+ || defined(__ARM_ARCH_7R__) \
+ || defined(__ARM_ARCH_7S__) \
+ || defined(__ARM_ARCH_8__) \
+ || defined(__ARM_ARCH_8A__)
+#define WTF_THUMB_ARCH_VERSION 4
+
+/* RVCT sets __TARGET_ARCH_THUMB */
+#elif defined(__TARGET_ARCH_THUMB)
+#define WTF_THUMB_ARCH_VERSION __TARGET_ARCH_THUMB
+
+#else
+#define WTF_THUMB_ARCH_VERSION 0
+#endif
+
+
+/* FIXME: CPU(ARMV5_OR_LOWER) seems unused. Remove. */
+/* CPU(ARMV5_OR_LOWER) - ARM instruction set v5 or earlier */
+/* On ARMv5 and below the natural alignment is required.
+ And there are some other differences for v5 or earlier. */
+#if !defined(ARMV5_OR_LOWER) && !WTF_ARM_ARCH_AT_LEAST(6)
+#define WTF_CPU_ARMV5_OR_LOWER 1
+#endif
+
+
+/* CPU(ARM_TRADITIONAL) - Thumb2 is not available, only traditional ARM (v4 or greater) */
+/* CPU(ARM_THUMB2) - Thumb2 instruction set is available */
+/* Only one of these will be defined. */
+#if !defined(WTF_CPU_ARM_TRADITIONAL) && !defined(WTF_CPU_ARM_THUMB2)
+# if defined(thumb2) || defined(__thumb2__) \
+ || ((defined(__thumb) || defined(__thumb__)) && WTF_THUMB_ARCH_VERSION == 4)
+# define WTF_CPU_ARM_TRADITIONAL 0
+# define WTF_CPU_ARM_THUMB2 1
+# elif WTF_ARM_ARCH_AT_LEAST(4)
+# define WTF_CPU_ARM_TRADITIONAL 1
+# define WTF_CPU_ARM_THUMB2 0
+# else
+# error "Not supported ARM architecture"
+# endif
+#elif CPU(ARM_TRADITIONAL) && CPU(ARM_THUMB2) /* Sanity Check */
+# error "Cannot use both of WTF_CPU_ARM_TRADITIONAL and WTF_CPU_ARM_THUMB2 platforms"
+#endif /* !defined(WTF_CPU_ARM_TRADITIONAL) && !defined(WTF_CPU_ARM_THUMB2) */
+
+#if (defined(__VFP_FP__) && !defined(__SOFTFP__))
+#define WTF_CPU_ARM_VFP 1
+#endif
+
+/* If CPU(ARM_NEON) is not enabled, we'll conservatively assume only VFP2 or VFPv3D16
+ support is available. Hence, only the first 16 64-bit floating point registers
+ are available. See:
+ NEON registers: http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0473c/CJACABEJ.html
+ VFP2 and VFP3 registers: http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0473c/CIHDIBDG.html
+ NEON to VFP register mapping: http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0473c/CJAIJHFC.html
+*/
+#if CPU(ARM_NEON)
+#define WTF_CPU_ARM_VFP_V3_D32 1
+#else
+#define WTF_CPU_ARM_VFP_V2 1
+#endif
+
+#if defined(__ARM_ARCH_7K__)
+#define WTF_CPU_APPLE_ARMV7K 1
+#endif
+
+#if defined(__ARM_ARCH_7S__)
+#define WTF_CPU_APPLE_ARMV7S 1
+#endif
+
+#endif /* ARM */
+
+/* CPU(RISCV64) - RISC-V 64-bit */
+#if defined(__riscv) \
+ && defined(__riscv_xlen) \
+ && (__riscv_xlen == 64)
+#define WTF_CPU_RISCV64 1
+#define WTF_CPU_KNOWN 1
+#endif
+
+#if !CPU(KNOWN)
+#define WTF_CPU_UNKNOWN 1
+#endif
+
+#if CPU(ARM) || CPU(MIPS) || CPU(RISCV64) || CPU(UNKNOWN)
+#define WTF_CPU_NEEDS_ALIGNED_ACCESS 1
+#endif
+
+#if COMPILER(GCC_COMPATIBLE)
+/* __LP64__ is not defined on 64bit Windows since it uses LLP64. Using __SIZEOF_POINTER__ is simpler. */
+#if __SIZEOF_POINTER__ == 8
+#define WTF_CPU_ADDRESS64 1
+#elif __SIZEOF_POINTER__ == 4
+#define WTF_CPU_ADDRESS32 1
+#else
+#error "Unsupported pointer width"
+#endif
+#elif COMPILER(MSVC)
+#if defined(_WIN64)
+#define WTF_CPU_ADDRESS64 1
+#else
+#define WTF_CPU_ADDRESS32 1
+#endif
+#else
+/* This is the most generic way. But in OS(DARWIN), Platform.h can be included by sandbox definition file (.sb).
+ * At that time, we cannot include "stdint.h" header. So in the case of known compilers, we use predefined constants instead. */
+#include <stdint.h>
+#if UINTPTR_MAX > UINT32_MAX
+#define WTF_CPU_ADDRESS64 1
+#else
+#define WTF_CPU_ADDRESS32 1
+#endif
+#endif
+
+/* CPU general purpose register width. */
+#if !defined(WTF_CPU_REGISTER64) && !defined(WTF_CPU_REGISTER32)
+#if CPU(ADDRESS64) || CPU(ARM64)
+#define WTF_CPU_REGISTER64 1
+#else
+#define WTF_CPU_REGISTER32 1
+#endif
+#endif
+
+/* CPU(BIG_ENDIAN) or CPU(MIDDLE_ENDIAN) or neither, as appropriate. */
+
+#if COMPILER(GCC_COMPATIBLE)
+#if __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
+#define WTF_CPU_BIG_ENDIAN 1
+#elif __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
+#define WTF_CPU_LITTLE_ENDIAN 1
+#elif __BYTE_ORDER__ == __ORDER_PDP_ENDIAN__
+#define WTF_CPU_MIDDLE_ENDIAN 1
+#else
+#error "Unknown endian"
+#endif
+#else
+#if defined(WIN32) || defined(_WIN32)
+/* Windows only have little endian architecture. */
+#define WTF_CPU_LITTLE_ENDIAN 1
+#else
+#include <sys/types.h>
+#if __has_include(<endian.h>)
+#include <endian.h>
+#if __BYTE_ORDER == __BIG_ENDIAN
+#define WTF_CPU_BIG_ENDIAN 1
+#elif __BYTE_ORDER == __LITTLE_ENDIAN
+#define WTF_CPU_LITTLE_ENDIAN 1
+#elif __BYTE_ORDER == __PDP_ENDIAN
+#define WTF_CPU_MIDDLE_ENDIAN 1
+#else
+#error "Unknown endian"
+#endif
+#else
+#if __has_include(<machine/endian.h>)
+#include <machine/endian.h>
+#else
+#include <sys/endian.h>
+#endif
+#if BYTE_ORDER == BIG_ENDIAN
+#define WTF_CPU_BIG_ENDIAN 1
+#elif BYTE_ORDER == LITTLE_ENDIAN
+#define WTF_CPU_LITTLE_ENDIAN 1
+#elif BYTE_ORDER == PDP_ENDIAN
+#define WTF_CPU_MIDDLE_ENDIAN 1
+#else
+#error "Unknown endian"
+#endif
+#endif
+#endif
+#endif
+
+#if !CPU(LITTLE_ENDIAN) && !CPU(BIG_ENDIAN)
+#error "Unsupported endian"
+#endif
Index: sources/packages/x/webkitgtk/create-2.40.1-bwrap-cross-patch/file.list
===================================================================
--- sources/packages/x/webkitgtk/create-2.40.1-bwrap-cross-patch/file.list (revision 87)
+++ sources/packages/x/webkitgtk/create-2.40.1-bwrap-cross-patch/file.list (revision 88)
@@ -1 +1,6 @@
-webkitgtk-2.40.1/Source/cmake/BubblewrapSandboxChecks.cmake
+webkitgtk-2.40.1-new
+└── Source
+ └── cmake
+ └── BubblewrapSandboxChecks.cmake
+
+2 directories, 1 file