warning about kde component run-time dependencies

Sune Vuorela nospam at vuorela.dk
Thu Aug 26 07:05:28 BST 2010


On 2010-08-26, Andriy Rysin <arysin at gmail.com> wrote:
> kcm_keyboard in 4.5 has new _run-time_ dependency on iso-codes, otherwise
> the language combo in 'add layout' dialog will show codes instead of
> (translated) language names.
> The question: is there a good/standard way to tell packagers about this
> dependency?
>
> Shall it be a check with warning in CMakeLists.txt to warn at compile time
> or is there something better?

Hi

there has just been a thread on the build system maillist (look for
cagibi) with various things about this.

I think it is heading towards:
a missing runtime dependency at build time should not disable any code
  paths
document it in a tarball toplevel README.packagers file
it is okay to do a notice of some kind during cmake run, but it should
  say that it is a *runtime* dependency, wether it is optional or
  required, and it can say wether or not it is found on the system[1]

/Sune

[1] the last part is not important from a packaging pov, but quite nice
for all those who builds from source.





More information about the kde-core-devel mailing list