This repository builds Ubuntu source packages for diff-so-fancy. Launchpad builds the binary packages for the PPA.
sudo add-apt-repository ppa:aos1/diff-so-fancy
sudo apt update
sudo apt install diff-so-fancyRequirements:
- Docker
- Nix, or
devscripts,gnupg, anddputinstalled on the host - A signing key registered with your Launchpad account
nix developThe shell uses your existing host GPG keyring. Docker must be installed and running separately.
-
Update
debian/changelogwith the upstream version, a new package revision, and the target Ubuntu series. For example:dch --newversion 1.4.4-1ubuntu2~noble1 --distribution noble "Rebuild for Noble."The existing changelog targets
bionic. Change it before publishing to a different series. Use distinct package versions for uploads to different series; never reuse an already published version. -
Build the unsigned source package:
./build.sh
The default image is
ubuntu:24.04(Noble). Select another image to match your target series:./build.sh -i docker.io/library/ubuntu:22.04
The image does not change the changelog's target series or version. The build downloads the exact upstream version from the changelog, caches its original tarball in
tarballs/, and overlaysdebian/. Source artifacts go intobuild/, owned by the output directory's owner. -
Sign on the host using your primary key fingerprint:
debsign -kYOUR_FINGERPRINT build/diff-so-fancy_1.4.4-1ubuntu2~noble1_source.changes
-
Upload the signed source package:
dput ppa:aos1/diff-so-fancy build/diff-so-fancy_1.4.4-1ubuntu2~noble1_source.changes