Ubuntu Packaging (stable builds PPA) - PintaProject/Pinta GitHub Wiki

  • Follow the setup instructions from https://packaging.ubuntu.com/html/getting-set-up.html, such as setting up the GPG and SSH keys
  • Check out the packaging code: bzr branch lp:~cameronwhite91/+junk/pinta-stable-packaging
  • Download the release tarball, e.g. pinta-1.7.tar.gz
  • cp pinta-1.7.tar.gz pinta_1.7.orig.tar.gz which will be required by debuild later on
  • Extract the source code, e.g. tar xf pinta-1.7.tar.gz
  • Copy the packaging code to the debian folder inside the source code.
  • Update the debian/control file for any changes to the dependencies
  • Update the debian/changelog file for the new version and Ubuntu distro name. You can run dch -i for this.`
  • Follow https://packaging.ubuntu.com/html/patches-to-packages.html if any patches are necessary.
  • Run debuild -us -uc to test building the package on your local machine.
  • Run debuild -S -sa (use -sd if the .orig.tar.gz has already been uploaded) to generate a signed package, and run pbuilder-dist focal build pinta_1.7-0ppa1~focal1.dsc to test.
  • Upload: dput ppa:pinta-maintainers/pinta-stable pinta_1.7-0ppa1~focal1_source.changes