Aquamarine fails to build because of hyprwayland-scanner dependency. Installing hyprwayland-scanner-git manually, before building, fixes the problem. As a suggestion - leave only hyprwayland-scanner-git as a dep.
Search Criteria
Package Details: aquamarine-git 0.4.0_r213.ga8eb8ae-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/aquamarine-git.git (read-only, click to copy) |
---|---|
Package Base: | aquamarine-git |
Description: | a very light linux rendering backend library |
Upstream URL: | https://github.com/hyprwm/aquamarine-git |
Licenses: | BSD-3-Clause |
Provides: | libaquamarine-git.so |
Submitter: | DawfukFR |
Maintainer: | DawfukFR |
Last Packager: | DawfukFR |
Votes: | 5 |
Popularity: | 2.54 |
First Submitted: | 2024-07-11 00:11 (UTC) |
Last Updated: | 2024-09-08 20:51 (UTC) |
Dependencies (17)
- gcc-libs (gcc-libs-gitAUR, gccrs-libs-gitAUR, gcc11-libsAUR, gcc-libs-snapshotAUR)
- glibc (glibc-gitAUR, glibc-linux4AUR, glibc-eacAUR, glibc-eac-binAUR, glibc-eac-rocoAUR)
- hyprutils (hyprutils-gitAUR)
- hyprwayland-scanner (hyprwayland-scanner-gitAUR)
- libdisplay-info (libdisplay-info-gitAUR)
- libdrm (libdrm-gitAUR)
- libglvnd (libglvnd-gitAUR)
- libinput (libinput-three-finger-dragAUR, libinput-multiplierAUR)
- mesa (amdonly-gaming-mesa-gitAUR, mesa-gitAUR, mesa-minimal-gitAUR, mesa-amber)
- opengl-driver (nvidia-410xx-utilsAUR, nvidia-440xx-utilsAUR, nvidia-430xx-utilsAUR, nvidia-vulkan-utilsAUR, nvidia-525xx-utilsAUR, nvidia-utils-teslaAUR, nvidia-510xx-utilsAUR, nvidia-390xx-utilsAUR, nvidia-470xx-utilsAUR, nvidia-535xx-utilsAUR, nvidia-550xx-utilsAUR, nvidia-utils-betaAUR, amdonly-gaming-mesa-gitAUR, mesa-gitAUR, mesa-minimal-gitAUR, mesa, mesa-amber, nvidia-utils)
- pixman (pixman-gitAUR)
- pugixml (pugixml-gitAUR)
- seatd (seatd-gitAUR)
- systemd-libs (systemd-chromiumos-libsAUR, systemd-libs-fmlAUR, systemd-libs-gitAUR, systemd-libs-selinuxAUR)
- wayland (wayland-gitAUR, wayland-asan-gitAUR, wayland-chromiumAUR)
- wayland-protocols (wayland-protocols-gitAUR)
- cmake (cmake-gitAUR) (make)
Required by (1)
Sources (1)
Latest Comments
arch-mage commented on 2024-09-08 18:05 (UTC) (edited on 2024-09-08 18:06 (UTC) by arch-mage)
GabeDM commented on 2024-09-07 13:46 (UTC) (edited on 2024-09-08 11:55 (UTC) by GabeDM)
If anyone else is having trouble launching hyprland and getting libaquamarine.so.2 No such file or directory or similar
, just launch a TTY and rebuild first aquamarine-git, then hyprland-git, and then reboot as normal:
paru -Syu --rebuild aquamarine-git
paru -Syu --rebuild hyprland-git
after that it should work normally
nktnet commented on 2024-07-22 13:07 (UTC) (edited on 2024-07-25 09:23 (UTC) by nktnet)
Update 25/07/2024
This improved patch has now been merged
Original Comment
If DisplayLink/Evdi isn't working out of the box for multi-monitors, and you are using a single integrated GPU (e.g. intel), see this issue here:
Before applying the workaround patch/hack mentioned in the issue, make sure to properly read the caveat.
DawfukFR commented on 2024-07-21 14:33 (UTC)
It's updated thx for the patch
Virt commented on 2024-07-21 14:17 (UTC)
You can build in a clean chroot to see exactly which dependencies are required by a package, as the chroot doesn't have anything already installed. This is important because certain users, or most unofficial user repositories typically build packages in such a chroot.
In this case, many of the dependencies for aq to build were still missing (like for example the opengl driver, as the error message below says). Here's a patch for the PKGBUILD, with the dependencies to build for me in a clean chroot:
diff --git a/PKGBUILD b/PKGBUILD
index e43c5a2..9309d0d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,7 +8,7 @@ pkgdesc="Aquamarine is a very light linux rendering backend library "
arch=(any)
url="https://github.com/hyprwm/aquamarine"
license=('BSD-3-Clause')
-depends=('pugixml')
+depends=('pugixml' 'seatd' 'wayland-protocols' 'pixman' 'libdisplay-info' 'opengl-driver' 'hyprutils-git' 'libinput')
makedepends=('git' 'cmake' 'gcc' 'hyprwayland-scanner-git')
source=("${_pkgname}::git+https://github.com/hyprwm/aquamarine.git")
provides=("aquamarine")
DawfukFR commented on 2024-07-21 13:50 (UTC)
@Virt what did you have do? I just found some issue with dependancy like hyprwayland-scanner-git but nothing like you
Virt commented on 2024-07-21 12:17 (UTC)
doesn't build in a clean chroot, currently fails with
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:233 (message):
Could NOT find OpenGL (missing: OPENGL_gles2_LIBRARY OPENGL_INCLUDE_DIR
GLES2)
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:603 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake/Modules/FindOpenGL.cmake:579 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:22 (find_package)
Pinned Comments
GabeDM commented on 2024-09-07 13:46 (UTC) (edited on 2024-09-08 11:55 (UTC) by GabeDM)
If anyone else is having trouble launching hyprland and getting
libaquamarine.so.2 No such file or directory or similar
, just launch a TTY and rebuild first aquamarine-git, then hyprland-git, and then reboot as normal:after that it should work normally
nktnet commented on 2024-07-22 13:07 (UTC) (edited on 2024-07-25 09:23 (UTC) by nktnet)
Update 25/07/2024
This improved patch has now been merged
Original Comment
If DisplayLink/Evdi isn't working out of the box for multi-monitors, and you are using a single integrated GPU (e.g. intel), see this issue here:
Before applying the workaround patch/hack mentioned in the issue, make sure to properly read the caveat.