Skip to content

Packaging for Debian Trixie#343

Open
dawkagaming wants to merge 1 commit intodanirod:trunkfrom
dawkagaming:debian-trixie
Open

Packaging for Debian Trixie#343
dawkagaming wants to merge 1 commit intodanirod:trunkfrom
dawkagaming:debian-trixie

Conversation

@dawkagaming
Copy link
Copy Markdown
Contributor

Hello, I tried to make .deb package for Debian Trixie and it seems to work fine, you can try to use it if it seems reasonably.

Thanks.

@danirod
Copy link
Copy Markdown
Owner

danirod commented Mar 2, 2026

Let me take a look at it. I was still working on #325, which does something similar but more focused on Ubuntu.

I will re-use things from both pull requests because after all it's the same feature.

The only thing that was pending for 325 was switching to rustup in the build stage instead of using the APT rust. Some of the Cargo dependencies that will be updated in the next cycle already have set Rust 1.91 as the MSRV, thus the system Rust provided by Debian will probably not be enough.

(Fortunately, the compiler version does not influence runtime.)

@dawkagaming
Copy link
Copy Markdown
Contributor Author

dawkagaming commented Mar 4, 2026

Fine, I tried to follow newer Debian standards, like watch file and etc.

Btw, you can use debian trixie-backports repo, which will probably include rust 1.91 soon (now it is 1.90).

One thing I noticed that lintian is disapproving the use of build-in rust libcurl instead of using curl as dependency for the package.

Also I think basing the .deb packages on Debian 13 would be better idea than Ubuntu 24.04 as 26.04 is just around the corner (and Debian Trixie packages will work on both 26.04 and on itself).

Build-Depends:
debhelper (>= 10.0.0),
debhelper-compat (= 13),
rust-all,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this line rust-all dont use trixie-backports for default use main repository rustc = 1.85.

@rsvzz
Copy link
Copy Markdown
Contributor

rsvzz commented Mar 19, 2026

Sorry this pull not working the file rule is not completed. Remote server dont build .deb PPA is goob for ubuntu 24.04 ltc.

@dawkagaming
Copy link
Copy Markdown
Contributor Author

@rsvzz Yeah, I am aware that cartero will soon require newer version of rust (I am not rust programmer, so I don't understand much about it's package manager). To build it for backports style, you would probably need to change "UNRELEASED" to "testing" and use sbuild tool, which will create chroot and build using testing dependencies/packages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants