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.
Update KDE4_VERSION in KDE/Mk/bsd.kde4.mk.
Use Tools/scripts/kdedistup to update the distinfo files for the ports; do not forget the l10n ports as well.
Reset/remove PORTREVISION from the affected ports.
svn commit to area51.
- Test the new release in Poudriere, adjust the plists and patches as necessary.
- Update the area51 checkout;
Merge the update with Tools/scripts/kdemerge -km /path/to/ports/tree.
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.
Check for conflicts with Tools/scripts/kdeconflicts and by hand.
Write UPDATING notes.
- Ask for exp-run if it is a major update.
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/).
cd /tmp/ports && svn diff to see if everything is OK.
Commit (in several steps, if committing also PORTS/ updates) and be happy.
- Close open PRs solved by the commit.
- Announce the update on FreeBSD.kde.org.