From 2b9e5b1a6ff79c0b13a77ff487cd9dbd549637cb Mon Sep 17 00:00:00 2001 From: jwihardi Date: Mon, 15 Dec 2025 19:15:42 -0500 Subject: [PATCH 1/5] added hyprland-qtutils patch --- .../hyprland-qtutils-private.patch | 33 ++++++++++++ sdata/dist-gentoo/keywords-user | 53 +++++++++++++++++++ sdata/dist-gentoo/qt-keywords-user | 27 ++++++++++ 3 files changed, 113 insertions(+) create mode 100644 sdata/dist-gentoo/hyprland-qtutils-private.patch create mode 100644 sdata/dist-gentoo/keywords-user create mode 100644 sdata/dist-gentoo/qt-keywords-user diff --git a/sdata/dist-gentoo/hyprland-qtutils-private.patch b/sdata/dist-gentoo/hyprland-qtutils-private.patch new file mode 100644 index 000000000..6ca55104f --- /dev/null +++ b/sdata/dist-gentoo/hyprland-qtutils-private.patch @@ -0,0 +1,33 @@ +--- a/utils/dialog/CMakeLists.txt ++++ b/utils/dialog/CMakeLists.txt +@@ -8,7 +8,7 @@ + set(CMAKE_CXX_STANDARD 23) + set(CMAKE_CXX_STANDARD_REQUIRED ON) + +-find_package(Qt6 6.5 REQUIRED COMPONENTS Widgets Quick QuickControls2 WaylandClient) ++find_package(Qt6 6.5 REQUIRED COMPONENTS Widgets Quick QuickControls2 WaylandClient WaylandClientPrivate) + find_package(PkgConfig REQUIRED) + + pkg_check_modules(hyprutils REQUIRED IMPORTED_TARGET hyprutils) +--- a/utils/donate-screen/CMakeLists.txt ++++ b/utils/donate-screen/CMakeLists.txt +@@ -8,7 +8,7 @@ + set(CMAKE_CXX_STANDARD 23) + set(CMAKE_CXX_STANDARD_REQUIRED ON) + +-find_package(Qt6 6.5 REQUIRED COMPONENTS Widgets Quick QuickControls2 WaylandClient) ++find_package(Qt6 6.5 REQUIRED COMPONENTS Widgets Quick QuickControls2 WaylandClient WaylandClientPrivate) + find_package(PkgConfig REQUIRED) + + pkg_check_modules(hyprutils REQUIRED IMPORTED_TARGET hyprutils) +--- a/utils/update-screen/CMakeLists.txt ++++ b/utils/update-screen/CMakeLists.txt +@@ -8,7 +8,7 @@ + set(CMAKE_CXX_STANDARD 23) + set(CMAKE_CXX_STANDARD_REQUIRED ON) + +-find_package(Qt6 6.5 REQUIRED COMPONENTS Widgets Quick QuickControls2 WaylandClient) ++find_package(Qt6 6.5 REQUIRED COMPONENTS Widgets Quick QuickControls2 WaylandClient WaylandClientPrivate) + find_package(PkgConfig REQUIRED) + + pkg_check_modules(hyprutils REQUIRED IMPORTED_TARGET hyprutils) diff --git a/sdata/dist-gentoo/keywords-user b/sdata/dist-gentoo/keywords-user new file mode 100644 index 000000000..d4fcf1b4e --- /dev/null +++ b/sdata/dist-gentoo/keywords-user @@ -0,0 +1,53 @@ +app-misc/illogical-impulse-audio ~amd64 +app-misc/illogical-impulse-backlight ~amd64 +app-misc/illogical-impulse-basic ~amd64 +app-misc/illogical-impulse-bibata-modern-classic-bin ~amd64 +app-misc/illogical-impulse-fonts-themes ~amd64 +app-misc/illogical-impulse-hyprland ~amd64 +app-misc/illogical-impulse-kde ~amd64 +app-misc/illogical-impulse-microtex-git ~amd64 +app-misc/illogical-impulse-oneui4-icons-git ~amd64 +app-misc/illogical-impulse-portal ~amd64 +app-misc/illogical-impulse-python ~amd64 +app-misc/illogical-impulse-quickshell-git ~amd64 +app-misc/illogical-impulse-screencapture ~amd64 +app-misc/illogical-impulse-toolkit ~amd64 +app-misc/illogical-impulse-widgets ~amd64 +x11-misc/matugen ~amd64 +media-fonts/twemoji ~amd64 +app-misc/brightnessctl ~amd64 +app-misc/cliphist ~amd64 +gui-apps/hypridle ~amd64 +gui-apps/hyprlock ~amd64 +gui-apps/hyprpicker ~amd64 +gui-apps/hyprsunset ~amd64 +gui-libs/xdg-desktop-portal-hyprland ~amd64 +gui-apps/hyprshot ~amd64 +gui-apps/wf-recorder ~amd64 +gui-apps/wtype ~amd64 +gui-apps/fuzzel ~amd64 +gui-apps/quickshell ** ~amd64 +gui-apps/wlogout ~amd64 +dev-cpp/sdbus-c++ ~amd64 +dev-libs/hyprland-protocols ~amd64 +gui-libs/aquamarine ~amd64 +gui-libs/hyprutils ~amd64 +dev-util/hyprwayland-scanner ~amd64 +dev-libs/hyprlang ~amd64 +dev-libs/hyprgraphics ~amd64 +gui-libs/hyprcursor ~amd64 +gui-libs/hyprland-qt-support ~amd64 +gui-libs/hyprland-qtutils ~amd64 +gui-wm/hyprland ~amd64 +x11-libs/libxkbcommon ~amd64 +dev-util/breakpad ~amd64 +dev-libs/linux-syscall-support ~amd64 +dev-embedded/libdisasm ~amd64 +kde-plasma/breeze-plus ~amd64 +x11-themes/darkly ~amd64 +x11-themes/adw-gtk3 ~amd64 +media-fonts/space-grotesk ~amd64 +media-fonts/material-symbols-variable ** ~amd64 +media-fonts/readex-pro ~amd64 +media-fonts/rubik-vf ~amd64 +app-misc/songrec ~amd64 diff --git a/sdata/dist-gentoo/qt-keywords-user b/sdata/dist-gentoo/qt-keywords-user new file mode 100644 index 000000000..9fadb29db --- /dev/null +++ b/sdata/dist-gentoo/qt-keywords-user @@ -0,0 +1,27 @@ +dev-qt/qtbase ~amd64 +dev-qt/qtdeclarative ~amd64 +dev-qt/qtlanguageserver ~amd64 +dev-qt/qtsvg ~amd64 +dev-qt/qtshadertools ~amd64 +dev-qt/qttranslations ~amd64 +dev-qt/qttools ~amd64 +dev-qt/qt5compat ~amd64 +dev-qt/qtcore ~amd64 +dev-qt/qtdbus ~amd64 +dev-qt/qtgraphicaleffects ~amd64 +dev-qt/qtgui ~amd64 +dev-qt/qtimageformats ~amd64 +dev-qt/qtlocation ~amd64 +dev-qt/qtmultimedia ~amd64 +dev-qt/qtnetwork ~amd64 +dev-qt/qtpositioning ~amd64 +dev-qt/qtquick3d ~amd64 +dev-qt/qtquickcontrols2 ~amd64 +dev-qt/qtquicktimeline ~amd64 +dev-qt/qtsensors ~amd64 +dev-qt/qtspeech ~amd64 +dev-qt/qttest ~amd64 +dev-qt/qtvirtualkeyboard ~amd64 +dev-qt/qtwayland ~amd64 +dev-qt/qtwayland ~amd64 +dev-qt/qtwidgets ~amd64 From 0cff92d02c42245497ec7ca99f78885d48243de0 Mon Sep 17 00:00:00 2001 From: jwihardi <84292598+jwihardi@users.noreply.github.com> Date: Mon, 15 Dec 2025 19:30:10 -0500 Subject: [PATCH 2/5] Document hyprland-qtutils emerging issues and fixes Added troubleshooting steps for emerging hyprland-qtutils, including a patch suggestion. --- sdata/dist-gentoo/README.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/sdata/dist-gentoo/README.md b/sdata/dist-gentoo/README.md index 630a3a178..df06b41fc 100644 --- a/sdata/dist-gentoo/README.md +++ b/sdata/dist-gentoo/README.md @@ -52,3 +52,28 @@ end - The Hyprland live ebuild sometimes has linkage issues, deleting _Hyprland_ and _hyprland_ from `/usr/bin/` and then re-emerging usually fixes this. - When emerging Hyprland if you get an issue relating to `undefined reference to ``Hyprutils::Math::Vector2D::˜Vector2D()`` ` - Clear the cache folder (`rm -fr /var/tmp/portage/gui-wm/hyprland*`) then try again +- If emerging ``hyprland-qtutils`` fails and gives you something like this... + ```cmake + CMake Error at utils/dialog/CMakeLists.txt:26 (target_link_libraries): + Target "hyprland-dialog" links to: + Qt6::WaylandClientPrivate + but the target was not found. Possible reasons include: + * There is a typo in the target name. + * A find_package call is missing for an IMPORTED target. + * An ALIAS target is missing. + CMake Error at utils/update-screen/CMakeLists.txt:34 (target_link_libraries): + Target "hyprland-update-screen" links to: + Qt6::WaylandClientPrivate + but the target was not found. Possible reasons include: + * There is a typo in the target name. + * A find_package call is missing for an IMPORTED target. + * An ALIAS target is missing. + CMake Error at utils/donate-screen/CMakeLists.txt:32 (target_link_libraries): + Target "hyprland-donate-screen" links to: + Qt6::WaylandClientPrivate + but the target was not found. Possible reasons include: + * There is a typo in the target name. + * A find_package call is missing for an IMPORTED target. + * An ALIAS target is missing. + ``` + Try putting ``sdata/dist-gentoo/hyprland-qtutils-private.patch`` into ``/etc/portage/patches/gui-libs/hyprland-qtutils/``. From 4b1e02dda683e3aceb9b01bcec9874d4250a2ec0 Mon Sep 17 00:00:00 2001 From: jwihardi Date: Mon, 15 Dec 2025 19:45:03 -0500 Subject: [PATCH 3/5] removed install prints --- sdata/dist-gentoo/install-deps.sh | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/sdata/dist-gentoo/install-deps.sh b/sdata/dist-gentoo/install-deps.sh index 0aadbf81b..9d79c157a 100644 --- a/sdata/dist-gentoo/install-deps.sh +++ b/sdata/dist-gentoo/install-deps.sh @@ -1,23 +1,12 @@ printf "${STY_YELLOW}" 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 )\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_RST}" -pause - -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_RST}" pause printf "${STY_YELLOW}" +printf "============WARNING/NOTE (2)============\n" printf "https://github.com/end-4/dots-hyprland/blob/main/sdata/dist-gentoo/README.md\n" printf "Checkout the above README for potential bug fixes or additional information\n\n" printf "${STY_RST}" From dd00908026b0a95ec61e561ce05b8a67cb4abb9e Mon Sep 17 00:00:00 2001 From: jwihardi <84292598+jwihardi@users.noreply.github.com> Date: Mon, 15 Dec 2025 19:56:23 -0500 Subject: [PATCH 4/5] Update README with patch credit information Added patch credit for hyprland-qtutils. --- sdata/dist-gentoo/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/sdata/dist-gentoo/README.md b/sdata/dist-gentoo/README.md index df06b41fc..84153c779 100644 --- a/sdata/dist-gentoo/README.md +++ b/sdata/dist-gentoo/README.md @@ -77,3 +77,4 @@ end * An ALIAS target is missing. ``` Try putting ``sdata/dist-gentoo/hyprland-qtutils-private.patch`` into ``/etc/portage/patches/gui-libs/hyprland-qtutils/``. + - Patch Credit: fedeliallalinea on https://forums.gentoo.org/viewtopic-p-8874098.html From 61f0f0dc97bf2a1ebb35796fb7bbf713e9d0f71f Mon Sep 17 00:00:00 2001 From: jwihardi Date: Mon, 15 Dec 2025 20:00:49 -0500 Subject: [PATCH 5/5] removed user files, accidentally commited them earlier --- sdata/dist-gentoo/keywords-user | 53 ------------------------------ sdata/dist-gentoo/qt-keywords-user | 27 --------------- 2 files changed, 80 deletions(-) delete mode 100644 sdata/dist-gentoo/keywords-user delete mode 100644 sdata/dist-gentoo/qt-keywords-user diff --git a/sdata/dist-gentoo/keywords-user b/sdata/dist-gentoo/keywords-user deleted file mode 100644 index d4fcf1b4e..000000000 --- a/sdata/dist-gentoo/keywords-user +++ /dev/null @@ -1,53 +0,0 @@ -app-misc/illogical-impulse-audio ~amd64 -app-misc/illogical-impulse-backlight ~amd64 -app-misc/illogical-impulse-basic ~amd64 -app-misc/illogical-impulse-bibata-modern-classic-bin ~amd64 -app-misc/illogical-impulse-fonts-themes ~amd64 -app-misc/illogical-impulse-hyprland ~amd64 -app-misc/illogical-impulse-kde ~amd64 -app-misc/illogical-impulse-microtex-git ~amd64 -app-misc/illogical-impulse-oneui4-icons-git ~amd64 -app-misc/illogical-impulse-portal ~amd64 -app-misc/illogical-impulse-python ~amd64 -app-misc/illogical-impulse-quickshell-git ~amd64 -app-misc/illogical-impulse-screencapture ~amd64 -app-misc/illogical-impulse-toolkit ~amd64 -app-misc/illogical-impulse-widgets ~amd64 -x11-misc/matugen ~amd64 -media-fonts/twemoji ~amd64 -app-misc/brightnessctl ~amd64 -app-misc/cliphist ~amd64 -gui-apps/hypridle ~amd64 -gui-apps/hyprlock ~amd64 -gui-apps/hyprpicker ~amd64 -gui-apps/hyprsunset ~amd64 -gui-libs/xdg-desktop-portal-hyprland ~amd64 -gui-apps/hyprshot ~amd64 -gui-apps/wf-recorder ~amd64 -gui-apps/wtype ~amd64 -gui-apps/fuzzel ~amd64 -gui-apps/quickshell ** ~amd64 -gui-apps/wlogout ~amd64 -dev-cpp/sdbus-c++ ~amd64 -dev-libs/hyprland-protocols ~amd64 -gui-libs/aquamarine ~amd64 -gui-libs/hyprutils ~amd64 -dev-util/hyprwayland-scanner ~amd64 -dev-libs/hyprlang ~amd64 -dev-libs/hyprgraphics ~amd64 -gui-libs/hyprcursor ~amd64 -gui-libs/hyprland-qt-support ~amd64 -gui-libs/hyprland-qtutils ~amd64 -gui-wm/hyprland ~amd64 -x11-libs/libxkbcommon ~amd64 -dev-util/breakpad ~amd64 -dev-libs/linux-syscall-support ~amd64 -dev-embedded/libdisasm ~amd64 -kde-plasma/breeze-plus ~amd64 -x11-themes/darkly ~amd64 -x11-themes/adw-gtk3 ~amd64 -media-fonts/space-grotesk ~amd64 -media-fonts/material-symbols-variable ** ~amd64 -media-fonts/readex-pro ~amd64 -media-fonts/rubik-vf ~amd64 -app-misc/songrec ~amd64 diff --git a/sdata/dist-gentoo/qt-keywords-user b/sdata/dist-gentoo/qt-keywords-user deleted file mode 100644 index 9fadb29db..000000000 --- a/sdata/dist-gentoo/qt-keywords-user +++ /dev/null @@ -1,27 +0,0 @@ -dev-qt/qtbase ~amd64 -dev-qt/qtdeclarative ~amd64 -dev-qt/qtlanguageserver ~amd64 -dev-qt/qtsvg ~amd64 -dev-qt/qtshadertools ~amd64 -dev-qt/qttranslations ~amd64 -dev-qt/qttools ~amd64 -dev-qt/qt5compat ~amd64 -dev-qt/qtcore ~amd64 -dev-qt/qtdbus ~amd64 -dev-qt/qtgraphicaleffects ~amd64 -dev-qt/qtgui ~amd64 -dev-qt/qtimageformats ~amd64 -dev-qt/qtlocation ~amd64 -dev-qt/qtmultimedia ~amd64 -dev-qt/qtnetwork ~amd64 -dev-qt/qtpositioning ~amd64 -dev-qt/qtquick3d ~amd64 -dev-qt/qtquickcontrols2 ~amd64 -dev-qt/qtquicktimeline ~amd64 -dev-qt/qtsensors ~amd64 -dev-qt/qtspeech ~amd64 -dev-qt/qttest ~amd64 -dev-qt/qtvirtualkeyboard ~amd64 -dev-qt/qtwayland ~amd64 -dev-qt/qtwayland ~amd64 -dev-qt/qtwidgets ~amd64