On Thu, Mar 27, 2025 at 4:03 PM Tianyu Chen <billchenchina2...@gmail.com> wrote:
> Understood. I'll take a look at the generators later.

The generator is complicated and I would not recommend working on this
to someone who is new to Debian packaging. But if you are really
interested in some technical details…

The packaged Rust generator is at
https://tracker.debian.org/pkg/gir-rust-code-generator

An example of how it is used is with
https://tracker.debian.org/pkg/rust-glib . The Debian Rust team uses a
monorepo with generated debian/ files so I recommend clicking the
"browse source code" link there instead of using the VCS link. And
then you can browse to the debian/rules file. The GNOME Typescript
generator build may look very different but that's the closest thing
we have in concept to what we're doing.

We may end up with multiple binary packages looking something like
what exists for https://tracker.debian.org/pkg/gtk-d or maybe we group
it all together in one or a few binary packages like is done for
https://tracker.debian.org/pkg/vala

Thank you,
Jeremy Bícha

Reply via email to