gnu: Add rtosc.

* gnu/packages/audio.scm (rtosc): New variable.
* gnu/packages/patches/rtosc-0.3.1-fix-invalid-comparison-operator.patch: New
file.
* gnu/local.mk: Register it.

Change-Id: I771b67a2bedc5ea513d6504c6f47db2d9382330c
Signed-off-by: Gabriel Wicki <gabriel@erlikon.ch>
This commit is contained in:
Sughosha 2025-08-18 15:41:38 +05:30 committed by Gabriel Wicki
parent 1c9be166c1
commit 6b32feee0f
No known key found for this signature in database
GPG key ID: CC98E9F04330FD7F
3 changed files with 60 additions and 0 deletions

View file

@ -2233,6 +2233,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-launcher-config-dir.patch \
%D%/packages/patches/racket-rktio-bin-sh.patch \

View file

@ -3436,6 +3436,51 @@ compensation, (de)interleaving, and byte-swapping
;; original developer.
(license license:expat)))
(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 python-jack-client
(package
(name "python-jack-client")

View file

@ -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}