Commit: 98cd52a15910d24e0e37604aef03a7d720638a7d Parent: c004f2fe83fbf5f7918d8742d56ad192c3a0b58e Author: Randy Palamar Date: Sat, 20 Apr 2024 08:18:53 -0600 update portage config main change is the use of clang-musl to have a GCC free system. Diffstat:
20 files changed, 81 insertions(+), 63 deletions(-)
diff --git a/.config/sys/etc/portage/env/nomold b/.config/sys/etc/portage/env/nomold @@ -1,2 +1,2 @@ -LD=ld +LD=ld.lld LDFLAGS="-Wl,-O1 -Wl,--as-needed" diff --git a/.config/sys/etc/portage/env/static b/.config/sys/etc/portage/env/static @@ -1,2 +1,2 @@ CFLAGS="${CFLAGS} -static" -LDFLAGS="${LDFLAGS} -s -static" +LDFLAGS="${LDFLAGS} -s -static -static-pie" diff --git a/.config/sys/etc/portage/make.conf b/.config/sys/etc/portage/make.conf @@ -5,17 +5,11 @@ CFLAGS="${COMMON_FLAGS}" CXXFLAGS="${COMMON_FLAGS}" FCFLAGS="${COMMON_FLAGS}" FFLAGS="${COMMON_FLAGS}" -LDFLAGS="-fuse-ld=mold ${LDFLAGS}" - -CC="clang" -CPP="clang-cpp" -CXX="clang++" -AR="llvm-ar" -RANLIB="llvm-ranlib" +LDFLAGS="-fuse-ld=mold -rtlib=compiler-rt -unwindlib=libunwind -Wl,--as-needed ${LDFLAGS}" LD="mold" -EMERGE_DEFAULT_OPTS="--ask --verbose --jobs=4 --load-average 3.00" -MAKEOPTS="-j3 -l3" +EMERGE_DEFAULT_OPTS="--ask --verbose --jobs=8 --load-average 8.00" +MAKEOPTS="-j10 -l10" PORTAGE_COMPRESS="" PORTDIR="/usr/portage/gentoo" @@ -25,26 +19,28 @@ ACCEPT_LICENSE="-* @FREE" LC_MESSAGES=C USE="alsa clang cjk ffmpeg opengl savedconfig \ - minimal udev vaapi X xinerama xft wayland zstd \ + minimal udev vaapi vulkan X xinerama xft wayland zstd \ + bluetooth pipewire pulseaudio \ fontconfig truetype \ flac ogg opus vorbis \ gif jpeg png vpx webp -jpeg2k -svg \ - -acl -accessibility -bzip2 -cups -cxx -deprecated -fortran \ + -acl -accessibility -bzip2 -cups -deprecated \ + -cxx -fortran -openmp \ -gdbm -gnome -gnome-keyring -gnutls -idn -ldap \ -ncurses -nls -pam -pcre -readline -smartcard \ - dbus -gtk3 -pulseaudio -udisks -systemd" + dbus -gtk3 -udisks -systemd" -CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" MICROCODE_SIGNATURES="-S" -LLVM_TARGETS="NVPTX X86" +LLVM_TARGETS="AMDGPU X86" LUA_SINGLE_TARGET="lua5-3" LUA_TARGETS="${LUA_SINGLE_TARGET} luajit" -NINJA=samu NINJA_STATUS="[36;1m[%e (s): %s/%t][0m " QEMU_SOFTMMU_TARGETS="x86_64" QEMU_USER_TARGETS="x86_64" -RUSTFLAGS="-C target-feature=-crt-static" -VIDEO_CARDS="intel" +VIDEO_CARDS="amdgpu radeonsi" +CPU_FLAGS_X86="aes avx avx2 avx512f avx512dq avx512cd avx512bw avx512vl \ + avx512vbmi f16c fma3 mmx mmxext pclmul popcnt rdrand sha \ + sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" CONFIG_PROTECT="${CONFIG_PROTECT} /usr/bin/startx" UNINSTALL_IGNORE="/etc/portage" diff --git a/.config/sys/etc/portage/make.profile b/.config/sys/etc/portage/make.profile @@ -1 +1 @@ -/usr/portage/gentoo/profiles/default/linux/amd64/17.0/musl/hardened -\ No newline at end of file +/usr/portage/clang-musl/profiles/default/linux/amd64/17.0/musl/llvm-toolchain/hardened +\ No newline at end of file diff --git a/.config/sys/etc/portage/package.accept_keywords/set b/.config/sys/etc/portage/package.accept_keywords/set @@ -1,6 +1,8 @@ */*::rnpnr ** -dev-util/samurai ** +dev-build/samurai ** +dev-build/muon ** media-sound/split2flac ** +net-misc/yt-dlp ** x11-misc/dmenu ** x11-terms/st-terminfo ** @@ -11,8 +13,9 @@ media-fonts/* ~amd64 app-text/pandoc ~amd64 app-text/pandoc-cli ~amd64 virtual/pandoc ~amd64 -dev-lang/ghc ~amd64 dev-haskell/* ~amd64 +dev-lang/ghc ~amd64 +dev-util/hindent ~amd64 dev-util/shake ~amd64 dev-util/shellcheck ~amd64 @@ -24,21 +27,17 @@ media-libs/libplacebo ~amd64 media-sound/ncmpcpp ~amd64 media-video/mpv ~amd64 -~dev-libs/blake3-1.5.0 ~amd64 -~sys-devel/mold-2.3.3 ~amd64 - -dev-libs/randomx::guru ~amd64 -dev-libs/supercop::guru ~amd64 -net-p2p/monero::guru ~amd64 - # No stable version ~x11-misc/xidle-26052015 ~amd64 www-client/firefox ~amd64 -dev-libs/nss ~amd64 -~dev-util/cbindgen-0.26.0 ~amd64 app-text/tesseract ~amd64 # unfucky mpv ~dev-lang/luajit-2.1.0_beta3_p20220613 ~amd64 + +sys-kernel/gentoo-sources ~amd64 + +dev-lang/rust::clang-musl ~amd64 +virtual/rust ~amd64 diff --git a/.config/sys/etc/portage/package.env/set b/.config/sys/etc/portage/package.env/set @@ -4,9 +4,13 @@ dev-lang/yasm static app-shells/bash nobloat app-text/mupdf nobloat sys-apps/coreutils nobloat -www-client/firefox nobloat dev-lang/ghc nomold -dev-libs/openssl debug sys-libs/musl debug + +# misuses the linker +gui-libs/gtk nomold + +# possibly broken configure script +#sys-firmware/seabios useld diff --git a/.config/sys/etc/portage/package.license b/.config/sys/etc/portage/package.license @@ -1,4 +1,5 @@ sys-kernel/* freedist +sys-kernel/linux-firmware * media-fonts/mikachan-font-ttf free-noncomm diff --git a/.config/sys/etc/portage/package.mask/set b/.config/sys/etc/portage/package.mask/set @@ -6,6 +6,3 @@ media-sound/pulseaudio sys-apps/systemd sys-fs/udisks sys-power/upower - -# waiting for better versions -<dev-lang/ghc-9.4.4 diff --git a/.config/sys/etc/portage/package.use/app b/.config/sys/etc/portage/package.use/app @@ -1,6 +1,8 @@ app-alternatives/gzip pigz -reference +app-alternatives/ninja samurai -reference app-alternatives/sh dash -bash app-alternatives/yacc byacc -bison +app-arch/zstd static-libs app-crypt/gnupg -ssl app-crypt/mit-krb5 -keyutils -pkinit app-dicts/myspell-en l10n_en @@ -16,4 +18,5 @@ app-text/pandoc-cli -server -lua app-text/poppler cairo app-text/tesseract float32 tiff app-text/texlive graphics luatex science l10n_ja -X +app-text/texlive-core xetex app-text/zathura-pdf-mupdf -javascript diff --git a/.config/sys/etc/portage/package.use/dev b/.config/sys/etc/portage/package.use/dev @@ -1,4 +1,5 @@ dev-db/sqlite secure-delete +dev-debug/gdb -server dev-lang/ghc ghcbootstrap -doc dev-lang/lua static dev-lang/luajit lua52compat @@ -14,6 +15,8 @@ dev-libs/nss -nss-pem dev-libs/openssl static-libs # cryptsetup dev-libs/popt static-libs # cryptsetup dev-lua/ldoc lua_single_target_luajit +dev-python/matplotlib latex +dev-python/numpy -lapack dev-qt/qtgui dbus egl ibus dev-qt/qtwebchannel qml -dev-vcs/git -iconv -python -perl -pcre -webdav +dev-vcs/git -iconv -python -pcre -webdav diff --git a/.config/sys/etc/portage/package.use/media b/.config/sys/etc/portage/package.use/media @@ -1,17 +1,15 @@ media-fonts/source-han-sans L10N: ja ko zh-TW media-fonts/source-pro cjk -media-gfx/imagemagick svg xml -media-libs/audiofile -flac +media-gfx/imagemagick svg tiff xml media-libs/freetype harfbuzz -media-libs/gegl -ffmpeg +media-libs/gegl cairo -ffmpeg media-libs/harfbuzz icu # needed for Tex media-libs/imlib2 -tiff media-libs/jbig2dec -png media-libs/leptonica tiff # for tesseract tiff support -media-libs/libbluray aacs +media-libs/libcanberra gtk3 media-libs/libjpeg-turbo static-libs media-libs/libogg static-libs -media-libs/libplacebo unwind media-libs/libpng apng media-libs/libsdl2 gles2 ibus dbus media-libs/libvpx postproc @@ -19,8 +17,9 @@ media-libs/mesa libglvnd gles1 gles2 osmesa media-libs/tiff -jpeg media-sound/alsa-utils ncurses media-sound/lame -frontend -media-sound/mpd fifo -mad -curl -icu -network +media-sound/mpd fifo -mad -curl -icu -network -audiofile media-sound/ncmpcpp visualizer taglib outputs media-sound/vorbis-tools -ogg123 media-video/ffmpeg openssl libplacebo libdrm libass mp3 x264 x265 -hardcoded-tables -media-video/mpv cli drm gbm lua -jpeg -uchardet -vaapi +media-video/mpv cli drm gbm lua -jpeg -uchardet -vaapi -pulseaudio +media-video/pipewire extra sound-server flatpak pipewire-alsa -X diff --git a/.config/sys/etc/portage/package.use/net b/.config/sys/etc/portage/package.use/net @@ -1,6 +1,6 @@ net-dns/unbound threads -net-libs/nodejs -icu -npm -system-icu +net-libs/nodejs icu system-icu -npm net-misc/curl ssh net-misc/openntpd constraints net-misc/yt-dlp man -net-vpn/openvpn -lz4 -lzo +net-wireless/bluez readline extra-tools deprecated midi diff --git a/.config/sys/etc/portage/package.use/sys b/.config/sys/etc/portage/package.use/sys @@ -5,19 +5,21 @@ sys-apps/openrc sysv-utils -netifrc sys-apps/portage -rsync-verify sys-apps/shadow su -cracklib sys-apps/util-linux static-libs -su -suid -cramfs +sys-apps/xdg-desktop-portal flatpak sys-boot/syslinux -efi sys-devel/binutils cxx static-libs -sys-devel/clang-common stricter +sys-devel/clang-runtime sanitize sys-devel/gcc cxx fortran lto -sys-devel/gdb -server -python -sys-devel/llvm gold sys-firmware/ipxe -savedconfig 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-kernel/installkernel -dracut sys-libs/binutils-libs static-libs sys-libs/ldb -python +sys-libs/libunwind static-libs sys-libs/libxcrypt static-libs +sys-libs/llvm-libunwind static-libs sys-libs/zlib minizip static-libs sys-process/procps ncurses diff --git a/.config/sys/etc/portage/package.use/virtual b/.config/sys/etc/portage/package.use/virtual @@ -1,2 +1,3 @@ virtual/ffmpeg x264 mp3 +virtual/imagemagick-tools tiff virtual/libcrypt static-libs diff --git a/.config/sys/etc/portage/package.use/www b/.config/sys/etc/portage/package.use/www @@ -1 +1 @@ -www-client/firefox bindist clang dbus hwaccel openh264 system-png -telemetry +www-client/firefox clang hwaccel openh264 system-png -telemetry diff --git a/.config/sys/etc/portage/package.use/x11 b/.config/sys/etc/portage/package.use/x11 @@ -2,3 +2,4 @@ x11-base/xorg-server -elogind -minimal suid x11-libs/cairo svg x11-libs/libxcb xkb x11-themes/gtk-engines-murrine -themes +x11-libs/libdrm video_cards_radeon diff --git a/.config/sys/etc/portage/repos.conf b/.config/sys/etc/portage/repos.conf @@ -16,11 +16,17 @@ sync-type = git sync-uri = git://anongit.gentoo.org/proj/musl.git priority = 999 +[clang-musl] +location = /usr/portage/clang-musl +sync-uri = https://github.com/clang-musl-overlay/clang-musl-overlay.git +sync-type = git +priority = 999 + [haskell] location = /usr/portage/haskell sync-type = git sync-uri = https://github.com/gentoo-haskell/gentoo-haskell.git -priority = 999 +priority = 998 [guru] location = /usr/portage/guru diff --git a/.config/sys/etc/portage/savedconfig/x11-misc/dmenu-9999 b/.config/sys/etc/portage/savedconfig/x11-misc/dmenu-9999 @@ -5,8 +5,8 @@ static const int padbar = 8; /* adjusts the bars padding */ static int topbar = 1; /* -b option; if 0, dmenu appears at bottom */ /* -fn option overrides fonts[0]; default X11 font or font set */ static const char *fonts[] = { - "Go Mono:style=bold:size=14", - "あんずもじ:style=Regular:size=18", + "Go Mono:style=bold:size=18", + "あんずもじ:style=Regular:size=20", }; static const char *prompt = NULL; /* -p option; prompt to the left of input field */ static const char *colors[SchemeLast][2] = { diff --git a/.config/sys/etc/portage/savedconfig/x11-terms/st-9999 b/.config/sys/etc/portage/savedconfig/x11-terms/st-9999 @@ -5,7 +5,7 @@ * * font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html */ -static char *font = "Go Mono:style=Regular:size=14:antialias=true:autohint=true"; +static char *font = "Go Mono:style=Regular:size=18:antialias=true:autohint=true"; static struct { int x, y; } pad = { 12, 12 }; /* diff --git a/.config/sys/var/lib/portage/world b/.config/sys/var/lib/portage/world @@ -1,7 +1,6 @@ app-admin/doas app-crypt/pinentry-dmenu app-dicts/kasumi -app-dicts/qolibri app-emulation/qemu app-i18n/ibus-anthy app-i18n/kakasi @@ -20,6 +19,8 @@ app-text/pandoc-cli app-text/tesseract app-text/texlive app-text/zathura-pdf-mupdf +dev-build/muon +dev-debug/gdb dev-lang/ghc dev-lang/go dev-libs/libcdio-paranoia @@ -27,43 +28,48 @@ dev-libs/libtermkey dev-lua/ldoc dev-lua/lpeg dev-lua/luacheck +dev-python/black dev-python/eyeD3 +dev-python/matplotlib +dev-python/pandas +dev-tex/biber +dev-util/perf dev-util/shellcheck media-fonts/dejavu +media-fonts/liberation-fonts media-fonts/mikachan-font-ttf media-fonts/shinonome media-fonts/source-han-sans media-fonts/source-sans media-fonts/source-serif media-gfx/farbfeld +media-gfx/gimp media-gfx/imagemagick media-gfx/pdf2svg -media-libs/libva-intel-driver +media-libs/glfw media-sound/mpc media-sound/mpd media-sound/ncmpcpp media-sound/opustags +media-sound/pavucontrol media-sound/vorbis-tools media-video/ffmpeg media-video/mkvtoolnix media-video/mpv -net-fs/samba net-mail/isync net-misc/dhcpcd net-misc/openntpd net-misc/yt-dlp -net-p2p/monero -net-p2p/rtorrent -net-vpn/openvpn +net-p2p/syncthing net-wireless/wpa_supplicant sys-apps/flatpak -sys-devel/gdb sys-devel/mold -sys-firmware/iwlwifi-cc sys-fs/cryptsetup sys-fs/ntfs3g sys-fs/simple-mtpfs sys-kernel/gentoo-sources +sys-kernel/installkernel +sys-kernel/linux-firmware www-client/firefox www-client/surfraw x11-apps/xprop