Delete www-client/git a directory
This commit is contained in:
parent
45c649ce64
commit
09c8c0d388
@ -1,21 +0,0 @@
|
||||
DIST chromium-bin-91.0.4472.106-1-common-aarch64.tar.xz 5930796 BLAKE2B 6818da8bbea6cf3e8b3168d5774b174e00c75a9b8612a7ac64f6aa9a623148cc68befb7525aad8f7ac8a8fd18198e34747c7bfdae1a1cb637a8ffe238d524299 SHA512 83c5cb05d51a61f064dff260be3c253bf29f7060fbe00ab77c0f9262fd122defe4d5c3883ccce1fcce88d5e335dbf72e63ae3ecd082262f282edfabbb445ca27
|
||||
DIST chromium-bin-91.0.4472.106-1-common-i686.tar.xz 2185968 BLAKE2B 1997a1b6a3c721e5aafa2b2b922cd7a866864c6c2dac1b1c634f1767b3167673101befee87a0b53452bb477ae92510e216decf5eb472667a86c1b6c693c4ccdf SHA512 9e04b05fc2638258c8f84c7c3287c53045036efd783f6989ea6c39093f1c04e357d634285cabc43680de98c059b93554bb25ff683941aa3cb61e08e55050605c
|
||||
DIST chromium-bin-91.0.4472.106-1-common-x86_64.tar.xz 1646160 BLAKE2B 4388a05754a478d3f181232f3219321755b34d69aabcebe2c60d31294e83548825e87ee9a79552bba3bf1eb88584cb6daf02f016edff4fa8533661c8fd45e555 SHA512 df869d884c49328129ffab0367192a103a61215b49ddf6008f3d70f8448c062a17ad987c683484ba530d257ace1d574f5b584f34c7257b1b74890f2dc5333dcd
|
||||
DIST chromium-bin-91.0.4472.106-1-common.tar.xz 1683952 BLAKE2B d5ec29277d5b29b1562911d2ab2b9f6ad7b29f8befeaf7f4199da42779ff6c032bfd55a907e978ccf651d55a8b915158e09841f9bad5e472f059811ca59fc7ac SHA512 6e4f98aac5deabfef3babe400f5c5fed2775104ad6f974f50aadbf5ed3756487b60d88ba948e93a7b96a36c42b821d469219e26946e4df0d82ac3bacee7afa77
|
||||
DIST chromium-bin-91.0.4472.106-1-l10n.tar.xz 3891632 BLAKE2B 503c107feaba4ff5cd7168c93efe196a1d9e51690f492159a95c910528c09b27a4975ecf63a5b440930fbf49a9d13d25f249398b9673d39d58d60bb04fbc450c SHA512 98f3deb7b11889466677ac8285b499e88685de29ba187be42a7a4dfe8facc6fc76e5608250d8e791970456442e28cceff542af48c85154fd7e6e0f2593c0362d
|
||||
DIST chromium-bin-91.0.4472.106-1-resources.tar.xz 21392 BLAKE2B 1e79b097a9219d7065c231c29b8481d882f6f40269693c7cfb7fc31b281d2f2e8a27d06a62ad08e2909c6b05c51d3fdc844ffc2033930fea9668838709ecebf6 SHA512 aae907ef9f01a3d195b7f6082e85d1b5288bae99704d11889d5f0f3bf899d96e01dda0f1fc6d39752196209dc077d8049562e5ad5cff2cd0d3cb43235dda3314
|
||||
DIST chromium-bin-91.0.4472.106-1-wayland-aarch64.tar.xz 71839688 BLAKE2B 4fdee681472f28a6e7af106ae2a788060845998a56ae6ddbeb549e799ecff98c11bf5ef3f3338930fb92a33ae3a091956423e8ff90bc4f04add4e7e193b23efb SHA512 46b06fd4079676febfde57c9bcdf9e215dd95686529f9559f4843d39f1d521137983ddd5f0e62e15ff4f0d3031b6704f4aabde3e9d80e1e5c446cdb1c8139010
|
||||
DIST chromium-bin-91.0.4472.106-1-wayland-i686.tar.xz 95064280 BLAKE2B c015c5c01bc934e27cfa791b94f3025193424745e613df5b6915956886a39ead62e1fdf081a98f0b78f19acf57843800aa443f91e5edec0e705ddb3220bd8418 SHA512 73a976145c361ec8c5402a6d456dba2e7f38c086fbb2901e8ef43799b3c04c1f853208d8b362bb202066458ffcfb34ed4ac727434c25b41f0ef0718772fdf18a
|
||||
DIST chromium-bin-91.0.4472.106-1-wayland-x86_64.tar.xz 74067276 BLAKE2B eb4445cab1fe02affe75dbd2163cfe38daebc5df5a6f1ecc6912e7f480b6f23a5862cf2fd2517bc0b3803a5bbc97d4ee238cace31b58ffb84376ae235a332873 SHA512 d633122e7c4368735d0d9cf39001589a774c04fe3914c51fe79d17e99f8e9bde5dace097b9202fe57b8be8fa912e088d89022331e00163f774f1b09bb99c3b7d
|
||||
DIST chromium-bin-91.0.4472.106-1-x11-aarch64.tar.xz 71640280 BLAKE2B 1ec58ea0a0a0fae29140b91e0645211543e971d58b47f102d46ba38fa7a6b61260ecba2c33ba98de29406e1942d036e30b9f4893ff3d61194ac058f11b0fee0b SHA512 3f1febd6da0182a881e872fe29b38df554eb6a3b5c82ba58d59040cbe3cbf78eb966ee66292b40622ea2c7a73a77e863c6e54dca98360623503a78fac94fe31f
|
||||
DIST chromium-bin-91.0.4472.106-1-x11-i686.tar.xz 94910168 BLAKE2B 3fb7e9832a621ab59a4c8afd691d3bd88ed95f1271e0c03cb39085ecd715c849325c4d93758796c07db1b8c5140be7da0948a18cf1bdbb5fb4d5cbf7ea49da95 SHA512 424e017cb7e5f19869c4e259adbbf53982d91f222037cc691c612699bbd43c9ee1f0a4e6db62eaf5e95e0365f718d6302aaa7c2d60b58227d1d061f884d09772
|
||||
DIST chromium-bin-91.0.4472.106-1-x11-x86_64.tar.xz 73909708 BLAKE2B ffa4c5f3390b5f34a8f676f18fb1dee895b88fe7967bf50795fc8921552edfcb7b73e44f0409247874a4683718cdd23cde19129418b2308aaf37239392fa1dd8 SHA512 308a83e578df0371e5ba658d02a5367f07e457e94b98e8087adf0af37a24b5eb581460f036f1ac204d20fd3484de02326da22075eff127eefd063f39d9d8a50c
|
||||
DIST chromium-bin-91.0.4472.114-1-common-i686.tar.xz 2186180 BLAKE2B f910811901be5769b750eff2d49cd1c84b636ffb913d3e4a7512212bd911c8a86a2788da281ee87cd4b69277d931b67094d68e596f408bad730e11201b13a2e4 SHA512 716882b9548c6aee9c8037cd1249509e6388ba631d9cb68912e2150708ab9f597599168390b39524573b6f80366e204ef148507cacef50377891bc0d13564891
|
||||
DIST chromium-bin-91.0.4472.114-1-common-x86_64.tar.xz 1645624 BLAKE2B 2d6c64c58d8e5769e0ebf06d40ffaea6a3d6f94fb9f7bbf113a3c437fa873e48734700dc8de1962abe4b0b3aa182832d4b7417f3b3e2e09e6a6393af5f936096 SHA512 972cfecdf0969cb375b1ff44118babfa8880223f6768175a6e94a69be8545eec93b35500aafd91e0b1f82d67c3b936677632ae85f1724825f860cee6b9b294f3
|
||||
DIST chromium-bin-91.0.4472.114-1-common.tar.xz 1683900 BLAKE2B c9f1acff299a957735eb263d7b29bf23741ed140264d02a87da117166bdad4a25ca25a853cc32385198bb9ccdaf667c9ef4ecfff37849e0e4cc4842c7258f208 SHA512 75aecf0ceaaaa65a32bb7ebebe0d615e140a0197f3a1163ea47d88837b3df2728afe62e15f77f8112e191ca99bddf2d5f66d96c9b0fc7fd75c9e2bb652d27680
|
||||
DIST chromium-bin-91.0.4472.114-1-l10n.tar.xz 3893496 BLAKE2B 90936bd99d6f0158069bb2d62211eca368082dc1361a72f6ed0d921b8adf943077d97374c8f062091ce268a546be0bad31bd274c0adbe764e9d2a1e3d96b25ad SHA512 bb66bc151ed2f7905c387c69452ddb78a65cf92792d2feaacad2c7435f69f00135490958c7217cac134d066838ac6aa5c6dc5db93ad475a9cd9d7a49ea93ac34
|
||||
DIST chromium-bin-91.0.4472.114-1-resources.tar.xz 21400 BLAKE2B c78c24dc497de3c2eea45453002633525e8279c1885ed4383d71e463a512ac6e5a02a20c458a4a547c9d23ad3a0a9c51345e21d077be341f517ea332e887d728 SHA512 8607c22d5430fd578464437659cc2b02b99244ae4350206c245399bd3178f7bac6d38f4a45d04573d6b8b11432eb427dfb0e653138879d3e7d0ed4d81150d7fb
|
||||
DIST chromium-bin-91.0.4472.114-1-wayland-i686.tar.xz 95044376 BLAKE2B e4ba807b466ceb840b8f69e9135ab69278e86f0fdff6354d0a183c20b8aafbf7994d2ee59fe4715945cd9e3a0fa1ffcf46cc5b403e819f4bd879b916b1c2542a SHA512 a1814493b3535dec9f8bf8ea12cbf1f4833f90ea2dc7dd66de9ce17675a15a5d085111900b5ed2ddead56c6f6cce2b09998045cedfbd435568d21b6773fb2e32
|
||||
DIST chromium-bin-91.0.4472.114-1-wayland-x86_64.tar.xz 74066832 BLAKE2B 89ed73e08ce3320957fa2c1635096d23ea49060cac9d166619cce839d5891716f07810c3309a73cd1348fae78f85ce77c8e4bd7e00a342263b7d65d5d3e6462c SHA512 4cec55016f44b30fb8bcfe71852fcd91277978832cfd0a889eba74cf92889f99a3c283f9f9803baf0c1d60ca280ffb23248302729c14b342c5d6981e18142d14
|
||||
DIST chromium-bin-91.0.4472.114-1-x11-i686.tar.xz 94828952 BLAKE2B 4636116e84c155988a382c2cc87ba67913436ee431acb7bd314cd3c22c82a7ff99effc209bbcb1808bbc5325b1c702a4e9db07a6f1bdaf03943324f4bd74060a SHA512 22acc0beff7265391ac9db017ea814ea235aaa10c514ebb36c0c32b0605ed71e2182e2edb686bd713a10d7d175b85195a6c961442f0fcece1340aa324464305c
|
||||
DIST chromium-bin-91.0.4472.114-1-x11-x86_64.tar.xz 73884448 BLAKE2B a19145d45f169982cfcf110b9c3b6615d5b450127244764a22b2351f9e1b96f62c381cdf97fa2106e4ab6b637afbf5b1e7129292aba320b113e7e68c0f4b7f0a SHA512 bf73f02c8a42ec6a097f8027051c5367c3737e16fe54e1ae0ae57b93fe75291693cf2bc676cfdc103aa04cdff1fa68b038d9ef1bbd575ea71ae670c38de8f7fd
|
@ -1,238 +0,0 @@
|
||||
# Copyright 1999-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? ( 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="-* ~arm64"
|
||||
IUSE="cpu_flags_x86_sse2 devtools selinux suid +swiftshader wayland widevine"
|
||||
|
||||
RDEPEND="
|
||||
app-accessibility/at-spi2-atk:2
|
||||
app-accessibility/at-spi2-core:2
|
||||
app-arch/snappy
|
||||
dev-libs/atk
|
||||
dev-libs/expat
|
||||
dev-libs/glib:2
|
||||
dev-libs/icu:0/69.1
|
||||
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-devel/gcc-9.3.0
|
||||
>=sys-libs/glibc-2.32
|
||||
sys-libs/zlib[minizip]
|
||||
virtual/ttf-fonts
|
||||
x11-libs/cairo
|
||||
x11-libs/gdk-pixbuf:2
|
||||
x11-libs/gtk+:3[X]
|
||||
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 )
|
||||
)
|
||||
selinux? ( sec-policy/selinux-chromium )
|
||||
wayland? (
|
||||
dev-libs/wayland
|
||||
dev-libs/libffi
|
||||
x11-libs/gtk+:3[wayland,X]
|
||||
x11-libs/libdrm
|
||||
)
|
||||
"
|
||||
|
||||
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
|
||||
|
||||
elog "For VA-API support you need to install x11-libs/libva with"
|
||||
elog "USE=X and USE=drm enabled."
|
||||
elog
|
||||
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."
|
||||
}
|
@ -1,233 +0,0 @@
|
||||
# Copyright 1999-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? ( 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 )
|
||||
)
|
||||
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 ~x86"
|
||||
IUSE="cpu_flags_x86_sse2 devtools selinux suid +swiftshader wayland widevine"
|
||||
|
||||
RDEPEND="
|
||||
app-accessibility/at-spi2-atk:2
|
||||
app-accessibility/at-spi2-core:2
|
||||
app-arch/snappy
|
||||
dev-libs/atk
|
||||
dev-libs/expat
|
||||
dev-libs/glib:2
|
||||
dev-libs/icu:0/69.1
|
||||
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-devel/gcc-9.3.0
|
||||
>=sys-libs/glibc-2.32
|
||||
sys-libs/zlib[minizip]
|
||||
virtual/ttf-fonts
|
||||
x11-libs/cairo
|
||||
x11-libs/gdk-pixbuf:2
|
||||
x11-libs/gtk+:3[X]
|
||||
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 )
|
||||
)
|
||||
selinux? ( sec-policy/selinux-chromium )
|
||||
wayland? (
|
||||
dev-libs/wayland
|
||||
dev-libs/libffi
|
||||
x11-libs/gtk+:3[wayland,X]
|
||||
x11-libs/libdrm
|
||||
)
|
||||
"
|
||||
|
||||
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
|
||||
|
||||
elog "For VA-API support you need to install x11-libs/libva with"
|
||||
elog "USE=X and USE=drm enabled."
|
||||
elog
|
||||
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."
|
||||
}
|
@ -1,221 +0,0 @@
|
||||
[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
|
@ -1,170 +0,0 @@
|
||||
.\" 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>
|
@ -1,13 +0,0 @@
|
||||
<?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>
|
@ -1,39 +0,0 @@
|
||||
#!/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} "$@"
|
@ -1,5 +0,0 @@
|
||||
# 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=""
|
@ -1,10 +0,0 @@
|
||||
<?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>
|
Loading…
Reference in New Issue
Block a user