Differences between revisions 6 and 7
Revision 6 as of 2013-01-27 19:30:44
Size: 760
Editor: zequence
Revision 7 as of 2013-01-27 19:34:01
Size: 820
Editor: zequence
Deletions are marked like this. Additions are marked like this.
Line 13: Line 13:
 * Clean from previous builds: fakeroot debian/rules clean

For future reference: edit-patch, sbuild

Patch source package, commit patch, and upload to PPA for testing

Test locally First

  • Add the patch with: patch -p1 < ../mypatch

  • Get build dependencies for the package: sudo apt-get build-dep <packagname>

  • Build package for local testing (without signing): dpkg-buildpackage -us -uc -nc

Ready to upload

  • Clean from previous builds: fakeroot debian/rules clean
  • Commit changes and make it a patch: dpkg-source --commit
  • Edit Changelog: dch -i
  • Build new source for upload: debuild -S -sd (Use -k if keysign failed)
  • Upload to ppa: dput ppa:your-lp-id/ppa ../<new_source.changes>

If there was an upload error, and you need to do it again, delete the ppa files found in the same folder as the source.change file.

UbuntuStudio/PatchingSourcePackages (last edited 2013-05-17 01:35:57 by zequence)