Artix Linux Forum

Artix Linux => Applications & Software => Topic started by: Worm_Jim on 08 April 2024, 14:13:29

Title: [SOLVED] Get swayfx
Post by: Worm_Jim on 08 April 2024, 14:13:29
Hello.

Does anyone here use swayfx (https://github.com/WillPower3309/swayfx) on their artix? For some reason, Swayfx drags along libsystemd for assembly, which I don’t want to install at all...

So, can anyone share some advice or even PKGBUILD with me?

PS. Sorry if I posted in the wrong place.
Title: Re: Get swayfx
Post by: gripped on 08 April 2024, 23:44:09
PKGBUILD
Line 62: Change to
Code: [Select]
		-Dsd-bus-provider=libelogind \
Title: Re: Get swayfx
Post by: Worm_Jim on 09 April 2024, 02:49:38
Only need to change one line? What about lines 47 and 68? I tried to build the package using makepkg but got an error

Code: [Select]
==> ERROR: install file (sway.install) does not exist or is not a regular file.

Where can I get the sway.install file?

===

So, I found sway.install in this repository (https://gitea.artixlinux.org/packages/sway), but I don't know if it will work...

Now when I try to build I get an error

Code: [Select]
==> ERROR: Cannot find the debugedit binary required for including source files in debug packages.

I tried commenting out the options=(debug) line and now I get

Code: [Select]
==> ERROR: 50-systemd-user.conf was not found in the build directory and is not a URL.

If I comment out this line I get this

Code: [Select]
==> ERROR: sway-portals.conf was not found in the build directory and is not a URL.

I'll try to take sway-portals.conf from the repository where I took sway.install... Swears even if you put "SKIP" everywhere

Code: [Select]
==> ERROR: Integrity checks (sha512) differ in size from the source array.
Title: Re: Get swayfx
Post by: gripped on 09 April 2024, 11:15:33
Sorry I had one of those moments where I thought I'd read something that wasn't actually there.

I'm talking about the PKGBUILD from swayfx on the AUR (https://aur.archlinux.org/packages/swayfx)
Title: Re: Get swayfx
Post by: Worm_Jim on 09 April 2024, 11:29:20
I'm talking about the PKGBUILD from swayfx on the AUR (https://aur.archlinux.org/packages/swayfx)
Yes, that's what I'm trying to install! I have already described all my attempts in the previous message.
Title: Re: Get swayfx
Post by: gripped on 09 April 2024, 12:14:09

If I comment out this line I get this

Code: [Select]
==> ERROR: sway-portals.conf was not found in the build directory and is not a URL.

I'll try to take sway-portals.conf from the repository where I took sway.install... Swears even if you put "SKIP" everywhere

Code: [Select]
==> ERROR: Integrity checks (sha512) differ in size from the source array.
You need all the build files not just the PKGBUILD
https://aur.archlinux.org/cgit/aur.git/snapshot/swayfx.tar.gz

Or what I just did was use yay to download them all for me
Code: [Select]
yay -G swayfx

The package builds after editing the line I mentioned.

However you will still maybe need to look at what 50-systemd-user.conf does and replicate that as that file will do nothing on artix. Looks to be some environment variables.
Title: Re: Get swayfx
Post by: doheka on 09 April 2024, 15:13:22
I can't build
Title: Re: Get swayfx
Post by: gripped on 09 April 2024, 17:15:24
Way too much detail.
Title: Re: Get swayfx
Post by: Worm_Jim on 17 April 2024, 13:56:31
I never managed to launch swayfx, because during assembly it first complains about one thing, then another, then a third, then a fourth... I'm tired of it! Installed hyprland.