bug#62589: [PATCH] gnu: nerd-dictation: Factor out wrapper. Add package variants.

2023-04-01 Thread Nicolas Graves via Bug reports for GNU Guix
* gnu/packages/machine-learning.scm (nerd-dictation): Avoid inputs pulseaudio and ydotool when not necessary. Factor out wrapper make-nerd-dictation-package. Add package variants : - nerd-dictation/xdotool - nerd-dictation/sox-xdotool - nerd-dictation/sox-ydotool - nerd-dictation/sox-wtype --- gnu

bug#62594: [m...@pnelson.ca: Contributing guide building from git make check failure]

2023-04-01 Thread Leo Famulari
- Forwarded message from Philip Nelson - Date: Tue, 28 Mar 2023 04:42:25 + From: Philip Nelson To: guix-de...@gnu.org Subject: Contributing guide building from git make check failure I've been following the Contributing guide "Building from Git" section ( https://guix.gnu.org/manual

bug#62589: Help with patch with delayed evaluation

2023-04-01 Thread Nicolas Graves via Bug reports for GNU Guix
On 2023-04-01 12:58, Nicolas Graves wrote: > On 2023-04-01 12:28, Ludovic Courtès wrote: > >> Hi, >> >> Nicolas Graves skribis: >> >>> +(define* (make-nerd-dictation-package >>> + input-tool output-tool >>> + #:key (nerd-dictation-package nerd-dictation)) >>> + "Construct a ner

bug#62226: bash-minimal fails to build on x86_64-w64-mingw32

2023-04-01 Thread Ekaitz Zarraga
Hi, Adding: ``` "ac_cv_header_sys_socket_h=no" ``` To configure flags in the case the target is mingw solves the first issue, but more issues appear. I have no enough knowledge about autotools to dig into this much further but it looks like we are finding wrong stuff in the configure step: `

bug#62589: Help with patch with delayed evaluation

2023-04-01 Thread Nicolas Graves via Bug reports for GNU Guix
On 2023-04-01 12:28, Ludovic Courtès wrote: > Hi, > > Nicolas Graves skribis: > >> +(define* (make-nerd-dictation-package >> + input-tool output-tool >> + #:key (nerd-dictation-package nerd-dictation)) >> + "Construct a nerd-dictation package for OUTPUT-TOOL." >> + (match-let*

bug#62589: Help with patch with delayed evaluation

2023-04-01 Thread Ludovic Courtès
Hi, Nicolas Graves skribis: > +(define* (make-nerd-dictation-package > + input-tool output-tool > + #:key (nerd-dictation-package nerd-dictation)) > + "Construct a nerd-dictation package for OUTPUT-TOOL." > + (match-let* (((input-name output-name) > +(map (lam

bug#62589: [PATCH] gnu: nerd-dictation: Factor out wrapper. Add package variants.

2023-04-01 Thread Nicolas Graves via Bug reports for GNU Guix
* gnu/packages/machine-learning.scm (nerd-dictation): Avoid inputs pulseaudio and ydotool when not necessary. Factor out wrapper make-nerd-dictation-package. Add package variants : - nerd-dictation/xdotool - nerd-dictation/sox-xdotool - nerd-dictation/sox-ydotool - nerd-dictation/sox-wtype --- gnu

bug#62589: Help with patch with delayed evaluation

2023-04-01 Thread Nicolas Graves via Bug reports for GNU Guix
Hi Guix! I'm struggling with the definition of the variants of the nerd-dictation package. I'm sending a commit here. I get the following error messages: sox/wtype: unbound variable while (gnu packages audio) and (gnu packages freedesktop) are indeed imported. Originally, I wasn't using delaye