On Thu, Feb 01, 2024 at 06:08:07PM +0100, Alexander Kjäll wrote: > Hi and welcome > > Nice that you want to package more sequoia things, me and H0lger are > currently working on getting sequoia-chameleon-gnupg into Debian. > > maybe sequoia-octopus-librnp can be a good inspiration source for a cdy-lib. > > If you want to chat about it on irc, both the debian-rust channel and > the sequoia one are pretty active. I'd love to chat about this on irc. It may be a few days before I can get back to this, but I'll hit you up. -Loren @penguin359 > > //Alex > > Den tors 1 feb. 2024 kl 16:47 skrev Loren M. Lang <lorenl@north-winds.org>: > > > > On Thu, Feb 01, 2024 at 03:53:42PM +0100, Matthias Geiger wrote: > > > Am 01.02.24 um 05:40 schrieb Loren M. Lang: > > > > Hello, > > > > > > > > I am working on packaging my first Rust-based Debian package. It will be > > > > a cdylib type crate for another package written in C. It also depends on > > > > at least one lib crate that is not yet packaged for Debian. > > > > > > > > I'm going through the Wiki guide to create an appropriate Debian package > > > > from the debcargo-conf repo scripts. My first question is if this is > > > > just for lib-type crates or should it also be used for cdylib? Second, > > > > are there some good template packages I can look at to provide a > > > > reference for making a cdylib package? > > > > > > > Hi Loren, > > > > > > thanks for reaching out. Is the cdylib published on crates.io ? if so, you > > > can package and maintain it within the Rust team (our workflow is tailored > > > around crates.io; we haven't decided yet how to support other upstreams than > > > crates.io). > > > > Yes, this is the primary package I am targetting: > > > > https://crates.io/crates/rpm-sequoia > > > > It also depends on this lib crate that is not yet packaged: > > > > https://crates.io/crates/cdylib-link-lines > > > > > > > > For an example on how to do the actual packaging, check out the rust-rav1e > > > source package. It builds a cdylib. We actually discussed this at the last > > > team meet, I will write a wiki page about that once I get around to it. > > > > > > If the cdylib is not on crates.io this will be a bit more involved; if > > > that's the case it would need its separate repository and a custom d/rules > > > tweak. Feel free to ask here or on the #debian-rust irc on oftc if you got > > > any more questions. > > > > > > > > > best, > > > > > > -- > > > Matthias Geiger <werdahias> > > > Debian Maintainer > > > "Freiheit ist immer Freiheit des anders Denkenden" -- Rosa Luxemburg > > > > > > > > > > > > > > > > > -- > > Loren M. Lang > > lorenl@north-winds.org > > http://www.north-winds.org/ > > > > > > Public Key: http://www.north-winds.org/lorenl_pubkey.asc > > Fingerprint: 7896 E099 9FC7 9F6C E0ED E103 222D F356 A57A 98FA > -- Loren M. Lang lorenl@north-winds.org http://www.north-winds.org/ Public Key: http://www.north-winds.org/lorenl_pubkey.asc Fingerprint: 7896 E099 9FC7 9F6C E0ED E103 222D F356 A57A 98FA
Attachment:
signature.asc
Description: PGP signature