WillPower3309 / swayfx

SwayFX: Sway, but with eye candy!
MIT License
1.32k stars 49 forks source link

Package updates are broken after scenefx rebase #285

Closed eerii closed 5 months ago

eerii commented 5 months ago

Please fill out the following:

# Arch (paru -S swayfx-git)
==> Iniciando build()...
+ exec meson setup --prefix /usr --libexecdir lib --sbindir bin --buildtype plain --auto-features enabled --wrap-mode nodownload -D b_pie=true -D python.bytecompile=1 -Dwerror=false -Dsd-bus-provider=libsystemd swayfx build
The Meson build system
Version: 1.4.0
Source dir: /home/eri/.cache/paru/clone/swayfx-git/src/swayfx
Build dir: /home/eri/.cache/paru/clone/swayfx-git/src/build
Build type: native build
Project name: sway
Project version: 0.3.3
C compiler for the host machine: sccache cc (gcc 13.2.1 "cc (GCC) 13.2.1 20230801")
C linker for the host machine: cc ld.bfd 2.42.0
Host machine cpu family: x86_64
Host machine cpu: x86_64
Neither a subproject directory nor a scenefx.wrap file was found.
Subproject  scenefx is buildable: NO (disabling)
Found pkg-config: YES (/usr/bin/pkg-config) 2.1.1
Found CMake: /usr/bin/cmake (3.29.2)
Run-time dependency scenefx found: NO (tried pkgconfig and cmake)

swayfx/meson.build:44:10: ERROR: Dependency "scenefx" not found, tried pkgconfig and cmake
# NixOS flake
error: builder for '/nix/store/26zjsj92jfmgdfbcjxf4q48bdpp95hzy-swayfx-unwrapped-0.3.2-git.drv' failed with exit code 1;
       last 10 log lines:
       > Neither a subproject directory nor a scenefx.wrap file was found.
       > Subproject  scenefx is buildable: NO (disabling)
       > Found pkg-config: YES (/nix/store/fyxva0kkcmaigwk4218l0zdy8z3s9sj3-pkg-config-wrapper-0.29.2/bin/pkg-config) 0.29.2
       > Did not find CMake 'cmake'
       > Found CMake: NO
       > Run-time dependency scenefx found: NO (tried pkgconfig)
       >
       > meson.build:44:10: ERROR: Dependency "scenefx" not found, tried pkgconfig
ErikReider commented 5 months ago

We're in the middle of fixing this. Should be fixed shortly! :D

eerii commented 5 months ago

That's awesome! Thank you so much ^u^

swwwee commented 5 months ago

In project root, you can do:

mkdir subprojects && cd subprojects/
git add submodule "https://github.com/wlrfx/scenefx"
git submodule init && git submodule update

It might require wlroots ~17.2 as a submodule as well. Although it passes build (don't enable pgo), on startup I personally get an error about 'libscenefx.so' missing, so I do not think it is getting linked correctly.

I have just started using the project after Nvidia fixed their regression, and this is the only thing that is similar to i3 with picom. Although it is behind sway and there is a lot of issues, I cannot go back after getting a hit of the general "snappiness" of Wayland.

ErikReider commented 5 months ago

Fixed now! :)