diff mbox series

[meta-arago,scarthgap/master,5/5] ffmpeg: Remove bbappend to disable x264

Message ID 20250117211951.698377-5-afd@ti.com
State New
Headers show
Series [meta-arago,scarthgap/master,1/5] arago.conf: Remove old and unused config flags | expand

Commit Message

Andrew Davis Jan. 17, 2025, 9:19 p.m. UTC
The x264 codec is no longer enabled by default in oe-core, remove the
extra disabling. The x264 codec is not the only codec that makes this
package license flag commercial, so removing that flag after only
disabling one codec is not correct. All potentially troublesome codecs
should be evaluated before setting LICENSE_FLAGS_ACCEPTED to approve
of the license flags.

Signed-off-by: Andrew Davis <afd@ti.com>
---
 meta-arago-distro/conf/distro/arago.conf                 | 9 ++++-----
 .../recipes-multimedia/ffmpeg/ffmpeg_%.bbappend          | 4 ----
 2 files changed, 4 insertions(+), 9 deletions(-)
 delete mode 100644 meta-arago-distro/recipes-multimedia/ffmpeg/ffmpeg_%.bbappend

Comments

Denys Dmytriyenko Jan. 20, 2025, 9:16 p.m. UTC | #1
On Fri, Jan 17, 2025 at 03:19:51PM -0600, Andrew Davis via lists.yoctoproject.org wrote:
> The x264 codec is no longer enabled by default in oe-core, remove the
> extra disabling. The x264 codec is not the only codec that makes this
> package license flag commercial, so removing that flag after only
> disabling one codec is not correct. All potentially troublesome codecs
> should be evaluated before setting LICENSE_FLAGS_ACCEPTED to approve
> of the license flags.

From what I see in the changes below, they are not limited to x264 codec, 
yet, there's no explanation for other changes in the description.


> Signed-off-by: Andrew Davis <afd@ti.com>
> ---
>  meta-arago-distro/conf/distro/arago.conf                 | 9 ++++-----
>  .../recipes-multimedia/ffmpeg/ffmpeg_%.bbappend          | 4 ----
>  2 files changed, 4 insertions(+), 9 deletions(-)
>  delete mode 100644 meta-arago-distro/recipes-multimedia/ffmpeg/ffmpeg_%.bbappend
> 
> diff --git a/meta-arago-distro/conf/distro/arago.conf b/meta-arago-distro/conf/distro/arago.conf
> index baa526a9..85c7ddd1 100644
> --- a/meta-arago-distro/conf/distro/arago.conf
> +++ b/meta-arago-distro/conf/distro/arago.conf
> @@ -164,11 +164,10 @@ require conf/distro/include/branding-${ARAGO_BRAND}.inc
>  # Disable meta-virtualization sanity check and warning
>  SKIP_META_VIRT_SANITY_CHECK = "1"
>  
> -# oe-core uses external libav instead of internal libav for gst-ffmpeg. We
> -# disable by default the codecs in libav that causes issues with shipping an
> -# Arago based SDK. No need to prevent gst-ffmpeg from being used since we
> -# disable troublesome software.
> -LICENSE_FLAGS_ACCEPTED = "commercial_gst-ffmpeg commercial_gstreamer1.0-libav commercial_faad2 non-commercial_netperf"
> +# Codecs in libav and ffmpeg with questionable patent statuses are not
> +# included by default. If you enable any of those codecs you should check
> +# if the below acceptance flags still work for your software distribution
> +LICENSE_FLAGS_ACCEPTED = "commercial_ffmpeg commercial_gstreamer1.0-libav"
>  
>  # Do not package own copy of perl into devkit, rely on host one
>  ASSUME_PROVIDED += "nativesdk-perl"
> diff --git a/meta-arago-distro/recipes-multimedia/ffmpeg/ffmpeg_%.bbappend b/meta-arago-distro/recipes-multimedia/ffmpeg/ffmpeg_%.bbappend
> deleted file mode 100644
> index d2f22d8e..00000000
> --- a/meta-arago-distro/recipes-multimedia/ffmpeg/ffmpeg_%.bbappend
> +++ /dev/null
> @@ -1,4 +0,0 @@
> -PR:append = ".arago0"
> -
> -PACKAGECONFIG:remove = "x264"
> -LICENSE_FLAGS = ""
> -- 
> 2.39.2
diff mbox series

Patch

diff --git a/meta-arago-distro/conf/distro/arago.conf b/meta-arago-distro/conf/distro/arago.conf
index baa526a9..85c7ddd1 100644
--- a/meta-arago-distro/conf/distro/arago.conf
+++ b/meta-arago-distro/conf/distro/arago.conf
@@ -164,11 +164,10 @@  require conf/distro/include/branding-${ARAGO_BRAND}.inc
 # Disable meta-virtualization sanity check and warning
 SKIP_META_VIRT_SANITY_CHECK = "1"
 
-# oe-core uses external libav instead of internal libav for gst-ffmpeg. We
-# disable by default the codecs in libav that causes issues with shipping an
-# Arago based SDK. No need to prevent gst-ffmpeg from being used since we
-# disable troublesome software.
-LICENSE_FLAGS_ACCEPTED = "commercial_gst-ffmpeg commercial_gstreamer1.0-libav commercial_faad2 non-commercial_netperf"
+# Codecs in libav and ffmpeg with questionable patent statuses are not
+# included by default. If you enable any of those codecs you should check
+# if the below acceptance flags still work for your software distribution
+LICENSE_FLAGS_ACCEPTED = "commercial_ffmpeg commercial_gstreamer1.0-libav"
 
 # Do not package own copy of perl into devkit, rely on host one
 ASSUME_PROVIDED += "nativesdk-perl"
diff --git a/meta-arago-distro/recipes-multimedia/ffmpeg/ffmpeg_%.bbappend b/meta-arago-distro/recipes-multimedia/ffmpeg/ffmpeg_%.bbappend
deleted file mode 100644
index d2f22d8e..00000000
--- a/meta-arago-distro/recipes-multimedia/ffmpeg/ffmpeg_%.bbappend
+++ /dev/null
@@ -1,4 +0,0 @@ 
-PR:append = ".arago0"
-
-PACKAGECONFIG:remove = "x264"
-LICENSE_FLAGS = ""