From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id GM8xLdw+VGfWewAA62LTzQ:P1 (envelope-from ) for ; Sat, 07 Dec 2024 12:26:04 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id GM8xLdw+VGfWewAA62LTzQ (envelope-from ) for ; Sat, 07 Dec 2024 13:26:04 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=cEd6fKCb; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=jzpCiDF0; dmarc=pass (policy=none) header.from=gnu.org; 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=1733574364; a=rsa-sha256; cv=none; b=KmXKyRTKbuKCgmzBRMYX731uAx8Lf90wJJgViaYfernrGfjbEPxxbHYGlLu4VjvwDZwuHF R2uNB630rD2I4+G8R4DRgucHNWcL7HH+EoECza0WPUZ8Rr7W0+WmQl8TFP0tWYFAV0pEEW vm7YtYn9dMTCsbwKqI0de6o+mCKpCf0+P/PP2Grr3OaVq88jeVAJWwM/Jc7mUw0lHvYyur H5s4wUWeDWUnOFT8NcgkMhw/Rqd0wOZ+Z48+hdS6wRuy1ioo5a6omoTDrtOPjoPdpOVHbc 12qOe7PKmEb+11eItor1pkuZPn5mvaIHE9qviy4Pq63T8ZsJiqqn0mQP3cx+NQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=cEd6fKCb; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=jzpCiDF0; dmarc=pass (policy=none) header.from=gnu.org; 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=1733574364; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: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=Pm39czuDhO7NQsyjHtFaftNdLDNXcJwpehlWlUQ6WkI=; b=ANgzmx68NYldNybmy3EWeH/kJyJ9an3a6j7dfE84nFBGSCoGaIv/X+Q98urElxJsJfOc0A DXQhMUbUABdOGJbtDBflIRwcPbnqV+RHj29AO23mGdJosNo4lJbOTXrBiargHanI4ggcZ3 0+Jyhw7nNwZELv3IaCYB6kXA96hJsvnrZcQ4loPtD3bN9YlnZY5OrJ64OiXI/MN5A5FdOh /hjfAqyxx0nbfiDzoYQ1IRvs7HVknmGWEwxyA0CPJI7PPrLkyPdQqmEqPYZBN9PgRwjTUV zdQVyVJ4yR6klf3Po0hgdQ8nVCIg1ETUjMXIwLLw4ZxklHHMftwmT4jK1xTh/g== 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 9D6DC5D63C for ; Sat, 07 Dec 2024 13:26:04 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tJtrz-0003IX-52; Sat, 07 Dec 2024 07:25:11 -0500 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 1tJtrx-0003FI-2Q for guix-patches@gnu.org; Sat, 07 Dec 2024 07:25:09 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tJtrw-0001ZE-Ot for guix-patches@gnu.org; Sat, 07 Dec 2024 07:25:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=Pm39czuDhO7NQsyjHtFaftNdLDNXcJwpehlWlUQ6WkI=; b=cEd6fKCboxboHTvJDqiikBW1geO5o6Ed7E6nJfkTPCnEMoUqF9PGIqzi5TJBOE35pVUhRGpM8Fmdvpl0nytuOK5LCX84nAEuZRb05rcZlMdHmU/t1COa1yKSqQKKMKICM8AAEeqwzggmKEYMMrX52RxAFyhx5tVeuf1FbK17KoxKg/VL//ZzMAq+WC6ANoDB0L7QqOIfn+OGuD7yEGI124wQ/C1FqrQcz3G/3v3BdvlPGS9FjGj2ajN3x7GMhtXABSCTQYavt25weMzdeVjA5KA68pWzDH6eoomkNCoOqIVYt/EQfTFM1Nf0cMJGd34feYAVcO8wqu06DuHTkPcKZQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tJtrw-0001om-JN; Sat, 07 Dec 2024 07:25:08 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74723] [PATCH 11/19] gnu: Add ringbuffer. Resent-From: Sughosha Original-Sender: "Debbugs-submit" Resent-CC: gabriel@erlikon.ch, guix-patches@gnu.org Resent-Date: Sat, 07 Dec 2024 12:25:08 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74723 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74723@debbugs.gnu.org Cc: Sughosha , Gabriel Wicki X-Debbugs-Original-Xcc: Gabriel Wicki Received: via spool by 74723-submit@debbugs.gnu.org id=B74723.17335742976803 (code B ref 74723); Sat, 07 Dec 2024 12:25:08 +0000 Received: (at 74723) by debbugs.gnu.org; 7 Dec 2024 12:24:57 +0000 Received: from localhost ([127.0.0.1]:45733 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tJtrl-0001lW-25 for submit@debbugs.gnu.org; Sat, 07 Dec 2024 07:24:57 -0500 Received: from layka.disroot.org ([178.21.23.139]:52578) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tJtre-0001kP-Ma for 74723@debbugs.gnu.org; Sat, 07 Dec 2024 07:24:52 -0500 Received: from mail01.disroot.lan (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 88A8E25206; Sat, 7 Dec 2024 13:24:50 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id VOSZKEoWxSRo; Sat, 7 Dec 2024 13:24:49 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1733574289; bh=sCRUargql9JWj+t50MaanSiM/lMIe18II0xv0gSw85s=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=jzpCiDF0TwvEQ6Ivmwl6I93eTAppra/GpJivDcZpAs0NrSUGRVORA8RQmct3pz3sG YLwTxn38tyyoOxGKvIUMWxo5RUoQT4HKYGi20qO+aSQYOuWrXHSGghNr9yQsCBSTZI +Axv4HHbZPsNl3aWYlhMEBJSmrjlUIDhcNDGSH0zihasZ+o7JWsAaB9Nwy9Pc5qx0l LIH0oNUKGtgiBKWgsvJBYtoqCwsfjTRv1BMVWzIlQxPzOvk52tzP3D1MVj4kkbVMAz U8cWk7ax3lYI3oIZ7h/ViFZjIoJE2Q+L87P3gGNkseHoTAK9u87ddVluOtDKNppmqS PdrybJi8jQwdg== Date: Sat, 7 Dec 2024 17:50:25 +0530 Message-ID: <972c6786e2872aefb3b7883594eb7215dae78ff8.1733563475.git.sughosha@disroot.org> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=y Content-Transfer-Encoding: 8bit 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: List-Help: List-Subscribe: , Reply-to: Sughosha X-ACL-Warn: , Sughosha via Guix-patches From: Sughosha via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 9D6DC5D63C X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -3.65 X-Spam-Score: -3.65 X-TUID: 7ExyG4RGFyvf * gnu/packages/audio.scm (ringbuffer): New variable. Change-Id: I92765a33ac38a947098a3aba1078adb1a1d622f5 --- gnu/packages/audio.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm index 13ed6c7127..13c9e4d768 100644 --- a/gnu/packages/audio.scm +++ b/gnu/packages/audio.scm @@ -49,6 +49,7 @@ ;;; Copyright © 2024 hapster ;;; Copyright © 2024 mio ;;; Copyright © 2024 Nikita Domnitskii +;;; Copyright © 2024 Sughosha ;;; ;;; This file is part of GNU Guix. ;;; @@ -3568,6 +3569,37 @@ (define-public pcaudiolib (license:non-copyleft "file://src/TPCircularBuffer/README.markdown"))))) +(define-public ringbuffer + (package + (name "ringbuffer") + (version "0.9.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/JohannesLorenz/ringbuffer") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1c57hj6zyvcjpcbwrq8c1hj5brk1bnh69ayd88ny1p0gx031sjpk")))) + (build-system cmake-build-system) + (arguments + (list #:configure-flags + #~(list (string-append "-DINSTALL_LIB_DIR=" #$output "/lib")) + #:phases + #~(modify-phases %standard-phases + (add-after 'install 'install-export-header + (lambda _ + (install-file "src/lib/ringbuffer_export.h" + (string-append #$output + "/include/ringbuffer"))))))) + (home-page "https://github.com/JohannesLorenz/ringbuffer") + (synopsis "Lock-free multi-reader ringbuffer") + (description + "@code{ringbuffer} is a library containing a ringbuffer. It is lock-free +(using atomics only), and allows multiple readers, but only one writer.") + (license license:gpl3+))) + (define-public qjackctl (package (name "qjackctl") -- 2.46.0