From: Markus Volk <f_l_k@t-online.de>
To: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Cc: openembedded-devel@lists.openembedded.org
Subject: Re: [oe] [meta-multimedia][PATCH] libcamera: upgrade -> 0.0.1
Date: Sat, 22 Oct 2022 15:38:53 +0200 [thread overview]
Message-ID: <TWP5KR.GDOFZVI879S3@t-online.de> (raw)
In-Reply-To: <81287e5fe61e432d98037f20316c1faa@axis.com>
[-- Attachment #1: Type: text/plain, Size: 4690 bytes --]
Thanks for the review
Am Sa, 22. Okt 2022 um 12:46:02 +0000 schrieb Peter Kjellerstedt
<peter.kjellerstedt@axis.com>:
>> -----Original Message-----
>> From: openembedded-devel@lists.openembedded.org
>> <mailto:openembedded-devel@lists.openembedded.org>
>> <openembedded-devel@lists.openembedded.org
>> <mailto:openembedded-devel@lists.openembedded.org>> On Behalf Of
>> Markus Volk
>> Sent: den 22 oktober 2022 11:12
>> To: openembedded-devel@lists.openembedded.org
>> <mailto:openembedded-devel@lists.openembedded.org>
>> Cc: Markus Volk <f_l_k@t-online.de <mailto:f_l_k@t-online.de>>
>> Subject: [oe] [meta-multimedia][PATCH] libcamera: upgrade -> 0.0.1
>>
>> libcamera has recently received its first release.
>> Note: meta-raspberrypi needs to adjust the name of
>> libcamera.bbappend
>>
>> Signed-off-by: Markus Volk <f_l_k@t-online.de
>> <mailto:f_l_k@t-online.de>>
>> ---
>> .../{libcamera.bb => libcamera_0.0.1.bb} | 16
>> ++++++++--------
>> 1 file changed, 8 insertions(+), 8 deletions(-)
>> rename meta-multimedia/recipes-multimedia/libcamera/{libcamera.bb
>> => libcamera_0.0.1.bb} (84%)
>>
>> diff --git
>> a/meta-multimedia/recipes-multimedia/libcamera/libcamera.bb
>> b/meta-multimedia/recipes-multimedia/libcamera/libcamera_0.0.1.bb
>> similarity index 84%
>> rename from
>> meta-multimedia/recipes-multimedia/libcamera/libcamera.bb
>> rename to
>> meta-multimedia/recipes-multimedia/libcamera/libcamera_0.0.1.bb
>> index 53cd94cbf..8329707b5 100644
>> --- a/meta-multimedia/recipes-multimedia/libcamera/libcamera.bb
>> +++
>> b/meta-multimedia/recipes-multimedia/libcamera/libcamera_0.0.1.bb
>> @@ -12,9 +12,9 @@ SRC_URI = " \
>>
>> git://git.libcamera.org/libcamera/libcamera.git;protocol=https;branch=master
>> \
>> "
>>
>> -SRCREV = "ed591e705c451d0ce14988ae96829a31a2ae2f9a"
>> +SRCREV = "a83aed77df1258e469c0eb42d9cb4f1938db53f2"
>>
>> -PV = "202105+git${SRCPV}"
>> +PV = "0.0.1"
>
> Remove PV. There is no need to set it here as it is now set in the
> filename.
> Instead, you should add:
>
> PE = "1"
>
> to avoid the following warning when upgrading from the current
> version:
>
> WARNING: libcamera-0.0.1-r0 do_packagedata: QA Issue: Package version
> for
> package libcamera went backwards which would break package feeds (from
> 0:202105+git0+ed591e705c-r0.2 to 0:0.0.1-r0.0)
> [version-going-backwards]
>
>>
>> S = "${WORKDIR}/git"
>>
>> @@ -45,8 +45,8 @@ do_configure:prepend() {
>> }
>>
>> do_install:append() {
>> - chrpath -d ${D}${libdir}/libcamera.so.0.0.0
>> - chrpath -d ${D}${libdir}/libcamera-base.so.0.0.0
>> + chrpath -d ${D}${libdir}/libcamera.so.0.0.1
>> + chrpath -d ${D}${libdir}/libcamera-base.so.0.0.1
>
> Change to:
>
> chrpath -d ${D}${libdir}/libcamera.so
> chrpath -d ${D}${libdir}/v4l2-compat.so
>
> so that it does not have to be updated every new version.
> I dropped chrpath for libcamera-base.so because it has no rpath, so
> no need to remove something that isn't there.
>
>> }
>>
>> addtask do_recalculate_ipa_signatures_package after do_package
>> before do_packagedata
>> @@ -64,11 +64,11 @@ do_recalculate_ipa_signatures_package() {
>>
>> FILES:${PN}-dev = "${includedir} ${libdir}/pkgconfig"
>> FILES:${PN}-dev += " ${libdir}/libcamera.so"
>> -FILES:${PN} += " ${libdir}/libcamera.so.0"
>> -FILES:${PN} += " ${libdir}/libcamera.so.0.0.0"
>> +FILES:${PN} += " ${libdir}/libcamera.so"
>> +FILES:${PN} += " ${libdir}/libcamera.so.0.0.1"
>> FILES:${PN}-dev += " ${libdir}/libcamera-base.so"
>> -FILES:${PN} += " ${libdir}/libcamera-base.so.0"
>> -FILES:${PN} += " ${libdir}/libcamera-base.so.0.0.0"
>> +FILES:${PN} += " ${libdir}/libcamera-base.so"
>> +FILES:${PN} += " ${libdir}/libcamera-base.so.0.0.1"
>> FILES:${PN} += " ${libdir}/v4l2-compat.so"
>> FILES:${PN}-gst = "${libdir}/gstreamer-1.0/libgstlibcamera.so"
>> FILES:${PN} += " ${bindir}/cam"
>
> Remove all the FILES variables above and replace them with:
>
> FILES:${PN} += " ${libdir}/v4l2-compat.so"
> FILES:${PN}-gst = "${libdir}/gstreamer-1.0"
>
>> --
>> 2.34.1
>
> //Peter
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#99258):
> <https://lists.openembedded.org/g/openembedded-devel/message/99258>
> Mute This Topic: <https://lists.openembedded.org/mt/94492803/3618223>
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> <mailto:openembedded-devel+owner@lists.openembedded.org>
> Unsubscribe:
> <https://lists.openembedded.org/g/openembedded-devel/unsub>
> [f_l_k@t-online.de <mailto:f_l_k@t-online.de>]
> -=-=-=-=-=-=-=-=-=-=-=-
>
[-- Attachment #2: Type: text/html, Size: 5023 bytes --]
prev parent reply other threads:[~2022-10-22 13:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-22 9:12 [meta-multimedia][PATCH] libcamera: upgrade -> 0.0.1 Markus Volk
2022-10-22 12:46 ` [oe] " Peter Kjellerstedt
2022-10-22 13:38 ` Markus Volk [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=TWP5KR.GDOFZVI879S3@t-online.de \
--to=f_l_k@t-online.de \
--cc=openembedded-devel@lists.openembedded.org \
--cc=peter.kjellerstedt@axis.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.