Added Chromium Bin

This commit is contained in:
Gerben Jan Dijkman 2021-03-30 12:57:24 +02:00
parent 1a23f2da7b
commit 3462a35bfd
8 changed files with 738 additions and 0 deletions

View File

@ -0,0 +1,18 @@
DIST chromium-bin-89.0.4389.90-1-common-aarch64.tar.xz 5946192 BLAKE2B a6d31455d8c50629d50672a59d8616f3cc8d19d9cb4ba7ed519d52b634017ceabfa12ceec217b0b0fae0c48cfd38cc045353655f4d6dde05e08786ea97faf9a7 SHA512 85ada414b0a4fd7148662702be7421e67df241f970cb2da3ee5e996da5442b45147bfbb252ee11c5beb5a1733149114668169cef3df1accc14cbd7a7f3f11bbc
DIST chromium-bin-89.0.4389.90-1-common-i686.tar.xz 2220128 BLAKE2B 3d1afe0c3257e4564bc30f9b6d4e461eaa0ec04aa39dc0bc59c1f3c3e677d1cd857362eac0f6ffc0892a62eeb41d86f0675020fe707b5163bd83ff646f0980ad SHA512 fb84316b5ff7e419d7771a8eb4d75949caa984d3a46edfd360ba58e5729085f4f383c50a7437b261100e70cb4e212713468a4b856236ab6d085bc3d1afd82629
DIST chromium-bin-89.0.4389.90-1-common-x86_64.tar.xz 1678684 BLAKE2B 2bd6c743d90a548e66d8630f27bfddc029cd4ffae2275213e1700d43b68665269cf36b25bdc7c9e512fd8e4b70d5785c6a4271fb15f1ca701bbe31c27cab0ecb SHA512 60a6b73bd2dd77a2ff407edaa151730cb50de25235d44d92ece9c85471168e8ded297b60c554f50e5a17544ce57b41458a98ee7b265f495208fa06c544eccd23
DIST chromium-bin-89.0.4389.90-1-common.tar.xz 1686600 BLAKE2B 7244336aa625dfda1e3a7885ea7e97231cd187b3abffc9cf6c610b55b723f533b1797dcf682126445e48f2fb9698c6a1c54403675c7df7b9c17cdf2ede78725a SHA512 1b627502601aa4b2f36d2425a7f8825a75adb70cfd9b9de6e79698020523ed3aec85a6b86f4b285a766195ee42b45a6f9a3462d9030da011b7a0d502d22dca33
DIST chromium-bin-89.0.4389.90-1-l10n.tar.xz 3747004 BLAKE2B dd94f9711caa679ea6c7744c7bb43eb27e4fc288ef07a92122f4d540d49ca60221d4307328feef1f83ba6f7040bc0505ea8dc7c1d0fd3e8fcb9b2f6f39c93687 SHA512 71e24118952ab59aa0bed5acf1f505e165c708c34dd04f15b38ecb2453f8c998af7159897180033265685c54eadda15983eef4ae92ea9a1546da729c3616d540
DIST chromium-bin-89.0.4389.90-1-resources.tar.xz 3084056 BLAKE2B 9111d767f5d50f521fca79cd6ab75aa7f00e1aaba6c326eb8b0e0ca5b5bef7ef879aa3f245a2f05077a55b2d7412d0250e1ffb46c244d144902284bbce060116 SHA512 0bcb9f0318741c1ecf18a683f17047e2cdb280e357af4555f00aa4d6f8efe31157db97f4b61df1174d323f1e07312f0821712bbcf0c18fdfae791adfa364d76f
DIST chromium-bin-89.0.4389.90-1-wayland-aarch64.tar.xz 65932100 BLAKE2B 7516f3aac552edc1be33a9d10fedfcc01338513a5cca237b187ac7187bddd888dd4786a81e97dafb0fed30db9e773f052cb7b51a6f14f66c3f04c4f0e9e9468e SHA512 77ba754a13c0323684c7c0bdfa71964088b77cfce4077d13ea8491434bcb6ef5993ed304d5fef450b4e7cae63bf0a438df654f4bcf4ab576ae6f0e22a9b41e8e
DIST chromium-bin-89.0.4389.90-1-wayland-i686.tar.xz 87262148 BLAKE2B 8610bb293c770cdef21293c58048a4c977cdd2745936a267dd903894b88bb805684f38895aa60288cfca8ccc4ec5c697ef09b77d0db9b90badb82c7a500f6a19 SHA512 df4eaf5c07d6b8cf9afd6fb7d54cccd1d3802e9d0eb0caff6468d01ee87c2c7234c0b250320d4ee22384267c0af5649ccc2a32d586b65f27cc72b5574fe467c2
DIST chromium-bin-89.0.4389.90-1-wayland-x86_64.tar.xz 67631588 BLAKE2B 5d06fc30d7e8139802b0c280013018732626790b9ae99074b6de7556aa97e6730a50fa7cd62e8f6fe8c55fa7336537f25a90f2e57f53da0016e3b0c696dc214a SHA512 f6168a56edd2c3a70b7f6543867896c6518717102d5dc306da4efc63c336897a4a055fa83cb52c4ed3b1f06d4e91f0625554f84f56d18fdced0380c25822d1db
DIST chromium-bin-89.0.4389.90-1-wayland_vaapi-aarch64.tar.xz 66075692 BLAKE2B 71ca8d819769364ab804913d3eb5736ccb3dc45518fcb6efa912cee5b3877b166dba040d8935bc08b4523161331c3626e330ef86d3027993168750d54544511c SHA512 984876ec153960dd0121e97acc90d8f8c77a86d52dd2d2cbb0c45f005d46863062a5346837bb058c9dd9af7b4800a84b6223f86180b49147224a2f2744fa13b8
DIST chromium-bin-89.0.4389.90-1-wayland_vaapi-i686.tar.xz 87547252 BLAKE2B d109e34c3e20155ffc31064b8f94de898086e522881e38e266e6da01799baa245d4cae406bb7297451136e893fd6b4594322dcb4c9bfaa3c1e75ebee860e4c4e SHA512 92a50d89b351280e8e27a8cf0bd2ae9d054a044491c91f3698d61dc89f0b2e0d5a03140c9c0c41398dce5bb0a4ffd8c20e9ddba83e99b01c4b7f73ec8c2da37e
DIST chromium-bin-89.0.4389.90-1-wayland_vaapi-x86_64.tar.xz 67796668 BLAKE2B 5a9d933baaadaaad439657cd60ee7e55ae21157b78ecc10c1188d0c0684abf623ae4b46c339908a9f14b790382ac71c0be5f923a78e5aeba82890ff967b64889 SHA512 073d2ad4f0a4e2b00a03bbaf49250c656b9c70d105a54905b0f0791920a5f5382fe34a69d8e9fdce694235473dca13f7cd1e44c70e69b7d4d73a748d86e5959e
DIST chromium-bin-89.0.4389.90-1-x11-aarch64.tar.xz 65765692 BLAKE2B 2fc9f1bc0dff5742dcb728d715c7ca8ee0662514c39414feadfd740f1b0f5e4906d51b60944fc3ae3eefabf54b899d1c5e3e02d685df929593ef5f9f213e36ba SHA512 4b52bef97018028f8246730a791c525816cccd655ef1fe407f157dcf5c1be77d93891dcf1df007389fd2f874034756e8eb3f07acb6c9d85dca7245500cc394a7
DIST chromium-bin-89.0.4389.90-1-x11-i686.tar.xz 87138448 BLAKE2B b56900bd570e6559dbf8694db5ca55563320c106ac26e1dd0aa9c05acfa45404155070ad99ae9f71cdaa17d181c1ce8a7b7eb05aa489b78991ee7e307e88249f SHA512 61342d85dd3418a2ed2e88879e4835c0024ca899ed64240688cf42c22c69fffcdba7353233251c9c4c296ef69d35c13624337233164b02c10381afef4de92464
DIST chromium-bin-89.0.4389.90-1-x11-x86_64.tar.xz 67473856 BLAKE2B b9ab37034900a9618e456575645aade51ec25f56e810e3167419fb5fcd6c7170d5a2404ba841edbfccdd5da5c743413dbcffbe3e395f9e5df1a6f1cca395607a SHA512 cd5f01a0d5527f4e03f27fcd14a085f98308457fe5dcd393b5f86eca8f2bb3b4f4bf3295ad90ec714a15a2731d4fb707d8e3095b4a691909b45c23a4bc0a44f1
DIST chromium-bin-89.0.4389.90-1-x11_vaapi-aarch64.tar.xz 65943956 BLAKE2B 4dd40ba1dd356a36724c06ab6d8191b3c3d5a5879a2c0f639e27aac18384a13f4abaf0005ccab9afaab68e3a90e300e0bcf0e43edb769753e0b5188ca4e160e9 SHA512 41cbc2dc587e7ec1a5503850d00e6f41912dc69c134eafff69cc4435b6201fab1ca7dcd3f8fa864ff63652912c7d35d040dc03d5a56f4f5615f3a0bf10329880
DIST chromium-bin-89.0.4389.90-1-x11_vaapi-i686.tar.xz 87312752 BLAKE2B 1862ec0e73449c22cb2e76e965a8acce1de49577e5a2d672c92c1c2d9cdb18502c7250b043ac8af9c2cea674df1328e84f1789b05dc2da8c728a0ba1deff546b SHA512 e05ec84a1a9e1d091b57cf7c86eeb5b4436584aa32c2417b0f40c12def517a47b7e3befba7ac51bcbe9dc876dc2559d85043b4334926a3e4394192a0649900f0
DIST chromium-bin-89.0.4389.90-1-x11_vaapi-x86_64.tar.xz 67613256 BLAKE2B f789774f2dfe733c456b351296038c746c573d443063a78693c71a9e88e0fbcfa7eebc633ec8b826b7a8a49a6fafb30d3695a64108bfb4964a25b90b1b50a528 SHA512 1756071e27e9603db96d92230ffb9c0fe93eb0889d6c2c1c5aece221f2e69c5beb7e70a9e9ab9659ed5a2772e29d548ba0ffcc73a72857d1a5527fac15cc9c2e

View File

@ -0,0 +1,262 @@
# Copyright 2020-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
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
devtools? ( https://dev.gentoo.org/~sultan/distfiles/www-client/chromium-bin/${MY_P}-resources.tar.xz )
amd64? (
https://dev.gentoo.org/~sultan/distfiles/www-client/chromium-bin/${MY_P}-common-x86_64.tar.xz
wayland? (
vaapi? ( https://dev.gentoo.org/~sultan/distfiles/www-client/chromium-bin/${MY_P}-wayland_vaapi-x86_64.tar.xz )
!vaapi? ( https://dev.gentoo.org/~sultan/distfiles/www-client/chromium-bin/${MY_P}-wayland-x86_64.tar.xz )
)
!wayland? (
vaapi? ( https://dev.gentoo.org/~sultan/distfiles/www-client/chromium-bin/${MY_P}-x11_vaapi-x86_64.tar.xz )
!vaapi? ( 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? (
vaapi? ( https://dev.gentoo.org/~sultan/distfiles/www-client/chromium-bin/${MY_P}-wayland_vaapi-aarch64.tar.xz )
!vaapi? ( https://dev.gentoo.org/~sultan/distfiles/www-client/chromium-bin/${MY_P}-wayland-aarch64.tar.xz )
)
!wayland? (
vaapi? ( https://dev.gentoo.org/~sultan/distfiles/www-client/chromium-bin/${MY_P}-x11_vaapi-aarch64.tar.xz )
!vaapi? ( 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? (
vaapi? ( https://dev.gentoo.org/~sultan/distfiles/www-client/chromium-bin/${MY_P}-wayland_vaapi-i686.tar.xz )
!vaapi? ( https://dev.gentoo.org/~sultan/distfiles/www-client/chromium-bin/${MY_P}-wayland-i686.tar.xz )
)
!wayland? (
vaapi? ( https://dev.gentoo.org/~sultan/distfiles/www-client/chromium-bin/${MY_P}-x11_vaapi-i686.tar.xz )
!vaapi? ( 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 devtools selinux suid +swiftshader vaapi wayland widevine"
RDEPEND="
app-accessibility/at-spi2-atk:2
app-accessibility/at-spi2-core:2
app-arch/bzip2
app-arch/snappy
dev-libs/atk
dev-libs/expat
dev-libs/glib:2
dev-libs/icu:0/68.2
dev-libs/libxml2[icu]
dev-libs/libxslt
dev-libs/nspr
>=dev-libs/nss-3.26
dev-libs/re2:0/9
media-libs/alsa-lib
media-libs/flac
media-libs/fontconfig
media-libs/freetype
media-libs/harfbuzz[icu(-)]
media-libs/libjpeg-turbo
media-libs/libpng
media-libs/libwebp
media-libs/mesa[gbm]
media-libs/openh264
media-libs/opus
>=media-video/ffmpeg-4.3
|| (
>=media-video/ffmpeg-4.3[-samba]
net-fs/samba[-debug(-)]
)
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/opengl
virtual/ttf-fonts
virtual/udev
x11-libs/cairo
x11-libs/gdk-pixbuf:2
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/libXi
x11-libs/libXrandr
x11-libs/libXrender
x11-libs/libXtst
x11-libs/libXScrnSaver
x11-libs/libxcb
x11-libs/pango
x11-misc/xdg-utils
amd64? (
widevine? ( www-plugins/chrome-binary-plugins )
)
selinux? ( sec-policy/selinux-chromium )
wayland? (
dev-libs/wayland
dev-libs/libffi
x11-libs/gtk+:3[wayland,X]
x11-libs/libdrm
x11-libs/libxkbcommon
)
"
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 && use amd64; 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
if use vaapi; then
elog "VA-API is disabled by default at runtime. Either enable it"
elog "by navigating to chrome://flags/#enable-accelerated-video-decode"
elog "inside Chromium or add --enable-accelerated-video-decode"
elog "to CHROMIUM_BIN_FLAGS in /etc/chromium-bin/default."
fi
}

View File

@ -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 duyt 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 cp 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]=Ca s Mi
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]=Ca s n danh mi
Name[zh_CN]=
Name[zh_TW]=
Exec=chromium-bin-browser --incognito

View File

@ -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>

View File

@ -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>

View File

@ -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} "$@"

View File

@ -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=""

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<use>
<flag name="devtools">Install developer tools. Usually not needed for general use.</flag>
<flag name="suid">Build the SUID sandbox, which is only needed on CONFIG_USER_NS=n kernels</flag>
<flag name="swiftshader">Install SwiftShader OpenGL libaries.</flag>
<flag name="widevine">Unsupported closed-source DRM capability (required by Netflix VOD)</flag>
</use>
</pkgmetadata>