darlinghq / darling

Darwin/macOS emulation layer for Linux
http://www.darlinghq.org
GNU General Public License v3.0
11.4k stars 440 forks source link

Change debian source format to 3.0(native) #1459

Open mikhirev opened 9 months ago

mikhirev commented 9 months ago

Hi!

In the debian/source/format file a package format is specified as 3.0(quilt). This format usually means that there is an original source tarball without the debian subdirectory, and that a set of quilt patches must be applied to it if exists under debian/patches. This means that before building one need to create a *.orig.tar.* archive.

For sources that already have the debian subdirectory and that don't require patching, the 3.0(native) format should be used. Using it allows to avoid creating an unneeded tarball before building package. Please consider changing source format to 3.0(native).

Explanation about native and non-native packages:

A native source package is one that does not distinguish between Debian packaging releases and upstream releases. A native source package contains a single tar file of source material, and the versioning does not have a Debian-specific component. Native packages are normally (but not exclusively) used for software that has no independent existence outside of Debian, such as software written specifically to be a Debian package.

A non-native source package separates the upstream release from the Debian packaging and any Debian-specific changes. The source in a non-native source package is divided into one or more upstream tar files plus a collection of Debian-specific files. (Depending on the format of the source package, those Debian-specific files may come in the form of another tar file or in the form of a compressed diff.) The version of a non-native package has an upstream component and a Debian component, and there may be multiple Debian package versions associated with a single upstream release version and sharing the same upstream source tar files.

System Information Debian 12 bookworm

Software Version
Darling 34351655a40d2090e70b3033a577b8cdea967633