From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 21 12:10:37 2021 Received: (at 49123) by debbugs.gnu.org; 21 Jun 2021 16:10:37 +0000 Received: from localhost ([127.0.0.1]:36847 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lvMVR-0002W3-5k for submit@debbugs.gnu.org; Mon, 21 Jun 2021 12:10:37 -0400 Received: from laurent.telenet-ops.be ([195.130.137.89]:39568) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lvMVN-0002Vq-M9 for 49123@debbugs.gnu.org; Mon, 21 Jun 2021 12:10:35 -0400 Received: from ptr-bvsjgyjmffd7q9timvx.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:aaf1:9810:a0b8:a55d]) by laurent.telenet-ops.be with bizsmtp id KsAX2500Q0mfAB401sAYzF; Mon, 21 Jun 2021 18:10:32 +0200 Message-ID: <51c8cef20e8358e6c7d5d8ae048ddbc1af66cd73.camel@telenet.be> Subject: Re: [bug#49123] [PATCH 24/24] gnu: Add mirage. From: Maxime Devos To: slg <0x2d@disroot.org>, 49123@debbugs.gnu.org Date: Mon, 21 Jun 2021 18:10:23 +0200 In-Reply-To: <20210620010742.4259-24-0x2d@disroot.org> References: <20210620010742.4259-1-0x2d@disroot.org> <20210620010742.4259-24-0x2d@disroot.org> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-iei3BMPwGaLYIofhVwgz" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1624291832; bh=P2Uch1ctmCEm4wYlLuLoVI4qWHkREzix80Rz+TGlsSg=; h=Subject:From:To:Date:In-Reply-To:References; b=P8dLKVpDnLb4QQ6AUYscMfjlr/e+Erm+2Ok4cNvTiiJ31gsQsRknzz3ZWJpBpqSAg X2741+4C/rrpdrKrsMbfvq5ll2XGHq3GFA0YPvJE3oOWW8kPvnNhf2deIW7dDzf3qr 6ncpa8eSW8rYmOLUneS8BS6/nBSZfnFk7PnviV9pCNspL8oKocYv3cxV4WLHR6P17X w6eCKRq2WadaWaDpN0bD+Rg90HRMGIFyal8NTO0/lCgrhOLo2Sx5hv3JNis4SZsyry Fn4gPSQvPkb3ZM+twlQE6WAqQPcEHrYRfASgCUcBBqF0dyToqmCrvSzBQwUzstOpGv c56xXMsNlX+7Q== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 49123 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-iei3BMPwGaLYIofhVwgz Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable slg via Guix-patches via schreef op za 19-06-2021 om 22:07 [-0300]: > * gnu/packages/messaging.scm (mirage): New variable. > --- > gnu/packages/messaging.scm | 96 ++++++++++++++++++++++++++++++++++++++ > 1 file changed, 96 insertions(+) >=20 > diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm > index fe678d89fd..a8cdd90f57 100644 > --- a/gnu/packages/messaging.scm > +++ b/gnu/packages/messaging.scm > @@ -2997,4 +2997,100 @@ API. Mattermost is not required.") > (home-page "https://github.com/42wim/matterbridge") > (license license:asl2.0))) > =20 > +(define-public mirage > + (package > + ;; (inherit qtsvg) > + (name "mirage") > + (version "0.7.1") > + (source (origin > + (method git-fetch) > + (uri (git-reference > + (url "https://github.com/mirukana/mirage") > + (commit (string-append "v" version)) > + (recursive? #t))) > + (file-name (git-file-name name version)) > + (sha256 > + (base32 > + "0j7gdg2z8yg3qvwg9d9fa3i4ig231qda48p00s5gk8bc3c65vsll"))= )) > + (build-system gnu-build-system) > + (native-inputs > + `(("python" ,python-wrapper))) > + (propagated-inputs [ plenty of inputs ]) If possible, try to move some of these to 'inputs'. Of course, mirage still needs to find all these python libraries, so you may need to add a post-install phase (after/before qt-wrap shouldn't mattr) doing appropriate =E2=80=98wrap-program' calls -- yes, an already wrapped program can be wrapped again. I think. I'd presume the effects are cumulative, not sure though. Why? Keeping =E2=80=98propagated-inputs=E2=80=99 minimal reduces profile pollution, so the profile contains less, so generating the profile takes less time. This also reduces the chance of version conflicts. (E.g., guile and stalin cannot be installed in the same profile because they propagate different versions of libgc.) Greetings, Maxime. --=-iei3BMPwGaLYIofhVwgz Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYNC57xccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7ii8AQCUK2+OsOpwCf1FqJYrqYfltovn OcHeCvZiaCk0QuP6zwEAqYk3TsZc5f2dY9/COG89WqLr1o43NgPMb9Drf8h8gwI= =NIhm -----END PGP SIGNATURE----- --=-iei3BMPwGaLYIofhVwgz--