The petnames wordlist added in [1] is Apache-2.0 and this causes problems with the distribution of systemd as the GPL-2 and Apache-2.0 are considered incompatible by the FSF. So this commit replaces the previous wordlist with a new one: - weather (basic english weather adjectives) - colors (basic english color names) - worlds (planets, moons, minor bodies of the solar system) All common vocabulary and compiled for this project, not taken from anywhere. An example with the new list: - wintry-rust-dione-9393 - warm-yellow-saturn-39f9 The "worlds" are picked on the following principles: - well-known - memorable - short(ish) - cool This is why e.g. we have "thetis" (an astroid) instead of "tethys" (a moon): easier to spell and more well known. [1] https://github.com/systemd/systemd/pull/42566
19 lines
710 B
Meson
19 lines
710 B
Meson
# SPDX-License-Identifier: LGPL-2.1-or-later
|
|
|
|
if get_option('hostname-wordlist')
|
|
install_data(
|
|
'weather',
|
|
'colors',
|
|
'worlds',
|
|
install_dir : libexecdir / 'hostname-wordlist')
|
|
|
|
# The '$' hostname tokens look up word lists by position ("1", "2", "3", …); ship those names as
|
|
# symlinks to the semantic lists so the same files back both.
|
|
foreach link : [['1', 'weather'], ['2', 'colors'], ['3', 'worlds']]
|
|
install_symlink(
|
|
link[0],
|
|
install_dir : libexecdir / 'hostname-wordlist',
|
|
pointing_to : link[1])
|
|
endforeach
|
|
endif
|