gnu: kdbusaddons: Embed kinit store dir, avoid dependency cycles.
authorThomas Danckaert <thomas.danckaert@gmail.com>
Tue, 6 Dec 2016 13:55:39 +0000 (14:55 +0100)
committerLudovic Courtès <ludo@gnu.org>
Mon, 19 Dec 2016 16:51:00 +0000 (17:51 +0100)
commit834d12226bed90800c0ee7886c0b90e65d070f97
treed953ba1c64e772b43004356c36df1b4883084cc1
parentd343a60f93cecb789f3366bac1f068f281c38d9f
gnu: kdbusaddons: Embed kinit store dir, avoid dependency cycles.

kdbusaddons needs to know the location of the kdeinit5 executable,
provided by kinit. kinit depends on kdbusaddons, so we add bootstrap
versions of all packages in the dependency chain from kinit to
kdbusaddons to avoid cyclic dependencies.

* gnu/packages/kde-frameworks.scm (kinit-bootstrap,
  kdbusaddons-bootstrap): New variables.
  (kdbusaddons)[inputs]: Add kinit-bootstrap.
  [source,arguments]: Add patch and substitution to embed
  kinit-bootstrap's store directory in the code.
* gnu/packages/patches/kdbusaddons-kinit-file-name.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
gnu/local.mk
gnu/packages/kde-frameworks.scm
gnu/packages/patches/kdbusaddons-kinit-file-name.patch [new file with mode: 0644]