From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: lilypond 2.19.80 Date: Fri, 22 Dec 2017 07:39:07 +0100 Message-ID: <87vagzw9kk.fsf@elephly.net> References: <4cbdf5e9-e214-cc5e-7447-54e0c294c5a8@gmail.com> <87y3lvwu9e.fsf@elephly.net> <1b2ede70-fc48-b789-533a-9ccd8907b025@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37383) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eSS1l-0003qV-PO for help-guix@gnu.org; Fri, 22 Dec 2017 13:26:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eSS1h-0004jP-QY for help-guix@gnu.org; Fri, 22 Dec 2017 13:26:37 -0500 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21097) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eSS1h-0004ie-Fx for help-guix@gnu.org; Fri, 22 Dec 2017 13:26:33 -0500 In-reply-to: <1b2ede70-fc48-b789-533a-9ccd8907b025@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Mason Hock Cc: help-guix@gnu.org Hi Mason, > If it's simple enough for me to understand and you can briefly explain > how I'd be happy to do it now and as needed in the future. Great! I appreciate the initiative. First, you need to have a copy of the Guix sources. I recommend following the documentation here: http://www.gnu.org/software/guix/manual/html_node/Contributing.html It boils down to getting the sources via git, and then building them in an environment spawned by =E2=80=9Cguix environment guix=E2=80=9D. Once that=E2=80=99s out of the way, you can edit the lilypond package defin= ition either by opening =E2=80=9Cgnu/packages/music.scm=E2=80=9D and searching fo= r =E2=80=9Cdefine-public lilypond=E2=80=9D, or by running =E2=80=9C./pre-inst= -env guix edit lilypond=E2=80=9D. You=E2=80=99ll see that the version string would need to be changed from "2.19.63" to "2.19.80". Another string that needs to be changed is the hash, i.e. the bit of gibberish in =E2=80=9C(sha256 (base32 =E2=80=A6))=E2= =80=9D. To compute the hash follow these steps: wget https://download.linuxaudio.org/lilypond/source/v2.19/lilypond-2.1= 9.80.tar.gz guix hash lilypond-2.19.80.tar.gz This command will print the new hash string. Just replace the existing hash with that new string. Save the file and make a git commit with these commands: export EDITOR=3Dnano # or whatever your favourite editor is git add gnu/packages/music.scm git commit This will open up your editor and prompt you for a message. Here=E2=80=99s= an appropriate commit message for this change: --8<---------------cut here---------------start------------->8--- gnu: lilypond: Update to 2.19.80. * gnu/packages/music.scm (lilypond): Update to 2.19.80. --8<---------------cut here---------------end--------------->8--- When you save and exit the editor, git will record the commit. You can then tell git to format the last commit as a patch with =E2=80=9Cgit format-patch -1=E2=80=9D and send the resulting file to guix-patches@gnu.or= g via email. Hope this helps! -- Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC https://elephly.net