Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 928544 - net-im/fractal - option to build without pipewire support
Summary: net-im/fractal - option to build without pipewire support
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Michał Górny
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-03 23:24 UTC by Nathan Zachary
Modified: 2024-04-04 15:08 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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ł.