Return-Path: Received: from ptmx.org (ptmx.org [178.63.28.110]) by mail.openembedded.org (Postfix) with ESMTP id 3484174F4B for ; Mon, 23 Jul 2018 07:46:17 +0000 (UTC) Received: from [172.16.1.14] (62-178-50-190.cable.dynamic.surfer.at [62.178.50.190]) by ptmx.org (Postfix) with ESMTPSA id CC43616B3 for ; Mon, 23 Jul 2018 09:46:17 +0200 (CEST) To: openembedded-core@lists.openembedded.org References: <20180721092402.20271-1-dv@pseudoterminal.org> <20180721092402.20271-3-dv@pseudoterminal.org> From: Carlos Rafael Giani Message-ID: <9bbab29b-9075-e796-a4a7-d2dd8c9bc470@pseudoterminal.org> Date: Mon, 23 Jul 2018 09:46:17 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Subject: Re: [PATCH v4 3/6] gstreamer1.0-plugin-bad: Update packageconfigs X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2018 07:46:17 -0000 Content-Type: multipart/alternative; boundary="------------D11D1EC37808D7342CA8EFA1" Content-Language: en-US --------------D11D1EC37808D7342CA8EFA1 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit I correct myself. The recipe is still there, in meta-oe. I'll keep the packageconfig. On 2018-07-23 09:45, Carlos Rafael Giani wrote: > > Right, this is a typo. I meant to remove the packageconfig though. We > already talked about this (neon being dead, the recipe having been > explicitely removed a while ago). > > Also, before I do a v5, I need an explanation for what happened with > patchwork. I suspect it was the Umlaut encoding problem. > > > On 2018-07-23 09:42, Martin Jansa wrote: >> --disable-neon is already there from neon PACKAGECONFIG you shouldn't >> add it in EXTRA_OECONF, the comment about dependency gone would also >> make more sense above PACKAGECONFIG not above EXTRA_OECONF. >> >> On Sat, Jul 21, 2018 at 11:24 AM Carlos Rafael Giani >> > wrote: >> >> * Add packageconfigs for gl, libde265, lcms2, openh264, tinyalsa, >> ttml, >>   webrtc, webrtcdsp >> * Add note about neon being dead (and --disable-neon config switch) >> * Remove unnecessary gstglconfig.h line, since that file is no longer >>   part of -bad (it is in -base now) >> * Update EXTRA_OECONF flags, since new plugins got added to -bad >> * Add ttml to the default packageconfigs since its dependencies are >>   all in oe-core >> >> Signed-off-by: Carlos Rafael Giani > > >> --- >>  .../gstreamer1.0-plugins-bad_1.14.1.bb >>       | 35 >> ++++++++++++++----- >>  1 file changed, 26 insertions(+), 9 deletions(-) >> >> diff --git >> a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.14.1.bb >> >> b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.14.1.bb >> >> index 0e477e5a9c..721df60b8d 100644 >> --- >> a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.14.1.bb >> >> +++ >> b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.14.1.bb >> >> @@ -27,9 +27,14 @@ PACKAGECONFIG ??= " \ >>      ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', >> 'bluez', '', d)} \ >>      ${@bb.utils.filter('DISTRO_FEATURES', 'directfb vulkan', d)} \ >>      ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', >> 'wayland', '', d)} \ >> -    bz2 curl dash dtls hls rsvg sbc smoothstreaming sndfile >> uvch264 webp \ >> +    ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gl', '', >> d)} \ >> +    bz2 curl dash dtls hls rsvg sbc smoothstreaming sndfile ttml >> uvch264 webp \ >>  " >> >> +# the gl packageconfig enables OpenGL elements that haven't been >> ported >> +# to -base yet. They depend on the gstgl library in -base, so we do >> +# not add GL dependencies here, since these are taken care of in >> -base. >> + >>  PACKAGECONFIG[assrender]       = >> "--enable-assrender,--disable-assrender,libass" >>  PACKAGECONFIG[bluez]           = >> "--enable-bluez,--disable-bluez,${BLUEZ}" >>  PACKAGECONFIG[bz2]             = "--enable-bz2,--disable-bz2,bzip2" >> @@ -43,13 +48,17 @@ PACKAGECONFIG[faad]            = >> "--enable-faad,--disable-faad,faad2" >>  PACKAGECONFIG[flite]           = >> "--enable-flite,--disable-flite,flite-alsa" >>  PACKAGECONFIG[fluidsynth]      = >> "--enable-fluidsynth,--disable-fluidsynth,fluidsynth" >>  PACKAGECONFIG[hls]             = "--enable-hls >> --with-hls-crypto=nettle,--disable-hls,nettle" >> +PACKAGECONFIG[gl]              = "--enable-gl,--disable-gl," >>  PACKAGECONFIG[kms]             = "--enable-kms,--disable-kms,libdrm" >> +PACKAGECONFIG[libde265]        = >> "--enable-libde265,--disable-libde265,libde265" >>  PACKAGECONFIG[libmms]          = >> "--enable-libmms,--disable-libmms,libmms" >>  PACKAGECONFIG[libssh2]         = >> "--enable-libssh2,--disable-libssh2,libssh2" >> +PACKAGECONFIG[lcms2]           = >> "--enable-lcms2,--disable-lcms2,lcms" >>  PACKAGECONFIG[modplug]         = >> "--enable-modplug,--disable-modplug,libmodplug" >>  PACKAGECONFIG[neon]            = "--enable-neon,--disable-neon,neon" >>  PACKAGECONFIG[openal]          = >> "--enable-openal,--disable-openal,openal-soft" >>  PACKAGECONFIG[opencv]          = >> "--enable-opencv,--disable-opencv,opencv" >> +PACKAGECONFIG[openh264]        = >> "--enable-openh264,--disable-openh264,openh264" >>  PACKAGECONFIG[openjpeg]        = >> "--enable-openjpeg,--disable-openjpeg,openjpeg" >>  # the opus encoder/decoder elements are now in the -base package, >>  # but the opus parser remains in -bad >> @@ -61,28 +70,38 @@ PACKAGECONFIG[sbc]             = >> "--enable-sbc,--disable-sbc,sbc" >>  PACKAGECONFIG[smoothstreaming] = >> "--enable-smoothstreaming,--disable-smoothstreaming,libxml2" >>  PACKAGECONFIG[sndfile]         = >> "--enable-sndfile,--disable-sndfile,libsndfile1" >>  PACKAGECONFIG[srtp]            = >> "--enable-srtp,--disable-srtp,libsrtp" >> +PACKAGECONFIG[tinyalsa]        = >> "--enable-tinyalsa,--disable-tinyalsa,tinyalsa" >> +PACKAGECONFIG[ttml]            = >> "--enable-ttml,--disable-ttml,libxml2 pango cairo" >>  PACKAGECONFIG[uvch264]         = >> "--enable-uvch264,--disable-uvch264,libusb1 libgudev" >>  PACKAGECONFIG[voaacenc]        = >> "--enable-voaacenc,--disable-voaacenc,vo-aacenc" >>  PACKAGECONFIG[voamrwbenc]      = >> "--enable-voamrwbenc,--disable-voamrwbenc,vo-amrwbenc" >>  PACKAGECONFIG[vulkan]          = >> "--enable-vulkan,--disable-vulkan,vulkan" >>  PACKAGECONFIG[wayland]         = >> "--enable-wayland,--disable-wayland,wayland-native wayland >> wayland-protocols libdrm" >>  PACKAGECONFIG[webp]            = >> "--enable-webp,--disable-webp,libwebp" >> +PACKAGECONFIG[webrtc]          = >> "--enable-webrtc,--disable-webrtc,libnice" >> +PACKAGECONFIG[webrtcdsp]       = >> "--enable-webrtcdsp,--disable-webrtcdsp,webrtc-audio-processing" >> >>  # these plugins have no corresponding library in OE-core or >> meta-openembedded: >>  #   openni2 winks direct3d directsound winscreencap acm >> apple_media iqa >> -#   android_media avc bs2b chromaprint daala dts fdkaac gme gsm >> kate ladspa libde265 >> -#   lv2 mpeg2enc mplex msdk musepack nvenc ofa openh264 opensles >> soundtouch spandsp >> -#   spc teletextdec tinyalsa vdpau wasapi x265 zbar webrtcdsp >> +#   android_media avc bs2b chromaprint daala dts fdkaac gme gsm >> kate ladspa >> +#   lv2 mpeg2enc mplex msdk musepack nvenc ofa openmpt opensles >> soundtouch >> +#   spandsp spc teletextdec vdpau wasapi x265 zbar >> + >> +# these plugins have been removed from oe-core because their >> upstream dependencies >> +# are no longer maintained or available: >> +#   neon >> >>  EXTRA_OECONF += " \ >>      --enable-decklink \ >>      --enable-dvb \ >>      --enable-fbdev \ >> +    --enable-ipcpipeline \ >>      --enable-netsim \ >>      --enable-shm \ >>      --enable-vcd \ >>      --disable-acm \ >>      --disable-android_media \ >> +    --disable-aom \ >>      --disable-apple_media \ >>      --disable-avc \ >>      --disable-bs2b \ >> @@ -97,26 +116,25 @@ EXTRA_OECONF += " \ >>      --disable-iqa \ >>      --disable-kate \ >>      --disable-ladspa \ >> -    --disable-libde265 \ >>      --disable-lv2 \ >>      --disable-mpeg2enc \ >>      --disable-mplex \ >>      --disable-msdk \ >>      --disable-musepack \ >> +    --disable-neon \ >>      --disable-nvenc \ >>      --disable-ofa \ >>      --disable-openexr \ >> -    --disable-openh264 \ >> +    --disable-openmpt \ >>      --disable-openni2 \ >>      --disable-opensles \ >>      --disable-soundtouch \ >>      --disable-spandsp \ >>      --disable-spc \ >> +    --disable-srt \ >>      --disable-teletextdec \ >> -    --disable-tinyalsa \ >>      --disable-vdpau \ >>      --disable-wasapi \ >> -    --disable-webrtcdsp \ >>      --disable-wildmidi \ >>      --disable-winks \ >>      --disable-winscreencap \ >> @@ -130,7 +148,6 @@ export OPENCV_PREFIX = >> "${STAGING_DIR_TARGET}${prefix}" >>  ARM_INSTRUCTION_SET_armv4 = "arm" >>  ARM_INSTRUCTION_SET_armv5 = "arm" >> >> -FILES_${PN}-dev += >> "${libdir}/gstreamer-${LIBV}/include/gst/gl/gstglconfig.h" >>  FILES_${PN}-freeverb += >> "${datadir}/gstreamer-${LIBV}/presets/GstFreeverb.prs" >>  FILES_${PN}-opencv += "${datadir}/gst-plugins-bad/${LIBV}/opencv*" >>  FILES_${PN}-voamrwbenc += >> "${datadir}/gstreamer-${LIBV}/presets/GstVoAmrwbEnc.prs" >> -- >> 2.17.1 >> >> -- >> _______________________________________________ >> Openembedded-core mailing list >> Openembedded-core@lists.openembedded.org >> >> http://lists.openembedded.org/mailman/listinfo/openembedded-core >> > > > --------------D11D1EC37808D7342CA8EFA1 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit

I correct myself. The recipe is still there, in meta-oe. I'll keep the packageconfig.


On 2018-07-23 09:45, Carlos Rafael Giani wrote:

Right, this is a typo. I meant to remove the packageconfig though. We already talked about this (neon being dead, the recipe having been explicitely removed a while ago).

Also, before I do a v5, I need an explanation for what happened with patchwork. I suspect it was the Umlaut encoding problem.


On 2018-07-23 09:42, Martin Jansa wrote:
--disable-neon is already there from neon PACKAGECONFIG you shouldn't add it in EXTRA_OECONF, the comment about dependency gone would also make more sense above PACKAGECONFIG not above EXTRA_OECONF.

On Sat, Jul 21, 2018 at 11:24 AM Carlos Rafael Giani <dv@pseudoterminal.org> wrote:
* Add packageconfigs for gl, libde265, lcms2, openh264, tinyalsa, ttml,
  webrtc, webrtcdsp
* Add note about neon being dead (and --disable-neon config switch)
* Remove unnecessary gstglconfig.h line, since that file is no longer
  part of -bad (it is in -base now)
* Update EXTRA_OECONF flags, since new plugins got added to -bad
* Add ttml to the default packageconfigs since its dependencies are
  all in oe-core

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
---
 .../gstreamer1.0-plugins-bad_1.14.1.bb        | 35 ++++++++++++++-----
 1 file changed, 26 insertions(+), 9 deletions(-)

diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.14.1.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.14.1.bb
index 0e477e5a9c..721df60b8d 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.14.1.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.14.1.bb
@@ -27,9 +27,14 @@ PACKAGECONFIG ??= " \
     ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez', '', d)} \
     ${@bb.utils.filter('DISTRO_FEATURES', 'directfb vulkan', d)} \
     ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', '', d)} \
-    bz2 curl dash dtls hls rsvg sbc smoothstreaming sndfile uvch264 webp \
+    ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gl', '', d)} \
+    bz2 curl dash dtls hls rsvg sbc smoothstreaming sndfile ttml uvch264 webp \
 "

+# the gl packageconfig enables OpenGL elements that haven't been ported
+# to -base yet. They depend on the gstgl library in -base, so we do
+# not add GL dependencies here, since these are taken care of in -base.
+
 PACKAGECONFIG[assrender]       = "--enable-assrender,--disable-assrender,libass"
 PACKAGECONFIG[bluez]           = "--enable-bluez,--disable-bluez,${BLUEZ}"
 PACKAGECONFIG[bz2]             = "--enable-bz2,--disable-bz2,bzip2"
@@ -43,13 +48,17 @@ PACKAGECONFIG[faad]            = "--enable-faad,--disable-faad,faad2"
 PACKAGECONFIG[flite]           = "--enable-flite,--disable-flite,flite-alsa"
 PACKAGECONFIG[fluidsynth]      = "--enable-fluidsynth,--disable-fluidsynth,fluidsynth"
 PACKAGECONFIG[hls]             = "--enable-hls --with-hls-crypto=nettle,--disable-hls,nettle"
+PACKAGECONFIG[gl]              = "--enable-gl,--disable-gl,"
 PACKAGECONFIG[kms]             = "--enable-kms,--disable-kms,libdrm"
+PACKAGECONFIG[libde265]        = "--enable-libde265,--disable-libde265,libde265"
 PACKAGECONFIG[libmms]          = "--enable-libmms,--disable-libmms,libmms"
 PACKAGECONFIG[libssh2]         = "--enable-libssh2,--disable-libssh2,libssh2"
+PACKAGECONFIG[lcms2]           = "--enable-lcms2,--disable-lcms2,lcms"
 PACKAGECONFIG[modplug]         = "--enable-modplug,--disable-modplug,libmodplug"
 PACKAGECONFIG[neon]            = "--enable-neon,--disable-neon,neon"
 PACKAGECONFIG[openal]          = "--enable-openal,--disable-openal,openal-soft"
 PACKAGECONFIG[opencv]          = "--enable-opencv,--disable-opencv,opencv"
+PACKAGECONFIG[openh264]        = "--enable-openh264,--disable-openh264,openh264"
 PACKAGECONFIG[openjpeg]        = "--enable-openjpeg,--disable-openjpeg,openjpeg"
 # the opus encoder/decoder elements are now in the -base package,
 # but the opus parser remains in -bad
@@ -61,28 +70,38 @@ PACKAGECONFIG[sbc]             = "--enable-sbc,--disable-sbc,sbc"
 PACKAGECONFIG[smoothstreaming] = "--enable-smoothstreaming,--disable-smoothstreaming,libxml2"
 PACKAGECONFIG[sndfile]         = "--enable-sndfile,--disable-sndfile,libsndfile1"
 PACKAGECONFIG[srtp]            = "--enable-srtp,--disable-srtp,libsrtp"
+PACKAGECONFIG[tinyalsa]        = "--enable-tinyalsa,--disable-tinyalsa,tinyalsa"
+PACKAGECONFIG[ttml]            = "--enable-ttml,--disable-ttml,libxml2 pango cairo"
 PACKAGECONFIG[uvch264]         = "--enable-uvch264,--disable-uvch264,libusb1 libgudev"
 PACKAGECONFIG[voaacenc]        = "--enable-voaacenc,--disable-voaacenc,vo-aacenc"
 PACKAGECONFIG[voamrwbenc]      = "--enable-voamrwbenc,--disable-voamrwbenc,vo-amrwbenc"
 PACKAGECONFIG[vulkan]          = "--enable-vulkan,--disable-vulkan,vulkan"
 PACKAGECONFIG[wayland]         = "--enable-wayland,--disable-wayland,wayland-native wayland wayland-protocols libdrm"
 PACKAGECONFIG[webp]            = "--enable-webp,--disable-webp,libwebp"
+PACKAGECONFIG[webrtc]          = "--enable-webrtc,--disable-webrtc,libnice"
+PACKAGECONFIG[webrtcdsp]       = "--enable-webrtcdsp,--disable-webrtcdsp,webrtc-audio-processing"

 # these plugins have no corresponding library in OE-core or meta-openembedded:
 #   openni2 winks direct3d directsound winscreencap acm apple_media iqa
-#   android_media avc bs2b chromaprint daala dts fdkaac gme gsm kate ladspa libde265
-#   lv2 mpeg2enc mplex msdk musepack nvenc ofa openh264 opensles soundtouch spandsp
-#   spc teletextdec tinyalsa vdpau wasapi x265 zbar webrtcdsp
+#   android_media avc bs2b chromaprint daala dts fdkaac gme gsm kate ladspa
+#   lv2 mpeg2enc mplex msdk musepack nvenc ofa openmpt opensles soundtouch
+#   spandsp spc teletextdec vdpau wasapi x265 zbar
+
+# these plugins have been removed from oe-core because their upstream dependencies
+# are no longer maintained or available:
+#   neon

 EXTRA_OECONF += " \
     --enable-decklink \
     --enable-dvb \
     --enable-fbdev \
+    --enable-ipcpipeline \
     --enable-netsim \
     --enable-shm \
     --enable-vcd \
     --disable-acm \
     --disable-android_media \
+    --disable-aom \
     --disable-apple_media \
     --disable-avc \
     --disable-bs2b \
@@ -97,26 +116,25 @@ EXTRA_OECONF += " \
     --disable-iqa \
     --disable-kate \
     --disable-ladspa \
-    --disable-libde265 \
     --disable-lv2 \
     --disable-mpeg2enc \
     --disable-mplex \
     --disable-msdk \
     --disable-musepack \
+    --disable-neon \
     --disable-nvenc \
     --disable-ofa \
     --disable-openexr \
-    --disable-openh264 \
+    --disable-openmpt \
     --disable-openni2 \
     --disable-opensles \
     --disable-soundtouch \
     --disable-spandsp \
     --disable-spc \
+    --disable-srt \
     --disable-teletextdec \
-    --disable-tinyalsa \
     --disable-vdpau \
     --disable-wasapi \
-    --disable-webrtcdsp \
     --disable-wildmidi \
     --disable-winks \
     --disable-winscreencap \
@@ -130,7 +148,6 @@ export OPENCV_PREFIX = "${STAGING_DIR_TARGET}${prefix}"
 ARM_INSTRUCTION_SET_armv4 = "arm"
 ARM_INSTRUCTION_SET_armv5 = "arm"

-FILES_${PN}-dev += "${libdir}/gstreamer-${LIBV}/include/gst/gl/gstglconfig.h"
 FILES_${PN}-freeverb += "${datadir}/gstreamer-${LIBV}/presets/GstFreeverb.prs"
 FILES_${PN}-opencv += "${datadir}/gst-plugins-bad/${LIBV}/opencv*"
 FILES_${PN}-voamrwbenc += "${datadir}/gstreamer-${LIBV}/presets/GstVoAmrwbEnc.prs"
--
2.17.1

--
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core




--------------D11D1EC37808D7342CA8EFA1--