-
Notifications
You must be signed in to change notification settings - Fork 82
Ubuntu Packaging
Cameron White edited this page Jul 25, 2021
·
2 revisions
- 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/powertabeditor-stable-packaging - Download the release tarball, e.g.
powertabeditor-2.0.0-alpha11.tar.gz -
cp powertabeditor-2.0.0-alpha11.tar.gz powertabeditor_2.0.0-alpha11.orig.tar.gzwhich will be required bydebuildlater on - Extract the source code, e.g.
tar xf powertabeditor-2.0.0-alpha11.tar.gz - Copy the packaging code to the
debianfolder inside the source code. - Update the
debian/controlfile for any changes to the dependencies - Update the
debian/changelogfile for the new version and Ubuntu distro name. You can rundch -ifor this.` - Follow https://packaging.ubuntu.com/html/patches-to-packages.html if any patches are necessary.
- Run
debuild -us -ucto test building the package on your local machine. - Run
debuild -S -sa(use-sdif the.orig.tar.gzhas already been uploaded) to generate a signed package, and runpbuilder-dist focal build powertabeditor_2.0.0-alpha11-0ppa1~focal1.dscto test. - Upload:
dput ppa:powertab-developers/powertabeditor-stable powertabeditor_2.0.0-alpha11-0ppa1~focal1_source.changes