The Mer Wiki now uses your Mer user account and password (create account on https://bugs.merproject.org/)


Packaging/SDL

From Mer Wiki
(Difference between revisions)
Jump to: navigation, search
(Current approach)
(Packaging new upstream releases)
Line 17: Line 17:
 
# <code>cd SDL</code>
 
# <code>cd SDL</code>
 
# Add nemo remote: <code>git remote add nemo git@github.com:nemomobile-packages/libsdl.git</code>
 
# Add nemo remote: <code>git remote add nemo git@github.com:nemomobile-packages/libsdl.git</code>
 +
# <code>git fetch nemo</code>
 
# Checkout the "nemo" branch: <code>git checkout nemo</code>
 
# Checkout the "nemo" branch: <code>git checkout nemo</code>
 
# Merge a new upstream release: <code>git merge release-2.x.y</code> (potentially drop local patches merged upstream)
 
# Merge a new upstream release: <code>git merge release-2.x.y</code> (potentially drop local patches merged upstream)

Revision as of 09:44, 21 April 2014

Packaging of SDL2 and related libraries. We use tar_git for packaging.

Contents

Current approach

Packaging new upstream releases

  1. Clone upstream: git clone hg::https://hg.libsdl.org/SDL/
  2. cd SDL
  3. Add nemo remote: git remote add nemo git@github.com:nemomobile-packages/libsdl.git
  4. git fetch nemo
  5. Checkout the "nemo" branch: git checkout nemo
  6. Merge a new upstream release: git merge release-2.x.y (potentially drop local patches merged upstream)
  7. Update version in rpm/*.spec, reset release to 1
  8. Run a test build: mb2 build
  9. Commit spec file changes, message: [nemo] New upstream release 2.x.y
  10. Push changes: git push nemo nemo
  11. Tag as nemo/VERSION-RELEASE (e.g. nemo/2.0.0-1)
  12. Push tag: git push nemo nemo/2.0.0-1

Packaging local changes / patches

  1. Clone nemo: git clone git@github.com:nemomobile-packages/libsdl.git
  2. cd libsdl
  3. Checkout the "nemo" branch: git checkout nemo
  4. Make changes
  5. Run a test build: mb2 build
  6. Increment release number in rpm/*.spec
  7. Commit with message [nemo] DESCRIPTION OF CHANGES
  8. Push changes: git push nemo nemo
  9. Tag as nemo/VERSION-RELEASE (e.g. nemo/2.0.0-2)
  10. Push tag: git push nemo nemo/2.0.0-2

Previously

  • Using hg-fast-export for importing from hg to git
  • Branch is rpm
  • Token is nemo
Personal tools