293.4. kamera-26.08.2
camera:/ KIO worker and settings module for gPhoto2 digital cameras
26.08.2-1 · GPL-2.0-or-later AND BSD-3-Clause AND GFDL-1.2-or-later AND CC0-1.0 · 1.6 SBU · 359.7 KiB, 11 files · 44_apps, 298 of 422 · ports/core/mobile/kamera
Homepage: https://invent.kde.org/graphics/kamera
kamera gives KDE programs access to digital cameras through gPhoto2. It is the camera:/ KIO worker, which Dolphin and Gwenview browse and copy pictures from, a System Settings page that lists and configures the cameras gPhoto2 sees, and a Solid action that offers to open a camera when one is plugged in.
Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, kcmutils, kconfig, kconfigwidgets, kdoctools, ki18n, kio, kxmlgui, libgphoto2.
Required by (1): kde-gear-graphics.
Sources: kamera-26.08.2.tar.xz (130.5 KiB). Every step kpkg takes applies to this port.
Install: script/chroot/exec.sh bash -c 'source script/phases/44_apps/phase.env && kpkg install kamera'
build.sh:
cmake -S . -B build -G Ninja \
-D CMAKE_INSTALL_PREFIX=/usr \
-D KDE_INSTALL_LIBDIR=lib \
-D CMAKE_BUILD_TYPE=Release \
-D KDE_INSTALL_USE_QT_SYS_PATHS=ON \
-D BUILD_TESTING=OFF \
-D KF_SKIP_PO_PROCESSING=ON \
-D CMAKE_REQUIRE_FIND_PACKAGE_KF6DocTools=ON \
-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build
-D CMAKE_REQUIRE_FIND_PACKAGE_KF6DocTools=ON— Make kdoctools a requirement. Upstream finds it as optional and drops the settings page’s handbook without one.-D KF_SKIP_PO_PROCESSING=ON— Builds none of the interface translations inpo/, which kpkg’s English-only rule would remove from the package anyway (see Size and language policy).-Wno-dev— Silences CMake’s warnings meant for the project’s own developers.
Directories: /usr/share/doc/HTML/en/kcontrol/kamera, /usr/share/licenses/kamera.
The bundled FindGphoto2.cmake asks gphoto2-config and gphoto2-port-config from libgphoto2 for its flags, through exec_program(). That command is a deprecated one CMake still runs under the project’s 3.16 policy level, with a warning.
A camera is a USB device, and only a user allowed to open its /dev/bus/usb node can reach it. KDOS’s udev rules give PTP and MTP cameras to the dialout group.
The Solid action runs kioclient5 exec camera:/; kioclient5 is the compatibility link kde-cli-tools installs beside kioclient, so the action works in the Plasma session, where that port is installed.