From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id AjtHMIp6WGKswwAAgWs5BA (envelope-from ) for ; Thu, 14 Apr 2022 21:48:26 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id CORFKIp6WGKFBQEAG6o9tA (envelope-from ) for ; Thu, 14 Apr 2022 21:48:26 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 633393259D for ; Thu, 14 Apr 2022 21:48:26 +0200 (CEST) Received: from localhost ([::1]:39494 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nf5S5-0008Ei-23 for larch@yhetil.org; Thu, 14 Apr 2022 15:48:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52198) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nf5Ri-0008E6-T5 for guix-patches@gnu.org; Thu, 14 Apr 2022 15:48:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35296) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nf5Ri-0005I3-KW for guix-patches@gnu.org; Thu, 14 Apr 2022 15:48:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nf5Ri-0001WQ-If for guix-patches@gnu.org; Thu, 14 Apr 2022 15:48:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54829] [PATCH v3 3/3] gnu: emacs: Add support for socket activation. References: In-Reply-To: Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 14 Apr 2022 19:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54829 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54829@debbugs.gnu.org Cc: Maxime Devos , zimoun Received: via spool by 54829-submit@debbugs.gnu.org id=B54829.16499656725787 (code B ref 54829); Thu, 14 Apr 2022 19:48:02 +0000 Received: (at 54829) by debbugs.gnu.org; 14 Apr 2022 19:47:52 +0000 Received: from localhost ([127.0.0.1]:57424 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nf5RY-0001VF-GX for submit@debbugs.gnu.org; Thu, 14 Apr 2022 15:47:52 -0400 Received: from mail-ed1-f68.google.com ([209.85.208.68]:41528) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nf5RQ-0001TZ-Gp for 54829@debbugs.gnu.org; Thu, 14 Apr 2022 15:47:49 -0400 Received: by mail-ed1-f68.google.com with SMTP id c6so7651219edn.8 for <54829@debbugs.gnu.org>; Thu, 14 Apr 2022 12:47:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:date:subject:mime-version:to:cc:content-transfer-encoding :message-id; bh=eNfUBYYrenJaNg+D/SLGZ5m2IlQUdz5LxGGLA0MBaHs=; b=iAUtfGxoYGW/5fJ54IgVyDolWRpljQZvDcc5xGdDg/QwTiGFzk2S1ikwVMU+AirpoF LdvELrkYBSQtRH6HHCFlZy/+PYp70gD405FpbEDbDbPqsR3R2fvdFLzWllZajSPyiBuO Wbc1NKC9AJKAtvBzo6cOQHTOIqbCFE039qIU+eS+PKAA7Fh/QN5uL+n3iGQiKYVHMgXO IAWNPlDUBEZZODD6uLtUEeayWGCtHo5+Z7T8KRbgm+l3H/aTl1jAzQJqOyzAP70wgr1r sHKyDWBQhG5ddfniUm3AhfElq/mHFeJqsFlHoWeQv32wS+hGtLprSF/iuhAVndlQdv+m dYyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:date:subject:mime-version:to:cc :content-transfer-encoding:message-id; bh=eNfUBYYrenJaNg+D/SLGZ5m2IlQUdz5LxGGLA0MBaHs=; b=yIK4wDlXy7JFZbbb+kyG58uUpUezk5Cd9BU2TwYzLKLtwT6rLQx4SN6DG1ediI/+iy MTitScnQFkmtVWigSkElgvqsXcG379dodiRoZkHfxDAVJ0+BC9X44q3p81O6ne4A8KOv /mhyyMuyNmS+R+1bB+5gy17x5ztWwm4v2kL2EnA6xHHeAaMlUbAEhcXAYMHgxUrOJ+4X D5TY11or1foQSDzqN7KVbDm8xyB7uPta3tRCmgkB1f79EC4GiceyJE0knonpyG8tajS5 0g3lHzZE0RNBkl/B0Rs8ezufzbjSLhdxOV8N0I2qnjLg/tLrpSBr5awcetgD/cdx3Ld7 XucQ== X-Gm-Message-State: AOAM532PequaikbH7lIetxbVMcIltOFuGNwCmst5fZWfKC//rRLkY9TV 7tyxGX6xtb2EqfMluBPt3Gu2IJkkCHQ= X-Google-Smtp-Source: ABdhPJy/Dr7iopywnY8Xtfl6/z33A4l0qIyc8ePopLTUqOxaia31t/6ICkjmxLjjPFkrlFOBV2J/fw== X-Received: by 2002:a05:6402:354b:b0:419:4af8:c5c9 with SMTP id f11-20020a056402354b00b004194af8c5c9mr4814089edd.91.1649965658860; Thu, 14 Apr 2022 12:47:38 -0700 (PDT) Received: from nijino.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id u19-20020a17090617d300b006cea86ca384sm953906eje.40.2022.04.14.12.47.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Apr 2022 12:47:38 -0700 (PDT) From: Liliana Marie Prikler Date: Sun, 10 Apr 2022 13:32:27 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Message-ID: 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1649965706; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=eNfUBYYrenJaNg+D/SLGZ5m2IlQUdz5LxGGLA0MBaHs=; b=olnevYCzDainO1lgKd85SvREISWdQecEgei82/Rh7nOuFgXTWY5ibyoFiCi3deoPCMBwGf mUpJCkr+0BIZxY6NZC60IIXlVrZssYglY3kfTMvvpaRVnrKnxjnjjHh7Zv0CULa7lFwRl/ A/drgT0/PkuiX7m6slFb11ikeOJgoQ4b7pNu6vMUViomrjsOTGW97xDuucd1xNBbTsVdBt fZ6Tb8wdLceM63wbyl/OJpjl+/Ebq9J6GCx1Wur7Yu4Y70zASdldbi/eqUc0v5nQkC5xJD J6ZEYumRYZ1wMEDUTdd/E4nNyxXEFwLo9+cjObBXFTDtIl32ODy4qdU7fV/rmg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1649965706; a=rsa-sha256; cv=none; b=d1UXzuJs9VZ6kLNWriJfNWd0D1OBLMzntzadrWua7rvzTKL/9o8LrR+0b2vkobNQA606+d HHkaFR2gKTkKMudf+tc7IhEXMY43eK7UIJMd6ZTTRrD0+va833YSiFy8ssp5nVhgsZdqpe 1S6i230ARY2Sru2II7OO9Xn7uCLD9EyVIpNJ36ZpT6mngzFco8xSLryajWqc/hXKKATkVr k52nQC7+R3ULeZIQgbg3Fo8Halkkv8h/K5zmife/zbQ6xm3ulE3XeZdXdtKmXfslOA+sx1 fHt47kRPDwH87gg2jVJnH+7VB4BLhVwqj7JXV6GIxiDEi3gXQJT7EZUQUhhO2Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=iAUtfGxo; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 6.46 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=iAUtfGxo; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 633393259D X-Spam-Score: 6.46 X-Migadu-Scanner: scn0.migadu.com X-TUID: kdwCIIPhfl1X * gnu/packages/emacs.scm (emacs)[#:phases]: Add ‘enable-elogind’. [inputs]: Add elogind. [native-inputs]: Add autoconf. --- gnu/packages/emacs.scm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index a32fe624dd..847731b95d 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -131,6 +131,11 @@ (define-public emacs "--disable-build-details") #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'enable-elogind + (lambda _ + (substitute* "configure.ac" + (("libsystemd") "libelogind")) + (delete-file "configure"))) (add-after 'unpack 'patch-program-file-names (lambda* (#:key inputs #:allow-other-keys) (substitute* '("src/callproc.c" @@ -271,6 +276,7 @@ (define* (emacs-byte-compile-directory dir) gmp ghostscript poppler + elogind ;; When looking for libpng `configure' links with `-lpng -lz', so we ;; must also provide zlib as an input. @@ -290,7 +296,7 @@ (define* (emacs-byte-compile-directory dir) libotf m17n-lib)) (native-inputs - (list pkg-config texinfo)) + (list autoconf pkg-config texinfo)) (native-search-paths (list (search-path-specification (variable "EMACSLOADPATH") -- 2.34.0