From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59722) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fn0Yx-0007jj-D1 for guix-patches@gnu.org; Tue, 07 Aug 2018 07:54:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fn0Yu-0006Gb-BO for guix-patches@gnu.org; Tue, 07 Aug 2018 07:54:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:38188) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fn0Yt-0006GS-W8 for guix-patches@gnu.org; Tue, 07 Aug 2018 07:54:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fn0Yt-0002aD-Ml for guix-patches@gnu.org; Tue, 07 Aug 2018 07:54:03 -0400 Subject: bug#32364: [PATCH] gnu: Add mozjs-52. Resent-To: guix-patches@gnu.org Resent-Message-ID: References: <20180803161542.26246-1-ricardo.wurmus@mdc-berlin.de> <20180805175726.GA32130@macbook41> <87sh3s1slh.fsf@posteo.net> From: Ricardo Wurmus In-Reply-To: <87sh3s1slh.fsf@posteo.net> Date: Tue, 7 Aug 2018 13:53:49 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain 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: Kei Kebreau Cc: 32364-done@debbugs.gnu.org Kei Kebreau writes: > Efraim Flashner writes: > >> On Fri, Aug 03, 2018 at 06:15:42PM +0200, Ricardo Wurmus wrote: >>> + ;; No releases yet at >>> . >>> + ;; While we could take a snapshot of the complete mozilla-esr52 >>> repository at >>> + ;; >>> , >>> + ;; we take the Debian version instead, because it is easier to work with. >>> + (let ((commit "6507e63cc416fd7a3269e390efe712f8b56f374a") >>> + (revision "1")) >>> + (package (inherit mozjs-38) >> >> Do the other ones have their name listed? I had to build 'mozjs@52' >> instead of 'mozjs-52' >> > > I mangaged to build this with just 'mozjs'. > >>> + (version (git-version "52.0-0." revision commit)) >>> + (source (origin >>> + (method git-fetch) >>> + (uri (git-reference >> >> >> This built with no problems on aarch64 and the package looks good. It >> also built with '--system=armhf-linux' on my aarch64 board. > > I built this successfully for x86_64-linux, i686-linux, and armhf-linux > on a x86_64-linux computer. Thank you both for testing the patch. I pushed a slightly modified version of this patch to wip-gnome-upgrades, which is supposed to be merged into core-updates soon. The patch that I sent here results in a package that cannot be used with GJS (it segfaults). I had to apply a patch that is included in the Debian copy of the source code. -- Ricardo