update gentoo portage config

This commit is contained in:
2020-01-07 02:09:24 +08:00
parent 796ce1d87f
commit 31f94fc8ea
6 changed files with 71 additions and 37 deletions

View File

@@ -0,0 +1,5 @@
# Maximum cache size to maintain
max_size = 20.0G
# Allow others to run 'ebuild' and share the cache.
umask = 002

View File

@@ -18,14 +18,19 @@ PKGDIR="/usr/portage/packages"
LC_MESSAGES=C
ALSA_CARDS="hda-intel"
GENTOO_MIRRORS="https://mirrors.tuna.tsinghua.edu.cn/gentoo/
https://mirrors.ustc.edu.cn/gentoo/"
CCACHE_DIR="/var/cache/ccache"
FEATURES="ccache"
GENTOO_MIRRORS="
https://mirrors.tuna.tsinghua.edu.cn/gentoo/
https://mirrors.ustc.edu.cn/gentoo/
http://distfiles.gentoo.org/"
GRUB_PLATFORMS="efi-64"
MAKEOPTS="-j9"
MAKEOPTS="-j9 -l8"
ACCEPT_KEYWORDS="amd64 ~amd64"
INPUT_DEVICES="libinput"
RUBY_TARGETS="ruby26"
VIDEO_CARDS="fbdev nvidia"
DESKTOP_USE="X alsa apng dbus fbcon ffmpeg fuse gif gtk gtk2 gtk3 jpeg mp3 mp4 mpeg mtp nvidia ogg opengl pdf png svg tiff unicode vaapi vdpau xv xvmc"
USE="${USE} ${DESKTOP_USE} consolekit policykit pulseaudio truetyupe udev xft xcb xkb -bluetooth -cups -gpm -libva -modemmanager"
DESKTOP_USE="X alsa apng dbus fbcon ffmpeg fuse gif gtk gtk2 gtk3 icu jpeg mp3 mp4 mpeg mtp nvidia ogg opengl pdf png svg tiff unicode vaapi vdpau xv xvmc"
#USE="${USE} ${DESKTOP_USE} consolekit policykit pulseaudio truetyupe udev xft xcb xkb -bluetooth -cups -gpm -libva -modemmanager"
USE="${USE} ${DESKTOP_USE} consolekit policykit truetyupe udev xft xcb xkb -bluetooth -cups -gpm -libva -modemmanager"

View File

@@ -1 +1,2 @@
#app-editors/emacs-vcs **
app-editors/emacs **
dev-util/android-studio -~amd64

View File

@@ -1,4 +1,9 @@
app-arch/rar RAR
app-emulation/virtualbox-bin PUEL
dev-db/mongodb SSPL-1
net-misc/teamviewer TeamViewer
www-client/google-chrome google-chrome
www-plugins/adobe-flash AdobeFlash-11.x
app-arch/p7zip unRAR
x11-drivers/nvidia-drivers NVIDIA-r2
sys-kernel/linux-firmware no-source-code linux-fw-redistributable

View File

@@ -1,37 +1,47 @@
# abi
x11-libs/libX11 abi_x86_32
x11-libs/libXext abi_x86_32
x11-libs/libvdpau abi_x86_32
sys-libs/zlib abi_x86_32
x11-libs/libxcb abi_x86_32
dev-libs/libpthread-stubs abi_x86_32
x11-libs/libXau abi_x86_32
x11-libs/libXdmcp abi_x86_32
x11-base/xcb-proto abi_x86_32
# dev-libs/glib abi_x86_32
# dev-libs/libffi abi_x86_32
# dev-libs/libpcre abi_x86_32
# dev-libs/libpthread-stubs abi_x86_32
# dev-util/pkgconfig abi_x86_32
# sys-apps/attr abi_x86_32
# sys-apps/util-linux abi_x86_32
# sys-libs/zlib abi_x86_32
# virtual/libffi abi_x86_32
# virtual/libiconv abi_x86_32
# virtual/libintl abi_x86_32
# virtual/pkgconfig abi_x86_32
# x11-libs/libX11 abi_x86_32
# x11-libs/libXau abi_x86_32
# x11-libs/libXdmcp abi_x86_32
# x11-libs/libXext abi_x86_32
# x11-libs/libvdpau abi_x86_32
# x11-libs/libxcb abi_x86_32
# x11-base/xcb-proto abi_x86_32
app-text/xmlto text
dev-lang/python sqlite
dev-libs/gmp static-libs
dev-libs/libpcre2 pcre16
media-libs/mesa -vaapi -gallium
net-misc/openssh libedit
sys-apps/util-linux static-libs
sys-boot/grub mount
#sys-devel/binutils gold default-gold
# network
app-crypt/pinentry gnome-keyring
gnome-extra/nm-applet -modemmanager
net-misc/networknamager connection-sharing -modemmanager
net-wireless/wpa_supplicant ap
# nvidia driver
x11-drivers/nvidia-drivers -abi_x86_32
# terminal
x11-terms/xterm sixel truetype xinerama
x11-terms/rxvt-unicode 256-color blink fading-colors pixbuf unicode3
# uswgi
#www-servers/uwsgi cgi python
# emacs
app-editors/emacs dynamic-loading gfile gsettings gzip-el imagemagick libxml2 m17n-lib sound source wide-int
app-editors/emacs-vcs dynamic-loading gfile gsettings gzip-el imagemagick libxml2 m17n-lib sound source wide-int
app-editors/emacs dynamic-loading gfile gsettings gzip-el imagemagick json libxml2 m17n-lib sound source wide-int
app-editors/emacs-vcs cairo dynamic-loading gfile gsettings gzip-el harfbuzz imagemagick json libxml2 m17n-lib sound source wide-int
# p7zip
app-arch/p7zip rar -wxwidgets
@@ -51,4 +61,11 @@ dev-ml/lablgl glut
sys-libs/ncurses:5 tinfo
# firefox
www-client/firefox -system-libvpx -system-sqlite
www-client/firefox -system-av1 -system-icu -system-jpeg -system-libevent -system-libvpx -system-sqlite -system-webp
www-client/firefox-bin -pulseaudio
# pdf
app-text/mupdf -opengl
# postgresql
dev-db/postgresql python

View File

@@ -4,21 +4,22 @@ main-repo = gentoo
[gentoo]
location = /usr/portage
sync-type = rsync
#sync-uri = rsync://rsync.gentoo.org/gentoo-portage
# sync-uri = rsync://rsync.gentoo.org/gentoo-portage
sync-uri = rsync://mirrors.tuna.tsinghua.edu.cn/gentoo-portage
#sync-uri = rsync://rsync.mirrors.ustc.edu.cn/gentoo-portage
# sync-uri = rsync://rsync.mirrors.ustc.edu.cn/gentoo-portage/
auto-sync = yes
sync-rsync-verify-jobs = 1
# 拉取 gpg 密钥很慢,关闭之
sync-rsync-verify-metamanifest = no
sync-openpgp-key-path = /var/lib/gentoo/gkeys/keyrings/gentoo/release/pubring.gpg
#[czh-private]
#location = /usr/local/portage/czh-private
#[gentoo-zh]
#location = /usr/local/portage/gentoo-zh
#sync-type = git
#sync-uri = git://github.com/microcai/gentoo-zh.git
#auto-sync = yes
sync-rsync-verify-max-age = 24
sync-openpgp-key-path = /usr/share/openpgp-keys/gentoo-release.asc
sync-openpgp-keyserver = hkps://keys.gentoo.org
sync-openpgp-key-refresh-retry-count = 40
sync-openpgp-key-refresh-retry-overall-timeout = 1200
sync-openpgp-key-refresh-retry-delay-exp-base = 2
sync-openpgp-key-refresh-retry-delay-max = 60
sync-openpgp-key-refresh-retry-delay-mult = 4
sync-webrsync-verify-signature = yes
# for daily squashfs snapshots
#sync-type = squashdelta