From patchwork Sat Feb 24 08:04:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liliana Marie Prikler X-Patchwork-Id: 2289 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 2817527BBE2; Sat, 24 Feb 2024 08:25:02 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 849E727BBEA for ; Sat, 24 Feb 2024 08:24:59 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rdnKr-0004Gt-GX; Sat, 24 Feb 2024 03:24:41 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rdnKp-0004GO-MW for guix-patches@gnu.org; Sat, 24 Feb 2024 03:24:39 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rdnKp-0006CT-Ex for guix-patches@gnu.org; Sat, 24 Feb 2024 03:24:39 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rdnLC-0006Tl-7t; Sat, 24 Feb 2024 03:25:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67260] [PATCH emacs-team v11 0/7] You thought it was term/internal.el, but it was me, Dio! References: In-Reply-To: Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: andrew@trop.in, cox.katherine.e+guix@gmail.com, liliana.prikler@gmail.com, guix-patches@gnu.org Resent-Date: Sat, 24 Feb 2024 08:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67260 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67260@debbugs.gnu.org Cc: Suhail , andrew@trop.in, cox.katherine.e+guix@gmail.com, liliana.prikler@gmail.com X-Debbugs-Original-Xcc: andrew@trop.in, cox.katherine.e+guix@gmail.com, liliana.prikler@gmail.com Received: via spool by 67260-submit@debbugs.gnu.org id=B67260.170876304924695 (code B ref 67260); Sat, 24 Feb 2024 08:25:02 +0000 Received: (at 67260) by debbugs.gnu.org; 24 Feb 2024 08:24:09 +0000 Received: from localhost ([127.0.0.1]:37621 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rdnKH-0006Q3-B2 for submit@debbugs.gnu.org; Sat, 24 Feb 2024 03:24:08 -0500 Received: from mail-lj1-f194.google.com ([209.85.208.194]:52596) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rdnKE-0006P3-1b for 67260@debbugs.gnu.org; Sat, 24 Feb 2024 03:24:03 -0500 Received: by mail-lj1-f194.google.com with SMTP id 38308e7fff4ca-2d2305589a2so21283181fa.1 for <67260@debbugs.gnu.org>; Sat, 24 Feb 2024 00:23:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708762952; x=1709367752; darn=debbugs.gnu.org; h=cc:to:content-transfer-encoding:mime-version:subject:date:from :message-id:from:to:cc:subject:date:message-id:reply-to; bh=SC7d+z/0/O0iI5S/AaEiGcIUuHIG5qxFPmpdsryCWe8=; b=kyafznPI0nCW0jcyJMycDDbxWRHycUDqjFB0ChKkdCYhZ7OeAINdlQO9RR7e9Tajsn kIfuNjP3i2NtUN9T4TKx/yKuo/yvB3mbKR6fTpUckm3m66aCqaS39aFCI9Tg7b3KlY0s +xYtFBWMxR2ZM2YpHI/STXiOA+N1mFBm7fQqXp7YDK/JdPhiebSKdrDQ5WdClmQ7lRWZ OimsU8ibfI8CdJXqVsjf8Mwy1j58DPIiMRQRLvWt0MQNxlQn2g7CXoqlyBzZckJYbRlc CA0Gh43af4oBRQjmXuSdwUqXsbmvrW0FW1f7egtSDHglbyYn6Oh3/KkfYqjs+tp4GGwd e8MA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708762952; x=1709367752; h=cc:to:content-transfer-encoding:mime-version:subject:date:from :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=SC7d+z/0/O0iI5S/AaEiGcIUuHIG5qxFPmpdsryCWe8=; b=N/c1Gt2YFQKjpjOVIoAIQTDz5lDCcagcY6KRO+MVnwjlCpU7f8Z2PbSsJ/au0LxbTT XCzxiLRcWw63KQKvpRypo9xX2ZTOA74b+494cXIC2uaj0wIJg00B5IcG0wivW3wc6bcf FIsw5y7Um/RAgfM1vhE1AMRmXgFA0PNo9jeQCIcD/Y+uqKdtvbYSi01288TmGT1iiQ9o Tj2SY3ZByoNjGK+TGss9LPhtiixi4qVc9O36YhwmukavW4REJ2avXj2Dhe/4iYJMn9NF g8OpVNE7wkgrD39vGJF1NAYdBtrGHgM+GKkcFUy4xbNDWrGtoXaCQIeDX7ew10mLTdkO FLIw== X-Gm-Message-State: AOJu0Yz4L15WN4xor13mJQVvSkd5b7D3reujRd/l5HJ7WgHEu29EnZJR nfnhwphE0bjzeBujKw6phxgMJqeY8B+QhSGgey6/wgJgKYInJE0wPUCyIDHCMdo= X-Google-Smtp-Source: AGHT+IGiz5K/oF1gkl3Miov0TMb/fztVgvG8DjswScYPa3tw5pYEDtbOQQMtf8SaWSCBjji+WjRiDA== X-Received: by 2002:aa7:d746:0:b0:565:b4ca:72f2 with SMTP id a6-20020aa7d746000000b00565b4ca72f2mr123831eds.34.1708762435629; Sat, 24 Feb 2024 00:13:55 -0800 (PST) Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id fk2-20020a056402398200b00565aed6c2a8sm160945edb.29.2024.02.24.00.13.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Feb 2024 00:13:55 -0800 (PST) Message-ID: From: Liliana Marie Prikler Date: Sat, 24 Feb 2024 09:04:23 +0100 MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches After a week of debugging the internals of how Emacs compiles, loads, and dumps (!) its .eln-files, I finally came up with the perfectly cursed mix that enables us to actually load *and* graft our natively compiled packages with ease. In unrelated news, I feel like I should wear a witch hat for faster development cycles. Liliana Marie Prikler (7): gnu: emacs: Build trampolines. gnu: emacs: Don't hash file names in native compilation. gnu: emacs: Check integrity of native-compiled files. gnu: emacs: Disable jit compilation. build-system: emacs: Compute relative file names. gnu: emacs-org: Fix native builds. gnu: emacs-magit: Fix native builds. Makefile.am | 1 + gnu/local.mk | 2 + .../aux-files/emacs/comp-integrity.el | 126 +++++++ gnu/packages/emacs-xyz.scm | 10 +- gnu/packages/emacs.scm | 20 +- .../emacs-disable-jit-compilation.patch | 19 + .../emacs-native-comp-fix-filenames.patch | 338 ++++++++++++++++++ guix/build/emacs-utils.scm | 4 +- 8 files changed, 516 insertions(+), 4 deletions(-) create mode 100644 gnu/packages/aux-files/emacs/comp-integrity.el create mode 100644 gnu/packages/patches/emacs-disable-jit-compilation.patch create mode 100644 gnu/packages/patches/emacs-native-comp-fix-filenames.patch base-commit: aae61f54ff6acf5cc0e0355dc85babf29f625660