From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 wNOFLDGyjGS5AQAASxT56A (envelope-from ) for ; Fri, 16 Jun 2023 21:04:17 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id eABCLDGyjGSldAEA9RJhRA (envelope-from ) for ; Fri, 16 Jun 2023 21:04:17 +0200 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 1F9D8117BA for ; Fri, 16 Jun 2023 21:04:17 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qAEjs-0006u9-KJ; Fri, 16 Jun 2023 15:04:04 -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 1qAEjr-0006te-9G for guix-patches@gnu.org; Fri, 16 Jun 2023 15:04:03 -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 1qAEjr-00054c-0p for guix-patches@gnu.org; Fri, 16 Jun 2023 15:04:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qAEjq-0001or-Si for guix-patches@gnu.org; Fri, 16 Jun 2023 15:04:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63254] [PATCH v4 3/5] gnu: Add rtosc. References: In-Reply-To: Resent-From: Sughosha Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 16 Jun 2023 19:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63254 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: "63254@debbugs.gnu.org" <63254@debbugs.gnu.org> Received: via spool by 63254-submit@debbugs.gnu.org id=B63254.16869422356973 (code B ref 63254); Fri, 16 Jun 2023 19:04:02 +0000 Received: (at 63254) by debbugs.gnu.org; 16 Jun 2023 19:03:55 +0000 Received: from localhost ([127.0.0.1]:50396 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qAEji-0001oO-DM for submit@debbugs.gnu.org; Fri, 16 Jun 2023 15:03:54 -0400 Received: from mail-40138.protonmail.ch ([185.70.40.138]:40839) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qAEjg-0001oA-HD for 63254@debbugs.gnu.org; Fri, 16 Jun 2023 15:03:53 -0400 Date: Fri, 16 Jun 2023 19:03:43 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=protonmail; t=1686942226; x=1687201426; bh=ERLuGL3/FMukCOsXk5Fo+YlFTkle+vNmN0wJsRnnXIc=; h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=UYRcYSeyvGRTE8vX1n69Ui5jbgs/Cj+vVXbG5a67DUG643is0yfT39a9j3u6GxAsA l2GPmfybqZ6e/Z1ci+zgEnJMS3Udv4NZFOaRHb6QvUBnDXwkptQQ6Hr4RYO9DFn085 ihNXZcgpNfYnJvYZm0XJJjxv4NT8z6NHvXJ08YXzM7Waud1h4pIfImo+n17RsqfLRL Nu14XN47xmPFUVhpKeOBYTjXv+l6/qAPS1fULrqDKKUj2Ne2CuUgyUsDRhGOALxoob /8OCFgKKvG4o3uiyH5An3j8GsQQ4p4EiPr9pq9lBOf6TnusDt5UdLg1ixODhkNt7D8 nT3kyaWA4dqDw== Message-ID: Feedback-ID: 45211691:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1686942257; a=rsa-sha256; cv=none; b=K1Qu6TBP6WAmcRlZ+VG230rK4B9pKilGXhRm8wF8zXbUZEeKlG696aD/ochG16wQtb1Uqg +CRfgQQuAUFk7UWY4/G39SXooTUszhe2h0gx/Y5CWlqFlCzKXEZkBSFPw3ot2zomxadtV4 6q99zSmWaHNS+Q4hlhKmdwHLD4seD/Qb8u2LFnEcvCriQe+O6gAZQy/x5UACq/I1qHbopX vbFa6GLLD8g+GPu+ezdbrMTdPdFStGok9YA/rvbtgJnQWelxfsg6/Gc8oS6sX8KLb+Bty7 xSUNoGasXmXpI3f6HSKpavnCCuCm7OgYI70CteoHCKZGR9R92ZzzshGeFeBZNA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=proton.me header.s=protonmail header.b=UYRcYSey; 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=1686942257; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=ERLuGL3/FMukCOsXk5Fo+YlFTkle+vNmN0wJsRnnXIc=; b=uiGcBEGKycBic2zV3NSlr1mf9+SE99ONDn2v/Z/vtv7naGt3js42VQwhx6SNby+u8EOO4F hSQ21E3XJGdRAW2VjLAWJtAz1qJjAvbrSYb/CSvdxzv4kyQW/6UJxuT1d+pEZjdvCy0Vwf OPIoq1M+7kcO/waRGPh6ZNSmt73PgJNEKad49pVMOhx8piNTavfnX5q6fPSYAmCQuDpfoG jkyRPaDCFed8vHhTf52npZ8ZONwUfVXNiOr7uKPu+gxXuTbVd6KvSH4SZzev9siwm6DSOi BzC0Q804t807VcDuzHh6GecAlnV+bFJQ7i5I1HgHSLICVQJHoA3espE7/Faflg== Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=proton.me header.s=protonmail header.b=UYRcYSey; 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" X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -2.53 X-Spam-Score: -2.53 X-Migadu-Queue-Id: 1F9D8117BA X-TUID: 5dOzz1Q6m69D * gnu/packages/audio.scm (rtosc): New variable. * gnu/packages/patches/rtosc-0.3.1-fix-invalid-comparision-operator.patch: = New file. * gnu/local.mk: Register the patch file. --- gnu/local.mk | 1 + gnu/packages/audio.scm | 45 +++++++++++++++++++ ....3.1-fix-invalid-comparison-operator.patch | 14 ++++++ 3 files changed, 60 insertions(+) create mode 100644 gnu/packages/patches/rtosc-0.3.1-fix-invalid-comparison= -operator.patch diff --git a/gnu/local.mk b/gnu/local.mk index 3d3e54406b..3f516d395a 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -1867,6 +1867,7 @@ dist_patch_DATA =3D=09=09=09=09=09=09\ %D%/packages/patches/ripperx-missing-file.patch=09=09\ %D%/packages/patches/rpcbind-CVE-2017-8779.patch=09=09\ %D%/packages/patches/rtags-separate-rct.patch=09=09=09\ + %D%/packages/patches/rtosc-0.3.1-fix-invalid-comparison-operator.patch= =09\ %D%/packages/patches/racket-chez-scheme-bin-sh.patch=09=09\ %D%/packages/patches/racket-rktio-bin-sh.patch=09=09\ %D%/packages/patches/racket-zuo-bin-sh.patch=09=09=09\ diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm index 58a981b2fe..c4c8e702b5 100644 --- a/gnu/packages/audio.scm +++ b/gnu/packages/audio.scm @@ -2806,6 +2806,51 @@ (define-public liblo implementation of the Open Sound Control (@dfn{OSC}) protocol.") (license license:lgpl2.1+))) =20 +(define-public rtosc + (package + (name "rtosc") + (version "0.3.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/fundamental/rtosc") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1djvyq53cjwd0szkvhpk45zcmdgrlirjwr02nqq9hzdmh0n26pk2")) + (patches + (search-patches + "rtosc-0.3.1-fix-invalid-comparison-operator.patch")))) + (build-system cmake-build-system) + (arguments + (list #:configure-flags + #~(list "-DPERF_TEST=3DON" + "-DRTOSC_BUILD_SHARED_LIBS=3DON") + #:phases + #~(modify-phases %standard-phases + (add-after 'build 'build-documentation + (lambda _ + (invoke "make" "rtosc-doc"))) + (add-after 'install 'install-documentation + (lambda _ + (copy-recursively "html" + (string-append #$output:doc + "/share/doc/rtosc/html"))))))) + (native-inputs + (list doxygen pkg-config ruby)) + (inputs + (list jack-1 + liblo + libx11 + mesa)) + (outputs (list "out" "doc")) + (home-page "https://fundamental-code.com/wiki/rtosc/") + (synopsis "Realtime Safe OSC packet serialization and dispatch") + (description + "RtOsc is a realtime safe library for handling OSC messages.") + (license license:expat))) + (define-public rtaudio (package (name "rtaudio") diff --git a/gnu/packages/patches/rtosc-0.3.1-fix-invalid-comparison-operat= or.patch b/gnu/packages/patches/rtosc-0.3.1-fix-invalid-comparison-operator= .patch new file mode 100644 index 0000000000..925e39e9a1 --- /dev/null +++ b/gnu/packages/patches/rtosc-0.3.1-fix-invalid-comparison-operator.patc= h @@ -0,0 +1,14 @@ +This patch fixes the unknown version comparison operator + +diff --git a/librtosc-cpp.pc.cmake b/librtosc-cpp.pc.cmake +index 0d8fda2..edbcb3a 100644 +--- a/librtosc-cpp.pc.cmake ++++ b/librtosc-cpp.pc.cmake +@@ -9,6 +9,6 @@ includedir=3D@CMAKE_INSTALL_FULL_INCLUDEDIR@ + Name: rtosc_cpp + Description: rtosc_cpp - a realtime safe open sound control serialization= and dispatch system for C++ + Version: @VERSION_MAJOR@.@VERSION_MINOR@.@VERSION_PATCH@ +-Requires: librtosc =3D=3D @VERSION_MAJOR@.@VERSION_MINOR@.@VERSION_PATCH@ ++Requires: librtosc =3D @VERSION_MAJOR@.@VERSION_MINOR@.@VERSION_PATCH@ + Libs: -L${libdir} -lrtosc -lrtosc-cpp + Cflags: -I${includedir} --=20 2.40.1