From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: [PATCH] Add sfarklib & sfarkxtc Date: Tue, 23 Jun 2015 21:26:56 +0200 Message-ID: <87k2uuz0n3.fsf@elephly.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58239) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7Tqf-0006fw-KN for guix-devel@gnu.org; Tue, 23 Jun 2015 15:27:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z7Tqb-00035l-Hg for guix-devel@gnu.org; Tue, 23 Jun 2015 15:27:09 -0400 Received: from sender163-mail.zoho.com ([74.201.84.163]:25819) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7Tqb-00034Q-9N for guix-devel@gnu.org; Tue, 23 Jun 2015 15:27:05 -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-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Guix-devel --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=0001-gnu-Add-sfarklib.patch Content-Transfer-Encoding: 8bit >From bac01c1b64ed14fc1c26f35961f1c8fd29caabcb Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Tue, 23 Jun 2015 21:25:19 +0200 Subject: [PATCH 1/2] gnu: Add sfarklib. * gnu/packages/compression.scm (sfarklib): New variable. --- gnu/packages/compression.scm | 37 ++++++++++++++++++++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm index 78f967c..898d9c2 100644 --- a/gnu/packages/compression.scm +++ b/gnu/packages/compression.scm @@ -4,6 +4,7 @@ ;;; Copyright © 2014, 2015 Mark H Weaver ;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer ;;; Copyright © 2015 Eric Bavier +;;; Copyright © 2015 Ricardo Wurmus ;;; ;;; This file is part of GNU Guix. ;;; @@ -24,10 +25,12 @@ #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (guix download) + #:use-module (guix git-download) #:use-module (guix build-system gnu) #:use-module (guix build-system perl) #:use-module (gnu packages base) - #:use-module (gnu packages perl)) + #:use-module (gnu packages perl) + #:use-module ((srfi srfi-1) #:select (last))) (define-public zlib (package @@ -328,6 +331,38 @@ processed by a Bourne-type shell to unpack the original collection of files. This package is mostly for compatibility and historical interest.") (license license:gpl3+))) +(define-public sfarklib + (package + (name "sfarklib") + (version "2.23.5ca96b779") + (source (origin + ;; The 2.23 tarball does not include the Makefile, but only + ;; Makefile.am. + (method git-fetch) + (uri (git-reference + (url "https://github.com/raboof/sfArkLib.git") + (commit (last (string-split version #\.))))) + (sha256 + (base32 + "1hk1x88dl5b9jq016r6rx5wyszxknyv0sa7gmil4m4alnhwl4h7h")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f ;no "check" target + #:phases + (modify-phases %standard-phases + (replace 'configure + (lambda* (#:key outputs #:allow-other-keys) + (substitute* "Makefile" + (("/usr/local") (assoc-ref outputs "out"))) + #t))))) + (inputs + `(("zlib" ,zlib))) + (home-page "https://github.com/raboof/sfArkLib") + (synopsis "Library for SoundFont decompression") + (description + "Library for decompressing SoundFonts compressed with sfArk.") + (license license:gpl3+))) + (define-public libmspack (package (name "libmspack") -- 2.4.3 --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0002-gnu-Add-sfarkxtc.patch >From 5618f7936ca27261265040dc59d2fba6ffbefd72 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Tue, 23 Jun 2015 21:25:57 +0200 Subject: [PATCH 2/2] gnu: Add sfarkxtc. * gnu/packages/compression.scm (sfarkxtc): New variable. --- gnu/packages/compression.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm index 898d9c2..1cf84a3 100644 --- a/gnu/packages/compression.scm +++ b/gnu/packages/compression.scm @@ -363,6 +363,39 @@ This package is mostly for compatibility and historical interest.") "Library for decompressing SoundFonts compressed with sfArk.") (license license:gpl3+))) +(define-public sfarkxtc + (package + (name "sfarkxtc") + (version "b5e0a2ba39") + (source (origin + ;; There are no release tarballs, so we just fetch the latest + ;; commit at this time. + (method git-fetch) + (uri (git-reference + (url "https://github.com/raboof/sfarkxtc.git") + (commit version))) + (sha256 + (base32 + "0f5x6i46qfl6ry21s7g2p4sd4b2r1g4fb03yqi2vv4kq3saryhvj")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f ;no "check" target + #:phases + (modify-phases %standard-phases + (replace 'configure + (lambda* (#:key outputs #:allow-other-keys) + (substitute* "Makefile" + (("/usr/local") (assoc-ref outputs "out"))) + #t))))) + (inputs + `(("zlib" ,zlib) + ("sfarklib" ,sfarklib))) + (home-page "https://github.com/raboof/sfarkxtc") + (synopsis "Basic sfArk decompressor") + (description "SfArk extractor converts SoundFonts in the legacy sfArk v2 +file format to the sf2.") + (license license:gpl3+))) + (define-public libmspack (package (name "libmspack") -- 2.4.3 --=-=-=--