Package Details: libcamera-git r2509.d4043011-2

Git Clone URL: https://aur.archlinux.org/libcamera-git.git (read-only, click to copy)
Package Base: libcamera-git
Description: A complex camera support library for Linux, Android, and ChromeOS
Upstream URL: http://libcamera.org/
Licenses: LGPL2.1
Conflicts: libcamera
Provides: libcamera
Submitter: fordprefect
Maintainer: gmy
Last Packager: gmy
Votes: 3
Popularity: 0.68
First Submitted: 2018-12-06 09:51
Last Updated: 2021-04-20 11:37

Latest Comments

1 2 Next › Last »

SamLukeYes commented on 2021-05-13 07:18

Fixed the build failure in libcamera-clang-git:

prepare() {
  sed -i 's|py_compile=True,||' ${srcdir}/libcamera/utils/ipc/mojo/public/tools/mojom/mojom/generate/template_expander.py
}

SamLukeYes commented on 2021-05-13 06:56

@LucidComplex

This seems to be related to a recent update of python-jinja. jinja2.Environment.compile_templates no longer accepts the argument py_compile.

LucidComplex commented on 2021-05-13 06:14

Build fails with

TypeError: compile_templates() got an unexpected keyword argument 'py_compile'

joz commented on 2021-05-07 19:07

boost is currently marked as optional dependency, but without it, I get ERROR: Dependency "boost" not found. It may be better off in the hard dependency list.

gmy commented on 2021-04-20 09:34

Sure, git was added to makedepends, @AquaUwU!

AquaUwU commented on 2021-04-20 00:45

May git be added as a make dependancy? It is needed to make the package, and without it in the make dependancies properly, I am unable to use tools such as aurto to manage this AUR package and build it automatically for me for easier updates

gmy commented on 2021-03-21 22:25

@SamLukeYes, thank you for the hint! I've updated PKGBUILD - builds now for me at least.

SamLukeYes commented on 2021-03-21 02:22

I can confirm that the build failure mentioned by @A.J also occurs on libcamera-git with the latest commit (r2416.1a26f79f). The error looks like this:

[205/341] Compiling C++ object src/gstreamer/libgstlibcamera.so.p/gstlibcamerasrc.cpp.o
FAILED: src/gstreamer/libgstlibcamera.so.p/gstlibcamerasrc.cpp.o 
c++ -Isrc/gstreamer/libgstlibcamera.so.p -Isrc/gstreamer -I../src/gstreamer -Iinclude -I../include -Iinclude/libcamera -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/orc-0.4 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -Wextra -Werror -std=c++17 -g -Wshadow -include config.h -fPIC -pthread '-DVERSION="0.0.0+2416-1a26f79f"' '-DPACKAGE="libcamera"' -MD -MQ src/gstreamer/libgstlibcamera.so.p/gstlibcamerasrc.cpp.o -MF src/gstreamer/libgstlibcamera.so.p/gstlibcamerasrc.cpp.o.d -o src/gstreamer/libgstlibcamera.so.p/gstlibcamerasrc.cpp.o -c ../src/gstreamer/gstlibcamerasrc.cpp
In file included from /usr/include/gstreamer-1.0/gst/base/base.h:35,
                 from ../src/gstreamer/gstlibcamerasrc.cpp:39:
/usr/include/gstreamer-1.0/gst/base/gstbytereader.h: In function ‘guint8* gst_byte_reader_dup_data_unchecked(GstByteReader*, guint)’:
/usr/include/gstreamer-1.0/gst/base/gstbytereader.h:365:41: error: ‘void* g_memdup(gconstpointer, guint)’ is deprecated: Use 'g_memdup2' instead [-Werror=deprecated-declarations]
  365 |   return (guint8 *) g_memdup (data, size);
      |                                         ^
In file included from /usr/include/glib-2.0/glib.h:82,
                 from /usr/include/gstreamer-1.0/gst/gst.h:27,
                 from ../src/gstreamer/gstlibcamerasrc.h:12,
                 from ../src/gstreamer/gstlibcamerasrc.cpp:34:
/usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here
  257 | gpointer              g_memdup         (gconstpointer mem,
      |                       ^~~~~~~~
cc1plus: all warnings being treated as errors
[214/341] Compiling C++ object test/camera/capture.p/capture.cpp.o
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
    Aborting...
error making: libcamera-git

In libcamera-clang-git, I've fixed this error with the following prepare() function:

prepare() {
  sed -i 's/werror=true/werror=false/' ${srcdir}/libcamera/meson.build
}

gmy commented on 2021-03-18 17:31

Added dependencies according to documentation.

robertfoster commented on 2021-03-18 16:08

Please add boost as runtime dependency