From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id sBtaEeZnU2R17gAASxT56A (envelope-from ) for ; Thu, 04 May 2023 10:08:06 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id EABcEeZnU2SV7wAA9RJhRA (envelope-from ) for ; Thu, 04 May 2023 10:08:06 +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 D93B6292C8 for ; Thu, 4 May 2023 10:08:05 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1puU0R-0000Iw-HR; Thu, 04 May 2023 04:08:03 -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 1puU0Q-0000IV-Ir for guix-patches@gnu.org; Thu, 04 May 2023 04:08: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 1puU0Q-0000GW-B7 for guix-patches@gnu.org; Thu, 04 May 2023 04:08:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1puU0Q-0000KF-6A for guix-patches@gnu.org; Thu, 04 May 2023 04:08:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63254] [PATCH v2 3/5] gnu: Add rtosc. References: In-Reply-To: Resent-From: Sughosha Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 04 May 2023 08:08: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.16831876491179 (code B ref 63254); Thu, 04 May 2023 08:08:02 +0000 Received: (at 63254) by debbugs.gnu.org; 4 May 2023 08:07:29 +0000 Received: from localhost ([127.0.0.1]:48422 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1puTzt-0000Ix-Az for submit@debbugs.gnu.org; Thu, 04 May 2023 04:07:29 -0400 Received: from mail-4027.protonmail.ch ([185.70.40.27]:45255) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1puTzr-0000Ij-Nz for 63254@debbugs.gnu.org; Thu, 04 May 2023 04:07:28 -0400 Date: Thu, 04 May 2023 08:07:15 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=protonmail; t=1683187641; x=1683446841; bh=p8kWTAhFvPzCBKGo35ipKRI3qMskVRBxKtby+xoQjwg=; h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=RPXVMg6CtUcrd7nB4X1sAms3nKjOoXE9S13+HH7IB5tcravfJUJZoWpfpesj6EYHD mDYIkb4yq3c9LZye+j5P9xP+VPZ7EvuHifvZTPC1G4AXXOyvSNGvLUqjuKjGvlee7A tupbRnplAErvi+2Otu82vvh8ANrJgsimb/w6NruRwXiQ5Afaq/mlRKr+iG10V8pD2t pgnwp/4cwm2u6w+w4CeLf8Ag2uWifVeA1lz5Scpw4LdYRN4WwUGr5+Gla3hP1O39sW W8S5Xh+5guKpPXVx1KDESVH1UttmlZ7YHYOEVumMH2JKUUCabOGg2CxFxKs4p4Bwwm yvzJ2G7Wmi/4w== 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=1683187686; a=rsa-sha256; cv=none; b=d5KU6ii02fxHmo1BnAEZv3KNzdKsT7quQHqX3+fedtm/frlKlo2wlTH9I83fzDHsR3eqSa zE3x92Winl7P54VtwYD5V1MPVmh5FpP/zSmTGGtBILzpsGF8yF7ET2TKJiCCB6ouk/VYAV GgyzlN0CArY4i0svVRAy21LrZizuqhMx6Lry4L/1avCEea8ysCh5A6x2GNUf7rMdrK+NMP GnwW2i7PNZvV9k0g/mzXylccHc+BF5JM3m2jhZn8f57BWW6j7LBPUuxsqp5KB4wjhq0p3C ukFIDZyvoZuqC3P1zk7y6yY5zrmwTjDgPT824eLIEZzmt+dGA5/S/MO/6Ik9Gw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=proton.me header.s=protonmail header.b=RPXVMg6C; 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=1683187686; 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=p8kWTAhFvPzCBKGo35ipKRI3qMskVRBxKtby+xoQjwg=; b=VHf4mVGYvHajiuykVLmWi+i2eOa5dgoXFjB1DMH7iG3OckClaghf9cJiSxxGDDrf296Iaz pHCsukjRWV47DoMno9fEMSUGVQhoGOXYoktCW9Bvff0z8Md8kp+K6N2GqiBRBmdVN0/lfO 4LFdvdBcYIItmSzL3ivaW/+td9odMGyywhI0vS3EHFQ7QPQS6n8vMUdlzki1LQXqd/N+BU L2EWON7qmxsBQtx+f+luSHrhiscsC6bZOatXKacqCQ+fcWtbbQtTMkygRPdRwZISCucuM+ GupboTuqN6itCcSAo/izgMsuHi9n2Ip77e9GoJdtW7jrI7X//dTVax7qH7Ikow== X-Migadu-Spam-Score: -3.31 X-Spam-Score: -3.31 X-Migadu-Queue-Id: D93B6292C8 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=proton.me header.s=protonmail header.b=RPXVMg6C; 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-TUID: y5rKLd+zLen7 * 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 68a02d10b5..aa50fc0465 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -1842,6 +1842,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 109133ba8e..236fc84077 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.39.2