This repository holds the debian/
files responsible for packaging
diff-so-fancy.
To use this package:
sudo add-apt-repository ppa:aos1/diff-so-fancy
sudo apt update
sudo apt install diff-so-fancy
The PPA can be found here.
This package uses the overlay method with git-buildpackage
. That is, this
package only holds the debian
directory, downloads the release tarball,
overlays the debian
directory, and creates the package.
In order to build this package you will need the following packages:
sbuild
(https://wiki.debian.org/sbuild)git-buildpackage
$ mkdir tarballs build
uscan --destdir tarballs
(This might be broken, you can instead download the release tarball and
rename it to the appropriate name.)gbp dch
$ gbp buildpackage --git-builder="sbuild --source-only-changes --debbuildopts='--buildinfo-option=-O'"
This will create a source-only package
, and not write-out the .buildinfo
(-O
) flag. It also uses sbuild
to make the package.
(See https://bugs.launchpad.net/launchpad/+bug/1699763)
$ dput ppa:aos1/diff-so-fancy build/diff-so-fancy_1.2.6-1ubuntu1_source.changes
.deb
)Follow steps 1 - 3 above. Then, run this command instead:
$ gbp buildpackage --git-builder=sbuild
All other configuration is stored under debian/gbp.conf
.