Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 928544

Summary: net-im/fractal - option to build without pipewire support
Product: Gentoo Linux Reporter: Nathan Zachary <nathan.zachary>
Component: Current packagesAssignee: Michał Górny <mgorny>
Status: RESOLVED UPSTREAM    
Severity: enhancement CC: julien, nathan.zachary
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Nathan Zachary 2024-04-03 23:24:34 UTC
I would like to use net-im/fractal, but don't want to have pipewire installed (I use standalone ALSA).  Looking through the source, it seems that it is only required for building the QR code scanner:
https://gitlab.gnome.org/World/fractal/-/blob/main/src/contrib/qr_code_scanner/camera/camera_paintable/linux.rs

As such, I filed the following issue upstream:
https://gitlab.gnome.org/World/fractal/-/issues/1428#note_2072289

However, that issue was closed indicating they won't support building without pipewire.

I have been experimenting with patching the meson.build and Cargo.toml files to remove the dependencies on media-video/pipewire (and subsequently sys-apps/xdg-desktop-portal, which also requires pipewire), but the rust build fails with a few errors.  I am going to keep experimenting with build options, but would like to see if the current Gentoo package maintainer (or anyone else) has ideas for building without this dependency.

According to the aforementioned Fractal issue, "...running without Pipewire should just trigger an error that will be gracefully handled".
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2024-04-04 11:41:58 UTC
I'm not going to carry downstream patches that were rejected upstream.  If upstream makes pipewire optional, I'll update the ebuild on the next bump.
Comment 2 Nathan Zachary 2024-04-04 15:08:03 UTC
Understood.  I'll keep searching for a Matrix client that meets my needs.

Thanks, Michał.