Ticket #688 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

Paprefs should use server version when checking for modules

Reported by: willdyson Owned by: coling
Milestone: Component: paprefs
Keywords: Cc:

Description

When paprefs checks for availability of modules, it does so using a compiled-in path to the directory where they live. However, the module path contains the version number of libpulse.

This means paprefs must be recompiled whenever libpulse is upgraded, even though it does not link against libpulse at all!

It would be much better if paprefs would obtain the current server/library version and use that to construct the path to the modules files.

Ideally, libpulse would export a function to check if a given module is available for loading...

Change History

Changed 2 years ago by coling

  • owner changed from lennart to coling

Actually I'm ultimately going to be moving paprefs into pavucontol in some capacity and deprecating module-gconf in favour of a built in module-loader, so this problem will go away when I get around to finishing that off... (still got a bit to do on it).

Changed 2 years ago by raof

There's a debian patch against 0.9.9 which implements this in paprefs, if you'd like to fix this now before merging paprefs into pavucontrol.

Changed 2 years ago by coling

  • status changed from new to closed
  • resolution set to fixed

Yeah, may as well. We can probably push out a final paprefs release at some point as I've not really made all that much progress on the loader stuff of late (tho' will catch up on it sometime soon hopefully!)

Pushed to master.

Thanks again :)

Note: See TracTickets for help on using tickets.