Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 867670 - media-video/wireplumber-0.4.11-r3: wireplumber need libcamera
Summary: media-video/wireplumber-0.4.11-r3: wireplumber need libcamera
Status: IN_PROGRESS
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sam James
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-31 06:21 UTC by Stefan Schmid
Modified: 2024-03-14 20:34 UTC (History)
7 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 Stefan Schmid 2022-08-31 06:21:39 UTC
WirePlumber requires the libcamera (https://git.libcamera.org/libcamera/libcamera.git/) library, which is missing from the official Gentoo overlay. Please add this library and a dependency to media-video/wireplumber.

Aug 31 08:04:25 pc170am wireplumber[1807]: SPA handle 'api.libcamera.enum.manager' could not be loaded; is it installed?
Aug 31 08:04:25 pc170am wireplumber[1807]: PipeWire's libcamera SPA missing or broken. libcamera not supported.

Reproducible: Always
Comment 1 Michael Perlov 2022-09-28 20:59:48 UTC
To disable plugin just comment it in
/etc/wireplumber/main.lua.d/90-enable-all.lua:
--libcamera_monitor.enable()

This should be controlled by USE-flag IMO
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-10-17 19:20:43 UTC
libcamera has finally started tagging releases, so I'm happy to work on this now.
Comment 3 Joakim Tjernlund 2023-06-25 21:38:07 UTC
(In reply to Sam James from comment #2)
> libcamera has finally started tagging releases, so I'm happy to work on this
> now.

Noticed libcamera releases too, 0.0.5 came just 8 weeks ago :)
Comment 4 amano.kenji 2023-08-12 14:13:58 UTC
Is V4L2 enough for webcams for now?
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-08-12 17:05:09 UTC
(In reply to Joakim Tjernlund from comment #3)
> (In reply to Sam James from comment #2)
> > libcamera has finally started tagging releases, so I'm happy to work on this
> > now.
> 
> Noticed libcamera releases too, 0.0.5 came just 8 weeks ago :)

I asked them to make proper tarballs a few weeks ago and they're considering it.
Comment 6 Joakim Tjernlund 2023-08-22 09:37:32 UTC
Now there is v0.1.0 too.
Did not see any tarballs in the git repo/page though.
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-08-22 13:51:58 UTC
(In reply to Joakim Tjernlund from comment #6)
> Now there is v0.1.0 too.
> Did not see any tarballs in the git repo/page though.

The discussion took place because of 0.1.0 5 weeks ago.
Comment 8 amano.kenji 2023-08-24 00:28:51 UTC
https://git.zx2c4.com/cgit/ shows cgit can host archives.

https://git.libcamera.org/libcamera/libcamera.git/ doesn't show any release archive.
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-08-24 10:43:49 UTC
Yes, thanks. I know and I've told upstream that already.
Comment 10 Joakim Tjernlund 2023-09-07 20:04:20 UTC
libcamera has an github repo that do have tarballs:
  https://github.com/kbingham/libcamera/tags
Perhaps they prefer having the tar files there to lower network load on their
repo?
Comment 11 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-09-07 20:06:16 UTC
They made clear that repo is unofficial. Please see the full dialogue at https://social.treehouse.systems/@libcamera@floss.social/110734917465197953.
Comment 12 amano.kenji 2023-09-08 01:07:57 UTC
Most open-source developers are jackasses who don't care about UI and UX.

This is a serious UX issue. How difficult is it to upload release tarballs somewhere?
Comment 13 Felix Janda 2023-09-09 14:53:25 UTC
It seems that cgit could generate tarballs via its "snapshots" configuration setting, and it could then look like https://git.zx2c4.com/cgit/refs/tags. Maybe upstream would be amenable to doing that?
Comment 14 Joakim Tjernlund 2023-11-02 01:34:03 UTC
(In reply to Sam James from comment #11)
> They made clear that repo is unofficial. Please see the full dialogue at
> https://social.treehouse.systems/@libcamera@floss.social/110734917465197953.

Maybe a shallow git clone from a tag could replace a tar file?
Gentoo could have a libcamera-9999 regardless I suppose.
Comment 15 James Le Cuirot gentoo-dev 2023-11-14 23:37:38 UTC
This is now the modern way to use the Raspberry Pi camera. I've started on an ebuild. I take it there isn't one already? Apart from the half-baked one from Google, that is.
Comment 16 Joakim Tjernlund 2023-11-16 15:56:51 UTC
(In reply to James Le Cuirot from comment #15)
> This is now the modern way to use the Raspberry Pi camera. I've started on
> an ebuild. I take it there isn't one already? Apart from the half-baked one
> from Google, that is.

I think you have better ones here:
http://gpo.zugaina.org/media-libs/libcamera
Comment 17 Dmitriy Baranov 2023-12-07 10:26:29 UTC
https://gitlab.com/reagentoo/gentoo-overlay/-/tree/master/media-video/snapshot?ref_type=heads
https://gitlab.gnome.org/GNOME/snapshot
FYI: this soft requires pipewire+libcamera
Are there any plans to include the library in the tree?
Comment 18 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-12-09 14:20:30 UTC
I just had an update today from them and we've found a way to make things work. Packaging it now.
Comment 19 Joakim Tjernlund 2024-01-09 19:23:59 UTC Comment hidden (spam)
Comment 20 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-01-10 18:52:44 UTC Comment hidden (obsolete)