From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:51949) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1itxvd-0003ki-VF for guix-patches@gnu.org; Tue, 21 Jan 2020 13:07:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1itxva-0006ic-9T for guix-patches@gnu.org; Tue, 21 Jan 2020 13:07:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:42469) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1itxvZ-0006iJ-Vw for guix-patches@gnu.org; Tue, 21 Jan 2020 13:07:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1itxvZ-0002EM-Rs for guix-patches@gnu.org; Tue, 21 Jan 2020 13:07:01 -0500 Subject: [bug#39146] [PATCH v2] gnu: icecat: Remove compiler paths from about:buildconfig Resent-Message-ID: References: <20200115222115.322ymuuqkwlnbl3v@zdrowyportier.kadziolka.net> <20200121173711.5gegrl233dtjneni@zdrowyportier.kadziolka.net> In-reply-to: <20200121173711.5gegrl233dtjneni@zdrowyportier.kadziolka.net> Date: Tue, 21 Jan 2020 19:05:52 +0100 Message-ID: <87pnfcadmn.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" Reply-to: Tobias Geerinckx-Rice , Tobias Geerinckx-Rice via Guix-patches From: Tobias Geerinckx-Rice via Guix-patches via To: 39146@debbugs.gnu.org --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Jakub, Jakub K=C4=85dzio=C5=82ka =E5=86=99=E9=81=93=EF=BC=9A > + (add-after 'unpack 'dont-store-compiler-paths > + (lambda _ > + ;; Remove references to the compilers used from=20 > the output. Reduces > + ;; `guix size icecat' by 1 GiB on x86-64. > + (let ((zap "Store reference removed")) > + (substitute* "toolkit/content/buildconfig.html" > + (("@CC@") zap) > + (("@CXX@") zap) > + (("@RUSTC@") zap) > + (("@MOZ_CONFIGURE_OPTIONS@") zap))))) Thanks! This is a fine fix, but I wonder if you know where/how=20 this file is processed by the build system? I think scanning for=20 and neutralising any store reference in the final HTML would be=20 less error-prone. Thoughts? Kind regards, T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEfo+u0AlEeO9y5k0W2Imw8BjFSTwFAl4nPYAACgkQ2Imw8BjF STyPnxAAsDRHnbr7nV8huW7TSkhi7bNZB/NTDi28JxSZTZ1uMcFv4jpeNJSA0ygv FIRbg/oaSpB+dggMzXbE9tQQ+Uiod/U3a7TVu2moCJ5WbhPanTsfF0ysIwipsF/C lJUpKsxhO+xRS70BvEJlm9cTTle13dej+8Q2f4BE3vv9A/fr5K+69yMRxHgd9lgf 9RpIVM9IGjJX0XtftyAju3RXJP+RZ/oU0jv3xFtTEnCaXKCvP0UnqmRcKsXw9X2D NvPWIo0n2RKjH4TMc8Ub4YKyCFaoa+B5feAu5yg1S0YgBJ94p4n1o1fAQ5//XjXi 51SeHHS4jFkx47qG0TQ6UryQmewDgpTrfLa9rY4vsdmfYBuB/ajeNyhyPQjZuXnT 9XRsNVhObSOyehEqEBbKeYYqWjT3gO5kiLZY0KkqJIaPb06TUGXqCbfve7QfI+DM KgZqehpAiFZiVyI+i9mN5nfi1BAh/3MSKqzN8HcunVMvNFI3mwq8OTiKsxKor1oL 9nbhoCB0U4z8/g5KUaXHIJZxhkvR6ygcvvEm4qUewa7ggRmiTgAAiDY0qb97EjYm ZnJNYwJNm3ARaLImQp3K2lrfXvsW3bxg2bS5ZA0J5Q9iiVnY7569VIDavRUy5hUH YijGNdh6K5lmfrSwXUKF1wXGdXUiA24NFISZeyIC5FhLaUCzLgk= =Ke1n -----END PGP SIGNATURE----- --=-=-=--