From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pierre Neidhardt Subject: bug#27217: texlive is too big Date: Sat, 16 Mar 2019 13:59:16 +0100 Message-ID: <87y35ft1p7.fsf@ambrevar.xyz> References: <87tw3w7v1m.fsf@elephly.net> <87po1g2g43.fsf@gmail.com> <87fu2chu02.fsf@elephly.net> <87lgc42b7i.fsf@gmail.com> <87va2wdfq8.fsf@gnu.org> <87zhs84urk.fsf@elephly.net> <87h8egd7zd.fsf@gnu.org> <878szooiix.fsf@elephly.net> <87a7jzy6ae.fsf@gnu.org> <87sgxr62p1.fsf@ambrevar.xyz> <87munzh8kj.fsf@elephly.net> <87imynsgxg.fsf@ambrevar.xyz> <87k1j3h7k4.fsf@elephly.net> <87imx1e541.fsf@ambrevar.xyz> <86bm2skozm.fsf@fsfe.org> <87a7i9ww82.fsf@atlas.engineer> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:40714) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h596T-0001c4-R4 for bug-guix@gnu.org; Sat, 16 Mar 2019 09:11:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h58ux-0002RN-1u for bug-guix@gnu.org; Sat, 16 Mar 2019 09:00:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60560) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h58uw-0002Q4-UJ for bug-guix@gnu.org; Sat, 16 Mar 2019 09:00:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1h58uw-0005jl-L6 for bug-guix@gnu.org; Sat, 16 Mar 2019 09:00:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-reply-to: <87a7i9ww82.fsf@atlas.engineer> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Jelle Licht Cc: 27217@debbugs.gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hello people! Yesterday Jelle and I started getting down to it. I've created a wip-texlive branch. For now, we can run (texlive-fetch "xcolor")=20 and it returns the appropriate parsed entry from the tlpdb from texlive-bin. @Jelle: see the nice "match"? :D The first call to texlive-fetch takes some 10-30 seconds because the tlpdb = is some 11MB+ big. I'm caching the parsed DB, so that should not be a problem during developme= nt. I'm suggesting those following steps: =2D Write the package definition generator. We can take inspiration from opam.scm, it seems to be well written and very similar. `texlive-fetch' is already aligned with `opam-fetch'. =20=20 For testing, we can try to recreate a simple package definition. texlive-latex-xcolor for instance. There is an immediate difference already: the name generated by the impor= ter will be texlive-xcolor and not texlive-latex-xcolor. =2D Write texlive-fetch so that we can write definitions with multiple directories. =20=20 =2D Update the texlive-build-system to accommodate the importer. For insta= nce, we will probably have to build fonts automatically. We will also have to be smart about the files that need to be generated, and those that need to b= e discarded. =2D Write an updater (again, following opam.scm, should be trivial). I'll get started with the first step today. Let me know what you think! =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAlyM8yQACgkQm9z0l6S7 zH+pcQgAqzyhPyQZh8WlpAmRZb6G2sinl/y4TDkDIRdSR+NGScSorqPldzfAZ/Jo 1jygQu/YE1L1tF1YxI6l3/OxDC8tzqzHzb3jf1cf8Gs6fSkyFKboADv3qN1ci4mM 22q6ua0+ImJipvxE5i3mq8XUBbIHq2gH/4T86KAIciwmowHxY1I1Gns7gpsZ698Y S7QZuQZJDJ1asaMCrueDMrqipAfvriSfmNYcbR75BjbKxGMlc8Bh7zgk3EQViT+4 XY24Y8z/2wiswFLm/mjtSvSYdfVY/YgFCUJQLI5nf++C682KpPVPQCkIPKccfQJM xTD5fQmcLuidkW4u6/OAwGfvSIwtVw== =xTru -----END PGP SIGNATURE----- --=-=-=--