From b4899ed9fc78f45325ef4e2ebd460869e53a605d Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 11 Nov 2022 03:29:03 +0000 Subject: gentoo auto-resync : 11:11:2022 - 03:29:03 --- www-client/chromium/Manifest | 11 +++++--- www-client/chromium/chromium-106.0.5249.119.ebuild | 17 ++++++++++++- www-client/chromium/chromium-107.0.5304.87.ebuild | 17 ++++++++++++- www-client/chromium/chromium-108.0.5343.2.ebuild | 15 +++++++++++ .../files/ppc64le/fix-breakpad-compile.patch | 29 ++++++++++++++++++++++ .../files/ppc64le/fix-swiftshader-compile.patch | 26 +++++++++++++++++++ .../files/ppc64le/libpng-pdfium-compile-98.patch | 13 ++++++++++ 7 files changed, 123 insertions(+), 5 deletions(-) create mode 100644 www-client/chromium/files/ppc64le/fix-breakpad-compile.patch create mode 100644 www-client/chromium/files/ppc64le/fix-swiftshader-compile.patch create mode 100644 www-client/chromium/files/ppc64le/libpng-pdfium-compile-98.patch (limited to 'www-client/chromium') diff --git a/www-client/chromium/Manifest b/www-client/chromium/Manifest index a1e38d692930..63d726b7ccbe 100644 --- a/www-client/chromium/Manifest +++ b/www-client/chromium/Manifest @@ -13,6 +13,9 @@ AUX chromium-launcher-r7.sh 1631 BLAKE2B ae28d758264446511fd2b64ba69fe920144b351 AUX chromium-shim_headers.patch 1510 BLAKE2B 9716cd250b249c6255aca01a385ef8a2a6f1df9ea3cf7499715543c14f8be62fd323b6048b890aa2be45891e7a765d92de3f41c3b3a88c08dae4b806c048e20f SHA512 c74bcf690a41b4f9b364477d23408d493aa674e3bd014940098a594471297c2a425241f908510061b5f11c9cfe009c4a803370edd757d3c0ab8d9c0cc128135c AUX chromium-use-oauth2-client-switches-as-default.patch 1085 BLAKE2B baf3c463305934c126af4f7c5be305863edc7eec3add5b5ada30565b49b5944021eb40f1a9643e7eec3f973c502d9b02426f00b760570fcea5f1509219e41c6f SHA512 fe2878ee45778bac894ea17a668511d27ad2ca40988d5f11439790b700bfefd6560f3931415b4e6c543fcbbfc7cfef55cc757ed4ace1d111039ae78c46b81945 AUX chromium.default 148 BLAKE2B 5ee5b582c59a6e4bef87bbb0e232e2470ad412b1fbbb3b9af6ef7153edb55c5b9080cc16a5a115b0c5b3c381aa87ce57a7b12bdd2070e67dac10a6c2995ddbaf SHA512 0d4849e03592fb58b05e62a43021eca7e61615616c8907c3b2e445402e03adaf9e8fa25b0a745d6c31eb037456215cc02b59e345a3a06d932e76cf990c92d739 +AUX ppc64le/fix-breakpad-compile.patch 1601 BLAKE2B 7c409ab3bab2d63870066512c42a1656f5a1ab4eefcad44e57ac045cb0f11519f5c1f0a589124c2bf217c35dd185d240d46de1c43bda566737fb15cfecb95feb SHA512 bab0b8c5419403ac680010644652bafba6cfc4c9312221628b2ba0301d0c296eddeafa4623dbe2a1c2335d0ea6c5613bff02b5ece1d423ceec4eee119515686c +AUX ppc64le/fix-swiftshader-compile.patch 1112 BLAKE2B fdef119a93c67ce7864a312ef6b49ee71d9baa5a96a09a17d236dbee7d17dec5b3461fba458af0b7d218057418bc17c0bf27992be8b1835cdcb37da4e35ec9bc SHA512 24e92475282972427a4961279544c2c37b1d6f7fca3490d82f8f5cbd411008e598f4e497f99b4cd091025f053b25d02eb601542da5c10a79af240f655e78efe0 +AUX ppc64le/libpng-pdfium-compile-98.patch 412 BLAKE2B 0a2907e1c01696fb41b039de139ab934af9af3c2a9f8257fe10a84fd0b41d52ca79150ad996d140be0dac30fc9a0dd5f83ec8fa3cd4dc7e0dcf38fab99a20f55 SHA512 c4693f612191f73205630dedd77ecdf345f094468a8ac31ab39ad1155ab0026f782d1fe30a3a63999790c7cfa6d9061e0f9c011f9dc1f9f5fe7562217a2aedfa DIST chromium-106-patchset-3.tar.xz 6672 BLAKE2B 4c56702e84c761b5b4e5ea84a3e9bed0c9c81cbf448998c51b149a5f3b745944e8c824384a879798fba284eb96d76ebbc22ce038971daf9a574ea02d52f204b5 SHA512 3e58bf2811a6674bbe04ab12c0404faad5e6b17c7a5de213e661a7cc34dd4c3329b8736e3b1ffd43a442eae4ad132ff05b042ef904d451bbe0c9a76554499b61 DIST chromium-106.0.5249.119.tar.xz 1611067204 BLAKE2B 39132fbb82cfd46e631ce77ae0334756d23f7b870b8ab2d2adac206cd754e229c8f10ed73a08bd64c8868b85e47f27f03089bbdba028a9d537daf95165814843 SHA512 9f2d01c9a670a36eff3de4423a7cf3b59b10053e17275646cff7438ce02c5b96b6d79640d5e58b499c419e019f09442bec7ecbd9e6b1cbd7632f9eb864d4f138 DIST chromium-107-patchset-1.tar.xz 5736 BLAKE2B 581ca307d63635ef91aaa907aeebb8c735be6d6bbfcc3fe064fed7531b8848b5d918e017031ee606ed3bd8f0fc23aa6d2f8af4b36d33483dbeee2b5c8eacac82 SHA512 acbfb41c31a510a689cad3b0686e24925b018bd7a2a8f56f74b730dc36d878c266a11b3bb76b131e66f7b859f483ff00e16cbaae1b2b6944010c7396310c03b8 @@ -20,7 +23,9 @@ DIST chromium-107.0.5304.87.tar.xz 1688896996 BLAKE2B bca3506b55f29be6d40db8d4b1 DIST chromium-108-patchset-2.tar.xz 6480 BLAKE2B 2a40bb741fdd305b3525b790f82c2b36f6c909680788527a31aa2a11f519ff630aa12ffe7c53553b717f1909978c77e7db07a02a86c8e7d12d63375402802d7a SHA512 3fe182f0f928baaf0f5521efa8763080de765240b5608d5126e84e49335eb5edc788ab406aa71f5fa97c371afe1f6808e93e2e082c7f65169b5f157ff6c3e00b DIST chromium-108.0.5343.2.tar.xz 1669214708 BLAKE2B e022bb908b15a5ae645d23cc5ab1e268ab87b77af3ae9ac352f6dc2fc9ba36f9e212cd53f4e3fdb18bb114f89ffada3f0fbee2b2fd46b6824fccaa68e21d930a SHA512 ff74eae98a44ebfc77a729ee65b4d338fcc39f04f2168247eed039d5c19c945d90c2b6aa5a12ca96d493c5116c2dcf9c959c74ffe2dc25ea6717176f699342b2 DIST chromium-profiler-0.2.tar 259952640 BLAKE2B 5e82389fce00b267280d633b26551231c558b80f0c92cd7d60271095a3503365ab673e7a46dc5f74f8a82db1f21262cb24dcc0531d954bab5fb3b175dab3394d SHA512 9fa89a5ab728419683e7495ae676567480987d68a2d589f2aa97bfcbcf123f3c8f97f8bca5f65e5e3f6e41475535add473ded83b9c7a33bb4746a9d05b298a6c -EBUILD chromium-106.0.5249.119.ebuild 37309 BLAKE2B 7606c305825f40359a4d0311629ab8209b7dbeabbdb0a95b2d2ab4cd31207a2ad497a025a96e45807e7db1f39ed8507e81ccef59bf2bab601ef50c2175393255 SHA512 5d60b11179257f406d6f20626308faeb3a15a8aa780cf5b46b665f0997752e5f506bf5fbc512086f8ff6c7374f12822413d844c86d99ad0bd17abb924ad5414d -EBUILD chromium-107.0.5304.87.ebuild 37577 BLAKE2B e91ffe6038698fb6c5ad3e12a872fdc1349bc5521ea37df98a1cfcadb1480dd06f8a8f468e8e7507e97add39d73a676ae12c8945c85689b2dd5e14d0eb2bec9f SHA512 ba0fbb4e71361d0da04e750f3c1f3a297edfb48eaf905fb50ca27c7cba5f038266337af3a78f42c36c1548096afec30939b92a9024f8c1fc0907a4ded53c6c28 -EBUILD chromium-108.0.5343.2.ebuild 37533 BLAKE2B 8e15e42ecd0a97deebbd3847d73656f58627b2de8739304ae819beec43a9f9baed300d58e30794a155f003aab21ccae8cb3d4e54e17e9288d207a5c918d9c6fc SHA512 b9bfb9d7e3efe1da4ee8f4c0100487a59597fa91d45b591c6480e0efbd54caff8e0e30139e1b86933799a630c35c9a7ef1d7f724145e7b8d560083af1a4e5028 +DIST chromium_106.0.5249.103-1raptor1~deb11u2.debian.tar.xz 439832 BLAKE2B cda87c0500c1ea0d6a11767d350d41462070ccc74dc8fd18f7099c56853dfa375d5894657c915a5780b4fa297d3f7119da1ac7b4e83eccc76d94aeb275bc85c4 SHA512 8c84bf52c701b6c5f6ead53087dcc6232841e52c2a03dc31f7a3b2eaa0e694cad30fa8c8f0332ebd23fc79a526c1b2b33558e911a6683a3572ffcbd1b83ee059 +DIST chromium_107.0.5304.68-1raptor1~deb11u1.debian.tar.xz 439056 BLAKE2B fca48164e1395ab5e71a88aac1366e923a6be62337e84e6760352c358625d4172793f970609757218a703daa3a31e6a43e400508c55f2e82b6443ca85c123382 SHA512 21a765a192e39a4e26f92eaee107e8cb280e18b387e834e11f593f3a00f5b8c59d6fb9d0d959a83b8aaba504be286cb7a22e93c1b96e5061fcfca82ad869c6d8 +EBUILD chromium-106.0.5249.119.ebuild 37937 BLAKE2B 3e0c368728030aee7e1291d4426f8d6f5f0c42eb4641159fd07eae4ef726d35ee9f6435e89468f91915f5b693a94bff784888c8d3b50c3e2fcf524a4eb5d8184 SHA512 a1244d3e535dc01dc9ffb207f7f2a81efd217a6dff41ac5a67a9c2ee3ad8ad0582daf69946efd9ca586eb0b4e6c4e3c6c703f219320f624d1ba433a20a8117b4 +EBUILD chromium-107.0.5304.87.ebuild 38204 BLAKE2B d87dbc1f08f0efd5faed0640f336dc0ba1d721be58a822c051e8fe5ee4f117af58512f1fc3d0aad47b1731a75342729be9a452810041ba404969d03ae67be825 SHA512 64d284c88fead91beda34586fab3baafaa33ed3b12233e44157ebaf1588dd200b33426d25115d2375a6c8ea65861097fe2e80aa2bdfa8208291a9e19c7fd9a3d +EBUILD chromium-108.0.5343.2.ebuild 38153 BLAKE2B 8be26b04c4ccaf6c4ff4f8126204f23bdf1268b6806d8d8c02286b793ebc63ebb9f22184c8e109e656fd34d07755751265a9da64e0fe329213f11df42e39a777 SHA512 2f1820afac46936441ea2ad8575d0590135e2f85bb3bf86ba167307450efbca6929031f5e3f355d4acfc5bccac76f7d5a793ed49156095a11de5d61f2e5a6e67 MISC metadata.xml 2128 BLAKE2B f78ae4671e2a0c0df19c9c43b8500b2de2226ee6b3979dd060d6430872c33072c380ea2438063a68b5aa413bce265d3c5b04097e09b11dfd92fe0067e66dfeea SHA512 4693a4782ea679520e4a09a5d4905dc202fc8d422757864069c455692b56101acb68aca588f3c8e07597ef3c6dd37dab7c7b1184c6d1c0f907d838f99097a4fe diff --git a/www-client/chromium/chromium-106.0.5249.119.ebuild b/www-client/chromium/chromium-106.0.5249.119.ebuild index 01c63d19b595..f64f9386e979 100644 --- a/www-client/chromium/chromium-106.0.5249.119.ebuild +++ b/www-client/chromium/chromium-106.0.5249.119.ebuild @@ -18,13 +18,15 @@ DESCRIPTION="Open-source version of Google Chrome web browser" HOMEPAGE="https://chromium.org/" PATCHSET="3" PATCHSET_NAME="chromium-$(ver_cut 1)-patchset-${PATCHSET}" +PATCHSET_NAME_PPC64="chromium_106.0.5249.103-1raptor1~deb11u2.debian" SRC_URI="https://commondatastorage.googleapis.com/chromium-browser-official/${P}.tar.xz https://github.com/stha09/chromium-patches/releases/download/${PATCHSET_NAME}/${PATCHSET_NAME}.tar.xz + ppc64? ( https://quickbuild.io/~raptor-engineering-public/+archive/ubuntu/chromium/+files/${PATCHSET_NAME_PPC64}.tar.xz ) pgo? ( https://github.com/elkablo/chromium-profiler/releases/download/v0.2/chromium-profiler-0.2.tar )" LICENSE="BSD" SLOT="0/stable" -KEYWORDS="amd64 arm64" +KEYWORDS="amd64 arm64 ~ppc64" IUSE="+X component-build cups cpu_flags_arm_neon debug gtk4 +hangouts headless +js-type-check kerberos libcxx lto +official pgo pic +proprietary-codecs pulseaudio screencast selinux +suid +system-ffmpeg +system-harfbuzz +system-icu +system-png vaapi wayland widevine" REQUIRED_USE=" component-build? ( !suid !libcxx ) @@ -323,6 +325,19 @@ src_prepare() { "${FILESDIR}/chromium-cross-compile.patch" ) + if use ppc64 ; then + local p + for p in $(grep -v "^#" "${WORKDIR}"/debian/patches/series | grep "^ppc64le" || die); do + if [[ $p =~ "fix-breakpad-compile.patch" ]]; then + eapply "${FILESDIR}/ppc64le/fix-breakpad-compile.patch" + else + eapply "${WORKDIR}/debian/patches/${p}" + fi + done + eapply "${FILESDIR}/ppc64le/libpng-pdfium-compile-98.patch" + eapply "${FILESDIR}/ppc64le/fix-swiftshader-compile.patch" + fi + default mkdir -p third_party/node/linux/node-linux-x64/bin || die diff --git a/www-client/chromium/chromium-107.0.5304.87.ebuild b/www-client/chromium/chromium-107.0.5304.87.ebuild index bc673965d7ba..0e53011e1710 100644 --- a/www-client/chromium/chromium-107.0.5304.87.ebuild +++ b/www-client/chromium/chromium-107.0.5304.87.ebuild @@ -18,13 +18,15 @@ DESCRIPTION="Open-source version of Google Chrome web browser" HOMEPAGE="https://chromium.org/" PATCHSET="1" PATCHSET_NAME="chromium-$(ver_cut 1)-patchset-${PATCHSET}" +PATCHSET_NAME_PPC64="chromium_107.0.5304.68-1raptor1~deb11u1.debian" SRC_URI="https://commondatastorage.googleapis.com/chromium-browser-official/${P}.tar.xz https://github.com/stha09/chromium-patches/releases/download/${PATCHSET_NAME}/${PATCHSET_NAME}.tar.xz + ppc64? ( https://quickbuild.io/~raptor-engineering-public/+archive/ubuntu/chromium/+files/${PATCHSET_NAME_PPC64}.tar.xz ) pgo? ( https://github.com/elkablo/chromium-profiler/releases/download/v0.2/chromium-profiler-0.2.tar )" LICENSE="BSD" SLOT="0/stable" -KEYWORDS="amd64 ~arm64" +KEYWORDS="amd64 ~arm64 ~ppc64" IUSE="+X component-build cups cpu_flags_arm_neon debug gtk4 +hangouts headless +js-type-check kerberos libcxx lto +official pgo pic +proprietary-codecs pulseaudio qt5 screencast selinux +suid +system-av1 +system-ffmpeg +system-harfbuzz +system-icu +system-png vaapi wayland widevine" REQUIRED_USE=" component-build? ( !suid !libcxx ) @@ -331,6 +333,19 @@ src_prepare() { "${FILESDIR}/chromium-cross-compile.patch" ) + if use ppc64 ; then + local p + for p in $(grep -v "^#" "${WORKDIR}"/debian/patches/series | grep "^ppc64le" || die); do + if [[ $p =~ "fix-breakpad-compile.patch" ]]; then + eapply "${FILESDIR}/ppc64le/fix-breakpad-compile.patch" + else + eapply "${WORKDIR}/debian/patches/${p}" + fi + done + eapply "${FILESDIR}/ppc64le/libpng-pdfium-compile-98.patch" + eapply "${FILESDIR}/ppc64le/fix-swiftshader-compile.patch" + fi + default mkdir -p third_party/node/linux/node-linux-x64/bin || die diff --git a/www-client/chromium/chromium-108.0.5343.2.ebuild b/www-client/chromium/chromium-108.0.5343.2.ebuild index 79c15737c473..49297ea00e41 100644 --- a/www-client/chromium/chromium-108.0.5343.2.ebuild +++ b/www-client/chromium/chromium-108.0.5343.2.ebuild @@ -18,8 +18,10 @@ DESCRIPTION="Open-source version of Google Chrome web browser" HOMEPAGE="https://chromium.org/" PATCHSET="2" PATCHSET_NAME="chromium-$(ver_cut 1)-patchset-${PATCHSET}" +PATCHSET_NAME_PPC64="chromium_107.0.5304.68-1raptor1~deb11u1.debian" SRC_URI="https://commondatastorage.googleapis.com/chromium-browser-official/${P}.tar.xz https://github.com/stha09/chromium-patches/releases/download/${PATCHSET_NAME}/${PATCHSET_NAME}.tar.xz + ppc64? ( https://quickbuild.io/~raptor-engineering-public/+archive/ubuntu/chromium/+files/${PATCHSET_NAME_PPC64}.tar.xz ) pgo? ( https://github.com/elkablo/chromium-profiler/releases/download/v0.2/chromium-profiler-0.2.tar )" LICENSE="BSD" @@ -331,6 +333,19 @@ src_prepare() { "${FILESDIR}/chromium-cross-compile.patch" ) + if use ppc64 ; then + local p + for p in $(grep -v "^#" "${WORKDIR}"/debian/patches/series | grep "^ppc64le" || die); do + if [[ $p =~ "fix-breakpad-compile.patch" ]]; then + eapply "${FILESDIR}/ppc64le/fix-breakpad-compile.patch" + else + eapply "${WORKDIR}/debian/patches/${p}" + fi + done + eapply "${FILESDIR}/ppc64le/libpng-pdfium-compile-98.patch" + eapply "${FILESDIR}/ppc64le/fix-swiftshader-compile.patch" + fi + default mkdir -p third_party/node/linux/node-linux-x64/bin || die diff --git a/www-client/chromium/files/ppc64le/fix-breakpad-compile.patch b/www-client/chromium/files/ppc64le/fix-breakpad-compile.patch new file mode 100644 index 000000000000..a07cc1941cec --- /dev/null +++ b/www-client/chromium/files/ppc64le/fix-breakpad-compile.patch @@ -0,0 +1,29 @@ +Index: chromium-98.0.4758.80/third_party/breakpad/BUILD.gn +=================================================================== +--- chromium-98.0.4758.80.orig/third_party/breakpad/BUILD.gn ++++ chromium-98.0.4758.80/third_party/breakpad/BUILD.gn +@@ -623,7 +623,6 @@ if (is_linux || is_chromeos || is_android) { + "breakpad/src/client/minidump_file_writer.h", + "breakpad/src/common/convert_UTF.cc", + "breakpad/src/common/convert_UTF.h", +- "breakpad/src/common/linux/breakpad_getcontext.S", + "breakpad/src/common/linux/elf_core_dump.cc", + "breakpad/src/common/linux/elf_core_dump.h", + "breakpad/src/common/linux/elfutils.cc", +@@ -655,6 +654,8 @@ if (is_linux || is_chromeos || is_android) { + configs += [ "//build/config/compiler:no_chromium_code" ] + public_configs = [ ":client_config" ] + ++ defines = [ "HAVE_GETCONTEXT" ] ++ + if (current_cpu == "arm" && is_chromeos_ash) { + # Avoid running out of registers in + # linux_syscall_support.h:sys_clone()'s inline assembly. +@@ -712,7 +713,6 @@ if (is_linux || is_chromeos || is_android) { + "breakpad/src/client/linux/minidump_writer/minidump_writer_unittest.cc", + "breakpad/src/client/linux/minidump_writer/minidump_writer_unittest_utils.cc", + "breakpad/src/client/linux/minidump_writer/proc_cpuinfo_reader_unittest.cc", +- "breakpad/src/common/linux/breakpad_getcontext_unittest.cc", + "breakpad/src/common/linux/elf_core_dump_unittest.cc", + "breakpad/src/common/linux/file_id_unittest.cc", + "breakpad/src/common/linux/linux_libc_support_unittest.cc", diff --git a/www-client/chromium/files/ppc64le/fix-swiftshader-compile.patch b/www-client/chromium/files/ppc64le/fix-swiftshader-compile.patch new file mode 100644 index 000000000000..8474cb6b96cb --- /dev/null +++ b/www-client/chromium/files/ppc64le/fix-swiftshader-compile.patch @@ -0,0 +1,26 @@ +--- chromium-101.0.4951.54/third_party/swiftshader/third_party/llvm-10.0/BUILD.gn.orig 2022-05-15 10:30:50.887333316 +0200 ++++ chromium-101.0.4951.54/third_party/swiftshader/third_party/llvm-10.0/BUILD.gn 2022-05-15 10:31:43.477318032 +0200 +@@ -131,7 +131,6 @@ + if (is_ubsan_vptr) { + sources = [ + "llvm/lib/MC/MCWasmObjectTargetWriter.cpp", +- "llvm/lib/MC/MCXCOFFObjectTargetWriter.cpp", + "llvm/lib/Target/ARM/MCTargetDesc/ARMTargetStreamer.cpp", + "llvm/lib/Target/TargetIntrinsicInfo.cpp", + ] +@@ -579,6 +578,7 @@ + "llvm/lib/MC/MCAsmInfoCOFF.cpp", + "llvm/lib/MC/MCAsmInfoDarwin.cpp", + "llvm/lib/MC/MCAsmInfoELF.cpp", ++ "llvm/lib/MC/MCAsmInfoXCOFF.cpp", + "llvm/lib/MC/MCAsmMacro.cpp", + "llvm/lib/MC/MCAsmStreamer.cpp", + "llvm/lib/MC/MCAssembler.cpp", +@@ -633,6 +633,7 @@ + "llvm/lib/MC/MCWin64EH.cpp", + "llvm/lib/MC/MCWinCOFFStreamer.cpp", + "llvm/lib/MC/MCWinEH.cpp", ++ "llvm/lib/MC/MCXCOFFObjectTargetWriter.cpp", + "llvm/lib/MC/MCXCOFFStreamer.cpp", + "llvm/lib/MC/MachObjectWriter.cpp", + "llvm/lib/MC/StringTableBuilder.cpp", diff --git a/www-client/chromium/files/ppc64le/libpng-pdfium-compile-98.patch b/www-client/chromium/files/ppc64le/libpng-pdfium-compile-98.patch new file mode 100644 index 000000000000..681eb80ea07f --- /dev/null +++ b/www-client/chromium/files/ppc64le/libpng-pdfium-compile-98.patch @@ -0,0 +1,13 @@ +Index: chromium-98.0.4758.80/third_party/pdfium/BUILD.gn +=================================================================== +--- chromium-98.0.4758.80.orig/third_party/pdfium/BUILD.gn ++++ chromium-98.0.4758.80/third_party/pdfium/BUILD.gn +@@ -16,7 +16,7 @@ + } + + config("pdfium_common_config") { +- cflags = [] ++ cflags = [ "-DPNG_POWERPC_VSX_OPT=0" ] + cflags_cc = [] + ldflags = [] + include_dirs = [ "." ] -- cgit v1.2.3