From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Craven Subject: Re: [PATCH 10/24] gnu: networkmanager-qt: Propagate network-manager. Date: Wed, 17 Aug 2016 20:14:08 +0200 Message-ID: References: <87y43vqo2y.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36375) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ba5Lz-0007bt-RA for guix-devel@gnu.org; Wed, 17 Aug 2016 14:14:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ba5Lv-0006Ff-JF for guix-devel@gnu.org; Wed, 17 Aug 2016 14:14:14 -0400 Received: from mail-yw0-x241.google.com ([2607:f8b0:4002:c05::241]:34750) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ba5Lu-0006F7-Bv for guix-devel@gnu.org; Wed, 17 Aug 2016 14:14:11 -0400 Received: by mail-yw0-x241.google.com with SMTP id j12so6244692ywb.1 for ; Wed, 17 Aug 2016 11:14:09 -0700 (PDT) In-Reply-To: <87y43vqo2y.fsf@gmail.com> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Alex Kost Cc: guix-devel > Is it possible to avoid propagating? Quoting the manual on the section on propagated-inputs: > For example this is necessary when a C/C++ library needs headers of another library to compile, ... So the fact that the headers of networkmanager-qt include headers from network-manager, means that a library that uses networkmanager-qt also needs network-manager's header files. After compilation if there aren't any references to network-manager it won't be included in the RUNPATH. > or when a pkg-config file refers to another one via its Requires field. I think the equivalent for cmake packages is a find_dependency call inside of /lib/cmake. In this case a library that links agains networkmanager-qt doesn't need to link agains network-manager. > find_dependency(Qt5Core 5.4.0) So to build hawaii-shell that depends on networkmanager-qt I either have to add network-manager as an input or propagate it in networkmanager-qt. I don't think that propagating the input hurts: guix gc --references $(guix build hawaii-shell) ~/guix /gnu/store/1i3xmm18dw9kq6wi46f6sj9nxy9pckjl-alsa-lib-1.0.27.1 /gnu/store/3a3qhlr9ssczrkjr10jllb01mbdgsijp-pulseaudio-8.0 /gnu/store/8advwv6y780wf8l4inmrm4vzrqd56z5b-libxkbcommon-0.6.1 /gnu/store/9jfrsgr6jw9hzqj81p3vn632m79x5gla-wayland-1.11.0 /gnu/store/9nifwk709wajpyfwa0jzaa3p6mf10vxs-gcc-4.9.3-lib /gnu/store/b8c1aaw3nghvvw6w6hc7r701rg40f5qw-qtdeclarative-5.7.0 /gnu/store/bski0qimql11q9b86h8jhhyksk1z52vp-greenisland-0.8.90 /gnu/store/hnbnz18xkkq83ckk2ph8qgbc8z4qzm6f-qtbase-5.7.0 /gnu/store/ig30hr17jq27b8wnimf9lnksgk6q4k7f-hawaii-shell-0.7.1 /gnu/store/l1s4cw9g58hmcpd2qgbckfl228143qzx-glib-2.48.0 /gnu/store/l878cqim3hl8mj7iz5a2v3mv1zn81qyr-solid-5.24.0 /gnu/store/lyisag3k6wx0pmrd0al0ipgcqaf0hpwi-qtwayland-5.7.0 /gnu/store/m4xna3zq2il5an61wxbmfv82ndvz70f6-linux-pam-1.2.1 /gnu/store/m9vxvhdj691bq1f85lpflvnhcvrdilih-glibc-2.23 /gnu/store/n3jss47pj11zq1viyibfcg0jf0ag519s-mesa-12.0.0 /gnu/store/qh2q5h2b81562ji5i9kb4nhg74gzk7n9-libhawaii-0.8.0 /gnu/store/qz5d1c538qigsws9k8hlys2hvhvbfrpc-networkmanager-qt-5.24.0 /gnu/store/r129q7kkd28xrp0slw2dqgmbs608gcgv-libqtxdg-1.2.0 /gnu/store/ykzwykkvr2c80rw4l1qh3mvfdkl7jibi-bash-4.3.42 /gnu/store/zvg8qyjsz20vjd170h4ilk7pnv7bqmm6-eudev-3.1.5 WDYT?