From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id UORKEt9o52PO1QAAbAwnHQ (envelope-from ) for ; Sat, 11 Feb 2023 11:07:27 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id SG5QEt9o52PqewAA9RJhRA (envelope-from ) for ; Sat, 11 Feb 2023 11:07:27 +0100 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 1279E8ED4 for ; Sat, 11 Feb 2023 11:07:26 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pQmmi-0003gM-4q; Sat, 11 Feb 2023 05:07:08 -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 1pQmmc-0003d9-DV for guix-patches@gnu.org; Sat, 11 Feb 2023 05:07:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pQmmc-0008K6-52 for guix-patches@gnu.org; Sat, 11 Feb 2023 05:07:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pQmmb-00043b-Qt for guix-patches@gnu.org; Sat, 11 Feb 2023 05:07:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61421] [PATCH] gnu: Add emacs-with-motif Resent-From: Andy Tai Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 11 Feb 2023 10:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 61421 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 61421@debbugs.gnu.org Cc: Andy Tai X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.167610998115547 (code B ref -1); Sat, 11 Feb 2023 10:07:01 +0000 Received: (at submit) by debbugs.gnu.org; 11 Feb 2023 10:06:21 +0000 Received: from localhost ([127.0.0.1]:38804 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pQmlx-00042h-Dv for submit@debbugs.gnu.org; Sat, 11 Feb 2023 05:06:21 -0500 Received: from lists.gnu.org ([209.51.188.17]:34200) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pQmlv-00042V-7e for submit@debbugs.gnu.org; Sat, 11 Feb 2023 05:06:19 -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 1pQmlo-000334-64 for guix-patches@gnu.org; Sat, 11 Feb 2023 05:06:13 -0500 Received: from mail-pl1-x633.google.com ([2607:f8b0:4864:20::633]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pQmlm-0008Cz-FW for guix-patches@gnu.org; Sat, 11 Feb 2023 05:06:11 -0500 Received: by mail-pl1-x633.google.com with SMTP id ja21so1494227plb.13 for ; Sat, 11 Feb 2023 02:06:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:sender:from:to:cc:subject:date:message-id:reply-to; bh=IU6yA7IUzgkqSZ80rDftdc6qAXObrT3fkunE+rTnL6U=; b=KWLU28r2Wo/wppnUCgq+ajY7COCjNncjxDX7i11Bk4z4onuVpELj21zJX+yPOo4iow FC96eIBS1nGNm3DTc2igSJ5/Eufu1fkFbJcFAWH8CyiPoeq09OuoAU/qjlGljAWp0/0f vuvXsv2MFikAC4WR+gb+1eO7iMEMex9zcXHCCMalrDxIqgcPNP7a82ViyA7QL+6SaroG 8VQKialg1TXpTESg0FsT2+1ijgyOuMavttapIyM6l5g6iKWQcfl+o7FyPexTVzMX0Dtj w3A2ex/UB0ZTyBd7a6SnSasinLVeykJrm0RueJT7OSZMetx62vr5WVrclMUHHtabWXXU fF8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:sender:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=IU6yA7IUzgkqSZ80rDftdc6qAXObrT3fkunE+rTnL6U=; b=S14kfVVC8loTC2DHcGhNGp3VzNS/KeyWYOamrFiS9iGhWTnDLbOdm3iy8qoD7+X6aA o+QbeBq5FF2O3nyRME0XINal6IcJFXayyAtAKc3+7ICl3k+TENXZ+8hjJkoDq4y5L2Ok 7YcSXYvpYCLfAbwp2cFiC94xF7e40vp06FIOKDhz9r0zG9tHc4gsISCk6DSfPEsLzD6l wrY3v549QmuHBjaaRaz3oGMP1SNb+7PUbbOBhLyQGPZkYquF9Jm4MNCpj+hGmDzzy2YS WRmCk7cZvigzeyJuaIRt+li1rTSxSmvGH7/QgCGruHtpe1FwoH2VtYaoFbWsmKWSBi2o n+Iw== X-Gm-Message-State: AO0yUKUqNcxK9uLVJ50ZYS6Lzb4TXdvdU1HRiHorNg84lJrQV1tzvzDJ LZPLoy07v6ycLwVI754+8OQp06Kdg9c= X-Google-Smtp-Source: AK7set+U5zIT4YyUB8UhRWO4hf1FKYNzPoOHbGbC3FT8Agz4u1CGBJLMCwUOwqGhf/6K3pLrJYYlIw== X-Received: by 2002:a05:6a21:328b:b0:be:ea27:3c16 with SMTP id yt11-20020a056a21328b00b000beea273c16mr20742186pzb.35.1676109967887; Sat, 11 Feb 2023 02:06:07 -0800 (PST) Received: from localhost.localdomain ([98.37.226.98]) by smtp.googlemail.com with ESMTPSA id 26-20020aa7921a000000b00593eb3a5e44sm4598249pfo.37.2023.02.11.02.06.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 11 Feb 2023 02:06:07 -0800 (PST) From: Andy Tai Date: Sat, 11 Feb 2023 02:06:01 -0800 Message-Id: <20230211100601.4239-1-atai@atai.org> X-Mailer: git-send-email 2.39.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::633; envelope-from=lichengtai@gmail.com; helo=mail-pl1-x633.google.com X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.248, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=KWLU28r2; 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"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1676110047; a=rsa-sha256; cv=none; b=hipudux4efk7q4wy2hYIozAYX74YLz0urXk1NN0qRINdKEmh5wXI6a2HYB4es5gR2PLCFV Nd+zUMTObW9FMA95qs3YXevuW50TiZ8u+ciH741k4sTzK6LMyr/eKRqoN2f1GT6qdpGxJx jWo7UQFzrwhyeoSNbsJbN60pL0aXfvC8EQezM/Wy9KPbajx/aqTs5qtbTjN4AkKQ+GYA1e mUUlRwRl23tqGO+h/nBJE5jTYEgRWELelmGZzRP3zl+J05x2VgRYCpd6LBK4mwHJlC2uqo 2gSAr+NGt4tSvyoGeBO4lT8vat4l/tmK5CQu6lrITtm9A5ogFCrGJfFpK0yO6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1676110047; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=IU6yA7IUzgkqSZ80rDftdc6qAXObrT3fkunE+rTnL6U=; b=J/x2wzuAlNl5mD9RkFp0Nhss6Qfh37oMhVbtXaC6V2XxXcwk3JzVg6fOdcDXbfd4eIOvEb oLpnAJ8Ziztgfc7UdJS3icIj9YEBlWIxsy9mARY3skiLuKxpKbJfqxnpmJ6G0I8kcaXeD5 3R47/GLfgEdhX47ndokd0BEODOpMa6ZPypVR5geEuxpOBMjIfl+6sYu4f7UFuzOHNZNwKv OqKH2CL6QoirI/KXH8h1OVBbnhaPojXFZeJwMktNzhGL1HewaAIFFOQMBK8XjwNycpN9ae /goEQU9ErPgNsqxOVvinIZTDn4MQEst0PO8DNsk647t1MnJVEbr/Fw1KMF+w4w== Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=KWLU28r2; 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"; dmarc=none X-Migadu-Spam-Score: 1.10 X-Spam-Score: 1.10 X-Migadu-Queue-Id: 1279E8ED4 X-Migadu-Scanner: scn0.migadu.com X-TUID: IptPIPQj0zVK * gnu/packages/text-editors.scm (emacs-with-motif): New variable --- gnu/packages/emacs.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index 4ce41deb88..3bdfbef093 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -66,6 +66,7 @@ (define-module (gnu packages emacs) #:use-module (gnu packages gtk) #:use-module (gnu packages guile) #:use-module (gnu packages image) + #:use-module (gnu packages lesstif) ; motif #:use-module (gnu packages linux) ; alsa-lib, gpm #:use-module (gnu packages mail) ; for mailutils #:use-module (gnu packages multiprecision) @@ -475,6 +476,25 @@ (define-public emacs-xwidgets (modify-inputs (package-inputs emacs) (prepend webkitgtk-with-libsoup2 libxcomposite))))) +(define-public emacs-with-motif + (package/inherit emacs + (name "emacs-with-motif") + (synopsis "The extensible, customizable, self-documenting text +editor (without an X toolkit)" ) + (build-system gnu-build-system) + (inputs (modify-inputs (package-inputs emacs) + (delete "gtk+") + (prepend inotify-tools motif))) + (arguments + (substitute-keyword-arguments (package-arguments emacs) + ((#:configure-flags flags #~'()) + #~(cons "--with-x-toolkit=motif" #$flags)) + ((#:modules _) (%emacs-modules build-system)) + ((#:phases phases) + #~(modify-phases #$phases + (delete 'restore-emacs-pdmp) + (delete 'strip-double-wrap))))))) + (define-public emacs-no-x (package/inherit emacs (name "emacs-no-x") -- 2.39.1