From 735900a8a9571f5753de3dbc070deabc7eb96345 Mon Sep 17 00:00:00 2001 From: Emily <108381224+EmiSunn@users.noreply.github.com> Date: Mon, 6 Apr 2026 15:54:04 -0400 Subject: [PATCH 1/5] Update Setup.sh gentoo support --- scripts/Setup.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/scripts/Setup.sh b/scripts/Setup.sh index 9b0c21f..339f2dd 100755 --- a/scripts/Setup.sh +++ b/scripts/Setup.sh @@ -109,6 +109,11 @@ elif [ -x "$(command -v pacman)" ]; then i386="lib32-glibc" fi sudo pacman -S --needed --noconfirm axel imagemagick xxd python pyenv python-pip bc rsync curl zip unzip wget ffmpeg lvm2 fuse2 dosfstools e2fsprogs glibc exfatprogs util-linux parted bchunk base-devel icu pkgconf ffmpegthumbnailer $i386 2>&1 | tee -a "${LOG_FILE}" +elif [ -x "$(command -v emerge)" ]; then + if [[ "$arch" = "x86_64" ]]; then + i386="glibc" + fi + sudo USE= 'lvm' emerge --ask net-misc/axel media-gfx/imagemagick dev-util/xxd dev-lang/python dev-python/pip sys-devel/bc net-misc/rsync net-misc/curl app-arch/zip app-arch/unzip net-misc/wget media-video/ffmpeg sys-fs/lvm2 sys-fs/fuse sys-fs/dosfstools sys-fs/e2fsprogs sys-fs/exfatprogs sys-apps/util-linux sys-block/parted app-cdr/bchunk dev-libs/icu dev-util/pkgconf media-video/ffmpegthumbnailer $i386 2>&1 | tee -a "${LOG_FILE}" elif [ -n "$IN_NIX_SHELL" ]; then error_msg "Running in Nix environment - packages should be provided by flake and setup should not be run." else @@ -134,4 +139,4 @@ spinner $PID "Setting up Python virtual environment and installing dependencies. echo echo -n "[✓] Setup completed successfully!" | tee -a "${LOG_FILE}" sleep 3 -echo| tee -a "${LOG_FILE}" \ No newline at end of file +echo| tee -a "${LOG_FILE}" From 9f02e584a8d0bb57757297155330e28864c67bc3 Mon Sep 17 00:00:00 2001 From: Emily <108381224+EmiSunn@users.noreply.github.com> Date: Mon, 6 Apr 2026 16:11:15 -0400 Subject: [PATCH 2/5] Update Setup.sh Gentoo support --- scripts/Setup.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/Setup.sh b/scripts/Setup.sh index 339f2dd..9761ff0 100755 --- a/scripts/Setup.sh +++ b/scripts/Setup.sh @@ -109,11 +109,12 @@ elif [ -x "$(command -v pacman)" ]; then i386="lib32-glibc" fi sudo pacman -S --needed --noconfirm axel imagemagick xxd python pyenv python-pip bc rsync curl zip unzip wget ffmpeg lvm2 fuse2 dosfstools e2fsprogs glibc exfatprogs util-linux parted bchunk base-devel icu pkgconf ffmpegthumbnailer $i386 2>&1 | tee -a "${LOG_FILE}" +# Or if user is on Gentoo-based system, do this instead elif [ -x "$(command -v emerge)" ]; then if [[ "$arch" = "x86_64" ]]; then i386="glibc" fi - sudo USE= 'lvm' emerge --ask net-misc/axel media-gfx/imagemagick dev-util/xxd dev-lang/python dev-python/pip sys-devel/bc net-misc/rsync net-misc/curl app-arch/zip app-arch/unzip net-misc/wget media-video/ffmpeg sys-fs/lvm2 sys-fs/fuse sys-fs/dosfstools sys-fs/e2fsprogs sys-fs/exfatprogs sys-apps/util-linux sys-block/parted app-cdr/bchunk dev-libs/icu dev-util/pkgconf media-video/ffmpegthumbnailer $i386 2>&1 | tee -a "${LOG_FILE}" + sudo USE="lvm" emerge -q net-misc/axel media-gfx/imagemagick dev-util/xxd dev-lang/python dev-python/pip sys-devel/bc net-misc/rsync net-misc/curl app-arch/zip app-arch/unzip net-misc/wget media-video/ffmpeg sys-fs/lvm2 sys-fs/fuse sys-fs/dosfstools sys-fs/e2fsprogs sys-fs/exfatprogs sys-apps/util-linux sys-block/parted app-cdr/bchunk dev-libs/icu dev-util/pkgconf media-video/ffmpegthumbnailer $i386 2>&1 | tee -a "${LOG_FILE}" elif [ -n "$IN_NIX_SHELL" ]; then error_msg "Running in Nix environment - packages should be provided by flake and setup should not be run." else From 5f933e34d1dafccf9c4e4812e42217373c92a381 Mon Sep 17 00:00:00 2001 From: Emily <108381224+EmiSunn@users.noreply.github.com> Date: Mon, 6 Apr 2026 16:29:26 -0400 Subject: [PATCH 3/5] Update Setup.sh --- scripts/Setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Setup.sh b/scripts/Setup.sh index 9761ff0..1b38947 100755 --- a/scripts/Setup.sh +++ b/scripts/Setup.sh @@ -118,7 +118,7 @@ elif [ -x "$(command -v emerge)" ]; then elif [ -n "$IN_NIX_SHELL" ]; then error_msg "Running in Nix environment - packages should be provided by flake and setup should not be run." else - error_msg "No supported package manager found (apt-get, dnf, pacman)." + error_msg "No supported package manager found (apt-get, dnf, pacman, emerge)." fi if [ $? -ne 0 ]; then From 2a63430e3c808f9810ab8741763bcf813ae46243 Mon Sep 17 00:00:00 2001 From: Emily <108381224+EmiSunn@users.noreply.github.com> Date: Mon, 6 Apr 2026 16:34:32 -0400 Subject: [PATCH 4/5] Final Setup.sh Finally fixed what i did wrong and now fully works as intended From 2147b6601d2f28cf243cc01082e3b70a256713be Mon Sep 17 00:00:00 2001 From: Emily <108381224+EmiSunn@users.noreply.github.com> Date: Sat, 11 Apr 2026 23:34:54 -0400 Subject: [PATCH 5/5] Emerge Support Added Setup.sh Added Requested unRAR package to install package list and double checked to make sure everything still works! --- scripts/Setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Setup.sh b/scripts/Setup.sh index 1b38947..c98af3f 100755 --- a/scripts/Setup.sh +++ b/scripts/Setup.sh @@ -114,7 +114,7 @@ elif [ -x "$(command -v emerge)" ]; then if [[ "$arch" = "x86_64" ]]; then i386="glibc" fi - sudo USE="lvm" emerge -q net-misc/axel media-gfx/imagemagick dev-util/xxd dev-lang/python dev-python/pip sys-devel/bc net-misc/rsync net-misc/curl app-arch/zip app-arch/unzip net-misc/wget media-video/ffmpeg sys-fs/lvm2 sys-fs/fuse sys-fs/dosfstools sys-fs/e2fsprogs sys-fs/exfatprogs sys-apps/util-linux sys-block/parted app-cdr/bchunk dev-libs/icu dev-util/pkgconf media-video/ffmpegthumbnailer $i386 2>&1 | tee -a "${LOG_FILE}" + sudo USE="lvm" emerge -q net-misc/axel media-gfx/imagemagick dev-util/xxd dev-lang/python dev-python/pip sys-devel/bc net-misc/rsync net-misc/curl app-arch/zip app-arch/unzip net-misc/wget media-video/ffmpeg sys-fs/lvm2 sys-fs/fuse sys-fs/dosfstools sys-fs/e2fsprogs sys-fs/exfatprogs sys-apps/util-linux sys-block/parted app-cdr/bchunk dev-libs/icu dev-util/pkgconf media-video/ffmpegthumbnailer app-arch/unrar $i386 2>&1 | tee -a "${LOG_FILE}" elif [ -n "$IN_NIX_SHELL" ]; then error_msg "Running in Nix environment - packages should be provided by flake and setup should not be run." else