update to 0.0.5

rebuilt by autoport with build requirements: libgmock-devel>=:1.14.0-1mamba [release 0.0.5-1mamba;Sun Aug 20 2023]
This commit is contained in:
Silvan Calarco 2024-01-06 03:56:47 +01:00
parent 4350c2757f
commit 3ca97b3a8d
2 changed files with 56 additions and 2 deletions

View File

@ -0,0 +1,46 @@
From 6cb92b523bd60bd7718df134cc5b1eff51cf42e5 Mon Sep 17 00:00:00 2001
From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Date: Fri, 28 Jul 2023 22:11:45 +0300
Subject: Documentation: theme: Fix compilation with Sphinx >= 7.0.0
Sphinx 7.0.0 has dropped support for the deprecated 'style' variable
(https://github.com/sphinx-doc/sphinx/pull/11381). This breaks
compilation of the documentation:
/usr/bin/sphinx-build -D release=v0.1.0+16-eed6a079 -q -W -b html Documentation Documentation/html
Theme error:
An error happened in rendering the page api-html/index.
Reason: UndefinedError("'style' is undefined")
The recommended replacement is 'styles[-1]'. However, this resolves to
'_static/css/theme.css', which is part of the 'css_styles' variable, and
results in the stylesheet being included twice. To avoid that and fix
the compilation error, simply drop the first reference.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Tested-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
---
Documentation/theme/layout.html | 5 -----
1 file changed, 5 deletions(-)
diff --git a/Documentation/theme/layout.html b/Documentation/theme/layout.html
index fcc6d221..4fffefab 100644
--- a/Documentation/theme/layout.html
+++ b/Documentation/theme/layout.html
@@ -33,11 +33,6 @@ SPDX-License-Identifier: CC-BY-SA-4.0
{% endif %}
- {# RTD hosts this file, so just load on non RTD builds #}
- {% if not READTHEDOCS %}
- <link rel="stylesheet" href="{{ pathto('_static/' + style, 1) }}" type="text/css" />
- {% endif %}
-
{% for cssfile in css_files %}
<link rel="stylesheet" href="{{ pathto(cssfile, 1) }}" type="text/css" />
{% endfor %}
--
cgit v1.2.1

View File

@ -1,6 +1,6 @@
Name: libcamera
Version: 0.0.4
Release: 2mamba
Version: 0.0.5
Release: 1mamba
Summary: A complex camera support library for Linux, Android, and ChromeOS
Group: System/Libraries
Vendor: openmamba
@ -8,6 +8,7 @@ Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://libcamera.org/
Source: https://git.libcamera.org/libcamera/libcamera.git/v%{version}/libcamera-%{version}.tar.bz2
Patch0: libcamera-0.0.5-python-sphinx-7.0.1.patch
License: GPL, LGPL, BSD, MIT
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
@ -30,6 +31,7 @@ BuildRequires: libunwind-devel
BuildRequires: libyaml-devel
BuildRequires: qt5-qtbase-devel
## AUTOBUILDREQ-END
BuildRequires: libgmock-devel >= 1.14.0-1mamba
BuildRequires: meson
%description
@ -57,9 +59,11 @@ This package contains utility applications for %{name}.
%prep
%setup -q
%patch 0 -p1 -b .python-sphinx-7.0.1
%build
%meson
%meson_build
%install
@ -113,6 +117,10 @@ This package contains utility applications for %{name}.
%{_bindir}/qcam
%changelog
* Sun Aug 20 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 0.0.5-1mamba
- update to 0.0.5
- rebuilt by autoport with build requirements: libgmock-devel>=:1.14.0-1mamba
* Sun Mar 26 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 0.0.4-2mamba
- libcamera-devel: fix docdir multiple inclusion causing installation error