kde:preparingreleases

Preparing a new KDE release

This is a list of steps for importing a new KDE release into area51 and later committing it to the ports tree.

  1. Update KDE4_VERSION in KDE/Mk/bsd.kde4.mk.
  2. Use Tools/scripts/kdedistup to update the distinfo files for the ports; do not forget the l10n ports as well.
  3. Reset/remove PORTREVISION from the affected ports.
  4. svn commit to area51.
  5. Test the new release in Poudriere, adjust the plists and patches as necessary.
    1. Update the area51 checkout;
    2. Merge the update with Tools/scripts/kdemerge -km /path/to/ports/tree.
    3. Build x11/kde4, devel/kdebindings4 and misc/kde4-l10n in all supported releases. poudriere bulk -t is preferred, since it runs as many sanity tests as possible. If an unrelated port causes the build to fail, try testing only the KDE ports:
cd /path/to/x11/kde4
make all-depends-list | sed -e 's,/path/to/,,' > ~/kde4-port-list
$EDITOR ~/kde4-port-list  # Remove unwanted ports
sudo poudriere bulk -t -C -f ~/kde4-port-list
# Rinse and repeat for kdebindings4 and kde4-l10n.
  1. Check for conflicts with Tools/scripts/kdeconflicts and by hand.
  2. Write UPDATING notes.
  3. Ask for exp-run if it is a major update.
  4. Use Tools/scripts/kdemerge -ck /tmp to create a ports tree checkout in /tmp/ports containing only the ports in KDE/ (add -m if there are required updates in PORTS/).
  5. cd /tmp/ports && svn diff to see if everything is OK.
  6. Commit (in several steps, if committing also PORTS/ updates) and be happy.
  7. Close open PRs solved by the commit.
  8. Announce the update on FreeBSD.kde.org.
  • kde/preparingreleases.txt
  • Last modified: 2014/08/14 08:43
  • by RaphaelKuboDaCosta