From patchwork Thu Oct 19 05:42:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Liliana Marie Prikler X-Patchwork-Id: 1886 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 1E41E27BBEB; Thu, 19 Oct 2023 06:51:17 +0100 (BST) 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 autolearn=unavailable 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 10F7C27BBE2 for ; Thu, 19 Oct 2023 06:51:12 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qtLvi-0003OZ-0F; Thu, 19 Oct 2023 01:50:46 -0400 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 1qtLvZ-0003No-OM for guix-patches@gnu.org; Thu, 19 Oct 2023 01:50:37 -0400 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 1qtLvY-00020o-SI for guix-patches@gnu.org; Thu, 19 Oct 2023 01:50:37 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qtLvy-0000nW-LT; Thu, 19 Oct 2023 01:51:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66624] [PATCH emacs-team 00/15] Start reworking emacs-build-system 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: Thu, 19 Oct 2023 05:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 66624 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 66624@debbugs.gnu.org Cc: andrew@trop.in, cox.katherine.e+guix@gmail.com, liliana.prikler@gmail.com X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: andrew@trop.in, cox.katherine.e+guix@gmail.com, liliana.prikler@gmail.com Received: via spool by submit@debbugs.gnu.org id=B.16976946433038 (code B ref -1); Thu, 19 Oct 2023 05:51:02 +0000 Received: (at submit) by debbugs.gnu.org; 19 Oct 2023 05:50:43 +0000 Received: from localhost ([127.0.0.1]:35459 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qtLve-0000mw-P1 for submit@debbugs.gnu.org; Thu, 19 Oct 2023 01:50:43 -0400 Received: from lists.gnu.org ([2001:470:142::17]:43674) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qtLvZ-0000ma-1p for submit@debbugs.gnu.org; Thu, 19 Oct 2023 01:50:41 -0400 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 1qtLv3-0003GS-8M for guix-patches@gnu.org; Thu, 19 Oct 2023 01:50:05 -0400 Received: from mail-ej1-x641.google.com ([2a00:1450:4864:20::641]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qtLuz-0001fX-Po for guix-patches@gnu.org; Thu, 19 Oct 2023 01:50:03 -0400 Received: by mail-ej1-x641.google.com with SMTP id a640c23a62f3a-9a58dbd5daeso1220091166b.2 for ; Wed, 18 Oct 2023 22:50:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697694599; x=1698299399; darn=gnu.org; h=to:content-transfer-encoding:mime-version:subject:date:from :message-id:from:to:cc:subject:date:message-id:reply-to; bh=efS9Bv5eqOY2XuIfWN9GnWAhmue1AYou3D6Qr2fFo7s=; b=QIZFDP0OJkut+y5izG9ChlNHE8nT744QGea05eV7yrplIlzWwhGFUPsfKvwbHVkp/c Cx9B2cdtWzo2JESNUAzZUvQXoTGr00TTyxsPs/1ibDfVO428l+AoYcqCOgS6UP2PzFyf HDD/tvFo1Zq3vuyl+Jv4s2Il6+QGR7v//Vc1ooOLzQ5oHZrXEDCVtD55j//MpFQW8fnk VN0MLB14j8Ew1NTxmDUiqiTUxyPwSjqor4vSRoaMw48t/PlYRudhooawDVTgj8d9UtoN KNB4lz1OgbewRnveVXi6qabkqvG/WItRlK/fSYy9qL9Z0DJfAYZtuMoGOWpRPMDjzIkV tdVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697694599; x=1698299399; h=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=efS9Bv5eqOY2XuIfWN9GnWAhmue1AYou3D6Qr2fFo7s=; b=oJeoHon+3qDqepaa9POzkOsPZo41atDCNfgNqZk+RNFBgGOn32uRuLNJ6tVRTD+KHs 5s+Ic7twOkUpQBoMI0TwrMel3tPfkcrF5E6IathiOIGGpLbbS/3GacaIKVN/QD6b5Ex6 oo36e5QLGXTo7RibZvE/GLMtCZ91UQcTuWIFSy/odK0xfWkjvrndTWmYSDF1hCn+TwBb eS5MOdwrWS2razXfjRAv/9ROGW23xUG3FjkMrxwVAidQknapOVqERvw2pZorKG/TaBDc m6XjDJyZk2sTtk3hwNnfV06orzh0+0rcAcnfOtr1nSnS41YJkXfKAXv0HZ8MA64zLYKQ bJRw== X-Gm-Message-State: AOJu0Yy+OK7dnGWAHYbNLP9WyEjP2bjwso04MfIOOEfA81kqGDilkS07 qij8RxXpjqZSRRfo/Sa1nPFu1NRyyMvcyA== X-Google-Smtp-Source: AGHT+IF9i5pI7e66MA7tN6yCOPEF75Cm0IsMxpJX6PJ4oxDkAHKQbU2mGKfUIYTd1sFePC7xIdMu7A== X-Received: by 2002:a17:907:320d:b0:9c3:70d5:dc57 with SMTP id xg13-20020a170907320d00b009c370d5dc57mr944006ejb.40.1697694599257; Wed, 18 Oct 2023 22:49:59 -0700 (PDT) Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id hy24-20020a1709068a7800b009a1c05bd672sm2789594ejc.127.2023.10.18.22.49.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Oct 2023 22:49:58 -0700 (PDT) Message-ID: From: Liliana Marie Prikler Date: Thu, 19 Oct 2023 07:42:22 +0200 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::641; envelope-from=liliana.prikler@gmail.com; helo=mail-ej1-x641.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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 Hi Guix, this has been on my back-burner for some while, but since we failed to do Emacs build system changes during the 29 update, let's keep up the struggle and refactor what we have. This series makes it so that the build tree reflects what is actually going to be installed. I've updated most non-emacs-build-system packages to follow suit, but a few very outdated ones are also in the mix. I didn't touch those; whoever needs them will have to take a look. Anyhow, with this series the only strange thing about emacs-build-system is the check → install → build cycle rather than the reverse. I don't think it'll be possible to move build before install, though, so that's that. Cheers Liliana Marie Prikler (15): guix: emacs-build-system: Process package source in build tree. gnu: skktools: Build autoloads before installing them. gnu: translate-shell: Build autoloads before installing them. gnu: translate-shell: Compile emacs bytecode. gnu: emacs-mew: Adjust to changes in emacs-build-system. gnu: crm114: Adjust to changes in emacs-build-system. gnu: guile-wisp: Build autoloads before installing them. gnu: uim: Keep Emacs files in subdirectory. gnu: emacs-geiser-guile: Process autoloads in-tree. gnu: emacs-geiser-gauche: Process autoloads in-tree. gnu: emacs-geiser-racket: Process autoloads in-tree. gnu: emacs-geiser-chez: Process autoloads in-tree. gnu: emacs-libgit: Adjust to changes in emacs-build-system. gnu: emacs-eweouz: Build autoloads before installing them. gnu: emacs-pdf-tools: Build autoloads before installing them. gnu/packages/dictionaries.scm | 8 +-- gnu/packages/emacs-xyz.scm | 33 +++++------- gnu/packages/guile-xyz.scm | 6 +-- gnu/packages/language.scm | 6 +-- gnu/packages/mail.scm | 30 ++++++----- gnu/packages/xorg.scm | 13 +---- guix/build/emacs-build-system.scm | 85 +++++++++++++------------------ 7 files changed, 75 insertions(+), 106 deletions(-) base-commit: 8d6b3dd0b863ccada887da8cd347727dd04cb456