Skip to content
This repository has been archived by the owner on May 19, 2022. It is now read-only.

Build src deb #40

Closed
spacekookie opened this issue Jan 16, 2018 · 5 comments
Closed

Build src deb #40

spacekookie opened this issue Jan 16, 2018 · 5 comments

Comments

@spacekookie
Copy link

I want to easily put my software into a ppa, which requires me to build a src deb. I'm not super experienced with debian packaging but that sounds like the kind of thing that could be a by-product of this crate?

Is that possible?

@messense
Copy link
Contributor

messense commented Jan 16, 2018

FYI, Structure of a Source Package, should be possible to implement it in cargo-deb I think?

Also: https://www.debian.org/doc/debian-policy/#document-ch-source

@kornelski
Copy link
Collaborator

kornelski commented Jan 16, 2018

Try https://crates.io/crates/debcargo


Currently cargo-deb can't make source packages.

I wouldn't mind developing such functionality, but I don't know enough about Debian's requirements for the source packages.

My problem is that there's a lot of documentation for deb-src packages, but it's hard to know which ones are up to date and relevant for Rust. Also lots of deb guides assume you use existing Perl-based tooling, but I think having Cargo-deb being pure Rust is much easier for Rust users.

Can you help figuring out how does Debian prefer Rust source packages to be structured and built? Is there an existing good Rust-based project in Debian that I could look at?

@mmstick
Copy link
Owner

mmstick commented Jan 16, 2018

@infinity0
Copy link

@kornelski
Copy link
Collaborator

I'm going to leave out src packages. There's https://lib.rs/crates/debcargo for this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants