From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id oJp4OGwgQmXbvgAAG6o9tA:P1 (envelope-from ) for ; Wed, 01 Nov 2023 10:54:53 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id oJp4OGwgQmXbvgAAG6o9tA (envelope-from ) for ; Wed, 01 Nov 2023 10:54:53 +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 9E63B300EF for ; Wed, 1 Nov 2023 10:54:52 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=XQjuox2l; 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=1698832492; a=rsa-sha256; cv=none; b=cOpwGYL35y/A0/j6voHX2lxPVxl/ZapHA3cAYIlLBaQ8SDUPY1TqyjXvoAUDC/zWpLhglk YADdjB2Pd6+S8DuZPszTqsw3XNoho+C6W3nztLXcnsxAkqU3spJpVV19aHn6RgV3oaDWFH LKRYBJ1QzYWQ9vjrfzcGeSVV+E/8qMpI31nTjLU4E9/ST45bm2Co8sbDy4QRyhYjxCxgUc pnk9wQeyqLzM8/cLMcqlzjEvIzIqfXmsz0Fe7tJei9tFYbn/yIht86ReyIcXZ/D5yDwTLg VHuXVCKBt3gEADmZlOcwefrWQlFvd/iYhFJ1twy7V9VacFRecXMp022JCcfj+w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=XQjuox2l; 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=1698832492; 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-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=KxOEJre1En8jlr1M7hEBe5kkseH/8mTgnO6NexkEmBY=; b=eUOfuIeUtgsCdL2aON4+h1PAlBBNSZXlskQwlNW7YWIErlSUpg8Y8nq6jX8yGkuAQ89t/7 sjOPsaeAKdVb6avMBeaX8mWNpUi2GxloTwlw73Kkocedh9zSencg3nH/z6jDPB4DFuv6MR zsV6PxdWaQOfeDrkcIIT6SSCoQpbPqJ2IQhYGQ9KV4qVRSRntk6D4j0ux8nNtpskTpw5yS VexJtrbTdhr8Fh/TMW1cjmgg7ue8njCNwUap34SO7aj3ym9XpwipPc3aiMjTEMuEMcI4Tz DG+yuM4X+YLhjQ5XJVM5liC6eSJ3x0us6y8kXWvbHyxBZBNv+juH7wzQrpP8SQ== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qy7vj-0001Fn-So; Wed, 01 Nov 2023 05:54:31 -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 1qy7vg-0001ET-Fw for guix-patches@gnu.org; Wed, 01 Nov 2023 05:54:28 -0400 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 1qy7vg-0007vA-7J for guix-patches@gnu.org; Wed, 01 Nov 2023 05:54:28 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qy7wD-0008Fz-P6; Wed, 01 Nov 2023 05:55:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63254] [PATCH v5 2/4] gnu: Add rtosc. Resent-From: Sughosha Original-Sender: "Debbugs-submit" Resent-CC: gabriel@erlikon.ch, guix-patches@gnu.org Resent-Date: Wed, 01 Nov 2023 09:55:01 +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 Cc: Sughosha , Gabriel Wicki X-Debbugs-Original-Xcc: Gabriel Wicki Received: via spool by 63254-submit@debbugs.gnu.org id=B63254.169883244331627 (code B ref 63254); Wed, 01 Nov 2023 09:55:01 +0000 Received: (at 63254) by debbugs.gnu.org; 1 Nov 2023 09:54:03 +0000 Received: from localhost ([127.0.0.1]:49937 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qy7vG-0008E0-J7 for submit@debbugs.gnu.org; Wed, 01 Nov 2023 05:54:03 -0400 Received: from layka.disroot.org ([178.21.23.139]:54498) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qy7vD-0008DL-NE for 63254@debbugs.gnu.org; Wed, 01 Nov 2023 05:54:00 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 66A7244F58; Wed, 1 Nov 2023 10:53:24 +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]) (amavisd-new, port 10024) with ESMTP id Q6bNiFP5tPhv; Wed, 1 Nov 2023 10:53:23 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1698832403; bh=egw0oYxvIzxA9bUyZ1ciyeLZOQBZbuRA7d0RyfJxntk=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=XQjuox2l95VdG1lFasapV2i7J+0uSPArKQEKBeCcDlXuyCrdsGVRrkSrxWRT4yzZh KHYMsPyusb2yQ4HamaJ2kiUQEw1aLlPi8RVul04rrVgI/RNKibTAueE686m3ZFtLb7 HXAmxf8Qfl1ccOaZ/vbD9GG2L/Qjn5kwnwBgBqP3CwX/ZuASJqHPhtIC7XAvuDK4pR nHb+pFA7Z99wK5xU1Hir8/aUb4qEMyqXtrEm1lhd8lNLVjwmiwmrlgvMlPPoR9JLVP lXLAPEOOyKdCGFJJ/a+6MoeMT7SsELDZBQA5FhV8gfZX7GGj4hDY7yM3WM+y/MU02I QC9U68u47T0Yw== Date: Wed, 1 Nov 2023 10:53:03 +0100 Message-ID: <20b60d0db41c1db38e20b3ad8e0bd7834f78b56c.1698832359.git.sughosha@disroot.org> In-Reply-To: References: MIME-Version: 1.0 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: 9E63B300EF X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -4.61 X-Spam-Score: -4.61 X-TUID: vhGY3uJN8Ubn From: Sughosha * 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. Change-Id: I741459d9a6e9986912cff998d2da097485021417 --- 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 27e57302ae..680975da9e 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -1931,6 +1931,7 @@ dist_patch_DATA = \ %D%/packages/patches/ripperx-missing-file.patch \ %D%/packages/patches/rpcbind-CVE-2017-8779.patch \ %D%/packages/patches/rtags-separate-rct.patch \ + %D%/packages/patches/rtosc-0.3.1-fix-invalid-comparison-operator.patch \ %D%/packages/patches/racket-chez-scheme-bin-sh.patch \ %D%/packages/patches/racket-backport-8.10-rktboot.patch \ %D%/packages/patches/racket-rktio-bin-sh.patch \ diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm index 7c49ba1841..366d33a559 100644 --- a/gnu/packages/audio.scm +++ b/gnu/packages/audio.scm @@ -2830,6 +2830,51 @@ (define-public liblo implementation of the Open Sound Control (@dfn{OSC}) protocol.") (license license:lgpl2.1+))) +(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=ON" + "-DRTOSC_BUILD_SHARED_LIBS=ON") + #: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-operator.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.patch @@ -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=@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 == @VERSION_MAJOR@.@VERSION_MINOR@.@VERSION_PATCH@ ++Requires: librtosc = @VERSION_MAJOR@.@VERSION_MINOR@.@VERSION_PATCH@ + Libs: -L${libdir} -lrtosc -lrtosc-cpp + Cflags: -I${includedir} -- 2.41.0