From: "Richard Purdie" <richard.purdie@linuxfoundation.org>
To: Jose Quaresma <quaresma.jose@gmail.com>,
openembedded-core@lists.openembedded.org
Subject: Re: [OE-core] [PATCH v5 01/22] gstreamer1.0: Fix reproducibility issue around libcap
Date: Thu, 29 Oct 2020 15:32:19 +0000 [thread overview]
Message-ID: <7ff661d33eefed532bff3a1509f23fa26cc289a9.camel@linuxfoundation.org> (raw)
In-Reply-To: <20201029142806.1830504-2-quaresma.jose@gmail.com>
On Thu, 2020-10-29 at 14:27 +0000, Jose Quaresma wrote:
> Currently gstreamer configuration depends libcap and on whether
> setcap is found on the host system.
>
> Removing libcap from DEPENDS and only use it when the 'setcap' is enabled.
>
> * capfix.patch
> Removed as the same goals can be achieved only with the PACKAGECONFIG 'setcap'
>
> Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
> ---
> .../gstreamer/gstreamer1.0/capfix.patch | 37 -------------------
> .../gstreamer/gstreamer1.0_1.16.2.bb | 5 +--
> 2 files changed, 2 insertions(+), 40 deletions(-)
> delete mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0/capfix.patch
>
> diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0/capfix.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0/capfix.patch
> deleted file mode 100644
> index 7ca3d5ad4a..0000000000
> --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0/capfix.patch
> +++ /dev/null
> @@ -1,37 +0,0 @@
> -Currently gstreamer configuration depends on whether setcap is found on the host
> -system. Turn this into a configure option to make builds deterinistic.
> -
> -RP 2020/2/19
> -Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
> -Upstream-Status: Pending
> -
> -Index: gstreamer-1.16.1/libs/gst/helpers/meson.build
> -===================================================================
> ---- gstreamer-1.16.1.orig/libs/gst/helpers/meson.build
> -+++ gstreamer-1.16.1/libs/gst/helpers/meson.build
> -@@ -73,7 +73,12 @@ if have_ptp
> - endif
> - endif
> -
> -- setcap = find_program('setcap', '/usr/sbin/setcap', '/sbin/setcap', required : false)
> -+ setcap_feature = get_option('setcap')
> -+ if setcap_feature.disabled()
> -+ setcap = find_program('dontexist', required : false)
> -+ else
> -+ setcap = find_program('setcap', '/usr/sbin/setcap', '/sbin/setcap', required : false)
> -+ endif
> -
I did have a question about this. I think the problem this patch was
fixing was that <PATH>/setcap was being coded into the headers and
hence the output regardless of whether setcap was enabled or disabled.
Since its looking directly at /usr/sbin/ and /sbin/, this made it
depend on the host system it was built on.
Are you saying that is no longer encoded in the output?
Cheers,
Richard
next prev parent reply other threads:[~2020-10-29 15:32 UTC|newest]
Thread overview: 45+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-29 14:27 [PATCH v5 00/22] Updates the gstreamer to version 1.18.0 Jose Quaresma
2020-10-29 14:27 ` [PATCH v5 01/22] gstreamer1.0: Fix reproducibility issue around libcap Jose Quaresma
2020-10-29 15:32 ` Richard Purdie [this message]
2020-10-29 16:13 ` [OE-core] " Jose Quaresma
2020-10-29 16:43 ` Richard Purdie
2020-10-29 16:58 ` Jose Quaresma
[not found] ` <1642850E1E948AB3.32334@lists.openembedded.org>
2020-10-29 22:10 ` Jose Quaresma
2020-10-29 22:42 ` Richard Purdie
2020-10-29 14:27 ` [PATCH v5 02/22] gstreamer1.0: upgrade to version 1.18.0 Jose Quaresma
2020-10-29 14:27 ` [PATCH v5 03/22] gstreamer1.0-plugins-base: " Jose Quaresma
2020-10-29 14:27 ` [PATCH v5 04/22] gstreamer1.0-plugins-base: add new meson option as PACKAGECONFIG Jose Quaresma
2020-10-29 14:27 ` [PATCH v5 05/22] gstreamer1.0-plugins-good: upgrade to version 1.18.0 Jose Quaresma
2020-10-29 16:06 ` [OE-core] " Richard Purdie
2020-10-29 22:14 ` Jose Quaresma
[not found] ` <1642964F5C513D13.27950@lists.openembedded.org>
2020-10-29 22:54 ` Jose Quaresma
[not found] ` <1642987B07D196A5.27950@lists.openembedded.org>
2020-10-30 16:47 ` Jose Quaresma
2020-10-30 17:45 ` Richard Purdie
2020-10-30 17:57 ` Jose Quaresma
[not found] ` <1642D6DB2EF0C3ED.10902@lists.openembedded.org>
2020-10-30 18:23 ` Jose Quaresma
2020-10-30 18:28 ` Alexander Kanavin
2020-10-30 18:35 ` Jose Quaresma
2020-10-30 19:23 ` Richard Purdie
2020-10-31 0:49 ` Richard Purdie
2020-10-31 11:49 ` Jose Quaresma
2020-10-31 18:54 ` Alexander Kanavin
2020-10-31 18:56 ` Alexander Kanavin
2020-11-01 21:08 ` Jose Quaresma
2020-10-29 14:27 ` [PATCH v5 06/22] gstreamer1.0-plugins-good: disable new meson options Jose Quaresma
2020-10-29 14:27 ` [PATCH v5 07/22] gstreamer1.0-plugins-good: add new meson option as PACKAGECONFIG Jose Quaresma
2020-10-29 14:27 ` [PATCH v5 08/22] gstreamer1.0-plugins-bad: upgrade to version 1.18.0 Jose Quaresma
2020-10-29 14:27 ` [PATCH v5 09/22] gstreamer1.0-plugins-bad: disable new meson options Jose Quaresma
2020-10-29 14:27 ` [PATCH v5 10/22] gstreamer1.0-plugins-bad: add new meson options as PACKAGECONFIG Jose Quaresma
2020-10-29 14:27 ` [PATCH v5 11/22] gstreamer1.0-plugins-ugly: upgrade to version 1.18.0 Jose Quaresma
2020-10-29 14:27 ` [PATCH v5 12/22] gstreamer1.0-python: " Jose Quaresma
2020-10-29 14:27 ` [PATCH v5 13/22] gstreamer1.0-python: install append is not need any more Jose Quaresma
2020-10-29 14:27 ` [PATCH v5 14/22] gstreamer1.0-rtsp-server: upgrade to version 1.18.0 Jose Quaresma
2020-10-29 14:27 ` [PATCH v5 15/22] gstreamer1.0-vaapi: " Jose Quaresma
2020-10-29 14:28 ` [PATCH v5 16/22] gst-examples: " Jose Quaresma
2020-10-29 14:28 ` [PATCH v5 17/22] gstreamer1.0-omx: " Jose Quaresma
2020-10-29 14:28 ` [PATCH v5 18/22] gstreamer1.0-libav: " Jose Quaresma
2020-10-29 14:28 ` [PATCH v5 19/22] gst-devtools: add version 1.18.0 (gst-validate -> gst-devtools) Jose Quaresma
2020-10-29 14:28 ` [PATCH v5 20/22] orc: Upgrade 0.4.31 -> 0.4.32 Jose Quaresma
2020-10-29 14:28 ` [PATCH v5 21/22] gstreamer1.0-plugins-good: on wayland qt5 needs qtwayland Jose Quaresma
2020-10-29 14:28 ` [PATCH v5 22/22] gstreamer1.0-libav: add comercial license flags as ffmpeg needs this Jose Quaresma
[not found] ` <16427CDA53DAE3E8.561@lists.openembedded.org>
2020-10-29 22:14 ` [OE-core] [PATCH v5 02/22] gstreamer1.0: upgrade to version 1.18.0 Jose Quaresma
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=7ff661d33eefed532bff3a1509f23fa26cc289a9.camel@linuxfoundation.org \
--to=richard.purdie@linuxfoundation.org \
--cc=openembedded-core@lists.openembedded.org \
--cc=quaresma.jose@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox