deb3(1)
β¨ deb3 β the glow-up your source package has been waiting for β¨
okay bestie, so you've got a deb3 situation. it's a General Commands Manual page, and it's literally the makeover artist for your debian source package. let's get into it π
πΈ NAME πΈ
deb3 β converts a debian source package to the new 3.0 (quilt) format π¦
π SYNOPSIS π
deb3 [quilt|0|1|2]
π DESCRIPTION π
so here's the tea: deb3 takes debian source packages that use a series of patches and converts them from the 1.0 format to the new 3.0 (quilt) format, while also adjusting the contents in debian/patches. it's giving transformation arc, fr fr β¨
you run this from the package top level directory. and if you run it with no argument at all, deb3 just guesses your source structure β she's intuitive like that π
. these are the formats she auto-detects:
dh_quilt_patch/dh_quilt_unpatchπΈcdbs(simple-patchsys.mk) πdbs(dbs-build.mk) π¦
π ARGUMENT π
you can force a particular conversion by passing an argument, if you're the type who likes to be in control (respect π).
quiltβ conversion fordh_quilt_patch/dh_quilt_unpatchπ§΅0β conversion fordbsandcdbsmade with-p 0patches (this is the default) π1β conversion fordbsandcdbsmade with-p 1patches β¨2β conversion fordbsandcdbsmade with-p 2patches π
π₯ TERMINATING THE CONVERSION π₯
bestie. listen. deb3 is only a starting point. after she runs, your package still needs more work. do not @ me. π
the typical changes you're gonna have to make:
Build-Depends:β you should removecdbsandquilt. instead, you should adddebhelper (>= 7.0.50~)π- add
override_dh_*targets todebian/rulesto handle your special cases π - remove
--with quiltfrom thedebian/rules, if it uses thedh $@syntax βοΈ
there's a whole tutorial for packaging with this new dh $@ style and the new 3.0 (quilt) source format, and it lives in the maint-guide package. it's also available at:
http://www.debian.org/doc/manuals/maint-guide/index.en.html
go read it, it's lowkey iconic πβ¨
π COPYRIGHT π
- (c) Osamu Aoki, 2010, GPL2+ π
- (c) gregor herrmann, 2007-2008, GPL2+ π
- (c) Damyan Ivanov, 2007-2008, GPL2+ π
- (c) Martin Quinson, 2008, GPL2+ π
and that's the whole page, bestie π«Ά this one's from deb3, dated Dec 25, 2012 β happy holidays to whoever scheduled that release, and remember: deb3(1) forever, no cap πβ¨π
π¦ where this page comes from
- ubuntu resolute: quilt 0.69-0.1 Β· GPL-2.0-or-later
- ubuntu stonking: quilt 0.69-0.1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms