From 5e181ca8a5700f11c94f8a30abb96ea3cabb7b92 Mon Sep 17 00:00:00 2001 From: Matt Jolly Date: Fri, 28 Jun 2024 07:51:54 +1000 Subject: [PATCH 01/11] www-client/google-chrome-beta: automated update (127.0.6533.26) Signed-off-by: Matt Jolly --- www-client/google-chrome-beta/Manifest | 2 +- ...0.6533.17.ebuild => google-chrome-beta-127.0.6533.26.ebuild} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename www-client/google-chrome-beta/{google-chrome-beta-127.0.6533.17.ebuild => google-chrome-beta-127.0.6533.26.ebuild} (100%) diff --git a/www-client/google-chrome-beta/Manifest b/www-client/google-chrome-beta/Manifest index d87c5f49ac2a7..b636689740c01 100644 --- a/www-client/google-chrome-beta/Manifest +++ b/www-client/google-chrome-beta/Manifest @@ -1 +1 @@ -DIST google-chrome-beta_127.0.6533.17-1_amd64.deb 109140664 BLAKE2B c521b25830a91fc156598b5b3ea9d1f26866917788c54a90674cde5494aa78880bfe3bcbefffa380440b22bdef041cf79f306f0305b7d65b7b00c668bd8f839c SHA512 ff1501bec2be4145e07ea696db0dec7f2c9d541c2decdafb3ff81ff6337147ad05c5d0c7e3f7626b860392fd331109435a0a809a25f46084748ae96cfebd3909 +DIST google-chrome-beta_127.0.6533.26-1_amd64.deb 109200372 BLAKE2B c52fb6fbde230b40c4aa8c400d68f393fd8254cc503c79e5c8929dd0ca1dd760e72dba9fda11ea64b9c7e7c69e30a09c95bff3014aab01cb8e98e8ce42238d34 SHA512 083ef46ff37418fec18b2e082d4aaa5f209d77047c3e17c2f151eeb5e28dee5538430da15ea72bbdc1f9faec707933334c7d1bf7d522d2ec2aeaae02138d28f6 diff --git a/www-client/google-chrome-beta/google-chrome-beta-127.0.6533.17.ebuild b/www-client/google-chrome-beta/google-chrome-beta-127.0.6533.26.ebuild similarity index 100% rename from www-client/google-chrome-beta/google-chrome-beta-127.0.6533.17.ebuild rename to www-client/google-chrome-beta/google-chrome-beta-127.0.6533.26.ebuild From 0bdd0976d9d7c9d6adcdf9a0fd3d8d02b7e3cc40 Mon Sep 17 00:00:00 2001 From: Matt Jolly Date: Fri, 28 Jun 2024 07:52:10 +1000 Subject: [PATCH 02/11] www-plugins/chrome-binary-plugins: automated update (127.0.6533.26_beta) Signed-off-by: Matt Jolly --- www-plugins/chrome-binary-plugins/Manifest | 2 +- ...a.ebuild => chrome-binary-plugins-127.0.6533.26_beta.ebuild} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename www-plugins/chrome-binary-plugins/{chrome-binary-plugins-127.0.6533.17_beta.ebuild => chrome-binary-plugins-127.0.6533.26_beta.ebuild} (100%) diff --git a/www-plugins/chrome-binary-plugins/Manifest b/www-plugins/chrome-binary-plugins/Manifest index 8a59c47574d2a..c6f711cd9e4dd 100644 --- a/www-plugins/chrome-binary-plugins/Manifest +++ b/www-plugins/chrome-binary-plugins/Manifest @@ -1,3 +1,3 @@ -DIST google-chrome-beta_127.0.6533.17-1_amd64.deb 109140664 BLAKE2B c521b25830a91fc156598b5b3ea9d1f26866917788c54a90674cde5494aa78880bfe3bcbefffa380440b22bdef041cf79f306f0305b7d65b7b00c668bd8f839c SHA512 ff1501bec2be4145e07ea696db0dec7f2c9d541c2decdafb3ff81ff6337147ad05c5d0c7e3f7626b860392fd331109435a0a809a25f46084748ae96cfebd3909 +DIST google-chrome-beta_127.0.6533.26-1_amd64.deb 109200372 BLAKE2B c52fb6fbde230b40c4aa8c400d68f393fd8254cc503c79e5c8929dd0ca1dd760e72dba9fda11ea64b9c7e7c69e30a09c95bff3014aab01cb8e98e8ce42238d34 SHA512 083ef46ff37418fec18b2e082d4aaa5f209d77047c3e17c2f151eeb5e28dee5538430da15ea72bbdc1f9faec707933334c7d1bf7d522d2ec2aeaae02138d28f6 DIST google-chrome-stable_126.0.6478.126-1_amd64.deb 108773084 BLAKE2B 4e59333e6073b2b7320b50551a6241fc402509398a404742e63ccde60dce3a9c8d5a490a0b9fb4a9a409562ee4ea078ac1a6d441b0ead94bd40792b16afa48f9 SHA512 cae09818d2032253e1d9a8e58dfde53d56bb4fd63de0b7ad89bc6558da66103220057dce331ae519fa79e7ec140f116bc8d3e10200eb9845bb278aeaf3cf5d95 DIST google-chrome-unstable_128.0.6555.2-1_amd64.deb 109871140 BLAKE2B 2bc6db0a021f8161ecdde53365b5bbe203eebd40e23886866b5e5e60f1dc98b3e1db481b20f97ee64a6cc5256df7fcb3c07d02905372ca927e2990e0b815b507 SHA512 219ba6ce068fb6311c4a423e64c35a96dc7944e63702d460ed9b47499abf62c3ee0218e16fbc93a8d36b735ea0242e2e32f43f07bac32480ddb14a25b37ab45e diff --git a/www-plugins/chrome-binary-plugins/chrome-binary-plugins-127.0.6533.17_beta.ebuild b/www-plugins/chrome-binary-plugins/chrome-binary-plugins-127.0.6533.26_beta.ebuild similarity index 100% rename from www-plugins/chrome-binary-plugins/chrome-binary-plugins-127.0.6533.17_beta.ebuild rename to www-plugins/chrome-binary-plugins/chrome-binary-plugins-127.0.6533.26_beta.ebuild From 680fa58816b9ed428b030f8eae53f2d127a1f7e2 Mon Sep 17 00:00:00 2001 From: Matt Jolly Date: Fri, 28 Jun 2024 07:52:40 +1000 Subject: [PATCH 03/11] www-client/google-chrome-unstable: automated update (128.0.6559.0) Signed-off-by: Matt Jolly --- www-client/google-chrome-unstable/Manifest | 2 +- ...6555.2.ebuild => google-chrome-unstable-128.0.6559.0.ebuild} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename www-client/google-chrome-unstable/{google-chrome-unstable-128.0.6555.2.ebuild => google-chrome-unstable-128.0.6559.0.ebuild} (100%) diff --git a/www-client/google-chrome-unstable/Manifest b/www-client/google-chrome-unstable/Manifest index da33624786bd0..59d268cdd4a54 100644 --- a/www-client/google-chrome-unstable/Manifest +++ b/www-client/google-chrome-unstable/Manifest @@ -1 +1 @@ -DIST google-chrome-unstable_128.0.6555.2-1_amd64.deb 109871140 BLAKE2B 2bc6db0a021f8161ecdde53365b5bbe203eebd40e23886866b5e5e60f1dc98b3e1db481b20f97ee64a6cc5256df7fcb3c07d02905372ca927e2990e0b815b507 SHA512 219ba6ce068fb6311c4a423e64c35a96dc7944e63702d460ed9b47499abf62c3ee0218e16fbc93a8d36b735ea0242e2e32f43f07bac32480ddb14a25b37ab45e +DIST google-chrome-unstable_128.0.6559.0-1_amd64.deb 109921208 BLAKE2B 55a225f2e5cd32b4f22d36e4622ccf0b37a7d159993fcc1de181e24bf579f93e327b5ec10516b1cf64ef0a91d1c17b3f7c157f15d8efa6851d2f6290d3bc26d1 SHA512 e9e730be7506897d3ed85e90db016dbd9615850a0f72058746d1bd79747a54f5e08663430b6d74627229d2af27bc3141d0ee11077da07287f2b8b2702bd3fca3 diff --git a/www-client/google-chrome-unstable/google-chrome-unstable-128.0.6555.2.ebuild b/www-client/google-chrome-unstable/google-chrome-unstable-128.0.6559.0.ebuild similarity index 100% rename from www-client/google-chrome-unstable/google-chrome-unstable-128.0.6555.2.ebuild rename to www-client/google-chrome-unstable/google-chrome-unstable-128.0.6559.0.ebuild From bc47036d7d40988ed3c08b30b610a5ec0021194c Mon Sep 17 00:00:00 2001 From: Matt Jolly Date: Fri, 28 Jun 2024 07:52:45 +1000 Subject: [PATCH 04/11] www-plugins/chrome-binary-plugins: automated update (128.0.6559.0_alpha) Signed-off-by: Matt Jolly --- www-plugins/chrome-binary-plugins/Manifest | 2 +- ...a.ebuild => chrome-binary-plugins-128.0.6559.0_alpha.ebuild} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename www-plugins/chrome-binary-plugins/{chrome-binary-plugins-128.0.6555.2_alpha.ebuild => chrome-binary-plugins-128.0.6559.0_alpha.ebuild} (100%) diff --git a/www-plugins/chrome-binary-plugins/Manifest b/www-plugins/chrome-binary-plugins/Manifest index c6f711cd9e4dd..99e8f3055b89a 100644 --- a/www-plugins/chrome-binary-plugins/Manifest +++ b/www-plugins/chrome-binary-plugins/Manifest @@ -1,3 +1,3 @@ DIST google-chrome-beta_127.0.6533.26-1_amd64.deb 109200372 BLAKE2B c52fb6fbde230b40c4aa8c400d68f393fd8254cc503c79e5c8929dd0ca1dd760e72dba9fda11ea64b9c7e7c69e30a09c95bff3014aab01cb8e98e8ce42238d34 SHA512 083ef46ff37418fec18b2e082d4aaa5f209d77047c3e17c2f151eeb5e28dee5538430da15ea72bbdc1f9faec707933334c7d1bf7d522d2ec2aeaae02138d28f6 DIST google-chrome-stable_126.0.6478.126-1_amd64.deb 108773084 BLAKE2B 4e59333e6073b2b7320b50551a6241fc402509398a404742e63ccde60dce3a9c8d5a490a0b9fb4a9a409562ee4ea078ac1a6d441b0ead94bd40792b16afa48f9 SHA512 cae09818d2032253e1d9a8e58dfde53d56bb4fd63de0b7ad89bc6558da66103220057dce331ae519fa79e7ec140f116bc8d3e10200eb9845bb278aeaf3cf5d95 -DIST google-chrome-unstable_128.0.6555.2-1_amd64.deb 109871140 BLAKE2B 2bc6db0a021f8161ecdde53365b5bbe203eebd40e23886866b5e5e60f1dc98b3e1db481b20f97ee64a6cc5256df7fcb3c07d02905372ca927e2990e0b815b507 SHA512 219ba6ce068fb6311c4a423e64c35a96dc7944e63702d460ed9b47499abf62c3ee0218e16fbc93a8d36b735ea0242e2e32f43f07bac32480ddb14a25b37ab45e +DIST google-chrome-unstable_128.0.6559.0-1_amd64.deb 109921208 BLAKE2B 55a225f2e5cd32b4f22d36e4622ccf0b37a7d159993fcc1de181e24bf579f93e327b5ec10516b1cf64ef0a91d1c17b3f7c157f15d8efa6851d2f6290d3bc26d1 SHA512 e9e730be7506897d3ed85e90db016dbd9615850a0f72058746d1bd79747a54f5e08663430b6d74627229d2af27bc3141d0ee11077da07287f2b8b2702bd3fca3 diff --git a/www-plugins/chrome-binary-plugins/chrome-binary-plugins-128.0.6555.2_alpha.ebuild b/www-plugins/chrome-binary-plugins/chrome-binary-plugins-128.0.6559.0_alpha.ebuild similarity index 100% rename from www-plugins/chrome-binary-plugins/chrome-binary-plugins-128.0.6555.2_alpha.ebuild rename to www-plugins/chrome-binary-plugins/chrome-binary-plugins-128.0.6559.0_alpha.ebuild From ec680586f5616aa36cd830ff5398003525856f6b Mon Sep 17 00:00:00 2001 From: Matt Jolly Date: Fri, 28 Jun 2024 07:53:35 +1000 Subject: [PATCH 05/11] www-client/microsoft-edge: automated bump (126.0.2592.81) Signed-off-by: Matt Jolly --- www-client/microsoft-edge/Manifest | 1 + .../microsoft-edge-126.0.2592.81.ebuild | 126 ++++++++++++++++++ 2 files changed, 127 insertions(+) create mode 100644 www-client/microsoft-edge/microsoft-edge-126.0.2592.81.ebuild diff --git a/www-client/microsoft-edge/Manifest b/www-client/microsoft-edge/Manifest index 87c231198330c..79206ed113a34 100644 --- a/www-client/microsoft-edge/Manifest +++ b/www-client/microsoft-edge/Manifest @@ -1 +1,2 @@ DIST microsoft-edge-stable_126.0.2592.68-1_amd64.deb 168070006 BLAKE2B d4b7a90ec215aab7eab86197e1a9fdd05306ab1a9daa28f2cee67b162948dc70e1383fd8582fa1872ec762bf9d1617477a858f9a1476221d5397a65c09bf20f7 SHA512 ad76c4bba553d870fc4ea233412e0ed20eaf7fb64bf08975dda4cec832c03108bfb214268654aceed4b47a59173ecb48085fff892c9ad1dfde9b9c1a67968ac6 +DIST microsoft-edge-stable_126.0.2592.81-1_amd64.deb 168150094 BLAKE2B 7e3ffae48269651076428e86b92e3ae888abd09b9abc86c7f0923d0d7895733d993a3b9de5bf3c97a2030b06903459468d91a03d53cf6ee6f802d2f459f5187b SHA512 f694c2adff03a3b0465687716fc27bcff31c6d76db2f0a60e692d20eae45beeb18ebc5317098c46b8898050b2697909335597684e39992c79bd30c900fc1cec8 diff --git a/www-client/microsoft-edge/microsoft-edge-126.0.2592.81.ebuild b/www-client/microsoft-edge/microsoft-edge-126.0.2592.81.ebuild new file mode 100644 index 0000000000000..0ff710cc5ddc2 --- /dev/null +++ b/www-client/microsoft-edge/microsoft-edge-126.0.2592.81.ebuild @@ -0,0 +1,126 @@ +# Copyright 2011-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" + +inherit chromium-2 desktop pax-utils unpacker xdg + +DESCRIPTION="The web browser from Microsoft" +HOMEPAGE="https://www.microsoft.com/edge" + +if [[ ${PN} == microsoft-edge ]]; then + MY_PN=${PN}-stable +else + MY_PN=${PN} +fi + +MY_P="${MY_PN}_${PV}-1" +SRC_URI="https://packages.microsoft.com/repos/edge/pool/main/m/${MY_PN}/${MY_P}_amd64.deb" +S=${WORKDIR} + +LICENSE="microsoft-edge" +SLOT="0" +KEYWORDS="-* ~amd64" + +IUSE="+mip qt5 qt6" +RESTRICT="bindist mirror strip" + +RDEPEND=" + >=app-accessibility/at-spi2-core-2.46.0:2 + app-misc/ca-certificates + dev-libs/expat + dev-libs/glib:2 + dev-libs/nspr + dev-libs/nss + media-fonts/liberation-fonts + media-libs/alsa-lib + media-libs/mesa[gbm(+)] + net-misc/curl[ssl] + net-print/cups + sys-apps/dbus + sys-apps/util-linux + sys-libs/glibc + x11-libs/cairo + x11-libs/gdk-pixbuf:2 + x11-libs/gtk+:3[X] + x11-libs/libdrm + x11-libs/libX11 + x11-libs/libXcomposite + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXrandr + x11-libs/libxcb + x11-libs/libxkbcommon + x11-libs/libxshmfence + x11-libs/pango + x11-misc/xdg-utils + mip? ( app-crypt/libsecret ) + qt5? ( + dev-qt/qtcore:5 + dev-qt/qtgui:5[X] + dev-qt/qtwidgets:5 + ) + qt6? ( dev-qt/qtbase:6[gui,widgets] ) +" + +QA_PREBUILT="*" +QA_DESKTOP_FILE="usr/share/applications/microsoft-edge.*\\.desktop" +EDGE_HOME="opt/microsoft/msedge${PN#microsoft-edge}" + +pkg_nofetch() { + eerror "Please wait 24 hours and sync your tree before reporting a bug for microsoft-edge fetch failures." +} + +pkg_pretend() { + # Protect against people using autounmask overzealously + use amd64 || die "microsoft-edge only works on amd64" +} + +pkg_setup() { + chromium_suid_sandbox_check_kernel_config +} + +src_unpack() { + : +} + +src_install() { + dodir / + cd "${ED}" || die + unpacker + + rm -f _gpgorigin || die + + rm -r etc usr/share/menu || die + mv usr/share/doc/${MY_PN} usr/share/doc/${PF} || die + + gzip -d usr/share/doc/${PF}/changelog.gz || die + gzip -d usr/share/man/man1/${MY_PN}.1.gz || die + if [[ -L usr/share/man/man1/${PN}.1.gz ]]; then + rm usr/share/man/man1/${PN}.1.gz || die + dosym ${MY_PN}.1 usr/share/man/man1/${PN}.1 + fi + + local suffix= + [[ ${PN} == microsoft-edge-beta ]] && suffix=_beta + [[ ${PN} == microsoft-edge-dev ]] && suffix=_dev + + local size + for size in 16 24 32 48 64 128 256 ; do + newicon -s ${size} "${EDGE_HOME}/product_logo_${size}${suffix}.png" ${PN}.png + done + + if ! use mip; then + rm "${EDGE_HOME}"/libmip_{core,protection_sdk}.so || die + fi + + if ! use qt5; then + rm "${EDGE_HOME}/libqt5_shim.so" || die + fi + if ! use qt6; then + rm "${EDGE_HOME}/libqt6_shim.so" || die + fi + + pax-mark m "${EDGE_HOME}/msedge" +} From fdb8a4a4472ca396e7fe6905c79765a4537a0546 Mon Sep 17 00:00:00 2001 From: Matt Jolly Date: Fri, 28 Jun 2024 07:53:40 +1000 Subject: [PATCH 06/11] www-client/microsoft-edge: amd64 stable (126.0.2592.81) Signed-off-by: Matt Jolly --- www-client/microsoft-edge/microsoft-edge-126.0.2592.81.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www-client/microsoft-edge/microsoft-edge-126.0.2592.81.ebuild b/www-client/microsoft-edge/microsoft-edge-126.0.2592.81.ebuild index 0ff710cc5ddc2..7ea339bd40f92 100644 --- a/www-client/microsoft-edge/microsoft-edge-126.0.2592.81.ebuild +++ b/www-client/microsoft-edge/microsoft-edge-126.0.2592.81.ebuild @@ -20,7 +20,7 @@ S=${WORKDIR} LICENSE="microsoft-edge" SLOT="0" -KEYWORDS="-* ~amd64" +KEYWORDS="-* amd64" IUSE="+mip qt5 qt6" RESTRICT="bindist mirror strip" From abb2a66045bbe3470378e1753c8db09b965d450c Mon Sep 17 00:00:00 2001 From: Matt Jolly Date: Fri, 28 Jun 2024 07:53:43 +1000 Subject: [PATCH 07/11] www-client/microsoft-edge: remove old Signed-off-by: Matt Jolly --- www-client/microsoft-edge/Manifest | 1 - .../microsoft-edge-126.0.2592.68.ebuild | 126 ------------------ 2 files changed, 127 deletions(-) delete mode 100644 www-client/microsoft-edge/microsoft-edge-126.0.2592.68.ebuild diff --git a/www-client/microsoft-edge/Manifest b/www-client/microsoft-edge/Manifest index 79206ed113a34..b50ff01a7b73b 100644 --- a/www-client/microsoft-edge/Manifest +++ b/www-client/microsoft-edge/Manifest @@ -1,2 +1 @@ -DIST microsoft-edge-stable_126.0.2592.68-1_amd64.deb 168070006 BLAKE2B d4b7a90ec215aab7eab86197e1a9fdd05306ab1a9daa28f2cee67b162948dc70e1383fd8582fa1872ec762bf9d1617477a858f9a1476221d5397a65c09bf20f7 SHA512 ad76c4bba553d870fc4ea233412e0ed20eaf7fb64bf08975dda4cec832c03108bfb214268654aceed4b47a59173ecb48085fff892c9ad1dfde9b9c1a67968ac6 DIST microsoft-edge-stable_126.0.2592.81-1_amd64.deb 168150094 BLAKE2B 7e3ffae48269651076428e86b92e3ae888abd09b9abc86c7f0923d0d7895733d993a3b9de5bf3c97a2030b06903459468d91a03d53cf6ee6f802d2f459f5187b SHA512 f694c2adff03a3b0465687716fc27bcff31c6d76db2f0a60e692d20eae45beeb18ebc5317098c46b8898050b2697909335597684e39992c79bd30c900fc1cec8 diff --git a/www-client/microsoft-edge/microsoft-edge-126.0.2592.68.ebuild b/www-client/microsoft-edge/microsoft-edge-126.0.2592.68.ebuild deleted file mode 100644 index 7ea339bd40f92..0000000000000 --- a/www-client/microsoft-edge/microsoft-edge-126.0.2592.68.ebuild +++ /dev/null @@ -1,126 +0,0 @@ -# Copyright 2011-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="8" - -inherit chromium-2 desktop pax-utils unpacker xdg - -DESCRIPTION="The web browser from Microsoft" -HOMEPAGE="https://www.microsoft.com/edge" - -if [[ ${PN} == microsoft-edge ]]; then - MY_PN=${PN}-stable -else - MY_PN=${PN} -fi - -MY_P="${MY_PN}_${PV}-1" -SRC_URI="https://packages.microsoft.com/repos/edge/pool/main/m/${MY_PN}/${MY_P}_amd64.deb" -S=${WORKDIR} - -LICENSE="microsoft-edge" -SLOT="0" -KEYWORDS="-* amd64" - -IUSE="+mip qt5 qt6" -RESTRICT="bindist mirror strip" - -RDEPEND=" - >=app-accessibility/at-spi2-core-2.46.0:2 - app-misc/ca-certificates - dev-libs/expat - dev-libs/glib:2 - dev-libs/nspr - dev-libs/nss - media-fonts/liberation-fonts - media-libs/alsa-lib - media-libs/mesa[gbm(+)] - net-misc/curl[ssl] - net-print/cups - sys-apps/dbus - sys-apps/util-linux - sys-libs/glibc - x11-libs/cairo - x11-libs/gdk-pixbuf:2 - x11-libs/gtk+:3[X] - x11-libs/libdrm - x11-libs/libX11 - x11-libs/libXcomposite - x11-libs/libXdamage - x11-libs/libXext - x11-libs/libXfixes - x11-libs/libXrandr - x11-libs/libxcb - x11-libs/libxkbcommon - x11-libs/libxshmfence - x11-libs/pango - x11-misc/xdg-utils - mip? ( app-crypt/libsecret ) - qt5? ( - dev-qt/qtcore:5 - dev-qt/qtgui:5[X] - dev-qt/qtwidgets:5 - ) - qt6? ( dev-qt/qtbase:6[gui,widgets] ) -" - -QA_PREBUILT="*" -QA_DESKTOP_FILE="usr/share/applications/microsoft-edge.*\\.desktop" -EDGE_HOME="opt/microsoft/msedge${PN#microsoft-edge}" - -pkg_nofetch() { - eerror "Please wait 24 hours and sync your tree before reporting a bug for microsoft-edge fetch failures." -} - -pkg_pretend() { - # Protect against people using autounmask overzealously - use amd64 || die "microsoft-edge only works on amd64" -} - -pkg_setup() { - chromium_suid_sandbox_check_kernel_config -} - -src_unpack() { - : -} - -src_install() { - dodir / - cd "${ED}" || die - unpacker - - rm -f _gpgorigin || die - - rm -r etc usr/share/menu || die - mv usr/share/doc/${MY_PN} usr/share/doc/${PF} || die - - gzip -d usr/share/doc/${PF}/changelog.gz || die - gzip -d usr/share/man/man1/${MY_PN}.1.gz || die - if [[ -L usr/share/man/man1/${PN}.1.gz ]]; then - rm usr/share/man/man1/${PN}.1.gz || die - dosym ${MY_PN}.1 usr/share/man/man1/${PN}.1 - fi - - local suffix= - [[ ${PN} == microsoft-edge-beta ]] && suffix=_beta - [[ ${PN} == microsoft-edge-dev ]] && suffix=_dev - - local size - for size in 16 24 32 48 64 128 256 ; do - newicon -s ${size} "${EDGE_HOME}/product_logo_${size}${suffix}.png" ${PN}.png - done - - if ! use mip; then - rm "${EDGE_HOME}"/libmip_{core,protection_sdk}.so || die - fi - - if ! use qt5; then - rm "${EDGE_HOME}/libqt5_shim.so" || die - fi - if ! use qt6; then - rm "${EDGE_HOME}/libqt6_shim.so" || die - fi - - pax-mark m "${EDGE_HOME}/msedge" -} From 90fb1b0f18d581f977a1b8fbc08544cfb2ae3a5b Mon Sep 17 00:00:00 2001 From: Matt Jolly Date: Fri, 28 Jun 2024 07:54:42 +1000 Subject: [PATCH 08/11] www-client/opera-beta: automated bump (112.0.5197.10) Signed-off-by: Matt Jolly --- www-client/opera-beta/Manifest | 1 + .../opera-beta-112.0.5197.10.ebuild | 173 ++++++++++++++++++ 2 files changed, 174 insertions(+) create mode 100644 www-client/opera-beta/opera-beta-112.0.5197.10.ebuild diff --git a/www-client/opera-beta/Manifest b/www-client/opera-beta/Manifest index adbbf64529e8f..00acfd0fad566 100644 --- a/www-client/opera-beta/Manifest +++ b/www-client/opera-beta/Manifest @@ -1,3 +1,4 @@ DIST opera-beta_111.0.5168.10_amd64.deb 110679556 BLAKE2B 9b39954572dcab10f5c6e2ae8c49b3fa89c96c9d2ae6744f73d66bec122bb718cca436facbf3f36e34a4122bab5120157893f0341d029e6dc5b6089228e483f3 SHA512 330cad42972bd0b87c799461dad0944073957ee2413166e86db9c5b7ae5721f7c29e67861a04240c232fa0ea0e54e301bac9a107d8a3faae10c7ec63b4b81ac7 DIST opera-beta_111.0.5168.15_amd64.deb 110248164 BLAKE2B 05a58600640ffdf6d75ca673458f3e89d94ba15b7fa8ba3935f49a5d53c937994ce59ea36a4e8becf8ecb1d87b0d451f38f422253c24e6e2db56a7af71ad9072 SHA512 37502f15d08564c1e667797c646c1310647e28c00f6601114862cbec82a9f4afd5f3f5dd2a1f46db19f6ae32c36c413c018c2bc5008e5d19ece89d0ee8673daf +DIST opera-beta_112.0.5197.10_amd64.deb 111011432 BLAKE2B 214a3ac05a1c457dda6ab78529bd28023a3ee8e809da12a45cdb23eb37765eb8be36d0854d765ac8b472e762ded7ca147a951ff7ea2ec44402c874312b8760de SHA512 c8efefc1f412ac3c4bd1555fbf837fa18917b7857ed22436c0044631d05a6188d24be5f60a6b283f8884a76eaca7fcc5462217d0f52e4b8445614724b1a18b52 DIST opera-beta_112.0.5197.5_amd64.deb 111091348 BLAKE2B 4e683d4fdb536a9b6beaa9be325738bd5282afa18cde816de04cc1285c1f021f8063fec07b505ab9af56eb33170e4342959154a63e384be7d9cde9bd9fe62b56 SHA512 d98b62e2ac94f154474f247a60c9acbb4fcddf1bf3443456bc742152c5a2f9ac36d6cfecd60e3f416550257f2f088cee61d45a2a28b4f4376e077784840fa186 diff --git a/www-client/opera-beta/opera-beta-112.0.5197.10.ebuild b/www-client/opera-beta/opera-beta-112.0.5197.10.ebuild new file mode 100644 index 0000000000000..0d49f3a56353b --- /dev/null +++ b/www-client/opera-beta/opera-beta-112.0.5197.10.ebuild @@ -0,0 +1,173 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CHROMIUM_LANGS=" + bg bn ca cs da de el en-GB en-US es-419 es fil fi fr hi hr hu id + it ja ko lt lv ms nb nl pl pt-BR pt-PT ro ru sk sr sv sw ta te th tr uk vi + zh-CN zh-TW +" + +# These are intended for ebuild maintainer use to force RPM if DEB is not available. +: ${OPERA_FORCE_RPM=no} + +inherit chromium-2 pax-utils xdg + +if [[ ${OPERA_FORCE_RPM} == yes ]]; then + inherit rpm + OPERA_ARCHIVE_EXT="rpm" +else + inherit unpacker + OPERA_ARCHIVE_EXT="deb" +fi + +DESCRIPTION="A fast and secure web browser" +HOMEPAGE="https://www.opera.com/" + +SRC_URI_BASE=( + "https://download1.operacdn.com/pub/${PN}" + "https://download2.operacdn.com/pub/${PN}" + "https://download3.operacdn.com/pub/${PN}" + "https://download4.operacdn.com/pub/${PN}" +) + +if [[ ${PN} == opera ]]; then + MY_PN=${PN}-stable + SRC_URI_BASE=( "${SRC_URI_BASE[@]/%//desktop}" ) +else + MY_PN=${PN} +fi + +# Commit ref from `strings libffmpeg.so | grep -F "FFmpeg version"` matches this Chromium version +# used to select the correct ffmpeg-chromium version (corresponds to a major version of Chromium) +# Does not need to be updated for every new version of Opera, only when it breaks +CHROMIUM_VERSION="125" +SRC_URI="${SRC_URI_BASE[@]/%//${PV}/linux/${MY_PN}_${PV}_amd64.${OPERA_ARCHIVE_EXT}}" +S=${WORKDIR} + +LICENSE="OPERA-2018" +SLOT="0" +KEYWORDS="-* ~amd64" +IUSE="+ffmpeg-chromium +proprietary-codecs +suid qt5 qt6" +RESTRICT="bindist mirror strip" + +RDEPEND=" + >=app-accessibility/at-spi2-core-2.46.0:2 + dev-libs/expat + dev-libs/glib:2 + dev-libs/nspr + dev-libs/nss + gnome-base/gsettings-desktop-schemas + media-libs/alsa-lib + media-libs/mesa[gbm(+)] + net-misc/curl + net-print/cups + sys-apps/dbus + sys-libs/glibc + x11-libs/cairo + x11-libs/gdk-pixbuf + x11-libs/gtk+:3 + x11-libs/libdrm + x11-libs/libxcb + x11-libs/libxkbcommon + x11-libs/libxshmfence + x11-libs/libX11 + x11-libs/libXcomposite + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXrandr + x11-libs/pango + proprietary-codecs? ( + !ffmpeg-chromium? ( >=media-video/ffmpeg-6.1-r1:0/58.60.60[chromium] ) + ffmpeg-chromium? ( media-video/ffmpeg-chromium:${CHROMIUM_VERSION} ) + ) + qt5? ( + dev-qt/qtcore:5 + dev-qt/qtgui:5[X] + dev-qt/qtwidgets:5 + ) + qt6? ( dev-qt/qtbase:6[gui,widgets] ) +" + +QA_PREBUILT="*" +OPERA_HOME="opt/opera${PN#opera}" + +pkg_pretend() { + # Protect against people using autounmask overzealously + use amd64 || die "opera only works on amd64" +} + +pkg_setup() { + chromium_suid_sandbox_check_kernel_config +} + +src_unpack() { + : +} + +src_install() { + dodir / + cd "${ED}" || die + if [[ ${OPERA_FORCE_RPM} == yes ]]; then + rpm_src_unpack "${A[0]}" + else + unpacker + fi + + # move to /opt, bug #573052 + mkdir -p "${OPERA_HOME%${PN}}" + if [[ ${OPERA_FORCE_RPM} == yes ]]; then + mv "usr/lib64/${PN}" "${OPERA_HOME%${PN}}" || die + else + mv "usr/lib/x86_64-linux-gnu/${PN}" "${OPERA_HOME%${PN}}" || die + fi + rm -r "usr/lib" || die + + # disable auto update + rm "${OPERA_HOME}/${PN%-*}_autoupdate"{,.licenses,.version} || die + + if [[ ${OPERA_FORCE_RPM} == yes ]]; then + rm "${OPERA_HOME}/setup_repo.sh" || die + else + rm -r "usr/share/lintian" || die + + # fix docs + mv usr/share/doc/${MY_PN} usr/share/doc/${PF} || die + gzip -d usr/share/doc/${PF}/changelog.gz || die + fi + + # fix desktop file + sed -i \ + -e 's|^TargetEnvironment|X-&|g' \ + usr/share/applications/${PN}.desktop || die + + # remove unused language packs + pushd "${OPERA_HOME}/localization" > /dev/null || die + chromium_remove_language_paks + popd > /dev/null || die + + # setup opera symlink + rm "usr/bin/${PN}" || die + dosym "../../${OPERA_HOME}/${PN}" "/usr/bin/${PN}" + + # install proprietary codecs + rm "${OPERA_HOME}/resources/ffmpeg_preload_config.json" || die + if use proprietary-codecs; then + dosym ../../usr/$(get_libdir)/chromium/libffmpeg.so$(usex ffmpeg-chromium .${CHROMIUM_VERSION} "") \ + /${OPERA_HOME}/libffmpeg.so + fi + + if ! use qt5; then + rm "${OPERA_HOME}/libqt5_shim.so" || die + fi + if ! use qt6; then + rm "${OPERA_HOME}/libqt6_shim.so" || die + fi + + # pax mark opera, bug #562038 + pax-mark m "${OPERA_HOME}/opera" + # enable suid sandbox if requested + use suid && fperms 4711 "/${OPERA_HOME}/opera_sandbox" +} From 3a47934e725034c1ad1df6b609e7edfb5564506b Mon Sep 17 00:00:00 2001 From: Matt Jolly Date: Fri, 28 Jun 2024 07:54:45 +1000 Subject: [PATCH 09/11] www-client/opera-beta: remove old Signed-off-by: Matt Jolly --- www-client/opera-beta/Manifest | 1 - .../opera-beta-111.0.5168.10.ebuild | 173 ------------------ 2 files changed, 174 deletions(-) delete mode 100644 www-client/opera-beta/opera-beta-111.0.5168.10.ebuild diff --git a/www-client/opera-beta/Manifest b/www-client/opera-beta/Manifest index 00acfd0fad566..3cd0748a752bb 100644 --- a/www-client/opera-beta/Manifest +++ b/www-client/opera-beta/Manifest @@ -1,4 +1,3 @@ -DIST opera-beta_111.0.5168.10_amd64.deb 110679556 BLAKE2B 9b39954572dcab10f5c6e2ae8c49b3fa89c96c9d2ae6744f73d66bec122bb718cca436facbf3f36e34a4122bab5120157893f0341d029e6dc5b6089228e483f3 SHA512 330cad42972bd0b87c799461dad0944073957ee2413166e86db9c5b7ae5721f7c29e67861a04240c232fa0ea0e54e301bac9a107d8a3faae10c7ec63b4b81ac7 DIST opera-beta_111.0.5168.15_amd64.deb 110248164 BLAKE2B 05a58600640ffdf6d75ca673458f3e89d94ba15b7fa8ba3935f49a5d53c937994ce59ea36a4e8becf8ecb1d87b0d451f38f422253c24e6e2db56a7af71ad9072 SHA512 37502f15d08564c1e667797c646c1310647e28c00f6601114862cbec82a9f4afd5f3f5dd2a1f46db19f6ae32c36c413c018c2bc5008e5d19ece89d0ee8673daf DIST opera-beta_112.0.5197.10_amd64.deb 111011432 BLAKE2B 214a3ac05a1c457dda6ab78529bd28023a3ee8e809da12a45cdb23eb37765eb8be36d0854d765ac8b472e762ded7ca147a951ff7ea2ec44402c874312b8760de SHA512 c8efefc1f412ac3c4bd1555fbf837fa18917b7857ed22436c0044631d05a6188d24be5f60a6b283f8884a76eaca7fcc5462217d0f52e4b8445614724b1a18b52 DIST opera-beta_112.0.5197.5_amd64.deb 111091348 BLAKE2B 4e683d4fdb536a9b6beaa9be325738bd5282afa18cde816de04cc1285c1f021f8063fec07b505ab9af56eb33170e4342959154a63e384be7d9cde9bd9fe62b56 SHA512 d98b62e2ac94f154474f247a60c9acbb4fcddf1bf3443456bc742152c5a2f9ac36d6cfecd60e3f416550257f2f088cee61d45a2a28b4f4376e077784840fa186 diff --git a/www-client/opera-beta/opera-beta-111.0.5168.10.ebuild b/www-client/opera-beta/opera-beta-111.0.5168.10.ebuild deleted file mode 100644 index 0d49f3a56353b..0000000000000 --- a/www-client/opera-beta/opera-beta-111.0.5168.10.ebuild +++ /dev/null @@ -1,173 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CHROMIUM_LANGS=" - bg bn ca cs da de el en-GB en-US es-419 es fil fi fr hi hr hu id - it ja ko lt lv ms nb nl pl pt-BR pt-PT ro ru sk sr sv sw ta te th tr uk vi - zh-CN zh-TW -" - -# These are intended for ebuild maintainer use to force RPM if DEB is not available. -: ${OPERA_FORCE_RPM=no} - -inherit chromium-2 pax-utils xdg - -if [[ ${OPERA_FORCE_RPM} == yes ]]; then - inherit rpm - OPERA_ARCHIVE_EXT="rpm" -else - inherit unpacker - OPERA_ARCHIVE_EXT="deb" -fi - -DESCRIPTION="A fast and secure web browser" -HOMEPAGE="https://www.opera.com/" - -SRC_URI_BASE=( - "https://download1.operacdn.com/pub/${PN}" - "https://download2.operacdn.com/pub/${PN}" - "https://download3.operacdn.com/pub/${PN}" - "https://download4.operacdn.com/pub/${PN}" -) - -if [[ ${PN} == opera ]]; then - MY_PN=${PN}-stable - SRC_URI_BASE=( "${SRC_URI_BASE[@]/%//desktop}" ) -else - MY_PN=${PN} -fi - -# Commit ref from `strings libffmpeg.so | grep -F "FFmpeg version"` matches this Chromium version -# used to select the correct ffmpeg-chromium version (corresponds to a major version of Chromium) -# Does not need to be updated for every new version of Opera, only when it breaks -CHROMIUM_VERSION="125" -SRC_URI="${SRC_URI_BASE[@]/%//${PV}/linux/${MY_PN}_${PV}_amd64.${OPERA_ARCHIVE_EXT}}" -S=${WORKDIR} - -LICENSE="OPERA-2018" -SLOT="0" -KEYWORDS="-* ~amd64" -IUSE="+ffmpeg-chromium +proprietary-codecs +suid qt5 qt6" -RESTRICT="bindist mirror strip" - -RDEPEND=" - >=app-accessibility/at-spi2-core-2.46.0:2 - dev-libs/expat - dev-libs/glib:2 - dev-libs/nspr - dev-libs/nss - gnome-base/gsettings-desktop-schemas - media-libs/alsa-lib - media-libs/mesa[gbm(+)] - net-misc/curl - net-print/cups - sys-apps/dbus - sys-libs/glibc - x11-libs/cairo - x11-libs/gdk-pixbuf - x11-libs/gtk+:3 - x11-libs/libdrm - x11-libs/libxcb - x11-libs/libxkbcommon - x11-libs/libxshmfence - x11-libs/libX11 - x11-libs/libXcomposite - x11-libs/libXdamage - x11-libs/libXext - x11-libs/libXfixes - x11-libs/libXrandr - x11-libs/pango - proprietary-codecs? ( - !ffmpeg-chromium? ( >=media-video/ffmpeg-6.1-r1:0/58.60.60[chromium] ) - ffmpeg-chromium? ( media-video/ffmpeg-chromium:${CHROMIUM_VERSION} ) - ) - qt5? ( - dev-qt/qtcore:5 - dev-qt/qtgui:5[X] - dev-qt/qtwidgets:5 - ) - qt6? ( dev-qt/qtbase:6[gui,widgets] ) -" - -QA_PREBUILT="*" -OPERA_HOME="opt/opera${PN#opera}" - -pkg_pretend() { - # Protect against people using autounmask overzealously - use amd64 || die "opera only works on amd64" -} - -pkg_setup() { - chromium_suid_sandbox_check_kernel_config -} - -src_unpack() { - : -} - -src_install() { - dodir / - cd "${ED}" || die - if [[ ${OPERA_FORCE_RPM} == yes ]]; then - rpm_src_unpack "${A[0]}" - else - unpacker - fi - - # move to /opt, bug #573052 - mkdir -p "${OPERA_HOME%${PN}}" - if [[ ${OPERA_FORCE_RPM} == yes ]]; then - mv "usr/lib64/${PN}" "${OPERA_HOME%${PN}}" || die - else - mv "usr/lib/x86_64-linux-gnu/${PN}" "${OPERA_HOME%${PN}}" || die - fi - rm -r "usr/lib" || die - - # disable auto update - rm "${OPERA_HOME}/${PN%-*}_autoupdate"{,.licenses,.version} || die - - if [[ ${OPERA_FORCE_RPM} == yes ]]; then - rm "${OPERA_HOME}/setup_repo.sh" || die - else - rm -r "usr/share/lintian" || die - - # fix docs - mv usr/share/doc/${MY_PN} usr/share/doc/${PF} || die - gzip -d usr/share/doc/${PF}/changelog.gz || die - fi - - # fix desktop file - sed -i \ - -e 's|^TargetEnvironment|X-&|g' \ - usr/share/applications/${PN}.desktop || die - - # remove unused language packs - pushd "${OPERA_HOME}/localization" > /dev/null || die - chromium_remove_language_paks - popd > /dev/null || die - - # setup opera symlink - rm "usr/bin/${PN}" || die - dosym "../../${OPERA_HOME}/${PN}" "/usr/bin/${PN}" - - # install proprietary codecs - rm "${OPERA_HOME}/resources/ffmpeg_preload_config.json" || die - if use proprietary-codecs; then - dosym ../../usr/$(get_libdir)/chromium/libffmpeg.so$(usex ffmpeg-chromium .${CHROMIUM_VERSION} "") \ - /${OPERA_HOME}/libffmpeg.so - fi - - if ! use qt5; then - rm "${OPERA_HOME}/libqt5_shim.so" || die - fi - if ! use qt6; then - rm "${OPERA_HOME}/libqt6_shim.so" || die - fi - - # pax mark opera, bug #562038 - pax-mark m "${OPERA_HOME}/opera" - # enable suid sandbox if requested - use suid && fperms 4711 "/${OPERA_HOME}/opera_sandbox" -} From 069d4eb4df1096ab6fab639c517ec7a6a06b1ee2 Mon Sep 17 00:00:00 2001 From: Matt Jolly Date: Fri, 28 Jun 2024 07:55:13 +1000 Subject: [PATCH 10/11] www-client/opera-developer: automated bump (113.0.5210.0) Signed-off-by: Matt Jolly --- www-client/opera-developer/Manifest | 1 + .../opera-developer-113.0.5210.0.ebuild | 173 ++++++++++++++++++ 2 files changed, 174 insertions(+) create mode 100644 www-client/opera-developer/opera-developer-113.0.5210.0.ebuild diff --git a/www-client/opera-developer/Manifest b/www-client/opera-developer/Manifest index 2497b6140e59b..fbb00f4cca919 100644 --- a/www-client/opera-developer/Manifest +++ b/www-client/opera-developer/Manifest @@ -1,3 +1,4 @@ DIST opera-developer_112.0.5193.0_amd64.deb 110644548 BLAKE2B 79f5c078ecf6c150e2a42e3f4d8484bedb93ad590f523e97a7c1252835821a665d91d3f6df3b7c7dc356e650879089d1b9844e246ebf4bd05d0879ad83a9455c SHA512 42b7fcac19c08a1c9acb5a7dc226834de00d001d35dc70dc80722a076bb2d87e334b7bcdf5d2db3f6787c4ef777ad752c9ed6e8b9218ed4347a74bd4ce306c0e DIST opera-developer_112.0.5196.0_amd64.deb 111098252 BLAKE2B 6c61e6f202acb437afe8fab62866d7fbc08138d2b0a01d76f4f9314f171fd1c44cb3ff95e17890c0a4dcdae90250e6789a54b740c5fe0609725b39a509f03f9c SHA512 4286f35a3956322aca46965c8c6c9fc0efcb8e0f0e0890bd6d86859eb93c2cb047cd19572818760a07e5b1f456b702bc7e46d3246c3e877b031e6c4e4d0baad7 DIST opera-developer_113.0.5201.0_amd64.deb 112140276 BLAKE2B e97d40a3541d7e1847ede364b33b0670b977b32db575b25019901bac80a61c79c205f09a81b99023ad3697ce3fcb31ddfb465a1c86a2260feee75d77cf88d758 SHA512 d6b37c5612d211c125cc955842ff4195646257dc824871df5531e041c9c3cb83106744a1c121d1a31fd276bc65dbb41b5ad85a6695f0750807de45754b07ea9b +DIST opera-developer_113.0.5210.0_amd64.deb 111403232 BLAKE2B 603b94351147f937898b9db752f4c942609ca28f56d1ff1cc234c10ac3bd29b9ec80bd6a017d237b575b47f38700467854de5f195e60b1362101b8c88688c54f SHA512 f8270863a4d4b0e29e67f4b741dcfd3cfdb373a0769059c861d508d8a02babf6851a38aab8e7be579b5d0604c7d2d1819c460e8a2f271532580f1e7836b85748 diff --git a/www-client/opera-developer/opera-developer-113.0.5210.0.ebuild b/www-client/opera-developer/opera-developer-113.0.5210.0.ebuild new file mode 100644 index 0000000000000..0d49f3a56353b --- /dev/null +++ b/www-client/opera-developer/opera-developer-113.0.5210.0.ebuild @@ -0,0 +1,173 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CHROMIUM_LANGS=" + bg bn ca cs da de el en-GB en-US es-419 es fil fi fr hi hr hu id + it ja ko lt lv ms nb nl pl pt-BR pt-PT ro ru sk sr sv sw ta te th tr uk vi + zh-CN zh-TW +" + +# These are intended for ebuild maintainer use to force RPM if DEB is not available. +: ${OPERA_FORCE_RPM=no} + +inherit chromium-2 pax-utils xdg + +if [[ ${OPERA_FORCE_RPM} == yes ]]; then + inherit rpm + OPERA_ARCHIVE_EXT="rpm" +else + inherit unpacker + OPERA_ARCHIVE_EXT="deb" +fi + +DESCRIPTION="A fast and secure web browser" +HOMEPAGE="https://www.opera.com/" + +SRC_URI_BASE=( + "https://download1.operacdn.com/pub/${PN}" + "https://download2.operacdn.com/pub/${PN}" + "https://download3.operacdn.com/pub/${PN}" + "https://download4.operacdn.com/pub/${PN}" +) + +if [[ ${PN} == opera ]]; then + MY_PN=${PN}-stable + SRC_URI_BASE=( "${SRC_URI_BASE[@]/%//desktop}" ) +else + MY_PN=${PN} +fi + +# Commit ref from `strings libffmpeg.so | grep -F "FFmpeg version"` matches this Chromium version +# used to select the correct ffmpeg-chromium version (corresponds to a major version of Chromium) +# Does not need to be updated for every new version of Opera, only when it breaks +CHROMIUM_VERSION="125" +SRC_URI="${SRC_URI_BASE[@]/%//${PV}/linux/${MY_PN}_${PV}_amd64.${OPERA_ARCHIVE_EXT}}" +S=${WORKDIR} + +LICENSE="OPERA-2018" +SLOT="0" +KEYWORDS="-* ~amd64" +IUSE="+ffmpeg-chromium +proprietary-codecs +suid qt5 qt6" +RESTRICT="bindist mirror strip" + +RDEPEND=" + >=app-accessibility/at-spi2-core-2.46.0:2 + dev-libs/expat + dev-libs/glib:2 + dev-libs/nspr + dev-libs/nss + gnome-base/gsettings-desktop-schemas + media-libs/alsa-lib + media-libs/mesa[gbm(+)] + net-misc/curl + net-print/cups + sys-apps/dbus + sys-libs/glibc + x11-libs/cairo + x11-libs/gdk-pixbuf + x11-libs/gtk+:3 + x11-libs/libdrm + x11-libs/libxcb + x11-libs/libxkbcommon + x11-libs/libxshmfence + x11-libs/libX11 + x11-libs/libXcomposite + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXrandr + x11-libs/pango + proprietary-codecs? ( + !ffmpeg-chromium? ( >=media-video/ffmpeg-6.1-r1:0/58.60.60[chromium] ) + ffmpeg-chromium? ( media-video/ffmpeg-chromium:${CHROMIUM_VERSION} ) + ) + qt5? ( + dev-qt/qtcore:5 + dev-qt/qtgui:5[X] + dev-qt/qtwidgets:5 + ) + qt6? ( dev-qt/qtbase:6[gui,widgets] ) +" + +QA_PREBUILT="*" +OPERA_HOME="opt/opera${PN#opera}" + +pkg_pretend() { + # Protect against people using autounmask overzealously + use amd64 || die "opera only works on amd64" +} + +pkg_setup() { + chromium_suid_sandbox_check_kernel_config +} + +src_unpack() { + : +} + +src_install() { + dodir / + cd "${ED}" || die + if [[ ${OPERA_FORCE_RPM} == yes ]]; then + rpm_src_unpack "${A[0]}" + else + unpacker + fi + + # move to /opt, bug #573052 + mkdir -p "${OPERA_HOME%${PN}}" + if [[ ${OPERA_FORCE_RPM} == yes ]]; then + mv "usr/lib64/${PN}" "${OPERA_HOME%${PN}}" || die + else + mv "usr/lib/x86_64-linux-gnu/${PN}" "${OPERA_HOME%${PN}}" || die + fi + rm -r "usr/lib" || die + + # disable auto update + rm "${OPERA_HOME}/${PN%-*}_autoupdate"{,.licenses,.version} || die + + if [[ ${OPERA_FORCE_RPM} == yes ]]; then + rm "${OPERA_HOME}/setup_repo.sh" || die + else + rm -r "usr/share/lintian" || die + + # fix docs + mv usr/share/doc/${MY_PN} usr/share/doc/${PF} || die + gzip -d usr/share/doc/${PF}/changelog.gz || die + fi + + # fix desktop file + sed -i \ + -e 's|^TargetEnvironment|X-&|g' \ + usr/share/applications/${PN}.desktop || die + + # remove unused language packs + pushd "${OPERA_HOME}/localization" > /dev/null || die + chromium_remove_language_paks + popd > /dev/null || die + + # setup opera symlink + rm "usr/bin/${PN}" || die + dosym "../../${OPERA_HOME}/${PN}" "/usr/bin/${PN}" + + # install proprietary codecs + rm "${OPERA_HOME}/resources/ffmpeg_preload_config.json" || die + if use proprietary-codecs; then + dosym ../../usr/$(get_libdir)/chromium/libffmpeg.so$(usex ffmpeg-chromium .${CHROMIUM_VERSION} "") \ + /${OPERA_HOME}/libffmpeg.so + fi + + if ! use qt5; then + rm "${OPERA_HOME}/libqt5_shim.so" || die + fi + if ! use qt6; then + rm "${OPERA_HOME}/libqt6_shim.so" || die + fi + + # pax mark opera, bug #562038 + pax-mark m "${OPERA_HOME}/opera" + # enable suid sandbox if requested + use suid && fperms 4711 "/${OPERA_HOME}/opera_sandbox" +} From ad3f634c794f4900bce6d4f631b279b64eb01577 Mon Sep 17 00:00:00 2001 From: Matt Jolly Date: Fri, 28 Jun 2024 07:55:16 +1000 Subject: [PATCH 11/11] www-client/opera-developer: remove old Signed-off-by: Matt Jolly --- www-client/opera-developer/Manifest | 1 - .../opera-developer-112.0.5193.0.ebuild | 173 ------------------ 2 files changed, 174 deletions(-) delete mode 100644 www-client/opera-developer/opera-developer-112.0.5193.0.ebuild diff --git a/www-client/opera-developer/Manifest b/www-client/opera-developer/Manifest index fbb00f4cca919..a18fadd8accf0 100644 --- a/www-client/opera-developer/Manifest +++ b/www-client/opera-developer/Manifest @@ -1,4 +1,3 @@ -DIST opera-developer_112.0.5193.0_amd64.deb 110644548 BLAKE2B 79f5c078ecf6c150e2a42e3f4d8484bedb93ad590f523e97a7c1252835821a665d91d3f6df3b7c7dc356e650879089d1b9844e246ebf4bd05d0879ad83a9455c SHA512 42b7fcac19c08a1c9acb5a7dc226834de00d001d35dc70dc80722a076bb2d87e334b7bcdf5d2db3f6787c4ef777ad752c9ed6e8b9218ed4347a74bd4ce306c0e DIST opera-developer_112.0.5196.0_amd64.deb 111098252 BLAKE2B 6c61e6f202acb437afe8fab62866d7fbc08138d2b0a01d76f4f9314f171fd1c44cb3ff95e17890c0a4dcdae90250e6789a54b740c5fe0609725b39a509f03f9c SHA512 4286f35a3956322aca46965c8c6c9fc0efcb8e0f0e0890bd6d86859eb93c2cb047cd19572818760a07e5b1f456b702bc7e46d3246c3e877b031e6c4e4d0baad7 DIST opera-developer_113.0.5201.0_amd64.deb 112140276 BLAKE2B e97d40a3541d7e1847ede364b33b0670b977b32db575b25019901bac80a61c79c205f09a81b99023ad3697ce3fcb31ddfb465a1c86a2260feee75d77cf88d758 SHA512 d6b37c5612d211c125cc955842ff4195646257dc824871df5531e041c9c3cb83106744a1c121d1a31fd276bc65dbb41b5ad85a6695f0750807de45754b07ea9b DIST opera-developer_113.0.5210.0_amd64.deb 111403232 BLAKE2B 603b94351147f937898b9db752f4c942609ca28f56d1ff1cc234c10ac3bd29b9ec80bd6a017d237b575b47f38700467854de5f195e60b1362101b8c88688c54f SHA512 f8270863a4d4b0e29e67f4b741dcfd3cfdb373a0769059c861d508d8a02babf6851a38aab8e7be579b5d0604c7d2d1819c460e8a2f271532580f1e7836b85748 diff --git a/www-client/opera-developer/opera-developer-112.0.5193.0.ebuild b/www-client/opera-developer/opera-developer-112.0.5193.0.ebuild deleted file mode 100644 index 0d49f3a56353b..0000000000000 --- a/www-client/opera-developer/opera-developer-112.0.5193.0.ebuild +++ /dev/null @@ -1,173 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CHROMIUM_LANGS=" - bg bn ca cs da de el en-GB en-US es-419 es fil fi fr hi hr hu id - it ja ko lt lv ms nb nl pl pt-BR pt-PT ro ru sk sr sv sw ta te th tr uk vi - zh-CN zh-TW -" - -# These are intended for ebuild maintainer use to force RPM if DEB is not available. -: ${OPERA_FORCE_RPM=no} - -inherit chromium-2 pax-utils xdg - -if [[ ${OPERA_FORCE_RPM} == yes ]]; then - inherit rpm - OPERA_ARCHIVE_EXT="rpm" -else - inherit unpacker - OPERA_ARCHIVE_EXT="deb" -fi - -DESCRIPTION="A fast and secure web browser" -HOMEPAGE="https://www.opera.com/" - -SRC_URI_BASE=( - "https://download1.operacdn.com/pub/${PN}" - "https://download2.operacdn.com/pub/${PN}" - "https://download3.operacdn.com/pub/${PN}" - "https://download4.operacdn.com/pub/${PN}" -) - -if [[ ${PN} == opera ]]; then - MY_PN=${PN}-stable - SRC_URI_BASE=( "${SRC_URI_BASE[@]/%//desktop}" ) -else - MY_PN=${PN} -fi - -# Commit ref from `strings libffmpeg.so | grep -F "FFmpeg version"` matches this Chromium version -# used to select the correct ffmpeg-chromium version (corresponds to a major version of Chromium) -# Does not need to be updated for every new version of Opera, only when it breaks -CHROMIUM_VERSION="125" -SRC_URI="${SRC_URI_BASE[@]/%//${PV}/linux/${MY_PN}_${PV}_amd64.${OPERA_ARCHIVE_EXT}}" -S=${WORKDIR} - -LICENSE="OPERA-2018" -SLOT="0" -KEYWORDS="-* ~amd64" -IUSE="+ffmpeg-chromium +proprietary-codecs +suid qt5 qt6" -RESTRICT="bindist mirror strip" - -RDEPEND=" - >=app-accessibility/at-spi2-core-2.46.0:2 - dev-libs/expat - dev-libs/glib:2 - dev-libs/nspr - dev-libs/nss - gnome-base/gsettings-desktop-schemas - media-libs/alsa-lib - media-libs/mesa[gbm(+)] - net-misc/curl - net-print/cups - sys-apps/dbus - sys-libs/glibc - x11-libs/cairo - x11-libs/gdk-pixbuf - x11-libs/gtk+:3 - x11-libs/libdrm - x11-libs/libxcb - x11-libs/libxkbcommon - x11-libs/libxshmfence - x11-libs/libX11 - x11-libs/libXcomposite - x11-libs/libXdamage - x11-libs/libXext - x11-libs/libXfixes - x11-libs/libXrandr - x11-libs/pango - proprietary-codecs? ( - !ffmpeg-chromium? ( >=media-video/ffmpeg-6.1-r1:0/58.60.60[chromium] ) - ffmpeg-chromium? ( media-video/ffmpeg-chromium:${CHROMIUM_VERSION} ) - ) - qt5? ( - dev-qt/qtcore:5 - dev-qt/qtgui:5[X] - dev-qt/qtwidgets:5 - ) - qt6? ( dev-qt/qtbase:6[gui,widgets] ) -" - -QA_PREBUILT="*" -OPERA_HOME="opt/opera${PN#opera}" - -pkg_pretend() { - # Protect against people using autounmask overzealously - use amd64 || die "opera only works on amd64" -} - -pkg_setup() { - chromium_suid_sandbox_check_kernel_config -} - -src_unpack() { - : -} - -src_install() { - dodir / - cd "${ED}" || die - if [[ ${OPERA_FORCE_RPM} == yes ]]; then - rpm_src_unpack "${A[0]}" - else - unpacker - fi - - # move to /opt, bug #573052 - mkdir -p "${OPERA_HOME%${PN}}" - if [[ ${OPERA_FORCE_RPM} == yes ]]; then - mv "usr/lib64/${PN}" "${OPERA_HOME%${PN}}" || die - else - mv "usr/lib/x86_64-linux-gnu/${PN}" "${OPERA_HOME%${PN}}" || die - fi - rm -r "usr/lib" || die - - # disable auto update - rm "${OPERA_HOME}/${PN%-*}_autoupdate"{,.licenses,.version} || die - - if [[ ${OPERA_FORCE_RPM} == yes ]]; then - rm "${OPERA_HOME}/setup_repo.sh" || die - else - rm -r "usr/share/lintian" || die - - # fix docs - mv usr/share/doc/${MY_PN} usr/share/doc/${PF} || die - gzip -d usr/share/doc/${PF}/changelog.gz || die - fi - - # fix desktop file - sed -i \ - -e 's|^TargetEnvironment|X-&|g' \ - usr/share/applications/${PN}.desktop || die - - # remove unused language packs - pushd "${OPERA_HOME}/localization" > /dev/null || die - chromium_remove_language_paks - popd > /dev/null || die - - # setup opera symlink - rm "usr/bin/${PN}" || die - dosym "../../${OPERA_HOME}/${PN}" "/usr/bin/${PN}" - - # install proprietary codecs - rm "${OPERA_HOME}/resources/ffmpeg_preload_config.json" || die - if use proprietary-codecs; then - dosym ../../usr/$(get_libdir)/chromium/libffmpeg.so$(usex ffmpeg-chromium .${CHROMIUM_VERSION} "") \ - /${OPERA_HOME}/libffmpeg.so - fi - - if ! use qt5; then - rm "${OPERA_HOME}/libqt5_shim.so" || die - fi - if ! use qt6; then - rm "${OPERA_HOME}/libqt6_shim.so" || die - fi - - # pax mark opera, bug #562038 - pax-mark m "${OPERA_HOME}/opera" - # enable suid sandbox if requested - use suid && fperms 4711 "/${OPERA_HOME}/opera_sandbox" -}