From a3a7633f4127c15fe399794b4f95cb56b89ff019 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 8 Aug 2024 23:58:20 +0100 Subject: www-client/ungoogled-chromium : version bump --- .../www-client/ungoogled-chromium-126.0.6478.126 | 14 -- .../www-client/ungoogled-chromium-127.0.6533.88 | 14 ++ metadata/pkg_desc_index | 2 +- www-client/ungoogled-chromium/Manifest | 2 +- .../ungoogled-chromium-126.0.6478.126.ebuild | 175 --------------------- .../ungoogled-chromium-127.0.6533.88.ebuild | 175 +++++++++++++++++++++ 6 files changed, 191 insertions(+), 191 deletions(-) delete mode 100644 metadata/md5-cache/www-client/ungoogled-chromium-126.0.6478.126 create mode 100644 metadata/md5-cache/www-client/ungoogled-chromium-127.0.6533.88 delete mode 100644 www-client/ungoogled-chromium/ungoogled-chromium-126.0.6478.126.ebuild create mode 100644 www-client/ungoogled-chromium/ungoogled-chromium-127.0.6533.88.ebuild diff --git a/metadata/md5-cache/www-client/ungoogled-chromium-126.0.6478.126 b/metadata/md5-cache/www-client/ungoogled-chromium-126.0.6478.126 deleted file mode 100644 index 87e955ad..00000000 --- a/metadata/md5-cache/www-client/ungoogled-chromium-126.0.6478.126 +++ /dev/null @@ -1,14 +0,0 @@ -DEFINED_PHASES=install postinst postrm -DESCRIPTION=Modifications to Chromium for removing Google integration and enhancing privacy -EAPI=8 -HOMEPAGE=https://www.chromium.org/Home https://github.com/ungoogled-software/ungoogled-chromium -INHERIT=desktop pax-utils readme.gentoo-r1 xdg-utils -IUSE=qt5 qt6 +suid +widevine -KEYWORDS=~amd64 -LICENSE=BSD -RDEPEND=app-accessibility/at-spi2-core dev-libs/expat dev-libs/glib:2 dev-libs/libxslt dev-libs/nspr >=dev-libs/icu-71.1:= >=dev-libs/libxml2-2.9.4-r3[icu] >=dev-libs/nss-3.26 media-libs/fontconfig media-libs/freetype media-libs/libjpeg-turbo media-libs/libpng media-libs/libpulse media-libs/libva media-libs/lcms media-libs/flac >=media-libs/alsa-lib-1.0.19 >=media-libs/libwebp-0.4.0 >=net-print/cups-1.3.11 sys-apps/dbus sys-apps/pciutils sys-libs/zlib[minizip] x11-libs/cairo x11-libs/pango x11-libs/gtk+:3[X] x11-libs/libX11 x11-libs/libXcomposite x11-libs/libXcursor x11-libs/libXdamage x11-libs/libXext x11-libs/libXfixes x11-libs/libXrandr x11-libs/libXrender x11-libs/libXtst x11-libs/libxcb >=x11-libs/libXi-1.6.0 virtual/udev qt5? ( dev-qt/qtcore:5 dev-qt/qtgui:5[X] dev-qt/qtwidgets:5 ) qt6? ( dev-qt/qtbase:6[gui,widgets] ) widevine? ( www-plugins/chrome-binary-plugins ) x11-misc/xdg-utils virtual/opengl virtual/ttf-fonts !www-client/chromium -RESTRICT=binchecks mirror strip -SLOT=0 -SRC_URI=http://mirrors.redcorelinux.org/redcorelinux/amd64/distfiles/ungoogled-chromium_126.0.6478.126-1_linux.tar.xz -_eclasses_=desktop 021728fdc1b03b36357dbc89489e0f0d pax-utils 91d47e5d20627c717aa878b9167c62a8 readme.gentoo-r1 b8c7a61664027641d79dcfc04bd366f4 xdg-utils baea6080dd821f5562d715887954c9d3 -_md5_=c897c50cb9f0c11e5079f48ea4a5e544 diff --git a/metadata/md5-cache/www-client/ungoogled-chromium-127.0.6533.88 b/metadata/md5-cache/www-client/ungoogled-chromium-127.0.6533.88 new file mode 100644 index 00000000..973be894 --- /dev/null +++ b/metadata/md5-cache/www-client/ungoogled-chromium-127.0.6533.88 @@ -0,0 +1,14 @@ +DEFINED_PHASES=install postinst postrm +DESCRIPTION=Modifications to Chromium for removing Google integration and enhancing privacy +EAPI=8 +HOMEPAGE=https://www.chromium.org/Home https://github.com/ungoogled-software/ungoogled-chromium +INHERIT=desktop pax-utils readme.gentoo-r1 xdg-utils +IUSE=qt5 qt6 +suid +widevine +KEYWORDS=~amd64 +LICENSE=BSD +RDEPEND=app-accessibility/at-spi2-core dev-libs/expat dev-libs/glib:2 dev-libs/libxslt dev-libs/nspr >=dev-libs/icu-71.1:= >=dev-libs/libxml2-2.9.4-r3[icu] >=dev-libs/nss-3.26 media-libs/fontconfig media-libs/freetype media-libs/libjpeg-turbo media-libs/libpng media-libs/libpulse media-libs/libva media-libs/lcms media-libs/flac >=media-libs/alsa-lib-1.0.19 >=media-libs/libwebp-0.4.0 >=net-print/cups-1.3.11 sys-apps/dbus sys-apps/pciutils sys-libs/zlib[minizip] x11-libs/cairo x11-libs/pango x11-libs/gtk+:3[X] x11-libs/libX11 x11-libs/libXcomposite x11-libs/libXcursor x11-libs/libXdamage x11-libs/libXext x11-libs/libXfixes x11-libs/libXrandr x11-libs/libXrender x11-libs/libXtst x11-libs/libxcb >=x11-libs/libXi-1.6.0 virtual/udev qt5? ( dev-qt/qtcore:5 dev-qt/qtgui:5[X] dev-qt/qtwidgets:5 ) qt6? ( dev-qt/qtbase:6[gui,widgets] ) widevine? ( www-plugins/chrome-binary-plugins ) x11-misc/xdg-utils virtual/opengl virtual/ttf-fonts !www-client/chromium +RESTRICT=binchecks mirror strip +SLOT=0 +SRC_URI=http://mirrors.redcorelinux.org/redcorelinux/amd64/distfiles/ungoogled-chromium_127.0.6533.88-1_linux.tar.xz +_eclasses_=desktop 021728fdc1b03b36357dbc89489e0f0d pax-utils 91d47e5d20627c717aa878b9167c62a8 readme.gentoo-r1 b8c7a61664027641d79dcfc04bd366f4 xdg-utils baea6080dd821f5562d715887954c9d3 +_md5_=c897c50cb9f0c11e5079f48ea4a5e544 diff --git a/metadata/pkg_desc_index b/metadata/pkg_desc_index index 18d465f5..fd3115af 100644 --- a/metadata/pkg_desc_index +++ b/metadata/pkg_desc_index @@ -79,7 +79,7 @@ virtual/logger 1.314.1337: Virtual for system loggers virtual/notification-daemon 1.334.1337: Virtual (dummy package) for notification daemon dbus service virtual/tmpfiles 1.314.1337-r1: Virtual to select between different tmpfiles.d handlers virtual/udev 314.1337-r1: Virtual to select between different udev daemon providers -www-client/ungoogled-chromium 126.0.6478.126: Modifications to Chromium for removing Google integration and enhancing privacy +www-client/ungoogled-chromium 127.0.6533.88: Modifications to Chromium for removing Google integration and enhancing privacy x11-base/xorg-drivers 21.1-r100: Meta package containing deps on all xorg drivers (dummy package) x11-drivers/nvidia-drivers 390.157-r8 470.239.06-r1 535.171.04-r1: NVIDIA Accelerated Graphics Driver x11-libs/gtk+ 2.24.33-r5 3.24.41-r5: Gimp ToolKit + diff --git a/www-client/ungoogled-chromium/Manifest b/www-client/ungoogled-chromium/Manifest index 154f1f23..387acc38 100644 --- a/www-client/ungoogled-chromium/Manifest +++ b/www-client/ungoogled-chromium/Manifest @@ -1 +1 @@ -DIST ungoogled-chromium_126.0.6478.126-1_linux.tar.xz 127765984 BLAKE2B 80c018e4c512a3039b0dec6d4efa4e7667bb57f64b29fe95898604d08612d85ca92051abf2f92338369f1a7a31b6b48c1b0f0a0b294a891ba75ce6dd3dafbb0d SHA512 d7bb86faab7fb4c2df854499138bc3172da67a71ee2f4e917d2b1668b5e0942c3f2159ae66fafd4c144490ba133ea79e0eeb6358fbff88ae2ac773b7e665abf4 +DIST ungoogled-chromium_127.0.6533.88-1_linux.tar.xz 129764720 BLAKE2B 76fa1e6695df82b53b24b79d28ed88d760dddc9a8f04e809b0aef6989a2504c79486efa464700cadf87b9703e39ca87c00bf36b32a2a0244ecdfbc4c33f6afa3 SHA512 be4688c15c4e16245955f75fe4747b36bb945c1578cc978bd1ff32ae7bafda5f285efc449b19f714a9c77c174e3dcbf3b6f661777fddadf043d94a0016293a89 diff --git a/www-client/ungoogled-chromium/ungoogled-chromium-126.0.6478.126.ebuild b/www-client/ungoogled-chromium/ungoogled-chromium-126.0.6478.126.ebuild deleted file mode 100644 index 940d6a90..00000000 --- a/www-client/ungoogled-chromium/ungoogled-chromium-126.0.6478.126.ebuild +++ /dev/null @@ -1,175 +0,0 @@ -# Copyright 2006-2024 Redcore Linux Project -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit desktop pax-utils readme.gentoo-r1 xdg-utils - -DESCRIPTION="Modifications to Chromium for removing Google integration and enhancing privacy" -HOMEPAGE="https://www.chromium.org/Home https://github.com/ungoogled-software/ungoogled-chromium" -SRC_URI="http://mirrors.redcorelinux.org/redcorelinux/amd64/distfiles/${PN}_${PV}-1_linux.tar.xz" -RESTRICT="binchecks mirror strip" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64" -IUSE="qt5 qt6 +suid +widevine" - -CDEPEND=" - app-accessibility/at-spi2-core - dev-libs/expat - dev-libs/glib:2 - dev-libs/libxslt - dev-libs/nspr - >=dev-libs/icu-71.1:= - >=dev-libs/libxml2-2.9.4-r3[icu] - >=dev-libs/nss-3.26 - media-libs/fontconfig - media-libs/freetype - media-libs/libjpeg-turbo - media-libs/libpng - media-libs/libpulse - media-libs/libva - media-libs/lcms - media-libs/flac - >=media-libs/alsa-lib-1.0.19 - >=media-libs/libwebp-0.4.0 - >=net-print/cups-1.3.11 - sys-apps/dbus - sys-apps/pciutils - sys-libs/zlib[minizip] - x11-libs/cairo - x11-libs/pango - x11-libs/gtk+:3[X] - x11-libs/libX11 - x11-libs/libXcomposite - x11-libs/libXcursor - x11-libs/libXdamage - x11-libs/libXext - x11-libs/libXfixes - x11-libs/libXrandr - x11-libs/libXrender - x11-libs/libXtst - x11-libs/libxcb - >=x11-libs/libXi-1.6.0 - virtual/udev - qt5? ( - dev-qt/qtcore:5 - dev-qt/qtgui:5[X] - dev-qt/qtwidgets:5 - ) - qt6? ( dev-qt/qtbase:6[gui,widgets] ) - widevine? ( www-plugins/chrome-binary-plugins ) -" - -RDEPEND="${CDEPEND} - x11-misc/xdg-utils - virtual/opengl - virtual/ttf-fonts - !www-client/chromium" - -DISABLE_AUTOFORMATTING="yes" -DOC_CONTENTS=" -Some web pages may require additional fonts to display properly. -Try installing some of the following packages if some characters -are not displayed properly: -- media-fonts/arphicfonts -- media-fonts/droid -- media-fonts/ipamonafont -- media-fonts/noto -- media-fonts/noto-emoji -- media-fonts/ja-ipafonts -- media-fonts/takao-fonts -- media-fonts/wqy-microhei -- media-fonts/wqy-zenhei - -To fix broken icons on the Downloads page, you should install an icon -theme that covers the appropriate MIME types, and configure this as your -GTK+ icon theme. - -For native file dialogs in KDE, install kde-apps/kdialog." - -QA_PREBUILT="*" -S="${WORKDIR}/${PN}_${PV}-1_linux" - -src_install() { - local CHROMIUM_HOME="/opt/chromium-browser" - dodir "${CHROMIUM_HOME}" - - exeinto "${CHROMIUM_HOME}" - for i in chrome chrome_crashpad_handler chromedriver chrome_sandbox chrome-wrapper xdg-mime xdg-settings; do - doexe $i || die - done - doexe "${FILESDIR}"/chromium-launcher.sh - - insinto "${CHROMIUM_HOME}" - for i in *.bin *.pak *.so *.so.1 icudtl.dat; do - doins $i || die - done - doins -r locales - doins -r resources - doins vk_swiftshader_icd.json - - dosym "${CHROMIUM_HOME}/chromium-launcher.sh" /usr/bin/chromium-browser - dosym "${CHROMIUM_HOME}/chromium-launcher.sh" /usr/bin/chromium - - dodir /etc/chromium - insinto /etc/chromium - newins "${FILESDIR}"/chromium.default default - - if ! use qt5; then - rm "${ED}"/"${CHROMIUM_HOME}"/libqt5_shim.so || die - else - fperms 0755 "${CHROMIUM_HOME}"/libqt5_shim.so || die - fi - - if ! use qt6; then - rm "${ED}"/"${CHROMIUM_HOME}"/libqt6_shim.so || die - else - fperms 0755 "${CHROMIUM_HOME}"/libqt6_shim.so || die - fi - - if use widevine; then - dosym ../../usr/$(get_libdir)/chromium-browser/WidevineCdm "${CHROMIUM_HOME}"/WidevineCdm - fi - - pax-mark m "${CHROMIUM_HOME}"/chrome - use suid && fperms 4711 "${CHROMIUM_HOME}"/chrome_sandbox - - newicon -s 48 product_logo_48.png chromium-browser.png - - local mime_types="text/html;text/xml;application/xhtml+xml;" - mime_types+="x-scheme-handler/http;x-scheme-handler/https;" - mime_types+="x-scheme-handler/ftp;" - mime_types+="x-scheme-handler/mailto;x-scheme-handler/webcal;" - - make_desktop_entry \ - chromium-browser \ - "Chromium Browser (unGoogled)" \ - chromium-browser \ - "Network;WebBrowser" \ - "MimeType=${mime_types}\nStartupWMClass=chromium-browser" - sed -e "/^Exec/s/$/ %U/" -i "${ED}"/usr/share/applications/*.desktop || die - - dodir /usr/share/gnome-control-center/default-apps - insinto /usr/share/gnome-control-center/default-apps - doins "${FILESDIR}"/chromium-browser.xml - - readme.gentoo_create_doc -} - -pkg_postrm() { - xdg_icon_cache_update - xdg_desktop_database_update -} - -pkg_postinst() { - elog "VA-API is disabled by default at runtime. You have to enable it" - elog "by adding --enable-features=VaapiVideoDecoder and " - elog "--disable-features=UseChromeOSDirectVideoDecoder to CHROMIUM_FLAGS" - elog "in /etc/chromium/default." - - xdg_icon_cache_update - xdg_desktop_database_update - readme.gentoo_print_elog -} diff --git a/www-client/ungoogled-chromium/ungoogled-chromium-127.0.6533.88.ebuild b/www-client/ungoogled-chromium/ungoogled-chromium-127.0.6533.88.ebuild new file mode 100644 index 00000000..940d6a90 --- /dev/null +++ b/www-client/ungoogled-chromium/ungoogled-chromium-127.0.6533.88.ebuild @@ -0,0 +1,175 @@ +# Copyright 2006-2024 Redcore Linux Project +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop pax-utils readme.gentoo-r1 xdg-utils + +DESCRIPTION="Modifications to Chromium for removing Google integration and enhancing privacy" +HOMEPAGE="https://www.chromium.org/Home https://github.com/ungoogled-software/ungoogled-chromium" +SRC_URI="http://mirrors.redcorelinux.org/redcorelinux/amd64/distfiles/${PN}_${PV}-1_linux.tar.xz" +RESTRICT="binchecks mirror strip" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" +IUSE="qt5 qt6 +suid +widevine" + +CDEPEND=" + app-accessibility/at-spi2-core + dev-libs/expat + dev-libs/glib:2 + dev-libs/libxslt + dev-libs/nspr + >=dev-libs/icu-71.1:= + >=dev-libs/libxml2-2.9.4-r3[icu] + >=dev-libs/nss-3.26 + media-libs/fontconfig + media-libs/freetype + media-libs/libjpeg-turbo + media-libs/libpng + media-libs/libpulse + media-libs/libva + media-libs/lcms + media-libs/flac + >=media-libs/alsa-lib-1.0.19 + >=media-libs/libwebp-0.4.0 + >=net-print/cups-1.3.11 + sys-apps/dbus + sys-apps/pciutils + sys-libs/zlib[minizip] + x11-libs/cairo + x11-libs/pango + x11-libs/gtk+:3[X] + x11-libs/libX11 + x11-libs/libXcomposite + x11-libs/libXcursor + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXrandr + x11-libs/libXrender + x11-libs/libXtst + x11-libs/libxcb + >=x11-libs/libXi-1.6.0 + virtual/udev + qt5? ( + dev-qt/qtcore:5 + dev-qt/qtgui:5[X] + dev-qt/qtwidgets:5 + ) + qt6? ( dev-qt/qtbase:6[gui,widgets] ) + widevine? ( www-plugins/chrome-binary-plugins ) +" + +RDEPEND="${CDEPEND} + x11-misc/xdg-utils + virtual/opengl + virtual/ttf-fonts + !www-client/chromium" + +DISABLE_AUTOFORMATTING="yes" +DOC_CONTENTS=" +Some web pages may require additional fonts to display properly. +Try installing some of the following packages if some characters +are not displayed properly: +- media-fonts/arphicfonts +- media-fonts/droid +- media-fonts/ipamonafont +- media-fonts/noto +- media-fonts/noto-emoji +- media-fonts/ja-ipafonts +- media-fonts/takao-fonts +- media-fonts/wqy-microhei +- media-fonts/wqy-zenhei + +To fix broken icons on the Downloads page, you should install an icon +theme that covers the appropriate MIME types, and configure this as your +GTK+ icon theme. + +For native file dialogs in KDE, install kde-apps/kdialog." + +QA_PREBUILT="*" +S="${WORKDIR}/${PN}_${PV}-1_linux" + +src_install() { + local CHROMIUM_HOME="/opt/chromium-browser" + dodir "${CHROMIUM_HOME}" + + exeinto "${CHROMIUM_HOME}" + for i in chrome chrome_crashpad_handler chromedriver chrome_sandbox chrome-wrapper xdg-mime xdg-settings; do + doexe $i || die + done + doexe "${FILESDIR}"/chromium-launcher.sh + + insinto "${CHROMIUM_HOME}" + for i in *.bin *.pak *.so *.so.1 icudtl.dat; do + doins $i || die + done + doins -r locales + doins -r resources + doins vk_swiftshader_icd.json + + dosym "${CHROMIUM_HOME}/chromium-launcher.sh" /usr/bin/chromium-browser + dosym "${CHROMIUM_HOME}/chromium-launcher.sh" /usr/bin/chromium + + dodir /etc/chromium + insinto /etc/chromium + newins "${FILESDIR}"/chromium.default default + + if ! use qt5; then + rm "${ED}"/"${CHROMIUM_HOME}"/libqt5_shim.so || die + else + fperms 0755 "${CHROMIUM_HOME}"/libqt5_shim.so || die + fi + + if ! use qt6; then + rm "${ED}"/"${CHROMIUM_HOME}"/libqt6_shim.so || die + else + fperms 0755 "${CHROMIUM_HOME}"/libqt6_shim.so || die + fi + + if use widevine; then + dosym ../../usr/$(get_libdir)/chromium-browser/WidevineCdm "${CHROMIUM_HOME}"/WidevineCdm + fi + + pax-mark m "${CHROMIUM_HOME}"/chrome + use suid && fperms 4711 "${CHROMIUM_HOME}"/chrome_sandbox + + newicon -s 48 product_logo_48.png chromium-browser.png + + local mime_types="text/html;text/xml;application/xhtml+xml;" + mime_types+="x-scheme-handler/http;x-scheme-handler/https;" + mime_types+="x-scheme-handler/ftp;" + mime_types+="x-scheme-handler/mailto;x-scheme-handler/webcal;" + + make_desktop_entry \ + chromium-browser \ + "Chromium Browser (unGoogled)" \ + chromium-browser \ + "Network;WebBrowser" \ + "MimeType=${mime_types}\nStartupWMClass=chromium-browser" + sed -e "/^Exec/s/$/ %U/" -i "${ED}"/usr/share/applications/*.desktop || die + + dodir /usr/share/gnome-control-center/default-apps + insinto /usr/share/gnome-control-center/default-apps + doins "${FILESDIR}"/chromium-browser.xml + + readme.gentoo_create_doc +} + +pkg_postrm() { + xdg_icon_cache_update + xdg_desktop_database_update +} + +pkg_postinst() { + elog "VA-API is disabled by default at runtime. You have to enable it" + elog "by adding --enable-features=VaapiVideoDecoder and " + elog "--disable-features=UseChromeOSDirectVideoDecoder to CHROMIUM_FLAGS" + elog "in /etc/chromium/default." + + xdg_icon_cache_update + xdg_desktop_database_update + readme.gentoo_print_elog +} -- cgit v1.2.3