Packaging/SDL

Packaging of SDL2 and related libraries. We use tar_git for packaging and  for integrating the upstream Mercurial repository into our Git packaging repository.


 * Upstream website: http://libsdl.org/
 * Upstream VCS: https://hg.libsdl.org/

TODO

 * Cleanup / move away old branches ( and  )
 * Remove master branch or make master branch point to default branch from hg

Current approach

 * Using  (see git-remote-hg wiki)
 * Branch is
 * Token is also
 * Old ChangeLog (from pre-April 2014 developments) entries are imported via
 * RPM package name, OBS package name in nemo:devel:mw: Git repository (upstream Hg repository):
 * SDL2, libsdl2: https://github.com/nemomobile-packages/libsdl (upstream: https://hg.libsdl.org/SDL/)
 * SDL2_image, libsdl2-image: https://github.com/nemomobile-packages/libsdl-image (upstream: https://hg.libsdl.org/SDL_image/)
 * SDL2_mixer, libsdl2-mixer: https://github.com/nemomobile-packages/libsdl-mixer (upstream: https://hg.libsdl.org/SDL_mixer/)
 * SDL2_ttf, libsdl2-ttf: https://github.com/nemomobile-packages/libsdl-ttf (upstream: https://hg.libsdl.org/SDL_ttf/)
 * SDL2_net, libsdl2-net: https://github.com/nemomobile-packages/libsdl-net (upstream: https://hg.libsdl.org/SDL_net/)
 * Deprecated packages:
 * SDL2_sound, from: http://hg.icculus.org/icculus/SDL_sound/
 * Needs rebasing:
 * SDL2_gfx, from: http://cms.ferzkopp.net/index.php/software/13-sdl-gfx

Packaging new upstream releases

 * 1) Clone upstream:
 * 2) Add nemo remote:
 * 3) Checkout the "nemo" branch:
 * 4) Merge a new upstream release:   (potentially drop local patches merged upstream)
 * 5) Update version in , reset release to
 * 6) Run a test build:
 * 7) Commit spec file changes, message:
 * 8) Push changes:
 * 9) Tag as   (e.g.  )
 * 10) Push tag:
 * 1) Tag as   (e.g.  )
 * 2) Push tag:

Packaging local changes / patches

 * 1) Clone nemo:
 * 2) Checkout the "nemo" branch:
 * 3) Make changes
 * 4) Run a test build:
 * 5) Increment release number in
 * 6) Commit with message
 * 7) Push changes:
 * 8) Tag as   (e.g.  )
 * 9) Push tag:
 * 1) Push tag:

Previously

 * Using hg-fast-export for importing from hg to git
 * Branch is
 * Token is