unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Théo Tyburn" <theo.tyburn@posteo.net>
To: Guillaume Le Vaillant <glv@posteo.net>
Cc: Liliana Marie Prikler <liliana.prikler@gmail.com>, guix-devel@gnu.org
Subject: Re: Help Packaging Incudine (Common Lisp)
Date: Sun, 22 Oct 2023 14:15:50 +0000	[thread overview]
Message-ID: <87mswaivuq.fsf@posteo.net> (raw)
In-Reply-To: <8734y27t87.fsf@kitej>

Hi, sure. Note that here the installation is narrowed to the asd system
"cl-sndfile". But you could add or replace it by "incudine".

> (define-public sbcl-incudine
>   (let ((commit "21c99e4fe1b152c125a1bc6df915759b46cdab78")
>         (revision "1"))
>     (package
>      (name "sbcl-incudine")
>      (version (git-version "0.0.0" revision commit))
>      (source
>       (origin
>        (method git-fetch)
>        (uri (git-reference
>              (url "https://git.code.sf.net/p/incudine/incudine")
>              (commit commit)))
>        (file-name (git-file-name "incudine" version))
>        (sha256
>         (base32 "1zh17ifb6l8cpj5lzjz218h02c7rhf9khnh0lra3qmxd8dlwhqpa"))))
>      (build-system asdf-build-system/sbcl)
> 	 (arguments
>       `(#:asd-systems '("cl-sndfile")
> 		#:phases
> 		(modify-phases
> 		 %standard-phases
> 		 (add-after 'unpack 'fix-paths
> 					(lambda* (#:key inputs #:allow-other-keys)
> 					  ;; contrib
> 					  (map (lambda (system-name)
> 							 (substitute* (string-append "contrib/cl-"
> 														 system-name
> 														 "/cffi-"
> 														 system-name
> 														 ".lisp") 
> 										  (((string-append "lib" system-name "\\.so"))
> 										   (search-input-file inputs
> 															  (string-append "/lib/lib"
> 																			 system-name
> 																			 ".so")))))
> 						   '("sndfile" "portmidi"))
> 					  ;; foreign
> 					  (map (lambda (system-name)
> 							 (substitute* (string-append "src/foreign.lisp") 
> 										  (((string-append "lib" system-name "\\.so"))
> 										   (search-input-file inputs
> 															  (string-append "/lib/lib"
> 																			 system-name
> 																			 ".so")))))
> 						   '("fftw3" "gslcblas" "gsl" ""))
> 					  )))))
>      (inputs
>       (list sbcl-alexandria sbcl-bordeaux-threads sbcl-cffi sbcl-swap-bytes
> 			sbcl-trivial-garbage
> 			;; pthread
> 			;; jack
> 			portmidi
> 			libsndfile
> 			;; fftw
> 			gsl
> 			;; fluidsynth
> 			;; lilv
> 			))
>      (home-page "https://incudine.sourceforge.net")
>      (synopsis "Music/DSP programming environment for Common Lisp")
>      (description
>       "Incudine is useful to design software synthesizers or sound plugins from scratch, exploiting the expressive power of Common Lisp, without the constraint to use pre-built unit generators. It is also a compositional tool that allows to produce high quality sounds controllable at the sample level, defining and redefining the digital signal processors and the musical structures on-the-fly. ")
>      (license license:bsd-2))))

Guillaume Le Vaillant <glv@posteo.net> writes:

> [[PGP Signed Part:Undecided]]
> Hi.
> Could you send the package definition you made for Incudine?
> I could take a look at it and try to find where the issue comes from.
>
> [[End of PGP Signed Part]]



  reply	other threads:[~2023-10-22 14:19 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-26 20:31 Help Packaging Incudine (Common Lisp) Théo Tyburn
2023-09-28 12:23 ` Théo Tyburn
2023-09-29  4:29   ` Liliana Marie Prikler
2023-09-30 13:31     ` Théo Tyburn
2023-10-22 12:07       ` Guillaume Le Vaillant
2023-10-22 14:15         ` Théo Tyburn [this message]
2023-10-23  8:44           ` Guillaume Le Vaillant
2023-10-24 20:25             ` Théo Tyburn
2023-09-28 14:20 ` Théo Tyburn

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=87mswaivuq.fsf@posteo.net \
    --to=theo.tyburn@posteo.net \
    --cc=glv@posteo.net \
    --cc=guix-devel@gnu.org \
    --cc=liliana.prikler@gmail.com \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).