From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kei Kebreau Subject: Re: [PATCH] gnu: Add schismtracker. Date: Sun, 11 Sep 2016 09:38:20 -0400 Message-ID: <87eg4qeeur.fsf@openmailbox.org> References: <87r38sg1h6.fsf@openmailbox.org> <87poocqkc7.fsf@ike.i-did-not-set--mail-host-address--so-tickle-me> <87oa3voqxb.fsf@gnu.org> <87mvjfg74n.fsf@openmailbox.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53592) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bj4yA-0003uS-7D for guix-devel@gnu.org; Sun, 11 Sep 2016 09:38:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bj4y6-0003NF-1R for guix-devel@gnu.org; Sun, 11 Sep 2016 09:38:49 -0400 Received: from smtp24.openmailbox.org ([62.4.1.58]:35376 helo=smtp9.openmailbox.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bj4y5-0003Mv-Kq for guix-devel@gnu.org; Sun, 11 Sep 2016 09:38:45 -0400 In-Reply-To: <87mvjfg74n.fsf@openmailbox.org> (Kei Kebreau's message of "Sat, 10 Sep 2016 10:30:00 -0400") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel@gnu.org --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable ludo@gnu.org (Ludovic Court=C3=A8s) writes: > Marius Bakke skribis: > >> Kei Kebreau writes: > > [...] > >>> + (home-page "http://schismtracker.org") >>> + (synopsis "Impulse Tracker clone") >> >> I think this should be more generic. The tagline from github works >> pretty well: "Oldschool sample-based music composition tool". > > +1 > >> The rest LGTM. But! The package records build time in version.c. I >> managed to make it reproducible by adding a phase like this: >> >> (add-before 'build 'make-reproducible >> (lambda _ >> ;; Remove use of __DATE__ and __TIME__ for reproducibility. >> (substitute* "schism/version.c" >> (("Schism Tracker built %s %s.*$") >> (string-append "Schism Tracker version " ,version "\");= "))) >> #t)) > > I would suggest making it a =E2=80=98snippet=E2=80=99 instead, as we usua= lly do in > such > cases. > > Thanks Kei & Marius! > > Ludo=E2=80=99. I think I got everything... Will this do? *Forgot to cc the mailing list last time! :P --=-=-= Content-Type: text/plain Content-Disposition: attachment; filename=0001-gnu-Add-schismtracker.patch Content-Transfer-Encoding: quoted-printable From=20961dcf1e1e3ce45ea9d3f9c84fbe5562d52a1dd4 Mon Sep 17 00:00:00 2001 From: Kei Kebreau Date: Sat, 10 Sep 2016 10:27:34 -0400 Subject: [PATCH] gnu: Add schismtracker. * gnu/packages/music.scm (schismtracker): New variable. =2D-- gnu/packages/music.scm | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm index 88743aa..f294564 100644 =2D-- a/gnu/packages/music.scm +++ b/gnu/packages/music.scm @@ -1638,6 +1638,52 @@ for improved Amiga ProTracker 2/3 compatibility.") ;; 'src/milkyplay' is under Modified BSD, the rest is under GPL3 or la= ter. (license (list license:bsd-3 license:gpl3+)))) =20 +(define-public schismtracker + (package + (name "schismtracker") + (version "20160521") + (source (origin + (method url-fetch) + (uri (string-append + "https://github.com/" name "/" name "/archive/" + version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0c6r24wm3rldm4j8cskl9xnixj3rwi3lnrhckw5gv43wpy6h4jcz")) + (modules '((guix build utils))) + (snippet + ;; Remove use of __DATE__ and __TIME__ for reproducibility. + `(substitute* "schism/version.c" + (("Schism Tracker build %s %s.*$") + (string-append "Schism Tracker version " ,version "\");= ")))))) + (build-system gnu-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'autoconf + (lambda _ (zero? (system* "autoreconf" "-vfi")))) + (add-before 'configure 'link-libm + (lambda _ (setenv "LIBS" "-lm") #t))))) + (native-inputs + `(("autoconf" ,autoconf) + ("automake" ,automake) + ("python" ,python))) + (inputs + `(("alsa-lib" ,alsa-lib) ; for asound dependency + ("libx11" ,libx11) + ("libxext" ,libxext) + ("sdl" ,sdl))) + (home-page "http://schismtracker.org") + (synopsis "Oldschool sample-based music composition tool") + (description + "Schism Tracker is a reimplementation of Impulse Tracker, a program u= sed to +create high quality music without the requirements of specialized, expensi= ve +equipment, and with a unique \"finger feel\" that is difficult to replicat= e in +part. The player is based on a highly modified version of the ModPlug eng= ine, +with a number of bugfixes and changes to improve IT playback.") + (license license:gpl2+))) + (define-public moc (package (name "moc") =2D-=20 2.10.0 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJX1V5NAAoJEOal7jwZRnoNDb4QAIjDPo5yj+gOuwnRei53cV0P z/PFHn9av7czj5lprqzhvw0LznNdjcgMJC0kK6H2NrJlRyi+e8vskHQ6CIp0Dhu9 /qU68kq1CVST/NBwJw7gDtBY2fHQra9EAfPDri/94H/Dxdk6i9wUUD2CvmfjjJRh ZN6mtLXHp590b/ihjpsNgO9rmZFhYytpC4FpWyZFN1hbJHWPVSJnQnjYwhfCZChw QM5zcGhDWAFgdNZAAkxxCCXLAnQb91nDuPo7q15xuAceX2SVWbet7ikrHa9QNvrZ YH4WADFeWmk5FcYkaVZuyF5wutARZz62cEeWi65XBsiuDVrzR9VBQiHBB3Ym/bW3 XOzO0kYHoZQg7ZyxjqVu0Fmc5YzCWDQ39wSyZg8m05uOv+p75RPiAh/OBZ65dBa2 hbwDxC5FubcdEWMW43vMfcP5N6OxLF+gE0aKnjpPpMj0MzcxO3KlTFWXH+9ecT5m Fuu0Cdab5EcIwNm4CaOVV0dGfTW7tLEKsRlfUksXqojIyPJFcCbpuSFOIog83eos B6nkzFcAIRvih1s35l8rSYyyfZm2bFYEYQgipBFHpDrb1XWlDScCtCH5Z8YNEXyu XZawjBZCj13oD5LOKyeO1zc1WQnm+R95Nz/3lJ74HNaDnscDHqgwscvNrQI6XnGO RxAA64FbYXmefleWKCcX =pjoP -----END PGP SIGNATURE----- --==-=-=--