From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 2/N1NLQowF8ReQAA0tVLHw (envelope-from ) for ; Thu, 26 Nov 2020 22:14:12 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id mOi9L7QowF9+YAAAbx9fmQ (envelope-from ) for ; Thu, 26 Nov 2020 22:14:12 +0000 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 070C2940485 for ; Thu, 26 Nov 2020 22:14:11 +0000 (UTC) Received: from localhost ([::1]:59130 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kiPWk-0007Tn-OD for larch@yhetil.org; Thu, 26 Nov 2020 17:14:10 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:40370) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kiPWc-0007T3-49 for guix-patches@gnu.org; Thu, 26 Nov 2020 17:14:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:59795) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kiPWb-0005VJ-T9 for guix-patches@gnu.org; Thu, 26 Nov 2020 17:14:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kiPWb-0007sX-PX for guix-patches@gnu.org; Thu, 26 Nov 2020 17:14:01 -0500 Subject: bug#44738: [PATCH] gnu: Add emacs-next-pgtk Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Thu, 26 Nov 2020 22:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 44738 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Andrew Tropin Cc: 44738-done@debbugs.gnu.org Mail-Followup-To: 44738@debbugs.gnu.org, ludo@gnu.org, andrew@trop.in Received: via spool by 44738-done@debbugs.gnu.org id=D44738.160642881430229 (code D ref 44738); Thu, 26 Nov 2020 22:14:01 +0000 Received: (at 44738-done) by debbugs.gnu.org; 26 Nov 2020 22:13:34 +0000 Received: from localhost ([127.0.0.1]:43105 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kiPWA-0007rU-Co for submit@debbugs.gnu.org; Thu, 26 Nov 2020 17:13:34 -0500 Received: from eggs.gnu.org ([209.51.188.92]:50344) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kiPW7-0007rG-2E for 44738-done@debbugs.gnu.org; Thu, 26 Nov 2020 17:13:32 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:51881) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kiPW1-0005KC-La; Thu, 26 Nov 2020 17:13:25 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=45418 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kiPVo-0005LB-6H; Thu, 26 Nov 2020 17:13:13 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: Date: Thu, 26 Nov 2020 23:13:10 +0100 In-Reply-To: (Andrew Tropin's message of "Mon, 23 Nov 2020 13:13:47 +0300") Message-ID: <87y2inzs09.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) 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-Spam-Score: -2.76 X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-TUID: sVIkoUf4iuPi --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Andrew, Andrew Tropin skribis: > From 168310a375b13081b73ad6ddeb26100bc7bcb61c Mon Sep 17 00:00:00 2001 > From: Andrew Tropin > Date: Thu, 19 Nov 2020 17:36:11 +0300 > Subject: [PATCH] gnu: Add emacs-next-pgtk > > * gnu/packages/emacs.scm (emacs-next-pgtk): New variable. As a welcome gift ;-), I applied the following cosmetic changes for you, most of which were suggested by =E2=80=98guix lint=E2=80=99. Thanks! Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index 957338af5d..6fb323deaf 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -321,31 +321,29 @@ languages.") (version (git-version "28.0.50" revision commit)) (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/masm11/emacs") - (commit commit))) - (sha256 + (method git-fetch) + (uri (git-reference + (url "https://github.com/masm11/emacs") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 (base32 "1c677c97b9avhlzysg09cvf6bd69iz41ggppnszw8chhphk3knfc")))) (arguments - (substitute-keyword-arguments - (package-arguments emacs-next) - ((#:configure-flags flags ''()) - `(cons* "--with-pgtk" "--with-xwidgets" ,flags)))) - (propagated-inputs `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas) - ("glib-networking" ,glib-networking))) + (substitute-keyword-arguments (package-arguments emacs-next) + ((#:configure-flags flags ''()) + `(cons* "--with-pgtk" "--with-xwidgets" ,flags)))) + (propagated-inputs + `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas) + ("glib-networking" ,glib-networking))) (inputs `(("webkitgtk" ,webkitgtk) - ,@(package-inputs emacs-next))) - + ,@(package-inputs emacs-next))) (home-page "https://github.com/masm11/emacs") - (synopsis "The fork of extensible, customizable, -self-documenting text editor (with pgtk toolkit and xwidgets -support)") - (description "This is an unofficial Emacs fork build with -pure-gtk to work natively on Wayland. In addition to that xwidgets -also enabled and work without glitches even on X server.")))) + (synopsis "Emacs text editor with @code{pgtk} and @code{xwidgets} support") + (description "This is an unofficial Emacs fork build with a pure-GTK +graphical toolkit to work natively on Wayland. In addition to that, xwidgets +also enabled and works without glitches even on X server.")))) (define-public emacs-minimal ;; This is the version that you should use as an input to packages that just --=-=-=--