-
Notifications
You must be signed in to change notification settings - Fork 72
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.gz
which will be required bydebuild
later on - Extract the source code, e.g.
tar xf powertabeditor-2.0.0-alpha11.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 rundch -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 runpbuilder-dist focal build powertabeditor_2.0.0-alpha11-0ppa1~focal1.dsc
to test. - Upload:
dput ppa:powertab-developers/powertabeditor-stable powertabeditor_2.0.0-alpha11-0ppa1~focal1_source.changes