From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id qDg4Hg6kGWSLQgAASxT56A (envelope-from ) for ; Tue, 21 Mar 2023 13:33:18 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id mC85HQ6kGWQIKgEAG6o9tA (envelope-from ) for ; Tue, 21 Mar 2023 13:33:18 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 4318BBCDC for ; Tue, 21 Mar 2023 13:33:18 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=P12ndtKB; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1679401998; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=iF3my04QndiqnYcY+KC5zOUJhep7+yRGLs6ez/N4E0Y=; b=TEaqb3iewwXc1cJKhVYEKlQEQTNzmkpxIobIz4OlyCxHRO0+gH7tM1NT5j+w9rOQsn6CL/ sOqKeufsvcuQ6koyLOWfrbXNVNsqjPWFS9PKWBDoRUaiNxXTnUqdNM8X4q7GuVR6cxkfkw Xe2HaIK+fNKCZeTkirg//HVX+EQv48AARWfcsraRfXeLiGc4kHWIlKMHNIFzt30DIGEI2V WTniEDZuo9rTo+fcP/Pm/mNryIKwhrjia5G+Yio+YIZlz/dpiOOHtGS2sXzq7a01IqUrT0 gt1jYxLJKEw0h5G+CzLghvg/JXlifd+tXhsZKSgmaz7xPyCdI38a9fWyeLxzhw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=P12ndtKB; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1679401998; a=rsa-sha256; cv=none; b=ODcYCIVDdPKRRbVIMh/lZDMqYLscuQGurNHyJ+cPz40+xsj7//MVGBNA3oJsI8Lq6A0Gtf jPJox7sGDwmiwioibPjR2ym1/lzSx9w2wwfGwsaC4X7RxYbjIFflVztcBVdsrqdv1a8m2T IPAZ720nXX05pDe24Begia3pBkRuU+wwaANn2QBdI1mzDF6jqCL7cprhqPF3C9Kd8ygz+P hA3rO/nnKp/SNpwHhPkOsHXvR189OV2ghtRN0UB8dO1D666K5vlBe28/P+FVsHodiv6s7D xCSES2ceyRb8oSe4i1eIsn8F8PxTQbTL0bRL08spW4HJsiuOz6vp33IdkcERrA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pebAn-0002Dh-H1; Tue, 21 Mar 2023 08:33:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pebAk-0002D5-Te for guix-patches@gnu.org; Tue, 21 Mar 2023 08:33:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pebAk-0000Dn-LB for guix-patches@gnu.org; Tue, 21 Mar 2023 08:33:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pebAk-0002tm-HV for guix-patches@gnu.org; Tue, 21 Mar 2023 08:33:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58809] [PATCH] gnu: Add samplebrain. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 21 Mar 2023 12:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58809 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Antero Mejr Cc: 58809@debbugs.gnu.org Received: via spool by 58809-submit@debbugs.gnu.org id=B58809.167940194311078 (code B ref 58809); Tue, 21 Mar 2023 12:33:02 +0000 Received: (at 58809) by debbugs.gnu.org; 21 Mar 2023 12:32:23 +0000 Received: from localhost ([127.0.0.1]:57826 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pebA7-0002sc-9I for submit@debbugs.gnu.org; Tue, 21 Mar 2023 08:32:23 -0400 Received: from mail-qt1-f174.google.com ([209.85.160.174]:35429) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pebA5-0002sP-LP for 58809@debbugs.gnu.org; Tue, 21 Mar 2023 08:32:22 -0400 Received: by mail-qt1-f174.google.com with SMTP id ay22so6190273qtb.2 for <58809@debbugs.gnu.org>; Tue, 21 Mar 2023 05:32:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679401936; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=iF3my04QndiqnYcY+KC5zOUJhep7+yRGLs6ez/N4E0Y=; b=P12ndtKBMMYXOjwRGmgrOqpNOSRwZjN+SF6nS5HvSqk7MviQw3KYlF7BtmVgDlVxcR TSuklGPMnL697DppXafX6KCs6E9gRnCNrsU0kjYMPIPRT9aNSwwRNC66eEVx0tETR8oQ OvADd7iX76e1j7VagteHAWm/3Gpqz2olBzIKCc6aAQEkxsC5F0BNs+1ecQnNcmGzn/P3 f/t4TYe/+69aKKvUdNrDSeIsAxErZWqZEQnYXebyh2K29w5g0rQIX7V/veMqUWX/mR5U gajpni5v8LSAG3LtXLh1A3hzVRX8NQ1/IO03OSxQgHhvn0Exh7NPa//vwCHRDk3OtVAw l/0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679401936; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=iF3my04QndiqnYcY+KC5zOUJhep7+yRGLs6ez/N4E0Y=; b=gD2Fhr8TymmxbkRgy2UYNWyRhc2uH5Ur+7N8+vwa9FUS8ZMJeVepxuxJIkBQZvWqGm 5xO03t0U/ob7fCXlY/n7nZOYx1BxM+JLtH/OUfFreUuDZCzAidfzN/5kBspd2+hBJ9tQ HobCjzT27ITA4rINIZRkRiumV81RirQgAjH0sMmwVFfnu9feYibOS9HjFRHltPKxLs+q AP57U5/t98hmQwfmuWO9eQuLpCrseAXyT3ybOntspmzV+9OI81WlmCFGEOR7ULJuIRfE dN/7W0MYBkBUGo3zonz2e4qv/ryIpUrsysv6oYgZ+Kb3rMxSazgTMx6QcI27UAm4yiq7 yY+A== X-Gm-Message-State: AO0yUKX4fqdpGLhA4I6YliHnpKXYIcCAWmwYYZhOZm2TWDOXmBJfH9Zw Bj3VD5uf5AxeW++NvO4420cKhJJ275Mpvg== X-Google-Smtp-Source: AK7set8Wi+IPJVjcSjBplUXt3KUaxFmBs8mcblOp9gFUiN0ZaTFW11Dx/mtvP8FxAn1G5x88YtN4ag== X-Received: by 2002:ac8:5c0c:0:b0:3e3:7c84:8d3d with SMTP id i12-20020ac85c0c000000b003e37c848d3dmr3944974qti.3.1679401935799; Tue, 21 Mar 2023 05:32:15 -0700 (PDT) Received: from hurd (dsl-10-130-195.b2b2c.ca. [72.10.130.195]) by smtp.gmail.com with ESMTPSA id h2-20020ac85682000000b003e388264753sm13496qta.65.2023.03.21.05.32.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Mar 2023 05:32:15 -0700 (PDT) From: Maxim Cournoyer References: <20221027010749.3291-1-antero@mailbox.org> Date: Tue, 21 Mar 2023 08:32:14 -0400 In-Reply-To: <20221027010749.3291-1-antero@mailbox.org> (Antero Mejr's message of "Thu, 27 Oct 2022 01:07:49 +0000") Message-ID: <87y1nqs2sx.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: X-Migadu-Queue-Id: 4318BBCDC X-Spam-Score: -2.65 X-Migadu-Spam-Score: -2.65 X-Migadu-Scanner: scn0.migadu.com List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-TUID: sMw1MOhBYukw Hi Antero, Antero Mejr writes: > * gnu/packages/music.scm (samplebrain): New variable. > --- > gnu/packages/music.scm | 31 +++++++++++++++++++++++++++++++ > 1 file changed, 31 insertions(+) > > diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm > index 72299f13f1..d1d56f149f 100644 > --- a/gnu/packages/music.scm > +++ b/gnu/packages/music.scm > @@ -6899,6 +6899,37 @@ (define-public orca-music > (home-page "https://100r.co/site/orca.html") > (license license:expat)))) > > +(define-public samplebrain > + (package > + (name "samplebrain") > + (version "0.18.4") > + (source (origin > + (method git-fetch) > + (uri (git-reference > + (url "https://gitlab.com/then-try-this/samplebrain") > + (commit (string-append version "_release")))) > + (file-name (git-file-name name version)) > + (sha256 > + (base32 > + "14ynmnyg0mmrl7z7241yc5wxxsrjyqmzs1ds1kh8shkach8j05rx")))) > + (build-system qt-build-system) > + (arguments > + (list #:tests? #f ;no tests > + #:phases #~(modify-phases %standard-phases > + (replace 'configure > + (lambda _ > + (substitute* "samplebrain.pro" > + (("\\/usr") #$output)) > + (invoke "qmake")))))) > + (inputs (list fftw liblo libsndfile portaudio)) > + (home-page "https://thentrythis.org/projects/samplebrain/") > + (synopsis "Sample mashing synthesizer designed by Aphex Twin") > + (description "Samplebrain chops samples up into a 'brain' of interconnected > +small sections called blocks which are connected into a network by similarity. > +It processes a target sample, chopping it up into blocks in the same way, and > +tries to match each block with one in its brain to play in realtime.") > + (license license:gpl2))) Thanks! The license, which is gpl2+ (version 2 or later), according to the LICENSE file (and source copyright headers). I was about to push this, but running the binary yields: --8<---------------cut here---------------start------------->8--- $ /gnu/store/qi31sc2z7nbi4c3wpj7w218fgbjmfsns-samplebrain-0.18.4/bin/samplebrain liblo server error 9904 Segmentation fault --8<---------------cut here---------------end--------------->8--- Could you please look into that? -- Thanks, Maxim