From 0c100b7dd2b30e75b799d806df4ef899fd98e1ea Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 16 Apr 2022 13:07:24 +0100 Subject: gentoo resync : 16.04.2022 --- .../files/chromium-bin-browser-chromium.desktop | 221 +++++++++++++++++++++ .../chromium-bin/files/chromium-bin-browser.1 | 170 ++++++++++++++++ .../chromium-bin/files/chromium-bin-browser.xml | 13 ++ .../chromium-bin/files/chromium-bin-launcher.sh | 39 ++++ www-client/chromium-bin/files/chromium-bin.default | 5 + 5 files changed, 448 insertions(+) create mode 100644 www-client/chromium-bin/files/chromium-bin-browser-chromium.desktop create mode 100644 www-client/chromium-bin/files/chromium-bin-browser.1 create mode 100644 www-client/chromium-bin/files/chromium-bin-browser.xml create mode 100644 www-client/chromium-bin/files/chromium-bin-launcher.sh create mode 100644 www-client/chromium-bin/files/chromium-bin.default (limited to 'www-client/chromium-bin/files') 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 + +.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: + + [://][:] + +Where is the protocol of the proxy server, and is one of: + + "http", "socks", "socks4", "socks5". + +If the 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 + + + +.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 + .) + +.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 \- 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 @@ + + + + + + Chromium (Bin) + chromium-bin-browser + chromium-bin-browser %s + chromium-bin-browser + false + + + 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="" -- cgit v1.2.3