From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59685) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dJLPL-00005J-69 for guix-patches@gnu.org; Fri, 09 Jun 2017 11:01:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dJLPK-00077v-3f for guix-patches@gnu.org; Fri, 09 Jun 2017 11:01:03 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:34524) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dJLPK-00077j-0T for guix-patches@gnu.org; Fri, 09 Jun 2017 11:01:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dJLPJ-0005ug-PW for guix-patches@gnu.org; Fri, 09 Jun 2017 11:01:01 -0400 Subject: bug#27296: [PATCH 09/35] gnu: Add texlive-fonts-cm. Resent-Message-ID: References: <20170609104559.17416-1-rekado@elephly.net> <20170609104559.17416-9-rekado@elephly.net> <87y3t1jkak.fsf@gnu.org> From: Ricardo Wurmus In-reply-to: <87y3t1jkak.fsf@gnu.org> Date: Fri, 09 Jun 2017 17:00:46 +0200 Message-ID: <87tw3pcijl.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit 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" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 27296@debbugs.gnu.org Ludovic Courtès writes: > Ricardo Wurmus skribis: > >> * gnu/packages/tex.scm (texlive-fonts-cm): New variable. > > [...] > >> + (every (lambda (font) >> + (format #t "building font ~a\n" font) >> + (zero? (system* "mf" "-progname=mf" >> + "-output-directory=build" >> + (string-append "\\" >> + "mode:=ljfour; " >> + "mag:=1; " >> + "batchmode; " >> + "input " font)))) >> + '("cmb10" "cmbcsc10" "cmbsy10" "cmbtex10" >> + "cmbtt8" "cmbtt9" "cmbtt10" >> + "cmbx5" "cmbx6" "cmbx7" "cmbx8" "cmbx9" "cmbx10" "cmbx12" >> + "cmbxsl10" "cmbxti10" "cmcsc10" "cmdunh10" >> + "cmex10" "cmexb10" "cmff10" "cmfi10" "cmfib8" >> + "cminch" >> + "cmmi5" "cmmi6" "cmmi7" "cmmi8" "cmmi9" "cmmi10" "cmmi12" >> + "cmmib10" "cmitt10" >> + "cmr5" "cmr6" "cmr7" "cmr8" "cmr9" "cmr10" "cmr12" "cmr17" >> + "cmsl8" "cmsl9" "cmsl10" "cmsl12" "cmsltt10" >> + "cmss8" "cmss9" "cmss10" "cmss12" "cmss17" >> + "cmssbx10" "cmssdc10" >> + "cmssi8" "cmssi9" "cmssi10" "cmssi12" "cmssi17" >> + "cmssq8" "cmssqi8" >> + "cmsy5" "cmsy6" "cmsy7" "cmsy8" "cmsy9" "cmsy10" >> + "cmtcsc10" "cmtex8" "cmtex9" "cmtex10" >> + "cmti7" "cmti8" "cmti9" "cmti10" "cmti12" >> + "cmtt8" "cmtt9" "cmtt10" "cmtt12" >> + "cmttb10" "cmu10" "cmvtt10")))) > > It doesn’t sound reasonable to hard-code this list. :-) I agree, but there are quite a few files there that do not describe fonts. Maybe it would be simpler to write a pattern of files that shouldn’t be built. > Looks like there’s a pattern here that should allow us to generate it, > WDYT? ‘unfold’, ‘iota’, and all that. I’ll give it a try. -- Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC https://elephly.net