kdesrc-build release 1.13
Released: 2011-Feb-27
Download it: kdesrc-build-1.13.tar.bz2
(71KB)
Code signature: PGP signature - key id 0x7B6AE9F2
kdesrc-build 1.13 had the following changes from the prior release (1.12.1):
New features/changes:
The change with perhaps the biggest difference has been the migration of kdesrc-build to git.kde.org. kdesrc-build no longer tries to install itself, but will still install documentation and the Kate XML syntax highlighting file. The assistance of the KDE sysadmins, localization team, Nicolás Alvarez, Pino Toscano, and Stas Verberkt were invaluable for successfully setting up the new repository.
Many updates from David Faure and Montel Laurent to try and keep the kdesrc-buildrc-sample in sync with the continuing changes to the KDE source repository layout. Please ensure that you compare your current ~/.kdesrc-buildrc with the provided sample as some modules have moved, or are currently moving from Subversion to git. In addition, the Qt library with KDE modifications has moved to git.kde.org as well, and is called qt-kde. You should still leave it as "module qt-copy" in your ~/.kdesrc-buildrc, as currently kdesrc-build uses that module name for the different logic needed to build Qt.
kdesrc-build now supports using the database behind KDE Projects. The idea is that the many git repositories hosted on git.kde.org are arranged into categories (e.g. kdegraphics, kdepim, calligra, etc.) at the KDE Projects site, and these categories can be further grouped. kdesrc-build can use a category name to find and build every git repository contained in that category to allow you to easily specify many modules to be built, and track new applications added to a category automatically. Allen Winter contributed the core database parsing code needed for this feature.
This feature uses the module-set concept added in 1.12.1. In order to use the KDE module database, you must use
kde-projectas the value to the repository option for a module-set. You would then use the use-modules option as normal to select what modules (or module groups) you want kdesrc-build to build.module-sets can now be given names, and those names may be used from the command line to quickly refer to the entire set.
The --resume-from and --resume-after options no longer inhibit source updating. If you really want to avoid source code updates when using either option, simply pass --no-src as well.
Default CMake build type is changed to "Debug", which includes debug info, but still provides most optimizations. Thanks to "guy-kde" for the report!
Some documentation improvements, including for the new KDE module database support.
git-diff is not run in pretend mode. (Doing so made the pretended output more accurate, but ends up being fairly slow).
To support the KDE Projects module database, kdesrc-build has changed a bit the way modules are handled and read internally. I think I've caught all the bugs by now, but if you have problems with what kdesrc-build is trying to do with a given module, it may be related to this reworking and should be reported as a bug.
Added a test suite (kdesrc-build-test.pl), which you can run to test some various assumptions used for kdesrc-build. The test suite is not at all comprehensive. Some kdesrc-build changes were merely to make some of the functions easier to test.
Bugfixes:
The last-built and last-installed revisions are now saved for git modules in addition to svn modules. This should extend the "don't build if the source didn't change" feature to git modules as well.
The kdesrc-buildrc-sample now contains a Phonon backend by default (phonon-gstreamer). Phonon requires at least one backend to work -- it doesn't have to be phonon-gstreamer, but if you don't want that one then be sure to include a different one. Thanks to Ghislain MARY for the report. (Bug 263937).
Improve the error message if kdesrc-build finds itself trying to build a module that doesn't have either a CMake or configure-based build system.
More exception error messages are actually output when they occur.
Consistency updates to --pretend output.
kdesrc-build no longer tries to invent matching tag names for the kdesupport module to match a given KDE branch, as kdesupport is mostly migrated to git, and KDE is not generating any new tags to correspond to a given KDE Platform release.
Updated internal list of default modules to be closer to matching what is needed to build the KDE Platform and Plasma Desktop.
kdesrc-build will avoid using a source control tool for an existing source directory that is different than the tool used to create the directory, even if it is known that the module for that directory has moved to git. What this means for you is that if kdesrc-build has errors updating or building a module, you may want to check if that module has moved to git. Likewise, if a module doesn't exist, kdesrc-build will guess what source control tool to use based on if the svn-server or repository options are set.
set-env now works in module-sets.
Completely unknown module or module set names now result in an error instead of the script exiting after making no output.
kdesrc-build - KDE Build Tool