Bump
This commit is contained in:
4
dev-qt/qtbluetooth/Manifest
Normal file
4
dev-qt/qtbluetooth/Manifest
Normal file
@@ -0,0 +1,4 @@
|
||||
DIST qtconnectivity-5.15.17-gentoo-kde-1.tar.xz 3784 BLAKE2B d34339bdc677b8d2390014cee37b213efefb51d053c5c727945240660d10532bb847e1b1cda0a6f542271a7844f78b8ef9b0c6bee4b8c4d1f9a738276310c073 SHA512 6aa31049a283bd47708b28358b19b8f881cf5ec1f6a696be0f53a1710e0f5bc814d0b2199130bef8efcf00754a6aabf166da73d78aa60b97254ebdd2d287a43c
|
||||
DIST qtconnectivity-everywhere-opensource-src-5.15.17.tar.xz 2822676 BLAKE2B 74525157ef1657d9400dcefc75bfa5b25b5ef1afac1cec89d4eae770f95488ce4036abb5c1b6851061e53f9d60dbb4e859e5f1d0085bdd1295815be6460967e1 SHA512 6f974d7a4fa91037df42f017bc68c6a4ab97824e18e18a252fed906ce404d6f0925260ba06e6bf4831c48a02de7c3c00efce4638111700adbd3840151f087e19
|
||||
EBUILD qtbluetooth-5.15.17.ebuild 692 BLAKE2B 86b2c4c3bd8873f259b7bdac7b30cc1c255604f6127d4a7bfc6f3847fd3064d409cb867e2951187edf15c48716a851747da3a4a5e48628a2dbb27d7aafd673a0 SHA512 c9a1a869996141743c017daae0cb2f2fd095b6f16ac1f9436ece7e22fe2f5720b3bef02bdaa6fd62a3b1c4818db9366c0874586bafe085391840a11d45a583f8
|
||||
MISC metadata.xml 562 BLAKE2B 89a71be78fc40c86d01afd963f8a8519410086f36b572707e8029ea58e900d7e9563eb1b94fec26c2e078395bfa9ef20149fd8c0b2a5d6c3699198890215ebe7 SHA512 85467596f68320b2cd8440f9587f88992d36915b906a5b9139b29e07a9db9ca31853ae7c379bf90e9178e407ab3e526187ed761cd8cfa155658491ef68bbcf30
|
||||
20
dev-qt/qtbluetooth/metadata.xml
Normal file
20
dev-qt/qtbluetooth/metadata.xml
Normal file
@@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>qt@gentoo.org</email>
|
||||
<name>Gentoo Qt Project</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="qml">Build QML/QtQuick bindings and imports</flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<bugs-to>https://bugreports.qt.io/</bugs-to>
|
||||
<doc>https://doc.qt.io/</doc>
|
||||
</upstream>
|
||||
<slots>
|
||||
<subslots>
|
||||
Must only be used by packages that are known to use private parts of the Qt API.
|
||||
</subslots>
|
||||
</slots>
|
||||
</pkgmetadata>
|
||||
34
dev-qt/qtbluetooth/qtbluetooth-5.15.17.ebuild
Normal file
34
dev-qt/qtbluetooth/qtbluetooth-5.15.17.ebuild
Normal file
@@ -0,0 +1,34 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
if [[ ${PV} != *9999* ]]; then
|
||||
QT5_KDEPATCHSET_REV=1
|
||||
KEYWORDS="amd64 arm arm64 ~loong ~ppc64 ~riscv x86"
|
||||
fi
|
||||
|
||||
QT5_MODULE="qtconnectivity"
|
||||
inherit qt5-build
|
||||
|
||||
DESCRIPTION="Bluetooth support library for the Qt5 framework"
|
||||
|
||||
IUSE="qml"
|
||||
|
||||
DEPEND="
|
||||
=dev-qt/qtconcurrent-${QT5_PV}*
|
||||
=dev-qt/qtcore-${QT5_PV}*:5=
|
||||
=dev-qt/qtdbus-${QT5_PV}*
|
||||
=dev-qt/qtnetwork-${QT5_PV}*
|
||||
>=net-wireless/bluez-5:=
|
||||
qml? ( =dev-qt/qtdeclarative-${QT5_PV}* )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e 's/nfc//' src/src.pro || die
|
||||
|
||||
qt_use_disable_mod qml quick src/src.pro
|
||||
|
||||
qt5-build_src_prepare
|
||||
}
|
||||
3
dev-qt/qtgamepad/Manifest
Normal file
3
dev-qt/qtgamepad/Manifest
Normal file
@@ -0,0 +1,3 @@
|
||||
DIST qtgamepad-everywhere-opensource-src-5.15.17.tar.xz 382748 BLAKE2B 286eb370b7be4f77627de9fc98d7ca19a058651c511fa1a4da71b8af189f20b3bea52d4d177c103cba8fc1e1a0602f38eb3cfa86d8340b3660db44b1e1fe9acf SHA512 cdf9d4ffb965e70e1c2b5bf8cc9a59997dffd49c66d86bf15b957fa45dffe2c7e82ae0d44b231a14cd17ed6a515dbc5e2cf14ace38b4d1724d76923fb4a734fa
|
||||
EBUILD qtgamepad-5.15.17.ebuild 723 BLAKE2B 6e4dec6030921df33431b2638096959cc9b6c5b51ec98a34fb135274408fe26f6d4c553169394afd977f5e99ddce0bd6792af52eab130836f755bf7a76f8a133 SHA512 595c1f674d58c5473d60d68a13e9777d12d920ed96a5d5b4264a6929c83cad01c9c57dbd44641ca6eac33719f27a49649b979adf9dfe522034714f6cc458f09b
|
||||
MISC metadata.xml 613 BLAKE2B 02cac703ee9a9083829e963e9bc97424b58a36949b8237157976d9628f9623f806dee434e5eea3b63a1f2a4ac06509a3d0f0cd094590f12cb3b97ee09f9d6cf1 SHA512 9304973708ee729dc06cef8ac5b206a21ada747ca4efb36e2fc21007da61bfaf43947319be20b0ce73411f5eda2d13a4b226503c12b1d094d5f9180e84579432
|
||||
21
dev-qt/qtgamepad/metadata.xml
Normal file
21
dev-qt/qtgamepad/metadata.xml
Normal file
@@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>qt@gentoo.org</email>
|
||||
<name>Gentoo Qt Project</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="evdev">Enable support for input devices via evdev</flag>
|
||||
<flag name="qml">Build QML bindings</flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<bugs-to>https://bugreports.qt.io/</bugs-to>
|
||||
<doc>https://doc.qt.io/</doc>
|
||||
</upstream>
|
||||
<slots>
|
||||
<subslots>
|
||||
Must only be used by packages that are known to use private parts of the Qt API.
|
||||
</subslots>
|
||||
</slots>
|
||||
</pkgmetadata>
|
||||
36
dev-qt/qtgamepad/qtgamepad-5.15.17.ebuild
Normal file
36
dev-qt/qtgamepad/qtgamepad-5.15.17.ebuild
Normal file
@@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit qt5-build
|
||||
|
||||
DESCRIPTION="Qt module to support gamepad hardware"
|
||||
|
||||
if [[ ${QT5_BUILD_TYPE} == release ]]; then
|
||||
KEYWORDS="amd64 ~arm arm64 ~riscv x86"
|
||||
fi
|
||||
|
||||
IUSE="evdev qml sdl"
|
||||
|
||||
DEPEND="
|
||||
=dev-qt/qtcore-${QT5_PV}*
|
||||
=dev-qt/qtgui-${QT5_PV}*[evdev?]
|
||||
evdev? ( virtual/libudev:= )
|
||||
qml? ( =dev-qt/qtdeclarative-${QT5_PV}* )
|
||||
sdl? ( media-libs/libsdl2 )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
qt_use_disable_mod qml quick \
|
||||
src/src.pro
|
||||
|
||||
qt_use_disable_config evdev evdev \
|
||||
src/plugins/gamepads/gamepads.pro
|
||||
|
||||
qt_use_disable_config sdl sdl2 \
|
||||
src/plugins/gamepads/gamepads.pro
|
||||
|
||||
qt5-build_src_prepare
|
||||
}
|
||||
@@ -1,5 +1,8 @@
|
||||
DIST qtlocation-5.15.11-patchset.tar.xz 4796 BLAKE2B dcfa75bd3fb2e9069e1a530c27e2b4e9ac921fcf0ccb712f0894375b575ba25103948c6e5b85b56a8f9c9f2d7edf7df8e38501e93356e69f060b577a04c2d221 SHA512 14bd2864abc6f446dc4fbac03548cb42305685b46db757d856360780144095a021130bc0ebf1d07a516dc7991dc0cfbf733bd0ef6be58237bc15822c21af1d0b
|
||||
DIST qtlocation-everywhere-opensource-src-5.15.16.tar.xz 6548480 BLAKE2B 9f6d66d22f4ad45935e3e76e275866b236cd842b7a17a3a9e6553f75dcf3048cd70e0b046d5d08c57d4c9d7ea73f723b210d044f44bf494cafbbff590b0703e5 SHA512 321a8e68f731a97c7ef0209d6db0ff4891dd14dc43e14f5c4c5ac763069c7f17298fbc6410326df9265ccd631372cdba662fc82e26a324936d371c8572e19a48
|
||||
DIST qtlocation-everywhere-opensource-src-5.15.17.tar.xz 6550288 BLAKE2B 3c83702a55a0dc1dc000a918f0b4d5b8694c1f51454db79bd01f25e9aec72531195286f4114cee68245a4b18e9de13ec192412f092d35b45caac10227a83a092 SHA512 0f4a317948f46b58497d5d08a91c887c80f74e256d899816d5ec73120dd1931ae6129f6a16bd93b6fc2285141956e0f2c6e6ddebe5c536423fbb6314f4558473
|
||||
DIST qtlocation-mapboxgl-5.15.16-35d56672.tar.gz 3726302 BLAKE2B f51c0589a06fab35ba85b3bf4ca8a1904cda5aec47b17fdf747da527d02be623a76b1af5883b33267fab825a4b5d0863ea0220f2907e98e286b40d4a0bbc82e5 SHA512 5c2ff6ab7e4382d87546a802c5603bdcec3deb7fbb836fc981292c67660514caaa6118e164d2e099d0304710035572706562ec84e4aba5ce36b01cade8b0993e
|
||||
DIST qtlocation-mapboxgl-5.15.17-35d56672.tar.gz 3726302 BLAKE2B f51c0589a06fab35ba85b3bf4ca8a1904cda5aec47b17fdf747da527d02be623a76b1af5883b33267fab825a4b5d0863ea0220f2907e98e286b40d4a0bbc82e5 SHA512 5c2ff6ab7e4382d87546a802c5603bdcec3deb7fbb836fc981292c67660514caaa6118e164d2e099d0304710035572706562ec84e4aba5ce36b01cade8b0993e
|
||||
EBUILD qtlocation-5.15.16-r1.ebuild 1629 BLAKE2B 93af70522115073f42fcc8b073cd515c547f4be99a98bd8352fee740690fbbd0c5cba351f54ec0038dfc0c21bacd78f7bcba0a8d9cb02145a2748d4a5f371de6 SHA512 b21a9278eac1accf942ae82bb066991d5aacf59e43412a47e68b88a6b9bb0abf59347c310ca8988e248242b701a496862108e489da00ad7b537b6e6459aa61d3
|
||||
EBUILD qtlocation-5.15.17.ebuild 1629 BLAKE2B 93af70522115073f42fcc8b073cd515c547f4be99a98bd8352fee740690fbbd0c5cba351f54ec0038dfc0c21bacd78f7bcba0a8d9cb02145a2748d4a5f371de6 SHA512 b21a9278eac1accf942ae82bb066991d5aacf59e43412a47e68b88a6b9bb0abf59347c310ca8988e248242b701a496862108e489da00ad7b537b6e6459aa61d3
|
||||
MISC metadata.xml 535 BLAKE2B 061ed9abebe579a38a262451a5e72d112adbcf4693078042f3b55be8d16b7bd430198edb732cd127deccf8c67d444b9951dd7ac8e2d0fef7de02913a3a8ba644 SHA512 823b03655b8bbb923d38d4f8358898beb2e2fa34d36e2d8d843e164027d58eb044a3e661b8dfc12cda123f15fd07d0987874b81543c47e46c670c25fa35dde87
|
||||
|
||||
59
dev-qt/qtlocation/qtlocation-5.15.17.ebuild
Normal file
59
dev-qt/qtlocation/qtlocation-5.15.17.ebuild
Normal file
@@ -0,0 +1,59 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PATCHSET="${PN}-5.15.11-patchset"
|
||||
inherit qt5-build
|
||||
|
||||
DESCRIPTION="Location (places, maps, navigation) library for the Qt5 framework"
|
||||
|
||||
if [[ ${QT5_BUILD_TYPE} == release ]]; then
|
||||
MAPBOXGL_COMMIT=35d566724c48180c9a372c2ed50a253871a51574
|
||||
SRC_URI+=" https://invent.kde.org/qt/qt/${PN}-mapboxgl/-/archive/${MAPBOXGL_COMMIT}/${PN}-mapboxgl-${MAPBOXGL_COMMIT}.tar.gz -> ${PN}-mapboxgl-${PV}-${MAPBOXGL_COMMIT:0:8}.tar.gz
|
||||
https://dev.gentoo.org/~asturm/distfiles/${PATCHSET}.tar.xz"
|
||||
KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv x86"
|
||||
fi
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/icu:=
|
||||
=dev-qt/qtcore-${QT5_PV}*
|
||||
=dev-qt/qtdeclarative-${QT5_PV}*
|
||||
=dev-qt/qtgui-${QT5_PV}*
|
||||
=dev-qt/qtnetwork-${QT5_PV}*
|
||||
=dev-qt/qtpositioning-${QT5_PV}*[qml]
|
||||
=dev-qt/qtsql-${QT5_PV}*
|
||||
sys-libs/zlib
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
=dev-qt/qtconcurrent-${QT5_PV}*
|
||||
"
|
||||
|
||||
QT5_TARGET_SUBDIRS=(
|
||||
src/3rdparty/clipper
|
||||
src/3rdparty/poly2tri
|
||||
src/3rdparty/clip2tri
|
||||
src/3rdparty/mapbox-gl-native
|
||||
src/location
|
||||
src/imports/location
|
||||
src/imports/locationlabs
|
||||
src/plugins/geoservices
|
||||
)
|
||||
|
||||
if [[ ${QT5_BUILD_TYPE} == release ]]; then
|
||||
|
||||
PATCHES=( "${WORKDIR}/${PATCHSET}" )
|
||||
|
||||
src_prepare() {
|
||||
rm -rf src/3rdparty/mapbox-gl-native/* || die
|
||||
mv "${WORKDIR}"/${PN}-mapboxgl-${MAPBOXGL_COMMIT}/* src/3rdparty/mapbox-gl-native || die
|
||||
qt5-build_src_prepare
|
||||
}
|
||||
fi
|
||||
|
||||
src_configure() {
|
||||
# src/plugins/geoservices requires files that are only generated when
|
||||
# qmake is run in the root directory. Bug 633776.
|
||||
qt5_configure_oos_quirk qtlocation-config.pri src/location
|
||||
qt5-build_src_configure
|
||||
}
|
||||
@@ -1,3 +1,5 @@
|
||||
DIST qtsensors-everywhere-opensource-src-5.15.16.tar.xz 2051048 BLAKE2B 85fa8c67639751676ffa1ccd5ad1a89efbaed56f4bd39e99fd88bd25924d8cfc08d67a4f8f20878bac82a91f5768d60b5576e3799fc80221f2f6f7e7ac9994be SHA512 2bd63e07a996f5377bda885e7218fc218fc981bf2a637b3d939ae5913bbffe2a797716b0aaa63e61c7e1384f07712de8683787590649a8f01a424b7f4526502b
|
||||
DIST qtsensors-everywhere-opensource-src-5.15.17.tar.xz 2052824 BLAKE2B cf20931983d0c18cc88fd4f61701dec6c9cb22c024d054ca8dc80e8dd7ab583eac5ac6150681ea21f90ba0f3cd239753e2942bcde5b88498c17e902cf9bcaa46 SHA512 e3431f735d06d304b8312a273c6b12b39cba98a9e94897156921a3f6f45bccef2bb232db4872ea6c3bef5c636f07bf8c8cb9404a7b32b6643d7748d900b16adb
|
||||
EBUILD qtsensors-5.15.16.ebuild 559 BLAKE2B 411fcb30161c3700e93390c31ebc2b030ed91cfea3980da4eb860867d82180b73beea77a09b2c17956dff0ddd63ae4ba86bab6ff7318fa301bb3a9fceaf8caf1 SHA512 285fe9deab6c60bc5c151478fcb8fce78b55dc88af04b5216015f1e24ae4a2d991bef97757f1301da625263af625fe06121048a4f41bf46baa2ba596c1a1de8e
|
||||
EBUILD qtsensors-5.15.17.ebuild 559 BLAKE2B 411fcb30161c3700e93390c31ebc2b030ed91cfea3980da4eb860867d82180b73beea77a09b2c17956dff0ddd63ae4ba86bab6ff7318fa301bb3a9fceaf8caf1 SHA512 285fe9deab6c60bc5c151478fcb8fce78b55dc88af04b5216015f1e24ae4a2d991bef97757f1301da625263af625fe06121048a4f41bf46baa2ba596c1a1de8e
|
||||
MISC metadata.xml 594 BLAKE2B 93f6b9de5266ef5bba3342d149afd04d4fdb27cac760d91b7dfb866d81ff4d4e86a3de1a512815444aa825350dad45923437f5caa7fea7cf6066667f2328d00e SHA512 68d91bcb4c8904a65021a81b01474081565e55c6776d29b54a70318282ce604f8e29e75f3d7574aedf9397ec72b2c6bd1e81ed4e630a4ecf553e070baebd9d64
|
||||
|
||||
29
dev-qt/qtsensors/qtsensors-5.15.17.ebuild
Normal file
29
dev-qt/qtsensors/qtsensors-5.15.17.ebuild
Normal file
@@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit qt5-build
|
||||
|
||||
DESCRIPTION="Hardware sensor access library for the Qt5 framework"
|
||||
|
||||
if [[ ${QT5_BUILD_TYPE} == release ]]; then
|
||||
KEYWORDS="amd64 arm arm64 ~hppa ~loong ~ppc ppc64 ~riscv x86"
|
||||
fi
|
||||
|
||||
# TODO: simulator
|
||||
IUSE="qml"
|
||||
|
||||
RDEPEND="
|
||||
=dev-qt/qtcore-${QT5_PV}*
|
||||
=dev-qt/qtdbus-${QT5_PV}*
|
||||
qml? ( =dev-qt/qtdeclarative-${QT5_PV}* )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
qt_use_disable_mod qml quick \
|
||||
src/src.pro
|
||||
|
||||
qt5-build_src_prepare
|
||||
}
|
||||
2
dev-qt/qtvirtualkeyboard/Manifest
Normal file
2
dev-qt/qtvirtualkeyboard/Manifest
Normal file
@@ -0,0 +1,2 @@
|
||||
DIST qtvirtualkeyboard-everywhere-opensource-src-5.15.17.tar.xz 10947852 BLAKE2B e3474c453d00389746d4c79bff468b30efc943e5ed10fc0e4e7c93e0aa3d74a9a4322d453af68b361e9d627a9c381f68d2fd108c011e39aeca2af9dfa1b33ff2 SHA512 abb603b8ab993c30d213ce20cab52271350354683cd0291d90a7aa9ae8cc25e6226c35295f589d2cf17819931a43ec8b4586f63348667cba16870061509fbd3d
|
||||
EBUILD qtvirtualkeyboard-5.15.17.ebuild 1214 BLAKE2B a2d1b8ccf58d8236afd410c626b28d6ef7cbbbd678620335d0f9f1f0f623d36c5185e5d7cb469d5e48a0759135a045c83afe88c409a764d87c97de88d5513ad3 SHA512 a5ee55fa5a05d94e62e6c5ee5d5abb10f3243985f9d04d9b57df175864ef2c73fb82ba0ece7bf2710e4ad4ad47c8da190a7f085f291e6f5f5786df681c76b08d
|
||||
42
dev-qt/qtvirtualkeyboard/qtvirtualkeyboard-5.15.17.ebuild
Normal file
42
dev-qt/qtvirtualkeyboard/qtvirtualkeyboard-5.15.17.ebuild
Normal file
@@ -0,0 +1,42 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
if [[ ${PV} != *9999* ]]; then
|
||||
KEYWORDS="amd64 arm arm64 ~loong ~ppc64 ~riscv x86"
|
||||
fi
|
||||
|
||||
inherit qt5-build
|
||||
|
||||
DESCRIPTION="Customizable input framework and virtual keyboard for Qt"
|
||||
|
||||
# TODO: unbundle libraries for more layouts
|
||||
IUSE="handwriting +spell +X"
|
||||
|
||||
DEPEND="
|
||||
=dev-qt/qtcore-${QT5_PV}*
|
||||
=dev-qt/qtdeclarative-${QT5_PV}*
|
||||
=dev-qt/qtgui-${QT5_PV}*
|
||||
=dev-qt/qtsvg-${QT5_PV}*
|
||||
spell? ( app-text/hunspell:= )
|
||||
X? ( x11-libs/libxcb:= )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_configure() {
|
||||
local myqmakeargs=(
|
||||
$(usev handwriting CONFIG+=lipi-toolkit)
|
||||
$(usev !spell CONFIG+=disable-hunspell)
|
||||
$(usev !X CONFIG+=disable-desktop)
|
||||
CONFIG+="lang-ar_AR lang-bg_BG lang-cs_CZ lang-da_DK lang-de_DE \
|
||||
lang-el_GR lang-en_GB lang-en_US lang-es_ES lang-es_MX \
|
||||
lang-et_EE lang-fa_FA lang-fi_FI lang-fr_CA lang-fr_FR \
|
||||
lang-he_IL lang-hi_IN lang-hr_HR lang-hu_HU lang-id_ID \
|
||||
lang-it_IT lang-ms_MY lang-nb_NO lang-nl_NL lang-pl_PL \
|
||||
lang-pt_BR lang-pt_PT lang-ro_RO lang-ru_RU lang-sk_SK \
|
||||
lang-sl_SI lang-sq_AL lang-sr_SP lang-sv_SE lang-tr_TR \
|
||||
lang-uk_UA lang-vi_VN"
|
||||
)
|
||||
qt5-build_src_configure
|
||||
}
|
||||
12
dev-qt/qtwebengine/Manifest
Normal file
12
dev-qt/qtwebengine/Manifest
Normal file
@@ -0,0 +1,12 @@
|
||||
AUX qt5-webengine-ninja-1.12.patch 512 BLAKE2B 9bd8a09d818f0fbe911182e1ae0b57f45c85f7087bc8cbca7bb52215b1e300b2ac81117742e0a345de302d0fa8d99bee6ac0761f574c83fe387d660941b082bc SHA512 e8ab97a38c8ed6cce288e4416fb2fe4c2412c89478b173c5265e894a084b955f1877fbd48e54b28b2b6c717e3cde08f03d6d98a4d8ec3ecc858dc7e38c80a06b
|
||||
AUX qtwebengine-5.15.13_p20240510-gcc15.patch 1308 BLAKE2B d206c6df9b88f706ade2f501548d880692ac032dd4767a279faf90e546eca9390f7a4c89f2fd23cc7d9e865bc27b0da398c60de2440ba1cd0a10cb5ccfb86e28 SHA512 fb5162c3ea8865fc81762c5571ddc63efac89dbcb6029a1b749a07f5944cf9007d92a24b764459301a1292ccbc057bee415f5dd86c75ae2a53981bad31e4e148
|
||||
AUX qtwebengine-5.15.14_p20240510-gcc15-cstdint.patch 5506 BLAKE2B 2e31854e3beef5f25300a9b12158e9eabb674d54c07b563a4a7ffafe5c06dabdd808a776d4155f23ee7f0a917970d614f9060428ba8613d6cf15228bfc9d6b4c SHA512 e536d79f8841816858b5bd92adba6a862bce7149cc66c010885b82c8c92502a81e3fdb0038b21eafbdf046432a3b2c4c95b0352a608c0a99d0868813d56f00aa
|
||||
AUX qtwebengine-5.15.14_p20240510-gcc15-template-id-cdtor.patch 3299 BLAKE2B 2809e25858ac17f776bd20fdcbc4c8b658b7f2587390dfbce133939ddd11134a71b6f139f39b9bf46a5e99a7d8335d5242d3a2caad832e6252d817504b6e6e12 SHA512 cbef06092de6337b4559d44443947e9578d127f4d319027550de7c4289665e0d516e5229cc0f9a0855691ceb62cdd32fb5a5fb88ff6cfbe28e1985aae9828ed7
|
||||
AUX qtwebengine-5.15.14_p20240510-icu-75.patch 5107 BLAKE2B fc61801f5bbf5583610afe5af8ed60a90f94a248c0aa16b94f6df96e239e9c1cfe1fc40da487d3a25fc600a798b33c5bf8384c6d6cfcd0ff9446c20aae5f8f84 SHA512 b812dc26e6135cd69df9ef3b9049509be9888e012394af3c496b03666e80c63f4c827916398d94f7499f73739ca70829108b60705d5b2329f3134dd695a029eb
|
||||
AUX qtwebengine-5.15.14_p20240510-re2.patch 915 BLAKE2B a29abbec923f78dd7baafdc36b42ed9e0467885ecc04349cbbcec6727628627e84e0172f01e24b34c231d437b75f992b7a173532695085773d899dc94085c66b SHA512 45af510bafc1c838fe273652813d4130ecdef30152f57506b5b6580131cdbcf510acc5ae7bb8d44ac90072c8be7d75b4e0c187240a6522e184db8a11a204f2fc
|
||||
AUX qtwebengine-5.15.16_p20241115-py3.13-pipes.patch 848 BLAKE2B 7696eaf565511adcac5e74f7788633d1e83a88079548f1069c840da40e3ec5fef5fbfa0c019234a40dde14f6f43249792ad1bfc3d2ee8e5669d7fde7234a7ad2 SHA512 79588891105d8dce27e273d4113c31352c6b1035762ea6b1211be5f58299d9e2852b0b98bad34492d9af85e3ae1ca87407ffbf190159d64b0c6d7ba49e842bf8
|
||||
AUX qtwebengine-5.15.17-py3.13-pipes.patch 848 BLAKE2B 7696eaf565511adcac5e74f7788633d1e83a88079548f1069c840da40e3ec5fef5fbfa0c019234a40dde14f6f43249792ad1bfc3d2ee8e5669d7fde7234a7ad2 SHA512 79588891105d8dce27e273d4113c31352c6b1035762ea6b1211be5f58299d9e2852b0b98bad34492d9af85e3ae1ca87407ffbf190159d64b0c6d7ba49e842bf8
|
||||
AUX qtwebengine-5.15.2_p20210521-clang-libc++.patch 358 BLAKE2B a03de632ac4e01cf56c52af3a3bd5ff5bcfd525c67bf2e5d960904a9f3b53e1fa18f0e0df380c0cf84f17914fb313a028e26efaefe6ab5057f0d9a9cf2f6f0fd SHA512 6dc3864064d6084e70d4696fda744701c293ee62e9c9088e3247988ffb8085f30c632e94ac19aef715cbd211b21dfcb98691d5809e21cffd9f04bbb8b04cf0da
|
||||
DIST qtwebengine-5.15.14_p20240510-patchset.tar.xz 20780 BLAKE2B 516d4c628c4b027ab3a7159da006a57173be91de3eb4b7f308029953d4fd19fb3e790ca38e79d17fef75d8d9b392676650acb9285d5913f9ebecaa4136575c47 SHA512 492979d118d6bd9165ee194724e38b627d19c89dbe1daa6b2f55e4a8fc7676748a1eacb9623ee05e09140c2c4a2ac82ddafaef5c45630a117ce0ed14b240a474
|
||||
DIST qtwebengine-everywhere-opensource-src-5.15.17.tar.xz 319675412 BLAKE2B eca642f2fe3dc0a648f1645aa3ae7ca86dee8abd3cb8853a6ad7e200171f7c45d88dbdba05f820771de7607647b7626267f4e1af17d8e2bc4f0184899c2c09a6 SHA512 4ca5ac97e35f195350da6485a7e53e648723ef5a4e91acf58985eb6957b89acc7f9bac53035eee228fd6a4144a2ba7f93a1a96fd0a501e817b2460fe8faf6bd7
|
||||
EBUILD qtwebengine-5.15.17.ebuild 8143 BLAKE2B 869eb1f18cf28280d178a4723b133b876d67770ea13d1d49d4a0beb1bfe07f53f44ac95ddc8f9d4535300bb815618a02de90282c85c774697a7163e97b56633e SHA512 800b5b84a6601573119048a303bbfcb056675e6675d22d8b0bf46c8049fb8de8b6f0f95e027ac3870e875f5fc6833c31fee96f89c512ab9113dd9e5fd28394eb
|
||||
12
dev-qt/qtwebengine/files/qt5-webengine-ninja-1.12.patch
Normal file
12
dev-qt/qtwebengine/files/qt5-webengine-ninja-1.12.patch
Normal file
@@ -0,0 +1,12 @@
|
||||
diff --git a/chromium/content/public/browser/BUILD.gn b/chromium/content/public/browser/BUILD.gn
|
||||
index 7cf82a4aacf..0e0dda2c3ca 100644
|
||||
--- a/chromium/content/public/browser/BUILD.gn
|
||||
+++ b/src/3rdparty/chromium/content/public/browser/BUILD.gn
|
||||
@@ -469,6 +469,7 @@ jumbo_source_set("browser_sources") {
|
||||
"//build:chromeos_buildflags",
|
||||
"//cc",
|
||||
"//components/viz/host",
|
||||
+ "//components/spellcheck:buildflags",
|
||||
"//content/browser", # Must not be public_deps!
|
||||
"//device/fido",
|
||||
"//gpu",
|
||||
@@ -0,0 +1,35 @@
|
||||
https://bugs.gentoo.org/936416
|
||||
|
||||
Backport of two upstream commits:
|
||||
* https://chromium-review.googlesource.com/c/chromium/src/+/5512719
|
||||
* https://quiche.googlesource.com/quiche/+/c1af894e0f5c4f732a983e7c93227854e203570e%5E%21/#F0
|
||||
--- a/src/3rdparty/chromium/base/containers/id_map.h
|
||||
+++ b/src/3rdparty/chromium/base/containers/id_map.h
|
||||
@@ -153,8 +153,8 @@ class IDMap final {
|
||||
}
|
||||
|
||||
const Iterator& operator=(const Iterator& iter) {
|
||||
- map_ = iter.map;
|
||||
- iter_ = iter.iter;
|
||||
+ map_ = iter.map_;
|
||||
+ iter_ = iter.iter_;
|
||||
Init();
|
||||
return *this;
|
||||
}
|
||||
--- a/src/3rdparty/chromium/net/third_party/quiche/src/quic/core/quic_interval_deque.h
|
||||
+++ b/src/3rdparty/chromium/net/third_party/quiche/src/quic/core/quic_interval_deque.h
|
||||
@@ -198,12 +198,12 @@ class QUIC_NO_EXPORT QuicIntervalDeque {
|
||||
Iterator operator+(difference_type amount) const {
|
||||
Iterator copy = *this;
|
||||
copy.index_ += amount;
|
||||
- DCHECK(copy.index_ < copy.deque_->size());
|
||||
+ DCHECK(copy.index_ < copy.deque_->Size());
|
||||
return copy;
|
||||
}
|
||||
Iterator& operator+=(difference_type amount) {
|
||||
index_ += amount;
|
||||
- DCHECK(index_ < deque_->size());
|
||||
+ DCHECK(index_ < deque_->Size());
|
||||
return *this;
|
||||
}
|
||||
difference_type operator-(const Iterator& rhs) const {
|
||||
@@ -0,0 +1,170 @@
|
||||
--- a/src/3rdparty/chromium/third_party/webrtc/api/task_queue/task_queue_base.h
|
||||
+++ b/src/3rdparty/chromium/third_party/webrtc/api/task_queue/task_queue_base.h
|
||||
@@ -10,6 +10,7 @@
|
||||
#ifndef API_TASK_QUEUE_TASK_QUEUE_BASE_H_
|
||||
#define API_TASK_QUEUE_TASK_QUEUE_BASE_H_
|
||||
|
||||
+#include <cstdint>
|
||||
#include <memory>
|
||||
|
||||
#include "api/task_queue/queued_task.h"
|
||||
--- a/src/3rdparty/chromium/third_party/perfetto/src/trace_processor/importers/gzip/gzip_utils.h
|
||||
+++ b/src/3rdparty/chromium/third_party/perfetto/src/trace_processor/importers/gzip/gzip_utils.h
|
||||
@@ -17,6 +17,7 @@
|
||||
#ifndef SRC_TRACE_PROCESSOR_IMPORTERS_GZIP_GZIP_UTILS_H_
|
||||
#define SRC_TRACE_PROCESSOR_IMPORTERS_GZIP_GZIP_UTILS_H_
|
||||
|
||||
+#include <cstdint>
|
||||
#include <memory>
|
||||
|
||||
struct z_stream_s;
|
||||
--- a/src/3rdparty/chromium/third_party/perfetto/include/perfetto/ext/tracing/core/slice.h
|
||||
+++ b/src/3rdparty/chromium/third_party/perfetto/include/perfetto/ext/tracing/core/slice.h
|
||||
@@ -20,6 +20,7 @@
|
||||
#include <stddef.h>
|
||||
#include <string.h>
|
||||
|
||||
+#include <cstdint>
|
||||
#include <memory>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
--- a/src/3rdparty/chromium/cc/input/main_thread_scrolling_reason.h
|
||||
+++ b/src/3rdparty/chromium/cc/input/main_thread_scrolling_reason.h
|
||||
@@ -5,6 +5,7 @@
|
||||
#ifndef CC_INPUT_MAIN_THREAD_SCROLLING_REASON_H_
|
||||
#define CC_INPUT_MAIN_THREAD_SCROLLING_REASON_H_
|
||||
|
||||
+#include <cstdint>
|
||||
#include <memory>
|
||||
#include <string>
|
||||
#include "cc/cc_export.h"
|
||||
--- a/src/3rdparty/chromium/gpu/command_buffer/common/skia_utils.h
|
||||
+++ b/src/3rdparty/chromium/gpu/command_buffer/common/skia_utils.h
|
||||
@@ -5,6 +5,7 @@
|
||||
#ifndef GPU_COMMAND_BUFFER_COMMON_SKIA_UTILS_H_
|
||||
#define GPU_COMMAND_BUFFER_COMMON_SKIA_UTILS_H_
|
||||
|
||||
+#include <cstdint>
|
||||
#include <memory>
|
||||
|
||||
#include "base/optional.h"
|
||||
--- a/src/3rdparty/chromium/gpu/command_buffer/service/gpu_fence_manager.h
|
||||
+++ b/src/3rdparty/chromium/gpu/command_buffer/service/gpu_fence_manager.h
|
||||
@@ -5,6 +5,7 @@
|
||||
#ifndef GPU_COMMAND_BUFFER_SERVICE_GPU_FENCE_MANAGER_H_
|
||||
#define GPU_COMMAND_BUFFER_SERVICE_GPU_FENCE_MANAGER_H_
|
||||
|
||||
+#include <cstdint>
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
|
||||
--- a/src/3rdparty/chromium/net/tools/huffman_trie/trie_entry.h
|
||||
+++ b/src/3rdparty/chromium/net/tools/huffman_trie/trie_entry.h
|
||||
@@ -5,6 +5,7 @@
|
||||
#ifndef NET_TOOLS_HUFFMAN_TRIE_TRIE_ENTRY_H_
|
||||
#define NET_TOOLS_HUFFMAN_TRIE_TRIE_ENTRY_H_
|
||||
|
||||
+#include <cstdint>
|
||||
#include <memory>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
--- a/src/3rdparty/chromium/third_party/pdfium/core/fpdfapi/page/cpdf_function.h
|
||||
+++ b/src/3rdparty/chromium/third_party/pdfium/core/fpdfapi/page/cpdf_function.h
|
||||
@@ -7,6 +7,7 @@
|
||||
#ifndef CORE_FPDFAPI_PAGE_CPDF_FUNCTION_H_
|
||||
#define CORE_FPDFAPI_PAGE_CPDF_FUNCTION_H_
|
||||
|
||||
+#include <cstdint>
|
||||
#include <memory>
|
||||
#include <set>
|
||||
#include <vector>
|
||||
--- a/src/3rdparty/chromium/third_party/pdfium/core/fxcodec/jbig2/JBig2_DocumentContext.h
|
||||
+++ b/src/3rdparty/chromium/third_party/pdfium/core/fxcodec/jbig2/JBig2_DocumentContext.h
|
||||
@@ -7,6 +7,7 @@
|
||||
#ifndef CORE_FXCODEC_JBIG2_JBIG2_DOCUMENTCONTEXT_H_
|
||||
#define CORE_FXCODEC_JBIG2_JBIG2_DOCUMENTCONTEXT_H_
|
||||
|
||||
+#include <cstdint>
|
||||
#include <list>
|
||||
#include <memory>
|
||||
#include <utility>
|
||||
--- a/src/3rdparty/chromium/third_party/pdfium/third_party/base/span.h
|
||||
+++ b/src/3rdparty/chromium/third_party/pdfium/third_party/base/span.h
|
||||
@@ -9,6 +9,7 @@
|
||||
|
||||
#include <algorithm>
|
||||
#include <array>
|
||||
+#include <cstdint>
|
||||
#include <iterator>
|
||||
#include <type_traits>
|
||||
#include <utility>
|
||||
--- a/src/3rdparty/chromium/third_party/perfetto/include/perfetto/tracing/tracing_backend.h
|
||||
+++ b/src/3rdparty/chromium/third_party/perfetto/include/perfetto/tracing/tracing_backend.h
|
||||
@@ -17,6 +17,7 @@
|
||||
#ifndef INCLUDE_PERFETTO_TRACING_TRACING_BACKEND_H_
|
||||
#define INCLUDE_PERFETTO_TRACING_TRACING_BACKEND_H_
|
||||
|
||||
+#include <cstdint>
|
||||
#include <memory>
|
||||
#include <string>
|
||||
|
||||
--- a/src/3rdparty/chromium/third_party/webrtc/api/fec_controller.h
|
||||
+++ b/src/3rdparty/chromium/third_party/webrtc/api/fec_controller.h
|
||||
@@ -11,6 +11,7 @@
|
||||
#ifndef API_FEC_CONTROLLER_H_
|
||||
#define API_FEC_CONTROLLER_H_
|
||||
|
||||
+#include <cstdint>
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
|
||||
--- a/src/3rdparty/chromium/third_party/webrtc/api/network_state_predictor.h
|
||||
+++ b/src/3rdparty/chromium/third_party/webrtc/api/network_state_predictor.h
|
||||
@@ -11,6 +11,7 @@
|
||||
#ifndef API_NETWORK_STATE_PREDICTOR_H_
|
||||
#define API_NETWORK_STATE_PREDICTOR_H_
|
||||
|
||||
+#include <cstdint>
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
|
||||
--- a/src/3rdparty/chromium/third_party/webrtc/modules/video_coding/timestamp_map.h
|
||||
+++ b/src/3rdparty/chromium/third_party/webrtc/modules/video_coding/timestamp_map.h
|
||||
@@ -11,6 +11,7 @@
|
||||
#ifndef MODULES_VIDEO_CODING_TIMESTAMP_MAP_H_
|
||||
#define MODULES_VIDEO_CODING_TIMESTAMP_MAP_H_
|
||||
|
||||
+#include <cstdint>
|
||||
#include <memory>
|
||||
|
||||
namespace webrtc {
|
||||
--- a/src/3rdparty/chromium/third_party/webrtc/video/stats_counter.h
|
||||
+++ b/src/3rdparty/chromium/third_party/webrtc/video/stats_counter.h
|
||||
@@ -11,6 +11,7 @@
|
||||
#ifndef VIDEO_STATS_COUNTER_H_
|
||||
#define VIDEO_STATS_COUNTER_H_
|
||||
|
||||
+#include <cstdint>
|
||||
#include <memory>
|
||||
#include <string>
|
||||
|
||||
--- a/src/3rdparty/chromium/third_party/woff2/include/woff2/output.h
|
||||
+++ b/src/3rdparty/chromium/third_party/woff2/include/woff2/output.h
|
||||
@@ -10,6 +10,7 @@
|
||||
#define WOFF2_WOFF2_OUT_H_
|
||||
|
||||
#include <algorithm>
|
||||
+#include <cstdint>
|
||||
#include <cstring>
|
||||
#include <memory>
|
||||
#include <string>
|
||||
--- a/src/3rdparty/chromium/base/task/thread_pool.h
|
||||
+++ b/src/3rdparty/chromium/base/task/thread_pool.h
|
||||
@@ -5,6 +5,7 @@
|
||||
#ifndef BASE_TASK_THREAD_POOL_H_
|
||||
#define BASE_TASK_THREAD_POOL_H_
|
||||
|
||||
+#include <cstdint>
|
||||
#include <memory>
|
||||
#include <utility>
|
||||
|
||||
@@ -0,0 +1,93 @@
|
||||
From: Paul Zander <negril.nx+gentoo@gmail.com>
|
||||
Date: Wed, 23 Oct 2024 01:04:16 +0200
|
||||
Subject: template-id-cdtor
|
||||
|
||||
warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
|
||||
|
||||
Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
|
||||
|
||||
--- a/src/3rdparty/chromium/third_party/blink/renderer/platform/wtf/text/string_concatenate.h
|
||||
+++ b/src/3rdparty/chromium/third_party/blink/renderer/platform/wtf/text/string_concatenate.h
|
||||
@@ -45,7 +45,7 @@ class StringTypeAdapter<char> {
|
||||
DISALLOW_NEW();
|
||||
|
||||
public:
|
||||
- explicit StringTypeAdapter<char>(char buffer) : buffer_(buffer) {}
|
||||
+ explicit StringTypeAdapter(char buffer) : buffer_(buffer) {}
|
||||
|
||||
unsigned length() const { return 1; }
|
||||
bool Is8Bit() const { return true; }
|
||||
@@ -62,7 +62,7 @@ class StringTypeAdapter<LChar> {
|
||||
DISALLOW_NEW();
|
||||
|
||||
public:
|
||||
- explicit StringTypeAdapter<LChar>(LChar buffer) : buffer_(buffer) {}
|
||||
+ explicit StringTypeAdapter(LChar buffer) : buffer_(buffer) {}
|
||||
|
||||
unsigned length() const { return 1; }
|
||||
bool Is8Bit() const { return true; }
|
||||
@@ -79,7 +79,7 @@ class StringTypeAdapter<UChar> {
|
||||
DISALLOW_NEW();
|
||||
|
||||
public:
|
||||
- explicit StringTypeAdapter<UChar>(UChar buffer) : buffer_(buffer) {}
|
||||
+ explicit StringTypeAdapter(UChar buffer) : buffer_(buffer) {}
|
||||
|
||||
unsigned length() const { return 1; }
|
||||
bool Is8Bit() const { return buffer_ <= 0xff; }
|
||||
@@ -100,7 +100,7 @@ class WTF_EXPORT StringTypeAdapter<char*> {
|
||||
DISALLOW_NEW();
|
||||
|
||||
public:
|
||||
- explicit StringTypeAdapter<char*>(char* buffer)
|
||||
+ explicit StringTypeAdapter(char* buffer)
|
||||
: StringTypeAdapter(buffer, strlen(buffer)) {}
|
||||
|
||||
unsigned length() const { return length_; }
|
||||
@@ -110,7 +110,7 @@ class WTF_EXPORT StringTypeAdapter<char*> {
|
||||
void WriteTo(UChar* destination) const;
|
||||
|
||||
private:
|
||||
- StringTypeAdapter<char*>(char* buffer, size_t length);
|
||||
+ StringTypeAdapter(char* buffer, size_t length);
|
||||
|
||||
const char* buffer_;
|
||||
unsigned length_;
|
||||
@@ -121,7 +121,7 @@ class WTF_EXPORT StringTypeAdapter<LChar*> {
|
||||
DISALLOW_NEW();
|
||||
|
||||
public:
|
||||
- explicit StringTypeAdapter<LChar*>(LChar* buffer);
|
||||
+ explicit StringTypeAdapter(LChar* buffer);
|
||||
|
||||
unsigned length() const { return length_; }
|
||||
bool Is8Bit() const { return true; }
|
||||
@@ -157,7 +157,7 @@ class WTF_EXPORT StringTypeAdapter<const char*> {
|
||||
DISALLOW_NEW();
|
||||
|
||||
public:
|
||||
- explicit StringTypeAdapter<const char*>(const char* buffer);
|
||||
+ explicit StringTypeAdapter(const char* buffer);
|
||||
|
||||
unsigned length() const { return length_; }
|
||||
bool Is8Bit() const { return true; }
|
||||
@@ -175,7 +175,7 @@ class WTF_EXPORT StringTypeAdapter<const LChar*> {
|
||||
DISALLOW_NEW();
|
||||
|
||||
public:
|
||||
- explicit StringTypeAdapter<const LChar*>(const LChar* buffer);
|
||||
+ explicit StringTypeAdapter(const LChar* buffer);
|
||||
|
||||
unsigned length() const { return length_; }
|
||||
bool Is8Bit() const { return true; }
|
||||
--- a/src/3rdparty/chromium/third_party/blink/renderer/platform/wtf/text/string_operators.h
|
||||
+++ b/src/3rdparty/chromium/third_party/blink/renderer/platform/wtf/text/string_operators.h
|
||||
@@ -115,7 +115,7 @@ class StringTypeAdapter<StringAppend<StringType1, StringType2>> {
|
||||
STACK_ALLOCATED();
|
||||
|
||||
public:
|
||||
- StringTypeAdapter<StringAppend<StringType1, StringType2>>(
|
||||
+ StringTypeAdapter(
|
||||
const StringAppend<StringType1, StringType2>& buffer)
|
||||
: buffer_(buffer) {}
|
||||
|
||||
@@ -0,0 +1,102 @@
|
||||
Thanks to Arch Linux:
|
||||
https://gitlab.archlinux.org/archlinux/packaging/packages/qt5-webengine/-/blob/main/qt5-webengine-icu-75.patch?ref_type=heads
|
||||
|
||||
diff --git a/src/3rdparty/chromium/build/config/compiler/BUILD.gn b/src/3rdparty/chromium/build/config/compiler/BUILD.gn
|
||||
index b511a58c5a8..abd78a74ead 100644
|
||||
--- a/src/3rdparty/chromium/build/config/compiler/BUILD.gn
|
||||
+++ b/src/3rdparty/chromium/build/config/compiler/BUILD.gn
|
||||
@@ -566,7 +566,7 @@ config("compiler") {
|
||||
# Override Chromium's default for projects that wish to stay on C++11.
|
||||
cflags_cc += [ "-std=${standard_prefix}++11" ]
|
||||
} else {
|
||||
- cflags_cc += [ "-std=${standard_prefix}++14" ]
|
||||
+ cflags_cc += [ "-std=${standard_prefix}++17" ]
|
||||
}
|
||||
} else if (!is_win && !is_nacl) {
|
||||
if (target_os == "android") {
|
||||
diff --git a/src/3rdparty/chromium/base/allocator/partition_allocator/partition_alloc_constants.h b/src/3rdparty/chromium/base/allocator/partition_allocator/partition_alloc_constants.h
|
||||
index f03ba1e4ab4..b1495f7ae74 100644
|
||||
--- a/src/3rdparty/chromium/base/allocator/partition_allocator/partition_alloc_constants.h
|
||||
+++ b/src/3rdparty/chromium/base/allocator/partition_allocator/partition_alloc_constants.h
|
||||
@@ -195,7 +195,7 @@ NumPartitionPagesPerSuperPage() {
|
||||
//
|
||||
// __STDCPP_DEFAULT_NEW_ALIGNMENT__ is C++17. As such, it is not defined on all
|
||||
// platforms, as Chrome's requirement is C++14 as of 2020.
|
||||
-#if defined(__STDCPP_DEFAULT_NEW_ALIGNMENT__)
|
||||
+#if 0
|
||||
static constexpr size_t kAlignment =
|
||||
std::max(alignof(std::max_align_t), __STDCPP_DEFAULT_NEW_ALIGNMENT__);
|
||||
#else
|
||||
diff --git a/src/3rdparty/chromium/third_party/webrtc/common_video/h264/sps_parser.h b/src/3rdparty/chromium/third_party/webrtc/common_video/h264/sps_parser.h
|
||||
index 76e627d27a3..942435f44a0 100644
|
||||
--- a/src/3rdparty/chromium/third_party/webrtc/common_video/h264/sps_parser.h
|
||||
+++ b/src/3rdparty/chromium/third_party/webrtc/common_video/h264/sps_parser.h
|
||||
@@ -12,6 +12,7 @@
|
||||
#define COMMON_VIDEO_H264_SPS_PARSER_H_
|
||||
|
||||
#include "absl/types/optional.h"
|
||||
+#include <cstdint>
|
||||
|
||||
namespace rtc {
|
||||
class BitBuffer;
|
||||
diff --git a/src/3rdparty/chromium/third_party/webrtc/common_video/h264/pps_parser.h b/src/3rdparty/chromium/third_party/webrtc/common_video/h264/pps_parser.h
|
||||
index d6c31b06887..d8852dfd186 100644
|
||||
--- a/src/3rdparty/chromium/third_party/webrtc/common_video/h264/pps_parser.h
|
||||
+++ b/src/3rdparty/chromium/third_party/webrtc/common_video/h264/pps_parser.h
|
||||
@@ -12,6 +12,7 @@
|
||||
#define COMMON_VIDEO_H264_PPS_PARSER_H_
|
||||
|
||||
#include "absl/types/optional.h"
|
||||
+#include <cstdint>
|
||||
|
||||
namespace rtc {
|
||||
class BitBuffer;
|
||||
diff --git a/src/3rdparty/chromium/third_party/webrtc/modules/audio_processing/aec3/reverb_model_estimator.h b/src/3rdparty/chromium/third_party/webrtc/modules/audio_processing/aec3/reverb_model_estimator.h
|
||||
index 3b9971abae1..d4458038527 100644
|
||||
--- a/src/3rdparty/chromium/third_party/webrtc/modules/audio_processing/aec3/reverb_model_estimator.h
|
||||
+++ b/src/3rdparty/chromium/third_party/webrtc/modules/audio_processing/aec3/reverb_model_estimator.h
|
||||
@@ -13,6 +13,7 @@
|
||||
|
||||
#include <array>
|
||||
#include <vector>
|
||||
+#include <memory>
|
||||
|
||||
#include "absl/types/optional.h"
|
||||
#include "api/array_view.h"
|
||||
diff --git a/src/3rdparty/chromium/third_party/webrtc/modules/include/module_common_types_public.h b/src/3rdparty/chromium/third_party/webrtc/modules/include/module_common_types_public.h
|
||||
index 345e45ce127..e686e5d691a 100644
|
||||
--- a/src/3rdparty/chromium/third_party/webrtc/modules/include/module_common_types_public.h
|
||||
+++ b/src/3rdparty/chromium/third_party/webrtc/modules/include/module_common_types_public.h
|
||||
@@ -12,6 +12,7 @@
|
||||
#define MODULES_INCLUDE_MODULE_COMMON_TYPES_PUBLIC_H_
|
||||
|
||||
#include <limits>
|
||||
+#include <cstdint>
|
||||
|
||||
#include "absl/types/optional.h"
|
||||
|
||||
diff --git a/src/3rdparty/chromium/third_party/blink/renderer/core/page/scrolling/text_fragment_selector_generator.cc b/src/3rdparty/chromium/third_party/blink/renderer/core/page/scrolling/text_fragment_selector_generator.cc
|
||||
index 8fcc799b795..bc69ddcf18c 100644
|
||||
--- a/src/3rdparty/chromium/third_party/blink/renderer/core/page/scrolling/text_fragment_selector_generator.cc
|
||||
+++ b/src/3rdparty/chromium/third_party/blink/renderer/core/page/scrolling/text_fragment_selector_generator.cc
|
||||
@@ -15,6 +15,7 @@
|
||||
#include "third_party/blink/renderer/core/page/scrolling/text_fragment_anchor_metrics.h"
|
||||
#include "third_party/blink/renderer/core/page/scrolling/text_fragment_finder.h"
|
||||
#include "third_party/blink/renderer/platform/text/text_boundaries.h"
|
||||
+#include "absl/base/attributes.h"
|
||||
|
||||
namespace blink {
|
||||
|
||||
diff --git a/src/3rdparty/chromium/third_party/abseil-cpp/absl/base/options.h b/src/3rdparty/chromium/third_party/abseil-cpp/absl/base/options.h
|
||||
index df506f0fae6..1de105fed4a 100644
|
||||
--- a/src/3rdparty/chromium/third_party/abseil-cpp/absl/base/options.h
|
||||
+++ b/src/3rdparty/chromium/third_party/abseil-cpp/absl/base/options.h
|
||||
@@ -180,7 +180,7 @@
|
||||
// absl::variant is a typedef of std::variant, use the feature macro
|
||||
// ABSL_USES_STD_VARIANT.
|
||||
|
||||
-#define ABSL_OPTION_USE_STD_VARIANT 2
|
||||
+#define ABSL_OPTION_USE_STD_VARIANT 0
|
||||
|
||||
|
||||
// ABSL_OPTION_USE_INLINE_NAMESPACE
|
||||
@@ -0,0 +1,14 @@
|
||||
# https://bugs.gentoo.org/913923
|
||||
|
||||
Fix missing {-no,}-webengine-re2 command line options
|
||||
|
||||
--- a/src/core/configure.json
|
||||
+++ b/src/core/configure.json
|
||||
@@ -16,6 +16,7 @@
|
||||
"webengine-icu": { "type": "enum", "name": "webengine-system-icu", "values": { "system": "yes", "qt": "no" } },
|
||||
"webengine-ffmpeg": { "type": "enum", "name": "webengine-system-ffmpeg", "values": { "system": "yes", "qt": "no" } },
|
||||
"webengine-opus": { "type": "enum", "name": "webengine-system-opus", "values": { "system": "yes", "qt": "no" } },
|
||||
+ "webengine-re2": { "type": "enum", "name": "webengine-system-re2", "values": { "system": "yes", "qt": "no" } },
|
||||
"webengine-webp": { "type": "enum", "name": "webengine-system-libwebp", "values": { "system": "yes", "qt": "no" } },
|
||||
"webengine-pepper-plugins": "boolean",
|
||||
"webengine-printing-and-pdf": "boolean",
|
||||
@@ -0,0 +1,21 @@
|
||||
diff --git a/src/3rdparty/chromium/build/android/gyp/util/build_utils.py b/src/3rdparty/chromium/build/android/gyp/util/build_utils.py
|
||||
index 022980517..e3f82704a 100644
|
||||
--- a/src/3rdparty/chromium/build/android/gyp/util/build_utils.py
|
||||
+++ b/src/3rdparty/chromium/build/android/gyp/util/build_utils.py
|
||||
@@ -12,7 +12,6 @@ import fnmatch
|
||||
import json
|
||||
import logging
|
||||
import os
|
||||
-import pipes
|
||||
import re
|
||||
import shutil
|
||||
import stat
|
||||
@@ -198,7 +197,7 @@ class CalledProcessError(Exception):
|
||||
# A user should be able to simply copy and paste the command that failed
|
||||
# into their shell.
|
||||
copyable_command = '( cd {}; {} )'.format(os.path.abspath(self.cwd),
|
||||
- ' '.join(map(pipes.quote, self.args)))
|
||||
+ printed_cmd)
|
||||
return 'Command failed: {}\n{}'.format(copyable_command, self.output)
|
||||
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
diff --git a/src/3rdparty/chromium/build/android/gyp/util/build_utils.py b/src/3rdparty/chromium/build/android/gyp/util/build_utils.py
|
||||
index 022980517..e3f82704a 100644
|
||||
--- a/src/3rdparty/chromium/build/android/gyp/util/build_utils.py
|
||||
+++ b/src/3rdparty/chromium/build/android/gyp/util/build_utils.py
|
||||
@@ -12,7 +12,6 @@ import fnmatch
|
||||
import json
|
||||
import logging
|
||||
import os
|
||||
-import pipes
|
||||
import re
|
||||
import shutil
|
||||
import stat
|
||||
@@ -198,7 +197,7 @@ class CalledProcessError(Exception):
|
||||
# A user should be able to simply copy and paste the command that failed
|
||||
# into their shell.
|
||||
copyable_command = '( cd {}; {} )'.format(os.path.abspath(self.cwd),
|
||||
- ' '.join(map(pipes.quote, self.args)))
|
||||
+ printed_cmd)
|
||||
return 'Command failed: {}\n{}'.format(copyable_command, self.output)
|
||||
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
--- a/src/buildtools/gn.pro
|
||||
+++ b/src/buildtools/gn.pro
|
||||
@@ -25,6 +25,7 @@
|
||||
msvc:!clang_cl: gn_gen_args += --use-lto
|
||||
|
||||
gn_configure = $$system_quote($$gn_bootstrap) $$gn_gen_args
|
||||
+ gn_configure += --no-static-libstdc++
|
||||
macos {
|
||||
gn_configure += --isysroot \"$$QMAKE_MAC_SDK_PATH\"
|
||||
}
|
||||
264
dev-qt/qtwebengine/qtwebengine-5.15.17.ebuild
Normal file
264
dev-qt/qtwebengine/qtwebengine-5.15.17.ebuild
Normal file
@@ -0,0 +1,264 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PATCHSET="${PN}-5.15.14_p20240510-patchset"
|
||||
PYTHON_COMPAT=( python3_{10..13} )
|
||||
PYTHON_REQ_USE="xml(+)"
|
||||
inherit check-reqs estack flag-o-matic multiprocessing python-any-r1 qt5-build toolchain-funcs
|
||||
|
||||
DESCRIPTION="Library for rendering dynamic web content in Qt5 C++ and QML applications"
|
||||
HOMEPAGE="https://www.qt.io/"
|
||||
|
||||
if [[ ${QT5_BUILD_TYPE} == release ]]; then
|
||||
KEYWORDS="amd64 arm64"
|
||||
if [[ ${PV} == ${QT5_PV}_p* ]]; then
|
||||
SRC_URI="https://dev.gentoo.org/~asturm/distfiles/${P}.tar.xz"
|
||||
S="${WORKDIR}/${P}"
|
||||
QT5_BUILD_DIR="${S}_build"
|
||||
else
|
||||
SRC_URI="https://download.qt.io/official_releases/qt/5.15/${PV}/submodules/${PN}-everywhere-opensource-src-${PV}.tar.xz"
|
||||
S="${WORKDIR}/${PN}-everywhere-src-${PV}"
|
||||
QT5_BUILD_DIR="${S}_build"
|
||||
fi
|
||||
else
|
||||
EGIT_BRANCH="5.15"
|
||||
EGIT_REPO_URI=(
|
||||
"https://code.qt.io/qt/${QT5_MODULE}.git"
|
||||
"https://github.com/qt/${QT5_MODULE}.git"
|
||||
)
|
||||
inherit git-r3
|
||||
fi
|
||||
|
||||
SRC_URI+=" https://dev.gentoo.org/~asturm/distfiles/${PATCHSET}.tar.xz"
|
||||
|
||||
IUSE="alsa bindist designer geolocation +jumbo-build kerberos pulseaudio screencast +system-icu widgets"
|
||||
REQUIRED_USE="designer? ( widgets )"
|
||||
|
||||
RDEPEND="
|
||||
app-arch/snappy:=
|
||||
dev-libs/glib:2
|
||||
dev-libs/nspr
|
||||
dev-libs/nss
|
||||
dev-libs/expat
|
||||
dev-libs/libevent:=
|
||||
dev-libs/libxml2[icu]
|
||||
dev-libs/libxslt
|
||||
=dev-qt/qtcore-${QT5_PV}*
|
||||
=dev-qt/qtdeclarative-${QT5_PV}*
|
||||
=dev-qt/qtgui-${QT5_PV}*
|
||||
=dev-qt/qtnetwork-${QT5_PV}*
|
||||
=dev-qt/qtprintsupport-${QT5_PV}*
|
||||
=dev-qt/qtwebchannel-${QT5_PV}*[qml]
|
||||
media-libs/fontconfig
|
||||
media-libs/freetype
|
||||
media-libs/harfbuzz:=
|
||||
media-libs/lcms:2
|
||||
media-libs/libjpeg-turbo:=
|
||||
media-libs/libpng:0=
|
||||
>=media-libs/libvpx-1.5:=[svc(+)]
|
||||
media-libs/libwebp:=
|
||||
media-libs/opus
|
||||
sys-apps/dbus
|
||||
sys-apps/pciutils
|
||||
sys-libs/zlib[minizip]
|
||||
virtual/libudev
|
||||
x11-libs/libdrm
|
||||
x11-libs/libX11
|
||||
x11-libs/libXcomposite
|
||||
x11-libs/libXcursor
|
||||
x11-libs/libXdamage
|
||||
x11-libs/libXext
|
||||
x11-libs/libXfixes
|
||||
x11-libs/libXi
|
||||
x11-libs/libxkbfile
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libXrender
|
||||
x11-libs/libXScrnSaver
|
||||
x11-libs/libXtst
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
designer? ( =dev-qt/designer-${QT5_PV}* )
|
||||
geolocation? ( =dev-qt/qtpositioning-${QT5_PV}* )
|
||||
kerberos? ( virtual/krb5 )
|
||||
pulseaudio? ( media-libs/libpulse )
|
||||
screencast? ( media-video/pipewire:= )
|
||||
system-icu? ( >=dev-libs/icu-69.1:= )
|
||||
widgets? (
|
||||
=dev-qt/qtdeclarative-${QT5_PV}*[widgets]
|
||||
=dev-qt/qtwidgets-${QT5_PV}*
|
||||
)
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
media-libs/libglvnd
|
||||
"
|
||||
BDEPEND="${PYTHON_DEPS}
|
||||
app-alternatives/ninja
|
||||
$(python_gen_any_dep 'dev-python/html5lib[${PYTHON_USEDEP}]')
|
||||
dev-util/gperf
|
||||
dev-util/re2c
|
||||
net-libs/nodejs[ssl]
|
||||
sys-devel/bison
|
||||
sys-devel/flex
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${WORKDIR}/${PATCHSET}"
|
||||
"${FILESDIR}/${PN}-5.15.14_p20240510-re2.patch" # bug 913923
|
||||
"${FILESDIR}/${PN}-5.15.14_p20240510-gcc15-cstdint.patch"
|
||||
"${FILESDIR}/${PN}-5.15.14_p20240510-gcc15-template-id-cdtor.patch"
|
||||
"${FILESDIR}/${P}-py3.13-pipes.patch" # thx to Fedora
|
||||
"${FILESDIR}/qt5-webengine-ninja-1.12.patch" # thx to Fedora
|
||||
)
|
||||
|
||||
python_check_deps() {
|
||||
python_has_version "dev-python/html5lib[${PYTHON_USEDEP}]"
|
||||
}
|
||||
|
||||
qtwebengine_check-reqs() {
|
||||
# bug #307861
|
||||
eshopts_push -s extglob
|
||||
if is-flagq '-g?(gdb)?([1-9])'; then
|
||||
ewarn "You have enabled debug info (probably have -g or -ggdb in your CFLAGS/CXXFLAGS)."
|
||||
ewarn "You may experience really long compilation times and/or increased memory usage."
|
||||
ewarn "If compilation fails, please try removing -g/-ggdb before reporting a bug."
|
||||
fi
|
||||
eshopts_pop
|
||||
|
||||
[[ ${MERGE_TYPE} == binary ]] && return
|
||||
|
||||
# (check-reqs added for bug #570534)
|
||||
#
|
||||
# Estimate the amount of RAM required
|
||||
# Multiplier is *10 because Bash doesn't do floating point maths.
|
||||
# Let's crudely assume ~2GB per compiler job for GCC.
|
||||
local multiplier=20
|
||||
|
||||
# And call it ~1.5GB for Clang.
|
||||
if tc-is-clang ; then
|
||||
multiplier=15
|
||||
fi
|
||||
|
||||
local CHECKREQS_DISK_BUILD="7G"
|
||||
local CHECKREQS_DISK_USR="150M"
|
||||
if ! has "distcc" ${FEATURES} ; then
|
||||
# bug #830661
|
||||
# Not super realistic to come up with good estimates for distcc right now
|
||||
local CHECKREQS_MEMORY=$(($(makeopts_jobs)*multiplier/10))G
|
||||
fi
|
||||
|
||||
check-reqs_${EBUILD_PHASE_FUNC}
|
||||
}
|
||||
|
||||
pkg_pretend() {
|
||||
qtwebengine_check-reqs
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
qtwebengine_check-reqs
|
||||
python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
case ${QT5_BUILD_TYPE} in
|
||||
live) git-r3_src_unpack ;&
|
||||
release) default ;;
|
||||
esac
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if [[ ${PV} == ${QT5_PV}_p* ]]; then
|
||||
# This is made from git, and for some reason will fail w/o .git directories.
|
||||
mkdir -p .git src/3rdparty/chromium/.git || die
|
||||
fi
|
||||
# We need to make sure this integrates well into Qt 5.15.3 installation.
|
||||
# Otherwise revdeps fail w/o heavy changes. This is the simplest way to do it.
|
||||
# See also: https://www.qt.io/blog/building-qt-webengine-against-other-qt-versions
|
||||
sed -E "/^MODULE_VERSION/s/5\.15\.[0-9]+/${QT5_PV}/" -i .qmake.conf || die
|
||||
|
||||
# QTBUG-88657 - jumbo-build could still make trouble
|
||||
if ! use jumbo-build; then
|
||||
sed -i -e 's|use_jumbo_build=true|use_jumbo_build=false|' \
|
||||
src/buildtools/config/common.pri || die
|
||||
fi
|
||||
|
||||
# bug 620444 - ensure local headers are used
|
||||
find "${S}" -type f -name "*.pr[fio]" | \
|
||||
xargs sed -i -e 's|INCLUDEPATH += |&$${QTWEBENGINE_ROOT}_build/include $${QTWEBENGINE_ROOT}/include |' || die
|
||||
|
||||
if use system-icu; then
|
||||
if has_version ">=dev-libs/icu-75.1"; then
|
||||
eapply "${FILESDIR}/${PN}-5.15.14_p20240510-icu-75.patch" # too invasive to apply unconditionally
|
||||
fi
|
||||
# Sanity check to ensure that bundled copy of ICU is not used.
|
||||
# Whole src/3rdparty/chromium/third_party/icu directory cannot be deleted because
|
||||
# src/3rdparty/chromium/third_party/icu/BUILD.gn is used by build system.
|
||||
# If usage of headers of bundled copy of ICU occurs, then lists of shim headers in
|
||||
# shim_headers("icui18n_shim") and shim_headers("icuuc_shim") in
|
||||
# src/3rdparty/chromium/third_party/icu/BUILD.gn should be updated.
|
||||
local file
|
||||
while read file; do
|
||||
echo "#error This file should not be used!" > "${file}" || die
|
||||
done < <(find src/3rdparty/chromium/third_party/icu -type f "(" -name "*.c" -o -name "*.cpp" -o -name "*.h" ")" 2>/dev/null)
|
||||
fi
|
||||
|
||||
# src/3rdparty/gn fails with libc++ due to passing of `-static-libstdc++`
|
||||
if tc-is-clang ; then
|
||||
if has_version 'llvm-core/clang[default-libcxx(-)]' || has_version 'llvm-core/clang-common[default-libcxx(-)]' ; then
|
||||
eapply "${FILESDIR}/${PN}-5.15.2_p20210521-clang-libc++.patch"
|
||||
fi
|
||||
fi
|
||||
|
||||
qt_use_disable_config alsa webengine-alsa src/buildtools/config/linux.pri
|
||||
qt_use_disable_config pulseaudio webengine-pulseaudio src/buildtools/config/linux.pri
|
||||
|
||||
qt_use_disable_mod designer webenginewidgets src/plugins/plugins.pro
|
||||
|
||||
qt_use_disable_mod widgets widgets src/src.pro
|
||||
|
||||
qt5-build_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
export NINJA_PATH=/usr/bin/ninja
|
||||
export NINJAFLAGS="${NINJAFLAGS:--j$(makeopts_jobs "${MAKEOPTS}" 999) -l$(makeopts_loadavg "${MAKEOPTS}" 0) -v}"
|
||||
|
||||
local myqmakeargs=(
|
||||
--
|
||||
-no-build-qtpdf
|
||||
-printing-and-pdf
|
||||
--webengine-python-version=python3
|
||||
-system-opus
|
||||
-system-webp
|
||||
$(qt_use alsa)
|
||||
$(qt_use !bindist proprietary-codecs)
|
||||
$(qt_use geolocation webengine-geolocation)
|
||||
$(qt_use kerberos webengine-kerberos)
|
||||
$(qt_use pulseaudio)
|
||||
$(usex screencast -webengine-webrtc-pipewire '')
|
||||
-qt-ffmpeg # bug 831487
|
||||
$(qt_use system-icu webengine-icu)
|
||||
-no-webengine-re2 # bug 913923
|
||||
)
|
||||
qt5-build_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
qt5-build_src_install
|
||||
|
||||
# bug 601472
|
||||
if [[ ! -f ${D}${QT5_LIBDIR}/libQt5WebEngine.so ]]; then
|
||||
die "${CATEGORY}/${PF} failed to build anything. Please report to https://bugs.gentoo.org/"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
elog "This version of Qt WebEngine is based on Chromium version 87.0.4280.144,"
|
||||
elog "with additional security fixes from newer versions. Extensive as it is, the"
|
||||
elog "list of backports is impossible to evaluate, but always bound to be behind"
|
||||
elog "Chromium's release schedule."
|
||||
elog "In addition, various online services may deny service based on an outdated"
|
||||
elog "user agent version (and/or other checks). Google is already known to do so."
|
||||
elog
|
||||
elog "tldr: Your web browsing experience will be compromised."
|
||||
}
|
||||
6
dev-qt/qtwebkit/Manifest
Normal file
6
dev-qt/qtwebkit/Manifest
Normal file
@@ -0,0 +1,6 @@
|
||||
AUX qtwebkit-5.212.0_pre20200309-bison-3.7.patch 1613 BLAKE2B 0d2d173b5575ed5e1c52a07c5ceb14210bfb0a91e50a064df1e293451d64708822eb54d65947413efb13711d4c0c8e01441869248a4461446bd2bc122f07746b
|
||||
AUX qtwebkit-5.212.0_pre20200309-glib-2.68.patch 887 BLAKE2B 1a191fd47693d70bc6ddbafcc8031bdd511c3be63121c1014471a93ebf3f1326a922277c42520a878192e0db4bb679cc007f27451ffac1aecdd86032b9d383c2
|
||||
AUX qtwebkit-5.212.0_pre20200309-icu-68.patch 4981 BLAKE2B c031aa8ec816749fa35e3876d007a02d60a3a5ff0fc57a2774a13fc23559b39cc5bfeec6fedd96cb36d7eed5d1b388049d190673afbe5b0fd2f0343f8afd5344
|
||||
AUX qtwebkit-5.212.0_pre20200309-python-3.9.patch 1100 BLAKE2B 2b44f8614a81141fd372d97cec2661b712e3cc68a01d5ed83d89c778eacc218a95a3273b7f464bbcd5380806859a40598cc166a8473fb30e76ca7e6b002b460f
|
||||
DIST qtwebkit-5.212.0-alpha4.tar.xz 12528508 BLAKE2B 72d7444f270f47b62044cf683ed306803660bfbafe1450440ea29e43e3c0e6e841b6e860dfa8affc1b32b7c539448f04e22a7ae38cce055d37905dfb3240aab0
|
||||
EBUILD qtwebkit-5.212.0_pre20200309-r3.ebuild 4094 BLAKE2B b983b77f55525691e93f1c89060cabb3609c63effece0021136f99a91c5096b4d45425984a703ed061231de4480f541f5f9a08c6cd5e0290742aec0a356f2196
|
||||
@@ -0,0 +1,46 @@
|
||||
From d92b11fea65364fefa700249bd3340e0cd4c5b31 Mon Sep 17 00:00:00 2001
|
||||
From: Dmitry Shachnev <mitya57@gmail.com>
|
||||
Date: Tue, 4 Aug 2020 21:04:06 +0300
|
||||
Subject: [PATCH] Let Bison generate the header directly, to fix build with
|
||||
Bison 3.7
|
||||
|
||||
Starting with Bison 3.7, the generated C++ file #include's the header
|
||||
by default, instead of duplicating it. So we should not delete it.
|
||||
|
||||
Remove the code to add #ifdef guards to the header, since Bison adds
|
||||
them itself since version 2.6.3.
|
||||
---
|
||||
Source/WebCore/css/makegrammar.pl | 21 +--------------------
|
||||
1 file changed, 1 insertion(+), 20 deletions(-)
|
||||
|
||||
diff --git a/Source/WebCore/css/makegrammar.pl b/Source/WebCore/css/makegrammar.pl
|
||||
index 5d63b08102eb..9435701c7061 100644
|
||||
--- a/Source/WebCore/css/makegrammar.pl
|
||||
+++ b/Source/WebCore/css/makegrammar.pl
|
||||
@@ -73,25 +73,6 @@
|
||||
}
|
||||
|
||||
my $fileBase = File::Spec->join($outputDir, $filename);
|
||||
-my @bisonCommand = ($bison, "-d", "-p", $symbolsPrefix, $grammarFilePath, "-o", "$fileBase.cpp");
|
||||
+my @bisonCommand = ($bison, "--defines=$fileBase.h", "-p", $symbolsPrefix, $grammarFilePath, "-o", "$fileBase.cpp");
|
||||
push @bisonCommand, "--no-lines" if $^O eq "MSWin32"; # Work around bug in bison >= 3.0 on Windows where it puts backslashes into #line directives.
|
||||
system(@bisonCommand) == 0 or die;
|
||||
-
|
||||
-open HEADER, ">$fileBase.h" or die;
|
||||
-print HEADER << "EOF";
|
||||
-#ifndef CSSGRAMMAR_H
|
||||
-#define CSSGRAMMAR_H
|
||||
-EOF
|
||||
-
|
||||
-open HPP, "<$fileBase.cpp.h" or open HPP, "<$fileBase.hpp" or die;
|
||||
-while (<HPP>) {
|
||||
- print HEADER;
|
||||
-}
|
||||
-close HPP;
|
||||
-
|
||||
-print HEADER "#endif\n";
|
||||
-close HEADER;
|
||||
-
|
||||
-unlink("$fileBase.cpp.h");
|
||||
-unlink("$fileBase.hpp");
|
||||
-
|
||||
@@ -0,0 +1,28 @@
|
||||
https://github.com/qtwebkit/qtwebkit/pull/1058
|
||||
|
||||
From 5b698ba3faffd4e198a45be9fe74f53307395e4b Mon Sep 17 00:00:00 2001
|
||||
From: Fabian Vogt <fvogt@suse.de>
|
||||
Date: Wed, 7 Apr 2021 13:38:09 +0200
|
||||
Subject: [PATCH] Remove invalid g_object declarations to fix build with glib
|
||||
>= 2.68
|
||||
|
||||
g_object_ref_sink is defined as a macro meanwhile and so the build fails.
|
||||
Just remove the declarations, glib.h is included anyway.
|
||||
---
|
||||
Source/WTF/wtf/glib/GRefPtr.h | 3 ---
|
||||
1 file changed, 3 deletions(-)
|
||||
|
||||
diff --git a/Source/WTF/wtf/glib/GRefPtr.h b/Source/WTF/wtf/glib/GRefPtr.h
|
||||
index 06133d82cb35..d9a1d2f145f5 100644
|
||||
--- a/Source/WTF/wtf/glib/GRefPtr.h
|
||||
+++ b/Source/WTF/wtf/glib/GRefPtr.h
|
||||
@@ -29,9 +29,6 @@
|
||||
#include <algorithm>
|
||||
#include <glib.h>
|
||||
|
||||
-extern "C" void g_object_unref(gpointer);
|
||||
-extern "C" gpointer g_object_ref_sink(gpointer);
|
||||
-
|
||||
namespace WTF {
|
||||
|
||||
enum GRefPtrAdoptType { GRefPtrAdopt };
|
||||
120
dev-qt/qtwebkit/files/qtwebkit-5.212.0_pre20200309-icu-68.patch
Normal file
120
dev-qt/qtwebkit/files/qtwebkit-5.212.0_pre20200309-icu-68.patch
Normal file
@@ -0,0 +1,120 @@
|
||||
--- a/Source/WebCore/platform/text/icu/UTextProvider.h
|
||||
+++ b/Source/WebCore/platform/text/icu/UTextProvider.h
|
||||
@@ -80,12 +80,12 @@
|
||||
// Ensure chunk offset is well formed if computed offset exceeds int32_t range.
|
||||
ASSERT(offset < std::numeric_limits<int32_t>::max());
|
||||
text->chunkOffset = offset < std::numeric_limits<int32_t>::max() ? static_cast<int32_t>(offset) : 0;
|
||||
- isAccessible = TRUE;
|
||||
+ isAccessible = true;
|
||||
return true;
|
||||
}
|
||||
if (nativeIndex >= nativeLength && text->chunkNativeLimit == nativeLength) {
|
||||
text->chunkOffset = text->chunkLength;
|
||||
- isAccessible = FALSE;
|
||||
+ isAccessible = false;
|
||||
return true;
|
||||
}
|
||||
} else {
|
||||
@@ -94,12 +94,12 @@
|
||||
// Ensure chunk offset is well formed if computed offset exceeds int32_t range.
|
||||
ASSERT(offset < std::numeric_limits<int32_t>::max());
|
||||
text->chunkOffset = offset < std::numeric_limits<int32_t>::max() ? static_cast<int32_t>(offset) : 0;
|
||||
- isAccessible = TRUE;
|
||||
+ isAccessible = true;
|
||||
return true;
|
||||
}
|
||||
if (nativeIndex <= 0 && !text->chunkNativeStart) {
|
||||
text->chunkOffset = 0;
|
||||
- isAccessible = FALSE;
|
||||
+ isAccessible = false;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
--- a/Source/WebCore/platform/text/icu/UTextProviderLatin1.cpp
|
||||
+++ b/Source/WebCore/platform/text/icu/UTextProviderLatin1.cpp
|
||||
@@ -100,23 +100,23 @@
|
||||
if (index < uText->chunkNativeLimit && index >= uText->chunkNativeStart) {
|
||||
// Already inside the buffer. Set the new offset.
|
||||
uText->chunkOffset = static_cast<int32_t>(index - uText->chunkNativeStart);
|
||||
- return TRUE;
|
||||
+ return true;
|
||||
}
|
||||
if (index >= length && uText->chunkNativeLimit == length) {
|
||||
// Off the end of the buffer, but we can't get it.
|
||||
uText->chunkOffset = static_cast<int32_t>(index - uText->chunkNativeStart);
|
||||
- return FALSE;
|
||||
+ return false;
|
||||
}
|
||||
} else {
|
||||
if (index <= uText->chunkNativeLimit && index > uText->chunkNativeStart) {
|
||||
// Already inside the buffer. Set the new offset.
|
||||
uText->chunkOffset = static_cast<int32_t>(index - uText->chunkNativeStart);
|
||||
- return TRUE;
|
||||
+ return true;
|
||||
}
|
||||
if (!index && !uText->chunkNativeStart) {
|
||||
// Already at the beginning; can't go any farther.
|
||||
uText->chunkOffset = 0;
|
||||
- return FALSE;
|
||||
+ return false;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -144,7 +144,7 @@
|
||||
|
||||
uText->nativeIndexingLimit = uText->chunkLength;
|
||||
|
||||
- return TRUE;
|
||||
+ return true;
|
||||
}
|
||||
|
||||
static int32_t uTextLatin1Extract(UText* uText, int64_t start, int64_t limit, UChar* dest, int32_t destCapacity, UErrorCode* status)
|
||||
@@ -336,7 +336,7 @@
|
||||
static UBool uTextLatin1ContextAwareAccess(UText* text, int64_t nativeIndex, UBool forward)
|
||||
{
|
||||
if (!text->context)
|
||||
- return FALSE;
|
||||
+ return false;
|
||||
int64_t nativeLength = uTextLatin1ContextAwareNativeLength(text);
|
||||
UBool isAccessible;
|
||||
if (uTextAccessInChunkOrOutOfRange(text, nativeIndex, nativeLength, forward, isAccessible))
|
||||
@@ -356,7 +356,7 @@
|
||||
ASSERT(newContext == UTextProviderContext::PriorContext);
|
||||
textLatin1ContextAwareSwitchToPriorContext(text, nativeIndex, nativeLength, forward);
|
||||
}
|
||||
- return TRUE;
|
||||
+ return true;
|
||||
}
|
||||
|
||||
static int32_t uTextLatin1ContextAwareExtract(UText*, int64_t, int64_t, UChar*, int32_t, UErrorCode* errorCode)
|
||||
--- a/Source/WebCore/platform/text/icu/UTextProviderUTF16.cpp
|
||||
+++ b/Source/WebCore/platform/text/icu/UTextProviderUTF16.cpp
|
||||
@@ -125,7 +125,7 @@
|
||||
static UBool uTextUTF16ContextAwareAccess(UText* text, int64_t nativeIndex, UBool forward)
|
||||
{
|
||||
if (!text->context)
|
||||
- return FALSE;
|
||||
+ return false;
|
||||
int64_t nativeLength = uTextUTF16ContextAwareNativeLength(text);
|
||||
UBool isAccessible;
|
||||
if (uTextAccessInChunkOrOutOfRange(text, nativeIndex, nativeLength, forward, isAccessible))
|
||||
@@ -145,7 +145,7 @@
|
||||
ASSERT(newContext == UTextProviderContext::PriorContext);
|
||||
textUTF16ContextAwareSwitchToPriorContext(text, nativeIndex, nativeLength, forward);
|
||||
}
|
||||
- return TRUE;
|
||||
+ return true;
|
||||
}
|
||||
|
||||
static int32_t uTextUTF16ContextAwareExtract(UText*, int64_t, int64_t, UChar*, int32_t, UErrorCode* errorCode)
|
||||
--- a/Source/WebCore/platform/text/TextCodecICU.cpp
|
||||
+++ b/Source/WebCore/platform/text/TextCodecICU.cpp
|
||||
@@ -308,7 +308,7 @@
|
||||
m_converterICU = ucnv_open(m_canonicalConverterName, &err);
|
||||
ASSERT(U_SUCCESS(err));
|
||||
if (m_converterICU)
|
||||
- ucnv_setFallback(m_converterICU, TRUE);
|
||||
+ ucnv_setFallback(m_converterICU, true);
|
||||
}
|
||||
|
||||
int TextCodecICU::decodeToBuffer(UChar* target, UChar* targetLimit, const char*& source, const char* sourceLimit, int32_t* offsets, bool flush, UErrorCode& err)
|
||||
@@ -0,0 +1,27 @@
|
||||
From 78360c01c796b6260bf828bc9c8a0ef73c5132fd Mon Sep 17 00:00:00 2001
|
||||
From: Konstantin Tokarev <annulen@yandex.ru>
|
||||
Date: Wed, 3 Jun 2020 15:01:42 +0300
|
||||
Subject: [PATCH] Fix compilation with Python 3.9: avoid passing encoding to
|
||||
json.load()
|
||||
|
||||
In Python 2.7 UTF-8 is assumed by default, while in Python 3 this argument
|
||||
is not supported.
|
||||
|
||||
Change-Id: Ic459d60a6b20bc1838d8771bc36ac41614fe61a9
|
||||
---
|
||||
Source/JavaScriptCore/generate-bytecode-files | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/Source/JavaScriptCore/generate-bytecode-files b/Source/JavaScriptCore/generate-bytecode-files
|
||||
index c5dab429c7b0..af3431275ecf 100644
|
||||
--- a/Source/JavaScriptCore/generate-bytecode-files
|
||||
+++ b/Source/JavaScriptCore/generate-bytecode-files
|
||||
@@ -163,7 +163,7 @@ if __name__ == "__main__":
|
||||
initBytecodesFile = openOrExit(initASMFileName, "w")
|
||||
|
||||
try:
|
||||
- bytecodeSections = json.load(bytecodeFile, encoding = "utf-8")
|
||||
+ bytecodeSections = json.load(bytecodeFile)
|
||||
except:
|
||||
print("Unexpected error parsing {0}: {1}".format(bytecodeJSONFile, sys.exc_info()))
|
||||
|
||||
154
dev-qt/qtwebkit/qtwebkit-5.212.0_pre20200309-r3.ebuild
Normal file
154
dev-qt/qtwebkit/qtwebkit-5.212.0_pre20200309-r3.ebuild
Normal file
@@ -0,0 +1,154 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
if [[ ${PV} = *9999 ]]; then
|
||||
EGIT_BRANCH="qtwebkit-5.212"
|
||||
EGIT_REPO_URI="https://github.com/qtwebkit/qtwebkit.git"
|
||||
inherit git-r3
|
||||
else
|
||||
MY_P="${PN}-${PV/_pre20200309/-alpha4}" # present as upgrade over previous snapshot
|
||||
SRC_URI="https://github.com/annulen/webkit/releases/download/${MY_P}/${MY_P}.tar.xz"
|
||||
KEYWORDS="amd64 arm arm64 ppc64 x86"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
fi
|
||||
|
||||
PYTHON_COMPAT=( python3_{7..13} )
|
||||
USE_RUBY="ruby25 ruby26 ruby27 ruby30 ruby31"
|
||||
inherit check-reqs cmake flag-o-matic python-any-r1 qmake-utils ruby-single toolchain-funcs
|
||||
|
||||
DESCRIPTION="WebKit rendering library for the Qt5 framework (deprecated)"
|
||||
HOMEPAGE="https://www.qt.io/"
|
||||
|
||||
LICENSE="BSD LGPL-2+"
|
||||
SLOT="5/5.212"
|
||||
IUSE="geolocation gles2-only +gstreamer +hyphen +jit multimedia nsplugin opengl orientation +printsupport qml webp X"
|
||||
|
||||
REQUIRED_USE="
|
||||
nsplugin? ( X )
|
||||
qml? ( opengl )
|
||||
?? ( gstreamer multimedia )
|
||||
"
|
||||
|
||||
# Dependencies found at Source/cmake/OptionsQt.cmake
|
||||
QT_MIN_VER="5.12.3:5"
|
||||
BDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
${RUBY_DEPS}
|
||||
dev-lang/perl
|
||||
dev-util/gperf
|
||||
>=sys-devel/bison-2.4.3
|
||||
sys-devel/flex
|
||||
virtual/pkgconfig
|
||||
"
|
||||
DEPEND="
|
||||
dev-db/sqlite:3
|
||||
dev-libs/icu:=
|
||||
dev-libs/libxml2
|
||||
dev-libs/libxslt
|
||||
>=dev-qt/qtcore-${QT_MIN_VER}
|
||||
>=dev-qt/qtgui-${QT_MIN_VER}
|
||||
>=dev-qt/qtnetwork-${QT_MIN_VER}
|
||||
>=dev-qt/qtwidgets-${QT_MIN_VER}=
|
||||
media-libs/libpng:0=
|
||||
media-libs/woff2
|
||||
virtual/jpeg:0
|
||||
geolocation? ( >=dev-qt/qtpositioning-${QT_MIN_VER} )
|
||||
gstreamer? (
|
||||
dev-libs/glib:2
|
||||
media-libs/gstreamer:1.0
|
||||
media-libs/gst-plugins-bad:1.0
|
||||
media-libs/gst-plugins-base:1.0
|
||||
)
|
||||
hyphen? ( dev-libs/hyphen )
|
||||
multimedia? ( >=dev-qt/qtmultimedia-${QT_MIN_VER}[widgets] )
|
||||
opengl? (
|
||||
>=dev-qt/qtgui-${QT_MIN_VER}[gles2-only=]
|
||||
>=dev-qt/qtopengl-${QT_MIN_VER}[gles2-only=]
|
||||
)
|
||||
orientation? ( >=dev-qt/qtsensors-${QT_MIN_VER} )
|
||||
printsupport? ( >=dev-qt/qtprintsupport-${QT_MIN_VER} )
|
||||
qml? (
|
||||
>=dev-qt/qtdeclarative-${QT_MIN_VER}
|
||||
>=dev-qt/qtwebchannel-${QT_MIN_VER}[qml]
|
||||
)
|
||||
webp? ( media-libs/libwebp:= )
|
||||
X? (
|
||||
x11-libs/libX11
|
||||
x11-libs/libXcomposite
|
||||
x11-libs/libXrender
|
||||
)
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
CHECKREQS_DISK_BUILD="16G" # bug 417307
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-bison-3.7.patch" # bug 736499
|
||||
"${FILESDIR}/${P}-icu-68.patch" # bug 753260
|
||||
"${FILESDIR}/${P}-python-3.9.patch" # bug 766303
|
||||
"${FILESDIR}/${P}-glib-2.68.patch" # bug 777759
|
||||
)
|
||||
|
||||
_check_reqs() {
|
||||
if [[ ${MERGE_TYPE} != binary ]] && is-flagq "-g*" && ! is-flagq "-g*0"; then
|
||||
einfo "Checking for sufficient disk space to build ${PN} with debugging flags"
|
||||
check-reqs_$1
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_pretend() {
|
||||
_check_reqs pkg_pretend
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
_check_reqs pkg_setup
|
||||
python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Respect CC, otherwise fails on prefix, bug #395875
|
||||
tc-export CC
|
||||
|
||||
# Multiple rendering bugs on youtube, github, etc without this, bug #547224
|
||||
append-flags $(test-flags -fno-strict-aliasing)
|
||||
|
||||
local mycmakeargs=(
|
||||
-DPORT=Qt
|
||||
-DENABLE_API_TESTS=OFF
|
||||
-DENABLE_TOOLS=OFF
|
||||
-DENABLE_GEOLOCATION=$(usex geolocation)
|
||||
-DUSE_GSTREAMER=$(usex gstreamer)
|
||||
-DUSE_LIBHYPHEN=$(usex hyphen)
|
||||
-DENABLE_JIT=$(usex jit)
|
||||
-DUSE_QT_MULTIMEDIA=$(usex multimedia)
|
||||
-DENABLE_NETSCAPE_PLUGIN_API=$(usex nsplugin)
|
||||
-DENABLE_OPENGL=$(usex opengl)
|
||||
-DENABLE_PRINT_SUPPORT=$(usex printsupport)
|
||||
-DENABLE_DEVICE_ORIENTATION=$(usex orientation)
|
||||
-DENABLE_WEBKIT2=$(usex qml)
|
||||
$(cmake_use_find_package webp WebP)
|
||||
-DENABLE_X11_TARGET=$(usex X)
|
||||
)
|
||||
|
||||
if has_version "virtual/rubygems[ruby_targets_ruby27]"; then
|
||||
mycmakeargs+=( -DRUBY_EXECUTABLE=$(type -P ruby27) )
|
||||
elif has_version "virtual/rubygems[ruby_targets_ruby26]"; then
|
||||
mycmakeargs+=( -DRUBY_EXECUTABLE=$(type -P ruby26) )
|
||||
else
|
||||
mycmakeargs+=( -DRUBY_EXECUTABLE=$(type -P ruby25) )
|
||||
fi
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
|
||||
# bug 572056
|
||||
if [[ ! -f ${ED}$(qt5_get_libdir)/libQt5WebKit.so ]]; then
|
||||
eerror "${CATEGORY}/${PF} could not build due to a broken ruby environment."
|
||||
die 'Check "eselect ruby" and ensure you have a working ruby in your $PATH'
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user