Giter VIP home page Giter VIP logo

Comments (12)

jujudusud avatar jujudusud commented on August 29, 2024 4

Hi here, there is already a wp 0.5 branch in the WirePlumber rs repository.

from pwvucontrol.

moabeat-berlin avatar moabeat-berlin commented on August 29, 2024 3

If you really want to you can parallel install libwireplumber 0.4 with 0.5 on the same system as long as you only copy libwireplumber.0.4.so to your distro's /usr/local/lib equivalent and skip the rest of the stuff (wpctl, wireplumber binary itself and so on).

Thanks for this hint. I have created a compatibility package in the AUR to provide this and also created an AUR package for pwvucontrol.

from pwvucontrol.

raininja avatar raininja commented on August 29, 2024 1

Commenting to follow this issue, and to give my vote for support of wireplumber-0.5

from pwvucontrol.

ThatOneCalculator avatar ThatOneCalculator commented on August 29, 2024 1

Same here, would love to make an AUR package but I don't think I should ship one since it requires a version below.

from pwvucontrol.

flipreverse avatar flipreverse commented on August 29, 2024 1

@ThatOneCalculator I managed to make it work. Here is my diff:

diff --git a/Cargo.toml b/Cargo.toml
index cb1c308..04c84f6 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -10,8 +10,7 @@ glib = { version = "0.18", features = ["log"] }
 log = "0.4.11"
 imbl = "3.0.0"
 once_cell = "1.15.0"
-wireplumber = { git = "https://github.com/arcnmx/wireplumber.rs.git", rev = "2c0ee463d029d3562ee66db90554c5af573565c1", features = ["v0_4_16"] }
+wireplumber = { git = "https://github.com/arcnmx/wireplumber.rs.git", rev = "a01b47d27e3e38c050e939a0176a565a27c1aee1", features = ["v0_4_12"] }
 futures = "0.3"
 anyhow = "1.0"
 pipewire = "0.7"
diff --git a/meson.build b/meson.build
index 066e09a..32c2f22 100644
--- a/meson.build
+++ b/meson.build
@@ -14,7 +14,7 @@ dependency('gio-2.0', version: '>= 2.66')
 dependency('gtk4', version: '>= 4.0.0')
 dependency('libadwaita-1', version: '>= 1.2')
 dependency('libpipewire-0.3', version: '>= 0.3.83')
-dependency('wireplumber-0.4', version: '>= 0.4.15')
+dependency('wireplumber-0.4', version: '>= 0.4.13')
 
 find_program('glib-compile-resources', required: true)
 glib_compile_schemas = find_program('glib-compile-schemas', required: true)
``

from pwvucontrol.

saivert avatar saivert commented on August 29, 2024

Yes. I will have to wait for wireplumber-rs 0.5 as well.

If you really want to you can parallel install libwireplumber 0.4 with 0.5 on the same system as long as you only copy libwireplumber.0.4.so to your distro's /usr/local/lib equivalent and skip the rest of the stuff (wpctl, wireplumber binary itself and so on). Then pwvucontrol can be built against that and still work. This is what I do on my system during development since upgrading to Fedora 40 which ships wireplumber 0.5.

It only uses libwireplumber to talk to pipewire and having that older library version has no impact on the functioning of your pipewire or wireplumber installation.

from pwvucontrol.

sullyj3 avatar sullyj3 commented on August 29, 2024

Yes. I will have to wait for wireplumber-rs 0.5 as well.

Of course! I didn't mean to imply you ought to do anything in the meantime. I'm just opening to keep track of what's going on. I have a bad memory, so I've already cloned this repo and failed to build twice.

you can parallel install libwireplumber 0.4 with 0.5

Thanks, I appreciate the tip! I don't really want to mess around with going behind my package manager's back though, I'm happy to wait.

from pwvucontrol.

zakissimo avatar zakissimo commented on August 29, 2024

Hi,

Sorry for the dumb question, but where can I get libwireplumber.0.4.so ?

Thanks

from pwvucontrol.

sullyj3 avatar sullyj3 commented on August 29, 2024

If you're also on arch, it's likely still in your pacman cache. You can do
ls /var/cache/pacman/pkg/|grep libwireplumber to check. Copy the latest 0.4 to an empty directory and extract it using unzstd and tar. That should give you a just usr directory containing the package contents, including the file you want under ./usr/lib

If it's not in the cache, see https://wiki.archlinux.org/title/downgrading_packages#Arch_Linux_Archive

from pwvucontrol.

flipreverse avatar flipreverse commented on August 29, 2024

Debian Trixie (testing) is currently at libwireplumber 0.4.13 (, or libwireplumbe-0.5). Is there any chance to downgrade to build process such as it builds with 0.4.13?

from pwvucontrol.

ThatOneCalculator avatar ThatOneCalculator commented on August 29, 2024

@flipreverse I tried applying it directly but got error: corrupt patch at line 14
image

from pwvucontrol.

ThatOneCalculator avatar ThatOneCalculator commented on August 29, 2024

Also, even applying those changes manually, I get this:

Run-time dependency libpipewire-0.3 found: YES 1.2.1
Found CMake: /usr/bin/cmake (3.30.0)
WARNING: CMake Toolchain: Failed to determine CMake compilers state
Run-time dependency wireplumber-0.4 found: NO (tried pkgconfig and cmake)

meson.build:17:0: ERROR: Dependency "wireplumber-0.4" not found, tried pkgconfig and cmake

from pwvucontrol.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.