all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Nils Gillmann <niasterisk@grrlz.net>
To: guix-devel@gnu.org
Subject: Re: [PATCH] Add MilkyTracker to Guix
Date: Sat, 26 Mar 2016 11:11:46 +0100	[thread overview]
Message-ID: <87fuvdo8f1.fsf@grrlz.net> (raw)
In-Reply-To: 6dae35698781717e6043be7086b6f63c@openmailbox.org

kei@openmailbox.org writes:

> The attached is a patch to gnu/packages/music.scm that allows a
> minimal and functional build of MilkyTracker. I'm unsure if this is
> formatted correctly, but I'm willing to learn. :-)

Thanks!

For Guix we follow the GNU coding standard for patches, which
also include formated commit messages.
https://www.gnu.org/software/guix/manual/html_node/Submitting-Patches.html

This also requires adding a name + email to the header, a legal
name is not necessarily required, it can also be a pseudonym or a
known name you have.

> --- music.scm.bak	2016-03-25 17:39:35.959715114 -0400
> +++ music.scm	2016-03-25 19:39:44.754396091 -0400
> @@ -78,6 +78,7 @@
>    #:use-module (gnu packages rdf)
>    #:use-module (gnu packages readline)
>    #:use-module (gnu packages rsync)
> +  #:use-module (gnu packages sdl)
>    #:use-module (gnu packages tcl)
>    #:use-module (gnu packages texinfo)
>    #:use-module (gnu packages texlive)
> @@ -1305,3 +1306,26 @@
>  of tools for manipulating and accessing your music.")
>      (license license:expat)))
>  
> +(define-public milkytracker
> +  (package
> +    (name "milkytracker")
> +    (version "0.90.86")
> +    (source (origin
> +	      (method url-fetch)
> +	      (uri
> +	       (string-append "http://milkytracker.org/files/milkytracker-"
> +				  version
> +				  ".tar.gz"))

not necessarily wrong, but as you defined a name:
(string-append "http://milkytracker.org/files/"
               name "-" version ".tar.gz")

> +              (sha256
> +               (base32
> +                "0mqjkhvjyp5hnzm1ln3b2qjclviayxylcyml96pjdxgbaqcqa2zz"))))
> +    (build-system gnu-build-system)
> +    (arguments
> +     '(#:configure-flags `("--without-alsa" "--without-jack")))
> +    (inputs
> +     `(("sdl" ,sdl)
> +       ("zlib" ,zlib)))
> +    (synopsis "MilkyTracker is a free software multi-platform  music tracker for composing music in the MOD and XM module file formats.")

I guess you don't use emacs? We have rules defined for line
length etc, I don't know the exact length at the moment,
something around 68 or 70 if I am right.

> +    (description "MilkyTracker is a free software, multi-platform music application for creating .MOD and .XM module files. It attempts to recreate the module replay and user experience of the popular DOS program Fasttracker II, with special playback modes available for improved Amiga ProTracker 2/3 compatibility.")

same.

> +    (home-page "http://milkytracker.org/")
> +    (license license:gpl3)))

I did not testrun it, but that's the stylistic part I can comment
on right now.

-- 
ng
personal contact: http://krosos.sdf.org
EDN: https://wiki.c3d2.de/EDN

  reply	other threads:[~2016-03-26 10:12 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-25 23:54 [PATCH] Add MilkyTracker to Guix kei
2016-03-26 10:11 ` Nils Gillmann [this message]
2016-03-27  7:23 ` Efraim Flashner
2016-03-28  3:09   ` Kei Yamashita
2016-03-28 10:46     ` Alex Kost
2016-03-28 14:26       ` Ricardo Wurmus
2016-03-28 17:30         ` Kei Yamashita
2016-03-28 17:39           ` Kei Yamashita
2016-03-28 17:43             ` Kei Yamashita
2016-03-28 19:31               ` Kei Yamashita
2016-03-29  9:52               ` Alex Kost
2016-03-30  2:24                 ` Kei Yamashita
2016-03-30  2:36                   ` Leo Famulari
2016-03-30 20:52                   ` Alex Kost
2016-03-27 14:17 ` Nils Gillmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fuvdo8f1.fsf@grrlz.net \
    --to=niasterisk@grrlz.net \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.