[neon/backports-noble/roc-toolkit-noble/Neon/unstable] debian: backport for new pipewire

Carlos De Maine null at kde.org
Sat Sep 26 06:23:07 BST 2026


Git commit eacb4818ca17030e25aa57570b52b9d90d05c8d0 by Carlos De Maine.
Committed on 26/09/2026 at 05:23.
Pushed by carlosdem into branch 'Neon/unstable'.

backport for new pipewire

A  +128  -0    debian/changelog
A  +86   -0    debian/control
A  +67   -0    debian/copyright
A  +3    -0    debian/libroc-dev.install
A  +1    -0    debian/libroc0.4.install
A  +54   -0    debian/libroc0.4.symbols
A  +15   -0    debian/patches/Don-t-strip-symbols.patch
A  +1    -0    debian/patches/series
A  +1    -0    debian/roc-toolkit-tests.install
A  +2    -0    debian/roc-toolkit-tools.install
A  +24   -0    debian/rules
A  +1    -0    debian/source/format
A  +10   -0    debian/tests/control
A  +5    -0    debian/upstream/metadata
A  +4    -0    debian/watch

https://invent.kde.org/neon/backports-noble/roc-toolkit-noble/-/commit/eacb4818ca17030e25aa57570b52b9d90d05c8d0

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..6b419f5
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,128 @@
+roc-toolkit (0.4.0+dfsg-5ubuntu1) questing; urgency=medium
+
+  * Merge with Debian unstable. Remaining changes:
+  * debian/rules:
+    - build without openfec since the package is in Universe
+
+ -- Sebastien Bacher <seb128 at ubuntu.com>  Mon, 26 May 2025 21:19:11 +0200
+
+roc-toolkit (0.4.0+dfsg-5) unstable; urgency=medium
+
+  * Disable libunwind integration (Closes: #1093375)
+  * Run autopkgtest as flaky on s390x
+
+ -- Dylan Aïssi <daissi at debian.org>  Sat, 25 Jan 2025 12:41:30 +0100
+
+roc-toolkit (0.4.0+dfsg-4ubuntu1) plucky; urgency=medium
+
+  * Merge with Debian unstable (LP: #2087543). Remaining changes:
+    - Revert the Build-Depends on libopenfec-dev, the package is in universe
+
+ -- Alessandro Astone <alessandro.astone at canonical.com>  Fri, 08 Nov 2024 12:25:26 +0100
+
+roc-toolkit (0.4.0+dfsg-4) unstable; urgency=medium
+
+  * Disable autopkgtest on s390x for now:
+    Newly added roc_sndio tests only fail on s390x, so let's disable
+    tests on this architecture until upstream fixes them.
+
+ -- Dylan Aïssi <daissi at debian.org>  Wed, 03 Jul 2024 17:37:45 +0200
+
+roc-toolkit (0.4.0+dfsg-3) unstable; urgency=medium
+
+  * Upload to unstable
+
+ -- Dylan Aïssi <daissi at debian.org>  Sat, 29 Jun 2024 08:12:28 +0200
+
+roc-toolkit (0.4.0+dfsg-2) experimental; urgency=medium
+
+  * Require libunwind-dev << 14
+    roc-toolkit is not compatible with libunwind from llvm-toolchain,
+    so let's set a max version to ensure we use the one from the
+    package libunwind instead.
+
+ -- Dylan Aïssi <daissi at debian.org>  Wed, 19 Jun 2024 16:27:24 +0200
+
+roc-toolkit (0.4.0+dfsg-1) experimental; urgency=medium
+
+  * New upstream version 0.4.0+dfsg
+  * Bump SONAME to libroc0.4
+  * Update symbols file
+  * Add libsndfile1-dev in Build-Deps
+  * Refresh Don-t-strip-symbols.patch
+  * Add upstream/metadata
+  * Standards-Version: 4.7.0 (no changes required)
+  * Update copyright file
+  * Don't install the symlink "libroc.so.0" -> "libroc.so.0.X"
+      This symlink is undesirable since the soname is not "libroc.so.0"
+      but "libroc.so.0.X"; and usually versions 0.X break the API.
+
+ -- Dylan Aïssi <daissi at debian.org>  Sat, 15 Jun 2024 17:36:58 +0200
+
+roc-toolkit (0.3.0+dfsg-7ubuntu2) noble; urgency=medium
+
+  * No-change rebuild for CVE-2024-3094
+
+ -- William Grant <wgrant at ubuntu.com>  Mon, 01 Apr 2024 15:58:54 +1100
+
+roc-toolkit (0.3.0+dfsg-7ubuntu1) noble; urgency=medium
+
+  * Revert the Build-Depends on libopenfec-dev which was added in the
+    previous revision, the package is in universe.
+
+ -- Sebastien Bacher <seb128 at ubuntu.com>  Wed, 13 Mar 2024 11:39:27 +0100
+
+roc-toolkit (0.3.0+dfsg-7build1) noble; urgency=medium
+
+  * No-change rebuild against libuv1t64.
+
+ -- Michael Hudson-Doyle <michael.hudson at ubuntu.com>  Tue, 12 Mar 2024 12:34:26 +1300
+
+roc-toolkit (0.3.0+dfsg-7) unstable; urgency=medium
+
+  * Add libopenfec-dev in Build-Deps
+
+ -- Dylan Aïssi <daissi at debian.org>  Thu, 18 Jan 2024 22:31:18 +0100
+
+roc-toolkit (0.3.0+dfsg-6) unstable; urgency=medium
+
+  [ Sebastien Bacher ]
+  * Install the upstream tests in a new binary and
+      use it for autopkgtests (Closes: #1059269)
+
+ -- Dylan Aïssi <daissi at debian.org>  Tue, 09 Jan 2024 20:38:04 +0100
+
+roc-toolkit (0.3.0+dfsg-5) unstable; urgency=medium
+
+  [ Sebastien Bacher ]
+  * Enable build tests (Closes: #1058582)
+  * Add libcpputest-dev in Build-Deps
+
+ -- Dylan Aïssi <daissi at debian.org>  Wed, 13 Dec 2023 21:37:47 +0100
+
+roc-toolkit (0.3.0+dfsg-4) unstable; urgency=medium
+
+  * Restrict Build-Deps on libunwind-dev only on supported architectures
+
+ -- Dylan Aïssi <daissi at debian.org>  Sat, 02 Dec 2023 09:58:05 +0100
+
+roc-toolkit (0.3.0+dfsg-3) unstable; urgency=medium
+
+  * libroc-dev: add missing dependencies required by roc.pc:
+      libspeexdsp-dev, libssl-dev, libunwind-dev and libuv1-dev
+
+ -- Dylan Aïssi <daissi at debian.org>  Mon, 27 Nov 2023 13:24:29 +0100
+
+roc-toolkit (0.3.0+dfsg-2) unstable; urgency=medium
+
+  * Upload to unstable
+  * Define libdir with DEB_HOST_MULTIARCH
+  * Use pkgconf instead of pkg-config
+
+ -- Dylan Aïssi <daissi at debian.org>  Sat, 25 Nov 2023 22:20:10 +0100
+
+roc-toolkit (0.3.0+dfsg-1) experimental; urgency=medium
+
+  * Initial release (Closes: #1056701)
+
+ -- Dylan Aïssi <daissi at debian.org>  Fri, 24 Nov 2023 23:40:28 +0100
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..3a14e3e
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,86 @@
+Source: roc-toolkit
+Section: sound
+Priority: optional
+Maintainer: Ubuntu Developers <ubuntu-devel-discuss at lists.ubuntu.com>
+XSBC-Original-Maintainer: Debian Multimedia Maintainers <debian-multimedia at lists.debian.org>
+Uploaders: Dylan Aïssi <daissi at debian.org>
+Build-Depends: debhelper-compat (= 13),
+               gengetopt,
+               libcpputest-dev,
+               libopenfec-dev [!sparc64],
+               libpulse-dev,
+               libsndfile1-dev,
+               libsox-dev,
+               libspeexdsp-dev,
+               libssl-dev,
+               libuv1-dev,
+               pkgconf,
+               ragel,
+               scons
+Standards-Version: 4.7.0
+Rules-Requires-Root: no
+Vcs-Browser: https://salsa.debian.org/multimedia-team/roc-toolkit
+Vcs-Git: https://salsa.debian.org/multimedia-team/roc-toolkit.git
+Homepage: https://roc-streaming.org/
+
+Package: libroc0.4
+Section: libs
+Architecture: any
+Multi-Arch: same
+Depends: ${misc:Depends},
+         ${shlibs:Depends}
+Description: real-time audio streaming over the network (shared library)
+ Roc is a network transport, highly specialized for the real-time streaming use
+ case. The user writes the stream to the one end and reads it from another end,
+ and Roc deals with all the complexity of the task of delivering data in time
+ and with no loss. Encoding, decoding, adjusting rates, restoring losses - all
+ these are performed transparently under the hood.
+ .
+ This package provides the shared library.
+
+Package: libroc-dev
+Section: libdevel
+Architecture: any
+Multi-Arch: same
+Depends: ${misc:Depends},
+         libroc0.4 (= ${binary:Version}),
+         libopenfec-dev [!sparc64],
+         libspeexdsp-dev,
+         libssl-dev,
+         libuv1-dev
+Description: real-time audio streaming over the network (development files)
+ Roc is a network transport, highly specialized for the real-time streaming use
+ case. The user writes the stream to the one end and reads it from another end,
+ and Roc deals with all the complexity of the task of delivering data in time
+ and with no loss. Encoding, decoding, adjusting rates, restoring losses - all
+ these are performed transparently under the hood.
+ .
+ This package provides the development files for libroc.
+
+Package: roc-toolkit-tools
+Architecture: any
+Depends: ${misc:Depends},
+         ${shlibs:Depends}
+Description: real-time audio streaming over the network (tools)
+ Roc is a network transport, highly specialized for the real-time streaming use
+ case. The user writes the stream to the one end and reads it from another end,
+ and Roc deals with all the complexity of the task of delivering data in time
+ and with no loss. Encoding, decoding, adjusting rates, restoring losses - all
+ these are performed transparently under the hood.
+ .
+ This package provides the roc-toolkit tools.
+
+Package: roc-toolkit-tests
+Architecture: any
+Depends: ${misc:Depends},
+         ${shlibs:Depends}
+Multi-Arch: foreign
+Description: real-time audio streaming over the network (tests)
+ Roc is a network transport, highly specialized for the real-time streaming use
+ case. The user writes the stream to the one end and reads it from another end,
+ and Roc deals with all the complexity of the task of delivering data in time
+ and with no loss. Encoding, decoding, adjusting rates, restoring losses - all
+ these are performed transparently under the hood.
+ .
+ This package contains test programs from the upstream code which are used
+ for the autopkgtests.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..f9bfef2
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,67 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: roc-toolkit
+Source: https://github.com/roc-streaming/roc-toolkit
+Files-Excluded: debian
+
+Files: *
+Copyright: 2015-2024 Roc Streaming authors
+License: MPL-2.0
+
+Files: 3rdparty/dr_wav/*
+Copyright: 2016-2023 David Reid <mackron at gmail.com> (https://github.com/mackron/dr_libs)
+License: MIT-0 or Unlicense
+
+Files: 3rdparty/hedley/*
+Copyright: 2016-2021 Evan Nemerson <evan at nemerson.com> (https://nemequ.github.io/hedley/)
+License: CC0-1.0
+
+Files: debian/*
+Copyright: 2023-2024 Collabora, Ltd.
+License: MPL-2.0
+
+License: MPL-2.0
+ On Debian systems, the full text of the Mozilla Public License v2.0
+ can be found in the file `/usr/share/common-licenses/MPL-2.0`.
+
+License: CC0-1.0
+ On Debian systems the full text of the CC0-1.0 license can be found in
+ `/usr/share/common-licenses/CC0-1.0`.
+
+License: MIT-0
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
+ this software and associated documentation files (the "Software"), to deal in
+ the Software without restriction, including without limitation the rights to
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
+ of the Software, and to permit persons to whom the Software is furnished to do
+ so.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ SOFTWARE.
+
+License: Unlicense
+ This is free and unencumbered software released into the public domain.
+ .
+ Anyone is free to copy, modify, publish, use, compile, sell, or distribute this
+ software, either in source code form or as a compiled binary, for any purpose,
+ commercial or non-commercial, and by any means.
+ .
+ In jurisdictions that recognize copyright laws, the author or authors of this
+ software dedicate any and all copyright interest in the software to the public
+ domain. We make this dedication for the benefit of the public at large and to
+ the detriment of our heirs and successors. We intend this dedication to be an
+ overt act of relinquishment in perpetuity of all present and future rights to
+ this software under copyright law.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
+ ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+ .
+ For more information, please refer to <http://unlicense.org/>
diff --git a/debian/libroc-dev.install b/debian/libroc-dev.install
new file mode 100644
index 0000000..23286bb
--- /dev/null
+++ b/debian/libroc-dev.install
@@ -0,0 +1,3 @@
+usr/include
+usr/lib/*/pkgconfig
+usr/lib/*/libroc.so
diff --git a/debian/libroc0.4.install b/debian/libroc0.4.install
new file mode 100644
index 0000000..e5ddd70
--- /dev/null
+++ b/debian/libroc0.4.install
@@ -0,0 +1 @@
+usr/lib/*/libroc.so.*
diff --git a/debian/libroc0.4.symbols b/debian/libroc0.4.symbols
new file mode 100644
index 0000000..a341be6
--- /dev/null
+++ b/debian/libroc0.4.symbols
@@ -0,0 +1,54 @@
+libroc.so.0.4 #PACKAGE# #MINVER#
+* Build-Depends-Package: libroc-dev
+ ROC at ROC 0.3.0
+ roc_context_close at ROC 0.3.0
+ roc_context_open at ROC 0.3.0
+ roc_context_register_encoding at ROC 0.3.0
+ roc_endpoint_allocate at ROC 0.3.0
+ roc_endpoint_deallocate at ROC 0.3.0
+ roc_endpoint_get_host at ROC 0.3.0
+ roc_endpoint_get_port at ROC 0.3.0
+ roc_endpoint_get_protocol at ROC 0.3.0
+ roc_endpoint_get_resource at ROC 0.3.0
+ roc_endpoint_get_uri at ROC 0.3.0
+ roc_endpoint_set_host at ROC 0.3.0
+ roc_endpoint_set_port at ROC 0.3.0
+ roc_endpoint_set_protocol at ROC 0.3.0
+ roc_endpoint_set_resource at ROC 0.3.0
+ roc_endpoint_set_uri at ROC 0.3.0
+ roc_log_set_handler at ROC 0.3.0
+ roc_log_set_level at ROC 0.3.0
+ roc_receiver_bind at ROC 0.3.0
+ roc_receiver_close at ROC 0.3.0
+ roc_receiver_configure at ROC 0.3.0
+ roc_receiver_decoder_activate at ROC 0.3.0
+ roc_receiver_decoder_close at ROC 0.3.0
+ roc_receiver_decoder_open at ROC 0.3.0
+#MISSING: 0.4.0# roc_receiver_decoder_pop at ROC 0.3.0
+ roc_receiver_decoder_pop_feedback_packet at ROC 0.4.0
+ roc_receiver_decoder_pop_frame at ROC 0.4.0
+#MISSING: 0.4.0# roc_receiver_decoder_push at ROC 0.3.0
+ roc_receiver_decoder_push_packet at ROC 0.4.0
+ roc_receiver_decoder_query at ROC 0.3.0
+ roc_receiver_open at ROC 0.3.0
+ roc_receiver_query at ROC 0.3.0
+ roc_receiver_read at ROC 0.3.0
+ roc_receiver_unlink at ROC 0.3.0
+ roc_sender_close at ROC 0.3.0
+ roc_sender_configure at ROC 0.3.0
+ roc_sender_connect at ROC 0.3.0
+ roc_sender_encoder_activate at ROC 0.3.0
+ roc_sender_encoder_close at ROC 0.3.0
+ roc_sender_encoder_open at ROC 0.3.0
+#MISSING: 0.4.0# roc_sender_encoder_pop at ROC 0.3.0
+ roc_sender_encoder_pop_packet at ROC 0.4.0
+#MISSING: 0.4.0# roc_sender_encoder_push at ROC 0.3.0
+ roc_sender_encoder_push_feedback_packet at ROC 0.4.0
+ roc_sender_encoder_push_frame at ROC 0.4.0
+ roc_sender_encoder_query at ROC 0.3.0
+ roc_sender_open at ROC 0.3.0
+ roc_sender_query at ROC 0.3.0
+ roc_sender_unlink at ROC 0.3.0
+ roc_sender_write at ROC 0.3.0
+#MISSING: 0.4.0# roc_version_get at ROC 0.3.0
+ roc_version_load at ROC 0.4.0
diff --git a/debian/patches/Don-t-strip-symbols.patch b/debian/patches/Don-t-strip-symbols.patch
new file mode 100644
index 0000000..573b46f
--- /dev/null
+++ b/debian/patches/Don-t-strip-symbols.patch
@@ -0,0 +1,15 @@
+Description: Don't strip symbols, let dh_strip do its job.
+Author: Dylan Aïssi <daissi at debian.org>
+Forwarded: not-needed
+
+--- a/src/SConscript
++++ b/src/SConscript
+@@ -101,7 +101,7 @@
+ 
+     # shared library
+     if not GetOption('disable_shared'):
+-        should_strip = not GetOption('enable_debug') and libs_env.SupportsStripSharedLibrary()
++        should_strip = False
+ 
+         libroc_shared = libs_env.SharedLibrary(
+             'roc_unstripped' if should_strip else 'roc',
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..a7d7e9a
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+Don-t-strip-symbols.patch
diff --git a/debian/roc-toolkit-tests.install b/debian/roc-toolkit-tests.install
new file mode 100644
index 0000000..414929a
--- /dev/null
+++ b/debian/roc-toolkit-tests.install
@@ -0,0 +1 @@
+bin/*/roc-test-* usr/libexec/roc-toolkit/
diff --git a/debian/roc-toolkit-tools.install b/debian/roc-toolkit-tools.install
new file mode 100644
index 0000000..a65408f
--- /dev/null
+++ b/debian/roc-toolkit-tools.install
@@ -0,0 +1,2 @@
+usr/bin
+usr/share/man
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..ef0fa7e
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,24 @@
+#!/usr/bin/make -f
+
+export DEB_BUILD_MAINT_OPTIONS=hardening=+all
+
+SCONS_BUILD_FLAGS = --libdir=/usr/lib/$(DEB_HOST_MULTIARCH) \
+                    --enable-tests \
+                    --disable-libunwind \
+                    --disable-openfec
+
+%:
+	dh $@
+
+override_dh_auto_build:
+	scons ${SCONS_BUILD_FLAGS}
+
+override_dh_auto_test:
+	scons ${SCONS_BUILD_FLAGS} test/roc_core
+
+override_dh_auto_install:
+	scons ${SCONS_BUILD_FLAGS} install DESTDIR=debian/tmp
+	# Don't install the symlink "libroc.so.0" -> "libroc.so.0.X"
+	# This symlink is undesirable since the soname is not "libroc.so.0"
+	# but "libroc.so.0.X"; and usually versions 0.X break the API.
+	find debian/tmp/ -name 'libroc.so.0' -delete -print
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..2c5ba4c
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,10 @@
+Test-Command: for t in /usr/libexec/roc-toolkit/roc-test-*; do echo $t; $t; done
+Depends: roc-toolkit-tests
+Architecture: !s390x
+
+Test-Command: for t in /usr/libexec/roc-toolkit/roc-test-*; do echo $t; $t; done
+Depends: roc-toolkit-tests
+Architecture: s390x
+Restrictions: flaky
+# Mark tests as flaky on s390x because of new tests are failing, see
+# https://github.com/roc-streaming/roc-toolkit/issues/744
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..82efe31
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,5 @@
+Bug-Database: https://github.com/roc-streaming/roc-toolkit/issues
+Bug-Submit: https://github.com/roc-streaming/roc-toolkit/issues/new
+Repository: https://github.com/roc-streaming/roc-toolkit.git
+Repository-Browse: https://github.com/roc-streaming/roc-toolkit
+Donation: https://roc-streaming.org/toolkit/docs/about_project/sponsors.html
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..60ab89c
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=4
+opts="repacksuffix=+dfsg,dversionmangle=s/\+dfsg//g,\
+  filenamemangle=s/.+\/v?(\d\S+)\.tar\.gz/roc-toolkit-$1\.tar\.gz/" \
+  https://github.com/roc-streaming/roc-toolkit/tags .*/v?(\d\S+)\.tar\.gz


More information about the Neon-commits mailing list