Package Details: libwireplumber-4.0-compat 0.4.17-2

Git Clone URL: https://aur.archlinux.org/libwireplumber-4.0-compat.git (read-only, click to copy)
Package Base: libwireplumber-4.0-compat
Description: Compatibility version 4.x of libwireplumber - client library
Upstream URL: https://pipewire.pages.freedesktop.org/wireplumber/
Licenses: MIT
Provides: libwireplumber-0.4.so
Submitter: moabeat
Maintainer: moabeat
Last Packager: moabeat
Votes: 7
Popularity: 2.25
First Submitted: 2024-08-05 21:03 (UTC)
Last Updated: 2025-03-15 08:21 (UTC)

Latest Comments

moabeat commented on 2025-03-15 08:24 (UTC) (edited on 2025-03-15 08:24 (UTC) by moabeat)

I got it working one more time with the latest changes in pipewire. Unfortunately, I had to disable a test, as it wasn't working anymore. For pwvucontrol everything seems to work fine, but this is flaky. The package might break again soon and the only sustainable solution is, that pwvucontrol moves on to wireplumber 0.5.x.

moabeat commented on 2025-03-13 23:23 (UTC)

I can confirm that. Unfortunately the latest updates on libpipewire broke the compatibility with this older version of libwireplumber. As it is required to build pwvucontrol, this is currently broken as well.

I will check in the next days if a simple patch would fix it one more time. But most probably this will also be only a temporary solution again. In fact pwvucontrol and wirepulumber.rs would need to be updated to a 5.x version of libwireplumber, but this is pending since almost a year now.

BlackCherry commented on 2025-03-13 14:34 (UTC)

Hi, I get this error when compiling it:

FAILED: lib/wp/libwireplumber-0.4.so.0.4.17.p/node.c.o 
cc -Ilib/wp/libwireplumber-0.4.so.0.4.17.p -Ilib/wp -I../wireplumber/lib/wp -Ilib -I../wireplumber/lib -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_62 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_62 '-DGETTEXT_PACKAGE="wireplumber"' -fvisibility=hidden -Wsuggest-attribute=format -Wsign-compare -Wpointer-arith -Wpointer-sign -Wformat -Wformat-security -Wimplicit-fallthrough -Wmissing-braces -Wtype-limits -Wvariadic-macros -Wno-missing-field-initializers -Wno-unused-parameter -Wno-pedantic -Wold-style-declaration -Wunused-result -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/home/cherry/.cache/paru/clone/libwireplumber-4.0-compat/src=/usr/src/debug/libwireplumber-4.0-compat -flto=auto -fPIC -D_REENTRANT -pthread -D_GNU_SOURCE -DG_LOG_USE_STRUCTURED '-DWIREPLUMBER_DEFAULT_MODULE_DIR="/usr/lib/wireplumber-0.4"' '-DWIREPLUMBER_DEFAULT_CONFIG_DIR="/etc/wireplumber"' '-DWIREPLUMBER_DEFAULT_DATA_DIR="/usr/share/wireplumber"' '-DLOCALE_DIR="/usr/share/locale"' -DBUILDING_WP -MD -MQ lib/wp/libwireplumber-0.4.so.0.4.17.p/node.c.o -MF lib/wp/libwireplumber-0.4.so.0.4.17.p/node.c.o.d -o lib/wp/libwireplumber-0.4.so.0.4.17.p/node.c.o -c ../wireplumber/lib/wp/node.c
../wireplumber/lib/wp/node.c: In function ‘wp_node_send_command’:
../wireplumber/lib/wp/node.c:634:25: error: passing argument 1 of ‘pw_node_send_command’ from incompatible pointer type [-Wincompatible-pointer-types]
  634 |   pw_node_send_command (wp_proxy_get_pw_proxy (WP_PROXY (self)), &cmd);
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                         |
      |                         struct pw_proxy *
In file included from /usr/include/pipewire-0.3/pipewire/pipewire.h:30,
                 from ../wireplumber/lib/wp/private/pipewire-object-mixin.h:14,
                 from ../wireplumber/lib/wp/node.c:16:
/usr/include/pipewire-0.3/pipewire/node.h:227:59: note: expected ‘struct pw_node *’ but argument is of type ‘struct pw_proxy *’
  227 | PW_API_NODE_IMPL int pw_node_send_command(struct pw_node *object, const struct spa_command *command)
      |                                           ~~~~~~~~~~~~~~~~^~~~~~
[87/207] Generating docs/wp_gtkdoc_h with a custom command
/home/cherry/.cache/paru/clone/libwireplumber-4.0-compat/src/build/../wireplumber/docs/gen-api-gtkdoc.py:133: SyntaxWarning: invalid escape sequence '\S'
  if xml.text and re.search('\S', xml.text):
/home/cherry/.cache/paru/clone/libwireplumber-4.0-compat/src/build/../wireplumber/docs/gen-api-gtkdoc.py:146: SyntaxWarning: invalid escape sequence '\S'
  if re.search('\S', p):
/home/cherry/.cache/paru/clone/libwireplumber-4.0-compat/src/build/../wireplumber/docs/gen-api-gtkdoc.py:171: SyntaxWarning: invalid escape sequence '\S'
  if re.search('\S', n.tail):
[99/207] Compiling C object lib/wp/libwireplumber-0.4.so.0.4.17.p/spa-pod.c.o
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
    Aborting...