I am learning GJS with GTK4 and I have a problem launching my test application with flatpak:
JS ERROR: Error: Requiring Gda, version none: Typelib file for namespace 'Gda' (any version) not found
I’ve been looking for several days for information about how to install these dependencies but I’ve only found how to install them in debian with apt, but it doesn’t work, I understand that it’s because of the way the app is launched:
flatpak run org.flatpak.Builder --force-clean --user --install builddir com.domain.myapp.yml;flatpak run com.domain.myapp
You need to add the dependency to your com.domain.myapp.yml manifest.
You can probably do a search in the “flathub” org on GitHub to see if any other apps have that dependency, and adapt what they do.
Thanks Philip, I’m looking in github and gitlab but I can’t find any application in gjs that uses gda and has the dependency defined in the manifest. I’ll keep looking, if I have luck I’ll let you know. Thank you very much!