[Rhythmbox-devel] Rhythmbox And Vala - Questions:

Hello List,

I'm new to this so please excuse me if this isn't the right forum to
discuss this. And sorry if some of these are stupid questions.

I've been working on automating the creation of Rhythmbox Vala plugin
bindings following some work Michal Hruby did, and have some general
questions about Rhythmbox's expectations and future intentions vis a vis

Vala bindings bug with script:

Now, putting aside the state of the current bindings script for a

(1) Does Rhythmbox ever intend to ship .vapi files that will allow
compilation of out-of-tree plugins?

Basically this would mean publishing a .pc, header files and the
relevant .vapi files in the appropriate system locations

(2) Maintenance of the bindings - currently the Vala tools for
automating the .vapi file generation (vapigen) are a little weak on
automation - for example you must explicitly hide artefacts - which
makes maintaining a plugin API rather a pain. What is needed for
Rhythmbox to consider bindings generation maintainable?

Assuming we can get some patches to the Vala tools to "autohide" any
newly added artefacts - would this make automation of binding generation

I'm guessing that the bindings regeneration (if automated) should be
re-done based on a dependency with the librhythmbox-core library - if
it's newer than some timestamp of the .vapi creation, we re-generate the

(3) If auto-generation of the .vapi files is not considered feasible -
what mechanism will be used to create / maintain them?

I'm sure the devs have given this more thought than I have, and for the
moment I'm a little unsure what's the best way to proceed.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]