Skip to contentSkip to conversation

task-arago-gst: Remove gst-plugins-ugly

PATCH New Franklin S. Cooper Jr 1 participant 5 messages Nov 16, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/5 task-arago-gst: Remove gst-plugins-ugly

* Remove gst-plugins-ugly due to commercial license restrictions

---
 .../tasks/task-arago-gst-sdk-target.bb             |    3 +--
 .../recipes-core/tasks/task-arago-gst.bb           |    6 ++----
 2 files changed, 3 insertions(+), 6 deletions(-)
meta-arago-distro/recipes-core/tasks/task-arago-gst-sdk-target.bb +1 -2
index 06b7184..3a737b1 100644
@@ -1,7 +1,7 @@
 DESCRIPTION = "Task to build and install header and libs in sdk"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
-PR = "r1"
+PR = "r2"
 
 inherit task
 
@@ -10,5 +10,4 @@ RDEPENDS_${PN} = "\
     gst-plugins-base-dev \
     gst-plugins-good-dev \
     gst-plugins-bad-dev \
-    gst-plugins-ugly-dev \
 "
meta-arago-distro/recipes-core/tasks/task-arago-gst.bb +2 -4
index b1b8f0b..4ff5494 100644
@@ -1,7 +1,7 @@
 DESCRIPTION = "Task to add gstreamer and gstreamer plugins"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
-PR = "r1"
+PR = "r2"
 
 inherit task
 
@@ -10,12 +10,10 @@ GSTREAMER = " \
     gst-plugins-base \
     gst-plugins-good \
     gst-plugins-bad \
-    gst-plugins-ugly \
     gst-plugins-base-meta \
     gst-plugins-good-meta \
     gst-plugins-bad-meta \
-    gst-plugins-ugly-meta \
-    "
+"
 
 RDEPENDS_${PN} = "\
     ${GSTREAMER} \
Signature · 1 line
1.7.0.4
#1 lore raw

PATCH 2/5 libav: Disable any mp3 or mpeg2 feature

* Disable any feature based on mpeg2 or mp3

---
 .../recipes-multimedia/libav/libav_0.7.4.bbappend  |   25 ++++++++++++++++++++
 1 files changed, 25 insertions(+), 0 deletions(-)
 create mode 100644 meta-arago-distro/recipes-multimedia/libav/libav_0.7.4.bbappend
meta-arago-distro/recipes-multimedia/libav/libav_0.7.4.bbappend new file +25 -0
new file mode 100644
index 0000000..cd431bc
@@ -0,0 +1,25 @@
+PR_append = "-arago0"
+
+# Disable features that have potential commercial licensing restrictions
+EXTRA_OECONF += "\
+    --disable-encoder=libmp3lame \
+    --disable-decoder=mp3 \
+    --disable-decoder=mp3adu \
+    --disable-decoder=mp3adufloat \
+    --disable-decoder=mp3float \
+    --disable-decoder=mp3on4 \
+    --disable-decoder=mp3on4float \
+    --disable-muxer=mp3 \
+    --disable-demuxer=mp3 \
+    --disable-bsf=mp3_header_decompress \
+    --disable-bsf=mp3_header_compress   \
+                                 \
+    --disable-encoder=mpeg2video \
+    --disable-decoder=mpeg2video \
+    --disable-hwaccel=mpeg2_vaapi\
+    --disable-hwaccel=mpeg2_dxva2\
+    --disable-muxer=mpeg2dvd \
+    --disable-muxer=mpeg2svcd \
+    --disable-muxer=mpeg2video \
+    --disable-muxer=mpeg2vob \
+"
Signature · 1 line
1.7.0.4
#2 lore raw

PATCH 3/5 gst-plugins-bad: Disable any feature based on mpeg2 or mp3

In reply to Franklin S. Cooper Jr
---
 .../gstreamer/gst-plugins-bad_0.10.23.bbappend     |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
meta-arago-distro/recipes-multimedia/gstreamer/gst-plugins-bad_0.10.23.bbappend +7 -1
index 8b1e588..8ae8050 100644
@@ -1,4 +1,4 @@
-PR_append = "-arago2"
+PR_append = "-arago3"
 
 # look for files in this layer first
 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
@@ -16,3 +16,9 @@ SRC_URI += "file://0001-gstfbdevsink-Fix-depth-value-for-GST_VIDEO_CAPS_RGB_.pat
 # Add faad has a dependency to insure gst-plugins-bad-faad is built.
 DEPENDS += "faad2"
 RDEPENDS_${PN}-faad += "libfaad"
+
+# Disable features that have potential commercial licensing restrictions
+EXTRA_OECONF += "\
+    --disable-mpeg2enc \
+    --disable-acm \
+"
Signature · 1 line
1.7.0.4
#3 lore raw

PATCH 4/5 arago.conf: Remove commercial license whitelisting

In reply to Franklin S. Cooper Jr

* Remove whitelisting for recipes with a commercial licence flag due to commercial licensing restrictions.

---
 meta-arago-distro/conf/distro/arago.conf |    9 ---------
 1 files changed, 0 insertions(+), 9 deletions(-)
meta-arago-distro/conf/distro/arago.conf +0 -9
index 8674158..3e37969 100644
@@ -83,12 +83,3 @@ POLKITAUTH = ""
 
 # Enable generation of source packages for SDKs
 require arago-source-ipk.conf
-
-# Whitelist several recipes that have commercial licenses
-# Need to verify with legal that the following recipes are ok to distribute
-# with the SDK
-LICENSE_FLAGS_WHITELIST = "\
-    commercial_gst-plugins-ugly \
-    commercial_mpeg2dec \
-    commercial_lame \
-"
Signature · 1 line
1.7.0.4
#4 lore raw

PATCH 5/5 arago.conf: Enable ENTERPRISE_DISTRO flag

In reply to Franklin S. Cooper Jr

* Set ENTERPRISE_DISTRO flag to help insure features that are known to have commercial licensing issues are not turned on.

---
 meta-arago-distro/conf/distro/arago.conf |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
meta-arago-distro/conf/distro/arago.conf +5 -0
index 3e37969..e3797ab 100644
@@ -83,3 +83,8 @@ POLKITAUTH = ""
 
 # Enable generation of source packages for SDKs
 require arago-source-ipk.conf
+
+# Set ENTERPRISE_DISTRO flag to insure that recipes that have been flagged 
+# do not attempt to enable features that have potential commercial
+# licensing issues.
+ENTERPRISE_DISTRO = "1"
Signature · 1 line
1.7.0.4