[Pkg-rust-maintainers] rust-gestreamer-player sys license questions

Sean Whitton spwhitton at spwhitton.name
Sun Aug 21 23:03:09 BST 2022


Hello,

On Sun 21 Aug 2022 at 09:31PM +03, Sebastian Dröge wrote:

> So this basically would mean that in the least, each of the packages
> mentioned needs to ship
>
>   - the exact versions of the C code of every relevant library
>   - the exact version of gobject-introspection that was used for
>     generating the .gir files
>   - the exact version of the gir code generator used for generating
>     the Rust code
>
> Note that the versions might differ between different packages, e.g.
> latest rust-gtk might use a different (but API-compatible) version of
> the code generator than rust-gstreamer.
>
> This seems possible to do but not really scalable or sensible. Also you
> would probably complain that there are many different copies of the
> same code in different versions in the source packages.

We accept multiple copies of the code when it's the only option.  It's
not a DFSG issue.

>> > 2. Generated Rust source code
>> > -----------------------------
>> >
>> > The above-mentioned .gir files are passed through the gir tool:
>> >   https://github.com/gtk-rs/gir
>> >
>> > This generates the autogenerated code we're talking about here.
>>
>> Right, the generated Rust is more significant than the .gir issue
>> here.
>
> Why? The .gir file contains the same information as the e.g. rust-
> gstreamer-sys src/lib.rs file in a different format.

I was just thinking that it's the issue that's novel with this package.

> If the end result is that it's not really feasible to package any of
> these packages for Debian then I guess that's just how it is until
> these rules are updated for "modern" (i.e. 20 years, see gtk-sharp)
> practices.

The idea is that Debian main is self-contained, which is not really
about development practices.  Hopefully we can come up creative ways to
accommodate packages that make keeping Debian main self-contained more
difficult.  We've done it before :)

-- 
Sean Whitton
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 869 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-rust-maintainers/attachments/20220821/45ace7de/attachment.sig>


More information about the Pkg-rust-maintainers mailing list