Release

  1. Get latest source from trunk
    • bzr branch lp:glmark2
  2. Test on available platforms (and for Android, too!)
  3. Update documentation files
    • NEWS
    • doc/glmark2.1.in
  4. Update version strings in:
    • wscript
    • android/AndroidManifest.xml
    • android/jni/Android.mk
    • android/jni/Android.ndk.mk
  5. Commit and tag
    • bzr commit
    • bzr tag 20xx.xx
  6. Create tarball
    • In a clean trunk branch: ./waf dist
    • Check tarball to ensure it doesn't contain any extra files.
  7. Test again (don't forget Android)!
  8. Upload tarball to launchpad and create release
    • It's best to wait until packaging is done.
  9. Push local changes to lp:glmark2
  10. To make new version available to linaro android builds:
    • Note: Need to get a git repo that is accessible by WG members.
    • You will need bzr-git plugin (apt-get install it).
    • git clone git://git.linaro.org/people/afrantzis/glmark2.git glmark2.git
    • In bzr glmark2 trunk
      • bzr dpush --no-rebase <path-to-glmark2.git>

      • Use the command above exactly as written, otherwise you may end up messing up bzr trunk!
    • In glmark2.git
      • You need commit access...
      • git push origin master
      • Visit linaro gitweb glmark2 page to ensure all went well.

Update package

  1. Get the glmark2 packaging branch:
    • bzr branch lp:~glmark2-dev/glmark2/glmark2-package
    • cd glmark2-package
  2. Merge upstream tarball into branch:
    • bzr merge-upstream /path/to/glmark2-20xx.xx.tar.gz --version 20xx.xx
  3. Make any changes needed to debian/
    • Usually just update debian/changelog, but may need more depending on what's new
    • Run 'debcommit' to commit changes (it just calls bzr commit with a proper commit message)
  4. Create source package:
    • bzr builddeb -S
    • Creates *.dsc, *.orig.tar.gz, *.debian.tar.gz, *_source.changes in ../build-area/
  5. Create binary packages from source packages locally in pbuilder.
    • Need to have pbuilder-dist set up for the $DIST you want (e.g. precise)
      • Get pbuilder-dist: apt-get install ubuntu-dev-tools
      • Create the pbuilder environment (only once): pbuilder-dist $DIST create
      • Update the pbuilder environment with latest base packages: pbuilder-dist $DIST update
    • cd ../build-area
    • pbuilder-dist $DIST build <dsc-file>

  6. Test created packages locally
    • pbuilder-dist creates binary packages in ~/pbuilder/DIST-ARCH_result
    • Install them locally (with dpkg -i) and test
  7. Push changes to glmark2-package branch
  8. Upload package to non-virtualized PPA (dput)
    • In build-area
    • dput ppa:username/ppaname <source.changes-file>

  9. Copy packages to WG PPA and overlay.
    • When the packages are built in the PPA, copy them to the WG PPA (through launchpad).
  10. Install new packages through PPA on available platforms

Packages for multiple distributions

  1. Change debian/changelog for backport (dch -i)
  2. Create source package (bzr builddeb -S)
  3. Create binary packages from source packages locally in pbuilder.
  4. Upload package to non-virtualized PPA (dput)

WorkingGroups/Middleware/Graphics/Dοcs/ReleasingGlmark2 (last modified 2012-05-24 12:43:09)