wiki:PackageUpdates

Version 6 (modified by wildintellect, 12 years ago) ( diff )

--

Draft - Needs testing

Copy Existing Package to new Release

E.g. copy current versions from Oneiric to Precise script from jef with hints

  • This requires you have a Launchpad account, and a valid GPG key registered with Launchpad.
  • Use the distro you want to release for to test this (and test building with debuild before upload)
  • Tools you'll need + any -dev libraries for a given package
    sudo apt-get install build-essential devscripts debhelper
    
  • Download the orig.tar.gz
  • Download the debian.tar.gz
  • Download the dsc
  • Unpack the source
    dpkg-source -x nameofpackage.dsc
    
  • Update the changelog
    dch -p -D precise -l precise "launchpad build for precise"
      or
    dch -i -D precise -l precise "launchpad build for precise" (not sure when to use -p vs -i)
    
  • Check what dch wrote
    head debian/changelog
    
  • build & sign the package
    dpkg-buildpackage -kKeyName -S
      If the source is in the ppa/launchpad already add -sd
    dpkg-buildpackage -kKeyName -S -sd
    
  • push the package to launchpad
    debrelease --dput -S ppa:your-id/ppaname
    
Note: See TracWiki for help on using the wiki.