My configurations for the software I use

yemou d96ac56f ff285161

Changed files
+486 -14
gentoo
home
bin
cfg
gamefiles
void
etc
dracut.conf.d
kernel.d
post-install
pre-install
root
+43
gentoo/etc/portage/env/app-text/ghostscript-gpl-9.54.0
··· 1 + # Build with the flag `--without-tesseract` so we can compile with clang 2 + src_configure() { 3 + local FONTPATH 4 + for path in \ 5 + "${EPREFIX}"/usr/share/fonts/urw-fonts \ 6 + "${EPREFIX}"/usr/share/fonts/Type1 \ 7 + "${EPREFIX}"/usr/share/fonts \ 8 + "${EPREFIX}"/usr/share/poppler/cMap/Adobe-CNS1 \ 9 + "${EPREFIX}"/usr/share/poppler/cMap/Adobe-GB1 \ 10 + "${EPREFIX}"/usr/share/poppler/cMap/Adobe-Japan1 \ 11 + "${EPREFIX}"/usr/share/poppler/cMap/Adobe-Japan2 \ 12 + "${EPREFIX}"/usr/share/poppler/cMap/Adobe-Korea1 13 + do 14 + FONTPATH="$FONTPATH${FONTPATH:+:}${EPREFIX}$path" 15 + done 16 + 17 + PKGCONFIG=$(type -P $(tc-getPKG_CONFIG)) \ 18 + econf \ 19 + --enable-dynamic \ 20 + --enable-freetype \ 21 + --enable-fontconfig \ 22 + $(use_enable jpeg2k openjpeg) \ 23 + --disable-compile-inits \ 24 + --with-drivers=ALL \ 25 + --with-fontpath="$FONTPATH" \ 26 + --with-ijs \ 27 + --with-jbig2dec \ 28 + --with-libpaper \ 29 + --with-system-libtiff \ 30 + $(use_enable cups) \ 31 + $(use_enable dbus) \ 32 + $(use_enable gtk) \ 33 + $(use_with cups pdftoraster) \ 34 + $(use_with unicode libidn) \ 35 + $(use_with X x) \ 36 + DARWIN_LDFLAGS_SO_PREFIX="${EPREFIX}/usr/lib/" \ 37 + --without-tesseract 38 + 39 + cd "${S}/ijs" || die 40 + econf \ 41 + --enable-shared \ 42 + $(use_enable static-libs static) 43 + }
+6
gentoo/etc/portage/env/app-text/lcdf-typetools-2.108
··· 1 + # build system uses `ar` directly 2 + src_prepare() { 3 + default 4 + 5 + sed -i 's/ ar/ llvm-ar/g' libefont/Makefile.in liblcdf/Makefile.in || die 6 + }
+15
gentoo/etc/portage/env/dev-cpp/tbb-2020.3
··· 1 + src_prepare() { 2 + default 3 + 4 + find include -name \*.html -delete || die 5 + 6 + # Give it a soname on FreeBSD 7 + echo 'LIB_LINK_FLAGS += -Wl,-soname=$(BUILDING_LIBRARY)' >> build/FreeBSD.gcc.inc 8 + # Set proper versionning on FreeBSD 9 + sed -i -e '/.DLL =/s/$/.1/' build/FreeBSD.inc || die 10 + # Musl fix 11 + sed -e "s@#define MALLOC_UNIXLIKE_OVERLOAD_ENABLED __linux__@@" \ 12 + -i src/tbbmalloc/proxy.h 13 + 14 + use debug || sed -i -e '/_debug/d' Makefile 15 + }
+74
gentoo/etc/portage/env/media-gfx/blender-2.93.0
··· 1 + src_configure() { 2 + append-lfs-flags 3 + 4 + local mycmakeargs=( 5 + -DBUILD_SHARED_LIBS=OFF 6 + -DPYTHON_INCLUDE_DIR="$(python_get_includedir)" 7 + -DPYTHON_LIBRARY="$(python_get_library_path)" 8 + -DPYTHON_VERSION="${EPYTHON/python/}" 9 + -DWITH_ALEMBIC=$(usex alembic) 10 + -DWITH_ASSERT_ABORT=$(usex debug) 11 + -DWITH_BOOST=ON 12 + -DWITH_BULLET=$(usex bullet) 13 + -DWITH_CODEC_FFMPEG=$(usex ffmpeg) 14 + -DWITH_CODEC_SNDFILE=$(usex sndfile) 15 + -DWITH_CXX_GUARDEDALLOC=$(usex debug) 16 + -DWITH_CYCLES=$(usex cycles) 17 + -DWITH_CYCLES_DEVICE_CUDA=$(usex cuda TRUE FALSE) 18 + -DWITH_CYCLES_DEVICE_OPENCL=$(usex opencl) 19 + -DWITH_CYCLES_EMBREE=$(usex embree) 20 + -DWITH_CYCLES_OSL=$(usex osl) 21 + -DWITH_CYCLES_STANDALONE=$(usex standalone) 22 + -DWITH_CYCLES_STANDALONE_GUI=$(usex standalone) 23 + -DWITH_DOC_MANPAGE=$(usex man) 24 + -DWITH_FFTW3=$(usex fftw) 25 + -DWITH_GMP=$(usex gmp) 26 + -DWITH_GTESTS=$(usex test) 27 + -DWITH_HARU=$(usex pdf) 28 + -DWITH_HEADLESS=$(usex headless) 29 + -DWITH_INSTALL_PORTABLE=OFF 30 + -DWITH_IMAGE_DDS=$(usex dds) 31 + -DWITH_IMAGE_OPENEXR=$(usex openexr) 32 + -DWITH_IMAGE_OPENJPEG=$(usex jpeg2k) 33 + -DWITH_IMAGE_TIFF=$(usex tiff) 34 + -DWITH_INPUT_NDOF=$(usex ndof) 35 + -DWITH_INTERNATIONAL=$(usex nls) 36 + -DWITH_JACK=$(usex jack) 37 + -DWITH_MEM_JEMALLOC=$(usex jemalloc) 38 + -DWITH_MEM_VALGRIND=$(usex valgrind) 39 + -DWITH_MOD_FLUID=$(usex fluid) 40 + -DWITH_MOD_OCEANSIM=$(usex fftw) 41 + -DWITH_NANOVDB=OFF 42 + -DWITH_OPENAL=$(usex openal) 43 + -DWITH_OPENCOLLADA=$(usex collada) 44 + -DWITH_OPENCOLORIO=$(usex color-management) 45 + -DWITH_OPENIMAGEDENOISE=$(usex oidn) 46 + -DWITH_OPENIMAGEIO=$(usex openimageio) 47 + -DWITH_OPENMP=$(usex openmp) 48 + -DWITH_OPENSUBDIV=$(usex opensubdiv) 49 + -DWITH_OPENVDB=$(usex openvdb) 50 + -DWITH_OPENVDB_BLOSC=$(usex openvdb) 51 + -DWITH_POTRACE=$(usex potrace) 52 + -DWITH_PUGIXML=$(usex pugixml) 53 + -DWITH_PULSEAUDIO=$(usex pulseaudio) 54 + -DWITH_PYTHON_INSTALL=$(usex system-python OFF ON) 55 + -DWITH_PYTHON_INSTALL_NUMPY=$(usex system-numpy OFF ON) 56 + -DWITH_SDL=$(usex sdl) 57 + -DWITH_STATIC_LIBS=OFF 58 + -DWITH_SYSTEM_EIGEN3=ON 59 + -DWITH_SYSTEM_GLEW=ON 60 + -DWITH_SYSTEM_LZO=ON 61 + -DWITH_TBB=$(usex tbb) 62 + -DWITH_USD=OFF 63 + -DWITH_XR_OPENXR=OFF 64 + ) 65 + if ! use debug ; then 66 + append-flags -DNDEBUG 67 + else 68 + append-flags -DDEBUG 69 + fi 70 + 71 + use elibc_musl && append-flags -D__MUSL__ 72 + 73 + cmake_src_configure 74 + }
+9
gentoo/etc/portage/env/media-libs/embree-3.13.0
··· 1 + src_prepare() { 2 + cmake_src_prepare 3 + 4 + # disable RPM package building 5 + sed -e 's|CPACK_RPM_PACKAGE_RELEASE 1|CPACK_RPM_PACKAGE_RELEASE 0|' \ 6 + -i CMakeLists.txt || die 7 + 8 + sed -i 's/ objdump / llvm-objdump /g' common/cmake/check_globals.cmake || die 9 + }
+1
gentoo/etc/portage/make.conf
··· 11 11 AR="llvm-ar" 12 12 NM="llvm-nm" 13 13 RANLIB="llvm-ranlib" 14 + STRINGS="llvm-strings" 14 15 15 16 # -march=native: set optimizations for your specific cpu. change this if you plan on 16 17 # cross compiling or using the compiled binaries on another computer.
+1
gentoo/etc/portage/package.env/blender
··· 1 + media-libs/embree clang-O3
+1
gentoo/etc/portage/package.env/syncplay
··· 1 +
+1
gentoo/etc/portage/package.env/texlive
··· 1 + app-text/texlive-core clang-O3
+1 -3
gentoo/etc/portage/package.env/zz-debug
··· 1 - #sys-libs/musl debug-full debug-gdb 2 - #media-sound/carla debug-full debug-gdb 3 - #media-video/pipewire debug-full debug-gdb 1 +
+1
gentoo/etc/portage/package.use/blender
··· 1 + media-video/ffmpeg theora jpeg2k xvid mp3
+1
gentoo/etc/portage/package.use/ccache
··· 1 + dev-util/ccache -static-c++
+1 -1
gentoo/etc/portage/package.use/firefox
··· 5 5 sys-apps/xdg-desktop-portal screencast geolocation 6 6 www-client/firefox lto pgo screencast 7 7 x11-base/xorg-server xvfb 8 - net-libs/nodejs -lto 8 + net-libs/nodejs lto system-icu
+2
gentoo/etc/portage/package.use/krita
··· 4 4 dev-qt/qtcore icu 5 5 dev-qt/qtgui egl 6 6 sys-libs/zlib minizip 7 + app-text/poppler qt5 8 + media-gfx/krita pdf
+1 -1
gentoo/etc/portage/package.use/pipewire
··· 1 - media-sound/pulseaudio -alsa-plugin 1 + media-sound/pulseaudio -alsa -alsa-plugin -daemon -jack -orc -ssl -udev -webrtc-aec 2 2 media-video/pipewire extra gstreamer jack-sdk pipewire-alsa
-1
gentoo/etc/portage/package.use/pulseaudio
··· 1 - media-sound/pulseaudio -tcpd
+1
gentoo/etc/portage/package.use/texlive
··· 1 + media-libs/harfbuzz icu
+98
gentoo/etc/portage/patches/media-gfx/blender-2.93.0/0001-musl-fixes.patch
··· 1 + https://git.alpinelinux.org/aports/tree/testing/blender/0001-musl-fixes.patch 2 + 3 + From 9f5cd19b34c6357d0473f61b8b4d13b28c3e8b6c Mon Sep 17 00:00:00 2001 4 + From: Leon Marz <lmarz@cs.uni-frankfurt.de> 5 + Date: Wed, 25 Nov 2020 10:10:41 +0100 6 + Subject: [PATCH 1/3] musl fixes 7 + 8 + Original patch by Nathanael Copa 9 + --- 10 + intern/guardedalloc/intern/mallocn_intern.h | 2 +- 11 + intern/libc_compat/libc_compat.c | 2 -- 12 + source/blender/blenlib/intern/system.c | 4 +++- 13 + source/blender/gpu/GPU_vertex_buffer.h | 1 - 14 + source/creator/creator_signals.c | 2 +- 15 + 5 files changed, 5 insertions(+), 6 deletions(-) 16 + 17 + diff --git a/intern/guardedalloc/intern/mallocn_intern.h b/intern/guardedalloc/intern/mallocn_intern.h 18 + index aa95615..f7e347d 100644 19 + --- a/intern/guardedalloc/intern/mallocn_intern.h 20 + +++ b/intern/guardedalloc/intern/mallocn_intern.h 21 + @@ -33,7 +33,7 @@ 22 + #undef HAVE_MALLOC_STATS 23 + #define USE_MALLOC_USABLE_SIZE /* internal, when we have malloc_usable_size() */ 24 + 25 + -#if defined(__linux__) || (defined(__FreeBSD_kernel__) && !defined(__FreeBSD__)) || \ 26 + +#if defined(__linux__) && !defined(__MUSL__) || (defined(__FreeBSD_kernel__) && !defined(__FreeBSD__)) || \ 27 + defined(__GLIBC__) 28 + # include <malloc.h> 29 + # define HAVE_MALLOC_STATS 30 + diff --git a/intern/libc_compat/libc_compat.c b/intern/libc_compat/libc_compat.c 31 + index 78e387e..d21c281 100644 32 + --- a/intern/libc_compat/libc_compat.c 33 + +++ b/intern/libc_compat/libc_compat.c 34 + @@ -25,7 +25,6 @@ 35 + # include <features.h> 36 + # include <math.h> 37 + 38 + -# if defined(__GLIBC_PREREQ) && __GLIBC_PREREQ(2, 31) 39 + 40 + double __exp_finite(double x); 41 + double __exp2_finite(double x); 42 + @@ -124,5 +123,4 @@ float __powf_finite(float x, float y) 43 + return powf(x, y); 44 + } 45 + 46 + -# endif /* __GLIBC_PREREQ */ 47 + #endif /* __linux__ */ 48 + diff --git a/source/blender/blenlib/intern/system.c b/source/blender/blenlib/intern/system.c 49 + index f4110c6..f5a32c5 100644 50 + --- a/source/blender/blenlib/intern/system.c 51 + +++ b/source/blender/blenlib/intern/system.c 52 + @@ -35,7 +35,9 @@ 53 + 54 + # include "BLI_winstuff.h" 55 + #else 56 + +#if !defined(__MUSL__) 57 + # include <execinfo.h> 58 + +#endif 59 + # include <unistd.h> 60 + #endif 61 + 62 + @@ -80,7 +82,7 @@ void BLI_system_backtrace(FILE *fp) 63 + { 64 + /* ------------- */ 65 + /* Linux / Apple */ 66 + -# if defined(__linux__) || defined(__APPLE__) 67 + +# if defined(__linux__) && !defined(__MUSL__) || defined(__APPLE__) 68 + 69 + # define SIZE 100 70 + void *buffer[SIZE]; 71 + diff --git a/source/blender/gpu/GPU_vertex_buffer.h b/source/blender/gpu/GPU_vertex_buffer.h 72 + index aae58de..0a3a627 100644 73 + --- a/source/blender/gpu/GPU_vertex_buffer.h 74 + +++ b/source/blender/gpu/GPU_vertex_buffer.h 75 + @@ -118,7 +118,6 @@ GPU_INLINE void *GPU_vertbuf_raw_step(GPUVertBufRaw *a) 76 + { 77 + unsigned char *data = a->data; 78 + a->data += a->stride; 79 + - BLI_assert(data < a->_data_end); 80 + return (void *)data; 81 + } 82 + 83 + diff --git a/source/creator/creator_signals.c b/source/creator/creator_signals.c 84 + index 29e12a9..d90da8f 100644 85 + --- a/source/creator/creator_signals.c 86 + +++ b/source/creator/creator_signals.c 87 + @@ -269,7 +269,7 @@ void main_signal_setup_fpe(void) 88 + * set breakpoints on sig_handle_fpe */ 89 + signal(SIGFPE, sig_handle_fpe); 90 + 91 + -# if defined(__linux__) && defined(__GNUC__) 92 + +# if defined(__linux__) && defined(__GNUC__) && !defined(__MUSL__) 93 + feenableexcept(FE_DIVBYZERO | FE_INVALID | FE_OVERFLOW); 94 + # endif /* defined(__linux__) && defined(__GNUC__) */ 95 + # if defined(OSX_SSE_FPE) 96 + -- 97 + 2.31.1 98 +
+25
gentoo/etc/portage/patches/media-gfx/blender-2.93.0/0002-fix-linking-issue.patch
··· 1 + https://git.alpinelinux.org/aports/tree/testing/blender/0002-fix-linking-issue.patch 2 + 3 + From 38035cf0b6f9a8af1938930d151973687d4ba561 Mon Sep 17 00:00:00 2001 4 + From: Leon Marz <lmarz@cs.uni-frankfurt.de> 5 + Date: Tue, 1 Sep 2020 09:11:18 +0200 6 + Subject: [PATCH 2/3] fix linking issue 7 + 8 + --- 9 + intern/ghost/CMakeLists.txt | 2 +- 10 + 1 file changed, 1 insertion(+), 1 deletion(-) 11 + 12 + diff --git a/intern/ghost/CMakeLists.txt b/intern/ghost/CMakeLists.txt 13 + index 1739659..d6b442b 100644 14 + --- a/intern/ghost/CMakeLists.txt 15 + +++ b/intern/ghost/CMakeLists.txt 16 + @@ -484,5 +484,5 @@ if(WITH_XR_OPENXR) 17 + endif() 18 + 19 + add_definitions(${GL_DEFINITIONS}) 20 + - 21 + +list(APPEND LIB "-lX11" "-lXi" "-lXxf86vm" "-lXfixes" "-lXrender") 22 + blender_add_lib(bf_intern_ghost "${SRC}" "${INC}" "${INC_SYS}" "${LIB}") 23 + -- 24 + 2.31.1 25 +
+50
gentoo/etc/portage/patches/media-gfx/blender-2.93.0/0003-increase-thread-stack-size-for-musl.patch
··· 1 + https://git.alpinelinux.org/aports/tree/testing/blender/0003-increase-thread-stack-size-for-musl.patch 2 + 3 + From 7c5e611332e97d1678e4c32de84ad3dad1cc81a7 Mon Sep 17 00:00:00 2001 4 + From: Damian Kurek <starfire24680@gmail.com> 5 + Date: Sun, 22 Nov 2020 02:03:11 +0100 6 + Subject: [PATCH 3/3] increase thread stack size for musl 7 + 8 + --- 9 + intern/cycles/util/util_thread.cpp | 4 ++-- 10 + intern/cycles/util/util_thread.h | 2 +- 11 + 2 files changed, 3 insertions(+), 3 deletions(-) 12 + 13 + diff --git a/intern/cycles/util/util_thread.cpp b/intern/cycles/util/util_thread.cpp 14 + index cccde5a..4bf62d5 100644 15 + --- a/intern/cycles/util/util_thread.cpp 16 + +++ b/intern/cycles/util/util_thread.cpp 17 + @@ -23,7 +23,7 @@ CCL_NAMESPACE_BEGIN 18 + 19 + thread::thread(function<void()> run_cb, int node) : run_cb_(run_cb), joined_(false), node_(node) 20 + { 21 + -#ifdef __APPLE__ 22 + +#if defined(__APPLE__) || defined(__MUSL__) 23 + /* Set the stack size to 2MB to match Linux. The default 512KB on macOS is 24 + * too small for Embree, and consistent stack size also makes things more 25 + * predictable in general. */ 26 + @@ -56,7 +56,7 @@ void *thread::run(void *arg) 27 + bool thread::join() 28 + { 29 + joined_ = true; 30 + -#ifdef __APPLE__ 31 + +#if defined(__APPLE__) || defined(__MUSL__) 32 + return pthread_join(pthread_id, NULL) == 0; 33 + #else 34 + try { 35 + diff --git a/intern/cycles/util/util_thread.h b/intern/cycles/util/util_thread.h 36 + index 29f9bec..58a63ce 100644 37 + --- a/intern/cycles/util/util_thread.h 38 + +++ b/intern/cycles/util/util_thread.h 39 + @@ -56,7 +56,7 @@ class thread { 40 + 41 + protected: 42 + function<void()> run_cb_; 43 + -#ifdef __APPLE__ 44 + +#if defined(__APPLE__) || defined(__MUSL__) 45 + pthread_t pthread_id; 46 + #else 47 + std::thread std_thread; 48 + -- 49 + 2.31.1 50 +
gentoo/etc/portage/patches/media-libs/mesa-21.1.4/bak/add-use-elf-tls.patch gentoo/etc/portage/patches/media-libs/mesa-21.2.0_rc2/add-use-elf-tls.patch
gentoo/etc/portage/patches/media-libs/mesa-21.1.4/bak/musl-fix-includes.patch gentoo/etc/portage/patches/media-libs/mesa-21.2.0_rc2/musl-fix-includes.patch
gentoo/etc/portage/patches/net-libs/nodejs-16.5.0/remove-libatomic.patch gentoo/etc/portage/patches/net-libs/nodejs-16.6.0/remove-libatomic.patch
+1
gentoo/etc/portage/profile/packages
··· 1 1 -*sys-devel/gcc 2 + -*sys-devel/binutils 2 3 -*sys-apps/busybox
+16
gentoo/root/.bash_profile
··· 1 + #!/bin/bash 2 + 3 + # Figure out what Distro we are in 4 + CURRENT_DISTRO="$(. /etc/os-release; printf '%s' $NAME)" 5 + 6 + # Are we in a chroot that we know about? 7 + [[ $CURRENT_DISTRO = "Gentoo" ]] && { findmnt /mnt/void > /dev/null 2>&1 \ 8 + && WITHIN_KNOWN_CHROOT=false || WITHIN_KNOWN_CHROOT=true; } 9 + [[ $CURRENT_DISTRO = "void" ]] && { findmnt /mnt/gentoo > /dev/null 2>&1 \ 10 + && WITHIN_KNOWN_CHROOT=false || WITHIN_KNOWN_CHROOT=true; } 11 + 12 + [[ "$(tty)" = *pts* ]] && export TERM=foot 13 + 14 + export CURRENT_DISTRO WITHIN_KNOWN_CHROOT 15 + 16 + [ -f ~/.bashrc ] && . ~/.bashrc
+5
gentoo/root/.bashrc
··· 1 + #!/bin/bash 2 + # Don't continue if we aren't interactive 3 + [[ $- = *i* ]] || return 4 + 5 + [[ $WITHIN_KNOWN_CHROOT = "true" ]] && PS1="(${CURRENT_DISTRO}) $PS1"
+2 -1
gentoo/var/lib/portage/world
··· 13 13 app-shells/dash 14 14 app-shells/loksh 15 15 app-text/ansifilter 16 + app-text/texlive 16 17 dev-go/golicense 17 18 dev-libs/bemenu 18 19 dev-python/flake8 ··· 59 60 media-sound/playerctl 60 61 media-video/mpv 61 62 net-analyzer/nethogs 63 + net-analyzer/speedtest-cli 62 64 net-im/cchat-gtk 63 65 net-misc/dhcpcd 64 66 net-misc/ntp ··· 78 80 sys-kernel/gentoo-sources 79 81 sys-kernel/linux-firmware 80 82 sys-libs/timezone-data 81 - sys-power/auto-cpufreq 82 83 sys-process/htop 83 84 sys-process/lsof 84 85 www-client/firefox
+1 -1
home/bin/firefox
··· 5 5 # If this directory doesn't exist we are inside our glibc chroot 6 6 if [ -d /mnt/glibc64 ] 7 7 then exec /usr/bin/firefox-wayland "$@" 8 - else exec /usr/bin/firefox-bin-wayland -P drm "$@" 8 + else exec /usr/bin/firefox-wayland -P drm "$@" 9 9 fi
+2 -1
home/cfg/loksh/alias
··· 3 3 alias ls="ls -Fh --color=auto" 4 4 alias grep="grep --color=auto" 5 5 6 - alias su="TERM=xterm-256color su -ls /bin/bash" 6 + # Set TERM here so that root prompt will get color 7 + alias su="TERM=linux su -ls /bin/bash" 7 8 8 9 # Run something N amount of times 9 10 run() {
+16 -2
home/cfg/loksh/profile
··· 1 1 #!/bin/sh 2 2 3 3 # Place this file in /etc/profile.d 4 - [ "$(id -u)" = "1000" ] && [ "${0##*/}" = "-ksh" ] || return 0 4 + [ "$(id -u)" = "1000" ] || return 0 5 + case ${0##*/} in 6 + -*ksh ) ;; 7 + * ) return 0 ;; 8 + esac 9 + 10 + # Figure out what Distro we are in 11 + CURRENT_DISTRO="$(. /etc/os-release; printf '%s' $NAME)" 12 + 13 + # Are we in a chroot that we know about? 14 + [ "$CURRENT_DISTRO" = "Gentoo" ] && { findmnt /mnt/void > /dev/null 2>&1 \ 15 + && WITHIN_KNOWN_CHROOT=false || WITHIN_KNOWN_CHROOT=true; } 16 + [ "$CURRENT_DISTRO" = "void" ] && { findmnt /mnt/gentoo > /dev/null 2>&1 \ 17 + && WITHIN_KNOWN_CHROOT=false || WITHIN_KNOWN_CHROOT=true; } 5 18 6 19 # Set XDG variables 7 20 XDG_CACHE_HOME="$HOME/tmp/cache" ··· 53 66 54 67 # Export all the variables 55 68 export AR \ 56 - CARGO_HOME CC CFLAGS CGO_CFLAGS CGO_CXXFLAGS CGO_FFLAGS CXX CXXFLAGS \ 69 + CARGO_HOME CC CFLAGS CGO_CFLAGS CGO_CXXFLAGS CGO_FFLAGS CURRENT_DISTRO CXX CXXFLAGS \ 57 70 EDITOR ENV \ 58 71 FCFLAGS FFLAGS \ 59 72 GNUPGHOME GOMODCACHE GOPATH GRIPHOME \ 60 73 HISTCONTROL HISTFILE HISTSIZE \ 74 + WITHIN_KNOWN_CHROOT \ 61 75 LD LESSHISTFILE \ 62 76 NM \ 63 77 PAGER PASSWORD_STORE_DIR PATH \
+4 -1
home/cfg/loksh/rc
··· 1 1 #!/bin/ksh 2 2 3 + # Don't continue if we are not interactive 4 + [[ $- = *i* ]] || return 5 + 3 6 # Not having this set to the current terminal can cause issues 4 7 GPG_TTY=$(tty) 5 8 export GPG_TTY ··· 14 17 PS1="\[\033[1;31m\]\u\[\033[32m\]@\[\033[33m\]\h \[\033[34m\]\W\[\033[m\] " 15 18 PS2="\[\033[1;36m\]>\[\033[m\] " 16 19 17 - [ -d /mnt/glibc64 ] || PS1="(chroot) $PS1" 20 + [ "$WITHIN_KNOWN_CHROOT" = "true" ] && PS1="($CURRENT_DISTRO) $PS1" 18 21 19 22 # Source completions 20 23 . "$XDG_CONFIG_HOME/loksh/completions"
+4 -2
home/cfg/wayfire.ini
··· 72 72 73 73 binding_scrpic = KEY_SYSRQ 74 74 command_scrpic = scr pic -c 75 - binding_scrpico1 = <super> KEY_SYSRQ 76 - command_scrpico1 = scr pic -co DP-1 75 + binding_scrpicd = <super> KEY_SYSRQ 76 + command_scrpicd = scr pic -cd 77 77 binding_scrpico2 = <super> <ctrl> KEY_SYSRQ 78 78 command_scrpico2 = scr pic -co DP-2 79 + binding_scrpico1 = <super> <alt> KEY_SYSRQ 80 + command_scrpico1 = scr pic -co DP-1 79 81 80 82 binding_colorgrab_co = <super> KEY_C 81 83 command_colorgrab_co = colorgrab -co
+1
home/gamefiles/csgo/autoexec.cfg
··· 29 29 cl_bobamt_lat "0.100000" 30 30 cl_bobamt_vert "0.100000" 31 31 cl_bobcycle "0.98" 32 + cl_righthand "0" 32 33 33 34 // Crosshair 34 35 cl_crosshair_drawoutline "1.000000"
+9
void/etc/dracut.conf.d/30-efistub.conf
··· 1 + # I made my /boot partition really small meaning I don't have space for a backup kernel 2 + compress="zstd -19" 3 + 4 + # This stuff will only actually apply when im inside void 5 + hostonly="yes" 6 + hostonly_cmdline="yes" 7 + 8 + # Options to start the kernel with 9 + kernel_cmdline="root=PARTUUID=01e4419b-f374-1e46-bd0f-bbc8bd8b1dfd rootflags=subvolid=473 intel_iommu=on zram.num_devices=1 i915.enable_guc=2"
+40
void/etc/kernel.d/post-install/30-efistub
··· 1 + #!/bin/sh 2 + # 3 + # Kernel post-install hook for my efistub setup. 4 + # 5 + # Arguments passed to this script: $1 pkgname, $2 version. 6 + # 7 + PKGNAME="$1" 8 + VERSION="$2" 9 + 10 + # I want /boot to look like the following: 11 + # /boot 12 + # └── EFI 13 + #     ├── Gentoo 14 + #     │ ├── bzImage 15 + #     │ └── bzImage.bak 16 + # └── Void 17 + #     ├── initramfs 18 + #     ├── initramfs.bak 19 + #     ├── vmlinuz 20 + #     └── vmlinuz.bak 21 + # 22 + # Gentoo's kernel is already handled with my script `kupdater` 23 + mkdir -p boot/EFI/Void 24 + 25 + # Delete the config file. Void's kernel is configured with IKCONFIG and IKCONFIG_PROC 26 + if [ -f "boot/config-${VERSION}" ] 27 + then 28 + rm "boot/config-${VERSION}" 29 + fi 30 + 31 + # I doubt these files will ever not exist but checking wouldn't hurt 32 + if [ -f "boot/initramfs-${VERSION}.img" ] 33 + then 34 + mv "boot/initramfs-${VERSION}.img" "boot/EFI/Void/initramfs" 35 + fi 36 + 37 + if [ -f "boot/vmlinuz-${VERSION}" ] 38 + then 39 + mv "boot/vmlinuz-${VERSION}" "boot/EFI/Void/vmlinuz" 40 + fi
+29
void/etc/kernel.d/pre-install/30-efistub
··· 1 + #!/bin/sh 2 + # 3 + # Kernel pre-install hook for my efistub setup. 4 + # 5 + # Arguments passed to this script: $1 pkgname, $2 version. 6 + # 7 + PKGNAME="$1" 8 + VERSION="$2" 9 + 10 + # I want /boot to look like the following: 11 + # /boot 12 + # └── EFI 13 + #     ├── Gentoo 14 + #     │ ├── bzImage 15 + #     │ └── bzImage.bak 16 + # └── Void 17 + #     ├── initramfs 18 + #     ├── initramfs.bak 19 + #     ├── vmlinuz 20 + #     └── vmlinuz.bak 21 + # 22 + # In the pre-install hook we will update the backup kernel and initramfs. 23 + 24 + # If for whatever reason we don't have both initramfs and kernel image, skip this step. 25 + if [ -f "${ROOTDIR}/boot/EFI/Void/initramfs" ] && [ -f "${ROOTDIR}/boot/EFI/Void/vmlinuz" ] 26 + then 27 + mv "${ROOTDIR}/boot/EFI/Void/initramfs" "${ROOTDIR}/boot/EFI/Void/initramfs.bak" 28 + mv "${ROOTDIR}/boot/EFI/Void/vmlinuz" "${ROOTDIR}/boot/EFI/Void/vmlinuz.bak" 29 + fi
+14
void/root/.bash_profile
··· 1 + #!/bin/bash 2 + 3 + # Figure out what Distro we are in 4 + CURRENT_DISTRO="$(. /etc/os-release; printf '%s' $NAME)" 5 + 6 + # Are we in a chroot that we know about? 7 + [[ $CURRENT_DISTRO = "Gentoo" ]] && { findmnt /mnt/void > /dev/null 2>&1 \ 8 + && WITHIN_KNOWN_CHROOT=false || WITHIN_KNOWN_CHROOT=true; } 9 + [[ $CURRENT_DISTRO = "void" ]] && { findmnt /mnt/gentoo > /dev/null 2>&1 \ 10 + && WITHIN_KNOWN_CHROOT=false || WITHIN_KNOWN_CHROOT=true; } 11 + 12 + export CURRENT_DISTRO WITHIN_KNOWN_CHROOT 13 + 14 + [ -f ~/.bashrc ] && . ~/.bashrc
+10
void/root/.bashrc
··· 1 + #!/bin/bash 2 + # Don't continue if we aren't interactive 3 + [[ $- = *i* ]] || return 4 + 5 + alias ls='ls --color=auto' 6 + alias grep='grep --color=auto' 7 + 8 + PS1='\[\033[01;31m\]\h\[\033[01;34m\] \w \$ \[\033[00m\]' 9 + 10 + [[ $WITHIN_KNOWN_CHROOT = "true" ]] && PS1="(${CURRENT_DISTRO}) $PS1"