PatchingSourcePackages

Differences between revisions 3 and 5 (spanning 2 versions)
Revision 3 as of 2012-11-06 10:34:59
Size: 682
Editor: h-161-160
Comment:
Revision 5 as of 2013-01-27 19:02:08
Size: 680
Editor: h-4-41
Comment:
Deletions are marked like this. Additions are marked like this.
Line 7: Line 7:
    Add the patch with: patch -p1 <mypatch
    Build package for local testing (without signing): dpkg-buildpackage -us -uc -nc
 * Add the patch with: patch -p1 < ../mypatch
 * Build package for local testing (without signing): dpkg-buildpackage -us -uc -nc
Line 12: Line 12:
    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)
 * 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)
Line 16: Line 16:
    Upload to ppa: dput ppa:your-lp-id/ppa ../<new_source.changes>  * Upload to ppa: dput ppa:your-lp-id/ppa ../<new_source.changes>

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

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

Ready to upload

  • 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 h-4-180)