From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38003) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dFQD0-0005nf-Kr for guix-patches@gnu.org; Mon, 29 May 2017 15:20:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dFQCw-0005XQ-HI for guix-patches@gnu.org; Mon, 29 May 2017 15:20:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:41077) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dFQCw-0005XL-DM for guix-patches@gnu.org; Mon, 29 May 2017 15:20:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dFQCv-0003TA-Ri for guix-patches@gnu.org; Mon, 29 May 2017 15:20:01 -0400 Subject: bug#27049: [PATCH] gnu: Add mathjax. Resent-Message-ID: Message-Id: <07b195fa.AEAAKtBZn0gAAAAAAAAAAAPEb_oAAAACwQwAAAAAAAW9WABZLHRN@mailjet.com> MIME-Version: 1.0 From: Arun Isaac Date: Tue, 30 May 2017 00:49:33 +0530 In-reply-to: <878tlf8xa4.fsf@gnu.org> References: <15cc163d.ADsAAWz_hBsAAAAAAAAAAAOtUOAAAAACwQwAAAAAAAW9WABZJK0O@mailjet.com> <3dec65bd-ffb9-ad71-8c0c-c374fd342ab8@openmailbox.org> <87tw44ri9j.fsf@gnu.org> <87zidwatwj.fsf@gnu.org> <87wp8zamwf.fsf@gnu.org> <878tlf8xa4.fsf@gnu.org> 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: 27049@debbugs.gnu.org > Sure. My suggestion would be to use an existing, established minifier, > only one that is relatively simple to package. It could be one written > in a language other than JS (Ricardo mentioned ‘cl-uglify-js’ on IRC), > or it could be a simplistic minifier written in JS but with very few or > not dependencies, if that exists. There are several js minifiers written in python. Here's one: https://github.com/tikitu/jsmin/ I've never used it. I only found it five minutes ago with an internet search. But, if appearances are anything, it looks relatively well maintained.