From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: Re: Unison GTK UI in unison package Date: Mon, 2 Apr 2018 16:16:05 -0400 Message-ID: <20180402201605.GA3852@jasmine.lan> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="SUOF0GtieIMvvwua" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47694) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f35sC-0000i7-N8 for help-guix@gnu.org; Mon, 02 Apr 2018 16:16:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f35s8-00009c-3O for help-guix@gnu.org; Mon, 02 Apr 2018 16:16:12 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:37401) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1f35s7-00008w-Sc for help-guix@gnu.org; Mon, 02 Apr 2018 16:16:08 -0400 Content-Disposition: inline In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Arnaud B Cc: help-guix@gnu.org --SUOF0GtieIMvvwua Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Apr 02, 2018 at 02:10:22PM +0200, Arnaud B wrote: > I looked at the ocaml.scm file where the unison package is defined, > together with ocaml, lablgtk and a number of other related tools. It uses > the gtk module (gnu packages gtk), in which there is pango as well. > So it seems everything is in place to build unison and at the same time its > graphical version, according to the build instructions > > given for that. > But in the end in my GuixSD as the user having done the installation, I > just end up with the CLI unison and not unison-gtk2 as expected. > I tried explicitly installing various packages such as gtk+, lablgtk, and > then rebuilding the unison package, to no avail. Basically, the packages that are required to build the Unison GUI, such as lablgtk, GTK+ itself, etc, are not present in the environment where Unison is built by Guix. They may be defined in the same source file as the Unison package, or they may be imported by that file, but this does not mean they are present in the Unison build environment. Additionally, installing a package with `guix package --install` has no effect on how packages are built. Each time Guix builds a package, it uses an isolated environment that only includes the software specified in the package definition of the package being built, as well as "implicit" dependencies that come with the specified build system. To make progress on building the Unison GUI, I recommend adding the required packages to a new inputs field in the Unison package definition. You can copy the structure of the native-inputs field for this. I recommend reading the Introduction of the Guix manual [0], and continuing to other sections as your interest allows. You will also find some useful info in Package Reference [1]. Please don't hesitate to ask more questions here or on the Guix IRC channel, #guix on Freenode. [0] https://www.gnu.org/software/guix/manual/html_node/Introduction.html [1] https://www.gnu.org/software/guix/manual/html_node/package-Reference.html --SUOF0GtieIMvvwua Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAlrCj4AACgkQJkb6MLrK fwhlZRAA0KH34SfuC/Qrag1l5m/HXPFjsjPos1GoYTXeMls/hWG6uQx0d7XzF8Jv oBapmt/b5+GrjLZDv701B3o4oy9vxP+n/UquxtB9riLjpc6jQK12NT6/bUS4SQZS hfPJBPawxdpA4GIKPivV+WrU+XSaOr7EhQgf3o7z19R6dk4q0KcrZqX6xxxIhd+X SFh6FRRqXKTUU5/9TsnAAQtDSpU5oZ3LEXN9T75GYClektNHjGo6GaQegcAdg9uJ 2CyAYRLlBsqaUwIRyjc1fdFOm1SnX/Jg8mOU2boQ6/ct8dr0OYAoLWBUbchHA3Ek gfcch5DO7vTD91eiyoF7SkZ5yU6eWtI+NciW44+tKnFDTrKak/aJI+YxIGhpFgv0 uqkUS3ZSv0XTIGQP3Ih1wmIzJ8FdVgJfykXlbRWetzlAAOJEF3JaIHTgkfXwxwHk 2gsGL/uTsPiCWQMRI/HpezomaFLMVl3L0TjQDyN2M6leSdYfm2KV9Jz7DdVjpvqG MwiDluny1QdmMs8cRIS7zsn3AT9Hbwv2/mdLLUtHiX/95M07fWqZUUX/il7hS5kf OxLFpsoHg5nPqAVK7KYVbRQlEWSI4+J+2kCPeLJqQUJtgdZIlVq9L8c6XS9K24dp 8xQrULi37opAEm4HHy1g25+wvFkehvf+pgXmmeM/iH+tXwbdzsE= =8ZIB -----END PGP SIGNATURE----- --SUOF0GtieIMvvwua--