Merge pull request #1 from jwihardi/clean-testing

Clean testing
This commit is contained in:
jwihardi
2025-10-13 23:03:27 -04:00
committed by GitHub
6 changed files with 62 additions and 16 deletions
+8
View File
@@ -26,10 +26,13 @@ Note:
4. gsettings and kwriteconfig6 are set (same as dist-arch).
## Recommended use flags (useflags)
- **The recommended useflags are not required, this is a more out of the box experience with these**
- Pipewire is used, alsa and pulseaudio are disabled (enabling them won't hurt).
- Init system is not assumed or considered so disabling systemd should be done in make.conf, same with session managers (elogind is recommended).
## Making the dot-files work
- elogind is expected to be installed and run as a service on OpenRC to set ```XDG_RUNTIME_DIR```
- NOT recommended: seatd will require more manual setup
- pipewire, pipewire-pulse, and wireplumber must be started after a dbus-session is created and before Hyprland is launched.
If you want to start after logging into tty1 you can do something like this.
@@ -49,3 +52,8 @@ if status --is-interactive; and [ (tty) = "/dev/tty1" ]
exec Hyprland
end
```
## Known Issues
- If Hyprland is just blank, rebuild Quickshell (emerge -q gui-apps/quickshell)
- ```Hyprland: error while loading shared libraries: libhyprgraphics.so.0: cannot open shared object file: No such file or directory```
- The Hyprland live ebuild sometimes has linkage issues, deleting _Hyprland_ and _hyprland_ from ```/usr/bin/``` and then re-emerging usually fixes this.
+29
View File
@@ -0,0 +1,29 @@
############ Additional needed useflags
x11-libs/cairo X
dev-cpp/cairomm X
dev-python/pycairo X
media-libs/libglvnd X
x11-libs/libxkbcommon X
media-libs/libpulse X
media-plugins/alsa-plugins pulseaudio
kde-frameworks/kcoreaddons dbus
kde-frameworks/prison qml
kde-frameworks/kguiaddons X dbus wayland
kde-frameworks/kidletime X wayland
kde-frameworks/kwindowsystem X wayland
kde-frameworks/kconfig dbus qml
kde-frameworks/sonnet qml
x11-base/xwayland libei
sys-apps/dbus X
sys-libs/zlib minizip
dev-qt/qtquick3d opengl
media-video/ffmpeg X bzip2 dav1d drm fontconfig gnutls gpl libass opencl opengl openh264 opus postproc svg truetype vaapi vpx vulkan x264 x265 xml zlib
media-libs/leptonica jpeg png zlib tiff webp
media-libs/libva X wayland
app-text/xmlto text
app-crypt/gcr gtk
media-video/vlc wayland ogg dbus mp3
dev-libs/qcoro dbus qml
media-libs/freetype harfbuzz
media-libs/mesa wayland
x11-libs/gtk+ wayland
+15 -5
View File
@@ -1,15 +1,23 @@
printf "${STY_YELLOW}"
printf "============WARNING/NOTE============\n"
printf "============WARNING/NOTE (1)============\n"
printf "GCC in use: $(which gcc)\n"
printf "GCC version info: $(gcc --version | grep gcc)\n"
printf "GCC version number: $(gcc --version | grep gcc | awk '{print $3}')\n"
printf "GCC-15>= is required for Hyprland\n"
printf "If you have GCC-15>= and it's currently set then you can safely ignore this\n"
printf "If not, you must ensure you are using the correct GCC version and set it (gcc-config <number>), then emerge re-emerge @world with an empty tree (emerge -e @world)\n"
printf "If not, you must ensure you are using the correct GCC version and set it (gcc-config <number>)\n"
printf "It is heavily recommended to re-emerge @world with an empty tree after changing GCC version (emerge -e @world)\n\n"
printf "${STY_RESET}"
pause
x sudo emerge --noreplace app-eselect/eselect-repository
printf "${STY_YELLOW}"
printf "============WARNING/NOTE (2)============\n"
printf "Ensure you have a global use flag for elogind or systemd in your make.conf for simplicity\n"
printf "Or you can manually add the use flags for each package that requires it\n"
printf "${STY_RESET}"
pause
x sudo emerge --noreplace --quiet app-eselect/eselect-repository
if [[ -z $(eselect repository list | grep localrepo) ]]; then
v sudo eselect repository create localrepo
@@ -34,10 +42,11 @@ v sudo cp ./dist-gentoo/keywords-user /etc/portage/package.accept_keywords/illog
# Use Flags
v sudo cp ./dist-gentoo/useflags /etc/portage/package.use/illogical-impulse
v sudo sh -c 'cat ./dist-gentoo/additional-useflags >> /etc/portage/package.use/illogical-impulse'
# Update system
v sudo emerge --sync
v sudo emerge --ask --verbose --newuse --update --deep @world
v sudo emerge --quiet --newuse --update --deep @world
v sudo emerge --depclean
# Remove old ebuilds (if this isn't done the wildcard will fuck upon a version change)
@@ -74,4 +83,5 @@ for i in "${metapkgs[@]}"; do
v sudo emerge --quiet app-misc/${i}
done
# Currently using 3.12 python, this doesn't need to be default though
v sudo emerge --noreplace --quiet dev-lang/python:3.12
+4 -3
View File
@@ -6,7 +6,10 @@
showfun install-python-packages
v install-python-packages
v getent group i2c || sudo groupadd i2c
if [[ -z $(getent group i2c) ]]; then
v sudo groupadd i2c
fi
v sudo usermod -aG video,i2c,input "$(whoami)"
if [[ ! -z $(systemctl --version) ]]; then
@@ -28,8 +31,6 @@ else
pause
fi
v sudo chown -R $(whoami):$(whoami) ~/.local/share/icons/
v sudo chown -R $(whoami):$(whoami) ~/.local/share/konsole/
v sudo chown -R $(whoami):$(whoami) ~/.config/hypr/
v sudo chown -R $(whoami):$(whoami) ~/.config/quickshell/
+3
View File
@@ -14,6 +14,8 @@ app-misc/illogical-impulse-toolkit
app-misc/illogical-impulse-widgets
x11-misc/matugen
media-fonts/twemoji
app-misc/brightnessctl
app-misc/cliphist
gui-apps/hypridle
gui-apps/hyprlock
gui-apps/hyprpicker
@@ -36,3 +38,4 @@ gui-libs/hyprcursor **
gui-libs/hyprland-qt-support **
gui-libs/hyprland-qtutils **
gui-wm/hyprland **
x11-libs/libxkbcommon
+3 -8
View File
@@ -60,6 +60,9 @@ net-misc/networkmanager concheck introspection nss ppp tools wifi -wext -modemma
kde-apps/dolphin -handbook
kde-plasma/systemsettings -handbook
################### MICROTEX-GIT ###################
dev-cpp/gtkmm X wayland
################### PORTAL ###################
sys-apps/xdg-desktop-portal seccomp
#sys-plasma/xdg-desktop-portal-kde (nothing needed)
@@ -112,11 +115,3 @@ gui-apps/quickshell -X -i3 -i3-ipc -breakpad bluetooth hyprland hyprland-focus-g
#app-i18n/translate-shell (nothing needed)
#gui-apps/wlogout (no use flags)
media-gfx/imagemagick xml
############ Additional needed useflags
x11-libs/cairo X
media-libs/libglvnd X
x11-libs/libxkbcommon X
media-libs/libpulse X
media-plugins/alsa-plugins pulseaudio