forked from pool/libcamera
Accepting request 1108468 from graphics
- Update to version 0.1.0: OBS-URL: https://build.opensuse.org/request/show/1108468 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libcamera?expand=0&rev=18
This commit is contained in:
commit
13a9b66211
10
_service
10
_service
@ -1,17 +1,15 @@
|
|||||||
<?xml version="1.0"?>
|
<?xml version="1.0"?>
|
||||||
<services>
|
<services>
|
||||||
<service name="obs_scm" mode="manual">
|
<service name="tar_scm" mode="disabled">
|
||||||
<param name="scm">git</param>
|
<param name="scm">git</param>
|
||||||
<param name="url">git://linuxtv.org/libcamera</param>
|
<param name="url">git://linuxtv.org/libcamera</param>
|
||||||
<param name="revision">refs/tags/v0.0.4</param>
|
<param name="revision">refs/tags/v0.1.0</param>
|
||||||
<param name="versionformat">@PARENT_TAG@</param>
|
<param name="versionformat">@PARENT_TAG@</param>
|
||||||
<param name="versionrewrite-pattern">v([0-9\.]*)</param>
|
<param name="versionrewrite-pattern">v([0-9\.]*)</param>
|
||||||
<param name="changesgenerate">enable</param>
|
|
||||||
</service>
|
</service>
|
||||||
<service name="tar" mode="buildtime" />
|
<service name="recompress" mode="disabled">
|
||||||
<service name="recompress" mode="buildtime">
|
|
||||||
<param name="file">*.tar</param>
|
<param name="file">*.tar</param>
|
||||||
<param name="compression">xz</param>
|
<param name="compression">xz</param>
|
||||||
</service>
|
</service>
|
||||||
<service name="set_version" mode="manual"/>
|
<service name="set_version" mode="disabled"/>
|
||||||
</services>
|
</services>
|
||||||
|
@ -1,4 +0,0 @@
|
|||||||
<servicedata>
|
|
||||||
<service name="tar_scm">
|
|
||||||
<param name="url">git://linuxtv.org/libcamera</param>
|
|
||||||
<param name="changesrevision">6cf637eb253a68edebe59505bea55435fafb00cd</param></service></servicedata>
|
|
@ -1,2 +1,2 @@
|
|||||||
libcamera0_0_4
|
libcamera0_1
|
||||||
libcamera-base0_0_4
|
libcamera-base0_1
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:69a9bc4e24666fca0e5a408f68e1d57a09a3711529b38d29591d4a28bbcbba4f
|
|
||||||
size 5986317
|
|
3
libcamera-0.1.0.tar.xz
Normal file
3
libcamera-0.1.0.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:7d5dd3513704e2c7b9e95423b6df1d0cd06f8c5db3635b35a0cb69994703f0c6
|
||||||
|
size 1016288
|
@ -1,3 +1,14 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Sep 01 07:00:58 UTC 2023 - rfrohl@suse.com
|
||||||
|
|
||||||
|
- Update to version 0.1.0:
|
||||||
|
* v4l2: Use SystemDevices properties to identify cameras
|
||||||
|
* apps: Add ipa-verify application
|
||||||
|
* libcamera: formats: Add 14-bits Bayer RAW formats
|
||||||
|
* libcamera: v4l2_device: openat(2) with O_CLOEXEC to cleanup
|
||||||
|
after exec(3)
|
||||||
|
- Drop silent-Werror_dangling-reference.patch: fixed upstream
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Mar 13 08:48:30 UTC 2023 - Martin Liška <mliska@suse.cz>
|
Mon Mar 13 08:48:30 UTC 2023 - Martin Liška <mliska@suse.cz>
|
||||||
|
|
||||||
|
@ -1,4 +0,0 @@
|
|||||||
name: libcamera
|
|
||||||
version: 0.0.4
|
|
||||||
mtime: 1675212256
|
|
||||||
commit: 6cf637eb253a68edebe59505bea55435fafb00cd
|
|
@ -16,10 +16,10 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define lname libcamera0_0_4
|
%define lname libcamera0_1
|
||||||
%define lname_base libcamera-base0_0_4
|
%define lname_base libcamera-base0_1
|
||||||
Name: libcamera
|
Name: libcamera
|
||||||
Version: 0.0.4
|
Version: 0.1.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A complex camera support library in C++
|
Summary: A complex camera support library in C++
|
||||||
License: GPL-2.0-or-later AND LGPL-2.1-or-later
|
License: GPL-2.0-or-later AND LGPL-2.1-or-later
|
||||||
@ -28,7 +28,6 @@ URL: http://libcamera.org/
|
|||||||
|
|
||||||
Source: %name-%version.tar.xz
|
Source: %name-%version.tar.xz
|
||||||
Source1: baselibs.conf
|
Source1: baselibs.conf
|
||||||
Patch0: silent-Werror_dangling-reference.patch
|
|
||||||
|
|
||||||
BuildRequires: boost-devel
|
BuildRequires: boost-devel
|
||||||
BuildRequires: c++_compiler
|
BuildRequires: c++_compiler
|
||||||
|
@ -1,21 +0,0 @@
|
|||||||
diff --git a/src/apps/cam/file_sink.cpp b/src/apps/cam/file_sink.cpp
|
|
||||||
index b32aad24..9a543dc1 100644
|
|
||||||
--- a/src/apps/cam/file_sink.cpp
|
|
||||||
+++ b/src/apps/cam/file_sink.cpp
|
|
||||||
@@ -114,7 +114,16 @@ void FileSink::writeBuffer(const Stream *stream, FrameBuffer *buffer,
|
|
||||||
}
|
|
||||||
|
|
||||||
for (unsigned int i = 0; i < buffer->planes().size(); ++i) {
|
|
||||||
+
|
|
||||||
+#if __GNUC__ >= 13
|
|
||||||
+#pragma GCC diagnostic push
|
|
||||||
+#pragma GCC diagnostic ignored "-Wdangling-reference"
|
|
||||||
+#endif
|
|
||||||
+
|
|
||||||
const FrameMetadata::Plane &meta = buffer->metadata().planes()[i];
|
|
||||||
+#if __GNUC__ >= 13
|
|
||||||
+#pragma GCC diagnostic pop
|
|
||||||
+#endif
|
|
||||||
|
|
||||||
Span<uint8_t> data = image->data(i);
|
|
||||||
unsigned int length = std::min<unsigned int>(meta.bytesused, data.size());
|
|
Loading…
Reference in New Issue
Block a user