dotfiles

personal dotfiles
git clone anongit@rnpnr.xyz:dotfiles.git
Log | Files | Refs | Feed | Submodules

Commit: 2f1adbeefc52533b8850e8a1f442ba1cd5b0e293
Parent: da452ffad490c1cd16702985e91d24ba2fbe1a40
Author: Randy Palamar
Date:   Sat,  6 May 2023 23:59:16 -0600

bump portage config

highlights:
- use mold by default
  - this significantly speeds up linking large programs
  - musl and sandbox can't be linked by it (produces broken binaries)
- cryptsetup now built statically for full disk encryption

Diffstat:
M.config/sys/etc/portage/env/nobloat | 1+
A.config/sys/etc/portage/env/nomold | 1+
M.config/sys/etc/portage/make.conf | 1+
M.config/sys/etc/portage/package.accept_keywords/set | 1+
M.config/sys/etc/portage/package.env/set | 6++++--
M.config/sys/etc/portage/package.use/app | 2++
M.config/sys/etc/portage/package.use/dev | 3+++
M.config/sys/etc/portage/package.use/net | 1+
M.config/sys/etc/portage/package.use/sys | 9+++++++--
M.config/sys/etc/portage/package.use/www | 2+-
M.config/sys/var/lib/portage/world | 6+++++-
11 files changed, 27 insertions(+), 6 deletions(-)

diff --git a/.config/sys/etc/portage/env/nobloat b/.config/sys/etc/portage/env/nobloat @@ -1 +1,2 @@ CFLAGS="${CFLAGS} -fno-unwind-tables -fno-asynchronous-unwind-tables -fomit-frame-pointer" +CXXFLAGS="${CXXFLAGS} -fno-unwind-tables -fno-asynchronous-unwind-tables -fomit-frame-pointer" diff --git a/.config/sys/etc/portage/env/nomold b/.config/sys/etc/portage/env/nomold @@ -0,0 +1 @@ +LDFLAGS="-Wl,-O1 -Wl,--as-needed" diff --git a/.config/sys/etc/portage/make.conf b/.config/sys/etc/portage/make.conf @@ -5,6 +5,7 @@ CFLAGS="${COMMON_FLAGS}" CXXFLAGS="${COMMON_FLAGS}" FCFLAGS="${COMMON_FLAGS}" FFLAGS="${COMMON_FLAGS}" +LDFLAGS="-fuse-ld=mold ${LDFLAGS}" EMERGE_DEFAULT_OPTS="--ask --verbose --jobs=4 --load-average 3.00" MAKEOPTS="-j3 -l3" diff --git a/.config/sys/etc/portage/package.accept_keywords/set b/.config/sys/etc/portage/package.accept_keywords/set @@ -9,6 +9,7 @@ media-fonts/* ~amd64 # Haskell app-text/pandoc ~amd64 +app-text/pandoc-cli ~amd64 dev-lang/ghc ~amd64 dev-haskell/* ~amd64 dev-util/shellcheck ~amd64 diff --git a/.config/sys/etc/portage/package.env/set b/.config/sys/etc/portage/package.env/set @@ -18,6 +18,8 @@ x11-wm/dwm tcc app-text/mupdf nobloat app-shells/bash nobloat sys-apps/coreutils nobloat -www-client/librewolf nobloat +www-client/firefox nobloat -sys-libs/musl debug +sys-libs/musl debug nomold + +sys-apps/sandbox nomold diff --git a/.config/sys/etc/portage/package.use/app b/.config/sys/etc/portage/package.use/app @@ -12,5 +12,7 @@ app-shells/dash static app-text/hunspell l10n_en app-text/mandoc system-man app-text/mupdf -opengl -curl -javascript -ssl +app-text/pandoc-cli -server -lua app-text/tesseract float32 tiff app-text/texlive graphics luatex science l10n_ja -X +app-text/zathura-pdf-mupdf -javascript diff --git a/.config/sys/etc/portage/package.use/dev b/.config/sys/etc/portage/package.use/dev @@ -8,8 +8,11 @@ dev-libs/boost nls dev-libs/elfutils -utils dev-libs/glib dbus dev-libs/gmp pic static-libs +dev-libs/json-c static-libs # cryptsetup dev-libs/libpcre2 jit dev-libs/nss -nss-pem +dev-libs/openssl static-libs # cryptsetup +dev-libs/popt static-libs # cryptsetup dev-python/PyQt5 dbus dev-qt/qtgui dbus ibus dev-qt/qtwebchannel qml diff --git a/.config/sys/etc/portage/package.use/net b/.config/sys/etc/portage/package.use/net @@ -1,4 +1,5 @@ net-libs/nodejs -icu -npm -system-icu net-misc/curl ssh net-misc/openntpd constraints +net-misc/yt-dlp man net-vpn/openvpn -lz4 -lzo diff --git a/.config/sys/etc/portage/package.use/sys b/.config/sys/etc/portage/package.use/sys @@ -1,20 +1,25 @@ sys-apps/attr static-libs sys-apps/busybox -savedconfig static sys-apps/grep -egrep-fgrep static +sys-apps/groff -X sys-apps/hwids udev sys-apps/openrc sysv-utils -netifrc sys-apps/portage -rsync-verify sys-apps/shadow su -cracklib -sys-apps/util-linux cryptsetup static-libs -su -suid -cramfs +sys-apps/util-linux static-libs -su -suid -cramfs +sys-boot/syslinux -efi sys-devel/binutils cxx static-libs sys-devel/clang-common stricter sys-devel/gcc cxx fortran lto sys-devel/gdb -server -python sys-devel/llvm gold sys-firmware/ipxe -savedconfig -sys-fs/cryptsetup openssl urandom -argon2 -luks1_default +sys-fs/btrfs-progs -man -convert +sys-fs/cryptsetup openssl urandom static -argon2 -udev +sys-fs/lvm2 static static-libs -udev # cryptsetup sys-kernel/gentoo-sources symlink experimental sys-libs/binutils-libs static-libs sys-libs/ldb -python +sys-libs/libxcrypt static-libs sys-libs/zlib minizip static-libs sys-process/procps ncurses diff --git a/.config/sys/etc/portage/package.use/www b/.config/sys/etc/portage/package.use/www @@ -1,2 +1,2 @@ www-apps/hugo -sass -www-client/firefox bindist dbus -clang custom-optimization custom-cflags -gmp-autoupdate system-png +www-client/firefox bindist dbus -clang custom-optimization custom-cflags system-png diff --git a/.config/sys/var/lib/portage/world b/.config/sys/var/lib/portage/world @@ -18,8 +18,9 @@ app-portage/gentoolkit app-portage/smart-live-rebuild app-shells/dash app-shells/oksh +app-text/crqt-ng app-text/enchant -app-text/pandoc +app-text/pandoc-cli app-text/smu app-text/tesseract app-text/texlive @@ -28,6 +29,7 @@ dev-lang/ghc dev-lang/go dev-libs/libcdio-paranoia dev-lua/lpeg +dev-lua/luacheck dev-python/eyeD3 dev-qt/qtstyleplugins dev-util/samurai @@ -64,6 +66,7 @@ sys-apps/man-pages sys-apps/man-pages-posix sys-apps/sbase sys-devel/gdb +sys-devel/mold sys-devel/tcc sys-firmware/iwlwifi-cc sys-fs/cryptsetup @@ -73,6 +76,7 @@ sys-kernel/gentoo-sources www-apps/hugo www-client/firefox www-client/surfraw +x11-apps/xprop x11-apps/xrandr x11-apps/xset x11-base/xorg-server