ErikReider / SwayNotificationCenter

A simple GTK based notification daemon for SwayWM
GNU General Public License v3.0
1.15k stars 59 forks source link

[Bug] gtk-layer-shell not found error while compiling live version. #358

Closed mrpingo closed 6 months ago

mrpingo commented 6 months ago

Describe the bug Compile error: error: Package `gtk-layer-shell-0' not found in specified Vala API directories or GObject-Introspection GIR directories

To Reproduce Steps to reproduce the behavior: Just compile the live version of SwayNC

Expected behavior No errors while compiling

Please provide logs if you're experiencing notification errors / bugs The important snippet of log code while compiling from sources (LIVE VERSION):

... Run-time dependency gtk-layer-shell-0 found: YES 0.8.1 ... error: Package `gtk-layer-shell-0' not found in specified Vala API directories or GObject-Introspection GIR directories Compilation failed: 1 error(s), 0 warning(s) ...

Complete log is attached as a file. SwayNC-9999-build.log

Desktop (please complete the following information):

Additional context This issue happened after a change in code this week. From a day to the next one couldn't compile it.

PS: Many thanks for keep improving this useful tool.

Regards

ErikReider commented 6 months ago

I'm not sure how the compilation in Gentoo works but this might help: https://github.com/ErikReider/SwayNotificationCenter/issues/356#issuecomment-1863777438

I bumped some dependency version requirements and added some. The readme specifies all of the dependencies

mrpingo commented 6 months ago

Hello! just recompiled gtk-layer-shell with vala suport as the #356 says and everything just compiled fine! and also the icons is shown pretty neat! I am going to add this change to my local repo ebuild to make sure this keep recompiling.

Awesome!