Jump to content

Calligra/Release Howto: Difference between revisions

From KDE Community Wiki
Jstaniek (talk | contribs)
No edit summary
Jstaniek (talk | contribs)
No edit summary
Line 23: Line 23:
* update branch in calligra project page settings: https://projects.kde.org/projects/calligra/settings
* update branch in calligra project page settings: https://projects.kde.org/projects/calligra/settings


=Main=
= Information updates =
*Update version info in the source code:
*Update version info in the source code:
**bump version info to '''N''' for libs in calligra/CMakeLists.txt (10 for 2.5, 11 for 2.6...)<br/><tt>set(GENERIC_CALLIGRA_LIB_VERSION "'''N'''.0.0")<br/>set(GENERIC_CALLIGRA_LIB_SOVERSION "'''N'''")</tt>
**bump version info to '''N''' for libs in calligra/CMakeLists.txt (10 for 2.5, 11 for 2.6...)<br/><tt>set(GENERIC_CALLIGRA_LIB_VERSION "'''N'''.0.0")<br/>set(GENERIC_CALLIGRA_LIB_SOVERSION "'''N'''")</tt>

Revision as of 08:53, 11 August 2012

This page contains notes on what needs to be done when releasing a new version of Calligra.

Note

This is work in progress. You can contribute to this page or request updates.


Tarball creation

Branching

Code

git checkout -b calligra/${VERSION}
git push origin calligra/${VERSION}

Translation

Prepare yourself for a lot of suffering:

  • warn the i18n coordinator in advance
  • copy translation to stable-kde4 (use the calligra-release.rb scripts in calligra's release scripts )
  • update scripty for stable translations (edit scripts/get_paths change the get_path function, and check that list_modules contains calligra):
svn+ssh://[email protected]/home/kde/branches/stable/l10n-kde4/scripts

Information updates

  • Update version info in the source code:
    • bump version info to N for libs in calligra/CMakeLists.txt (10 for 2.5, 11 for 2.6...)
      set(GENERIC_CALLIGRA_LIB_VERSION "N.0.0")
      set(GENERIC_CALLIGRA_LIB_SOVERSION "N")
    • update version info in calligra/libs/main/calligraversion.h:
      #define CALLIGRA_VERSION_STRING "x.y Pre-Alpha|Alpha|Beta|RC"
      #define CALLIGRA_VERSION_MAJOR x
      #define CALLIGRA_STABLE_VERSION_MINOR y
      #define CALLIGRA_VERSION_RELEASE 89 (Pre-Alpha)|90 (Alpha)|91 (Beta)|92 (RC)
      #define CALLIGRA_ALPHA 0|1
      #define CALLIGRA_BETA 0|1
      #define CALLIGRA_RC 0|1
      #define CALLIGRA_STABLE 0|1
  • Collect changelog items
  • Collect screenshots
  • Write announcement for calligra.org
  • Kexi
  • Wikipedia