From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37792) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fPDLf-0001Pu-1n for guix-patches@gnu.org; Sat, 02 Jun 2018 16:42:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fPDLd-0003XP-U3 for guix-patches@gnu.org; Sat, 02 Jun 2018 16:42:03 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:51693) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fPDLd-0003XJ-PY for guix-patches@gnu.org; Sat, 02 Jun 2018 16:42:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fPDLd-0004qz-Im for guix-patches@gnu.org; Sat, 02 Jun 2018 16:42:01 -0400 Subject: [bug#31514] [PATCH 09/21] gnu: Add emacs-gif-screencast. Resent-Message-ID: From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <20180518184910.9987-16-ambrevar@gmail.com> <20180601075051.28276-1-ambrevar@gmail.com> <87zi0d5lsi.fsf@gnu.org> <87in713zaz.fsf@gmail.com> Date: Sat, 02 Jun 2018 22:41:25 +0200 In-Reply-To: <87in713zaz.fsf@gmail.com> (Pierre Neidhardt's message of "Sat, 02 Jun 2018 18:53:24 +0200") Message-ID: <87vab06hvu.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Pierre Neidhardt Cc: 31514@debbugs.gnu.org Pierre Neidhardt skribis: > Ludovic Court=C3=A8s writes: > >> Pierre Neidhardt skribis: >> >>> * gnu/packages/emacs.scm (emacs-gif-screencast): New variable. >> >> [...] >> >>> + (package >>> + (name "emacs-gif-screencast") >>> + (version "20180309") >>> + (source >>> + (origin >>> + (method url-fetch) >>> + (uri (string-append >>> + "https://github.com/Ambrevar/emacs-gif-screencast/archive= /" >>> + "825e606950ec842304bf75cf85baef707b853b03" >>> + ".tar.gz")) >> >> Could you use the usual scheme for version numbers of Git snapshots >> (info "(guix) Version Numbers")? > > I followed the form of emacs-zotxt that was just packaged. > emacs-gif-screencast, like many other Emacs packages, has no version > number. > Do you suggest something like > > (let ((commit ...)) > ; ... > (gitversion "20180309" "1" commit) > > ? Yes. I think it=E2=80=99s useful to have the shortened commit ID in the ve= rsion string. Thanks, Ludo=E2=80=99.