-
-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mousai not work with meson build #22
Comments
hmm, is libadwaita installed with introspection enabled? |
Well I have installed "gtk4" plus "introspection" as a dependency. But i am not sure if i need enable something.? |
where did you install libadwaita from? The introspection thingy should be enabled on when libadwaita is built. -Dinstrospection as a flag i think |
I download from: git clone https://gitlab.gnome.org/GNOME/libadwaita.git |
I have no idea why, have you rebooted after installing libadw? |
I checked meson config it showing that "introspection" is on "auto" so i going to rebuild with "introspection" true flag. may be it fixed. |
okay, thanks |
I rebuilded libadwaita with -Dinstrospection=enabled but same is not work : ( purism@carlosgonz:~$ mousai Traceback (most recent call last): File "/usr/local/bin/mousai", line 30, in
File "/usr/local/share/mousai/mousai/main.py", line 9, in
File "/usr/lib/python3/dist-packages/gi/init.py", line 126, in require_version
ValueError: Namespace Adw not available |
:( Do you mind using flatpak-builder? It should be able to handle very dependencies without all these problems |
Flatpak does work, but i wanted to install it by using meson, because with meson build the apps boot faster, Flatpaked is slow boot here. : ( |
May be you need to add libadwaita to required dependecies.? |
ill add it |
added it in latest commit |
Thank you, i will check if work this time. |
purism@carlosgonz:~/Documents/Mousai$ meson build Found ninja-1.10.1 at /usr/bin/ninja purism@carlosgonz:~/Documents/Mousai/build$ mousai |
now, that's weirder. It definitely detected libadwaita, but idk why python doesn't ill try to build it tomorrow with meson, and troubleshoot |
This error happens with ALL Python apps like too https://github.com/ExposedCat/Meowgram. |
try https://gitlab.gnome.org/World/PasswordSafe/-/tree/master it is also in python, but it may be build differently |
tootle is written in vala so it uses vapi, which writes C code directly without having to go through instrospection like python/pygobject |
Let me check something first on Libwaita, i see a error on python related, i am going recompiling adw again. |
I still troubleshooting purism@carlosgonz:~/Documents/libadwaita/build$ ninja xml-stripblanks preprocessing requested, but XMLLINT is not set, and xmllint is not in PATH [2/135] Generating adw-resources_c with a custom command [5/135] Generating adwaita-demo-resources_h with a custom command [9/135] Generating adwaita-demo-resources_c with a custom command xml-stripblanks preprocessing requested, but XMLLINT is not set, and xmllint is not in PATH [126/135] Generating libadwaita-doc with a custom command --config=doc/libadwaita.toml --output-dir=doc/libadwaita-1 --no-namespace-dir --content-dir=/home/purism/Documents /libadwaita/doc src/Adw-1.gir Traceback (most recent call last): File "/usr/local/bin/gi-docgen", line 14, in
ModuleNotFoundError: No module named 'gidocgen' [131/135] Compiling C object tests/test-tab-view.p/test-tab-view.c.o ninja: build stopped: subcommand failed. purism@carlosgonz:~/Documents/libadwaita/build$ |
OK if i use: pip install gi-docgen this ninja error is not happening but meson does not detecting gi-docgen as a primary, so i installed gi-docgen manually, then ninja error. Let see what going on... |
I checked on aur, and it seems to work there normally. Check the pkgbuild file of libadwaita, if it may help. https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=libadwaita-git |
I didn't fully read this but a) install via your proper package manager, not manually (pacman if your on Arch), b) install python packages too for those libraries |
Pure OS still not ship Libadwaita, that is why i am doing adw manually. |
Hi, there has been changes with the build system. This probably has been fixed. But feel free to open if it still exist, thanks! |
I have already installed manually libadwaita 1.0.0alpha2
what happening here?
purism@carlosgonz:~/Documents/Mousai-0.4.4/build$ mousai
Traceback (most recent call last):
File "/usr/local/bin/mousai", line 30, in
File "/usr/local/share/mousai/mousai/main.py", line 9, in
File "/usr/lib/python3/dist-packages/gi/init.py", line 126, in require_version
ValueError: Namespace Adw not available
The text was updated successfully, but these errors were encountered: