UbuntuBudgie / budgie-extras

Additional Budgie Desktop enhancements for user experience
https://ubuntubudgie.org
GNU General Public License v3.0
175 stars 34 forks source link

Error while installing applets from source #463

Closed Asfhen closed 9 months ago

Asfhen commented 9 months ago

I had a problem while installing where it looks like ninja is not finding files from sub-directories of the applets:

FAILED: budgie-visualspace/data/visualspace-autostart.desktop 
/home/asfhen/Documentos/budgie-extras/budgie-visualspace/data/subst.py ../budgie-visualspace/data/visualspace-autostart.desktop.in /usr/local/lib/budgie-desktop/plugins/budgie-visualspace budgie-visualspace/data/visualspace-autostart.desktop
/bin/sh: linha 1: /home/asfhen/Documentos/budgie-extras/budgie-visualspace/data/subst.py: cannot execute: required file not found
[106/149] gcc -Ibudgie-weathershow/src/get_color/get_color.p -Ibudgie-weathershow/src/get_color -I../budgie-weathershow/src/get_color -I. -I.. -I/nix/store/qvqqqv7m78d8rw8c8ppzgmaxyjiiyw76-glib-2.76.2-dev/include -I/nix/store/qvqqqv7m78d8rw8c8ppzgmaxyjiiyw76-glib-2.76.2-dev/include/glib-2.0 -I/nix/store/2y5qzhx1f24p0lsycarj1a0fy3jad6hk-glib-2.76.2/lib/glib-2.0/include -I/nix/store/ghx59bkps3aq37zd68h7xk2sb213fira-gtk+3-3.24.37-dev/include/gtk-3.0 -I/nix/store/61hknilpx2p1bl61f18ycj0m3dgxz0xs-at-spi2-core-2.48.0-dev/include/atk-1.0 -I/nix/store/ics2nm7chk8v4pg34g1m55q3srpzdcb8-cairo-1.16.0-dev/include/cairo -I/nix/store/rg7qr0ix16kbji46y6qwg1yaldf9wmsc-freetype-2.13.0-dev/include/freetype2 -I/nix/store/rg7qr0ix16kbji46y6qwg1yaldf9wmsc-freetype-2.13.0-dev/include -I/nix/store/xp386a0zxz5ldsry3bqrvfyzijhvdczp-gdk-pixbuf-2.42.10-dev/include/gdk-pixbuf-2.0 -I/nix/store/wrdcfz2snda2f1xsmavlslmar24lx57h-pango-1.50.14-dev/include/pango-1.0 -I/nix/store/zxbkx9jsskchk4yz5snal7y4m6zyhfkd-harfbuzz-7.2.0-dev/include/harfbuzz -I/nix/store/fyv9jdmc14rckqpsgads3bran6dhl2m7-libgee-0.20.6-dev/include/gee-0.8 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w '-DGETTEXT_PACKAGE="budgie-extras"' '-DPKGDATADIR="/usr/local/lib/wingpanel"' -Wl,--start-group -lm -Wl,--end-group -MD -MQ budgie-weathershow/src/get_color/get_color.p/meson-generated_get_color.c.o -MF budgie-weathershow/src/get_color/get_color.p/meson-generated_get_color.c.o.d -o budgie-weathershow/src/get_color/get_color.p/meson-generated_get_color.c.o -c budgie-weathershow/src/get_color/get_color.p/get_color.c
[107/149] valac -C --define=GRANITE5 --define=HANDY1 --pkg libwnck-3.0 --pkg gtk+-3.0 --color=always --directory budgie-visualspace/src/auto_workspace.p --basedir ../budgie-visualspace/src --target-glib=2.38 ../budgie-visualspace/src/auto_workspace.vala
[108/149] gcc -Ibudgie-applications-menu/applications-menu/src/libslingshot.so.p -Ibudgie-applications-menu/applications-menu/src -I../budgie-applications-menu/applications-menu/src -Ibudgie-applications-menu -I/nix/store/qvqqqv7m78d8rw8c8ppzgmaxyjiiyw76-glib-2.76.2-dev/include/glib-2.0 -I/nix/store/2y5qzhx1f24p0lsycarj1a0fy3jad6hk-glib-2.76.2/lib/glib-2.0/include -I/nix/store/qvqqqv7m78d8rw8c8ppzgmaxyjiiyw76-glib-2.76.2-dev/include -I/nix/store/qvqqqv7m78d8rw8c8ppzgmaxyjiiyw76-glib-2.76.2-dev/include/gio-unix-2.0 -I/nix/store/ghx59bkps3aq37zd68h7xk2sb213fira-gtk+3-3.24.37-dev/include/gtk-3.0 -I/nix/store/61hknilpx2p1bl61f18ycj0m3dgxz0xs-at-spi2-core-2.48.0-dev/include/atk-1.0 -I/nix/store/ics2nm7chk8v4pg34g1m55q3srpzdcb8-cairo-1.16.0-dev/include/cairo -I/nix/store/rg7qr0ix16kbji46y6qwg1yaldf9wmsc-freetype-2.13.0-dev/include/freetype2 -I/nix/store/rg7qr0ix16kbji46y6qwg1yaldf9wmsc-freetype-2.13.0-dev/include -I/nix/store/xp386a0zxz5ldsry3bqrvfyzijhvdczp-gdk-pixbuf-2.42.10-dev/include/gdk-pixbuf-2.0 -I/nix/store/wrdcfz2snda2f1xsmavlslmar24lx57h-pango-1.50.14-dev/include/pango-1.0 -I/nix/store/zxbkx9jsskchk4yz5snal7y4m6zyhfkd-harfbuzz-7.2.0-dev/include/harfbuzz -I/nix/store/fyv9jdmc14rckqpsgads3bran6dhl2m7-libgee-0.20.6-dev/include/gee-0.8 -I/nix/store/ig9x099hy07hj2p3c17jfmba0hd8w9i5-granite-6.2.0-dev/include/granite -I/nix/store/j1lp4iczrhix4yizf4fgkhfzwsx99sww-json-glib-1.6.6-dev/include/json-glib-1.0 -I/nix/store/fd18x83wr8vcs3dr4pgsgp98ck6mk1v5-budgie-desktop-10.7.2/include/budgie-desktop -I/nix/store/5n439p5gm0d3xiiwwyx347kx69lrkc8j-libpeas-1.36.0-dev/include/libpeas-1.0 -I/nix/store/vnw3bsp3i46lf6v11409jkzgbvayn1q0-gobject-introspection-1.76.1-dev/include/gobject-introspection-1.0 -I/nix/store/y51mhi6ryfka80haxdp4r95h9pz5xx2i-libhandy-1.8.2-dev/include/libhandy-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w '-DGETTEXT_PACKAGE="budgie-extras"' '-DPKGDATADIR="/usr/local/lib/wingpanel"' -fPIC -pthread -DHANDY_USE_UNSTABLE_API -include config.h -MD -MQ budgie-applications-menu/applications-menu/src/libslingshot.so.p/meson-generated_synapse-plugins_system-managment.c.o -MF budgie-applications-menu/applications-menu/src/libslingshot.so.p/meson-generated_synapse-plugins_system-managment.c.o.d -o budgie-applications-menu/applications-menu/src/libslingshot.so.p/meson-generated_synapse-plugins_system-managment.c.o -c budgie-applications-menu/applications-menu/src/libslingshot.so.p/synapse-plugins/system-managment.c
[109/149] gcc -Ibudgie-weathershow/src/desktop_weather/desktop_weather.p -Ibudgie-weathershow/src/desktop_weather -I../budgie-weathershow/src/desktop_weather -I/nix/store/qvqqqv7m78d8rw8c8ppzgmaxyjiiyw76-glib-2.76.2-dev/include -I/nix/store/qvqqqv7m78d8rw8c8ppzgmaxyjiiyw76-glib-2.76.2-dev/include/glib-2.0 -I/nix/store/2y5qzhx1f24p0lsycarj1a0fy3jad6hk-glib-2.76.2/lib/glib-2.0/include -I/nix/store/ghx59bkps3aq37zd68h7xk2sb213fira-gtk+3-3.24.37-dev/include/gtk-3.0 -I/nix/store/61hknilpx2p1bl61f18ycj0m3dgxz0xs-at-spi2-core-2.48.0-dev/include/atk-1.0 -I/nix/store/ics2nm7chk8v4pg34g1m55q3srpzdcb8-cairo-1.16.0-dev/include/cairo -I/nix/store/rg7qr0ix16kbji46y6qwg1yaldf9wmsc-freetype-2.13.0-dev/include/freetype2 -I/nix/store/rg7qr0ix16kbji46y6qwg1yaldf9wmsc-freetype-2.13.0-dev/include -I/nix/store/xp386a0zxz5ldsry3bqrvfyzijhvdczp-gdk-pixbuf-2.42.10-dev/include/gdk-pixbuf-2.0 -I/nix/store/wrdcfz2snda2f1xsmavlslmar24lx57h-pango-1.50.14-dev/include/pango-1.0 -I/nix/store/zxbkx9jsskchk4yz5snal7y4m6zyhfkd-harfbuzz-7.2.0-dev/include/harfbuzz -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w '-DGETTEXT_PACKAGE="budgie-extras"' '-DPKGDATADIR="/usr/local/lib/wingpanel"' -Wl,--start-group -lm -Wl,--end-group -MD -MQ budgie-weathershow/src/desktop_weather/desktop_weather.p/meson-generated_desktop_weather.c.o -MF budgie-weathershow/src/desktop_weather/desktop_weather.p/meson-generated_desktop_weather.c.o.d -o budgie-weathershow/src/desktop_weather/desktop_weather.p/meson-generated_desktop_weather.c.o -c budgie-weathershow/src/desktop_weather/desktop_weather.p/desktop_weather.c
[110/149] valac -C --define=GRANITE5 --define=HANDY1 --pkg libpeas-gtk-1.0 --pkg libwnck-3.0 --pkg gdk-x11-3.0 --pkg budgie-1.0 --pkg gtk+-3.0 --color=always --directory budgie-visualspace/src/libvisualspace.so.p --basedir ../budgie-visualspace/src --library visualspace --header budgie-visualspace/src/visualspace.h --vapi ../visualspace.vapi --pkg=config --vapidir=/home/asfhen/Documentos/budgie-extras/vapi --target-glib=2.38 ../budgie-visualspace/src/visualspace.vala
ninja: build stopped: subcommand failed.

It's really weird because I know the files are there, if anyone can help me with this, I'm not really versed in scala, meson and ninja, Here is a print for showing the files are there. image

fossfreedom commented 9 months ago

Where is your distro's budgie-desktop installed?

For Debian and Ubuntu it is /usr/lib/budgie-desktop

Therefore you need to compile like this

meson --prefix=/usr --libdir=/usr/lib
ninja
sudo ninja install
fossfreedom commented 9 months ago

Closing due to the lack of feedback