From patchwork Wed Aug 14 06:08:23 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brian Leung X-Patchwork-Id: 14920 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 F368F17274; Wed, 14 Aug 2019 07:10:10 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, HTML_MESSAGE,T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id A34F11724F for ; Wed, 14 Aug 2019 07:10:10 +0100 (BST) Received: from localhost ([::1]:57382 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1hxmU6-0002Eg-77 for patchwork@mira.cbaines.net; Wed, 14 Aug 2019 02:10:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52301) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1hxmTz-0002EO-KC for guix-patches@gnu.org; Wed, 14 Aug 2019 02:10:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hxmTy-0004fX-88 for guix-patches@gnu.org; Wed, 14 Aug 2019 02:10:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:40052) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hxmTy-0004fN-1i for guix-patches@gnu.org; Wed, 14 Aug 2019 02:10:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hxmTx-0000yl-QQ for guix-patches@gnu.org; Wed, 14 Aug 2019 02:10:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#36999] [PATCH] gnu: Add emacs-forge. Resent-From: Brian Leung Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 14 Aug 2019 06:10:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36999 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 36999@debbugs.gnu.org, Oleg Pykhalov Received: via spool by 36999-submit@debbugs.gnu.org id=B36999.15657629483696 (code B ref 36999); Wed, 14 Aug 2019 06:10:01 +0000 Received: (at 36999) by debbugs.gnu.org; 14 Aug 2019 06:09:08 +0000 Received: from localhost ([127.0.0.1]:48873 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hxmT5-0000xX-NC for submit@debbugs.gnu.org; Wed, 14 Aug 2019 02:09:08 -0400 Received: from mail-qk1-f176.google.com ([209.85.222.176]:32892) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hxmT4-0000x3-9J for 36999@debbugs.gnu.org; Wed, 14 Aug 2019 02:09:06 -0400 Received: by mail-qk1-f176.google.com with SMTP id r6so81735053qkc.0 for <36999@debbugs.gnu.org>; Tue, 13 Aug 2019 23:09:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=qwAc2uj3rtCVKB25sZ/EpIHQ6A9nYGZOabQmtCdxkVw=; b=pnB4yLHEEDoPc8zl/eUxY+Lc+NAq4dGJ0u274Z82ta1C7i05BpMlbL7Nr/St8WRduQ wemvwS4ScxAw+XpmjJ/IB9UWK6fv9VSbwPdmxBcnGXo8uVbRwHLXk8XF9X3siaaSLId2 BYUOnz2KKCkQJxdb2d1HyRjpYSCkSSPExqmG8LAfu0mOHUpsztp4//8QOtmkLvkGIMiD FQddt4KnEdebpLxy7MNr5Tn+x+YSFrpWGTjOPiOd4Z6YZxVo9oT42cLyx/eFhze0KC6H vgHTFULHDze8n69bNOsQrkFSgr5pX4nL0MPgnocrfAma8BfgNmpTVWUk1fHfzGEteW9Y nnKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=qwAc2uj3rtCVKB25sZ/EpIHQ6A9nYGZOabQmtCdxkVw=; b=TKWRADRI5oHzKAJqx6sXRYPVQ9TpO/+JmVIlfmtSBQmOaP1FzNyRXyWq3ccXvOzm7R MRoVAIN42yOSG+3CeEDfg6HEXnBVNZlyb6X+795lzYF2eviEz41Jx0lNVni1PlRcLdF1 PNADtFc+O8vcxJXRrJEKWNcP9zmWpqg/X0VUAWEZvpLJwQadj/AxGfGwJ6QWvptaYqDW gTqwdzt6VmijzkMCao7IsnOt5z2rmgPok/EX4bOmgz5NEKfar9pJJNSfKausG5PwZOE2 6CjbmUucoeN66KCww9AU965s4XtibDokOQu9fm7YYvhVe5tH2e+8TpzKj3sqsILZQ/Pf bC0w== X-Gm-Message-State: APjAAAWEkkVyYRFYfokrcZHewijNi0to3dJx6MWuTvBFyvlbWwY4QCXT 2BWGAHfPi4YFe3uP3eUhRLDydu1+YKfPDziMH+zAf3xR X-Google-Smtp-Source: APXvYqy8lFzbmS+y7HsTrST+85ZuHjmgKUwzUmtiQPbNSN2ewHjnwL9cccrdX0H6aYtDuC95L7+nARmwQvflvA92sZ4= X-Received: by 2002:ae9:ec0d:: with SMTP id h13mr9941367qkg.407.1565762940506; Tue, 13 Aug 2019 23:09:00 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Brian Leung Date: Wed, 14 Aug 2019 08:08:23 +0200 Message-ID: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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" X-getmail-retrieved-from-mailbox: Patches Hi Oleg, I've made a patch off the latest master branch with a version of emacs-ghub that should meet the requirements of emacs-forge. Best, Brian On Sun, Aug 11, 2019 at 7:39 PM Brian Leung wrote: > Hi Oleg, > > I notice that emacs-forge, in its forge-pkg.el file, mentions newer > dependencies than what we currently have: ghub version 20190319, which > apparently contains a fix for a relevant bug; and Magit version 20190408. > I'm not sure how important the update to Magit is, and this newer version > of Magit also happens to depend on an additional package, libegit2. It > might be nice to update our version of ghub. > > Best, > Brian > From 8f7c7623743cf2b0bc06b9ae34bac7ac2b1e7994 Mon Sep 17 00:00:00 2001 From: Brian Leung Date: Wed, 14 Aug 2019 08:04:20 +0200 Subject: [PATCH] gnu: emacs-ghub: Update to 3.2.0-1.7d59937. * gnu/packages/emacs-xyz.scm (emacs-ghub): Update to 3.2.0-1.7d59937. --- gnu/packages/emacs-xyz.scm | 62 ++++++++++++++++++++------------------ 1 file changed, 32 insertions(+), 30 deletions(-) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 6e612cab56..23e5e09d2a 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -521,39 +521,41 @@ deliver data to mobile and web apps.") (license license:gpl3+))) (define-public emacs-ghub - (package - (name "emacs-ghub") - (version "3.2.0") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/magit/ghub") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0lp52qygyavddl1lrgsyb6mq7hcf9h89dy2pzya3mb2va49f0vvl")))) - (build-system emacs-build-system) - (arguments - `(#:phases - (modify-phases %standard-phases - (add-before 'install 'make-info - (lambda _ - (invoke "make" "info")))))) - (native-inputs - `(("texinfo" ,texinfo))) - (propagated-inputs - `(("dash" ,emacs-dash) - ("graphql" ,emacs-graphql) - ("treepy" ,emacs-treepy))) - (home-page "https://github.com/magit/ghub") - (synopsis "Emacs client libraries for the APIs of various Git forges") - (description - "Ghub provides basic support for using the APIs of various Git forges from + ;; We need a newer commit to avoid problems in emacs-forge. + (let ((commit "7d59937d7782d0062216130a4d059b45e8396f82") + (revision "1")) + (package + (name "emacs-ghub") + (version (git-version "3.2.0" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/magit/ghub") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1ngb61nij9gznqplwg1fmr1vq1czry759hmdibzngl4wqhxpfsjq")))) + (build-system emacs-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'install 'make-info + (lambda _ + (invoke "make" "info")))))) + (native-inputs + `(("texinfo" ,texinfo))) + (propagated-inputs + `(("dash" ,emacs-dash) + ("treepy" ,emacs-treepy))) + (home-page "https://github.com/magit/ghub") + (synopsis "Emacs client libraries for the APIs of various Git forges") + (description + "Ghub provides basic support for using the APIs of various Git forges from Emacs packages. It supports the REST APIs of Github, Github GraphQL, Gitlab, Gitea, Gogs and Bitbucket. It abstracts access to API resources using only a handful of functions that are not resource-specific.") - (license license:gpl3+))) + (license license:gpl3+)))) (define-public emacs-scribble-mode (let ((commit "34e9e5edb921813b6483e0fefa848efb6ee4b314") -- 2.22.0