Skip to content

Packaging in Debian and derivates #34

@Fantu

Description

@Fantu

Hi, this is a very useful tool and I think is good to have in official repository of Debian and derivates.

There is an RFP opened 3 years ago but nobody worked on it, so I'm trying to package it, even if I don't have any experience for D language.

Unfortunately even the essential packages for the dlang build are recently poorly maintained and were dropped from testing due to RC errors, they have just been fixed and returned to testing.
Remains uninstallable dub even in unstable, with the new version waiting for upload, I build manually to proceed.

I did a very fast test to see if can build btdu and was successful create first very basic package btdu with binary and man and another automatic for debug:
https://salsa.debian.org/fantu/btdu

Now there is all packaging to do good following the Debian policy, I'm working on uploading other packages I maintain, so I'm not sure if I'll have time today.

On build log I saw that build also containers, out of btdu so I think I'll need to use it from the Debian package instead: https://tracker.debian.org/pkg/dcontainers
Also this has RC bug for fails to build and I'll need to check.
Unfortunately, with the main maintainer seemingly inactive the Dlang packages don't seem to be supported enough, although someone is doing some fixes.
I hope they are all ok before the freeze for Debian 13.

Outside the Debian packaging itself which I should have enough experience with, given my experience with D language is nothing could be useful some advice on possible improvements.
For example on the first test I did very fast I used dub with some override on d/rules, I didn't find other Debian packages using it so I suppose will need improvement: https://salsa.debian.org/fantu/btdu/-/blob/debian/latest/debian/rules?ref_type=heads

Any advice and opinion is welcome, thanks for any reply and sorry for my bad english.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions