[needs-packaging] rpicam-apps

Bug #2020101 reported by Dave Jones
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu
Fix Released
High
Unassigned

Bug Description

URL: https://github.com/raspberrypi/libcamera-apps
License: BSD-2-Clause
Notes:

The current range of demo applications shipped with libcamera is pretty minimal, offering the ability to preview a camera's output and snap a still image. The libcamera-apps package, shipped with RaspiOS, offers a more complete set of demo applications with the ability to snap still images in response to key-presses, signals, or on a timer, record video (also in response to various inputs), and capture raw images.

While some facilities in these demos are specific to the Raspberry Pi camera modules, most facilities should also work with third party camera modules, and on architectures other than the Pi.

The package builds successfully against libcamera 0.0.4 (currently in the archive) and libcamera 0.0.5 (current in Debian experimental) and should be reasonably simple to maintain going forward.

Test builds (against libcamera 0.0.5) are available in ppa:waveform/libcamera:

https://launchpad.net/~waveform/+archive/ubuntu/libcamera

Dave Jones (waveform)
tags: added: needs-packaging
Revision history for this message
Brian Murray (brian-murray) wrote :

*** This is an automated message ***

This bug is tagged needs-packaging which identifies it as a request for a new package in Ubuntu. As a part of the managing needs-packaging bug reports specification, https://wiki.ubuntu.com/QATeam/Specs/NeedsPackagingBugs, all needs-packaging bug reports have Wishlist importance. Subsequently, I'm setting this bug's status to Wishlist.

Changed in ubuntu:
importance: Undecided → Wishlist
Dave Jones (waveform)
tags: added: rls-mm-incoming
Dave Jones (waveform)
tags: added: foundations-todo
removed: rls-mm-incoming
Revision history for this message
Juerg Haefliger (juergh) wrote :

Test build with support for Pi 5:
https://launchpad.net/~juergh/+archive/ubuntu/pi5

Dave Jones (waveform)
Changed in ubuntu:
milestone: none → ubuntu-24.04
Revision history for this message
Dave Jones (waveform) wrote :

Upstream has now renamed libcamera-apps to rpicam-apps; the current version requires a later version of libcamera than that currently in either Debian or Ubuntu repos, but it appears the patches applied to libcamera in @juergh's PPA are sufficient for it. I'll update my PPA with the current version of rpicam-apps and then seek sponsorship for this.

summary: - [needs-packaging] libcamera-apps
+ [needs-packaging] rpicam-apps
Revision history for this message
Dave Jones (waveform) wrote :

Nope, the patches in @juergh's PPA aren't sufficient for it (needs the orientation.h header, which is new, but already in upstream's repos). I'll see what I can do about an updated version of that too...

Revision history for this message
Pragyansh Chaturvedi (r41k0u) wrote :

Hi, I have packaged the latest version of rpicam-apps for plucky. Test builds are available in https://launchpad.net/~r41k0u/+archive/ubuntu/pisp-libcamera

Changed in ubuntu:
assignee: nobody → Pragyansh Chaturvedi (r41k0u)
status: New → In Progress
Changed in ubuntu:
importance: Wishlist → High
milestone: ubuntu-24.04 → ubuntu-25.04
Revision history for this message
Dave Jones (waveform) wrote :

A few things we need to exclude/change:

* No need for the libcamera-apps{,-lite} transitional packages as we never had them (including conflicts/replaces clauses)

* Remove d/compat; Build-Depend on debhelper-compat (and bump to =13)

* Bump standards version to 4.7.0 (no reason not to use the latest)

* In d/rules -Denable_opencv appears in $CONFIG_COMMON and $CONFIG_{FULL,LITE} -- should probably only appear in $CONFIG_COMMON (this should be reported upstream too)

Will have a bit more once I've finished rebuilding libcamera locally

Revision history for this message
Pragyansh Chaturvedi (r41k0u) wrote :

Hi Dave, thanks for reviewing! The changes have been made in the PPA

Changed in ubuntu:
milestone: ubuntu-25.04 → ubuntu-25.04-feature-freeze
importance: High → Critical
assignee: Pragyansh Chaturvedi (r41k0u) → nobody
Revision history for this message
Pragyansh Chaturvedi (r41k0u) wrote :

Hi
The PPA mentioned above has rpicam-apps 1.6.0 and the required libcamera version.
But the plucky archive has an earlier version of libcamera, and rpicam-apps 1.6.0 won't work with that. (And we are past beta now)
https://launchpad.net/~r41k0u/+archive/ubuntu/rpicamapps153 has rpicam-apps 1.5.3 with relevant patches for plucky, which works with the version of libcamera in plucky archive.

Changed in ubuntu:
importance: Critical → High
Revision history for this message
Sebastien Bacher (seb128) wrote :

The package is current in the plucky NEW, uploaded 17 hours, the bug has no justification for the importance selected though and it doesn't seem reasonable. Could you provide explanation why PLucky couldn't be release without it?

Revision history for this message
Sebastien Bacher (seb128) wrote :

I discussed the details directly with Pragyansh, that's a feature we want to provide in the archive for better raspi camera support / allow users to follow the upstream document. It would be nice to provide detailed rational in the bug description next time but otherwise the package looks fine and I will approve it now

Changed in ubuntu:
status: In Progress → Fix Committed
Dave Jones (waveform)
Changed in ubuntu:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.