-
-
Notifications
You must be signed in to change notification settings - Fork 154
Open
Description
Hello! I'm not sure if this is supported in this environment, but I would really like to try to make this work. I am using Fedora on a M2 Macbook Air (Asahi linux).
I have installed the dependencies first (cloned astal, then installed lib/astal/{gtk3,gtk4,io} with meson. Just to be sure I installed the rest of the libs as well. Finally cloned ags, npm install, and then used meson once again. No issues until this point.
When I try to init a new project I get an error when generating types. When running the command myself, this is the output
Adding generics...
Injecting types...
[TypeIdentifier] WARN: Attempting to fall back on c:type inference for GLib.gintptr
[TypeIdentifier] ERROR: Unable to resolve type gintptr in same namespace GLib!
[conflicts] WARN: Type conflict (field_property): destroy Field/property name conflict
[TypeIdentifier] WARN: Attempting to fall back on c:type inference for Gio.pid_t
[TypeIdentifier] ERROR: Unable to resolve type pid_t in same namespace Gio!
[TypeIdentifier] WARN: Attempting to fall back on c:type inference for Gio.uid_t
[TypeIdentifier] ERROR: Unable to resolve type uid_t in same namespace Gio!
[TypeIdentifier] WARN: Attempting to fall back on c:type inference for Gio.uid_t
[TypeIdentifier] ERROR: Unable to resolve type uid_t in same namespace Gio!
[conflicts] WARN: Type conflict (field_property): flags Field/property name conflict
When running any file (such as the examples) I get this output:
$ ags run app.tsx
(gjs:17212): Gjs-CRITICAL **: 00:20:32.746: JS ERROR: Error: Requiring Astal, version 4.0: Typelib file for namespace 'Astal', version '4.0' not found
require@resource:///org/gnome/gjs/modules/esm/gi.js:16:28
@gi://Astal:3:25
(gjs:17212): Gjs-CRITICAL **: 00:20:32.746: Module file:///run/user/1000/ags.js threw an exception
error: exit status 1
Is this a known issue? I would appreciate any pointer.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels