On Fri, Mar 28, 2025, 3:36 AM Jeremy Bícha <jeremy.bi...@canonical.com> wrote:
> On Thu, Mar 27, 2025 at 3:17 PM Tianyu Chen <billchenchina2...@gmail.com> > wrote: > > The problem is caused by the low node-typescript version. I managed to > > successfully build the gnome-team/decibels version with a local-packaged > > node-typescript_5.8.2+ds1_0local1.(Currently Debian only has 4.9.5 in > > sid and 5.0.4 in exp) > > I noticed that the Fedora package specified a fairly high version > number for their equivalent of node-typescript. Thank you for > confirming. > > Could you ask the Debian node-typescript maintainers if they could > upload a newer version to Experimental? > > Probably the most difficult part of packaging Decibels will be how to > handle the vendored gi-types. Based on our experience with Rust, we > may need to package the generator. > Ah, sorry I think I missed your point in my previous message. Do you mean we should exclude the gi-types directory and package generate the types in build stage and using a generator you mentioned? Do I get you right? Either the archived one that Decibels is currently using > https://github.com/gjsify/gi.ts > > or the new one that Decibels isn't using yet > https://github.com/gjsify/ts-for-gir > > The switch is mentioned at > https://gitlab.gnome.org/GNOME/decibels/-/merge_requests/128 > > This means that the first GNOME Typescript app will be the most > difficult to package. After that, the others should be much easier. > > Figuring out how to handle the generator and its output is the part > that I expect to take a long time. > > Thank you, > Jeremy Bícha >