Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libcamera for openSUSE:Factory checked in at 2022-10-20 11:09:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libcamera (Old) and /work/SRC/openSUSE:Factory/.libcamera.new.2275 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libcamera" Thu Oct 20 11:09:27 2022 rev:14 rq:1029811 version:0.0.1 Changes: -------- --- /work/SRC/openSUSE:Factory/libcamera/libcamera.changes 2022-09-13 15:07:35.680339482 +0200 +++ /work/SRC/openSUSE:Factory/.libcamera.new.2275/libcamera.changes 2022-10-20 11:09:29.207749240 +0200 @@ -1,0 +2,32 @@ +Tue Oct 18 10:15:03 UTC 2022 - Bj??rn Lie <[email protected]> + +- Update to version 0.0.1: + * This patch release commences the package release procedures for + the project. + * Initial releases will include a bump to the patch (0.0.x) + version number, as well as a corresponding increment to the + soname. + * utils: + - Provide a release script + - semver: Add version helper + * meson: + - Shared Object version handling + - Fix typo + * pipeline: + - rkisp1: Set bytesused before queuing parameters buffer + - ipu3: Set bytesused before queuing parameters buffer + * libcamera: + - v4l2_videodevice: Warn if bytesused == 0 when queuing output + buffer + - framebuffer: Move remaining private data to Private class + - base: utils: Drop defopt +- Change service to use explicit tags and obs_scm. +- Drop vers.diff patch and fix-ppc64.patch: Fixed upstream. +- Change lname define to new upstream soname libcamera0_0_1 and in + baselibs.conf. +- Split out libcamera-base0_0_1 shared library, add to baselibs. + Package the shared librarys in individual packages. +- Use ldconfig_scriptlets macro for post(un) handling. +- Stop exporting -Wno-error to C(XX)FLAGS, no longer needed. + +------------------------------------------------------------------- Old: ---- fix-ppc64.patch libcamera-0.0.0+g3887.f1776100.tar.xz vers.diff New: ---- _servicedata libcamera-0.0.1.obscpio libcamera.obsinfo ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libcamera.spec ++++++ --- /var/tmp/diff_new_pack.L1hVaR/_old 2022-10-20 11:09:29.739750318 +0200 +++ /var/tmp/diff_new_pack.L1hVaR/_new 2022-10-20 11:09:29.743750326 +0200 @@ -16,9 +16,10 @@ # -%define lname libcamera-suse7 +%define lname libcamera0_0_1 +%define lname_base libcamera-base0_0_1 Name: libcamera -Version: 0.0.0+g3887.f1776100 +Version: 0.0.1 Release: 0 Summary: A complex camera support library in C++ License: GPL-2.0-or-later AND LGPL-2.1-or-later @@ -27,8 +28,7 @@ Source: %name-%version.tar.xz Source1: baselibs.conf -Patch1: vers.diff -Patch2: fix-ppc64.patch + BuildRequires: boost-devel BuildRequires: c++_compiler %if 0%{?suse_version} <= 1500 @@ -38,7 +38,7 @@ BuildRequires: libQt5Core-devel BuildRequires: libQt5Gui-devel BuildRequires: libQt5Widgets-devel -BuildRequires: meson >= 0.53 +BuildRequires: meson >= 0.56 BuildRequires: pkgconfig BuildRequires: python3-Jinja2 BuildRequires: python3-PyYAML @@ -73,10 +73,23 @@ the pipeline. The libcamera API groups and exposes these pieces as what users consider one "camera". +%package -n %lname_base +Summary: A complex camera support library in C++ +Group: System/Libraries + +%description -n %lname_base +libcamera is an experimental camera user-space API. + +A camera may consist of multiple sensors or function blocks, and can +expose multiple kernel device nodes in /dev for different stages of +the pipeline. The libcamera API groups and exposes these pieces as +what users consider one "camera". + %package devel Summary: Development for libcamera, a camera support library Group: Development/Libraries/C and C++ Requires: %lname = %version +Requires: %lname_base = %version %description devel libcamera is an experimental camera user-space API. @@ -103,19 +116,13 @@ This is its integration plugin for gstreamer. %prep -%autosetup -p1 -N -%patch1 -p1 -%ifarch ppc64 ppc64le -%patch2 -p1 -%endif +%autosetup -p1 %build %if %{pkg_vcmp gcc < 8} export CC=gcc-9 export CXX=g++-9 %endif -export CFLAGS="%optflags -Wno-error" -export CXXFLAGS="$CFLAGS" %meson \ -Ddocumentation=disabled \ -Dqcam=enabled \ @@ -126,19 +133,15 @@ %install %meson_install -# libtool's -release would be so much more direct, but alas, meson... -mv "%buildroot/%_libdir/libcamera-suse.so" "%buildroot/%_libdir/libcamera.so" -mv "%buildroot/%_libdir/libcamera-base-suse.so" "%buildroot/%_libdir/libcamera-base.so" -mv "%buildroot/%_libdir/pkgconfig/libcamera-suse.pc" "%buildroot/%_libdir/pkgconfig/libcamera.pc" -mv "%buildroot/%_libdir/pkgconfig/libcamera-base-suse.pc" "%buildroot/%_libdir/pkgconfig/libcamera-base.pc" -perl -i -pe 's{camera-suse}{camera}' "%buildroot/%_libdir/pkgconfig"/*.pc -perl -i -pe 's{camera-base-suse}{camera-base}' "%buildroot/%_libdir/pkgconfig"/*.pc -%post -n %lname -p /sbin/ldconfig -%postun -n %lname -p /sbin/ldconfig +%ldconfig_scriptlets -n %lname +%ldconfig_scriptlets -n %lname_base %files -n %lname -%_libdir/libcamera*.so.* +%_libdir/libcamera.so.* + +%files -n %lname_base +%_libdir/libcamera-base.so.* %files devel %license LICENSES/*GPL* ++++++ _service ++++++ --- /var/tmp/diff_new_pack.L1hVaR/_old 2022-10-20 11:09:29.775750391 +0200 +++ /var/tmp/diff_new_pack.L1hVaR/_new 2022-10-20 11:09:29.775750391 +0200 @@ -1,15 +1,18 @@ +<?xml version="1.0"?> <services> - <service name="tar_scm" mode="disabled"> + <service name="obs_scm" mode="manual"> <param name="scm">git</param> <param name="url">git://linuxtv.org/libcamera</param> - <param name="revision">f1776100f55e70320a8938586bc8bf2f242addd4</param> - <param name="parent-tag">v0.0.0</param> - <param name="versionformat">0.0.0+g@TAG_OFFSET@.%h</param> + <param name="revision">refs/tags/v0.0.1</param> + <param name="versionformat">@PARENT_TAG@</param> + <param name="versionrewrite-pattern">v([0-9\.]*)</param> + <param name="changesgenerate">enable</param> </service> - <service name="recompress" mode="disabled"> + <service name="tar" mode="buildtime" /> + <service name="recompress" mode="buildtime"> <param name="file">*.tar</param> <param name="compression">xz</param> </service> - <service name="set_version" mode="disabled"/> + <service name="set_version" mode="manual"/> </services> ++++++ _servicedata ++++++ <servicedata> <service name="tar_scm"> <param name="url">git://linuxtv.org/libcamera</param> <param name="changesrevision">a83aed77df1258e469c0eb42d9cb4f1938db53f2</param></service></servicedata> (No newline at EOF) ++++++ baselibs.conf ++++++ --- /var/tmp/diff_new_pack.L1hVaR/_old 2022-10-20 11:09:29.815750472 +0200 +++ /var/tmp/diff_new_pack.L1hVaR/_new 2022-10-20 11:09:29.819750480 +0200 @@ -1,2 +1,3 @@ -libcamera-suse7 +libcamera0_0_1 +libcamera-base0_0_1 ++++++ libcamera.obsinfo ++++++ name: libcamera version: 0.0.1 mtime: 1665755326 commit: a83aed77df1258e469c0eb42d9cb4f1938db53f2
