Skip to content

About

Debian/Ubuntu packaging for diff-so-fancy

Resources

Stars

24 stars

Watchers

1 watching

Forks

Latest commit

 

History

10 Commits

Folders and files

Repository files navigation

Ubuntu Package for diff-so-fancy

This repository builds Ubuntu source packages for diff-so-fancy. Launchpad builds the binary packages for the PPA.

Installation

sudo add-apt-repository ppa:aos1/diff-so-fancy
sudo apt update
sudo apt install diff-so-fancy

Build a source package

Requirements:

  • Docker
  • Nix, or devscripts, gnupg, and dput installed on the host
  • A signing key registered with your Launchpad account
nix develop

The shell uses your existing host GPG keyring. Docker must be installed and running separately.

  1. Update debian/changelog with 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.

  2. 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 overlays debian/. Source artifacts go into build/, owned by the output directory's owner.

  3. Sign on the host using your primary key fingerprint:

    debsign -kYOUR_FINGERPRINT build/diff-so-fancy_1.4.4-1ubuntu2~noble1_source.changes
  4. Upload the signed source package:

    dput ppa:aos1/diff-so-fancy build/diff-so-fancy_1.4.4-1ubuntu2~noble1_source.changes

About

Debian/Ubuntu packaging for diff-so-fancy

Resources

Stars

24 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages