PatchingSourcePackages

Differences between revisions 9 and 12 (spanning 3 versions)
Revision 9 as of 2013-02-15 18:14:25
Size: 874
Editor: h-4-41
Comment:
Revision 12 as of 2013-04-01 04:06:02
Size: 1063
Editor: h-4-180
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
<<Include(UbuntuStudio/Navigation/Header)>>
||<tablestyle="width: 30%; float: right; background-color: #e1f0f4; border-radius: 10px;"><<Include(UbuntuStudio/Navigation/DevSideBar)>>||

Line 16: Line 20:
 * Build new source for upload: debuild -S -sd (Use -k if keysign failed) (debuild -S -sda to include the *.orig in the upload)  * Build new source for upload: debuild -S -sd (Use -k if keysign failed) (debuild -S -sa to include the *.orig in the upload)

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) (debuild -S -sa to include the *.orig in the upload)
  • 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)