diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-04-16 13:07:24 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-04-16 13:07:24 +0100 |
commit | 0c100b7dd2b30e75b799d806df4ef899fd98e1ea (patch) | |
tree | 464c922e949c7e4d5d891fb2cdda5daee5612537 /www-client/chromium-bin | |
parent | e68d405c5d712af4387159df07e226217bdda049 (diff) |
gentoo resync : 16.04.2022
Diffstat (limited to 'www-client/chromium-bin')
-rw-r--r-- | www-client/chromium-bin/Manifest | 18 | ||||
-rw-r--r-- | www-client/chromium-bin/chromium-bin-100.0.4896.127.ebuild | 243 | ||||
-rw-r--r-- | www-client/chromium-bin/files/chromium-bin-browser-chromium.desktop | 221 | ||||
-rw-r--r-- | www-client/chromium-bin/files/chromium-bin-browser.1 | 170 | ||||
-rw-r--r-- | www-client/chromium-bin/files/chromium-bin-browser.xml | 13 | ||||
-rw-r--r-- | www-client/chromium-bin/files/chromium-bin-launcher.sh | 39 | ||||
-rw-r--r-- | www-client/chromium-bin/files/chromium-bin.default | 5 | ||||
-rw-r--r-- | www-client/chromium-bin/metadata.xml | 13 |
8 files changed, 722 insertions, 0 deletions
diff --git a/www-client/chromium-bin/Manifest b/www-client/chromium-bin/Manifest new file mode 100644 index 000000000000..e6084e4ef370 --- /dev/null +++ b/www-client/chromium-bin/Manifest @@ -0,0 +1,18 @@ +AUX chromium-bin-browser-chromium.desktop 8517 BLAKE2B 7a07d458f784c0e0d35fa321fa8bbb7beba2fe3f31d17b51f2a5648bca834f233bbeae6cbfcdd1d353a649c0ab886be2539bf2246870dfa26db1d7d8be4ad71a SHA512 0a290d8a95db9affb3e80bb5aabdef0a0db769546ee3480405ee83eed669d68e9f2026d95397cf2beacba9ec4965bbdab7d3b41950383d84abd9140d7d0e8ab2 +AUX chromium-bin-browser.1 4898 BLAKE2B 0660c64d019f681c49489676f858e3acedb6f9821a9325011da62454855c0a50b8c8a9e43b3d7667b8cd2dcae96a71967eb8b0baac00db9884fdbf913c4afcec SHA512 3c51349083d4b5dfe80232b7dbb10385e9b9f707717de34081711c76670e9174b8dcf117a6abc194a644bf88d0e972b2ed497159aff7b15d6a4b868deb1fc099 +AUX chromium-bin-browser.xml 425 BLAKE2B ca10cb376c379f8a233863e445f1625437f54493a3a67a29e5f26d3f80030c4deb2fe5d151dc6991012e6c9e3c8c7c7016fab507819fa77352183fd9e29cb8da SHA512 a583029ee59cbf9541ff89c7a879780cb0801d43aff06b00fa52bd34cbcd49142c46b13714c6527507470ec549378776223f9578140d87769ecced67467667f9 +AUX chromium-bin-launcher.sh 1247 BLAKE2B f07f6f767ce4a8724b9a478b45abac358c1a2fcb208666744579c5c915ce5afcff01ab380883c9f6b593374963edff65fd54005ae15e60390bc97fb16e21da8a SHA512 41a04e1eb1ba97c19783f173fa11745efe9e31c3163a0867ad27627000155fcf8c3aaaafd468845f665b919ca41946a112365c5c95fec4a4347888d6e6137835 +AUX chromium-bin.default 164 BLAKE2B e2a3bbb30fa7d98cbcdfb117af9ae480b25c84db334884ef3a798713b8f85db366a9076f3d4c84523c808c0b02c06837e13f00bd0bc99814d9239a742a1f1f7e SHA512 77a012a4ff7c883750e09830841a9900c9eb9c0ccff04f4064066a7e64fd04868e19a54da7fabe954c78b6333c19eef498b5a7b8f0ccf599198e70c8a8e362db +DIST chromium-bin-100.0.4896.127-1-common-aarch64.tar.xz 11875048 BLAKE2B ac468307a934cfe5889cc533df343ede80a099d251769b8a3593309b41cc54974ac9efb42562a7ca878b1a3e0bc7b4c46056a16df3e3ff2c2e32afadc06fe414 SHA512 2c413e688ed42151b42f0205221b7bfa983a82eb8ac97936a8326ec022ba598d45ffde0d500c05823368e241de0ee92c3c050a5fd9943c80c11783d56ca47d0e +DIST chromium-bin-100.0.4896.127-1-common-i686.tar.xz 6964920 BLAKE2B ef6b0dc25e9fc60d979a3c35e5e4910088ff2e4006c4a4d79665d01a77d24ef2dc41c51a1c9309575aced89a7e3dbecaec1e0318fa3141a1142a27bff5710404 SHA512 9eda977be0adb074156a46c6989117776765e2b7f788199c5ca6546c0654a06195f89b2d399edaab5804ce5adc5845026aad1fa09e38cf8b46e83bd21634ec1b +DIST chromium-bin-100.0.4896.127-1-common-x86_64.tar.xz 6940900 BLAKE2B 64bd1d9535fe7c6f0685e5fe954a42cf905e2942bffc294bc5ca25a5e6d66b50994df12a42ec8d81b98ee0eddece3734a2a9e15ba69745008dbb744e3811c005 SHA512 1b33e045a2408dd6bcaccc66e07794a5302eacf2d32ecbedb040a4a7283df4f67cbf6f4e0de2b38ca38b3feaaeb0687f4533bb3b20d77026b2698a36bf56e680 +DIST chromium-bin-100.0.4896.127-1-common.tar.xz 4494756 BLAKE2B 64038fdbc89b1a5a5bf6bf1ee54d0b903b9cdef78f738c3eda246395089a2dde5beeb13417dc2a91a230a1781926c9f8ec58451a31cd1d4638ac8610c04103a1 SHA512 bf3034017e7d050f0bafa707db2e174e4f282827f2e874704cac38fdf0307e4954e8632400dda6d8f90364f032d1d9d725a1d3071213b7d7b66f445cc4b2ff66 +DIST chromium-bin-100.0.4896.127-1-l10n.tar.xz 4487460 BLAKE2B dc8c7e93119936c4928e8eb8cc7aa519b91063b601e60f6452909a749e5c05a85cec4d0e389f3fbea747877250a6e30d6d2032718d9c8eb35ae4a8866103531e SHA512 525dc12ada9ce3e8ee4378949c1c5c4b989dea1a6a5fc2f6bfe0acf35503a67836da54c388039fc0b45ed41e582725d29692500e727e4d5c3c5b9236454390da +DIST chromium-bin-100.0.4896.127-1-wayland-aarch64.tar.xz 81901876 BLAKE2B 47f4339bfd2f8388605282e22f347e02653aafba16864ee40084e92e0f126b3684770691f1c1ed8c1380f1c0c5360e356df0478044858eb30f6a9de4e2bd05ab SHA512 872e178e8b639be3ceee4740ccd212be7c7c83811a4150d184761245c7c484229c788399ec3b08f34741c909d6f3e0ef86a6636d7d2a5d34e3fc1691e4e502eb +DIST chromium-bin-100.0.4896.127-1-wayland-i686.tar.xz 85409236 BLAKE2B c080ca14d9203400d9318989e7e4446793c5bcd01a4e109b2a78a9c466403c179f09afc8b694b33a2eee4b193094f40abb1ded51ce7a86494f764b3e9d6b4c29 SHA512 6fd373ba3f1fae25579aad9cf80947e502219c71089494f934f80de87f5c67bb23b962b85ef52a4413e86f86324ecccfa0a51632ba21400b81da34471c024f66 +DIST chromium-bin-100.0.4896.127-1-wayland-x86_64.tar.xz 82854988 BLAKE2B 09047ca8eac01ece40c0efb8345a0be8231833f89aed2d347f1fe8aaadb7caffbdf7d744b441086ba3afde4e6d9afeaf74f3f1135f92685ba3834b644770b025 SHA512 ed024f0eea17dcaf0beb50a5db71b1f22d57ee3a6e98b2054698c4a9e568370f073934272b27550ef4f427794e4f754a9afdcbab5232a6898400024334c26cea +DIST chromium-bin-100.0.4896.127-1-x11-aarch64.tar.xz 81697336 BLAKE2B 78723cb697723ee10bfa2378144ad56aa5312de49f59bfacd4442e9d251a3484ea4f04f9895b9ca04064ff50e652a1130c5d22fc04f0fa2d820162710187234c SHA512 e76334d52251cb1b31b5094b2b1542469075c3d9eb3b734a12df8a0d206306a63d052f3318c180ac1b79e84d634680c7dc616cbdfde8289b0a9a5b276b221a35 +DIST chromium-bin-100.0.4896.127-1-x11-i686.tar.xz 85215852 BLAKE2B 7e917efd81ca44c74c4586c5c5fc81d0d0bfa3630431161a9279ece6e88c9066ef3b0d96875e2a91ce7ef18115b1fd8ddf96433eb89f4344eb49e655b1fa6dfa SHA512 10a708659c96e0cd93a83930359a2418a4905d7ce207356d9375389d1dc079e16857518ffac08725b4c83bced7fc17ff0ff853821bf47ad11ae8d87e4cd124d9 +DIST chromium-bin-100.0.4896.127-1-x11-x86_64.tar.xz 82670560 BLAKE2B 7df224b936a467ba03d128dffe5e41292ab07002bc7e7c873a05f9f33aab91a17628fc0c06c50bbbd7fe0233e33981760fefb74a44aa02d5b3ad4c563b7cad9c SHA512 8b51c23741c2040f3494649b7eace9358b264c322d5f31b468963aa1dd9d3e8749e1acb2edd37eb454982d1ded0405a7d950da632775d369483ed9d53343f076 +EBUILD chromium-bin-100.0.4896.127.ebuild 7336 BLAKE2B 6efd886be0aed414872dcbdb3dd42c8d735776a5ccf67fc60f25ca9bfcad6482363f70e54ad40513cc5c47a341e51514e1ccbbcbf1ae5ef05581536451a2bd73 SHA512 7a695e0ac724838b9718289830b0f528393933525a546f82b82cf66a578b505a0105af360adc5eedcf8c558643fa410f4277e244cf5ad0aff89015e353ca84b5 +MISC metadata.xml 552 BLAKE2B bd25b54be089682d19413c7aaccc11b8b7da6be5ab6d8ebc6585b6c80766b66aaa68365fe065a44979e5e408c1c11e210b2a3d8d378b93b65d4292066360145a SHA512 4286ebedb87808c0ad3ade5dac8e9bbfbec0a5696460274361f4d9ce46191719d00871e2a040055da4f5592b041249168bcce038e8a6f0301439364a397c3ac6 diff --git a/www-client/chromium-bin/chromium-bin-100.0.4896.127.ebuild b/www-client/chromium-bin/chromium-bin-100.0.4896.127.ebuild new file mode 100644 index 000000000000..aa72c6c076d3 --- /dev/null +++ b/www-client/chromium-bin/chromium-bin-100.0.4896.127.ebuild @@ -0,0 +1,243 @@ +# Copyright 2020-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CHROMIUM_LANGS="am ar bg bn ca cs da de el en-GB es es-419 et fa fi fil fr gu he + hi hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR pt-PT ro ru sk sl sr + sv sw ta te th tr uk vi zh-CN zh-TW" + +inherit chromium-2 desktop pax-utils readme.gentoo-r1 unpacker xdg-utils + +DESCRIPTION="Open-source version of Google Chrome web browser" +HOMEPAGE="https://chromium.org/" + +MY_P=${P}-1 + +SRC_URI="https://dev.gentoo.org/~sultan/distfiles/www-client/chromium-bin/${MY_P}-common.tar.xz + https://dev.gentoo.org/~sultan/distfiles/www-client/chromium-bin/${MY_P}-l10n.tar.xz + amd64? ( + https://dev.gentoo.org/~sultan/distfiles/www-client/chromium-bin/${MY_P}-common-x86_64.tar.xz + wayland? ( https://dev.gentoo.org/~sultan/distfiles/www-client/chromium-bin/${MY_P}-wayland-x86_64.tar.xz ) + !wayland? ( https://dev.gentoo.org/~sultan/distfiles/www-client/chromium-bin/${MY_P}-x11-x86_64.tar.xz ) + ) + arm64? ( + https://dev.gentoo.org/~sultan/distfiles/www-client/chromium-bin/${MY_P}-common-aarch64.tar.xz + wayland? ( https://dev.gentoo.org/~sultan/distfiles/www-client/chromium-bin/${MY_P}-wayland-aarch64.tar.xz ) + !wayland? ( https://dev.gentoo.org/~sultan/distfiles/www-client/chromium-bin/${MY_P}-x11-aarch64.tar.xz ) + ) + x86? ( + https://dev.gentoo.org/~sultan/distfiles/www-client/chromium-bin/${MY_P}-common-i686.tar.xz + wayland? ( https://dev.gentoo.org/~sultan/distfiles/www-client/chromium-bin/${MY_P}-wayland-i686.tar.xz ) + !wayland? ( https://dev.gentoo.org/~sultan/distfiles/www-client/chromium-bin/${MY_P}-x11-i686.tar.xz ) + )" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="-* ~amd64 ~arm64 ~x86" +IUSE="cpu_flags_x86_sse2 suid +swiftshader wayland widevine" + +RDEPEND=" + app-accessibility/at-spi2-atk:2 + app-accessibility/at-spi2-core:2 + dev-libs/atk + dev-libs/expat + dev-libs/glib:2 + dev-libs/libxml2[icu] + dev-libs/libxslt + dev-libs/nspr + >=dev-libs/nss-3.26 + media-libs/alsa-lib + media-libs/flac + media-libs/fontconfig + >=media-libs/freetype-2.11.0-r1 + media-libs/libjpeg-turbo + media-libs/libwebp + media-libs/mesa[gbm(+)] + media-libs/openh264:0/6.1 + net-misc/curl[ssl] + net-print/cups + sys-apps/dbus + sys-apps/pciutils + >=sys-devel/gcc-9.3.0 + >=sys-libs/glibc-2.32 + sys-libs/zlib[minizip] + virtual/ttf-fonts + virtual/udev + x11-libs/cairo + x11-libs/libdrm + x11-libs/gdk-pixbuf:2 + || ( + x11-libs/gtk+:3[X,wayland?] + gui-libs/gtk:4[X,wayland?] + ) + x11-libs/libX11 + x11-libs/libXcomposite + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXrandr + x11-libs/libXtst + x11-libs/libxcb + x11-libs/libxkbcommon + x11-libs/libxshmfence + x11-libs/pango + x11-misc/xdg-utils + amd64? ( + widevine? ( www-plugins/chrome-binary-plugins ) + ) + wayland? ( dev-libs/wayland ) +" + +S=${WORKDIR} +QA_PREBUILT="*" + +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/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. + +To make password storage work with your desktop environment you may +have install one of the supported credentials management applications: +- app-crypt/libsecret (GNOME) +- kde-frameworks/kwallet (KDE) +If you have one of above packages installed, but don't want to use +them in Chromium, then add --password-store=basic to CHROMIUM_BIN_FLAGS +in /etc/chromium-bin/default. +" + +pkg_pretend() { + if use amd64 || use x86; then + if ! use cpu_flags_x86_sse2; then + eerror "This package requires a CPU supporting the SSE2 instruction set." + die "SSE2 support missing" + fi + fi +} + +pkg_setup() { + chromium_suid_sandbox_check_kernel_config + + if ! use amd64 && use widevine; then + ewarn "Widevine CDM plugin is not available for your architecture." + fi +} + +src_unpack() { + : +} + +src_install() { + dodir / + cd "${ED}" || die + unpacker + + local CHROMIUM_BIN_HOME="opt/chromium-bin" + + if ! use suid; then + rm "${CHROMIUM_BIN_HOME}/chrome-sandbox" || die + fi + + # Remove SwiftShader OpenGL libraries + if ! use swiftshader; then + rm -r "${CHROMIUM_BIN_HOME}/swiftshader" || die + fi + + # Clean unneeded languages + pushd "${CHROMIUM_BIN_HOME}/locales" > /dev/null || die + chromium_remove_language_paks + popd > /dev/null || die + + # Install icons + local size + for size in 16 24 32 48 64 128 256 ; do + newicon -s ${size} "${CHROMIUM_BIN_HOME}/icons/hicolor/${size}x${size}/apps/chromium-browser.png" ${PN}-browser.png + done + rm -r "${CHROMIUM_BIN_HOME}/icons" + + # Allow users to override command-line options, bug #357629. + insinto /etc/chromium-bin + newins "${FILESDIR}/chromium-bin.default" "default" + + # Install desktop entry + domenu "${FILESDIR}/chromium-bin-browser-chromium.desktop" + + # Install GNOME default application entry (bug #303100). + insinto /usr/share/gnome-control-center/default-apps + newins "${FILESDIR}/chromium-bin-browser.xml" chromium-bin-browser.xml + + # Install manpage; bug #684550 + doman "${FILESDIR}/chromium-bin-browser.1" + dosym chromium-bin-browser.1 /usr/share/man/man1/chromium-bin.1 + + pax-mark m "${CHROMIUM_BIN_HOME}/chrome" + + # Symlink Widevine CDM + if use widevine; then + dosym "../../usr/$(get_libdir)/chromium-browser/WidevineCdm" "${CHROMIUM_BIN_HOME}/WidevineCdm" + fi + + # Install launcher + exeinto "${CHROMIUM_BIN_HOME}" + doexe "${FILESDIR}/chromium-bin-launcher.sh" + + # It is important that we name the target "chromium-bin-browser", + # xdg-utils expect it; bug #355517. + dosym "../../${CHROMIUM_BIN_HOME}/chromium-bin-launcher.sh" /usr/bin/chromium-bin-browser + # keep the old symlink around for consistency + dosym "../../${CHROMIUM_BIN_HOME}/chromium-bin-launcher.sh" /usr/bin/chromium-bin + + dosym "../../${CHROMIUM_BIN_HOME}/chromedriver" /usr/bin/chromedriver-bin + + readme.gentoo_create_doc +} + +pkg_postrm() { + xdg_icon_cache_update + xdg_desktop_database_update +} + +pkg_postinst() { + xdg_icon_cache_update + xdg_desktop_database_update + readme.gentoo_print_elog + + elog "For VA-API support you need to install x11-libs/libva with" + elog "USE=X enabled." + elog + elog "VA-API is disabled by default at runtime. You have to enable it" + elog "by adding --enable-features=VaapiVideoDecoder to CHROMIUM_BIN_FLAGS" + elog "in /etc/chromium-bin/default." + + if use wayland; then + elog + elog "For screencast support you need to install media-video/pipewire." + elog + elog "Screencast is disabled by default at runtime. Either enable it" + elog "by navigating to chrome://flags/#enable-webrtc-pipewire-capturer" + elog "inside Chromium or add --enable-features=WebRTCPipeWireCapturer" + elog "to CHROMIUM_BIN_FLAGS in /etc/chromium-bin/default." + fi + + elog + elog "chromium-bin profile defaults to \${HOME}/.config/chromium-bin." + elog "Some extensions (e.g. KeepassXC) expect default chromium profile" + elog "at \${HOME}/.config/chromium. You can overwrite this by adding" + elog "--user-data-dir=\${HOME}/.config/chromium to CHROMIUM_BIN_FLAGS" + elog "in /etc/chromium-bin/default." +} diff --git a/www-client/chromium-bin/files/chromium-bin-browser-chromium.desktop b/www-client/chromium-bin/files/chromium-bin-browser-chromium.desktop new file mode 100644 index 000000000000..6cd41f031d08 --- /dev/null +++ b/www-client/chromium-bin/files/chromium-bin-browser-chromium.desktop @@ -0,0 +1,221 @@ +[Desktop Entry] +Version=1.0 +Name=Chromium (Bin) +# Only KDE 4 seems to use GenericName, so we reuse the KDE strings. +# From Ubuntu's language-pack-kde-XX-base packages, version 9.04-20090413. +GenericName=Web Browser +GenericName[ar]=متصفح الشبكة +GenericName[bg]=Уеб браузър +GenericName[ca]=Navegador web +GenericName[cs]=WWW prohlížeč +GenericName[da]=Browser +GenericName[de]=Web-Browser +GenericName[el]=Περιηγητής ιστού +GenericName[en_GB]=Web Browser +GenericName[es]=Navegador web +GenericName[et]=Veebibrauser +GenericName[fi]=WWW-selain +GenericName[fr]=Navigateur Web +GenericName[gu]=વેબ બ્રાઉઝર +GenericName[he]=דפדפן אינטרנט +GenericName[hi]=वेब ब्राउज़र +GenericName[hu]=Webböngésző +GenericName[it]=Browser Web +GenericName[ja]=ウェブブラウザ +GenericName[kn]=ಜಾಲ ವೀಕ್ಷಕ +GenericName[ko]=웹 브라우저 +GenericName[lt]=Žiniatinklio naršyklė +GenericName[lv]=Tīmekļa pārlūks +GenericName[ml]=വെബ് ബ്രൌസര് +GenericName[mr]=वेब ब्राऊजर +GenericName[nb]=Nettleser +GenericName[nl]=Webbrowser +GenericName[pl]=Przeglądarka WWW +GenericName[pt]=Navegador Web +GenericName[pt_BR]=Navegador da Internet +GenericName[ro]=Navigator de Internet +GenericName[ru]=Веб-браузер +GenericName[sl]=Spletni brskalnik +GenericName[sv]=Webbläsare +GenericName[ta]=இணைய உலாவி +GenericName[th]=เว็บเบราว์เซอร์ +GenericName[tr]=Web Tarayıcı +GenericName[uk]=Навігатор Тенет +GenericName[zh_CN]=网页浏览器 +GenericName[zh_HK]=網頁瀏覽器 +GenericName[zh_TW]=網頁瀏覽器 +# Not translated in KDE, from Epiphany 2.26.1-0ubuntu1. +GenericName[bn]=ওয়েব ব্রাউজার +GenericName[fil]=Web Browser +GenericName[hr]=Web preglednik +GenericName[id]=Browser Web +GenericName[or]=ଓ୍ବେବ ବ୍ରାଉଜର +GenericName[sk]=WWW prehliadač +GenericName[sr]=Интернет прегледник +GenericName[te]=మహాతల అన్వేషి +GenericName[vi]=Bộ duyệt Web +# Gnome and KDE 3 uses Comment. +Comment=Access the Internet +Comment[ar]=الدخول إلى الإنترنت +Comment[bg]=Достъп до интернет +Comment[bn]=ইন্টারনেটটি অ্যাক্সেস করুন +Comment[ca]=Accedeix a Internet +Comment[cs]=Přístup k internetu +Comment[da]=Få adgang til internettet +Comment[de]=Internetzugriff +Comment[el]=Πρόσβαση στο Διαδίκτυο +Comment[en_GB]=Access the Internet +Comment[es]=Accede a Internet. +Comment[et]=Pääs Internetti +Comment[fi]=Käytä internetiä +Comment[fil]=I-access ang Internet +Comment[fr]=Accéder à Internet +Comment[gu]=ઇંટરનેટ ઍક્સેસ કરો +Comment[he]=גישה אל האינטרנט +Comment[hi]=इंटरनेट तक पहुंच स्थापित करें +Comment[hr]=Pristup Internetu +Comment[hu]=Internetelérés +Comment[id]=Akses Internet +Comment[it]=Accesso a Internet +Comment[ja]=インターネットにアクセス +Comment[kn]=ಇಂಟರ್ನೆಟ್ ಅನ್ನು ಪ್ರವೇಶಿಸಿ +Comment[ko]=인터넷 연결 +Comment[lt]=Interneto prieiga +Comment[lv]=Piekļūt internetam +Comment[ml]=ഇന്റര്നെറ്റ് ആക്സസ് ചെയ്യുക +Comment[mr]=इंटरनेटमध्ये प्रवेश करा +Comment[nb]=Gå til Internett +Comment[nl]=Verbinding maken met internet +Comment[or]=ଇଣ୍ଟର୍ନେଟ୍ ପ୍ରବେଶ କରନ୍ତୁ +Comment[pl]=Skorzystaj z internetu +Comment[pt]=Aceder à Internet +Comment[pt_BR]=Acessar a internet +Comment[ro]=Accesaţi Internetul +Comment[ru]=Доступ в Интернет +Comment[sk]=Prístup do siete Internet +Comment[sl]=Dostop do interneta +Comment[sr]=Приступите Интернету +Comment[sv]=Gå ut på Internet +Comment[ta]=இணையத்தை அணுகுதல் +Comment[te]=ఇంటర్నెట్ను ఆక్సెస్ చెయ్యండి +Comment[th]=เข้าถึงอินเทอร์เน็ต +Comment[tr]=İnternet'e erişin +Comment[uk]=Доступ до Інтернету +Comment[vi]=Truy cập Internet +Comment[zh_CN]=访问互联网 +Comment[zh_HK]=連線到網際網路 +Comment[zh_TW]=連線到網際網路 +Exec=chromium-bin-browser %U +StartupNotify=true +Terminal=false +Icon=chromium-bin-browser +Type=Application +Categories=Network;WebBrowser; +MimeType=application/pdf;application/rdf+xml;application/rss+xml;application/xhtml+xml;application/xhtml_xml;application/xml;image/gif;image/jpeg;image/png;image/webp;text/html;text/xml;x-scheme-handler/ftp;x-scheme-handler/http;x-scheme-handler/https; +Actions=new-window;new-private-window; + +[Desktop Action new-window] +Name=New Window +Name[am]=አዲስ መስኮት +Name[ar]=نافذة جديدة +Name[bg]=Нов прозорец +Name[bn]=নতুন উইন্ডো +Name[ca]=Finestra nova +Name[cs]=Nové okno +Name[da]=Nyt vindue +Name[de]=Neues Fenster +Name[el]=Νέο Παράθυρο +Name[en_GB]=New Window +Name[es]=Nueva ventana +Name[et]=Uus aken +Name[fa]=پنجره جدید +Name[fi]=Uusi ikkuna +Name[fil]=New Window +Name[fr]=Nouvelle fenêtre +Name[gu]=નવી વિંડો +Name[hi]=नई विंडो +Name[hr]=Novi prozor +Name[hu]=Új ablak +Name[id]=Jendela Baru +Name[it]=Nuova finestra +Name[iw]=חלון חדש +Name[ja]=新規ウインドウ +Name[kn]=ಹೊಸ ವಿಂಡೊ +Name[ko]=새 창 +Name[lt]=Naujas langas +Name[lv]=Jauns logs +Name[ml]=പുതിയ വിന്ഡോ +Name[mr]=नवीन विंडो +Name[nl]=Nieuw venster +Name[no]=Nytt vindu +Name[pl]=Nowe okno +Name[pt]=Nova janela +Name[pt_BR]=Nova janela +Name[ro]=Fereastră nouă +Name[ru]=Новое окно +Name[sk]=Nové okno +Name[sl]=Novo okno +Name[sr]=Нови прозор +Name[sv]=Nytt fönster +Name[sw]=Dirisha Jipya +Name[ta]=புதிய சாளரம் +Name[te]=క్రొత్త విండో +Name[th]=หน้าต่างใหม่ +Name[tr]=Yeni Pencere +Name[uk]=Нове вікно +Name[vi]=Cửa sổ Mới +Name[zh_CN]=新建窗口 +Name[zh_TW]=開新視窗 +Exec=chromium-bin-browser + +[Desktop Action new-private-window] +Name=New Incognito Window +Name[ar]=نافذة جديدة للتصفح المتخفي +Name[bg]=Нов прозорец „инкогнито“ +Name[bn]=নতুন ছদ্মবেশী উইন্ডো +Name[ca]=Finestra d'incògnit nova +Name[cs]=Nové anonymní okno +Name[da]=Nyt inkognitovindue +Name[de]=Neues Inkognito-Fenster +Name[el]=Νέο παράθυρο για ανώνυμη περιήγηση +Name[en_GB]=New Incognito window +Name[es]=Nueva ventana de incógnito +Name[et]=Uus inkognito aken +Name[fa]=پنجره جدید حالت ناشناس +Name[fi]=Uusi incognito-ikkuna +Name[fil]=Bagong Incognito window +Name[fr]=Nouvelle fenêtre de navigation privée +Name[gu]=નવી છુપી વિંડો +Name[hi]=नई गुप्त विंडो +Name[hr]=Novi anoniman prozor +Name[hu]=Új Inkognitóablak +Name[id]=Jendela Penyamaran baru +Name[it]=Nuova finestra di navigazione in incognito +Name[iw]=חלון חדש לגלישה בסתר +Name[ja]=新しいシークレット ウィンドウ +Name[kn]=ಹೊಸ ಅಜ್ಞಾತ ವಿಂಡೋ +Name[ko]=새 시크릿 창 +Name[lt]=Naujas inkognito langas +Name[lv]=Jauns inkognito režīma logs +Name[ml]=പുതിയ വേഷ പ്രച്ഛന്ന വിന്ഡോ +Name[mr]=नवीन गुप्त विंडो +Name[nl]=Nieuw incognitovenster +Name[no]=Nytt inkognitovindu +Name[pl]=Nowe okno incognito +Name[pt]=Nova janela de navegação anónima +Name[pt_BR]=Nova janela anônima +Name[ro]=Fereastră nouă incognito +Name[ru]=Новое окно в режиме инкогнито +Name[sk]=Nové okno inkognito +Name[sl]=Novo okno brez beleženja zgodovine +Name[sr]=Нови прозор за прегледање без архивирања +Name[sv]=Nytt inkognitofönster +Name[ta]=புதிய மறைநிலைச் சாளரம் +Name[te]=క్రొత్త అజ్ఞాత విండో +Name[th]=หน้าต่างใหม่ที่ไม่ระบุตัวตน +Name[tr]=Yeni Gizli pencere +Name[uk]=Нове вікно в режимі анонімного перегляду +Name[vi]=Cửa sổ ẩn danh mới +Name[zh_CN]=新建隐身窗口 +Name[zh_TW]=新增無痕式視窗 +Exec=chromium-bin-browser --incognito diff --git a/www-client/chromium-bin/files/chromium-bin-browser.1 b/www-client/chromium-bin/files/chromium-bin-browser.1 new file mode 100644 index 000000000000..db5c5cb6645c --- /dev/null +++ b/www-client/chromium-bin/files/chromium-bin-browser.1 @@ -0,0 +1,170 @@ +.\" This file is processed to generate manpages in the +.\" build diretory. +.TH chromium-bin 1 "" "" "USER COMMANDS" + +.SH NAME +chromium-bin \- the web browser from Google + +.SH SYNOPSIS +.B chromium-bin +[\fIOPTION\fR] [\fIPATH\fR|\fIURL\fR] + +.SH DESCRIPTION +See the Google Chrome help center for help on using the browser. +.IP +<https://support.google.com/chrome/> +.PP +This manpage only describes invocation, environment, and arguments. + +.SH OPTIONS +Chromium has hundreds of undocumented command-line flags that are added +and removed at the whim of the developers. Here, we document relatively +stable flags. +.TP +\fB\-\-user\-data\-dir\fR=\fIDIR\fR +Specifies the directory that user data (your "profile") is kept in. +Defaults to +.I $HOME/.config/chromium-bin . +Separate instances of Chromium must use separate user data directories; +repeated invocations of chromium-bin will reuse an existing process for +a given user data directory. + +.TP +\fB\-\-app\fR=\fIURL\fR +Runs +.I URL +in "app mode": with no browser toolbars. + +.TP +\fB\-\-incognito\fR +Open in incognito mode. + +.TP +\fB\-\-new-window\fR +If \fIPATH\fR or \fIURL\fR is given, open it in a new window. + +.TP +\fB\-\-proxy-server\fR=\fIhost:port\fR +Specify the HTTP/SOCKS4/SOCKS5 proxy server to use for requests. This +overrides any environment variables or settings picked via the options dialog. +An individual proxy server is specified using the format: + + [<proxy-scheme>://]<proxy-host>[:<proxy-port>] + +Where <proxy-scheme> is the protocol of the proxy server, and is one of: + + "http", "socks", "socks4", "socks5". + +If the <proxy-scheme> is omitted, it defaults to "http". Also note that +"socks" is equivalent to "socks5". + +Examples: + + --proxy-server="foopy:99" + Use the HTTP proxy "foopy:99" to load all URLs. + + --proxy-server="socks://foobar:1080" + Use the SOCKS v5 proxy "foobar:1080" to load all URLs. + + --proxy-server="socks4://foobar:1080" + Use the SOCKS v4 proxy "foobar:1080" to load all URLs. + + --proxy-server="socks5://foobar:66" + Use the SOCKS v5 proxy "foobar:66" to load all URLs. + +It is also possible to specify a separate proxy server for different URL types, +by prefixing the proxy server specifier with a URL specifier: + +Example: + + --proxy-server="https=proxy1:80;http=socks4://baz:1080" + Load https://* URLs using the HTTP proxy "proxy1:80". And load http://* + URLs using the SOCKS v4 proxy "baz:1080". + +.TP +\fB\-\-no-proxy-server\fR +Disables the proxy server. Overrides any environment variables or +settings picked via the options dialog. + +.TP +\fB\-\-proxy-auto-detect\fR +Autodetect proxy configuration. Overrides any environment variables +or settings picked via the options dialog. + +.TP +\fB\-\-proxy-pac-url\fR=\fIURL\fR +Specify proxy autoconfiguration URL. Overrides any environment variables +or settings picked via the options dialog. + +.TP +\fB\-\-password-store\fR=<\fIbasic\fR|\fIgnome\fR|\fIkwallet\fR> +Set the password store to use. The default is to automatically detect based +on the desktop environment. \fIbasic\fR selects the built in, unencrypted +password store. \fIgnome\fR selects Gnome keyring. \fIkwallet\fR selects +(KDE) KWallet. (Note that KWallet may not work reliably outside KDE.) + +.TP +\fB\-\-version\fR +Show version information. + +.PP +As a GTK+ app, Chromium also obeys GTK+ command-line flags, such +as +.BR \-\-display . +See the GTK documentation for more: +.IP +<http://library.gnome.org/devel/gtk/stable/gtk-running.html> +<http://library.gnome.org/devel/gtk/stable/gtk-x11.html> + +.SH ENVIRONMENT +Chromium obeys the following environment variables: + +.TP +.B all_proxy +Shorthand for specifying all of +.B http_proxy, https_proxy, ftp_proxy + +.TP +.B http_proxy, https_proxy, ftp_proxy +The proxy servers used for HTTP, HTTPS, and FTP. +.I Note: +because Gnome/KDE proxy settings may propagate into these variables +in some terminals, this variable is ignored (in preference for actual +system proxy settings) when running under Gnome or KDE. Use the +command-line flags to set these when you want to force their values. + +.TP +.B auto_proxy +Specify proxy autoconfiguration. Defined and empty autodetects; otherwise, +it should be an autoconfig URL. But see above note about Gnome/KDE. + +.TP +.B SOCKS_SERVER +SOCKS proxy server (defaults to SOCKS v4, also set +.B SOCKS_VERSION=5 +to use SOCKS v5). + +.TP +.B no_proxy +Comma separated list of hosts or patterns to bypass proxying. + +.SH FILES +.TP +.I $HOME/.config/chromium-bin +Default directory for configuration data. + +.TP +.I $HOME/.cache/chromium-bin +Default directory for cache data. (Why? See +<http://standards.freedesktop.org/basedir-spec/latest/> .) + +.SH BUGS +Bug tracker: +.IP +http://code.google.com/p/chromium/issues/list +.PP +Be sure to do your search within "All Issues" before reporting bugs, +and be sure to pick the "Defect on Linux" template when filing a new one. + +.SH AUTHOR +The Chromium team \- <http://www.chromium.org> diff --git a/www-client/chromium-bin/files/chromium-bin-browser.xml b/www-client/chromium-bin/files/chromium-bin-browser.xml new file mode 100644 index 000000000000..7ea1d2c7204a --- /dev/null +++ b/www-client/chromium-bin/files/chromium-bin-browser.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE default-apps SYSTEM "gnome-da-list.dtd"> +<default-apps> + <web-browsers> + <web-browser> + <name>Chromium (Bin)</name> + <executable>chromium-bin-browser</executable> + <command>chromium-bin-browser %s</command> + <icon-name>chromium-bin-browser</icon-name> + <run-in-terminal>false</run-in-terminal> + </web-browser> + </web-browsers> +</default-apps> diff --git a/www-client/chromium-bin/files/chromium-bin-launcher.sh b/www-client/chromium-bin/files/chromium-bin-launcher.sh new file mode 100644 index 000000000000..3e9283df2e29 --- /dev/null +++ b/www-client/chromium-bin/files/chromium-bin-launcher.sh @@ -0,0 +1,39 @@ +#!/bin/bash + +# Allow the user to override command-line flags, bug #357629. +# This is based on Debian's chromium-browser package, and is intended +# to be consistent with Debian. +for f in /etc/chromium-bin/*; do + [[ -f ${f} ]] && source "${f}" +done + +# Prefer user defined CHROMIUM_BIN_USER_FLAGS (from env) over system +# default CHROMIUM_BIN_FLAGS (from /etc/chromium-bin/default). +CHROMIUM_BIN_FLAGS=${CHROMIUM_BIN_USER_FLAGS:-"$CHROMIUM_BIN_FLAGS"} + +# Let the wrapped binary know that it has been run through the wrapper +export CHROME_WRAPPER=$(readlink -f "$0") + +PROGDIR=${CHROME_WRAPPER%/*} + +case ":$PATH:" in + *:$PROGDIR:*) + # $PATH already contains $PROGDIR + ;; + *) + # Append $PROGDIR to $PATH + export PATH="$PATH:$PROGDIR" + ;; +esac + +if [[ ${EUID} == 0 && -O ${XDG_CONFIG_HOME:-${HOME}} ]]; then + # Running as root with HOME owned by root. + # Pass --user-data-dir to work around upstream failsafe. + CHROMIUM_BIN_FLAGS="--user-data-dir=${XDG_CONFIG_HOME:-${HOME}/.config}/chromium + ${CHROMIUM_BIN_FLAGS}" +fi + +# Set the .desktop file name +export CHROME_DESKTOP="chromium-bin-browser-chromium.desktop" + +exec -a "chromium-bin-browser" "$PROGDIR/chrome" --extra-plugin-dir=/usr/lib/nsbrowser/plugins ${CHROMIUM_BIN_FLAGS} "$@" diff --git a/www-client/chromium-bin/files/chromium-bin.default b/www-client/chromium-bin/files/chromium-bin.default new file mode 100644 index 000000000000..1ab26e540c8e --- /dev/null +++ b/www-client/chromium-bin/files/chromium-bin.default @@ -0,0 +1,5 @@ +# Default settings for chromium-bin. This file is sourced by /bin/bash from +# the chromium-bin launcher. + +# Options to pass to chromium-bin. +#CHROMIUM_BIN_FLAGS="" diff --git a/www-client/chromium-bin/metadata.xml b/www-client/chromium-bin/metadata.xml new file mode 100644 index 000000000000..0d0a99328653 --- /dev/null +++ b/www-client/chromium-bin/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>chromium@gentoo.org</email> + <name>Chromium in Gentoo Project</name> + </maintainer> + <use> + <flag name="suid">Install the SUID sandbox, which is only needed on CONFIG_USER_NS=n kernels.</flag> + <flag name="swiftshader">Install SwiftShader OpenGL libraries.</flag> + <flag name="widevine">Unsupported closed-source DRM capability (required by Netflix VOD).</flag> + </use> +</pkgmetadata> |