Fixing OpenAL and libsndfile dependencies in kdegames (Was `Re: KDE/kdegames')
Michael Pyne
mpyne at kde.org
Thu May 26 02:27:50 CEST 2011
On Wednesday, May 25, 2011 00:25:57 Raphael Kubo da Costa wrote:
> It will then be just a matter of intalling two more packages,
> and I don't see how this should make things more difficult to
> cmakekde/kdesrc-build users, or to anyone at all.
Although I certainly don't want to tell kdesrc-build how they have to use the
tool, it has always been my intention that they at least will read through
CMake output in the event of CMake failures. To that end kdesrc-build symlinks
the cmake log to error.log and informs the user of where to find the file so
they can review it.
In addition kdesrc-build will continue to build everything else possible in a
given run, so please don't be too concerned with causing CMake to fail if
there's an actual error.
I propose assuming that one or both of kgoldrunner and granatier are built by
default, and to fail CMake if libsndfile/OpenAL are not found. In the error
message that would appear, instead of saying simply to install OpenAL, also
give the alternative of adding -DBUILD_kgoldrunner=OFF and -
DBUILD_granatier=OFF. That's about the best option I can see at this point.
Regards,
- Michael Pyne
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kde-buildsystem/attachments/20110525/9c77c282/attachment.sig
More information about the Kde-buildsystem
mailing list