Re: [OE-core] [master][kirkstone][PATCH] gstreamer1.0-plugins-good: Fix libsoup dependency

2022-04-25 Thread Carlos Rafael Giani via lists.openembedded.org
According to https://gstreamer.freedesktop.org/releases/1.20/ , libsoup 
3 support isn't stable:


> Runtime compatibility support for libsoup2 and libsoup3 (libsoup3 
support experimental)


So I wouldn't add it just yet.


On 25.04.22 17:39, Khem Raj wrote:



On 4/25/22 8:01 AM, Carlos Rafael Giani via lists.openembedded.org wrote:

Signed-off-by: Carlos Rafael Giani 
---
  .../gstreamer/gstreamer1.0-plugins-good_1.20.1.bb  | 7 ++-
  1 file changed, 6 insertions(+), 1 deletion(-)

diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.20.1.bb 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.20.1.bb

index 08ff5a0bb5..1f61d9a10e 100644
--- 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.20.1.bb
+++ 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.20.1.bb
@@ -49,7 +49,12 @@ PACKAGECONFIG[libv4l2]    = 
"-Dv4l2-libv4l2=enabled,-Dv4l2-libv4l2=disabled,v4l-
  PACKAGECONFIG[mpg123] = 
"-Dmpg123=enabled,-Dmpg123=disabled,mpg123"
  PACKAGECONFIG[pulseaudio] = 
"-Dpulse=enabled,-Dpulse=disabled,pulseaudio"
  PACKAGECONFIG[qt5]    = "-Dqt5=enabled,-Dqt5=disabled,qtbase 
qtdeclarative qtbase-native ${QT5WAYLANDDEPENDS}"
-PACKAGECONFIG[soup]   = 
"-Dsoup=enabled,-Dsoup=disabled,libsoup-2.4"
+# Starting with version 1.20, the GStreamer soup plugin loads 
libsoup with dlopen()
+# instead of linking to it. And instead of using the default libsoup 
C headers, it
+# uses its own stub header. Consequently, objdump will not show the 
libsoup .so as
+# a dependency, and libsoup won't be added to an image. Fix this by 
setting libsoup

+# as RDEPEND instead of DEPEND.
+PACKAGECONFIG[soup]   = 
"-Dsoup=enabled,-Dsoup=disabled,,libsoup-2.4"


We have soup3 as well. I wonder if that should also be an option ?


  PACKAGECONFIG[speex]  = "-Dspeex=enabled,-Dspeex=disabled,speex"
  PACKAGECONFIG[rpi]    = 
"-Drpicamsrc=enabled,-Drpicamsrc=disabled,userland"
  PACKAGECONFIG[taglib] = 
"-Dtaglib=enabled,-Dtaglib=disabled,taglib"







-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#164834): 
https://lists.openembedded.org/g/openembedded-core/message/164834
Mute This Topic: https://lists.openembedded.org/mt/90686912/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [master][kirkstone][PATCH] gstreamer1.0: Minor documentation addition

2022-04-25 Thread Carlos Rafael Giani via lists.openembedded.org
This clears up some confusing packageconfigs.

Signed-off-by: Carlos Rafael Giani 
---
 .../gstreamer/gstreamer1.0-plugins-bad_1.20.1.bb| 2 ++
 .../gstreamer/gstreamer1.0-plugins-base_1.20.1.bb   | 2 ++
 2 files changed, 4 insertions(+)

diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.20.1.bb 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.20.1.bb
index 78e8f35025..f139281149 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.20.1.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.20.1.bb
@@ -83,6 +83,8 @@ PACKAGECONFIG[srtp]= 
"-Dsrtp=enabled,-Dsrtp=disabled,libsrtp"
 PACKAGECONFIG[tinyalsa]= 
"-Dtinyalsa=enabled,-Dtinyalsa=disabled,tinyalsa"
 PACKAGECONFIG[ttml]= "-Dttml=enabled,-Dttml=disabled,libxml2 pango 
cairo"
 PACKAGECONFIG[uvch264] = "-Duvch264=enabled,-Duvch264=disabled,libusb1 
libgudev"
+# this enables support for stateless V4L2 mem2mem codecs, which is a newer 
form of
+# V4L2 codec; the V4L2 code in -base supports the older stateful V4L2 mem2mem 
codecs
 PACKAGECONFIG[v4l2codecs]  = 
"-Dv4l2codecs=enabled,-Dv4l2codecs=disabled,libgudev"
 PACKAGECONFIG[va]  = "-Dva=enabled,-Dva=disabled,libva"
 PACKAGECONFIG[voaacenc]= 
"-Dvoaacenc=enabled,-Dvoaacenc=disabled,vo-aacenc"
diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.20.1.bb 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.20.1.bb
index 9b9be0d326..0953261a98 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.20.1.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.20.1.bb
@@ -46,6 +46,8 @@ PACKAGECONFIG[ogg]  = 
"-Dogg=enabled,-Dogg=disabled,libogg"
 PACKAGECONFIG[opus] = "-Dopus=enabled,-Dopus=disabled,libopus"
 PACKAGECONFIG[pango]= "-Dpango=enabled,-Dpango=disabled,pango"
 PACKAGECONFIG[png]  = "-Dgl-png=enabled,-Dgl-png=disabled,libpng"
+# This enables Qt5 QML examples in -base. The Qt5 GStreamer
+# qmlglsink and qmlglsrc plugins still exist in -good.
 PACKAGECONFIG[qt5]  = "-Dqt5=enabled,-Dqt5=disabled,qtbase 
qtdeclarative qtbase-native"
 PACKAGECONFIG[theora]   = "-Dtheora=enabled,-Dtheora=disabled,libtheora"
 PACKAGECONFIG[tremor]   = "-Dtremor=enabled,-Dtremor=disabled,tremor"
-- 
2.32.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#164826): 
https://lists.openembedded.org/g/openembedded-core/message/164826
Mute This Topic: https://lists.openembedded.org/mt/90686913/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [master][kirkstone][PATCH] gstreamer1.0-plugins-good: Fix libsoup dependency

2022-04-25 Thread Carlos Rafael Giani via lists.openembedded.org
Signed-off-by: Carlos Rafael Giani 
---
 .../gstreamer/gstreamer1.0-plugins-good_1.20.1.bb  | 7 ++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.20.1.bb 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.20.1.bb
index 08ff5a0bb5..1f61d9a10e 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.20.1.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.20.1.bb
@@ -49,7 +49,12 @@ PACKAGECONFIG[libv4l2]= 
"-Dv4l2-libv4l2=enabled,-Dv4l2-libv4l2=disabled,v4l-
 PACKAGECONFIG[mpg123] = "-Dmpg123=enabled,-Dmpg123=disabled,mpg123"
 PACKAGECONFIG[pulseaudio] = "-Dpulse=enabled,-Dpulse=disabled,pulseaudio"
 PACKAGECONFIG[qt5]= "-Dqt5=enabled,-Dqt5=disabled,qtbase qtdeclarative 
qtbase-native ${QT5WAYLANDDEPENDS}"
-PACKAGECONFIG[soup]   = "-Dsoup=enabled,-Dsoup=disabled,libsoup-2.4"
+# Starting with version 1.20, the GStreamer soup plugin loads libsoup with 
dlopen()
+# instead of linking to it. And instead of using the default libsoup C 
headers, it
+# uses its own stub header. Consequently, objdump will not show the libsoup 
.so as
+# a dependency, and libsoup won't be added to an image. Fix this by setting 
libsoup
+# as RDEPEND instead of DEPEND.
+PACKAGECONFIG[soup]   = "-Dsoup=enabled,-Dsoup=disabled,,libsoup-2.4"
 PACKAGECONFIG[speex]  = "-Dspeex=enabled,-Dspeex=disabled,speex"
 PACKAGECONFIG[rpi]= "-Drpicamsrc=enabled,-Drpicamsrc=disabled,userland"
 PACKAGECONFIG[taglib] = "-Dtaglib=enabled,-Dtaglib=disabled,taglib"
-- 
2.32.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#164825): 
https://lists.openembedded.org/g/openembedded-core/message/164825
Mute This Topic: https://lists.openembedded.org/mt/90686912/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH] libsdl2: Disable libunwind dependency in native builds

2022-03-31 Thread Carlos Rafael Giani via lists.openembedded.org
I can only report my own host setup, which is Ubuntu 21.10 x86-64. 
libsdl2-native fails to build 100% of the time on this host.


On 29.03.22 22:35, Alexander Kanavin wrote:

Is this specific to some particular host setup? If so, it needs to be
said in the commit message, so we know when it is safe to drop this
patch.

Alex

On Tue, 29 Mar 2022 at 09:52, Carlos Rafael Giani via
lists.openembedded.org
wrote:

libunwind-native currently cannot be added to the class-native DEPENDS
due to the following problem:

https://autobuilder.yoctoproject.org/typhoon/#/builders/91/builds/5624/steps/12/logs/stdio

And without libunwind-native, libsdl2-native config fails errors like:

| -- Checking for one of the modules 'libunwind'
| CMake Error at 
[...]/build/tmp/work/x86_64-linux/libsdl2-native/2.0.20-r0/recipe-sysroot-native/usr/share/cmake-3.22/Modules/FindPkgConfig.cmake:890
 (message):
|   None of the required 'libunwind' found
| Call Stack (most recent call first):
|   CMakeLists.txt:1367 (pkg_search_module)

Ideally, the libunwind issue would be fixed, and then this could be added
to the libsdl2 recipe:

DEPENDS:append:class-native = " libunwind-native"

However, the libunwind problem is not trivial to fix, and requires a
specific setup to reproduce. As an alternative workaround, turn off
libunwind support in the native SDL2 build by disabling the unwind.h
check in the CMake script (this subsequently turns off all the other
libunwind checks). The main user of libsdl2-native is qemu-native, which
does not need libunwind support in SDL2.

Signed-off-by: Carlos Rafael Giani
---
  ...d-in-native-OE-builds-by-not-looking.patch | 38 +++
  .../libsdl2/libsdl2_2.0.20.bb |  1 +
  2 files changed, 39 insertions(+)
  create mode 100644 
meta/recipes-graphics/libsdl2/libsdl2/0001-Disable-libunwind-in-native-OE-builds-by-not-looking.patch

diff --git 
a/meta/recipes-graphics/libsdl2/libsdl2/0001-Disable-libunwind-in-native-OE-builds-by-not-looking.patch
 
b/meta/recipes-graphics/libsdl2/libsdl2/0001-Disable-libunwind-in-native-OE-builds-by-not-looking.patch
new file mode 100644
index 00..214664f621
--- /dev/null
+++ 
b/meta/recipes-graphics/libsdl2/libsdl2/0001-Disable-libunwind-in-native-OE-builds-by-not-looking.patch
@@ -0,0 +1,38 @@
+From 50c691e83f81b235bb96ef996dd4568ffaae256f Mon Sep 17 00:00:00 2001
+From: Carlos Rafael Giani
+Date: Fri, 18 Mar 2022 12:06:23 +0100
+Subject: [PATCH] Disable libunwind in native OE builds by not looking for
+ libunwind
+
+This is a workaround for this build error:
+
+| -- Checking for one of the modules 'libunwind'
+| CMake Error at 
[...]/build/tmp/work/x86_64-linux/libsdl2-native/2.0.20-r0/recipe-sysroot-native/usr/share/cmake-3.22/Modules/FindPkgConfig.cmake:890
 (message):
+|   None of the required 'libunwind' found
+| Call Stack (most recent call first):
+|   CMakeLists.txt:1367 (pkg_search_module)
+
+By not looking for the libunwind header, the rest of the libunwind
+specific bits in the CMake build script are disabled.
+
+Upstream-Status: Inappropriate [OE specific]
+---
+ CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 64f9fbf..12a4d8f 100644
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -862,7 +862,7 @@ if(SDL_LIBC)
+ check_include_file(sys/types.h HAVE_SYS_TYPES_H)
+ foreach(_HEADER
+ stdio.h stdlib.h stddef.h stdarg.h malloc.h memory.h string.h 
limits.h float.h
+-strings.h wchar.h inttypes.h stdint.h ctype.h math.h iconv.h 
signal.h libunwind.h)
++strings.h wchar.h inttypes.h stdint.h ctype.h math.h iconv.h 
signal.h)
+   string(TOUPPER "HAVE_${_HEADER}" _UPPER)
+   string(REPLACE "." "_" _HAVE_H ${_UPPER})
+   check_include_file("${_HEADER}" ${_HAVE_H})
+--
+2.32.0
+
diff --git a/meta/recipes-graphics/libsdl2/libsdl2_2.0.20.bb 
b/meta/recipes-graphics/libsdl2/libsdl2_2.0.20.bb
index 58bc94cc86..4ba22c1fe6 100644
--- a/meta/recipes-graphics/libsdl2/libsdl2_2.0.20.bb
+++ b/meta/recipes-graphics/libsdl2/libsdl2_2.0.20.bb
@@ -20,6 +20,7 @@ SRC_URI ="http://www.libsdl.org/release/SDL2-${PV}.tar.gz \ 
file://optional-libunwind-generic.patch \ 
file://0001-sdlchecks.cmake-pass-cflags-to-the-appropriate-cmake.patch 
\ "

+SRC_URI:append:class-native =" 
file://0001-Disable-libunwind-in-native-OE-builds-by-not-looking.patch"

  S = "${WORKDIR}/SDL2-${PV}"

--
2.32.0





-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#163806): 
https://lists.openembedded.org/g/openembedded-core/message/163806
Mute This Topic: https://lists.openembedded.org/mt/90103750/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH] libsdl2: Disable libunwind dependency in native builds

2022-03-29 Thread Carlos Rafael Giani via lists.openembedded.org
I wish to emphasize that this is meant as a plan B in case the libunwind 
problem cannot be fixed in time for the Kirkstone release. Plan A would 
be a fixed libunwind.



On 29.03.22 09:51, Carlos Rafael Giani via lists.openembedded.org wrote:

libunwind-native currently cannot be added to the class-native DEPENDS
due to the following problem:

https://autobuilder.yoctoproject.org/typhoon/#/builders/91/builds/5624/steps/12/logs/stdio

And without libunwind-native, libsdl2-native config fails errors like:

| -- Checking for one of the modules 'libunwind'
| CMake Error at 
[...]/build/tmp/work/x86_64-linux/libsdl2-native/2.0.20-r0/recipe-sysroot-native/usr/share/cmake-3.22/Modules/FindPkgConfig.cmake:890
 (message):
|   None of the required 'libunwind' found
| Call Stack (most recent call first):
|   CMakeLists.txt:1367 (pkg_search_module)

Ideally, the libunwind issue would be fixed, and then this could be added
to the libsdl2 recipe:

DEPENDS:append:class-native = " libunwind-native"

However, the libunwind problem is not trivial to fix, and requires a
specific setup to reproduce. As an alternative workaround, turn off
libunwind support in the native SDL2 build by disabling the unwind.h
check in the CMake script (this subsequently turns off all the other
libunwind checks). The main user of libsdl2-native is qemu-native, which
does not need libunwind support in SDL2.

Signed-off-by: Carlos Rafael Giani
---
  ...d-in-native-OE-builds-by-not-looking.patch | 38 +++
  .../libsdl2/libsdl2_2.0.20.bb |  1 +
  2 files changed, 39 insertions(+)
  create mode 100644 
meta/recipes-graphics/libsdl2/libsdl2/0001-Disable-libunwind-in-native-OE-builds-by-not-looking.patch

diff --git 
a/meta/recipes-graphics/libsdl2/libsdl2/0001-Disable-libunwind-in-native-OE-builds-by-not-looking.patch
 
b/meta/recipes-graphics/libsdl2/libsdl2/0001-Disable-libunwind-in-native-OE-builds-by-not-looking.patch
new file mode 100644
index 00..214664f621
--- /dev/null
+++ 
b/meta/recipes-graphics/libsdl2/libsdl2/0001-Disable-libunwind-in-native-OE-builds-by-not-looking.patch
@@ -0,0 +1,38 @@
+From 50c691e83f81b235bb96ef996dd4568ffaae256f Mon Sep 17 00:00:00 2001
+From: Carlos Rafael Giani
+Date: Fri, 18 Mar 2022 12:06:23 +0100
+Subject: [PATCH] Disable libunwind in native OE builds by not looking for
+ libunwind
+
+This is a workaround for this build error:
+
+| -- Checking for one of the modules 'libunwind'
+| CMake Error at 
[...]/build/tmp/work/x86_64-linux/libsdl2-native/2.0.20-r0/recipe-sysroot-native/usr/share/cmake-3.22/Modules/FindPkgConfig.cmake:890
 (message):
+|   None of the required 'libunwind' found
+| Call Stack (most recent call first):
+|   CMakeLists.txt:1367 (pkg_search_module)
+
+By not looking for the libunwind header, the rest of the libunwind
+specific bits in the CMake build script are disabled.
+
+Upstream-Status: Inappropriate [OE specific]
+---
+ CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 64f9fbf..12a4d8f 100644
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -862,7 +862,7 @@ if(SDL_LIBC)
+ check_include_file(sys/types.h HAVE_SYS_TYPES_H)
+ foreach(_HEADER
+ stdio.h stdlib.h stddef.h stdarg.h malloc.h memory.h string.h 
limits.h float.h
+-strings.h wchar.h inttypes.h stdint.h ctype.h math.h iconv.h 
signal.h libunwind.h)
++strings.h wchar.h inttypes.h stdint.h ctype.h math.h iconv.h 
signal.h)
+   string(TOUPPER "HAVE_${_HEADER}" _UPPER)
+   string(REPLACE "." "_" _HAVE_H ${_UPPER})
+   check_include_file("${_HEADER}" ${_HAVE_H})
+--
+2.32.0
+
diff --git a/meta/recipes-graphics/libsdl2/libsdl2_2.0.20.bb 
b/meta/recipes-graphics/libsdl2/libsdl2_2.0.20.bb
index 58bc94cc86..4ba22c1fe6 100644
--- a/meta/recipes-graphics/libsdl2/libsdl2_2.0.20.bb
+++ b/meta/recipes-graphics/libsdl2/libsdl2_2.0.20.bb
@@ -20,6 +20,7 @@ SRC_URI ="http://www.libsdl.org/release/SDL2-${PV}.tar.gz \ 
file://optional-libunwind-generic.patch \ 
file://0001-sdlchecks.cmake-pass-cflags-to-the-appropriate-cmake.patch \ "

+SRC_URI:append:class-native =" 
file://0001-Disable-libunwind-in-native-OE-builds-by-not-looking.patch"
  
  S = "${WORKDIR}/SDL2-${PV}"
  





-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#163740): 
https://lists.openembedded.org/g/openembedded-core/message/163740
Mute This Topic: https://lists.openembedded.org/mt/90103750/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH] libsdl2: Disable libunwind dependency in native builds

2022-03-29 Thread Carlos Rafael Giani via lists.openembedded.org
libunwind-native currently cannot be added to the class-native DEPENDS
due to the following problem:

https://autobuilder.yoctoproject.org/typhoon/#/builders/91/builds/5624/steps/12/logs/stdio

And without libunwind-native, libsdl2-native config fails errors like:

| -- Checking for one of the modules 'libunwind'
| CMake Error at 
[...]/build/tmp/work/x86_64-linux/libsdl2-native/2.0.20-r0/recipe-sysroot-native/usr/share/cmake-3.22/Modules/FindPkgConfig.cmake:890
 (message):
|   None of the required 'libunwind' found
| Call Stack (most recent call first):
|   CMakeLists.txt:1367 (pkg_search_module)

Ideally, the libunwind issue would be fixed, and then this could be added
to the libsdl2 recipe:

DEPENDS:append:class-native = " libunwind-native"

However, the libunwind problem is not trivial to fix, and requires a
specific setup to reproduce. As an alternative workaround, turn off
libunwind support in the native SDL2 build by disabling the unwind.h
check in the CMake script (this subsequently turns off all the other
libunwind checks). The main user of libsdl2-native is qemu-native, which
does not need libunwind support in SDL2.

Signed-off-by: Carlos Rafael Giani 
---
 ...d-in-native-OE-builds-by-not-looking.patch | 38 +++
 .../libsdl2/libsdl2_2.0.20.bb |  1 +
 2 files changed, 39 insertions(+)
 create mode 100644 
meta/recipes-graphics/libsdl2/libsdl2/0001-Disable-libunwind-in-native-OE-builds-by-not-looking.patch

diff --git 
a/meta/recipes-graphics/libsdl2/libsdl2/0001-Disable-libunwind-in-native-OE-builds-by-not-looking.patch
 
b/meta/recipes-graphics/libsdl2/libsdl2/0001-Disable-libunwind-in-native-OE-builds-by-not-looking.patch
new file mode 100644
index 00..214664f621
--- /dev/null
+++ 
b/meta/recipes-graphics/libsdl2/libsdl2/0001-Disable-libunwind-in-native-OE-builds-by-not-looking.patch
@@ -0,0 +1,38 @@
+From 50c691e83f81b235bb96ef996dd4568ffaae256f Mon Sep 17 00:00:00 2001
+From: Carlos Rafael Giani 
+Date: Fri, 18 Mar 2022 12:06:23 +0100
+Subject: [PATCH] Disable libunwind in native OE builds by not looking for
+ libunwind
+
+This is a workaround for this build error:
+
+| -- Checking for one of the modules 'libunwind'
+| CMake Error at 
[...]/build/tmp/work/x86_64-linux/libsdl2-native/2.0.20-r0/recipe-sysroot-native/usr/share/cmake-3.22/Modules/FindPkgConfig.cmake:890
 (message):
+|   None of the required 'libunwind' found
+| Call Stack (most recent call first):
+|   CMakeLists.txt:1367 (pkg_search_module)
+
+By not looking for the libunwind header, the rest of the libunwind
+specific bits in the CMake build script are disabled.
+
+Upstream-Status: Inappropriate [OE specific]
+---
+ CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 64f9fbf..12a4d8f 100644
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -862,7 +862,7 @@ if(SDL_LIBC)
+ check_include_file(sys/types.h HAVE_SYS_TYPES_H)
+ foreach(_HEADER
+ stdio.h stdlib.h stddef.h stdarg.h malloc.h memory.h string.h 
limits.h float.h
+-strings.h wchar.h inttypes.h stdint.h ctype.h math.h iconv.h 
signal.h libunwind.h)
++strings.h wchar.h inttypes.h stdint.h ctype.h math.h iconv.h 
signal.h)
+   string(TOUPPER "HAVE_${_HEADER}" _UPPER)
+   string(REPLACE "." "_" _HAVE_H ${_UPPER})
+   check_include_file("${_HEADER}" ${_HAVE_H})
+-- 
+2.32.0
+
diff --git a/meta/recipes-graphics/libsdl2/libsdl2_2.0.20.bb 
b/meta/recipes-graphics/libsdl2/libsdl2_2.0.20.bb
index 58bc94cc86..4ba22c1fe6 100644
--- a/meta/recipes-graphics/libsdl2/libsdl2_2.0.20.bb
+++ b/meta/recipes-graphics/libsdl2/libsdl2_2.0.20.bb
@@ -20,6 +20,7 @@ SRC_URI = "http://www.libsdl.org/release/SDL2-${PV}.tar.gz \
file://optional-libunwind-generic.patch \

file://0001-sdlchecks.cmake-pass-cflags-to-the-appropriate-cmake.patch \
"
+SRC_URI:append:class-native = " 
file://0001-Disable-libunwind-in-native-OE-builds-by-not-looking.patch"
 
 S = "${WORKDIR}/SDL2-${PV}"
 
-- 
2.32.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#163739): 
https://lists.openembedded.org/g/openembedded-core/message/163739
Mute This Topic: https://lists.openembedded.org/mt/90103750/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH] libsdl2: Make libunwind dependency optional for native builds

2022-03-18 Thread Carlos Rafael Giani via lists.openembedded.org
I can't do (a) at the moment since I do not have CentOS set up here. As 
for (b), I think that if disabling libunwind in the libsdl2-native build 
only, the impact is minimized, since libsdl2-native is used only for 
other native tools like QEMU.


On 18.03.22 12:35, Richard Purdie wrote:

On Fri, 2022-03-18 at 12:08 +0100, Carlos Rafael Giani via
lists.openembedded.org wrote:

I am preparing a patch for this. I am somewhat uncertain though if this is
considered an OK approach or a hack, since we could in theory add libunwind-
native as a libsdl2-native dependency, but libunwind-native itself has build
issues, as seen here:
https://autobuilder.yoctoproject.org/typhoon/#/builders/91/builds/5624/steps/12/logs/stdio
To me, it seems that the "clean" solution would be to fix libunwind-native
then. But that may take longer (just guessing here, I have no idea about
libunwind).
Thoughts?

The key questions are:

a) Can we fix unwind-native to work on centos7 where it breaks? If so, that is
the best solution.

b) What functionality do we lose if we disable unwind in libsdl? Is it minor
debugging info or something we really do need?

I'm afraid I don't know the answers to those questions so it makes the correct
course of action hard to see.

Cheers,

Richard






-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#163452): 
https://lists.openembedded.org/g/openembedded-core/message/163452
Mute This Topic: https://lists.openembedded.org/mt/89607589/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH] libsdl2: Make libunwind dependency optional for native builds

2022-03-18 Thread Carlos Rafael Giani via lists.openembedded.org
I am preparing a patch for this. I am somewhat uncertain though if this 
is considered an OK approach or a hack, since we could in theory add 
libunwind-native as a libsdl2-native dependency, but libunwind-native 
itself has build issues, as seen here:


https://autobuilder.yoctoproject.org/typhoon/#/builders/91/builds/5624/steps/12/logs/stdio

To me, it seems that the "clean" solution would be to fix 
libunwind-native then. But that may take longer (just guessing here, I 
have no idea about libunwind).


Thoughts?

On 07.03.22 23:39, Richard Purdie wrote:

On Mon, 2022-03-07 at 10:31 +0100, Alexander Kanavin wrote:

Also, is this going to cause non-deterministic builds?

Yes, it would break if sstate is reused from a system with to a system without
libunwind.

Can we just disable libunwind for native?

Cheers,

Richard





-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#163446): 
https://lists.openembedded.org/g/openembedded-core/message/163446
Mute This Topic: https://lists.openembedded.org/mt/89607589/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH] libsdl2: Make libunwind dependency optional for native builds

2022-03-07 Thread Carlos Rafael Giani via lists.openembedded.org
This is another attempt at fixing/circumventing the existing libsdl 
problems. It adds another patch file that is on top of the existing 
optional-libunwind-generic.patch since this new patch file is only 
needed for native builds. I was able to successfully build 
core-image-weston with this on an Ubuntu 21.10 host.


On 07.03.22 09:07, Carlos Rafael Giani via lists.openembedded.org wrote:

Signed-off-by: Carlos Rafael Giani
---
  ...ependency-optional-for-native-libsdl.patch | 37 +++
  .../libsdl2/libsdl2_2.0.20.bb |  1 +
  2 files changed, 38 insertions(+)
  create mode 100644 
meta/recipes-graphics/libsdl2/libsdl2/0001-Make-libunwind-dependency-optional-for-native-libsdl.patch

diff --git 
a/meta/recipes-graphics/libsdl2/libsdl2/0001-Make-libunwind-dependency-optional-for-native-libsdl.patch
 
b/meta/recipes-graphics/libsdl2/libsdl2/0001-Make-libunwind-dependency-optional-for-native-libsdl.patch
new file mode 100644
index 00..00f3486194
--- /dev/null
+++ 
b/meta/recipes-graphics/libsdl2/libsdl2/0001-Make-libunwind-dependency-optional-for-native-libsdl.patch
@@ -0,0 +1,37 @@
+From 78078bcf00f0ad13d93b1dc525ee0a666c30f246 Mon Sep 17 00:00:00 2001
+From: Carlos Rafael Giani
+Date: Mon, 7 Mar 2022 05:09:08 +0100
+Subject: [PATCH] Make libunwind dependency optional for native libsdl2 OE
+ build
+
+This is a workaround for this build error:
+
+| -- Checking for one of the modules 'libunwind'
+| CMake Error at 
[...]/build/tmp/work/x86_64-linux/libsdl2-native/2.0.20-r0/recipe-sysroot-native/usr/share/cmake-3.22/Modules/FindPkgConfig.cmake:890
 (message):
+|   None of the required 'libunwind' found
+| Call Stack (most recent call first):
+|   CMakeLists.txt:1367 (pkg_search_module)
+
+Upstream-Status: Inappropriate [OE specific]
+
+Signed-off-by: Carlos Rafael Giani
+---
+ CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 64f9fbf..eda3112 100644
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -1364,7 +1364,7 @@ elseif(UNIX AND NOT APPLE AND NOT ANDROID AND NOT RISCOS 
AND NOT HAIKU)
+
+   if(HAVE_LIBUNWIND_H)
+ # We've already found the header, so REQUIRE the lib to be present
+-pkg_search_module(UNWIND REQUIRED libunwind)
++pkg_search_module(UNWIND libunwind)
+ pkg_search_module(UNWIND_GENERIC libunwind-generic)
+ list(APPEND EXTRA_LIBS ${UNWIND_LIBRARIES} 
${UNWIND_GENERIC_LIBRARIES})
+   endif()
+--
+2.32.0
+
diff --git a/meta/recipes-graphics/libsdl2/libsdl2_2.0.20.bb 
b/meta/recipes-graphics/libsdl2/libsdl2_2.0.20.bb
index 90724ab8b7..d8211165d4 100644
--- a/meta/recipes-graphics/libsdl2/libsdl2_2.0.20.bb
+++ b/meta/recipes-graphics/libsdl2/libsdl2_2.0.20.bb
@@ -20,6 +20,7 @@ SRC_URI ="http://www.libsdl.org/release/SDL2-${PV}.tar.gz \ 
file://optional-libunwind-generic.patch \ 
file://0001-sdlchecks.cmake-pass-cflags-to-the-appropriate-cmake.patch \ "

+SRC_URI:append:class-native =" 
file://0001-Make-libunwind-dependency-optional-for-native-libsdl.patch "
  
  S = "${WORKDIR}/SDL2-${PV}"
  





-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#162799): 
https://lists.openembedded.org/g/openembedded-core/message/162799
Mute This Topic: https://lists.openembedded.org/mt/89607589/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH] libsdl2: Make libunwind dependency optional for native builds

2022-03-07 Thread Carlos Rafael Giani via lists.openembedded.org
Signed-off-by: Carlos Rafael Giani 
---
 ...ependency-optional-for-native-libsdl.patch | 37 +++
 .../libsdl2/libsdl2_2.0.20.bb |  1 +
 2 files changed, 38 insertions(+)
 create mode 100644 
meta/recipes-graphics/libsdl2/libsdl2/0001-Make-libunwind-dependency-optional-for-native-libsdl.patch

diff --git 
a/meta/recipes-graphics/libsdl2/libsdl2/0001-Make-libunwind-dependency-optional-for-native-libsdl.patch
 
b/meta/recipes-graphics/libsdl2/libsdl2/0001-Make-libunwind-dependency-optional-for-native-libsdl.patch
new file mode 100644
index 00..00f3486194
--- /dev/null
+++ 
b/meta/recipes-graphics/libsdl2/libsdl2/0001-Make-libunwind-dependency-optional-for-native-libsdl.patch
@@ -0,0 +1,37 @@
+From 78078bcf00f0ad13d93b1dc525ee0a666c30f246 Mon Sep 17 00:00:00 2001
+From: Carlos Rafael Giani 
+Date: Mon, 7 Mar 2022 05:09:08 +0100
+Subject: [PATCH] Make libunwind dependency optional for native libsdl2 OE
+ build
+
+This is a workaround for this build error:
+
+| -- Checking for one of the modules 'libunwind'
+| CMake Error at 
[...]/build/tmp/work/x86_64-linux/libsdl2-native/2.0.20-r0/recipe-sysroot-native/usr/share/cmake-3.22/Modules/FindPkgConfig.cmake:890
 (message):
+|   None of the required 'libunwind' found
+| Call Stack (most recent call first):
+|   CMakeLists.txt:1367 (pkg_search_module)
+
+Upstream-Status: Inappropriate [OE specific]
+
+Signed-off-by: Carlos Rafael Giani 
+---
+ CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 64f9fbf..eda3112 100644
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -1364,7 +1364,7 @@ elseif(UNIX AND NOT APPLE AND NOT ANDROID AND NOT RISCOS 
AND NOT HAIKU)
+ 
+   if(HAVE_LIBUNWIND_H)
+ # We've already found the header, so REQUIRE the lib to be present
+-pkg_search_module(UNWIND REQUIRED libunwind)
++pkg_search_module(UNWIND libunwind)
+ pkg_search_module(UNWIND_GENERIC libunwind-generic)
+ list(APPEND EXTRA_LIBS ${UNWIND_LIBRARIES} 
${UNWIND_GENERIC_LIBRARIES})
+   endif()
+-- 
+2.32.0
+
diff --git a/meta/recipes-graphics/libsdl2/libsdl2_2.0.20.bb 
b/meta/recipes-graphics/libsdl2/libsdl2_2.0.20.bb
index 90724ab8b7..d8211165d4 100644
--- a/meta/recipes-graphics/libsdl2/libsdl2_2.0.20.bb
+++ b/meta/recipes-graphics/libsdl2/libsdl2_2.0.20.bb
@@ -20,6 +20,7 @@ SRC_URI = "http://www.libsdl.org/release/SDL2-${PV}.tar.gz \
file://optional-libunwind-generic.patch \

file://0001-sdlchecks.cmake-pass-cflags-to-the-appropriate-cmake.patch \
"
+SRC_URI:append:class-native = " 
file://0001-Make-libunwind-dependency-optional-for-native-libsdl.patch "
 
 S = "${WORKDIR}/SDL2-${PV}"
 
-- 
2.32.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#162798): 
https://lists.openembedded.org/g/openembedded-core/message/162798
Mute This Topic: https://lists.openembedded.org/mt/89607589/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH] libsdl2: Add libunwind-native to the libsdl2-native DEPENDS

2022-03-03 Thread Carlos Rafael Giani via lists.openembedded.org
This fixes this CMake configuration error:

| -- Checking for one of the modules 'libunwind'
| CMake Error at 
[...]/build/tmp/work/x86_64-linux/libsdl2-native/2.0.20-r0/recipe-sysroot-native/usr/share/cmake-3.22/Modules/FindPkgConfig.cmake:890
 (message):
|   None of the required 'libunwind' found
| Call Stack (most recent call first):
|   CMakeLists.txt:1367 (pkg_search_module)

This error happens even if libunwind is installed complete with its C
headers and development .so files (in Ubuntu, this means libunwind-dev
is installed).

Signed-off-by: Carlos Rafael Giani 
---
 meta/recipes-graphics/libsdl2/libsdl2_2.0.20.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-graphics/libsdl2/libsdl2_2.0.20.bb 
b/meta/recipes-graphics/libsdl2/libsdl2_2.0.20.bb
index 90724ab8b7..802efba980 100644
--- a/meta/recipes-graphics/libsdl2/libsdl2_2.0.20.bb
+++ b/meta/recipes-graphics/libsdl2/libsdl2_2.0.20.bb
@@ -27,6 +27,8 @@ SRC_URI[sha256sum] = 
"c56aba1d7b5b0e7e999e4a7698c70b63a3394ff9704b5f6e1c57e0c16f
 
 inherit cmake lib_package binconfig-disabled pkgconfig
 
+DEPENDS:class-native += "libunwind-native"
+
 BINCONFIG = "${bindir}/sdl2-config"
 
 CVE_PRODUCT = "simple_directmedia_layer sdl"
-- 
2.32.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#162710): 
https://lists.openembedded.org/g/openembedded-core/message/162710
Mute This Topic: https://lists.openembedded.org/mt/89544908/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH v2] libsdl2: Fix build when libunwind is not used

2022-03-03 Thread Carlos Rafael Giani via lists.openembedded.org
libunwind is installed on the host, complete with its -dev package. OE 
still does not find it.


I'll submit a patch that adds libunwind-native to the native DEPENDS.

On 16.02.22 18:30, Khem Raj wrote:

On Wed, Feb 16, 2022 at 1:58 AM Carlos Rafael Giani via
lists.openembedded.org
wrote:

"MACHINE=qemux86-64 bitbake libsdl2-native" still fails with a similar error:

| CMake Error at 
/home/test/yocto-master/poky/build/tmp/work/x86_64-linux/libsdl2-native/2.0.20-r0/recipe-sysroot-native/usr/share/cmake-3.22/Modules/FindPkgConfig.cmake:890
 (message):
|   None of the required 'libunwind' found

This is triggered by the "pkg_search_module(UNWIND REQUIRED libunwind)" line 
right above the one that is modified by this patch.

Any idea what is going on?

I think its looking for libunwind on your build host.



On 07.01.22 21:34, Alexander Kanavin wrote:

Thanks :)

Alex

On Fri, 7 Jan 2022 at 20:23, Khem Raj  wrote:

clang provides libunwind.h and cmake adds a check to
find libunwind when this header is detected, which was
not the case with automake. The check however is expecting
specific unwinder implementation which provides libunwind-generic
solib, this is not a standard library that all implementations
will provide, therefore make this check optional.

Signed-off-by: Khem Raj
Cc: Andreas Müller
---
v2: Udate patch status to submitted

  .../libsdl2/optional-libunwind-generic.patch   | 18 ++
  .../recipes-graphics/libsdl2/libsdl2_2.0.18.bb |  1 +
  2 files changed, 19 insertions(+)
  create mode 100644 
meta/recipes-graphics/libsdl2/libsdl2/optional-libunwind-generic.patch

diff --git 
a/meta/recipes-graphics/libsdl2/libsdl2/optional-libunwind-generic.patch 
b/meta/recipes-graphics/libsdl2/libsdl2/optional-libunwind-generic.patch
new file mode 100644
index 000..757b99a5f68
--- /dev/null
+++ b/meta/recipes-graphics/libsdl2/libsdl2/optional-libunwind-generic.patch
@@ -0,0 +1,18 @@
+Do not error when libunwind-generic is not found, Not all
+implementations of libunwind will provide this library therefore
+do not make it hard error if its not found.
+
+Upstream-Status: Submitted [https://github.com/libsdl-org/SDL/pull/5194]
+Signed-off-by: Khem Raj
+
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -1358,7 +1358,7 @@ elseif(UNIX AND NOT APPLE AND NOT ANDROI
+   if(HAVE_LIBUNWIND_H)
+ # We've already found the header, so REQUIRE the lib to be present
+ pkg_search_module(UNWIND REQUIRED libunwind)
+-pkg_search_module(UNWIND_GENERIC REQUIRED libunwind-generic)
++pkg_search_module(UNWIND_GENERIC libunwind-generic)
+ list(APPEND EXTRA_LIBS ${UNWIND_LIBRARIES} 
${UNWIND_GENERIC_LIBRARIES})
+   endif()
+ endif()
diff --git a/meta/recipes-graphics/libsdl2/libsdl2_2.0.18.bb 
b/meta/recipes-graphics/libsdl2/libsdl2_2.0.18.bb
index 893386343a7..1559d5e9425 100644
--- a/meta/recipes-graphics/libsdl2/libsdl2_2.0.18.bb
+++ b/meta/recipes-graphics/libsdl2/libsdl2_2.0.18.bb
@@ -18,6 +18,7 @@ PROVIDES = "virtual/libsdl2"

  SRC_URI ="http://www.libsdl.org/release/SDL2-${PV}.tar.gz \ 
file://0001-Fix-build-against-wayland-1.20.patch \ + 
file://optional-libunwind-generic.patch \ "


  S = "${WORKDIR}/SDL2-${PV}"
--
2.34.1














-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#162709): 
https://lists.openembedded.org/g/openembedded-core/message/162709
Mute This Topic: https://lists.openembedded.org/mt/88269209/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH v2] libsdl2: Fix build when libunwind is not used

2022-02-16 Thread Carlos Rafael Giani via lists.openembedded.org
"MACHINE=qemux86-64 bitbake libsdl2-native" still fails with a similar 
error:


| CMake Error at 
/home/test/yocto-master/poky/build/tmp/work/x86_64-linux/libsdl2-native/2.0.20-r0/recipe-sysroot-native/usr/share/cmake-3.22/Modules/FindPkgConfig.cmake:890 
(message):

|   None of the required 'libunwind' found

This is triggered by the "pkg_search_module(UNWIND REQUIRED libunwind)" 
line right above the one that is modified by this patch.


Any idea what is going on?


On 07.01.22 21:34, Alexander Kanavin wrote:

Thanks :)

Alex

On Fri, 7 Jan 2022 at 20:23, Khem Raj  wrote:

clang provides libunwind.h and cmake adds a check to
find libunwind when this header is detected, which was
not the case with automake. The check however is expecting
specific unwinder implementation which provides libunwind-generic
solib, this is not a standard library that all implementations
will provide, therefore make this check optional.

Signed-off-by: Khem Raj 
Cc: Andreas Müller 
---
v2: Udate patch status to submitted

 .../libsdl2/optional-libunwind-generic.patch   | 18
++
 .../recipes-graphics/libsdl2/libsdl2_2.0.18.bb
 |  1 +
 2 files changed, 19 insertions(+)
 create mode 100644
meta/recipes-graphics/libsdl2/libsdl2/optional-libunwind-generic.patch

diff --git
a/meta/recipes-graphics/libsdl2/libsdl2/optional-libunwind-generic.patch
b/meta/recipes-graphics/libsdl2/libsdl2/optional-libunwind-generic.patch
new file mode 100644
index 000..757b99a5f68
--- /dev/null
+++
b/meta/recipes-graphics/libsdl2/libsdl2/optional-libunwind-generic.patch
@@ -0,0 +1,18 @@
+Do not error when libunwind-generic is not found, Not all
+implementations of libunwind will provide this library therefore
+do not make it hard error if its not found.
+
+Upstream-Status: Submitted
[https://github.com/libsdl-org/SDL/pull/5194]
+Signed-off-by: Khem Raj 
+
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -1358,7 +1358,7 @@ elseif(UNIX AND NOT APPLE AND NOT ANDROI
+       if(HAVE_LIBUNWIND_H)
+         # We've already found the header, so REQUIRE the lib to
be present
+         pkg_search_module(UNWIND REQUIRED libunwind)
+-        pkg_search_module(UNWIND_GENERIC REQUIRED libunwind-generic)
++        pkg_search_module(UNWIND_GENERIC libunwind-generic)
+         list(APPEND EXTRA_LIBS ${UNWIND_LIBRARIES}
${UNWIND_GENERIC_LIBRARIES})
+       endif()
+     endif()
diff --git a/meta/recipes-graphics/libsdl2/libsdl2_2.0.18.bb

b/meta/recipes-graphics/libsdl2/libsdl2_2.0.18.bb

index 893386343a7..1559d5e9425 100644
--- a/meta/recipes-graphics/libsdl2/libsdl2_2.0.18.bb

+++ b/meta/recipes-graphics/libsdl2/libsdl2_2.0.18.bb

@@ -18,6 +18,7 @@ PROVIDES = "virtual/libsdl2"

 SRC_URI = "http://www.libsdl.org/release/SDL2-${PV}.tar.gz
 \
file://0001-Fix-build-against-wayland-1.20.patch \
+ file://optional-libunwind-generic.patch \
 "

 S = "${WORKDIR}/SDL2-${PV}"
-- 
2.34.1









-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#161773): 
https://lists.openembedded.org/g/openembedded-core/message/161773
Mute This Topic: https://lists.openembedded.org/mt/88269209/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH] libxml2: Backport python3-lxml workaround patch

2022-01-31 Thread Carlos Rafael Giani via lists.openembedded.org
This is a workaround for the following issue that affects python3-lxml:

https://gitlab.gnome.org/GNOME/libxml2/-/issues/255

Signed-off-by: Carlos Rafael Giani 
---
 .../0002-Work-around-lxml-API-abuse.patch | 213 ++
 meta/recipes-core/libxml/libxml2_2.9.12.bb|   1 +
 2 files changed, 214 insertions(+)
 create mode 100644 
meta/recipes-core/libxml/libxml2/0002-Work-around-lxml-API-abuse.patch

diff --git 
a/meta/recipes-core/libxml/libxml2/0002-Work-around-lxml-API-abuse.patch 
b/meta/recipes-core/libxml/libxml2/0002-Work-around-lxml-API-abuse.patch
new file mode 100644
index 00..f09ce9707a
--- /dev/null
+++ b/meta/recipes-core/libxml/libxml2/0002-Work-around-lxml-API-abuse.patch
@@ -0,0 +1,213 @@
+From 85b1792e37b131e7a51af98a37f92472e8de5f3f Mon Sep 17 00:00:00 2001
+From: Nick Wellnhofer 
+Date: Tue, 18 May 2021 20:08:28 +0200
+Subject: [PATCH] Work around lxml API abuse
+
+Make xmlNodeDumpOutput and htmlNodeDumpFormatOutput work with corrupted
+parent pointers. This used to work with the old recursive code but the
+non-recursive rewrite required parent pointers to be set correctly.
+
+Unfortunately, lxml relies on the old behavior and passes subtrees with
+a corrupted structure. Fall back to a recursive function call if an
+invalid parent pointer is detected.
+
+Fixes #255.
+
+Upstream-Status: Backport [85b1792e37b131e7a51af98a37f92472e8de5f3f]
+---
+ HTMLtree.c | 46 --
+ xmlsave.c  | 31 +--
+ 2 files changed, 49 insertions(+), 28 deletions(-)
+
+diff --git a/HTMLtree.c b/HTMLtree.c
+index 24434d45..bdd639c7 100644
+--- a/HTMLtree.c
 b/HTMLtree.c
+@@ -744,7 +744,7 @@ void
+ htmlNodeDumpFormatOutput(xmlOutputBufferPtr buf, xmlDocPtr doc,
+xmlNodePtr cur, const char *encoding ATTRIBUTE_UNUSED,
+  int format) {
+-xmlNodePtr root;
++xmlNodePtr root, parent;
+ xmlAttrPtr attr;
+ const htmlElemDesc * info;
+ 
+@@ -755,6 +755,7 @@ htmlNodeDumpFormatOutput(xmlOutputBufferPtr buf, xmlDocPtr 
doc,
+ }
+ 
+ root = cur;
++parent = cur->parent;
+ while (1) {
+ switch (cur->type) {
+ case XML_HTML_DOCUMENT_NODE:
+@@ -762,13 +763,25 @@ htmlNodeDumpFormatOutput(xmlOutputBufferPtr buf, 
xmlDocPtr doc,
+ if (((xmlDocPtr) cur)->intSubset != NULL) {
+ htmlDtdDumpOutput(buf, (xmlDocPtr) cur, NULL);
+ }
+-if (cur->children != NULL) {
++/* Always validate cur->parent when descending. */
++if ((cur->parent == parent) && (cur->children != NULL)) {
++parent = cur;
+ cur = cur->children;
+ continue;
+ }
+ break;
+ 
+ case XML_ELEMENT_NODE:
++/*
++ * Some users like lxml are known to pass nodes with a corrupted
++ * tree structure. Fall back to a recursive call to handle this
++ * case.
++ */
++if ((cur->parent != parent) && (cur->children != NULL)) {
++htmlNodeDumpFormatOutput(buf, doc, cur, encoding, format);
++break;
++}
++
+ /*
+  * Get specific HTML info for that node.
+  */
+@@ -817,6 +830,7 @@ htmlNodeDumpFormatOutput(xmlOutputBufferPtr buf, xmlDocPtr 
doc,
+ (cur->name != NULL) &&
+ (cur->name[0] != 'p')) /* p, pre, param */
+ xmlOutputBufferWriteString(buf, "\n");
++parent = cur;
+ cur = cur->children;
+ continue;
+ }
+@@ -825,9 +839,9 @@ htmlNodeDumpFormatOutput(xmlOutputBufferPtr buf, xmlDocPtr 
doc,
+ (info != NULL) && (!info->isinline)) {
+ if ((cur->next->type != HTML_TEXT_NODE) &&
+ (cur->next->type != HTML_ENTITY_REF_NODE) &&
+-(cur->parent != NULL) &&
+-(cur->parent->name != NULL) &&
+-(cur->parent->name[0] != 'p')) /* p, pre, param */
++(parent != NULL) &&
++(parent->name != NULL) &&
++(parent->name[0] != 'p')) /* p, pre, param */
+ xmlOutputBufferWriteString(buf, "\n");
+ }
+ 
+@@ -842,9 +856,9 @@ htmlNodeDumpFormatOutput(xmlOutputBufferPtr buf, xmlDocPtr 
doc,
+ break;
+ if (((cur->name == (const xmlChar *)xmlStringText) ||
+  (cur->name != (const xmlChar *)xmlStringTextNoenc)) &&
+-((cur->parent == NULL) ||
+- ((xmlStrcasecmp(cur->parent->name, BAD_CAST "script")) &&
+-  (xmlStrcas

[OE-core] How to properly enable PAM integration - docs no longer valid?

2022-01-28 Thread Carlos Rafael Giani via lists.openembedded.org

According to this document:

  https://wiki.yoctoproject.org/wiki/PAM_Integration

PAM can be enabled by adding this line to local.conf:

  DISTRO_FEATURES_append += " pam"

In newer Yocto versions, this would be:

  DISTRO_FEATURES:append += " pam"

and this works. I *had* to use "+=" instead of "=" here, otherwise pam 
would not be added correctly.


But, then I get this warning:

  WARNING: DISTRO_FEATURES:append += is not a recommended operator 
combination, please replace it


So, how am I supposed to enable PAM in local.conf if I need to enable it 
quickly for a test by using poky and can't set up my own distro right now?



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#161097): 
https://lists.openembedded.org/g/openembedded-core/message/161097
Mute This Topic: https://lists.openembedded.org/mt/88761315/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH] ffmpeg: Add libopus packageconfig

2021-05-25 Thread Carlos Rafael Giani via lists.openembedded.org
Signed-off-by: Carlos Rafael Giani 
---
 meta/recipes-multimedia/ffmpeg/ffmpeg_4.4.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-multimedia/ffmpeg/ffmpeg_4.4.bb 
b/meta/recipes-multimedia/ffmpeg/ffmpeg_4.4.bb
index 384e07362a..664fc6066a 100644
--- a/meta/recipes-multimedia/ffmpeg/ffmpeg_4.4.bb
+++ b/meta/recipes-multimedia/ffmpeg/ffmpeg_4.4.bb
@@ -64,6 +64,7 @@ PACKAGECONFIG[fdk-aac] = "--enable-libfdk-aac 
--enable-nonfree,--disable-libfdk-
 PACKAGECONFIG[gpl] = "--enable-gpl,--disable-gpl"
 PACKAGECONFIG[gsm] = "--enable-libgsm,--disable-libgsm,libgsm"
 PACKAGECONFIG[jack] = "--enable-indev=jack,--disable-indev=jack,jack"
+PACKAGECONFIG[libopus] = "--enable-libopus,--disable-libopus,libopus"
 PACKAGECONFIG[libvorbis] = "--enable-libvorbis,--disable-libvorbis,libvorbis"
 PACKAGECONFIG[lzma] = "--enable-lzma,--disable-lzma,xz"
 PACKAGECONFIG[mfx] = "--enable-libmfx,--disable-libmfx,intel-mediasdk"
-- 
2.25.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#152205): 
https://lists.openembedded.org/g/openembedded-core/message/152205
Mute This Topic: https://lists.openembedded.org/mt/83072406/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH] pipewire: add recipe from meta-openembedded and upgrade to 0.3.23

2021-03-10 Thread Carlos Rafael Giani via lists.openembedded.org
I'm fine with either direction (keeping it in meta-multimedia for now / 
migrating it now). Others thought it was a good idea, which is I 
submitted this.


I put more people CC that were involved in that earlier discussion to 
get more opinions.


On 10.03.21 11:41, Ross Burton wrote:

On Wed, 10 Mar 2021 at 07:09, Carlos Rafael Giani via
lists.openembedded.org 
wrote:

+python set_dynamic_metapkg_rdepends () {
+import os
+import oe.utils
+
+# Go through all generated SPA plugin and PipeWire module packages
+# (excluding the main package and the -meta package itself) and
+# add them to the -meta package as RDEPENDS.

[ ...]

do_split_packages() returns the packages it generated, so what does
this Python do differently?

I tend to agree with Alex: adding it to oe-core now without a
migration path seems early.  If you were in a series that removed
PulseAudio then that would be a different conversation, but currently
you're just moving a recipe from meta-multimedia to oe-core.

Oh, and I recommend only sending the removal patch when the addition
patch has been merged: too often I've seen the removal merge before
the addition...

Ross

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#149217): 
https://lists.openembedded.org/g/openembedded-core/message/149217
Mute This Topic: https://lists.openembedded.org/mt/81221962/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH] pipewire: add recipe from meta-openembedded and upgrade to 0.3.23

2021-03-10 Thread Carlos Rafael Giani via lists.openembedded.org
In an earlier discussion, it was mentioned that this can act as a 
drop-in replacement for PulseAudio and JACK, and that the way to move 
forward should be to first migrate it and then see if via a packagegroup 
or feature such a replacement logic can be established. These would be 
reasons for a migration.


On 10.03.21 09:35, Alexander Kanavin wrote:

But why should it be in oe-core?

Alex

On Wed, 10 Mar 2021 at 08:09, Carlos Rafael Giani via 
lists.openembedded.org <http://lists.openembedded.org> 
<mailto:mailbox@lists.openembedded.org>> wrote:


PipeWire is a new multimedia daemon that aims to be a replacement for
both JACK and PulseAudio. Additionally, it provides IO and routing
functionality for video. It also has PulseAudio shim to act as a
drop-in
replacement.

Signed-off-by: Carlos Rafael Giani mailto:crg7...@mailbox.org>>
---
 .../pipewire/pipewire_0.3.23.bb <http://pipewire_0.3.23.bb>      
       | 272 ++
 1 file changed, 272 insertions(+)
 create mode 100644
meta/recipes-multimedia/pipewire/pipewire_0.3.23.bb
<http://pipewire_0.3.23.bb>

diff --git a/meta/recipes-multimedia/pipewire/pipewire_0.3.23.bb
<http://pipewire_0.3.23.bb>
b/meta/recipes-multimedia/pipewire/pipewire_0.3.23.bb
<http://pipewire_0.3.23.bb>
new file mode 100644
index 00..1c226b3faf
--- /dev/null
+++ b/meta/recipes-multimedia/pipewire/pipewire_0.3.23.bb
<http://pipewire_0.3.23.bb>
@@ -0,0 +1,272 @@
+SUMMARY = "Multimedia processing server for Linux"
+DESCRIPTION = "Linux server for handling and routing audio and
video streams between applications and multimedia I/O devices"
+HOMEPAGE = "https://pipewire.org/ <https://pipewire.org/>"
+BUGTRACKER  =
"https://gitlab.freedesktop.org/pipewire/pipewire/issues
<https://gitlab.freedesktop.org/pipewire/pipewire/issues>"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = " \
+    file://LICENSE;md5=e2c0b7d86d04e716a3c4c9ab34260e69 \
+    file://COPYING;md5=97be96ca4fab23e9657ffa590b931c1a \
+"
+SECTION = "multimedia"
+
+DEPENDS = "dbus"
+
+SRCREV = "68f6c75caed047af32320ab4de0c06457457be54"
+SRC_URI =

"git://gitlab.freedesktop.org/pipewire/pipewire.git;branch=master;protocol=https

<http://gitlab.freedesktop.org/pipewire/pipewire.git;branch=master;protocol=https>"
+
+S = "${WORKDIR}/git"
+
+inherit meson pkgconfig systemd manpages gettext useradd
+
+USERADD_PACKAGES = "${PN}"
+
+GROUPADD_PARAM_${PN} = "--system pipewire"
+
+USERADD_PARAM_${PN} = "--system --home / --no-create-home \
+                       --comment 'PipeWire multimedia daemon' \
+                       --gid pipewire --groups audio,video \
+                       pipewire"
+
+# For "EVL", look up https://evlproject.org/
<https://evlproject.org/> . It involves
+# a specially prepared kernel, and is currently unavailable
+# in Yocto.
+# FFmpeg and Vulkan aren't really supported - at the current
+# stage (version 0.3.23), these are just experiments, not
+# actual features.
+# libcamera support currently does not build successfully.
+# systemd user service files are disabled because per-user
+# PipeWire instances aren't really something that makes
+# much sense in an embedded environment. A system-wide
+# instance does.
+EXTRA_OEMESON += " \
+    -Daudiotestsrc=true \
+    -Devl=false \
+    -Dsystemd-user-service=false \
+    -Dtests=false \
+    -Dudevrulesdir=${nonarch_base_libdir}/udev/rules.d/ \
+    -Dvideotestsrc=true \
+    -Dffmpeg=false \
+    -Dvulkan=false \
+    -Dlibcamera=false \
+"
+
+PACKAGECONFIG ??= "\
+    ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez',
'', d)} \
+    ${@bb.utils.filter('DISTRO_FEATURES', 'alsa systemd', d)} \
+    gstreamer jack v4l2 \
+"
+
+# "jack" and "pipewire-jack" packageconfigs cannot be both enabled,
+# since "jack" imports libjack, and "pipewire-jack" generates
+# libjack.so* files, thus colliding with the libpack package. This
+# is why these two are marked in their respective packageconfigs
+# as being in conflict.
+
+PACKAGECONFIG[alsa] = "-Dalsa=true,-Dalsa=false,alsa-lib udev"
+PACKAGECONFIG[bluez] = "-Dbluez5=true,-Dbluez5=false,bluez5 sbc"
+PACKAGECONFIG[docs] = "-Ddocs=true,-Ddocs=false,doxygen"
+PACKAGECONFIG[gstreamer] =
"-Dgstreamer=true,-Dgstreamer=false,glib-2.0 gstreamer1.0
gstreamer1.0-plugins-base"
+PACKAGECONFIG[

[OE-core] [PATCH] pipewire: add recipe from meta-openembedded and upgrade to 0.3.23

2021-03-09 Thread Carlos Rafael Giani via lists.openembedded.org
PipeWire is a new multimedia daemon that aims to be a replacement for
both JACK and PulseAudio. Additionally, it provides IO and routing
functionality for video. It also has PulseAudio shim to act as a drop-in
replacement.

Signed-off-by: Carlos Rafael Giani 
---
 .../pipewire/pipewire_0.3.23.bb   | 272 ++
 1 file changed, 272 insertions(+)
 create mode 100644 meta/recipes-multimedia/pipewire/pipewire_0.3.23.bb

diff --git a/meta/recipes-multimedia/pipewire/pipewire_0.3.23.bb 
b/meta/recipes-multimedia/pipewire/pipewire_0.3.23.bb
new file mode 100644
index 00..1c226b3faf
--- /dev/null
+++ b/meta/recipes-multimedia/pipewire/pipewire_0.3.23.bb
@@ -0,0 +1,272 @@
+SUMMARY = "Multimedia processing server for Linux"
+DESCRIPTION = "Linux server for handling and routing audio and video streams 
between applications and multimedia I/O devices"
+HOMEPAGE = "https://pipewire.org/;
+BUGTRACKER  = "https://gitlab.freedesktop.org/pipewire/pipewire/issues;
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = " \
+file://LICENSE;md5=e2c0b7d86d04e716a3c4c9ab34260e69 \
+file://COPYING;md5=97be96ca4fab23e9657ffa590b931c1a \
+"
+SECTION = "multimedia"
+
+DEPENDS = "dbus"
+
+SRCREV = "68f6c75caed047af32320ab4de0c06457457be54"
+SRC_URI = 
"git://gitlab.freedesktop.org/pipewire/pipewire.git;branch=master;protocol=https"
+
+S = "${WORKDIR}/git"
+
+inherit meson pkgconfig systemd manpages gettext useradd
+
+USERADD_PACKAGES = "${PN}"
+
+GROUPADD_PARAM_${PN} = "--system pipewire"
+
+USERADD_PARAM_${PN} = "--system --home / --no-create-home \
+   --comment 'PipeWire multimedia daemon' \
+   --gid pipewire --groups audio,video \
+   pipewire"
+
+# For "EVL", look up https://evlproject.org/ . It involves
+# a specially prepared kernel, and is currently unavailable
+# in Yocto.
+# FFmpeg and Vulkan aren't really supported - at the current
+# stage (version 0.3.23), these are just experiments, not
+# actual features.
+# libcamera support currently does not build successfully.
+# systemd user service files are disabled because per-user
+# PipeWire instances aren't really something that makes
+# much sense in an embedded environment. A system-wide
+# instance does.
+EXTRA_OEMESON += " \
+-Daudiotestsrc=true \
+-Devl=false \
+-Dsystemd-user-service=false \
+-Dtests=false \
+-Dudevrulesdir=${nonarch_base_libdir}/udev/rules.d/ \
+-Dvideotestsrc=true \
+-Dffmpeg=false \
+-Dvulkan=false \
+-Dlibcamera=false \
+"
+
+PACKAGECONFIG ??= "\
+${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez', '', d)} \
+${@bb.utils.filter('DISTRO_FEATURES', 'alsa systemd', d)} \
+gstreamer jack v4l2 \
+"
+
+# "jack" and "pipewire-jack" packageconfigs cannot be both enabled,
+# since "jack" imports libjack, and "pipewire-jack" generates
+# libjack.so* files, thus colliding with the libpack package. This
+# is why these two are marked in their respective packageconfigs
+# as being in conflict.
+
+PACKAGECONFIG[alsa] = "-Dalsa=true,-Dalsa=false,alsa-lib udev"
+PACKAGECONFIG[bluez] = "-Dbluez5=true,-Dbluez5=false,bluez5 sbc"
+PACKAGECONFIG[docs] = "-Ddocs=true,-Ddocs=false,doxygen"
+PACKAGECONFIG[gstreamer] = "-Dgstreamer=true,-Dgstreamer=false,glib-2.0 
gstreamer1.0 gstreamer1.0-plugins-base"
+PACKAGECONFIG[jack] = "-Djack=true,-Djack=false,jack,,,pipewire-jack"
+PACKAGECONFIG[manpages] = "-Dman=true,-Dman=false,libxml-parser-perl-native"
+PACKAGECONFIG[sdl2] = "-Dsdl2=enabled,-Dsdl2=disabled,virtual/libsdl2"
+PACKAGECONFIG[sndfile] = "-Dsndfile=enabled,-Dsndfile=disabled,libsndfile1"
+PACKAGECONFIG[systemd] = "-Dsystemd=true -Dsystemd-system-service=true 
,-Dsystemd=false -Dsystemd-system-service=false,systemd"
+PACKAGECONFIG[v4l2] = "-Dv4l2=true,-Dv4l2=false,udev"
+PACKAGECONFIG[pipewire-alsa] = 
"-Dpipewire-alsa=true,-Dpipewire-alsa=false,alsa-lib"
+PACKAGECONFIG[pipewire-jack] = "-Dpipewire-jack=true 
-Dlibjack-path=${libdir}/${PW_MODULE_SUBDIR}/jack,-Dpipewire-jack=false,jack,,,jack"
+
+PACKAGESPLITFUNCS_prepend = " split_dynamic_packages "
+PACKAGESPLITFUNCS_append = " set_dynamic_metapkg_rdepends "
+
+SPA_SUBDIR = "spa-0.2"
+PW_MODULE_SUBDIR = "pipewire-0.3"
+
+remove_unused_installed_files() {
+# jack.conf is used by pipewire-jack (not the JACK SPA plugin).
+# Remove it if pipewire-jack is not built to avoid creating the
+# pipewire-jack package.
+if ${@bb.utils.contains('PACKAGECONFIG', 'pipewire-jack', 'false', 'true', 
d)}; then
+rm -f "${D}${sysconfdir}/pipewire/jack.conf"
+fi
+}
+
+do_install[postfuncs] += "rem

Re: [OE-core] [PATCH] gstreamer1.0-plugins-good: change EXTRA_OECONF -> EXTRA_OEMESON

2020-02-06 Thread Carlos Rafael Giani
Shouldn't this be split into two commits, one that fixes EXTRA_OECONF, 
and one that fixes the qt5 support?


Also, are we sure that meson's qt5 moc/rcc/uic autodetection won't cause 
any problems in OE?
Typically, we disable such "automagical" detections to ensure 
deterministic builds.


On 06.02.20 08:53, Anuj Mittal wrote:

Use the correct variable so options actually get used.

qt5 support is currently automagically detected with meson and having an
explicit disabled doesn't do anything. Remove it so it can be handled
in qt layer with appropriate DEPENDS added.

Signed-off-by: Anuj Mittal 
---
  .../gstreamer/gstreamer1.0-plugins-good_1.16.1.bb  | 7 +++
  1 file changed, 3 insertions(+), 4 deletions(-)

diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.16.1.bb 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.16.1.bb
index a6eb9986dd..e78162172a 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.16.1.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.16.1.bb
@@ -50,12 +50,12 @@ PACKAGECONFIG[vpx]= 
"-Dvpx=enabled,-Dvpx=disabled,libvpx"
  PACKAGECONFIG[wavpack]= "-Dwavpack=enabled,-Dwavpack=disabled,wavpack"
  PACKAGECONFIG[x11]= "${X11ENABLEOPTS},${X11DISABLEOPTS},${X11DEPENDS}"
  
-# qt5 support is disabled, because it is not present in OE core, and requires more work than

-# just adding a packageconfig (it requires access to moc, uic, rcc, and qmake 
paths).
+# qt5 support is disabled by default unless dependencies are present. Enabling 
it requires
+# more work than just adding a packageconfig (it requires access to moc, uic, 
rcc, and qmake paths).
  # This is better done in a separate qt5 layer (which then should add a "qt5" 
packageconfig
  # in a gstreamer1.0-plugins-good bbappend).
  
-EXTRA_OECONF += " \

+EXTRA_OEMESON += " \
  -Daalib=disabled \
  -Ddirectsound=disabled \
  -Ddv=disabled \
@@ -64,7 +64,6 @@ EXTRA_OECONF += " \
  -Doss4=disabled \
  -Dosxaudio=disabled \
  -Dosxvideo=disabled \
--Dqt=disabled \
  -Dshout2=disabled \
  -Dtwolame=disabled \
  -Dwaveform=disabled \

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


Re: [OE-core] [PATCH 01/12] gstreamer: Add common .inc files for meson based recipes

2020-01-14 Thread Carlos Rafael Giani
Hm alright, then I guess there are no showstoppers for merging anymore. 
The qt5 thing can be added in a followup commit.


On 14.01.20 19:55, Khem Raj wrote:

On Tue, Jan 14, 2020 at 10:37 AM Carlos Rafael Giani
 wrote:

Nice find! But, there is still one issue Khem found, regarding errors in 
meta-multimedia plugins: https://errors.yoctoproject.org/Errors/Build/96752/


I have already fixed them. Also sent a patch to enable debug in
gstreamer to support shark plugin

https://patchwork.openembedded.org/patch/168874/
https://git.openembedded.org/meta-openembedded/commit/?id=ea8604a0e3fe38a5a49690b1b92b5b4964e7b5da
https://git.openembedded.org/meta-openembedded/commit/?id=449fe9920555d815dadb295d2fce61935486bce8


This, and the discussion about the qt5 packageconfig, means to me that a v2 set 
is warranted. What

do you think?

There is a packageconfig in a bbappend that I plan to propose once its in.

https://github.com/YoeDistro/meta-qt5/commit/cf2505af20c67f975dc4630e6c45e19f15103ef1

perhaps it could be in main recipe instead of bbappend.


On 14.01.20 16:51, Alexander Kanavin wrote:

I just sent a patch for this, and for the ptest issue. Should be good to merge 
now!

Alex

On Mon, 13 Jan 2020 at 19:01, Alexander Kanavin  wrote:

I have reproduced this just now. You need to set up a special 'nodistro' 
configuration like this:

bblayers.conf:
BBLAYERS ?= " \
   /home/alexander/development/poky/meta \
"
(and no other layers)

local.conf:

MACHINE ??= "qemuarm"
DISTRO ?= "nodistro"
INHERIT += 'uninative'
require conf/distro/include/yocto-uninative.inc
... (dl_dir, sstate etc)

and build gstreamer1.0-plugins-base.

Alex


On Mon, 13 Jan 2020 at 16:38, Carlos Rafael Giani  wrote:

Except that there is no such package. Also, even if I build GStreamer
from scratch with all optional packageconfigs disabled, I do not get
this error, nor do I get any warnings about potentially missing
dependencies. So, I don't know what is going on here..

On 13.01.20 13:59, Richard Purdie wrote:

On Mon, 2020-01-13 at 13:55 +0100, Carlos Rafael Giani wrote:

Nope. This is an odd one. Are you sure there isn't a problem with
the
setup itself? In step2c, I see:

   > ERROR: core-image-sato-1.0-r0 do_testsdk: The toolchain
/home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-
glibc/deploy/sdk/oecore-i686-armv7vet2hf-neon-toolchain-
nodistro.0.sh
is not built. Build it before running the tests: 'bitbake  -c
populate_sdk' .

2c fails as earlier stepd didn't build. I think the real issue is
step1b which says:

| Compiler for C supports arguments -Wdeclaration-after-statement: YES
| Found pkg-config: 
/home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/gstreamer1.0-plugins-base/1.16.1-r0/recipe-sysroot-native/usr/bin/pkg-config
 (0.29.2)
| Run-time dependency x11 found: YES 1.6.9
| Run-time dependency glib-2.0 found: YES 2.62.4
| Run-time dependency gobject-2.0 found: YES 2.62.4
| Run-time dependency gio-2.0 found: YES 2.62.4
| Run-time dependency gio-unix-2.0 found: YES 2.62.4
| Run-time dependency gmodule-no-export-2.0 found: YES 2.62.4
| Dependency gdk-pixbuf-2.0 skipped: feature examples disabled
| Dependency gtk+-3.0 skipped: feature examples disabled
| Dependency gtk+-x11-3.0 skipped: feature examples disabled
| Run-time dependency gstreamer-1.0 found: YES 1.16.1
| Run-time dependency gstreamer-base-1.0 found: YES 1.16.1
| Run-time dependency gstreamer-net-1.0 found: YES 1.16.1
| Found CMake: NO
| Run-time dependency gstreamer-check-1.0 found: NO (tried pkgconfig and cmake)
| Looking for a fallback subproject for the dependency gstreamer-check-1.0
| Subproject directory not found and gstreamer.wrap file not found
| Subproject  subprojects/gstreamer is buildable: NO (disabling)
| Dependency gstreamer-check-1.0 from subproject subprojects/gstreamer found: NO
|
| meson.build:309:0: ERROR: Could not find dependency gst_controller_dep in 
subproject gstreamer
|
| A full log can be found at 
/home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/gstreamer1.0-plugins-base/1.16.1-r0/build/meson-logs/meson-log.txt
| WARNING: 
/home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/gstreamer1.0-plugins-base/1.16.1-r0/temp/run.do_configure.46093:1
 exit 1 from 'exit 1'
|
NOTE: recipe gstreamer1.0-plugins-base-1.16.1-r0: task do_configure: Failed

| Compiler for C supports arguments -Wdeclaration-after-statement: YES
| Found pkg-config: 
/home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/gstreamer1.0-plugins-base/1.16.1-r0/recipe-sysroot-native/usr/bin/pkg-config
 (0.29.2)
| Run-time dependency x11 found: YES 1.6.9
| Run-time dependency glib-2.0 found: YES 2.62.4
| Run-time dependency gobject-2.0 found: YES 2.62.4
| Run-time dependency gio-2.0 found: YES 2.62.4
| Run-time dependency gio-unix

Re: [OE-core] [PATCH 01/12] gstreamer: Add common .inc files for meson based recipes

2020-01-14 Thread Carlos Rafael Giani
Nice find! But, there is still one issue Khem found, regarding errors in 
meta-multimedia plugins: https://errors.yoctoproject.org/Errors/Build/96752/


This, and the discussion about the qt5 packageconfig, means to me that a 
v2 set is warranted. What do you think?


On 14.01.20 16:51, Alexander Kanavin wrote:
I just sent a patch for this, and for the ptest issue. Should be good 
to merge now!


Alex

On Mon, 13 Jan 2020 at 19:01, Alexander Kanavin 
mailto:alex.kana...@gmail.com>> wrote:


I have reproduced this just now. You need to set up a special
'nodistro' configuration like this:

bblayers.conf:
BBLAYERS ?= " \
  /home/alexander/development/poky/meta \
"
(and no other layers)

local.conf:

MACHINE ??= "qemuarm"
DISTRO ?= "nodistro"
INHERIT += 'uninative'
require conf/distro/include/yocto-uninative.inc
... (dl_dir, sstate etc)

and build gstreamer1.0-plugins-base.

Alex


On Mon, 13 Jan 2020 at 16:38, Carlos Rafael Giani
mailto:crg7...@mailbox.org>> wrote:

Except that there is no such package. Also, even if I build
GStreamer
from scratch with all optional packageconfigs disabled, I do
not get
this error, nor do I get any warnings about potentially missing
dependencies. So, I don't know what is going on here..

On 13.01.20 13:59, Richard Purdie wrote:
    > On Mon, 2020-01-13 at 13:55 +0100, Carlos Rafael Giani wrote:
>> Nope. This is an odd one. Are you sure there isn't a
problem with
>> the
>> setup itself? In step2c, I see:
>>
>>   > ERROR: core-image-sato-1.0-r0 do_testsdk: The toolchain
>> /home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-
>> glibc/deploy/sdk/oecore-i686-armv7vet2hf-neon-toolchain-
>> nodistro.0.sh <http://nodistro.0.sh>
>> is not built. Build it before running the tests: 'bitbake
 -c
>> populate_sdk' .
> 2c fails as earlier stepd didn't build. I think the real
issue is
> step1b which says:
>
> | Compiler for C supports arguments
-Wdeclaration-after-statement: YES
> | Found pkg-config:

/home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/gstreamer1.0-plugins-base/1.16.1-r0/recipe-sysroot-native/usr/bin/pkg-config
(0.29.2)
> | Run-time dependency x11 found: YES 1.6.9
> | Run-time dependency glib-2.0 found: YES 2.62.4
> | Run-time dependency gobject-2.0 found: YES 2.62.4
> | Run-time dependency gio-2.0 found: YES 2.62.4
> | Run-time dependency gio-unix-2.0 found: YES 2.62.4
> | Run-time dependency gmodule-no-export-2.0 found: YES 2.62.4
> | Dependency gdk-pixbuf-2.0 skipped: feature examples disabled
> | Dependency gtk+-3.0 skipped: feature examples disabled
> | Dependency gtk+-x11-3.0 skipped: feature examples disabled
> | Run-time dependency gstreamer-1.0 found: YES 1.16.1
> | Run-time dependency gstreamer-base-1.0 found: YES 1.16.1
> | Run-time dependency gstreamer-net-1.0 found: YES 1.16.1
> | Found CMake: NO
> | Run-time dependency gstreamer-check-1.0 found: NO (tried
pkgconfig and cmake)
> | Looking for a fallback subproject for the dependency
gstreamer-check-1.0
> | Subproject directory not found and gstreamer.wrap file not
found
> | Subproject  subprojects/gstreamer is buildable: NO (disabling)
> | Dependency gstreamer-check-1.0 from subproject
subprojects/gstreamer found: NO
> |
> | meson.build:309:0: ERROR: Could not find dependency
gst_controller_dep in subproject gstreamer
> |
> | A full log can be found at

/home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/gstreamer1.0-plugins-base/1.16.1-r0/build/meson-logs/meson-log.txt
> | WARNING:

/home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/gstreamer1.0-plugins-base/1.16.1-r0/temp/run.do_configure.46093:1
exit 1 from 'exit 1'
> |
> NOTE: recipe gstreamer1.0-plugins-base-1.16.1-r0: task
do_configure: Failed
>
> | Compiler for C supports arguments
-Wdeclaration-after-statement: YES
> | Found pkg-config:

/home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/gstreamer1.0-plugins-base/1.16.1-r0/recipe-sysroot-native/usr/bin/pkg-config
(0.29.2)
> | Run-time dependency x11 found: YES 

Re: [OE-core] [PATCH 01/12] gstreamer: Add common .inc files for meson based recipes

2020-01-13 Thread Carlos Rafael Giani
Except that there is no such package. Also, even if I build GStreamer 
from scratch with all optional packageconfigs disabled, I do not get 
this error, nor do I get any warnings about potentially missing 
dependencies. So, I don't know what is going on here..


On 13.01.20 13:59, Richard Purdie wrote:

On Mon, 2020-01-13 at 13:55 +0100, Carlos Rafael Giani wrote:

Nope. This is an odd one. Are you sure there isn't a problem with
the
setup itself? In step2c, I see:

  > ERROR: core-image-sato-1.0-r0 do_testsdk: The toolchain
/home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-
glibc/deploy/sdk/oecore-i686-armv7vet2hf-neon-toolchain-
nodistro.0.sh
is not built. Build it before running the tests: 'bitbake  -c
populate_sdk' .

2c fails as earlier stepd didn't build. I think the real issue is
step1b which says:

| Compiler for C supports arguments -Wdeclaration-after-statement: YES
| Found pkg-config: 
/home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/gstreamer1.0-plugins-base/1.16.1-r0/recipe-sysroot-native/usr/bin/pkg-config
 (0.29.2)
| Run-time dependency x11 found: YES 1.6.9
| Run-time dependency glib-2.0 found: YES 2.62.4
| Run-time dependency gobject-2.0 found: YES 2.62.4
| Run-time dependency gio-2.0 found: YES 2.62.4
| Run-time dependency gio-unix-2.0 found: YES 2.62.4
| Run-time dependency gmodule-no-export-2.0 found: YES 2.62.4
| Dependency gdk-pixbuf-2.0 skipped: feature examples disabled
| Dependency gtk+-3.0 skipped: feature examples disabled
| Dependency gtk+-x11-3.0 skipped: feature examples disabled
| Run-time dependency gstreamer-1.0 found: YES 1.16.1
| Run-time dependency gstreamer-base-1.0 found: YES 1.16.1
| Run-time dependency gstreamer-net-1.0 found: YES 1.16.1
| Found CMake: NO
| Run-time dependency gstreamer-check-1.0 found: NO (tried pkgconfig and cmake)
| Looking for a fallback subproject for the dependency gstreamer-check-1.0
| Subproject directory not found and gstreamer.wrap file not found
| Subproject  subprojects/gstreamer is buildable: NO (disabling)
| Dependency gstreamer-check-1.0 from subproject subprojects/gstreamer found: NO
|
| meson.build:309:0: ERROR: Could not find dependency gst_controller_dep in 
subproject gstreamer
|
| A full log can be found at 
/home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/gstreamer1.0-plugins-base/1.16.1-r0/build/meson-logs/meson-log.txt
| WARNING: 
/home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/gstreamer1.0-plugins-base/1.16.1-r0/temp/run.do_configure.46093:1
 exit 1 from 'exit 1'
|
NOTE: recipe gstreamer1.0-plugins-base-1.16.1-r0: task do_configure: Failed

| Compiler for C supports arguments -Wdeclaration-after-statement: YES
| Found pkg-config: 
/home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/gstreamer1.0-plugins-base/1.16.1-r0/recipe-sysroot-native/usr/bin/pkg-config
 (0.29.2)
| Run-time dependency x11 found: YES 1.6.9
| Run-time dependency glib-2.0 found: YES 2.62.4
| Run-time dependency gobject-2.0 found: YES 2.62.4
| Run-time dependency gio-2.0 found: YES 2.62.4
| Run-time dependency gio-unix-2.0 found: YES 2.62.4
| Run-time dependency gmodule-no-export-2.0 found: YES 2.62.4
| Dependency gdk-pixbuf-2.0 skipped: feature examples disabled
| Dependency gtk+-3.0 skipped: feature examples disabled
| Dependency gtk+-x11-3.0 skipped: feature examples disabled
| Run-time dependency gstreamer-1.0 found: YES 1.16.1
| Run-time dependency gstreamer-base-1.0 found: YES 1.16.1
| Run-time dependency gstreamer-net-1.0 found: YES 1.16.1
| Found CMake: NO
| Run-time dependency gstreamer-check-1.0 found: NO (tried pkgconfig and cmake)
| Looking for a fallback subproject for the dependency gstreamer-check-1.0
| Subproject directory not found and gstreamer.wrap file not found
| Subproject  subprojects/gstreamer is buildable: NO (disabling)
| Dependency gstreamer-check-1.0 from subproject subprojects/gstreamer found: NO
|
| meson.build:309:0: ERROR: Could not find dependency gst_controller_dep in 
subproject gstreamer
|
| A full log can be found at 
/home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/gstreamer1.0-plugins-base/1.16.1-r0/build/meson-logs/meson-log.txt
| WARNING: 
/home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/gstreamer1.0-plugins-base/1.16.1-r0/temp/run.do_configure.46093:1
 exit 1 from 'exit 1'
|
NOTE: recipe gstreamer1.0-plugins-base-1.16.1-r0: task do_configure: Failed

missing a check dependency?

Cheers,

Richard



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


Re: [OE-core] [PATCH 04/12] gstreamer1.0-plugins-good: Transition to meson based builds

2020-01-13 Thread Carlos Rafael Giani
Actually, you have a point. I seem to have forgotten to fix this in this 
patch. With meson, it appears that the meta-qt5 bbappend is no longer 
necessary, since meson finds the Qt5 moc/rcc/uic tools on its own, so a 
packageconfig could be added right here. However, I'd like to 
investigate that moc/rcc/uic autodetection more to be sure it does not 
bring with it some "surprises" that could bite us in the behind when 
doing production builds.


On 13.01.20 01:52, Khem Raj wrote:

On Sun, Jan 12, 2020 at 6:33 AM Carlos Rafael Giani  wrote:

* Removed autotools/M4 related patch
   0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch.

* gtk-doc support is handled here, not in gstreamer1.0-plugins-common.inc,
 since unlike with autotools, only some plugin set packages use gtk-doc.

* zlib is no longer optional, and glib anyway depends on zlib, therefore
 it gets added to the DEPENDS list.

* gettext handling now part of gstreamer1.0-plugins-common.inc.

Signed-off-by: Carlos Rafael Giani 
---
  .../gstreamer1.0-plugins-good_1.16.1.bb   | 79 +--
  1 file changed, 38 insertions(+), 41 deletions(-)

diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.16.1.bb 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.16.1.bb
index 0fa7b86ffe..a6eb9986dd 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.16.1.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.16.1.bb
@@ -1,8 +1,7 @@
-require gstreamer1.0-plugins.inc
+require gstreamer1.0-plugins-common.inc

  SRC_URI = " \
  
https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-${PV}.tar.xz
 \
-
file://0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch \
  "

  SRC_URI[md5sum] = "515987ee763256840a11bd8ea098f2bf"
@@ -15,42 +14,41 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \
  
file://common/coverage/coverage-report.pl;beginline=2;endline=17;md5=a4e1830fce078028c8f0974161272607
 \
  
file://gst/replaygain/rganalysis.c;beginline=1;endline=23;md5=b60ebefd5b2f5a8e0cab6bfee391a5fe"

-DEPENDS += "gstreamer1.0-plugins-base libcap"
+DEPENDS += "gstreamer1.0-plugins-base libcap zlib"
  RPROVIDES_${PN}-pulseaudio += "${PN}-pulse"
  RPROVIDES_${PN}-soup += "${PN}-souphttpsrc"

-inherit gettext
-
  PACKAGECONFIG ??= " \
  ${GSTREAMER_ORC} \
  ${@bb.utils.filter('DISTRO_FEATURES', 'pulseaudio x11', d)} \
-bz2 cairo flac gdk-pixbuf gudev jpeg lame libpng mpg123 soup speex taglib 
v4l2 zlib \
+bz2 cairo flac gdk-pixbuf gudev jpeg lame libpng mpg123 soup speex taglib 
v4l2 \
  "

  X11DEPENDS = "virtual/libx11 libsm libxrender libxfixes libxdamage"
+X11ENABLEOPTS = "-Dximagesrc=enabled -Dximagesrc-xshm=enabled 
-Dximagesrc-xfixes=enabled -Dximagesrc-xdamage=enabled"
+X11DISABLEOPTS = "-Dximagesrc=disabled -Dximagesrc-xshm=disabled 
-Dximagesrc-xfixes=disabled -Dximagesrc-xdamage=disabled"

-PACKAGECONFIG[bz2]= "--enable-bz2,--disable-bz2,bzip2"
-PACKAGECONFIG[cairo]  = "--enable-cairo,--disable-cairo,cairo"
-PACKAGECONFIG[dv1394] = "--enable-dv1394,--disable-dv1394,libiec61883 
libavc1394 libraw1394"
-PACKAGECONFIG[flac]   = "--enable-flac,--disable-flac,flac"
-PACKAGECONFIG[gdk-pixbuf] = 
"--enable-gdk_pixbuf,--disable-gdk_pixbuf,gdk-pixbuf"
-PACKAGECONFIG[gtk]= "--enable-gtk3,--disable-gtk3,gtk+3"
-PACKAGECONFIG[gudev]  = "--with-gudev,--without-gudev,libgudev"
-PACKAGECONFIG[jack]   = "--enable-jack,--disable-jack,jack"
-PACKAGECONFIG[jpeg]   = "--enable-jpeg,--disable-jpeg,jpeg"
-PACKAGECONFIG[lame]   = "--enable-lame,--disable-lame,lame"
-PACKAGECONFIG[libpng] = "--enable-libpng,--disable-libpng,libpng"
-PACKAGECONFIG[libv4l2]= "--with-libv4l2,--without-libv4l2,v4l-utils"
-PACKAGECONFIG[mpg123] = "--enable-mpg123,--disable-mpg123,mpg123"
-PACKAGECONFIG[pulseaudio] = "--enable-pulse,--disable-pulse,pulseaudio"
-PACKAGECONFIG[soup]   = "--enable-soup,--disable-soup,libsoup-2.4"
-PACKAGECONFIG[speex]  = "--enable-speex,--disable-speex,speex"
-PACKAGECONFIG[taglib] = "--enable-taglib,--disable-taglib,taglib"
-PACKAGECONFIG[v4l2]   = "--enable-gst_v4l2 
--enable-v4l2-probe,--disable-gst_v4l2"
-PACKAGECONFIG[vpx]= "--enable-vpx,--disable-vpx,libvpx"
-PACKAGECONFIG[wavpack]= "--enable-wavpack,--disable-wavpack,wavpack"
-PACKAGECONFIG[x11]= "--enable-x,--disable-x,${X11DEPENDS}"
-PACKAGECONFIG[zlib]   = "--enable-zlib,--disable-zlib,zlib"
+PACKAGECONFIG[bz2]= "-Dbz2=enabled

Re: [OE-core] [PATCH 01/12] gstreamer: Add common .inc files for meson based recipes

2020-01-13 Thread Carlos Rafael Giani
Nope. This is an odd one. Are you sure there isn't a problem with the 
setup itself? In step2c, I see:


> ERROR: core-image-sato-1.0-r0 do_testsdk: The toolchain 
/home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/deploy/sdk/oecore-i686-armv7vet2hf-neon-toolchain-nodistro.0.sh 
is not built. Build it before running the tests: 'bitbake  -c 
populate_sdk' .


On 13.01.20 13:18, Richard Purdie wrote:

On Sun, 2020-01-12 at 14:59 +0100, Carlos Rafael Giani wrote:

* gstreamer1.0-plugins-common.inc
   The old gstreamer1.0-plugins.inc file, adapted for meson
* gstreamer1.0-plugins-packaging.inc
   The old gst-plugins-package.inc file, adapted for meson
* gstreamer1.0-ptest.inc
   Common code for meson based PTest support; autogenerates the run-ptest
   file and is designed to use the gnome-desktop-testing suite runner
   (which is why the .inc files inherits from ptest-gnome)

Signed-off-by: Carlos Rafael Giani 
---
  .../gstreamer/gstreamer1.0-plugins-common.inc | 47 +
  .../gstreamer1.0-plugins-packaging.inc| 70 +++
  .../gstreamer/gstreamer1.0-ptest.inc  | 21 ++
  3 files changed, 138 insertions(+)
  create mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-common.inc
  create mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-packaging.inc
  create mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-ptest.inc

Thanks for this, I know its not an easy patch set to sort out!

I ran it on the autobuilder for testing since there was bandwidth
available and there was one issue:

https://autobuilder.yoctoproject.org/typhoon/#/builders/47/builds/1455

which was in a plain OE-Core + bitbake build (no poky, so nodistro).

Any idea what is wrong there?

Cheers,

Richard


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


[OE-core] [PATCH 03/12] gstreamer1.0-plugins-base: Transition to meson based builds

2020-01-12 Thread Carlos Rafael Giani
* OpenGL packageconfigs now work differently. There are separate ones for
  OpenGL API/platform/window system selection. The meson.build script
  expects the selected ones as comma separated lists. For example, like
  "-Dgl_api=opengl,gles2". The variables OPENGL_APIS / OPENGL_PLATFORMS /
  OPENGL_WINSYS are whitespace-separated lists (which is the OE norm) of
  the respective packageconfigs. .bbappend files can then extend these
  lists with additional possible configs.
  "Possible" means that the target can support those packageconfigs. This
  does not immediately add them to the PACKAGECONFIG variable - this still
  has to be done manually. The get_opengl_cmdline_list() goes through these
  lists, and for each entry, checks if it is contained in the PACKAGECONFIG
  variable. If so, they get added to the comma separated lists that are
  passed to meson.
  For example, a Raspberry Pi layer could add "dispmanx" to OPENGL_WINSYS.

* The "ivorbis" packageconfig got renamed to "tremor", since that is the
  name of the OE recipe, and now also the name of the meson option.

* 0001-meson-build-gir-even-when-cross-compiling-if-introsp.patch and
  0002-meson-Add-variables-for-gir-files.patch are backported fixes for
  GIR support in the meson.build files.

* make-gio_unix_2_0-dependency-configurable.patch removed because it is
  no longer useful to have.

* link-with-libvchostif.patch removed because the flags it changed are
  no longer present in the meson.build scripts. If the related issue
  reappears, a similar patch can be applied again.

* 0003-riff-add-missing-include-directories-when-calling-in.patch removed
  since the entire gst riff library has been excluded from GObject
  introspection due to naming convention issues.

* Removed a number of autotool/M4 related patches and recipe lines.

* gtk-doc support is handled here, not in gstreamer1.0-plugins-common.inc,
  since unlike with autotools, only some plugin set packages use gtk-doc.

* zlib is no longer optional, and glib anyway depends on zlib, therefore
  it gets added to the DEPENDS list.

* gettext handling now part of gstreamer1.0-plugins-common.inc.

Signed-off-by: Carlos Rafael Giani 
---
 in-don-t-append-GL_CFLAGS-to-CFLAGS.patch |  29 --
 ...even-when-cross-compiling-if-introsp.patch |  36 +++
 ...ix-calls-to-pkg-config-with-PKG_CONF.patch | 295 --
 ...02-meson-Add-variables-for-gir-files.patch | 235 ++
 ...-include-directories-when-calling-in.patch |  26 --
 ...ect-reference-to-gstreamer-sdp-in-Ma.patch |  25 --
 .../link-with-libvchostif.patch   |  45 ---
 ...gio_unix_2_0-dependency-configurable.patch |  45 ---
 .../gstreamer1.0-plugins-base_1.16.1.bb   |  95 +++---
 9 files changed, 329 insertions(+), 502 deletions(-)
 delete mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-gstreamer-gl.pc.in-don-t-append-GL_CFLAGS-to-CFLAGS.patch
 create mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-meson-build-gir-even-when-cross-compiling-if-introsp.patch
 delete mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0002-Makefile.am-prefix-calls-to-pkg-config-with-PKG_CONF.patch
 create mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0002-meson-Add-variables-for-gir-files.patch
 delete mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0003-riff-add-missing-include-directories-when-calling-in.patch
 delete mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0004-rtsp-drop-incorrect-reference-to-gstreamer-sdp-in-Ma.patch
 delete mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/link-with-libvchostif.patch
 delete mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/make-gio_unix_2_0-dependency-configurable.patch

diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-gstreamer-gl.pc.in-don-t-append-GL_CFLAGS-to-CFLAGS.patch
 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-gstreamer-gl.pc.in-don-t-append-GL_CFLAGS-to-CFLAGS.patch
deleted file mode 100644
index 251dc172cb..00
--- 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-gstreamer-gl.pc.in-don-t-append-GL_CFLAGS-to-CFLAGS.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From 61a672e79c8cb1aeeeda4c968997c577ac73a8f3 Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin 
-Date: Fri, 12 May 2017 16:47:12 +0300
-Subject: [PATCH] gstreamer-gl.pc.in: don't append GL_CFLAGS to CFLAGS
-
-Dependencies' include directories should not be added in this way;
-it causes problems when cross-compiling in sysroot environments.
-
-Upstream-Status: Pending
-
-Signed-off-by: Alexander Kanavin 
-Signed-off-by: Maxin B. John 

- pkgconfig/gstreamer-gl.pc.in | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/pkgconfig/gstreamer-gl.pc.in b/pkgconfig

[OE-core] [PATCH 07/12] gstreamer1.0-libav: Transition to meson based builds

2020-01-12 Thread Carlos Rafael Giani
meson based builds exclusively rely on external FFmpeg builds. The internal
copy was added at a time when stable FFmpeg releases did not exist. They
do nowadays, so the internal copy is not needed anymore. As a result, large
portions of the recipe are unnecessary, since they set up the internal
copy. Same goes for the patches and the zlib/bzip2/xz dependendencies.

Signed-off-by: Carlos Rafael Giani 
---
 ...ble-yasm-for-libav-when-disable-yasm.patch | 33 --
 ...-configure-check-for-armv7ve-variant.patch | 35 ---
 .../0001-fix-host-contamination.patch | 36 ---
 .../mips64_cpu_detection.patch| 32 --
 ...to-build-gst-libav-for-i586-with-gcc.patch | 26 
 .../gstreamer/gstreamer1.0-libav_1.16.1.bb| 63 +--
 6 files changed, 14 insertions(+), 211 deletions(-)
 delete mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/0001-Disable-yasm-for-libav-when-disable-yasm.patch
 delete mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/0001-configure-check-for-armv7ve-variant.patch
 delete mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/0001-fix-host-contamination.patch
 delete mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/mips64_cpu_detection.patch
 delete mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/workaround-to-build-gst-libav-for-i586-with-gcc.patch

diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/0001-Disable-yasm-for-libav-when-disable-yasm.patch
 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/0001-Disable-yasm-for-libav-when-disable-yasm.patch
deleted file mode 100644
index 11571aefa1..00
--- 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/0001-Disable-yasm-for-libav-when-disable-yasm.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-From 54bba228ea52d01fd84941d97be23c03f9862b64 Mon Sep 17 00:00:00 2001
-From: Carlos Rafael Giani 
-Date: Sat, 6 Apr 2013 01:22:22 +0200
-Subject: [PATCH] Disable yasm for libav when --disable-yasm
-
-Upstream-Status: Inappropriate [configuration]
-
-Signed-off-by: Shane Wang 
-Signed-off-by: Carlos Rafael Giani 

- configure.ac | 4 
- 1 file changed, 4 insertions(+)
-
-diff --git a/configure.ac b/configure.ac
-index 22ede88..ef3c050 100644
 a/configure.ac
-+++ b/configure.ac
-@@ -355,6 +355,12 @@ else
- emblibav_configure_args="$emblibav_configure_args --enable-gpl"
-   fi
-
-+  AC_ARG_ENABLE(yasm,
-+  [AC_HELP_STRING([--disable-yasm], [disable use of yasm 
assembler])])
-+  if test "x$enable_yasm" = "xno"; then
-+emblibav_configure_args="$emblibav_configure_args --disable-yasm"
-+  fi
-+
-   # if we are cross-compiling, tell libav so
-   case $host in
-   *android*)
--- 
-1.8.2
-
diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/0001-configure-check-for-armv7ve-variant.patch
 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/0001-configure-check-for-armv7ve-variant.patch
deleted file mode 100644
index f182715bda..00
--- 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/0001-configure-check-for-armv7ve-variant.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-From aac5902d3c9cb35c771e760d0e487622aa2e116a Mon Sep 17 00:00:00 2001
-From: Khem Raj 
-Date: Thu, 20 Apr 2017 10:38:18 -0700
-Subject: [PATCH] configure: check for armv7ve variant
-
-OE passes -mcpu and -march via cmdline and if
-package tries to detect one of it own then it
-should be compatible otherwise, newer gcc7+ will
-error out
-
-Check for relevant preprocessor macro to determine
-armv7ve architecture
-
-Upstream-Status: Pending
-
-Signed-off-by: Khem Raj 

- gst-libs/ext/libav/configure | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/gst-libs/ext/libav/configure b/gst-libs/ext/libav/configure
-index 4a5e477..727818e 100755
 a/gst-libs/ext/libav/configure
-+++ b/gst-libs/ext/libav/configure
-@@ -4745,6 +4745,7 @@ elif enabled arm; then
- elif check_arm_arch 6KZ;  then echo armv6zk
- elif check_arm_arch 6ZK;  then echo armv6zk
- elif check_arm_arch 6T2;  then echo armv6t2
-+elif check_arm_arch EXT_IDIV; then echo armv7ve
- elif check_arm_arch 7;then echo armv7
- elif check_arm_arch 7A  7_A;  then echo armv7-a
- elif check_arm_arch 7S;   then echo armv7-a
--- 
-2.12.2
-
diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/0001-fix-host-contamination.patch
 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/0001-fix-host-contamination.patch
deleted file mode 100644
index 120c0798ea..00
--- 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/0001-fix-host-contamination.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-From c1700f867f876ee33c130a8e28b688e2b1d89663 Mon Sep 17 00:00:00 2001
-From: Anuj Mittal 
-Date: Wed, 11 Apr 2018 17:14:55 +0800
-Subject: [PATCH] Prevent host contamination
-
-Remove re

[OE-core] [PATCH 12/12] gstreamer: Remove unused common files and patches

2020-01-12 Thread Carlos Rafael Giani
gst-plugins-package.inc gstreamer1.0-plugins.inc got replaced by
gstreamer1.0-plugins-packaging.inc and gstreamer1.0-plugins-common.inc,
respectively.

Signed-off-by: Carlos Rafael Giani 
---
 ...-prefix-pkgconfig-paths-with-PKG_CON.patch | 40 ---
 .../files/add-a-target-to-compile-tests.patch | 69 ---
 .../gstreamer/files/gtk-doc-tweaks.patch  | 47 -
 .../gstreamer/files/run-ptest |  3 -
 .../gstreamer/gst-plugins-package.inc | 56 ---
 .../gstreamer/gstreamer1.0-plugins.inc| 41 ---
 6 files changed, 256 deletions(-)
 delete mode 100644 
meta/recipes-multimedia/gstreamer/files/0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch
 delete mode 100644 
meta/recipes-multimedia/gstreamer/files/add-a-target-to-compile-tests.patch
 delete mode 100644 meta/recipes-multimedia/gstreamer/files/gtk-doc-tweaks.patch
 delete mode 100644 meta/recipes-multimedia/gstreamer/files/run-ptest
 delete mode 100644 meta/recipes-multimedia/gstreamer/gst-plugins-package.inc
 delete mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins.inc

diff --git 
a/meta/recipes-multimedia/gstreamer/files/0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch
 
b/meta/recipes-multimedia/gstreamer/files/0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch
deleted file mode 100644
index 1b7f115083..00
--- 
a/meta/recipes-multimedia/gstreamer/files/0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-From 2b0436f9a07773fae8c74df902d7024e8bfc3512 Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin 
-Date: Tue, 24 Nov 2015 16:46:27 +0200
-Subject: [PATCH] introspection.m4: prefix pkgconfig paths with
- PKG_CONFIG_SYSROOT_DIR
-
-We can't use our tweaked introspection.m4 from gobject-introspection tarball
-because gstreamer also defines INTROSPECTION_INIT in its introspection.m4, 
which
-is later supplied to g-ir-scanner.
-
-Upstream-Status: Pending [review on oe-core list]
-Signed-off-by: Alexander Kanavin 
-

- common/m4/introspection.m4 | 8 
- 1 file changed, 4 insertions(+), 4 deletions(-)
-
-diff --git a/common/m4/introspection.m4 b/common/m4/introspection.m4
-index 162be57..933f979 100644
 a/common/m4/introspection.m4
-+++ b/common/m4/introspection.m4
-@@ -54,14 +54,14 @@ m4_define([_GOBJECT_INTROSPECTION_CHECK_INTERNAL],
- INTROSPECTION_GIRDIR=
- INTROSPECTION_TYPELIBDIR=
- if test "x$found_introspection" = "xyes"; then
--   INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner 
gobject-introspection-1.0`
--   INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler 
gobject-introspection-1.0`
--   INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate 
gobject-introspection-1.0`
-+   INTROSPECTION_SCANNER=$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG 
--variable=g_ir_scanner gobject-introspection-1.0`
-+   INTROSPECTION_COMPILER=$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG 
--variable=g_ir_compiler gobject-introspection-1.0`
-+   INTROSPECTION_GENERATE=$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG 
--variable=g_ir_generate gobject-introspection-1.0`
-INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir 
gobject-introspection-1.0`
-INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir 
gobject-introspection-1.0)"
-INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
-INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
--   INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir 
gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
-+   INTROSPECTION_MAKEFILE=$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG 
--variable=datadir 
gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
-INTROSPECTION_INIT="extern void gst_init(gint*,gchar**); 
gst_init(NULL,NULL);"
- fi
- AC_SUBST(INTROSPECTION_SCANNER)
diff --git 
a/meta/recipes-multimedia/gstreamer/files/add-a-target-to-compile-tests.patch 
b/meta/recipes-multimedia/gstreamer/files/add-a-target-to-compile-tests.patch
deleted file mode 100644
index d02d869410..00
--- 
a/meta/recipes-multimedia/gstreamer/files/add-a-target-to-compile-tests.patch
+++ /dev/null
@@ -1,69 +0,0 @@
-From d61414bc17cf2df019510c2908048c4cabf5cf09 Mon Sep 17 00:00:00 2001
-From: Anuj Mittal 
-Date: Tue, 27 Feb 2018 09:27:01 +0800
-Subject: [PATCH] add targets for test installation
-
-Targets to make sure tests can be installed and then run on
-the target.
-
-Upstream-Status: Inappropriate [specific to oe setup]
-
-Signed-off-by: Anuj Mittal 
-

- tests/check/Makefile.am | 27 ---
- 1 file changed, 20 insertions(+), 7 deletions(-)
-
-diff --git a/tests/check/Makefile.am b/tests/check/Makefile.am
-index 13b916d..a66786d 100644
 a/tests/check/Makefile.am
-+++ b/tests/check/Makefile.am
-@@ -8,11 +8,7 @@ REGIS

[OE-core] [PATCH 05/12] gstreamer1.0-plugins-bad: Transition to meson based builds

2020-01-12 Thread Carlos Rafael Giani
* Removed autotools/M4 related patch
  0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch.

* configure-allow-to-disable-libssh2.patch got replaced by the
  -Dcurl-ssh2 option.

* 0001-meson-build-gir-even-when-cross-compiling-if-introsp.patch is a
  fix for GIR support in the meson.build file.

* New "closedcaption" packageconfigs added.

* Removed "flite" packageconfig since flite-alsa was removed from
  meta-openembedded due it being old and abandoned.

* gettext handling now part of gstreamer1.0-plugins-common.inc.
---
 ...even-when-cross-compiling-if-introsp.patch |  36 +++
 .../configure-allow-to-disable-libssh2.patch  |  61 -
 .../gstreamer1.0-plugins-bad_1.16.1.bb| 209 +-
 3 files changed, 141 insertions(+), 165 deletions(-)
 create mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-meson-build-gir-even-when-cross-compiling-if-introsp.patch
 delete mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/configure-allow-to-disable-libssh2.patch

diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-meson-build-gir-even-when-cross-compiling-if-introsp.patch
 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-meson-build-gir-even-when-cross-compiling-if-introsp.patch
new file mode 100644
index 00..1321852023
--- /dev/null
+++ 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-meson-build-gir-even-when-cross-compiling-if-introsp.patch
@@ -0,0 +1,36 @@
+From 97a4d0cd7de8cfbf983acc7e37ba2f8fb73c3e19 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= 
+Date: Fri, 18 Oct 2019 00:39:12 +0100
+Subject: [PATCH 1/2] meson: build gir even when cross-compiling if
+ introspection was enabled explicitly
+
+This can be made to work in certain circumstances when
+cross-compiling, so default to not building g-i stuff
+when cross-compiling, but allow it if introspection was
+enabled explicitly via -Dintrospection=enabled.
+
+See gstreamer/gstreamer#454 and gstreamer/gstreamer#381.
+
+Upstream-Status: Backport [97a4d0cd7de8cfbf983acc7e37ba2f8fb73c3e19]
+
+Signed-off-by: Carlos Rafael Giani 
+---
+ meson.build | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/meson.build b/meson.build
+index 67aeeb4d0..7b3314bd9 100644
+--- a/meson.build
 b/meson.build
+@@ -411,7 +411,7 @@ python3 = import('python').find_installation()
+ 
+ gir = find_program('g-ir-scanner', required : get_option('introspection'))
+ gnome = import('gnome')
+-build_gir = gir.found() and not meson.is_cross_build()
++build_gir = gir.found() and (not meson.is_cross_build() or 
get_option('introspection').enabled())
+ gir_init_section = [ '--add-init-section=extern void 
gst_init(gint*,gchar**);' + \
+ 'g_setenv("GST_REGISTRY_1.0", "@0@", 
TRUE);'.format(meson.current_build_dir() + '/gir_empty_registry.reg') + \
+ 'g_setenv("GST_PLUGIN_PATH_1_0", "", TRUE);' + \
+-- 
+2.17.1
+
diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/configure-allow-to-disable-libssh2.patch
 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/configure-allow-to-disable-libssh2.patch
deleted file mode 100644
index 25861b6b9d..00
--- 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/configure-allow-to-disable-libssh2.patch
+++ /dev/null
@@ -1,61 +0,0 @@
-From f59c5269f92d59a5296cbfeeb682d42095cd88ad Mon Sep 17 00:00:00 2001
-From: Wenzong Fan 
-Date: Thu, 18 Sep 2014 02:24:07 -0400
-Subject: [PATCH] gstreamer1.0-plugins-bad: allow to disable libssh2
-
-libssh2 is automatically linked to if present, this undetermined
-dependency may cause build errors like:
-
-  .../x86_64-poky-linux/4.9.0/ld: cannot find -lssh2
-
-libssh2 isn't an oe-core recipe, so allow to disable it from
-configure.
-
-Upstream-Status: Pending
-
-Signed-off-by: Wenzong Fan 

- configure.ac |   23 +--
- 1 file changed, 17 insertions(+), 6 deletions(-)
-
-Index: gst-plugins-bad-1.12.3/configure.ac
-===
 gst-plugins-bad-1.12.3.orig/configure.ac
-+++ gst-plugins-bad-1.12.3/configure.ac
-@@ -1202,6 +1202,15 @@ AG_GST_CHECK_FEATURE(CHROMAPRINT, [chrom
- ])
- 
- dnl *** Curl ***
-+AC_ARG_ENABLE([libssh2],
-+ [  --enable-libssh2  enable LIBSSH2 support 
@<:@default=auto@:>@],
-+ [case "${enableval}" in
-+   yes)  NEED_SSH2=yes ;;
-+   no)   NEED_SSH2=no ;;
-+   auto) NEED_SSH2=auto ;;
-+   *) AC_MSG_ERROR([bad value ${enableval} for --enable-libssh2]) ;;
-+ esac],[NEED_SSH2=auto])
-+
- translit(dnm, m, l) AM_CONDITIONAL(USE_CURL, true)
- AG_GST_CHECK_FEATURE(CURL, [Curl plugin], curl, [
-   PKG_CHECK_MODULES(CURL, libcurl >= 7.35.0, [
-@@ -1224,12 +1233,14 @@ AG_GST_CHECK_FEATURE(CURL, [Curl plugin]
-   ])
-   AC_SUBST(CURL_CFLAGS)
-   AC_SUBST(CURL_LIBS)
--  PK

[OE-core] [PATCH 06/12] gstreamer1.0-plugins-ugly: Transition to meson based builds

2020-01-12 Thread Carlos Rafael Giani
* Removed autotools/M4 related patch
  0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch.

* gettext handling now part of gstreamer1.0-plugins-common.inc.

Signed-off-by: Carlos Rafael Giani 
---
 .../gstreamer1.0-plugins-ugly_1.16.1.bb   | 23 +--
 1 file changed, 11 insertions(+), 12 deletions(-)

diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.16.1.bb 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.16.1.bb
index ecab318899..30961d0e02 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.16.1.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.16.1.bb
@@ -1,4 +1,4 @@
-require gstreamer1.0-plugins.inc
+require gstreamer1.0-plugins-common.inc
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \
 
file://tests/check/elements/xingmux.c;beginline=1;endline=21;md5=4c771b8af188724855cb99cadd390068"
@@ -8,7 +8,6 @@ LICENSE_FLAGS = "commercial"
 
 SRC_URI = " \
 
https://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-${PV}.tar.xz
 \
-
file://0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch \
 "
 SRC_URI[md5sum] = "668795903cb4971fba9aa89abdea8369"
 SRC_URI[sha256sum] = 
"4bf913b2ca5195ac3b53b5e3ade2dc7c45d2258507552ddc850c5fa425968a1d"
@@ -17,23 +16,23 @@ S = "${WORKDIR}/gst-plugins-ugly-${PV}"
 
 DEPENDS += "gstreamer1.0-plugins-base"
 
-inherit gettext
+GST_PLUGIN_SET_HAS_EXAMPLES = "0"
 
 PACKAGECONFIG ??= " \
 ${GSTREAMER_ORC} \
 a52dec mpeg2dec \
 "
 
-PACKAGECONFIG[a52dec]   = "--enable-a52dec,--disable-a52dec,liba52"
-PACKAGECONFIG[amrnb]= "--enable-amrnb,--disable-amrnb,opencore-amr"
-PACKAGECONFIG[amrwb]= "--enable-amrwb,--disable-amrwb,opencore-amr"
-PACKAGECONFIG[cdio] = "--enable-cdio,--disable-cdio,libcdio"
-PACKAGECONFIG[dvdread]  = "--enable-dvdread,--disable-dvdread,libdvdread"
-PACKAGECONFIG[mpeg2dec] = "--enable-mpeg2dec,--disable-mpeg2dec,mpeg2dec"
-PACKAGECONFIG[x264] = "--enable-x264,--disable-x264,x264"
+PACKAGECONFIG[a52dec]   = "-Da52dec=enabled,-Da52dec=disabled,liba52"
+PACKAGECONFIG[amrnb]= "-Damrnb=enabled,-Damrnb=disabled,opencore-amr"
+PACKAGECONFIG[amrwb]= "-Damrwbdec=enabled,-Damrwbdec=disabled,opencore-amr"
+PACKAGECONFIG[cdio] = "-Dcdio=enabled,-Dcdio=disabled,libcdio"
+PACKAGECONFIG[dvdread]  = "-Ddvdread=enabled,-Ddvdread=disabled,libdvdread"
+PACKAGECONFIG[mpeg2dec] = "-Dmpeg2dec=enabled,-Dmpeg2dec=disabled,mpeg2dec"
+PACKAGECONFIG[x264] = "-Dx264=enabled,-Dx264=disabled,x264"
 
-EXTRA_OECONF += " \
---disable-sidplay \
+EXTRA_OEMESON += " \
+-Dsidplay=disabled \
 "
 
 FILES_${PN}-amrnb += "${datadir}/gstreamer-1.0/presets/GstAmrnbEnc.prs"
-- 
2.17.1

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


[OE-core] [PATCH 10/12] gstreamer1.0-rtsp-server: Transition to meson based build

2020-01-12 Thread Carlos Rafael Giani
* 0001-meson-build-gir-even-when-cross-compiling-if-introsp.patch is a
  fix for GIR support in the meson.build file.

Signed-off-by: Carlos Rafael Giani 
---
 ...even-when-cross-compiling-if-introsp.patch | 36 +++
 .../gstreamer1.0-rtsp-server_1.16.1.bb| 23 ++--
 2 files changed, 46 insertions(+), 13 deletions(-)
 create mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server/0001-meson-build-gir-even-when-cross-compiling-if-introsp.patch

diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server/0001-meson-build-gir-even-when-cross-compiling-if-introsp.patch
 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server/0001-meson-build-gir-even-when-cross-compiling-if-introsp.patch
new file mode 100644
index 00..6962a50d6e
--- /dev/null
+++ 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server/0001-meson-build-gir-even-when-cross-compiling-if-introsp.patch
@@ -0,0 +1,36 @@
+From 95ce953e34cd0e9f5d42ce7900a9572e7bc8ca47 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= 
+Date: Fri, 18 Oct 2019 00:42:12 +0100
+Subject: [PATCH] meson: build gir even when cross-compiling if introspection
+ was enabled explicitly
+
+This can be made to work in certain circumstances when
+cross-compiling, so default to not building g-i stuff
+when cross-compiling, but allow it if introspection was
+enabled explicitly via -Dintrospection=enabled.
+
+See gstreamer/gstreamer#454 and gstreamer/gstreamer#381.
+
+Upstream-Status: Backport [95ce953e34cd0e9f5d42ce7900a9572e7bc8ca47]
+
+Signed-off-by: Carlos Rafael Giani 
+---
+ meson.build | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/meson.build b/meson.build
+index e1e3b1d..3f45f0e 100644
+--- a/meson.build
 b/meson.build
+@@ -173,7 +173,7 @@ endif
+ 
+ gir = find_program('g-ir-scanner', required : get_option('introspection'))
+ gnome = import('gnome')
+-build_gir = gir.found() and not meson.is_cross_build()
++build_gir = gir.found() and (not meson.is_cross_build() or 
get_option('introspection').enabled())
+ gir_init_section = [ '--add-init-section=extern void 
gst_init(gint*,gchar**);' + \
+ 'g_setenv("GST_REGISTRY_1.0", "@0@", 
TRUE);'.format(meson.current_build_dir() + '/gir_empty_registry.reg') + \
+ 'g_setenv("GST_PLUGIN_PATH_1_0", "", TRUE);' + \
+-- 
+2.17.1
+
diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.16.1.bb 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.16.1.bb
index 45302ef4f6..deac5a9664 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.16.1.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.16.1.bb
@@ -9,8 +9,7 @@ DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base"
 PNREAL = "gst-rtsp-server"
 
 SRC_URI = 
"https://gstreamer.freedesktop.org/src/${PNREAL}/${PNREAL}-${PV}.tar.xz \
-   
file://0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch \
-   file://gtk-doc-tweaks.patch \
+   
file://0001-meson-build-gir-even-when-cross-compiling-if-introsp.patch \
"
 
 SRC_URI[md5sum] = "380d6a42e856c32fcefa508ad57129e0"
@@ -18,17 +17,15 @@ SRC_URI[sha256sum] = 
"b0abacad2f86f60d63781d2b24443c5668733e8b08664bbef94124906d
 
 S = "${WORKDIR}/${PNREAL}-${PV}"
 
-inherit autotools pkgconfig upstream-version-is-even gobject-introspection 
gtk-doc
+inherit meson pkgconfig upstream-version-is-even gobject-introspection
 
-EXTRA_OECONF = "--disable-examples --disable-tests"
+EXTRA_OEMESON += " \
+-Dexamples=disabled \
+-Dtests=disabled \
+"
 
-# Starting with 1.8.0 gst-rtsp-server includes dependency-less plugins as well
-LIBV = "1.0"
-require gst-plugins-package.inc
-
-delete_pkg_m4_file() {
-# This m4 file is out of date and is missing PKG_CONFIG_SYSROOT_PATH 
tweaks which we need for introspection
-rm "${S}/common/m4/pkg.m4" || true
-}
+GIR_MESON_ENABLE_FLAG = "enabled"
+GIR_MESON_DISABLE_FLAG = "disabled"
 
-do_configure[prefuncs] += " delete_pkg_m4_file"
+# Starting with 1.8.0 gst-rtsp-server includes dependency-less plugins as well
+require gstreamer1.0-plugins-packaging.inc
-- 
2.17.1

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


[OE-core] [PATCH 11/12] gst-validate: Move recipe specific patch to dedicated subdirectory

2020-01-12 Thread Carlos Rafael Giani
This does not belong in files/, since that subdirectory is where patches
that aren't recipe specific are located. This patch however is gst-validate
specific.

Signed-off-by: Carlos Rafael Giani 
---
 .../0001-connect-has-a-different-signature-on-musl.patch  | 0
 1 file changed, 0 insertions(+), 0 deletions(-)
 rename meta/recipes-multimedia/gstreamer/{files => 
gst-validate}/0001-connect-has-a-different-signature-on-musl.patch (100%)

diff --git 
a/meta/recipes-multimedia/gstreamer/files/0001-connect-has-a-different-signature-on-musl.patch
 
b/meta/recipes-multimedia/gstreamer/gst-validate/0001-connect-has-a-different-signature-on-musl.patch
similarity index 100%
rename from 
meta/recipes-multimedia/gstreamer/files/0001-connect-has-a-different-signature-on-musl.patch
rename to 
meta/recipes-multimedia/gstreamer/gst-validate/0001-connect-has-a-different-signature-on-musl.patch
-- 
2.17.1

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


[OE-core] [PATCH 02/12] gstreamer1.0: Transition to meson based builds

2020-01-12 Thread Carlos Rafael Giani
* Moved 0001-gst-gstpluginloader.c-when-env-var-is-set-do-not-fal.patch
  from files/ to gstreamer1.0/ since it is gstreamer1.0 recipe specific.

* Removed M4 specific patches:
  - 0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch
  - gtk-doc-tweaks.patch
  - add-a-target-to-compile-tests.patch

* Added patches:
  - 0001-meson-build-gir-even-when-cross-compiling-if-introsp.patch
Backport for enabling GIR support in meson based cross compilation
  - 0002-meson-Add-valgrind-feature.patch
Make valgrind support configurable to be able to control it through
a "valgrind" packageconfig
  - 0003-meson-Add-option-for-installed-tests.patch
Add support for installable tests and for generating .test and shell
scripts which can be used with the gnome-desktop-testing suite runner

* PTest support:
  By default, GStreamer does not allow for installing tests, and requires
  meson to run its unit tests. The 0003 patch fixes this by installing
  the binaries themselves and by generating accompanying .test and shell
  scripts. The scripts set up the required environment files and then
  call the test binaries. The .test file list the shell scripts as
  Exec= command line.

Signed-off-by: Carlos Rafael Giani 
---
 ...der.c-when-env-var-is-set-do-not-fal.patch |   0
 ...even-when-cross-compiling-if-introsp.patch |  36 +++
 .../0003-meson-Add-valgrind-feature.patch |  74 +
 ...meson-Add-option-for-installed-tests.patch | 257 ++
 .../gstreamer/gstreamer1.0_1.16.1.bb  |  93 +++
 5 files changed, 404 insertions(+), 56 deletions(-)
 rename meta/recipes-multimedia/gstreamer/{files => 
gstreamer1.0}/0001-gst-gstpluginloader.c-when-env-var-is-set-do-not-fal.patch 
(100%)
 create mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0/0002-meson-build-gir-even-when-cross-compiling-if-introsp.patch
 create mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0/0003-meson-Add-valgrind-feature.patch
 create mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0/0004-meson-Add-option-for-installed-tests.patch

diff --git 
a/meta/recipes-multimedia/gstreamer/files/0001-gst-gstpluginloader.c-when-env-var-is-set-do-not-fal.patch
 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0/0001-gst-gstpluginloader.c-when-env-var-is-set-do-not-fal.patch
similarity index 100%
rename from 
meta/recipes-multimedia/gstreamer/files/0001-gst-gstpluginloader.c-when-env-var-is-set-do-not-fal.patch
rename to 
meta/recipes-multimedia/gstreamer/gstreamer1.0/0001-gst-gstpluginloader.c-when-env-var-is-set-do-not-fal.patch
diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0/0002-meson-build-gir-even-when-cross-compiling-if-introsp.patch
 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0/0002-meson-build-gir-even-when-cross-compiling-if-introsp.patch
new file mode 100644
index 00..1ed7198a5c
--- /dev/null
+++ 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0/0002-meson-build-gir-even-when-cross-compiling-if-introsp.patch
@@ -0,0 +1,36 @@
+From 35db4a2433fbdf8612cf98b5aab5b14aeb5372f8 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= 
+Date: Thu, 17 Oct 2019 12:13:35 +0100
+Subject: [PATCH] meson: build gir even when cross-compiling if introspection
+ was enabled explicitly
+
+This can be made to work in certain circumstances when
+cross-compiling, so default to not building g-i stuff
+when cross-compiling, but allow it if introspection was
+enabled explicitly via -Dintrospection=enabled.
+
+Fixes #454 and #381.
+
+Upstream-Status: Backport [35db4a2433fbdf8612cf98b5aab5b14aeb5372f8]
+
+Signed-off-by: Carlos Rafael Giani 
+---
+ meson.build | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/meson.build b/meson.build
+index 90d98d8eb..a47e7f34e 100644
+--- a/meson.build
 b/meson.build
+@@ -466,7 +466,7 @@ rt_lib = cc.find_library('rt', required : false)
+ gir = find_program('g-ir-scanner', required : get_option('introspection'))
+ gnome = import('gnome')
+ 
+-build_gir = gir.found() and not meson.is_cross_build()
++build_gir = gir.found() and (not meson.is_cross_build() or 
get_option('introspection').enabled())
+ 
+ gir_init_section = [ '--add-init-section=extern void 
gst_init(gint*,gchar**);' + \
+ 'g_setenv("GST_REGISTRY_DISABLE", "yes", TRUE);' + \
+-- 
+2.17.1
+
diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0/0003-meson-Add-valgrind-feature.patch
 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0/0003-meson-Add-valgrind-feature.patch
new file mode 100644
index 00..f553340f4d
--- /dev/null
+++ 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0/0003-meson-Add-valgrind-feature.patch
@@ -0,0 +1,74 @@
+From f6c7973c03d9ba7dab60c496e768c5e6c4ee824c Mon Sep 17 00:00:00 2001
+From: Carlos Rafael Giani 
+Date: Sun, 20 Oct 2019 10:36:44 +0200
+Subject: [PATCH] meson: Add valgrind feature
+
+This allows for enabling/disabling Valgrind support. Since Valgrind is
+an external dep

[OE-core] [PATCH 08/12] gstreamer1.0-vaapi: Transition to meson based builds

2020-01-12 Thread Carlos Rafael Giani
* Removed autotools/M4 related patch
  0001-gst-vaapi-Makefile.am-Add-EGL_CFLAGS-to-libgstvaapi-.patch.

Signed-off-by: Carlos Rafael Giani 
---
 ...le.am-Add-EGL_CFLAGS-to-libgstvaapi-.patch | 33 ---
 .../gstreamer/gstreamer1.0-vaapi_1.16.1.bb| 26 ++-
 2 files changed, 17 insertions(+), 42 deletions(-)
 delete mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi/0001-gst-vaapi-Makefile.am-Add-EGL_CFLAGS-to-libgstvaapi-.patch

diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi/0001-gst-vaapi-Makefile.am-Add-EGL_CFLAGS-to-libgstvaapi-.patch
 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi/0001-gst-vaapi-Makefile.am-Add-EGL_CFLAGS-to-libgstvaapi-.patch
deleted file mode 100644
index d7b8984953..00
--- 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi/0001-gst-vaapi-Makefile.am-Add-EGL_CFLAGS-to-libgstvaapi-.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-From 5403a89e6a7ac72a23e0221075c0c19b5f85a021 Mon Sep 17 00:00:00 2001
-From: Fabio Berton 
-Date: Wed, 13 Jun 2018 09:09:25 -0300
-Subject: [PATCH] gst/vaapi/Makefile.am: Add EGL_CFLAGS to libgstvaapi CFLAGS
-Organization: O.S. Systems Software LTDA.
-
-We need this to pass correctly EGL CFLAGS when building with EGL support.
-
-Upstream-Status: Pending
-
-Signed-off-by: Fabio Berton 

- gst/vaapi/Makefile.am | 4 
- 1 file changed, 4 insertions(+)
-
-diff --git a/gst/vaapi/Makefile.am b/gst/vaapi/Makefile.am
-index b299ac98..d6cab71f 100644
 a/gst/vaapi/Makefile.am
-+++ b/gst/vaapi/Makefile.am
-@@ -24,6 +24,10 @@ libgstvaapi_LIBS += 
$(top_builddir)/gst-libs/gst/vaapi/libgstvaapi-glx.la
- endif
- 
- if USE_EGL
-+libgstvaapi_CFLAGS += \
-+  $(EGL_CFLAGS)   \
-+  $(NULL)
-+
- libgstvaapi_LIBS += $(top_builddir)/gst-libs/gst/vaapi/libgstvaapi-egl.la
- endif
- 
--- 
-2.17.1
-
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.16.1.bb 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.16.1.bb
index b8c2126d9b..a78807cc19 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.16.1.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.16.1.bb
@@ -9,7 +9,6 @@ LICENSE = "LGPLv2.1+"
 LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c"
 
 SRC_URI = 
"https://gstreamer.freedesktop.org/src/${REALPN}/${REALPN}-${PV}.tar.xz \
-   
file://0001-gst-vaapi-Makefile.am-Add-EGL_CFLAGS-to-libgstvaapi-.patch \
file://0001-vaapsink-downgrade-to-marginal.patch \
"
 
@@ -19,10 +18,18 @@ SRC_URI[sha256sum] = 
"cb570f6f1e78cb364fbe3c4fb8751824ee9db0c942ba61b62380b9b5ab
 S = "${WORKDIR}/${REALPN}-${PV}"
 DEPENDS = "libva gstreamer1.0 gstreamer1.0-plugins-base 
gstreamer1.0-plugins-bad"
 
-inherit autotools pkgconfig gtk-doc features_check upstream-version-is-even
+inherit meson pkgconfig gtk-doc features_check upstream-version-is-even
 
 REQUIRED_DISTRO_FEATURES ?= "opengl"
 
+EXTRA_OEMESON += " \
+-Dexamples=disabled \
+"
+
+GTKDOC_MESON_OPTION = "gtk_doc"
+GTKDOC_MESON_ENABLE_FLAG = "enabled"
+GTKDOC_MESON_DISABLE_FLAG = "disabled"
+
 PACKAGES =+ "${PN}-tests"
 
 # OpenGL packageconfig factored out to make it easy for distros
@@ -33,17 +40,18 @@ PACKAGECONFIG_GL ?= 
"${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'glx'
 bb.utils.contains('DISTRO_FEATURES', 'opengl', 
'egl', \
'', d), 
d)}"
 
-PACKAGECONFIG ??= "drm \
+PACKAGECONFIG ??= "drm encoders \
${PACKAGECONFIG_GL} \
${@bb.utils.filter('DISTRO_FEATURES', 'wayland x11', d)}"
 
-PACKAGECONFIG[drm] = "--enable-drm,--disable-drm,udev libdrm"
-PACKAGECONFIG[egl] = "--enable-egl,--disable-egl,virtual/egl"
-PACKAGECONFIG[glx] = "--enable-glx,--disable-glx,virtual/libgl"
-PACKAGECONFIG[wayland] = "--enable-wayland,--disable-wayland,wayland-native 
wayland wayland-protocols"
-PACKAGECONFIG[x11] = "--enable-x11,--disable-x11,virtual/libx11 libxrandr 
libxrender"
+PACKAGECONFIG[drm] = "-Dwith_drm=yes,-Dwith_drm=no,udev libdrm"
+PACKAGECONFIG[egl] = "-Dwith_egl=yes,-Dwith_egl=no,virtual/egl"
+PACKAGECONFIG[encoders] = "-Dwith_encoders=yes,-Dwith_encoders=no"
+PACKAGECONFIG[glx] = "-Dwith_glx=yes,-Dwith_glx=no,virtual/libgl"
+PACKAGECONFIG[wayland] = "-Dwith_wayland=yes,-Dwith_wayland=no,wayland-native 
wayland wayland-protocols"
+PACKAGECONFIG[x11] = "-Dwith_x11=yes,-Dwith_x11=no,virtual/libx11 libxrandr 
libxrender"
 
 FILES_${PN} += "${libdir}/gstreamer-*/*.so"
 FILES_${PN}-dbg += "${libdir}/gstreamer-*/.debug"
-FILES_${PN}-dev += "${libdir}/gstreamer-*/*.la ${libdir}/gstreamer-*/*.a"
+FILES_${PN}-dev += "${libdir}/gstreamer-*/*.a"
 FILES_${PN}-tests = "${bindir}/*"
-- 
2.17.1

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


[OE-core] [PATCH 04/12] gstreamer1.0-plugins-good: Transition to meson based builds

2020-01-12 Thread Carlos Rafael Giani
* Removed autotools/M4 related patch
  0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch.

* gtk-doc support is handled here, not in gstreamer1.0-plugins-common.inc,
since unlike with autotools, only some plugin set packages use gtk-doc.

* zlib is no longer optional, and glib anyway depends on zlib, therefore
it gets added to the DEPENDS list.

* gettext handling now part of gstreamer1.0-plugins-common.inc.

Signed-off-by: Carlos Rafael Giani 
---
 .../gstreamer1.0-plugins-good_1.16.1.bb   | 79 +--
 1 file changed, 38 insertions(+), 41 deletions(-)

diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.16.1.bb 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.16.1.bb
index 0fa7b86ffe..a6eb9986dd 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.16.1.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.16.1.bb
@@ -1,8 +1,7 @@
-require gstreamer1.0-plugins.inc
+require gstreamer1.0-plugins-common.inc
 
 SRC_URI = " \
 
https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-${PV}.tar.xz
 \
-
file://0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch \
 "
 
 SRC_URI[md5sum] = "515987ee763256840a11bd8ea098f2bf"
@@ -15,42 +14,41 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \
 
file://common/coverage/coverage-report.pl;beginline=2;endline=17;md5=a4e1830fce078028c8f0974161272607
 \
 
file://gst/replaygain/rganalysis.c;beginline=1;endline=23;md5=b60ebefd5b2f5a8e0cab6bfee391a5fe"
 
-DEPENDS += "gstreamer1.0-plugins-base libcap"
+DEPENDS += "gstreamer1.0-plugins-base libcap zlib"
 RPROVIDES_${PN}-pulseaudio += "${PN}-pulse"
 RPROVIDES_${PN}-soup += "${PN}-souphttpsrc"
 
-inherit gettext
-
 PACKAGECONFIG ??= " \
 ${GSTREAMER_ORC} \
 ${@bb.utils.filter('DISTRO_FEATURES', 'pulseaudio x11', d)} \
-bz2 cairo flac gdk-pixbuf gudev jpeg lame libpng mpg123 soup speex taglib 
v4l2 zlib \
+bz2 cairo flac gdk-pixbuf gudev jpeg lame libpng mpg123 soup speex taglib 
v4l2 \
 "
 
 X11DEPENDS = "virtual/libx11 libsm libxrender libxfixes libxdamage"
+X11ENABLEOPTS = "-Dximagesrc=enabled -Dximagesrc-xshm=enabled 
-Dximagesrc-xfixes=enabled -Dximagesrc-xdamage=enabled"
+X11DISABLEOPTS = "-Dximagesrc=disabled -Dximagesrc-xshm=disabled 
-Dximagesrc-xfixes=disabled -Dximagesrc-xdamage=disabled"
 
-PACKAGECONFIG[bz2]= "--enable-bz2,--disable-bz2,bzip2"
-PACKAGECONFIG[cairo]  = "--enable-cairo,--disable-cairo,cairo"
-PACKAGECONFIG[dv1394] = "--enable-dv1394,--disable-dv1394,libiec61883 
libavc1394 libraw1394"
-PACKAGECONFIG[flac]   = "--enable-flac,--disable-flac,flac"
-PACKAGECONFIG[gdk-pixbuf] = 
"--enable-gdk_pixbuf,--disable-gdk_pixbuf,gdk-pixbuf"
-PACKAGECONFIG[gtk]= "--enable-gtk3,--disable-gtk3,gtk+3"
-PACKAGECONFIG[gudev]  = "--with-gudev,--without-gudev,libgudev"
-PACKAGECONFIG[jack]   = "--enable-jack,--disable-jack,jack"
-PACKAGECONFIG[jpeg]   = "--enable-jpeg,--disable-jpeg,jpeg"
-PACKAGECONFIG[lame]   = "--enable-lame,--disable-lame,lame"
-PACKAGECONFIG[libpng] = "--enable-libpng,--disable-libpng,libpng"
-PACKAGECONFIG[libv4l2]= "--with-libv4l2,--without-libv4l2,v4l-utils"
-PACKAGECONFIG[mpg123] = "--enable-mpg123,--disable-mpg123,mpg123"
-PACKAGECONFIG[pulseaudio] = "--enable-pulse,--disable-pulse,pulseaudio"
-PACKAGECONFIG[soup]   = "--enable-soup,--disable-soup,libsoup-2.4"
-PACKAGECONFIG[speex]  = "--enable-speex,--disable-speex,speex"
-PACKAGECONFIG[taglib] = "--enable-taglib,--disable-taglib,taglib"
-PACKAGECONFIG[v4l2]   = "--enable-gst_v4l2 
--enable-v4l2-probe,--disable-gst_v4l2"
-PACKAGECONFIG[vpx]= "--enable-vpx,--disable-vpx,libvpx"
-PACKAGECONFIG[wavpack]= "--enable-wavpack,--disable-wavpack,wavpack"
-PACKAGECONFIG[x11]= "--enable-x,--disable-x,${X11DEPENDS}"
-PACKAGECONFIG[zlib]   = "--enable-zlib,--disable-zlib,zlib"
+PACKAGECONFIG[bz2]= "-Dbz2=enabled,-Dbz2=disabled,bzip2"
+PACKAGECONFIG[cairo]  = "-Dcairo=enabled,-Dcairo=disabled,cairo"
+PACKAGECONFIG[dv1394] = "-Ddv1394=enabled,-Ddv1394=disabled,libiec61883 
libavc1394 libraw1394"
+PACKAGECONFIG[flac]   = "-Dflac=enabled,-Dflac=disabled,flac"
+PACKAGECONFIG[gdk-pixbuf] = 
"-Dgdk-pixbuf=enabled,-Dgdk-pixbuf=disabled,gdk-pixbuf"
+PACKAGECONFIG[gtk]= "-Dgtk3=enabled,-Dgtk3=disabled,gtk+3"
+PACKAGECONFIG[gudev]  = 
"-Dv4l2-gudev=enabled,-Dv4l2-gudev=disabled,libgudev"
+PA

[OE-core] [PATCH 09/12] gstreamer1.0-omx: Transition to meson based build

2020-01-12 Thread Carlos Rafael Giani
* Removed autotools/M4 specific bits from recipe.

* gettext, gtk-doc, and valgrind support is no longer present in gst-omx,
  and arguably never really was (because they were present in the "common"
  git submodule that is no longer being used in meson base builds).

Signed-off-by: Carlos Rafael Giani 
---
 .../gstreamer/gstreamer1.0-omx_1.16.1.bb  | 15 ++-
 1 file changed, 2 insertions(+), 13 deletions(-)

diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.16.1.bb 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.16.1.bb
index cb2f7045a8..89e13937ea 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.16.1.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.16.1.bb
@@ -16,14 +16,12 @@ S = "${WORKDIR}/gst-omx-${PV}"
 
 DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad"
 
-inherit autotools pkgconfig gettext gtk-doc upstream-version-is-even
-
-acpaths = "-I ${S}/common/m4 -I ${S}/m4"
+inherit meson pkgconfig upstream-version-is-even
 
 GSTREAMER_1_0_OMX_TARGET ?= "bellagio"
 GSTREAMER_1_0_OMX_CORE_NAME ?= "${libdir}/libomxil-bellagio.so.0"
 
-EXTRA_OECONF += "--disable-valgrind 
--with-omx-target=${GSTREAMER_1_0_OMX_TARGET}"
+EXTRA_OEMESON += "-Dtarget=${GSTREAMER_1_0_OMX_TARGET}"
 
 python __anonymous () {
 omx_target = d.getVar("GSTREAMER_1_0_OMX_TARGET")
@@ -37,21 +35,12 @@ python __anonymous () {
 d.setVar("PACKAGE_ARCH", d.getVar("MACHINE_ARCH"))
 }
 
-delete_pkg_m4_file() {
-# Delete m4 files which we provide patched versions of but will be ignored
-# if these exist
-   rm -f "${S}/common/m4/pkg.m4"
-   rm -f "${S}/common/m4/gtk-doc.m4"
-}
-do_configure[prefuncs] += "delete_pkg_m4_file"
-
 set_omx_core_name() {
sed -i -e "s;^core-name=.*;core-name=${GSTREAMER_1_0_OMX_CORE_NAME};" 
"${D}${sysconfdir}/xdg/gstomx.conf"
 }
 do_install[postfuncs] += " set_omx_core_name "
 
 FILES_${PN} += "${libdir}/gstreamer-1.0/*.so"
-FILES_${PN}-dev += "${libdir}/gstreamer-1.0/*.la"
 FILES_${PN}-staticdev += "${libdir}/gstreamer-1.0/*.a"
 
 RDEPENDS_${PN} = "libomxil"
-- 
2.17.1

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


[OE-core] [PATCH 01/12] gstreamer: Add common .inc files for meson based recipes

2020-01-12 Thread Carlos Rafael Giani
* gstreamer1.0-plugins-common.inc
  The old gstreamer1.0-plugins.inc file, adapted for meson
* gstreamer1.0-plugins-packaging.inc
  The old gst-plugins-package.inc file, adapted for meson
* gstreamer1.0-ptest.inc
  Common code for meson based PTest support; autogenerates the run-ptest
  file and is designed to use the gnome-desktop-testing suite runner
  (which is why the .inc files inherits from ptest-gnome)

Signed-off-by: Carlos Rafael Giani 
---
 .../gstreamer/gstreamer1.0-plugins-common.inc | 47 +
 .../gstreamer1.0-plugins-packaging.inc| 70 +++
 .../gstreamer/gstreamer1.0-ptest.inc  | 21 ++
 3 files changed, 138 insertions(+)
 create mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-common.inc
 create mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-packaging.inc
 create mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-ptest.inc

diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-common.inc 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-common.inc
new file mode 100644
index 00..ccf55500a9
--- /dev/null
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-common.inc
@@ -0,0 +1,47 @@
+# This .inc file contains the common setup for the gstreamer1.0-plugins-*
+# plugin set recipes.
+
+# SUMMARY is set in the actual .bb recipes
+HOMEPAGE = "https://gstreamer.freedesktop.org/;
+BUGTRACKER = "https://bugzilla.gnome.org/enter_bug.cgi?product=Gstreamer;
+SECTION = "multimedia"
+
+DEPENDS = "gstreamer1.0 glib-2.0-native"
+
+inherit gettext meson pkgconfig upstream-version-is-even
+
+require gstreamer1.0-plugins-packaging.inc
+
+# Orc enables runtime JIT compilation of data processing routines from Orc
+# bytecode to SIMD instructions for various architectures (currently SSE, MMX,
+# MIPS, Altivec and NEON are supported).
+# This value is used in the PACKAGECONFIG values for each plugin set recipe.
+# By modifying it, Orc can be enabled/disabled in all of these recipes at once.
+GSTREAMER_ORC ?= "orc"
+
+PACKAGECONFIG[orc] = "-Dorc=enabled,-Dorc=disabled,orc orc-native"
+
+# TODO: put this in a gettext.bbclass patch (with variables to allow for
+# configuring the option name and the enabled/disabled values).
+def gettext_oemeson(d):
+if d.getVar('USE_NLS') == 'no':
+return '-Dnls=disabled'
+# Remove the NLS bits if USE_NLS is no or INHIBIT_DEFAULT_DEPS is set
+if d.getVar('INHIBIT_DEFAULT_DEPS') and not oe.utils.inherits(d, 
'cross-canadian'):
+return '-Dnls=disabled'
+return '-Dnls=enabled'
+
+# Not all plugin sets contain examples, so the -Dexamples
+# option needs to be added conditionally.
+GST_PLUGIN_SET_HAS_EXAMPLES ?= "1"
+
+EXTRA_OEMESON += " \
+${@bb.utils.contains('GST_PLUGIN_SET_HAS_EXAMPLES', '1', 
'-Dexamples=disabled', '', d)} \
+${@gettext_oemeson(d)} \
+"
+
+GIR_MESON_ENABLE_FLAG = "enabled"
+GIR_MESON_DISABLE_FLAG = "disabled"
+
+# Dynamically generate packages for all enabled plugins
+PACKAGES_DYNAMIC = "^${PN}-.*"
diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-packaging.inc 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-packaging.inc
new file mode 100644
index 00..9a7a1b6afe
--- /dev/null
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-packaging.inc
@@ -0,0 +1,70 @@
+# This .inc file contains functionality for automatically splitting
+# built plugins into individual packages for each plugin. A -meta
+# package is also set up that has no files of its own, but contains
+# the names of all plugin packages in its RDEPENDS list.
+#
+# This is mainly used by the gstreamer1.0-plugins-* plugin set recipes,
+# but can be used in any recipe that produces GStreamer plugins.
+
+PACKAGESPLITFUNCS_prepend = " split_gstreamer10_packages "
+PACKAGESPLITFUNCS_append = " set_gstreamer10_metapkg_rdepends "
+
+python split_gstreamer10_packages () {
+gst_libdir = d.expand('${libdir}/gstreamer-1.0')
+postinst = d.getVar('plugin_postinst')
+glibdir = d.getVar('libdir')
+
+# GStreamer libraries
+do_split_packages(d, glibdir, r'^lib(.*)\.so\.*', 'lib%s', 'GStreamer 1.0 
%s library', extra_depends='', allow_links=True)
+# GStreamer plugin shared objects
+do_split_packages(d, gst_libdir, r'libgst(.*)\.so$', d.expand('${PN}-%s'), 
'GStreamer 1.0 plugin for %s', postinst=postinst, extra_depends='')
+# GObject introspection files for GStreamer plugins
+do_split_packages(d, glibdir+'/girepository-1.0', 
r'Gst(.*)-1.0\.typelib$', d.expand('${PN}-%s-typelib'), 'GStreamer 1.0 typelib 
file for %s', postinst=postinst, extra_depends='')
+# Static GStreamer libraries for development
+do_split_packages(d, gst_libdir, r'libgst(.*)\.a$', 
d.expand('${PN}-%s-staticdev'), 'GStreamer 1.0 plugin for %s (static 
development files)', extra_depen

Re: [OE-core] [WIP][PATCH 01/12] gstreamer: Add common .inc files for meson based recipes

2020-01-08 Thread Carlos Rafael Giani

Sorry, I missed this message somehow. Will do that tomorrow.


On 02.01.20 22:47, Alexander Kanavin wrote:
So can you resend the patchset, without any special tags (wip/rfc etc) 
please? To give it a run on the autobuilder.


Alex

On 19 Dec 2019, at 12.57, Carlos Rafael Giani <mailto:crg7...@mailbox.org>> wrote:


Well, alright, then let's merge this. You do have a point in that we 
are not close to a release. Plenty of time left to fix these issues 
afterwards.


On 19.12.19 12:54, Alexander Kanavin wrote:
I read them through now, and none of them are actually a big deal 
that need further discussion in my opinion. I’d rather get meson 
conversion done, and handle any issues afterwards.


Alex

On 19 Dec 2019, at 12.46, Carlos Rafael Giani <mailto:crg7...@mailbox.org>> wrote:


First we should discuss the leftover TODOs I think. Since these may 
not be trivial issues, it would be better to take a look at them 
and then decide on a case-by-case basis whether to fix them now or 
later.


For convenience, I copy-paste these bits from an older RFC email:




Noteworthy changes:

- A lot of autotools/M4 related patches are just gone. Well, 
obviously But it is surprising just how much fewer patches there 
are now.


- gstreamer1.0-libav no longer builds its own FFmpeg copy. This was 
done in the past because there were no stable versioned FFmpeg 
releases. They do exist now, so in meson based builds, gst-libav 
just builds the actual plugin code, meaning that the build time is 
much shorter, most of the recipe code (and all of the patches) are 
gone (because they were FFmpeg specific), and the libgstlibav.so 
binary in /usr/lib/gstreamer-1.0/ is much smaller. This also means 
that FFmpeg specials do not have to be added both to the FFmpeg and 
to the gstreamer1.0-libav recipe anymore.


- gstreamer1.0-plugins.inc was replaced by 
gstreamer1.0-plugins-common.inc, and gst-plugins-package.inc by 
gstreamer1.0-plugins-packaging.inc . These names are clearer. 
gst-plugins-package.inc in particular was named that way because it 
used to be shared between GStreamer 0.10 and 1.0 recipes. Since the 
former are gone by now, there's no point in keeping that name.


- gstreamer1.0 ptest is now done differently. Originally, make was 
installed on the target and the Makefile was run by the run-ptest 
script. Now, gstreamer is patched to allow for installable tests 
that are accompanied by individual shell scripts that set up the 
necessary environment variables, along with .test files so that the 
gnome-desktop-testing test runner can be used in run-ptest to run 
the unit tests. This also makes it possible to inherit from 
ptest-gnome in the gstreamer1.0 recipe. The patch against gstreamer 
is necessary because by default, one runs the test by executing 
"meson test". I don't think installing meson along with all of the 
necessary meson.build scripts is a practical approach.


- OpenGL packageconfigs now work quite differently in 
gstreamer1.0-plugins-base, since the meson options distinguish 
between OpenGL APIs, platforms, and windowing systems.


- zlib in gstreamer1.0-plugins-base and -good is now required. I 
don't think this is a big deal, since it is also a dependency of 
GLib itself, so zlib has to be present on the rootfs anyway.



There are some TODOs left that I want to bring up here for discussion:

- The aforementioned PTest approach needs some review. Also, 
initially, I thought I'd have to add PTest support to several 
GStreamer recipes, which is why I isolated the ptest code in 
gstreamer1.0-ptest.inc . But it turned out that only the 
gstreamer1.0 recipe needs it. I am unsure if I should just merge 
that .inc into that recipe, since there's no reason why the tests 
from other recipes shouldn't be "ptest-ified" in the future. And 
then that .inc would be useful to have. (Tests from the plugin sets 
may be partially tough to run, since some of them create X11 
windows etc.)


- The code in gstreamer1.0-ptest.inc sets up run-ptest in a rather 
uncommon way, since that file has to be autogenerated.


- gstreamer1.0_1.16.1.bb and gstreamer1.0-plugins-common.inc both 
contain a "gettext_oemeson" function to set up meson NLS options. 
Ideally, this functionality would be part of the gettext bbclass 
itself. However, my bitbake/OE knowledge does not suffice to do 
that, since with meson, you want to be able to configure what the 
enable/disable flags should be ("enabled"/"disabled", 
"true"/"false" etc.); that's why for example the gtk-doc bbclass 
defines GTKDOC_MESON_OPTION, GTKDOC_MESON_ENABLE_FLAG, 
GTKDOC_MESON_DISABLE_FLAG. I am not sure how to combine such 
variables with this kind of custom python code, and still allow for 
customized values in other recipes. In other words, if I first get 
a "NLS_MESON_DISABLE_FLAG" value with getValue() in a modified 
gettext_oemeson function, then I might not ge

Re: [OE-core] [WIP][PATCH 01/12] gstreamer: Add common .inc files for meson based recipes

2019-12-19 Thread Carlos Rafael Giani
Well, alright, then let's merge this. You do have a point in that we are 
not close to a release. Plenty of time left to fix these issues afterwards.


On 19.12.19 12:54, Alexander Kanavin wrote:
I read them through now, and none of them are actually a big deal that 
need further discussion in my opinion. I’d rather get meson conversion 
done, and handle any issues afterwards.


Alex

On 19 Dec 2019, at 12.46, Carlos Rafael Giani <mailto:crg7...@mailbox.org>> wrote:


First we should discuss the leftover TODOs I think. Since these may 
not be trivial issues, it would be better to take a look at them and 
then decide on a case-by-case basis whether to fix them now or later.


For convenience, I copy-paste these bits from an older RFC email:




Noteworthy changes:

- A lot of autotools/M4 related patches are just gone. Well, 
obviously But it is surprising just how much fewer patches there are 
now.


- gstreamer1.0-libav no longer builds its own FFmpeg copy. This was 
done in the past because there were no stable versioned FFmpeg 
releases. They do exist now, so in meson based builds, gst-libav just 
builds the actual plugin code, meaning that the build time is much 
shorter, most of the recipe code (and all of the patches) are gone 
(because they were FFmpeg specific), and the libgstlibav.so binary in 
/usr/lib/gstreamer-1.0/ is much smaller. This also means that FFmpeg 
specials do not have to be added both to the FFmpeg and to the 
gstreamer1.0-libav recipe anymore.


- gstreamer1.0-plugins.inc was replaced by 
gstreamer1.0-plugins-common.inc, and gst-plugins-package.inc by 
gstreamer1.0-plugins-packaging.inc . These names are clearer. 
gst-plugins-package.inc in particular was named that way because it 
used to be shared between GStreamer 0.10 and 1.0 recipes. Since the 
former are gone by now, there's no point in keeping that name.


- gstreamer1.0 ptest is now done differently. Originally, make was 
installed on the target and the Makefile was run by the run-ptest 
script. Now, gstreamer is patched to allow for installable tests that 
are accompanied by individual shell scripts that set up the necessary 
environment variables, along with .test files so that the 
gnome-desktop-testing test runner can be used in run-ptest to run the 
unit tests. This also makes it possible to inherit from ptest-gnome 
in the gstreamer1.0 recipe. The patch against gstreamer is necessary 
because by default, one runs the test by executing "meson test". I 
don't think installing meson along with all of the necessary 
meson.build scripts is a practical approach.


- OpenGL packageconfigs now work quite differently in 
gstreamer1.0-plugins-base, since the meson options distinguish 
between OpenGL APIs, platforms, and windowing systems.


- zlib in gstreamer1.0-plugins-base and -good is now required. I 
don't think this is a big deal, since it is also a dependency of GLib 
itself, so zlib has to be present on the rootfs anyway.



There are some TODOs left that I want to bring up here for discussion:

- The aforementioned PTest approach needs some review. Also, 
initially, I thought I'd have to add PTest support to several 
GStreamer recipes, which is why I isolated the ptest code in 
gstreamer1.0-ptest.inc . But it turned out that only the gstreamer1.0 
recipe needs it. I am unsure if I should just merge that .inc into 
that recipe, since there's no reason why the tests from other recipes 
shouldn't be "ptest-ified" in the future. And then that .inc would be 
useful to have. (Tests from the plugin sets may be partially tough to 
run, since some of them create X11 windows etc.)


- The code in gstreamer1.0-ptest.inc sets up run-ptest in a rather 
uncommon way, since that file has to be autogenerated.


- gstreamer1.0_1.16.1.bb and gstreamer1.0-plugins-common.inc both 
contain a "gettext_oemeson" function to set up meson NLS options. 
Ideally, this functionality would be part of the gettext bbclass 
itself. However, my bitbake/OE knowledge does not suffice to do that, 
since with meson, you want to be able to configure what the 
enable/disable flags should be ("enabled"/"disabled", "true"/"false" 
etc.); that's why for example the gtk-doc bbclass defines 
GTKDOC_MESON_OPTION, GTKDOC_MESON_ENABLE_FLAG, 
GTKDOC_MESON_DISABLE_FLAG. I am not sure how to combine such 
variables with this kind of custom python code, and still allow for 
customized values in other recipes. In other words, if I first get a 
"NLS_MESON_DISABLE_FLAG" value with getValue() in a modified 
gettext_oemeson function, then I might not get the value I expect, 
since it will get the initial value (the one set with ?=), not 
necessarily the one that is redefined by a recipe.


- The OpenGL packageconfigs are handled by a get_opengl_cmdline_list 
function in gstreamer1.0-plugins-base_1.16.1.bb . I did this so that 
a comma-separated list can be generated out 

Re: [OE-core] [WIP][PATCH 01/12] gstreamer: Add common .inc files for meson based recipes

2019-12-19 Thread Carlos Rafael Giani
16.1.bb currently has a problem in that the 
gst-python code tries to load /usr/lib/libpython3.7m.so. But, in a 
regular installation, only /usr/lib/libpython3.7m.so.1.0 would be 
availale. It is possible to adjust the libpython path & name during the 
build. But - what would it be adjusted to? How would the recipe know 
that "/usr/lib/libpython3.7m.so.1.0" is the correct choice? Or perhaps 
would it make sense to add the /usr/lib/libpython3.7m.so symlink to the 
regular (as in: non-dev) Python package?






On 18.12.19 22:14, Alexander Kanavin wrote:
Thanks :) Will there be a more refined version, or should these be 
merged already, with followup fixing as needed?


Alex

On Sun, 15 Dec 2019 at 13:55, Carlos Rafael Giani <mailto:crg7...@mailbox.org>> wrote:


* gstreamer1.0-plugins-common.inc
  The old gstreamer1.0-plugins.inc file, adapted for meson
* gstreamer1.0-plugins-packaging.inc
  The old gst-plugins-package.inc file, adapted for meson
* gstreamer1.0-ptest.inc
  Common code for meson based PTest support; autogenerates the
run-ptest
  file and is designed to use the gnome-desktop-testing suite runner
  (which is why the .inc files inherits from ptest-gnome)

Signed-off-by: Carlos Rafael Giani mailto:crg7...@mailbox.org>>
---
 .../gstreamer/gstreamer1.0-plugins-common.inc | 47 +
 .../gstreamer1.0-plugins-packaging.inc        | 70
+++
 .../gstreamer/gstreamer1.0-ptest.inc          | 21 ++
 3 files changed, 138 insertions(+)
 create mode 100644
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-common.inc
 create mode 100644
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-packaging.inc
 create mode 100644
meta/recipes-multimedia/gstreamer/gstreamer1.0-ptest.inc

diff --git
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-common.inc
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-common.inc
new file mode 100644
index 00..ccf55500a9
--- /dev/null
+++
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-common.inc
@@ -0,0 +1,47 @@
+# This .inc file contains the common setup for the
gstreamer1.0-plugins-*
+# plugin set recipes.
+
+# SUMMARY is set in the actual .bb recipes
+HOMEPAGE = "https://gstreamer.freedesktop.org/;
+BUGTRACKER =
"https://bugzilla.gnome.org/enter_bug.cgi?product=Gstreamer;
+SECTION = "multimedia"
+
+DEPENDS = "gstreamer1.0 glib-2.0-native"
+
+inherit gettext meson pkgconfig upstream-version-is-even
+
+require gstreamer1.0-plugins-packaging.inc
+
+# Orc enables runtime JIT compilation of data processing routines
from Orc
+# bytecode to SIMD instructions for various architectures
(currently SSE, MMX,
+# MIPS, Altivec and NEON are supported).
+# This value is used in the PACKAGECONFIG values for each plugin
set recipe.
+# By modifying it, Orc can be enabled/disabled in all of these
recipes at once.
+GSTREAMER_ORC ?= "orc"
+
+PACKAGECONFIG[orc] = "-Dorc=enabled,-Dorc=disabled,orc orc-native"
+
+# TODO: put this in a gettext.bbclass patch (with variables to
allow for
+# configuring the option name and the enabled/disabled values).
+def gettext_oemeson(d):
+    if d.getVar('USE_NLS') == 'no':
+        return '-Dnls=disabled'
+    # Remove the NLS bits if USE_NLS is no or
INHIBIT_DEFAULT_DEPS is set
+    if d.getVar('INHIBIT_DEFAULT_DEPS') and not
oe.utils.inherits(d, 'cross-canadian'):
+        return '-Dnls=disabled'
+    return '-Dnls=enabled'
+
+# Not all plugin sets contain examples, so the -Dexamples
+# option needs to be added conditionally.
+GST_PLUGIN_SET_HAS_EXAMPLES ?= "1"
+
+EXTRA_OEMESON += " \
+    ${@bb.utils.contains('GST_PLUGIN_SET_HAS_EXAMPLES', '1',
'-Dexamples=disabled', '', d)} \
+    ${@gettext_oemeson(d)} \
+"
+
+GIR_MESON_ENABLE_FLAG = "enabled"
+GIR_MESON_DISABLE_FLAG = "disabled"
+
+# Dynamically generate packages for all enabled plugins
+PACKAGES_DYNAMIC = "^${PN}-.*"
diff --git
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-packaging.inc
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-packaging.inc
new file mode 100644
index 00..9a7a1b6afe
--- /dev/null
+++
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-packaging.inc
@@ -0,0 +1,70 @@
+# This .inc file contains functionality for automatically splitting
+# built plugins into individual packages for each plugin. A -meta
+# package is also set up that has no files of its own, but contains
+# the names of all plugin packages in its RDEPENDS list.
+#
+# This is mainly

Re: [OE-core] [PATCH 07/30] gstreamer1.0-python: add a patch to fix python 3.8 builds

2019-12-15 Thread Carlos Rafael Giani

Is this related to an issue I mentioned in my RFC?

> gstreamer1.0-python_1.16.1.bb currently has a problem in that the 
gst-python code tries to load /usr/lib/libpython3.7m.so. But, in a 
regular installation, only /usr/lib/libpython3.7m.so.1.0 would be 
availale. It is possible to adjust the libpython path & name during the 
build. But - what would it be adjusted to? How would the recipe know 
that "/usr/lib/libpython3.7m.so.1.0" is the correct choice? Or perhaps 
would it make sense to add the /usr/lib/libpython3.7m.so symlink to the 
regular (as in: non-dev) Python package?



On 15.12.19 18:32, Khem Raj wrote:



On Sun, Dec 15, 2019 at 9:12 AM Alexander Kanavin 
mailto:alex.kana...@gmail.com>> wrote:


On Sun, 15 Dec 2019 at 18:06, Khem Raj mailto:raj.k...@gmail.com>> wrote:

This is expected; the patch should be merged together with 3.8
upgrade.

I don’t think this patch is right though since this patch is
creating py3.8 dependency if you want to upstream something
that should work with all py3 I think


It's being discussed in the upstream submission ticket, and will
be resolved; we can take the 3.8-specific fix meanwhile.


For better processing this series should be in three parts

1 Python 3.8 updates
2 gettext updates
3 rest of them

I have filtered it into roughly these and currently staged in yoe/mut 
just the third part which i think can be applied with out much problem


For 1 and 2 there are breakages for many packages
And it would be better to identify them and let community know of and 
seek help



Alex


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


[OE-core] [WIP][PATCH 12/12] gstreamer: Remove unused common files and patches

2019-12-15 Thread Carlos Rafael Giani
gst-plugins-package.inc gstreamer1.0-plugins.inc got replaced by
gstreamer1.0-plugins-packaging.inc and gstreamer1.0-plugins-common.inc,
respectively.

Signed-off-by: Carlos Rafael Giani 
---
 ...-prefix-pkgconfig-paths-with-PKG_CON.patch | 40 ---
 .../files/add-a-target-to-compile-tests.patch | 69 ---
 .../gstreamer/files/gtk-doc-tweaks.patch  | 47 -
 .../gstreamer/files/run-ptest |  3 -
 .../gstreamer/gst-plugins-package.inc | 56 ---
 .../gstreamer/gstreamer1.0-plugins.inc| 41 ---
 6 files changed, 256 deletions(-)
 delete mode 100644 
meta/recipes-multimedia/gstreamer/files/0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch
 delete mode 100644 
meta/recipes-multimedia/gstreamer/files/add-a-target-to-compile-tests.patch
 delete mode 100644 meta/recipes-multimedia/gstreamer/files/gtk-doc-tweaks.patch
 delete mode 100644 meta/recipes-multimedia/gstreamer/files/run-ptest
 delete mode 100644 meta/recipes-multimedia/gstreamer/gst-plugins-package.inc
 delete mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins.inc

diff --git 
a/meta/recipes-multimedia/gstreamer/files/0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch
 
b/meta/recipes-multimedia/gstreamer/files/0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch
deleted file mode 100644
index 1b7f115083..00
--- 
a/meta/recipes-multimedia/gstreamer/files/0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-From 2b0436f9a07773fae8c74df902d7024e8bfc3512 Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin 
-Date: Tue, 24 Nov 2015 16:46:27 +0200
-Subject: [PATCH] introspection.m4: prefix pkgconfig paths with
- PKG_CONFIG_SYSROOT_DIR
-
-We can't use our tweaked introspection.m4 from gobject-introspection tarball
-because gstreamer also defines INTROSPECTION_INIT in its introspection.m4, 
which
-is later supplied to g-ir-scanner.
-
-Upstream-Status: Pending [review on oe-core list]
-Signed-off-by: Alexander Kanavin 
-

- common/m4/introspection.m4 | 8 
- 1 file changed, 4 insertions(+), 4 deletions(-)
-
-diff --git a/common/m4/introspection.m4 b/common/m4/introspection.m4
-index 162be57..933f979 100644
 a/common/m4/introspection.m4
-+++ b/common/m4/introspection.m4
-@@ -54,14 +54,14 @@ m4_define([_GOBJECT_INTROSPECTION_CHECK_INTERNAL],
- INTROSPECTION_GIRDIR=
- INTROSPECTION_TYPELIBDIR=
- if test "x$found_introspection" = "xyes"; then
--   INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner 
gobject-introspection-1.0`
--   INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler 
gobject-introspection-1.0`
--   INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate 
gobject-introspection-1.0`
-+   INTROSPECTION_SCANNER=$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG 
--variable=g_ir_scanner gobject-introspection-1.0`
-+   INTROSPECTION_COMPILER=$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG 
--variable=g_ir_compiler gobject-introspection-1.0`
-+   INTROSPECTION_GENERATE=$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG 
--variable=g_ir_generate gobject-introspection-1.0`
-INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir 
gobject-introspection-1.0`
-INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir 
gobject-introspection-1.0)"
-INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
-INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
--   INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir 
gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
-+   INTROSPECTION_MAKEFILE=$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG 
--variable=datadir 
gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
-INTROSPECTION_INIT="extern void gst_init(gint*,gchar**); 
gst_init(NULL,NULL);"
- fi
- AC_SUBST(INTROSPECTION_SCANNER)
diff --git 
a/meta/recipes-multimedia/gstreamer/files/add-a-target-to-compile-tests.patch 
b/meta/recipes-multimedia/gstreamer/files/add-a-target-to-compile-tests.patch
deleted file mode 100644
index d02d869410..00
--- 
a/meta/recipes-multimedia/gstreamer/files/add-a-target-to-compile-tests.patch
+++ /dev/null
@@ -1,69 +0,0 @@
-From d61414bc17cf2df019510c2908048c4cabf5cf09 Mon Sep 17 00:00:00 2001
-From: Anuj Mittal 
-Date: Tue, 27 Feb 2018 09:27:01 +0800
-Subject: [PATCH] add targets for test installation
-
-Targets to make sure tests can be installed and then run on
-the target.
-
-Upstream-Status: Inappropriate [specific to oe setup]
-
-Signed-off-by: Anuj Mittal 
-

- tests/check/Makefile.am | 27 ---
- 1 file changed, 20 insertions(+), 7 deletions(-)
-
-diff --git a/tests/check/Makefile.am b/tests/check/Makefile.am
-index 13b916d..a66786d 100644
 a/tests/check/Makefile.am
-+++ b/tests/check/Makefile.am
-@@ -8,11 +8,7 @@ REGIS

[OE-core] [WIP][PATCH 08/12] gstreamer1.0-vaapi: Transition to meson based builds

2019-12-15 Thread Carlos Rafael Giani
* Removed autotools/M4 related patch
  0001-gst-vaapi-Makefile.am-Add-EGL_CFLAGS-to-libgstvaapi-.patch.

Signed-off-by: Carlos Rafael Giani 
---
 ...le.am-Add-EGL_CFLAGS-to-libgstvaapi-.patch | 33 ---
 .../gstreamer/gstreamer1.0-vaapi_1.16.1.bb| 26 ++-
 2 files changed, 17 insertions(+), 42 deletions(-)
 delete mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi/0001-gst-vaapi-Makefile.am-Add-EGL_CFLAGS-to-libgstvaapi-.patch

diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi/0001-gst-vaapi-Makefile.am-Add-EGL_CFLAGS-to-libgstvaapi-.patch
 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi/0001-gst-vaapi-Makefile.am-Add-EGL_CFLAGS-to-libgstvaapi-.patch
deleted file mode 100644
index d7b8984953..00
--- 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi/0001-gst-vaapi-Makefile.am-Add-EGL_CFLAGS-to-libgstvaapi-.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-From 5403a89e6a7ac72a23e0221075c0c19b5f85a021 Mon Sep 17 00:00:00 2001
-From: Fabio Berton 
-Date: Wed, 13 Jun 2018 09:09:25 -0300
-Subject: [PATCH] gst/vaapi/Makefile.am: Add EGL_CFLAGS to libgstvaapi CFLAGS
-Organization: O.S. Systems Software LTDA.
-
-We need this to pass correctly EGL CFLAGS when building with EGL support.
-
-Upstream-Status: Pending
-
-Signed-off-by: Fabio Berton 

- gst/vaapi/Makefile.am | 4 
- 1 file changed, 4 insertions(+)
-
-diff --git a/gst/vaapi/Makefile.am b/gst/vaapi/Makefile.am
-index b299ac98..d6cab71f 100644
 a/gst/vaapi/Makefile.am
-+++ b/gst/vaapi/Makefile.am
-@@ -24,6 +24,10 @@ libgstvaapi_LIBS += 
$(top_builddir)/gst-libs/gst/vaapi/libgstvaapi-glx.la
- endif
- 
- if USE_EGL
-+libgstvaapi_CFLAGS += \
-+  $(EGL_CFLAGS)   \
-+  $(NULL)
-+
- libgstvaapi_LIBS += $(top_builddir)/gst-libs/gst/vaapi/libgstvaapi-egl.la
- endif
- 
--- 
-2.17.1
-
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.16.1.bb 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.16.1.bb
index b8c2126d9b..a78807cc19 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.16.1.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.16.1.bb
@@ -9,7 +9,6 @@ LICENSE = "LGPLv2.1+"
 LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c"
 
 SRC_URI = 
"https://gstreamer.freedesktop.org/src/${REALPN}/${REALPN}-${PV}.tar.xz \
-   
file://0001-gst-vaapi-Makefile.am-Add-EGL_CFLAGS-to-libgstvaapi-.patch \
file://0001-vaapsink-downgrade-to-marginal.patch \
"
 
@@ -19,10 +18,18 @@ SRC_URI[sha256sum] = 
"cb570f6f1e78cb364fbe3c4fb8751824ee9db0c942ba61b62380b9b5ab
 S = "${WORKDIR}/${REALPN}-${PV}"
 DEPENDS = "libva gstreamer1.0 gstreamer1.0-plugins-base 
gstreamer1.0-plugins-bad"
 
-inherit autotools pkgconfig gtk-doc features_check upstream-version-is-even
+inherit meson pkgconfig gtk-doc features_check upstream-version-is-even
 
 REQUIRED_DISTRO_FEATURES ?= "opengl"
 
+EXTRA_OEMESON += " \
+-Dexamples=disabled \
+"
+
+GTKDOC_MESON_OPTION = "gtk_doc"
+GTKDOC_MESON_ENABLE_FLAG = "enabled"
+GTKDOC_MESON_DISABLE_FLAG = "disabled"
+
 PACKAGES =+ "${PN}-tests"
 
 # OpenGL packageconfig factored out to make it easy for distros
@@ -33,17 +40,18 @@ PACKAGECONFIG_GL ?= 
"${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'glx'
 bb.utils.contains('DISTRO_FEATURES', 'opengl', 
'egl', \
'', d), 
d)}"
 
-PACKAGECONFIG ??= "drm \
+PACKAGECONFIG ??= "drm encoders \
${PACKAGECONFIG_GL} \
${@bb.utils.filter('DISTRO_FEATURES', 'wayland x11', d)}"
 
-PACKAGECONFIG[drm] = "--enable-drm,--disable-drm,udev libdrm"
-PACKAGECONFIG[egl] = "--enable-egl,--disable-egl,virtual/egl"
-PACKAGECONFIG[glx] = "--enable-glx,--disable-glx,virtual/libgl"
-PACKAGECONFIG[wayland] = "--enable-wayland,--disable-wayland,wayland-native 
wayland wayland-protocols"
-PACKAGECONFIG[x11] = "--enable-x11,--disable-x11,virtual/libx11 libxrandr 
libxrender"
+PACKAGECONFIG[drm] = "-Dwith_drm=yes,-Dwith_drm=no,udev libdrm"
+PACKAGECONFIG[egl] = "-Dwith_egl=yes,-Dwith_egl=no,virtual/egl"
+PACKAGECONFIG[encoders] = "-Dwith_encoders=yes,-Dwith_encoders=no"
+PACKAGECONFIG[glx] = "-Dwith_glx=yes,-Dwith_glx=no,virtual/libgl"
+PACKAGECONFIG[wayland] = "-Dwith_wayland=yes,-Dwith_wayland=no,wayland-native 
wayland wayland-protocols"
+PACKAGECONFIG[x11] = "-Dwith_x11=yes,-Dwith_x11=no,virtual/libx11 libxrandr 
libxrender"
 
 FILES_${PN} += "${libdir}/gstreamer-*/*.so"
 FILES_${PN}-dbg += "${libdir}/gstreamer-*/.debug"
-FILES_${PN}-dev += "${libdir}/gstreamer-*/*.la ${libdir}/gstreamer-*/*.a"
+FILES_${PN}-dev += "${libdir}/gstreamer-*/*.a"
 FILES_${PN}-tests = "${bindir}/*"
-- 
2.17.1

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


[OE-core] [WIP][PATCH 01/12] gstreamer: Add common .inc files for meson based recipes

2019-12-15 Thread Carlos Rafael Giani
* gstreamer1.0-plugins-common.inc
  The old gstreamer1.0-plugins.inc file, adapted for meson
* gstreamer1.0-plugins-packaging.inc
  The old gst-plugins-package.inc file, adapted for meson
* gstreamer1.0-ptest.inc
  Common code for meson based PTest support; autogenerates the run-ptest
  file and is designed to use the gnome-desktop-testing suite runner
  (which is why the .inc files inherits from ptest-gnome)

Signed-off-by: Carlos Rafael Giani 
---
 .../gstreamer/gstreamer1.0-plugins-common.inc | 47 +
 .../gstreamer1.0-plugins-packaging.inc| 70 +++
 .../gstreamer/gstreamer1.0-ptest.inc  | 21 ++
 3 files changed, 138 insertions(+)
 create mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-common.inc
 create mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-packaging.inc
 create mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-ptest.inc

diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-common.inc 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-common.inc
new file mode 100644
index 00..ccf55500a9
--- /dev/null
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-common.inc
@@ -0,0 +1,47 @@
+# This .inc file contains the common setup for the gstreamer1.0-plugins-*
+# plugin set recipes.
+
+# SUMMARY is set in the actual .bb recipes
+HOMEPAGE = "https://gstreamer.freedesktop.org/;
+BUGTRACKER = "https://bugzilla.gnome.org/enter_bug.cgi?product=Gstreamer;
+SECTION = "multimedia"
+
+DEPENDS = "gstreamer1.0 glib-2.0-native"
+
+inherit gettext meson pkgconfig upstream-version-is-even
+
+require gstreamer1.0-plugins-packaging.inc
+
+# Orc enables runtime JIT compilation of data processing routines from Orc
+# bytecode to SIMD instructions for various architectures (currently SSE, MMX,
+# MIPS, Altivec and NEON are supported).
+# This value is used in the PACKAGECONFIG values for each plugin set recipe.
+# By modifying it, Orc can be enabled/disabled in all of these recipes at once.
+GSTREAMER_ORC ?= "orc"
+
+PACKAGECONFIG[orc] = "-Dorc=enabled,-Dorc=disabled,orc orc-native"
+
+# TODO: put this in a gettext.bbclass patch (with variables to allow for
+# configuring the option name and the enabled/disabled values).
+def gettext_oemeson(d):
+if d.getVar('USE_NLS') == 'no':
+return '-Dnls=disabled'
+# Remove the NLS bits if USE_NLS is no or INHIBIT_DEFAULT_DEPS is set
+if d.getVar('INHIBIT_DEFAULT_DEPS') and not oe.utils.inherits(d, 
'cross-canadian'):
+return '-Dnls=disabled'
+return '-Dnls=enabled'
+
+# Not all plugin sets contain examples, so the -Dexamples
+# option needs to be added conditionally.
+GST_PLUGIN_SET_HAS_EXAMPLES ?= "1"
+
+EXTRA_OEMESON += " \
+${@bb.utils.contains('GST_PLUGIN_SET_HAS_EXAMPLES', '1', 
'-Dexamples=disabled', '', d)} \
+${@gettext_oemeson(d)} \
+"
+
+GIR_MESON_ENABLE_FLAG = "enabled"
+GIR_MESON_DISABLE_FLAG = "disabled"
+
+# Dynamically generate packages for all enabled plugins
+PACKAGES_DYNAMIC = "^${PN}-.*"
diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-packaging.inc 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-packaging.inc
new file mode 100644
index 00..9a7a1b6afe
--- /dev/null
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-packaging.inc
@@ -0,0 +1,70 @@
+# This .inc file contains functionality for automatically splitting
+# built plugins into individual packages for each plugin. A -meta
+# package is also set up that has no files of its own, but contains
+# the names of all plugin packages in its RDEPENDS list.
+#
+# This is mainly used by the gstreamer1.0-plugins-* plugin set recipes,
+# but can be used in any recipe that produces GStreamer plugins.
+
+PACKAGESPLITFUNCS_prepend = " split_gstreamer10_packages "
+PACKAGESPLITFUNCS_append = " set_gstreamer10_metapkg_rdepends "
+
+python split_gstreamer10_packages () {
+gst_libdir = d.expand('${libdir}/gstreamer-1.0')
+postinst = d.getVar('plugin_postinst')
+glibdir = d.getVar('libdir')
+
+# GStreamer libraries
+do_split_packages(d, glibdir, r'^lib(.*)\.so\.*', 'lib%s', 'GStreamer 1.0 
%s library', extra_depends='', allow_links=True)
+# GStreamer plugin shared objects
+do_split_packages(d, gst_libdir, r'libgst(.*)\.so$', d.expand('${PN}-%s'), 
'GStreamer 1.0 plugin for %s', postinst=postinst, extra_depends='')
+# GObject introspection files for GStreamer plugins
+do_split_packages(d, glibdir+'/girepository-1.0', 
r'Gst(.*)-1.0\.typelib$', d.expand('${PN}-%s-typelib'), 'GStreamer 1.0 typelib 
file for %s', postinst=postinst, extra_depends='')
+# Static GStreamer libraries for development
+do_split_packages(d, gst_libdir, r'libgst(.*)\.a$', 
d.expand('${PN}-%s-staticdev'), 'GStreamer 1.0 plugin for %s (static 
development files)', extra_depen

[OE-core] [WIP][PATCH 11/12] gst-validate: Move recipe specific patch to dedicated subdirectory

2019-12-15 Thread Carlos Rafael Giani
This does not belong in files/, since that subdirectory is where patches
that aren't recipe specific are located. This patch however is gst-validate
specific.

Signed-off-by: Carlos Rafael Giani 
---
 .../0001-connect-has-a-different-signature-on-musl.patch  | 0
 1 file changed, 0 insertions(+), 0 deletions(-)
 rename meta/recipes-multimedia/gstreamer/{files => 
gst-validate}/0001-connect-has-a-different-signature-on-musl.patch (100%)

diff --git 
a/meta/recipes-multimedia/gstreamer/files/0001-connect-has-a-different-signature-on-musl.patch
 
b/meta/recipes-multimedia/gstreamer/gst-validate/0001-connect-has-a-different-signature-on-musl.patch
similarity index 100%
rename from 
meta/recipes-multimedia/gstreamer/files/0001-connect-has-a-different-signature-on-musl.patch
rename to 
meta/recipes-multimedia/gstreamer/gst-validate/0001-connect-has-a-different-signature-on-musl.patch
-- 
2.17.1

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


[OE-core] [WIP][PATCH 09/12] gstreamer1.0-omx: Transition to meson based build

2019-12-15 Thread Carlos Rafael Giani
* Removed autotools/M4 specific bits from recipe.

* gettext, gtk-doc, and valgrind support is no longer present in gst-omx,
  and arguably never really was (because they were present in the "common"
  git submodule that is no longer being used in meson base builds).

Signed-off-by: Carlos Rafael Giani 
---
 .../gstreamer/gstreamer1.0-omx_1.16.1.bb  | 15 ++-
 1 file changed, 2 insertions(+), 13 deletions(-)

diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.16.1.bb 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.16.1.bb
index cb2f7045a8..89e13937ea 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.16.1.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.16.1.bb
@@ -16,14 +16,12 @@ S = "${WORKDIR}/gst-omx-${PV}"
 
 DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad"
 
-inherit autotools pkgconfig gettext gtk-doc upstream-version-is-even
-
-acpaths = "-I ${S}/common/m4 -I ${S}/m4"
+inherit meson pkgconfig upstream-version-is-even
 
 GSTREAMER_1_0_OMX_TARGET ?= "bellagio"
 GSTREAMER_1_0_OMX_CORE_NAME ?= "${libdir}/libomxil-bellagio.so.0"
 
-EXTRA_OECONF += "--disable-valgrind 
--with-omx-target=${GSTREAMER_1_0_OMX_TARGET}"
+EXTRA_OEMESON += "-Dtarget=${GSTREAMER_1_0_OMX_TARGET}"
 
 python __anonymous () {
 omx_target = d.getVar("GSTREAMER_1_0_OMX_TARGET")
@@ -37,21 +35,12 @@ python __anonymous () {
 d.setVar("PACKAGE_ARCH", d.getVar("MACHINE_ARCH"))
 }
 
-delete_pkg_m4_file() {
-# Delete m4 files which we provide patched versions of but will be ignored
-# if these exist
-   rm -f "${S}/common/m4/pkg.m4"
-   rm -f "${S}/common/m4/gtk-doc.m4"
-}
-do_configure[prefuncs] += "delete_pkg_m4_file"
-
 set_omx_core_name() {
sed -i -e "s;^core-name=.*;core-name=${GSTREAMER_1_0_OMX_CORE_NAME};" 
"${D}${sysconfdir}/xdg/gstomx.conf"
 }
 do_install[postfuncs] += " set_omx_core_name "
 
 FILES_${PN} += "${libdir}/gstreamer-1.0/*.so"
-FILES_${PN}-dev += "${libdir}/gstreamer-1.0/*.la"
 FILES_${PN}-staticdev += "${libdir}/gstreamer-1.0/*.a"
 
 RDEPENDS_${PN} = "libomxil"
-- 
2.17.1

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


[OE-core] [WIP][PATCH 10/12] gstreamer1.0-rtsp-server: Transition to meson based build

2019-12-15 Thread Carlos Rafael Giani
* 0001-meson-build-gir-even-when-cross-compiling-if-introsp.patch is a
  fix for GIR support in the meson.build file.

Signed-off-by: Carlos Rafael Giani 
---
 ...even-when-cross-compiling-if-introsp.patch | 36 +++
 .../gstreamer1.0-rtsp-server_1.16.1.bb| 23 ++--
 2 files changed, 46 insertions(+), 13 deletions(-)
 create mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server/0001-meson-build-gir-even-when-cross-compiling-if-introsp.patch

diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server/0001-meson-build-gir-even-when-cross-compiling-if-introsp.patch
 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server/0001-meson-build-gir-even-when-cross-compiling-if-introsp.patch
new file mode 100644
index 00..6962a50d6e
--- /dev/null
+++ 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server/0001-meson-build-gir-even-when-cross-compiling-if-introsp.patch
@@ -0,0 +1,36 @@
+From 95ce953e34cd0e9f5d42ce7900a9572e7bc8ca47 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= 
+Date: Fri, 18 Oct 2019 00:42:12 +0100
+Subject: [PATCH] meson: build gir even when cross-compiling if introspection
+ was enabled explicitly
+
+This can be made to work in certain circumstances when
+cross-compiling, so default to not building g-i stuff
+when cross-compiling, but allow it if introspection was
+enabled explicitly via -Dintrospection=enabled.
+
+See gstreamer/gstreamer#454 and gstreamer/gstreamer#381.
+
+Upstream-Status: Backport [95ce953e34cd0e9f5d42ce7900a9572e7bc8ca47]
+
+Signed-off-by: Carlos Rafael Giani 
+---
+ meson.build | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/meson.build b/meson.build
+index e1e3b1d..3f45f0e 100644
+--- a/meson.build
 b/meson.build
+@@ -173,7 +173,7 @@ endif
+ 
+ gir = find_program('g-ir-scanner', required : get_option('introspection'))
+ gnome = import('gnome')
+-build_gir = gir.found() and not meson.is_cross_build()
++build_gir = gir.found() and (not meson.is_cross_build() or 
get_option('introspection').enabled())
+ gir_init_section = [ '--add-init-section=extern void 
gst_init(gint*,gchar**);' + \
+ 'g_setenv("GST_REGISTRY_1.0", "@0@", 
TRUE);'.format(meson.current_build_dir() + '/gir_empty_registry.reg') + \
+ 'g_setenv("GST_PLUGIN_PATH_1_0", "", TRUE);' + \
+-- 
+2.17.1
+
diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.16.1.bb 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.16.1.bb
index 45302ef4f6..deac5a9664 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.16.1.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.16.1.bb
@@ -9,8 +9,7 @@ DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base"
 PNREAL = "gst-rtsp-server"
 
 SRC_URI = 
"https://gstreamer.freedesktop.org/src/${PNREAL}/${PNREAL}-${PV}.tar.xz \
-   
file://0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch \
-   file://gtk-doc-tweaks.patch \
+   
file://0001-meson-build-gir-even-when-cross-compiling-if-introsp.patch \
"
 
 SRC_URI[md5sum] = "380d6a42e856c32fcefa508ad57129e0"
@@ -18,17 +17,15 @@ SRC_URI[sha256sum] = 
"b0abacad2f86f60d63781d2b24443c5668733e8b08664bbef94124906d
 
 S = "${WORKDIR}/${PNREAL}-${PV}"
 
-inherit autotools pkgconfig upstream-version-is-even gobject-introspection 
gtk-doc
+inherit meson pkgconfig upstream-version-is-even gobject-introspection
 
-EXTRA_OECONF = "--disable-examples --disable-tests"
+EXTRA_OEMESON += " \
+-Dexamples=disabled \
+-Dtests=disabled \
+"
 
-# Starting with 1.8.0 gst-rtsp-server includes dependency-less plugins as well
-LIBV = "1.0"
-require gst-plugins-package.inc
-
-delete_pkg_m4_file() {
-# This m4 file is out of date and is missing PKG_CONFIG_SYSROOT_PATH 
tweaks which we need for introspection
-rm "${S}/common/m4/pkg.m4" || true
-}
+GIR_MESON_ENABLE_FLAG = "enabled"
+GIR_MESON_DISABLE_FLAG = "disabled"
 
-do_configure[prefuncs] += " delete_pkg_m4_file"
+# Starting with 1.8.0 gst-rtsp-server includes dependency-less plugins as well
+require gstreamer1.0-plugins-packaging.inc
-- 
2.17.1

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


[OE-core] [WIP][PATCH 05/12] gstreamer1.0-plugins-bad: Transition to meson based builds

2019-12-15 Thread Carlos Rafael Giani
* Removed autotools/M4 related patch
  0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch.

* configure-allow-to-disable-libssh2.patch got replaced by the
  -Dcurl-ssh2 option.

* 0001-meson-build-gir-even-when-cross-compiling-if-introsp.patch is a
  fix for GIR support in the meson.build file.

* New "closedcaption" packageconfigs added.

* Removed "flite" packageconfig since flite-alsa was removed from
  meta-openembedded due it being old and abandoned.

* gettext handling now part of gstreamer1.0-plugins-common.inc.
---
 ...even-when-cross-compiling-if-introsp.patch |  36 +++
 .../configure-allow-to-disable-libssh2.patch  |  61 -
 .../gstreamer1.0-plugins-bad_1.16.1.bb| 209 +-
 3 files changed, 141 insertions(+), 165 deletions(-)
 create mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-meson-build-gir-even-when-cross-compiling-if-introsp.patch
 delete mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/configure-allow-to-disable-libssh2.patch

diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-meson-build-gir-even-when-cross-compiling-if-introsp.patch
 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-meson-build-gir-even-when-cross-compiling-if-introsp.patch
new file mode 100644
index 00..1321852023
--- /dev/null
+++ 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-meson-build-gir-even-when-cross-compiling-if-introsp.patch
@@ -0,0 +1,36 @@
+From 97a4d0cd7de8cfbf983acc7e37ba2f8fb73c3e19 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= 
+Date: Fri, 18 Oct 2019 00:39:12 +0100
+Subject: [PATCH 1/2] meson: build gir even when cross-compiling if
+ introspection was enabled explicitly
+
+This can be made to work in certain circumstances when
+cross-compiling, so default to not building g-i stuff
+when cross-compiling, but allow it if introspection was
+enabled explicitly via -Dintrospection=enabled.
+
+See gstreamer/gstreamer#454 and gstreamer/gstreamer#381.
+
+Upstream-Status: Backport [97a4d0cd7de8cfbf983acc7e37ba2f8fb73c3e19]
+
+Signed-off-by: Carlos Rafael Giani 
+---
+ meson.build | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/meson.build b/meson.build
+index 67aeeb4d0..7b3314bd9 100644
+--- a/meson.build
 b/meson.build
+@@ -411,7 +411,7 @@ python3 = import('python').find_installation()
+ 
+ gir = find_program('g-ir-scanner', required : get_option('introspection'))
+ gnome = import('gnome')
+-build_gir = gir.found() and not meson.is_cross_build()
++build_gir = gir.found() and (not meson.is_cross_build() or 
get_option('introspection').enabled())
+ gir_init_section = [ '--add-init-section=extern void 
gst_init(gint*,gchar**);' + \
+ 'g_setenv("GST_REGISTRY_1.0", "@0@", 
TRUE);'.format(meson.current_build_dir() + '/gir_empty_registry.reg') + \
+ 'g_setenv("GST_PLUGIN_PATH_1_0", "", TRUE);' + \
+-- 
+2.17.1
+
diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/configure-allow-to-disable-libssh2.patch
 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/configure-allow-to-disable-libssh2.patch
deleted file mode 100644
index 25861b6b9d..00
--- 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/configure-allow-to-disable-libssh2.patch
+++ /dev/null
@@ -1,61 +0,0 @@
-From f59c5269f92d59a5296cbfeeb682d42095cd88ad Mon Sep 17 00:00:00 2001
-From: Wenzong Fan 
-Date: Thu, 18 Sep 2014 02:24:07 -0400
-Subject: [PATCH] gstreamer1.0-plugins-bad: allow to disable libssh2
-
-libssh2 is automatically linked to if present, this undetermined
-dependency may cause build errors like:
-
-  .../x86_64-poky-linux/4.9.0/ld: cannot find -lssh2
-
-libssh2 isn't an oe-core recipe, so allow to disable it from
-configure.
-
-Upstream-Status: Pending
-
-Signed-off-by: Wenzong Fan 

- configure.ac |   23 +--
- 1 file changed, 17 insertions(+), 6 deletions(-)
-
-Index: gst-plugins-bad-1.12.3/configure.ac
-===
 gst-plugins-bad-1.12.3.orig/configure.ac
-+++ gst-plugins-bad-1.12.3/configure.ac
-@@ -1202,6 +1202,15 @@ AG_GST_CHECK_FEATURE(CHROMAPRINT, [chrom
- ])
- 
- dnl *** Curl ***
-+AC_ARG_ENABLE([libssh2],
-+ [  --enable-libssh2  enable LIBSSH2 support 
@<:@default=auto@:>@],
-+ [case "${enableval}" in
-+   yes)  NEED_SSH2=yes ;;
-+   no)   NEED_SSH2=no ;;
-+   auto) NEED_SSH2=auto ;;
-+   *) AC_MSG_ERROR([bad value ${enableval} for --enable-libssh2]) ;;
-+ esac],[NEED_SSH2=auto])
-+
- translit(dnm, m, l) AM_CONDITIONAL(USE_CURL, true)
- AG_GST_CHECK_FEATURE(CURL, [Curl plugin], curl, [
-   PKG_CHECK_MODULES(CURL, libcurl >= 7.35.0, [
-@@ -1224,12 +1233,14 @@ AG_GST_CHECK_FEATURE(CURL, [Curl plugin]
-   ])
-   AC_SUBST(CURL_CFLAGS)
-   AC_SUBST(CURL_LIBS)
--  PK

[OE-core] [WIP][PATCH 02/12] gstreamer1.0: Transition to meson based builds

2019-12-15 Thread Carlos Rafael Giani
* Moved 0001-gst-gstpluginloader.c-when-env-var-is-set-do-not-fal.patch
  from files/ to gstreamer1.0/ since it is gstreamer1.0 recipe specific.

* Removed M4 specific patches:
  - 0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch
  - gtk-doc-tweaks.patch
  - add-a-target-to-compile-tests.patch

* Added patches:
  - 0001-meson-build-gir-even-when-cross-compiling-if-introsp.patch
Backport for enabling GIR support in meson based cross compilation
  - 0002-meson-Add-valgrind-feature.patch
Make valgrind support configurable to be able to control it through
a "valgrind" packageconfig
  - 0003-meson-Add-option-for-installed-tests.patch
Add support for installable tests and for generating .test and shell
scripts which can be used with the gnome-desktop-testing suite runner

* PTest support:
  By default, GStreamer does not allow for installing tests, and requires
  meson to run its unit tests. The 0003 patch fixes this by installing
  the binaries themselves and by generating accompanying .test and shell
  scripts. The scripts set up the required environment files and then
  call the test binaries. The .test file list the shell scripts as
  Exec= command line.

Signed-off-by: Carlos Rafael Giani 
---
 ...der.c-when-env-var-is-set-do-not-fal.patch |   0
 ...even-when-cross-compiling-if-introsp.patch |  36 +++
 .../0003-meson-Add-valgrind-feature.patch |  74 +
 ...meson-Add-option-for-installed-tests.patch | 257 ++
 .../gstreamer/gstreamer1.0_1.16.1.bb  |  93 +++
 5 files changed, 404 insertions(+), 56 deletions(-)
 rename meta/recipes-multimedia/gstreamer/{files => 
gstreamer1.0}/0001-gst-gstpluginloader.c-when-env-var-is-set-do-not-fal.patch 
(100%)
 create mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0/0002-meson-build-gir-even-when-cross-compiling-if-introsp.patch
 create mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0/0003-meson-Add-valgrind-feature.patch
 create mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0/0004-meson-Add-option-for-installed-tests.patch

diff --git 
a/meta/recipes-multimedia/gstreamer/files/0001-gst-gstpluginloader.c-when-env-var-is-set-do-not-fal.patch
 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0/0001-gst-gstpluginloader.c-when-env-var-is-set-do-not-fal.patch
similarity index 100%
rename from 
meta/recipes-multimedia/gstreamer/files/0001-gst-gstpluginloader.c-when-env-var-is-set-do-not-fal.patch
rename to 
meta/recipes-multimedia/gstreamer/gstreamer1.0/0001-gst-gstpluginloader.c-when-env-var-is-set-do-not-fal.patch
diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0/0002-meson-build-gir-even-when-cross-compiling-if-introsp.patch
 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0/0002-meson-build-gir-even-when-cross-compiling-if-introsp.patch
new file mode 100644
index 00..1ed7198a5c
--- /dev/null
+++ 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0/0002-meson-build-gir-even-when-cross-compiling-if-introsp.patch
@@ -0,0 +1,36 @@
+From 35db4a2433fbdf8612cf98b5aab5b14aeb5372f8 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= 
+Date: Thu, 17 Oct 2019 12:13:35 +0100
+Subject: [PATCH] meson: build gir even when cross-compiling if introspection
+ was enabled explicitly
+
+This can be made to work in certain circumstances when
+cross-compiling, so default to not building g-i stuff
+when cross-compiling, but allow it if introspection was
+enabled explicitly via -Dintrospection=enabled.
+
+Fixes #454 and #381.
+
+Upstream-Status: Backport [35db4a2433fbdf8612cf98b5aab5b14aeb5372f8]
+
+Signed-off-by: Carlos Rafael Giani 
+---
+ meson.build | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/meson.build b/meson.build
+index 90d98d8eb..a47e7f34e 100644
+--- a/meson.build
 b/meson.build
+@@ -466,7 +466,7 @@ rt_lib = cc.find_library('rt', required : false)
+ gir = find_program('g-ir-scanner', required : get_option('introspection'))
+ gnome = import('gnome')
+ 
+-build_gir = gir.found() and not meson.is_cross_build()
++build_gir = gir.found() and (not meson.is_cross_build() or 
get_option('introspection').enabled())
+ 
+ gir_init_section = [ '--add-init-section=extern void 
gst_init(gint*,gchar**);' + \
+ 'g_setenv("GST_REGISTRY_DISABLE", "yes", TRUE);' + \
+-- 
+2.17.1
+
diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0/0003-meson-Add-valgrind-feature.patch
 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0/0003-meson-Add-valgrind-feature.patch
new file mode 100644
index 00..f553340f4d
--- /dev/null
+++ 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0/0003-meson-Add-valgrind-feature.patch
@@ -0,0 +1,74 @@
+From f6c7973c03d9ba7dab60c496e768c5e6c4ee824c Mon Sep 17 00:00:00 2001
+From: Carlos Rafael Giani 
+Date: Sun, 20 Oct 2019 10:36:44 +0200
+Subject: [PATCH] meson: Add valgrind feature
+
+This allows for enabling/disabling Valgrind support. Since Valgrind is
+an external dep

[OE-core] [WIP][PATCH 06/12] gstreamer1.0-plugins-ugly: Transition to meson based builds

2019-12-15 Thread Carlos Rafael Giani
* Removed autotools/M4 related patch
  0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch.

* gettext handling now part of gstreamer1.0-plugins-common.inc.

Signed-off-by: Carlos Rafael Giani 
---
 .../gstreamer1.0-plugins-ugly_1.16.1.bb   | 23 +--
 1 file changed, 11 insertions(+), 12 deletions(-)

diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.16.1.bb 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.16.1.bb
index ecab318899..30961d0e02 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.16.1.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.16.1.bb
@@ -1,4 +1,4 @@
-require gstreamer1.0-plugins.inc
+require gstreamer1.0-plugins-common.inc
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \
 
file://tests/check/elements/xingmux.c;beginline=1;endline=21;md5=4c771b8af188724855cb99cadd390068"
@@ -8,7 +8,6 @@ LICENSE_FLAGS = "commercial"
 
 SRC_URI = " \
 
https://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-${PV}.tar.xz
 \
-
file://0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch \
 "
 SRC_URI[md5sum] = "668795903cb4971fba9aa89abdea8369"
 SRC_URI[sha256sum] = 
"4bf913b2ca5195ac3b53b5e3ade2dc7c45d2258507552ddc850c5fa425968a1d"
@@ -17,23 +16,23 @@ S = "${WORKDIR}/gst-plugins-ugly-${PV}"
 
 DEPENDS += "gstreamer1.0-plugins-base"
 
-inherit gettext
+GST_PLUGIN_SET_HAS_EXAMPLES = "0"
 
 PACKAGECONFIG ??= " \
 ${GSTREAMER_ORC} \
 a52dec mpeg2dec \
 "
 
-PACKAGECONFIG[a52dec]   = "--enable-a52dec,--disable-a52dec,liba52"
-PACKAGECONFIG[amrnb]= "--enable-amrnb,--disable-amrnb,opencore-amr"
-PACKAGECONFIG[amrwb]= "--enable-amrwb,--disable-amrwb,opencore-amr"
-PACKAGECONFIG[cdio] = "--enable-cdio,--disable-cdio,libcdio"
-PACKAGECONFIG[dvdread]  = "--enable-dvdread,--disable-dvdread,libdvdread"
-PACKAGECONFIG[mpeg2dec] = "--enable-mpeg2dec,--disable-mpeg2dec,mpeg2dec"
-PACKAGECONFIG[x264] = "--enable-x264,--disable-x264,x264"
+PACKAGECONFIG[a52dec]   = "-Da52dec=enabled,-Da52dec=disabled,liba52"
+PACKAGECONFIG[amrnb]= "-Damrnb=enabled,-Damrnb=disabled,opencore-amr"
+PACKAGECONFIG[amrwb]= "-Damrwbdec=enabled,-Damrwbdec=disabled,opencore-amr"
+PACKAGECONFIG[cdio] = "-Dcdio=enabled,-Dcdio=disabled,libcdio"
+PACKAGECONFIG[dvdread]  = "-Ddvdread=enabled,-Ddvdread=disabled,libdvdread"
+PACKAGECONFIG[mpeg2dec] = "-Dmpeg2dec=enabled,-Dmpeg2dec=disabled,mpeg2dec"
+PACKAGECONFIG[x264] = "-Dx264=enabled,-Dx264=disabled,x264"
 
-EXTRA_OECONF += " \
---disable-sidplay \
+EXTRA_OEMESON += " \
+-Dsidplay=disabled \
 "
 
 FILES_${PN}-amrnb += "${datadir}/gstreamer-1.0/presets/GstAmrnbEnc.prs"
-- 
2.17.1

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


[OE-core] [WIP][PATCH 03/12] gstreamer1.0-plugins-base: Transition to meson based builds

2019-12-15 Thread Carlos Rafael Giani
* OpenGL packageconfigs now work differently. There are separate ones for
  OpenGL API/platform/window system selection. The meson.build script
  expects the selected ones as comma separated lists. For example, like
  "-Dgl_api=opengl,gles2". The variables OPENGL_APIS / OPENGL_PLATFORMS /
  OPENGL_WINSYS are whitespace-separated lists (which is the OE norm) of
  the respective packageconfigs. .bbappend files can then extend these
  lists with additional possible configs.
  "Possible" means that the target can support those packageconfigs. This
  does not immediately add them to the PACKAGECONFIG variable - this still
  has to be done manually. The get_opengl_cmdline_list() goes through these
  lists, and for each entry, checks if it is contained in the PACKAGECONFIG
  variable. If so, they get added to the comma separated lists that are
  passed to meson.
  For example, a Raspberry Pi layer could add "dispmanx" to OPENGL_WINSYS.

* The "ivorbis" packageconfig got renamed to "tremor", since that is the
  name of the OE recipe, and now also the name of the meson option.

* 0001-meson-build-gir-even-when-cross-compiling-if-introsp.patch and
  0002-meson-Add-variables-for-gir-files.patch are backported fixes for
  GIR support in the meson.build files.

* make-gio_unix_2_0-dependency-configurable.patch removed because it is
  no longer useful to have.

* link-with-libvchostif.patch removed because the flags it changed are
  no longer present in the meson.build scripts. If the related issue
  reappears, a similar patch can be applied again.

* 0003-riff-add-missing-include-directories-when-calling-in.patch removed
  since the entire gst riff library has been excluded from GObject
  introspection due to naming convention issues.

* Removed a number of autotool/M4 related patches and recipe lines.

* gtk-doc support is handled here, not in gstreamer1.0-plugins-common.inc,
  since unlike with autotools, only some plugin set packages use gtk-doc.

* zlib is no longer optional, and glib anyway depends on zlib, therefore
  it gets added to the DEPENDS list.

* gettext handling now part of gstreamer1.0-plugins-common.inc.

Signed-off-by: Carlos Rafael Giani 
---
 in-don-t-append-GL_CFLAGS-to-CFLAGS.patch |  29 --
 ...even-when-cross-compiling-if-introsp.patch |  36 +++
 ...ix-calls-to-pkg-config-with-PKG_CONF.patch | 295 --
 ...02-meson-Add-variables-for-gir-files.patch | 235 ++
 ...-include-directories-when-calling-in.patch |  26 --
 ...ect-reference-to-gstreamer-sdp-in-Ma.patch |  25 --
 .../link-with-libvchostif.patch   |  45 ---
 ...gio_unix_2_0-dependency-configurable.patch |  45 ---
 .../gstreamer1.0-plugins-base_1.16.1.bb   |  95 +++---
 9 files changed, 329 insertions(+), 502 deletions(-)
 delete mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-gstreamer-gl.pc.in-don-t-append-GL_CFLAGS-to-CFLAGS.patch
 create mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-meson-build-gir-even-when-cross-compiling-if-introsp.patch
 delete mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0002-Makefile.am-prefix-calls-to-pkg-config-with-PKG_CONF.patch
 create mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0002-meson-Add-variables-for-gir-files.patch
 delete mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0003-riff-add-missing-include-directories-when-calling-in.patch
 delete mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0004-rtsp-drop-incorrect-reference-to-gstreamer-sdp-in-Ma.patch
 delete mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/link-with-libvchostif.patch
 delete mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/make-gio_unix_2_0-dependency-configurable.patch

diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-gstreamer-gl.pc.in-don-t-append-GL_CFLAGS-to-CFLAGS.patch
 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-gstreamer-gl.pc.in-don-t-append-GL_CFLAGS-to-CFLAGS.patch
deleted file mode 100644
index 251dc172cb..00
--- 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-gstreamer-gl.pc.in-don-t-append-GL_CFLAGS-to-CFLAGS.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From 61a672e79c8cb1aeeeda4c968997c577ac73a8f3 Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin 
-Date: Fri, 12 May 2017 16:47:12 +0300
-Subject: [PATCH] gstreamer-gl.pc.in: don't append GL_CFLAGS to CFLAGS
-
-Dependencies' include directories should not be added in this way;
-it causes problems when cross-compiling in sysroot environments.
-
-Upstream-Status: Pending
-
-Signed-off-by: Alexander Kanavin 
-Signed-off-by: Maxin B. John 

- pkgconfig/gstreamer-gl.pc.in | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/pkgconfig/gstreamer-gl.pc.in b/pkgconfig

[OE-core] [WIP][PATCH 07/12] gstreamer1.0-libav: Transition to meson based builds

2019-12-15 Thread Carlos Rafael Giani
meson based builds exclusively rely on external FFmpeg builds. The internal
copy was added at a time when stable FFmpeg releases did not exist. They
do nowadays, so the internal copy is not needed anymore. As a result, large
portions of the recipe are unnecessary, since they set up the internal
copy. Same goes for the patches and the zlib/bzip2/xz dependendencies.

Signed-off-by: Carlos Rafael Giani 
---
 ...ble-yasm-for-libav-when-disable-yasm.patch | 33 --
 ...-configure-check-for-armv7ve-variant.patch | 35 ---
 .../0001-fix-host-contamination.patch | 36 ---
 .../mips64_cpu_detection.patch| 32 --
 ...to-build-gst-libav-for-i586-with-gcc.patch | 26 
 .../gstreamer/gstreamer1.0-libav_1.16.1.bb| 63 +--
 6 files changed, 14 insertions(+), 211 deletions(-)
 delete mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/0001-Disable-yasm-for-libav-when-disable-yasm.patch
 delete mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/0001-configure-check-for-armv7ve-variant.patch
 delete mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/0001-fix-host-contamination.patch
 delete mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/mips64_cpu_detection.patch
 delete mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/workaround-to-build-gst-libav-for-i586-with-gcc.patch

diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/0001-Disable-yasm-for-libav-when-disable-yasm.patch
 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/0001-Disable-yasm-for-libav-when-disable-yasm.patch
deleted file mode 100644
index 11571aefa1..00
--- 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/0001-Disable-yasm-for-libav-when-disable-yasm.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-From 54bba228ea52d01fd84941d97be23c03f9862b64 Mon Sep 17 00:00:00 2001
-From: Carlos Rafael Giani 
-Date: Sat, 6 Apr 2013 01:22:22 +0200
-Subject: [PATCH] Disable yasm for libav when --disable-yasm
-
-Upstream-Status: Inappropriate [configuration]
-
-Signed-off-by: Shane Wang 
-Signed-off-by: Carlos Rafael Giani 

- configure.ac | 4 
- 1 file changed, 4 insertions(+)
-
-diff --git a/configure.ac b/configure.ac
-index 22ede88..ef3c050 100644
 a/configure.ac
-+++ b/configure.ac
-@@ -355,6 +355,12 @@ else
- emblibav_configure_args="$emblibav_configure_args --enable-gpl"
-   fi
-
-+  AC_ARG_ENABLE(yasm,
-+  [AC_HELP_STRING([--disable-yasm], [disable use of yasm 
assembler])])
-+  if test "x$enable_yasm" = "xno"; then
-+emblibav_configure_args="$emblibav_configure_args --disable-yasm"
-+  fi
-+
-   # if we are cross-compiling, tell libav so
-   case $host in
-   *android*)
--- 
-1.8.2
-
diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/0001-configure-check-for-armv7ve-variant.patch
 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/0001-configure-check-for-armv7ve-variant.patch
deleted file mode 100644
index f182715bda..00
--- 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/0001-configure-check-for-armv7ve-variant.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-From aac5902d3c9cb35c771e760d0e487622aa2e116a Mon Sep 17 00:00:00 2001
-From: Khem Raj 
-Date: Thu, 20 Apr 2017 10:38:18 -0700
-Subject: [PATCH] configure: check for armv7ve variant
-
-OE passes -mcpu and -march via cmdline and if
-package tries to detect one of it own then it
-should be compatible otherwise, newer gcc7+ will
-error out
-
-Check for relevant preprocessor macro to determine
-armv7ve architecture
-
-Upstream-Status: Pending
-
-Signed-off-by: Khem Raj 

- gst-libs/ext/libav/configure | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/gst-libs/ext/libav/configure b/gst-libs/ext/libav/configure
-index 4a5e477..727818e 100755
 a/gst-libs/ext/libav/configure
-+++ b/gst-libs/ext/libav/configure
-@@ -4745,6 +4745,7 @@ elif enabled arm; then
- elif check_arm_arch 6KZ;  then echo armv6zk
- elif check_arm_arch 6ZK;  then echo armv6zk
- elif check_arm_arch 6T2;  then echo armv6t2
-+elif check_arm_arch EXT_IDIV; then echo armv7ve
- elif check_arm_arch 7;then echo armv7
- elif check_arm_arch 7A  7_A;  then echo armv7-a
- elif check_arm_arch 7S;   then echo armv7-a
--- 
-2.12.2
-
diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/0001-fix-host-contamination.patch
 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/0001-fix-host-contamination.patch
deleted file mode 100644
index 120c0798ea..00
--- 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/0001-fix-host-contamination.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-From c1700f867f876ee33c130a8e28b688e2b1d89663 Mon Sep 17 00:00:00 2001
-From: Anuj Mittal 
-Date: Wed, 11 Apr 2018 17:14:55 +0800
-Subject: [PATCH] Prevent host contamination
-
-Remove re

[OE-core] [WIP][PATCH 04/12] gstreamer1.0-plugins-good: Transition to meson based builds

2019-12-15 Thread Carlos Rafael Giani
* Removed autotools/M4 related patch
  0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch.

* gtk-doc support is handled here, not in gstreamer1.0-plugins-common.inc,
since unlike with autotools, only some plugin set packages use gtk-doc.

* zlib is no longer optional, and glib anyway depends on zlib, therefore
it gets added to the DEPENDS list.

* gettext handling now part of gstreamer1.0-plugins-common.inc.

Signed-off-by: Carlos Rafael Giani 
---
 .../gstreamer1.0-plugins-good_1.16.1.bb   | 79 +--
 1 file changed, 38 insertions(+), 41 deletions(-)

diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.16.1.bb 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.16.1.bb
index 0fa7b86ffe..a6eb9986dd 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.16.1.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.16.1.bb
@@ -1,8 +1,7 @@
-require gstreamer1.0-plugins.inc
+require gstreamer1.0-plugins-common.inc
 
 SRC_URI = " \
 
https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-${PV}.tar.xz
 \
-
file://0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch \
 "
 
 SRC_URI[md5sum] = "515987ee763256840a11bd8ea098f2bf"
@@ -15,42 +14,41 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \
 
file://common/coverage/coverage-report.pl;beginline=2;endline=17;md5=a4e1830fce078028c8f0974161272607
 \
 
file://gst/replaygain/rganalysis.c;beginline=1;endline=23;md5=b60ebefd5b2f5a8e0cab6bfee391a5fe"
 
-DEPENDS += "gstreamer1.0-plugins-base libcap"
+DEPENDS += "gstreamer1.0-plugins-base libcap zlib"
 RPROVIDES_${PN}-pulseaudio += "${PN}-pulse"
 RPROVIDES_${PN}-soup += "${PN}-souphttpsrc"
 
-inherit gettext
-
 PACKAGECONFIG ??= " \
 ${GSTREAMER_ORC} \
 ${@bb.utils.filter('DISTRO_FEATURES', 'pulseaudio x11', d)} \
-bz2 cairo flac gdk-pixbuf gudev jpeg lame libpng mpg123 soup speex taglib 
v4l2 zlib \
+bz2 cairo flac gdk-pixbuf gudev jpeg lame libpng mpg123 soup speex taglib 
v4l2 \
 "
 
 X11DEPENDS = "virtual/libx11 libsm libxrender libxfixes libxdamage"
+X11ENABLEOPTS = "-Dximagesrc=enabled -Dximagesrc-xshm=enabled 
-Dximagesrc-xfixes=enabled -Dximagesrc-xdamage=enabled"
+X11DISABLEOPTS = "-Dximagesrc=disabled -Dximagesrc-xshm=disabled 
-Dximagesrc-xfixes=disabled -Dximagesrc-xdamage=disabled"
 
-PACKAGECONFIG[bz2]= "--enable-bz2,--disable-bz2,bzip2"
-PACKAGECONFIG[cairo]  = "--enable-cairo,--disable-cairo,cairo"
-PACKAGECONFIG[dv1394] = "--enable-dv1394,--disable-dv1394,libiec61883 
libavc1394 libraw1394"
-PACKAGECONFIG[flac]   = "--enable-flac,--disable-flac,flac"
-PACKAGECONFIG[gdk-pixbuf] = 
"--enable-gdk_pixbuf,--disable-gdk_pixbuf,gdk-pixbuf"
-PACKAGECONFIG[gtk]= "--enable-gtk3,--disable-gtk3,gtk+3"
-PACKAGECONFIG[gudev]  = "--with-gudev,--without-gudev,libgudev"
-PACKAGECONFIG[jack]   = "--enable-jack,--disable-jack,jack"
-PACKAGECONFIG[jpeg]   = "--enable-jpeg,--disable-jpeg,jpeg"
-PACKAGECONFIG[lame]   = "--enable-lame,--disable-lame,lame"
-PACKAGECONFIG[libpng] = "--enable-libpng,--disable-libpng,libpng"
-PACKAGECONFIG[libv4l2]= "--with-libv4l2,--without-libv4l2,v4l-utils"
-PACKAGECONFIG[mpg123] = "--enable-mpg123,--disable-mpg123,mpg123"
-PACKAGECONFIG[pulseaudio] = "--enable-pulse,--disable-pulse,pulseaudio"
-PACKAGECONFIG[soup]   = "--enable-soup,--disable-soup,libsoup-2.4"
-PACKAGECONFIG[speex]  = "--enable-speex,--disable-speex,speex"
-PACKAGECONFIG[taglib] = "--enable-taglib,--disable-taglib,taglib"
-PACKAGECONFIG[v4l2]   = "--enable-gst_v4l2 
--enable-v4l2-probe,--disable-gst_v4l2"
-PACKAGECONFIG[vpx]= "--enable-vpx,--disable-vpx,libvpx"
-PACKAGECONFIG[wavpack]= "--enable-wavpack,--disable-wavpack,wavpack"
-PACKAGECONFIG[x11]= "--enable-x,--disable-x,${X11DEPENDS}"
-PACKAGECONFIG[zlib]   = "--enable-zlib,--disable-zlib,zlib"
+PACKAGECONFIG[bz2]= "-Dbz2=enabled,-Dbz2=disabled,bzip2"
+PACKAGECONFIG[cairo]  = "-Dcairo=enabled,-Dcairo=disabled,cairo"
+PACKAGECONFIG[dv1394] = "-Ddv1394=enabled,-Ddv1394=disabled,libiec61883 
libavc1394 libraw1394"
+PACKAGECONFIG[flac]   = "-Dflac=enabled,-Dflac=disabled,flac"
+PACKAGECONFIG[gdk-pixbuf] = 
"-Dgdk-pixbuf=enabled,-Dgdk-pixbuf=disabled,gdk-pixbuf"
+PACKAGECONFIG[gtk]= "-Dgtk3=enabled,-Dgtk3=disabled,gtk+3"
+PACKAGECONFIG[gudev]  = 
"-Dv4l2-gudev=enabled,-Dv4l2-gudev=disabled,libgudev"
+PA

[OE-core] [RFC] Transitioning GStreamer 1.0 recipes to meson

2019-10-29 Thread Carlos Rafael Giani

Hello all,

I have managed to transition most GStreamer recipes to meson. The 
patches can be found here: 
https://github.com/OSSystems/meta-gstreamer1.0/tree/transition-to-meson


The only recipe that still uses autotools is gst-validate, and that's 
because the tarball does not contain meson scripts. This is a known 
issue. https://gitlab.freedesktop.org/gstreamer/gst-devtools/issues/28


Overall, this worked well in my test builds, both on an i.MX6 machine 
and in a qemux86-64 VM.



Please note that this requires the 1.16.0 -> 1.16.1 changes I posted to 
the mailing list a few days ago.



Noteworthy changes:

- A lot of autotools/M4 related patches are just gone. Well, obviously 
:) But it is surprising just how much fewer patches there are now.


- gstreamer1.0-libav no longer builds its own FFmpeg copy. This was done 
in the past because there were no stable versioned FFmpeg releases. They 
do exist now, so in meson based builds, gst-libav just builds the actual 
plugin code, meaning that the build time is much shorter, most of the 
recipe code (and all of the patches) are gone (because they were FFmpeg 
specific), and the libgstlibav.so binary in /usr/lib/gstreamer-1.0/ is 
much smaller. This also means that FFmpeg specials do not have to be 
added both to the FFmpeg and to the gstreamer1.0-libav recipe anymore.


- gstreamer1.0-plugins.inc was replaced by 
gstreamer1.0-plugins-common.inc, and gst-plugins-package.inc by 
gstreamer1.0-plugins-packaging.inc . These names are clearer. 
gst-plugins-package.inc in particular was named that way because it used 
to be shared between GStreamer 0.10 and 1.0 recipes. Since the former 
are gone by now, there's no point in keeping that name.


- gstreamer1.0 ptest is now done differently. Originally, make was 
installed on the target and the Makefile was run by the run-ptest 
script. Now, gstreamer is patched to allow for installable tests that 
are accompanied by individual shell scripts that set up the necessary 
environment variables, along with .test files so that the 
gnome-desktop-testing test runner can be used in run-ptest to run the 
unit tests. This also makes it possible to inherit from ptest-gnome in 
the gstreamer1.0 recipe. The patch against gstreamer is necessary 
because by default, one runs the test by executing "meson test". I don't 
think installing meson along with all of the necessary meson.build 
scripts is a practical approach.


- OpenGL packageconfigs now work quite differently in 
gstreamer1.0-plugins-base, since the meson options distinguish between 
OpenGL APIs, platforms, and windowing systems.


- zlib in gstreamer1.0-plugins-base and -good is now required. I don't 
think this is a big deal, since it is also a dependency of GLib itself, 
so zlib has to be present on the rootfs anyway.



There are some TODOs left that I want to bring up here for discussion:

- The aforementioned PTest approach needs some review. Also, initially, 
I thought I'd have to add PTest support to several GStreamer recipes, 
which is why I isolated the ptest code in gstreamer1.0-ptest.inc . But 
it turned out that only the gstreamer1.0 recipe needs it. I am unsure if 
I should just merge that .inc into that recipe, since there's no reason 
why the tests from other recipes shouldn't be "ptest-ified" in the 
future. And then that .inc would be useful to have. (Tests from the 
plugin sets may be partially tough to run, since some of them create X11 
windows etc.)


- The code in gstreamer1.0-ptest.inc sets up run-ptest in a rather 
uncommon way, since that file has to be autogenerated.


- gstreamer1.0_1.16.1.bb and gstreamer1.0-plugins-common.inc both 
contain a "gettext_oemeson" function to set up meson NLS options. 
Ideally, this functionality would be part of the gettext bbclass itself. 
However, my bitbake/OE knowledge does not suffice to do that, since with 
meson, you want to be able to configure what the enable/disable flags 
should be ("enabled"/"disabled", "true"/"false" etc.); that's why for 
example the gtk-doc bbclass defines GTKDOC_MESON_OPTION, 
GTKDOC_MESON_ENABLE_FLAG, GTKDOC_MESON_DISABLE_FLAG. I am not sure how 
to combine such variables with this kind of custom python code, and 
still allow for customized values in other recipes. In other words, if I 
first get a "NLS_MESON_DISABLE_FLAG" value with getValue() in a modified 
gettext_oemeson function, then I might not get the value I expect, since 
it will get the initial value (the one set with ?=), not necessarily the 
one that is redefined by a recipe.


- The OpenGL packageconfigs are handled by a get_opengl_cmdline_list 
function in gstreamer1.0-plugins-base_1.16.1.bb . I did this so that a 
comma-separated list can be generated out of the packageconfigs that are 
(a) part of PACKAGECONFIG and (b) part of the newly added 
OPENGL_APIS/OPENGL_PLATFORMS/OPENGL_WINSYS lists. I do not know if 
there's a better approach for this. The intent is that other layers 
(most notably BSP layers) 

Re: [OE-core] GStreamer 1.0 meson build transition

2019-10-28 Thread Carlos Rafael Giani
Hm, true. Alright, I'll do that. For discussions about the recipe 
changes, should I create a fork of oe-core and place them there, just 
like how one would prepare merge requests? To me, it sounds more 
efficient than posting the patches in the mailing list for discussing them.


And speaking of upgrades, my changes are against 1.16.1, so the 1.16.0 
-> 1.16.1 upgrade needs to make it into master-next in first.


Carlos

On 28.10.19 17:44, Ross Burton wrote:

On 26/10/2019 11:57, Carlos Rafael Giani wrote:
I think it would make sense to not try to get a meson based build 
done for GStreamer 1.16, and instead target it for 1.18. Minor 
version upgrades like 1.16.0 -> 1.16.1 aren't expected to bring major 
changes with them, while major upgrades like 1.16 -> 1.18 are 
generally known to potentially bring such changes. Also, there's a 
chance that new patches might make their way into 1.18 before its 
release.


That's fine, but there is value in doing the migration separately to 
the 1.16->1.18 upgrade: there should be no difference to the installed 
files which makes verification easier.


Basically I've no opinion on when the meson migration is merged, as 
you say it's not trivial, but please have it as a separate commit to 
an upgrade.


Thanks,
Ross

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


[OE-core] GStreamer 1.0 meson build transition

2019-10-26 Thread Carlos Rafael Giani
I've been working on migrating the GStreamer 1.0 recipes from autotools 
to meson.


As expected, it is far from a straightforward change. Obviously, 
autotools/m4 specific patches need to be discarded or replaced. But 
there are also other differences, like how the OpenGL platforms and APIs 
get selected, or how the unit tests are built and run. Some of these 
changes are severe, and break not only the current way we do things in 
the recipes, but also some gstreamer1.0 bbappends. Some packageconfigs 
also changed. Certain checks are again done automatically without the 
ability to explicitely enabling/disabling them (like valgrind checks), 
so this needs patching again (ugh). gst-libav no longer has its own 
libav/FFmpeg copy, and relies on an external one now. Furthermore, I've 
had to create new nontrivial meson.build patches for proper ptest 
functionality.


I think it would make sense to not try to get a meson based build done 
for GStreamer 1.16, and instead target it for 1.18. Minor version 
upgrades like 1.16.0 -> 1.16.1 aren't expected to bring major changes 
with them, while major upgrades like 1.16 -> 1.18 are generally known to 
potentially bring such changes. Also, there's a chance that new patches 
might make their way into 1.18 before its release.


I write this in case anybody else is also working on meson, and/or 
planning on upgrading the existing recipes once 1.18 is out, to avoid us 
working in parallel on the same recipes without knowing. I'll push my 
changes to a development branch in the meta-gstreamer1.0 recipes in a 
few days so that people can bring in input if they want.


cheers,
  Carlos

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


[OE-core] [PATCH 01/12] gstreamer1.0: upgrade to version 1.16.1

2019-10-22 Thread Carlos Rafael Giani
Signed-off-by: Carlos Rafael Giani 
---
 .../{gstreamer1.0_1.16.0.bb => gstreamer1.0_1.16.1.bb}| 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0_1.16.0.bb => 
gstreamer1.0_1.16.1.bb} (96%)

diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0_1.16.0.bb 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0_1.16.1.bb
similarity index 96%
rename from meta/recipes-multimedia/gstreamer/gstreamer1.0_1.16.0.bb
rename to meta/recipes-multimedia/gstreamer/gstreamer1.0_1.16.1.bb
index da2d14cd99..d77c8aa198 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0_1.16.0.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0_1.16.1.bb
@@ -27,8 +27,8 @@ SRC_URI = " \
 file://add-a-target-to-compile-tests.patch \
 file://run-ptest \
 "
-SRC_URI[md5sum] = "862b7e4263d946bc2ef31b3c582e5587"
-SRC_URI[sha256sum] = 
"0e8e2f7118be437cba879353970cf83c2acced825ecb9275ba05d9186ef07c00"
+SRC_URI[md5sum] = "c505fb818b36988daaa846e9e63eabe8"
+SRC_URI[sha256sum] = 
"02211c3447c4daa55919c5c0f43a82a6fbb51740d57fc3af0639d46f1cf4377d"
 
 PACKAGECONFIG ??= "${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)} 
\
"
-- 
2.17.1

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


[OE-core] [PATCH 12/12] gstreamer: Change SRC_URI to use HTTPS access instead of HTTP

2019-10-22 Thread Carlos Rafael Giani
Some GStreamer recipes like gstreamer1.0-vaapi already use HTTPS instead
of http. Also, access to http:// is simply redirected by the freedesktop
server to https://, and using HTTPS is anyway generally recommended over
plain HTTP for security reasons. So, normalize the URLs to use HTTPS only.

Signed-off-by: Carlos Rafael Giani 
---
 meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.16.1.bb  | 2 +-
 meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.16.1.bb| 2 +-
 .../gstreamer/gstreamer1.0-plugins-bad_1.16.1.bb| 2 +-
 .../gstreamer/gstreamer1.0-plugins-base_1.16.1.bb   | 2 +-
 .../gstreamer/gstreamer1.0-plugins-good_1.16.1.bb   | 2 +-
 .../gstreamer/gstreamer1.0-plugins-ugly_1.16.1.bb   | 2 +-
 meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.16.1.bb | 2 +-
 .../gstreamer/gstreamer1.0-rtsp-server_1.16.1.bb| 2 +-
 meta/recipes-multimedia/gstreamer/gstreamer1.0_1.16.1.bb| 2 +-
 9 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.16.1.bb 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.16.1.bb
index d3918cfcb8..10955ff161 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.16.1.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.16.1.bb
@@ -12,7 +12,7 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
 
file://gst-libs/ext/libav/COPYING.LGPLv2.1;md5=bd7a443320af8c812e4c18d1b79df004 
\
 
file://gst-libs/ext/libav/COPYING.LGPLv3;md5=e6a600fd5e1d9cbde2d983680233ad02"
 
-SRC_URI = 
"http://gstreamer.freedesktop.org/src/gst-libav/gst-libav-${PV}.tar.xz \
+SRC_URI = 
"https://gstreamer.freedesktop.org/src/gst-libav/gst-libav-${PV}.tar.xz \
file://0001-Disable-yasm-for-libav-when-disable-yasm.patch \
file://workaround-to-build-gst-libav-for-i586-with-gcc.patch \
file://mips64_cpu_detection.patch \
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.16.1.bb 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.16.1.bb
index 4c6c839bf8..cb2f7045a8 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.16.1.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.16.1.bb
@@ -7,7 +7,7 @@ LICENSE_FLAGS = "commercial"
 LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c \
 
file://omx/gstomx.h;beginline=1;endline=21;md5=5c8e1fca32704488e76d2ba9ddfa935f"
 
-SRC_URI = "http://gstreamer.freedesktop.org/src/gst-omx/gst-omx-${PV}.tar.xz;
+SRC_URI = "https://gstreamer.freedesktop.org/src/gst-omx/gst-omx-${PV}.tar.xz;
 
 SRC_URI[md5sum] = "89772e7a277fd0abfc250eaf8e4e9ce9"
 SRC_URI[sha256sum] = 
"cbf54121a2cba575d460833e8132265781252ce32cf5b8f9fa8753e42ab24bb2"
diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.16.1.bb 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.16.1.bb
index 4330c797a2..1731be8441 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.16.1.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.16.1.bb
@@ -1,7 +1,7 @@
 require gstreamer1.0-plugins.inc
 
 SRC_URI = " \
-
http://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-${PV}.tar.xz
 \
+
https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-${PV}.tar.xz
 \
 file://configure-allow-to-disable-libssh2.patch \
 file://fix-maybe-uninitialized-warnings-when-compiling-with-Os.patch \
 file://avoid-including-sys-poll.h-directly.patch \
diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.16.1.bb 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.16.1.bb
index 9df67e7b88..cb99fba5ff 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.16.1.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.16.1.bb
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=6762ed442b3822387a51c92d928ead0d \
 
file://common/coverage/coverage-report.pl;beginline=2;endline=17;md5=a4e1830fce078028c8f0974161272607"
 
 SRC_URI = " \
-
http://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-${PV}.tar.xz
 \
+
https://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-${PV}.tar.xz
 \
 file://get-caps-from-src-pad-when-query-caps.patch \
 file://0003-ssaparse-enhance-SSA-text-lines-parsing.patch \
 file://make-gio_unix_2_0-dependency-configurable.patch \
diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.16.1.bb 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.16.1.bb
index 21d2b2bb7f..0fa7b86ffe 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.16.1.bb
+++ b/meta

[OE-core] [PATCH 06/12] gstreamer1.0-libav: upgrade to version 1.16.1

2019-10-22 Thread Carlos Rafael Giani
Removed gtkdoc-no-tree.patch since its changes are now included in 1.16.1

Signed-off-by: Carlos Rafael Giani 
---
 .../gstreamer1.0-libav/gtkdoc-no-tree.patch   | 35 ---
 ...1.16.0.bb => gstreamer1.0-libav_1.16.1.bb} |  5 ++-
 2 files changed, 2 insertions(+), 38 deletions(-)
 delete mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/gtkdoc-no-tree.patch
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-libav_1.16.0.bb => 
gstreamer1.0-libav_1.16.1.bb} (94%)

diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/gtkdoc-no-tree.patch 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/gtkdoc-no-tree.patch
deleted file mode 100644
index a36fdc9a14..00
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/gtkdoc-no-tree.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-Upstream-Status: Backport
-Signed-off-by: Ross Burton 
-
-From 6f720cebe632d7dc187c6907857d67ce1f7313d6 Mon Sep 17 00:00:00 2001
-From: Ross Burton 
-Date: Mon, 9 Sep 2019 22:48:49 +0100
-Subject: [PATCH] docs: don't include the type hierarchy
-
-gtk-doc can't generate a type hierarchy when scanning gst-libav, and gtk-doc
-1.30 onwards doesn't write a file if there is no type hierarchy (unlike 
previous
-releases, which wrote an empty file).  This results in the build failing with
-gtk-doc 1.30 onwards, so remove the type hierarchy section from the
-documentation as it doesn't serve any purpose.
-
-Fixes https://gitlab.freedesktop.org/gstreamer/gst-libav/issues/57

- docs/plugins/gst-libav-plugins-docs.sgml | 5 -
- 1 file changed, 5 deletions(-)
-
-diff --git a/docs/plugins/gst-libav-plugins-docs.sgml 
b/docs/plugins/gst-libav-plugins-docs.sgml
-index 75c68f4..f68d554 100644
 a/docs/plugins/gst-libav-plugins-docs.sgml
-+++ b/docs/plugins/gst-libav-plugins-docs.sgml
-@@ -32,9 +32,4 @@
- gst-libav Plugins
- 
-   
--
--  
--Object Hierarchy
--
--  
- 
--- 
-2.22.0
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.16.0.bb 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.16.1.bb
similarity index 94%
rename from meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.16.0.bb
rename to meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.16.1.bb
index d2629b506d..d3918cfcb8 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.16.0.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.16.1.bb
@@ -18,10 +18,9 @@ SRC_URI = 
"http://gstreamer.freedesktop.org/src/gst-libav/gst-libav-${PV}.tar.xz
file://mips64_cpu_detection.patch \
file://0001-configure-check-for-armv7ve-variant.patch \
file://0001-fix-host-contamination.patch \
-   file://gtkdoc-no-tree.patch \
"
-SRC_URI[md5sum] = "e3a201a45985ddc1327cd496046ca818"
-SRC_URI[sha256sum] = 
"dfac119043a9cfdcacd7acde77f674ab172cf2537b5812be52f49e9cddc53d9a"
+SRC_URI[md5sum] = "58023f4c71bbd711061e350fcd76c09d"
+SRC_URI[sha256sum] = 
"e8a5748ae9a4a7be9696512182ea9ffa6efe0be9b7976916548e9d4381ca61c4"
 
 S = "${WORKDIR}/gst-libav-${PV}"
 
-- 
2.17.1

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


[OE-core] [PATCH 03/12] gstreamer1.0-plugins-good: upgrade to version 1.16.1

2019-10-22 Thread Carlos Rafael Giani
* 0001-scaletempo-Advertise-interleaved-layout-in-caps-temp.patch
* headerfix.patch
  Removed since these changes are already included in 1.16.1

Signed-off-by: Carlos Rafael Giani 
---
 ...tise-interleaved-layout-in-caps-temp.patch | 37 
 .../gstreamer1.0-plugins-good/headerfix.patch | 43 ---
 ...bb => gstreamer1.0-plugins-good_1.16.1.bb} |  6 +--
 3 files changed, 2 insertions(+), 84 deletions(-)
 delete mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-scaletempo-Advertise-interleaved-layout-in-caps-temp.patch
 delete mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/headerfix.patch
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-good_1.16.0.bb 
=> gstreamer1.0-plugins-good_1.16.1.bb} (92%)

diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-scaletempo-Advertise-interleaved-layout-in-caps-temp.patch
 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-scaletempo-Advertise-interleaved-layout-in-caps-temp.patch
deleted file mode 100644
index caa080c8e7..00
--- 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-scaletempo-Advertise-interleaved-layout-in-caps-temp.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-From aadfa5f20f53601785e417fe3fcbe6d574880988 Mon Sep 17 00:00:00 2001
-From: Philippe Normand 
-Date: Tue, 23 Apr 2019 10:10:01 +0100
-Subject: [PATCH] scaletempo: Advertise interleaved layout in caps templates
-
-Scaletempo doesn't support non-interleaved layout. Not explicitely stating this
-would trigger critical warnings and a caps negotiation failure when scaletempo
-is used as playbin audio-filter.
-
-Patch suggested by George Kiagiadakis .
-
-Fixes #591
-Upstream-Status: Backport [merged, on track for 1.16.1.]

- gst/audiofx/gstscaletempo.c | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/gst/audiofx/gstscaletempo.c b/gst/audiofx/gstscaletempo.c
-index 3a719719a..83ee8fe24 100644
 a/gst/audiofx/gstscaletempo.c
-+++ b/gst/audiofx/gstscaletempo.c
-@@ -93,9 +93,9 @@ enum
- 
- #define SUPPORTED_CAPS \
- GST_STATIC_CAPS ( \
--GST_AUDIO_CAPS_MAKE (GST_AUDIO_NE (F32)) "; " \
--GST_AUDIO_CAPS_MAKE (GST_AUDIO_NE (F64)) "; " \
--GST_AUDIO_CAPS_MAKE (GST_AUDIO_NE (S16)) \
-+GST_AUDIO_CAPS_MAKE (GST_AUDIO_NE (F32)) ", layout=(string)interleaved; " 
\
-+GST_AUDIO_CAPS_MAKE (GST_AUDIO_NE (F64)) ", layout=(string)interleaved; " 
\
-+GST_AUDIO_CAPS_MAKE (GST_AUDIO_NE (S16)) ", layout=(string)interleaved" \
- )
- 
- static GstStaticPadTemplate sink_template = GST_STATIC_PAD_TEMPLATE ("sink",
--- 
-2.20.1
-
diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/headerfix.patch 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/headerfix.patch
deleted file mode 100644
index 34d25a0a49..00
--- 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/headerfix.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-Things break with overlapping defines between glib and gstreamer with glibc 
2.30.
-
-Discussion in the link below, basically internal __ prefixed variables 
-shouldn't be redefined.
-
-Upstream-Status: Submitted 
[https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/issues/635]
-RP 2019/8/6
-
-Index: gst-plugins-good-1.16.0/sys/v4l2/ext/types-compat.h
-===
 gst-plugins-good-1.16.0.orig/sys/v4l2/ext/types-compat.h
-+++ gst-plugins-good-1.16.0/sys/v4l2/ext/types-compat.h
-@@ -24,29 +24,6 @@
- #ifndef __TYPES_COMPAT_H__
- #define __TYPES_COMPAT_H__
- 
--/* From linux/types.h */
--#ifndef __bitwise__
--#  ifdef __CHECKER__
--#define __bitwise__ __attribute__((bitwise))
--#  else
--#define __bitwise__
--#  endif
--#endif
--
--#ifndef __bitwise
--#  ifdef __CHECK_ENDIAN__
--#define __bitwise __bitwise__
--#  else
--#define __bitwise
--#  endif
--#endif
--
--#define __u64 guint64
--#define __u32 guint32
--#define __u16 guint16
--#define __u8 guint8
--#define __s64 gint64
--#define __s32 gint32
--#define __le32 guint32 __bitwise
-+#include 
- 
- #endif /* __TYPES_COMPAT_H__ */
diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.16.0.bb 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.16.1.bb
similarity index 92%
rename from 
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.16.0.bb
rename to meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.16.1.bb
index 5751467db1..21d2b2bb7f 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.16.0.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.16.1.bb
@@ -2,13 +2,11 @@ require gstreamer1.0-plugins.inc
 
 SRC_URI = " \
 
http://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-${PV}.tar.xz
 \
-
file://0001-scaletempo-Adve

[OE-core] [PATCH 08/12] gstreamer1.0-omx: upgrade to version 1.16.1

2019-10-22 Thread Carlos Rafael Giani
Signed-off-by: Carlos Rafael Giani 
---
 ...{gstreamer1.0-omx_1.16.0.bb => gstreamer1.0-omx_1.16.1.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-omx_1.16.0.bb => 
gstreamer1.0-omx_1.16.1.bb} (93%)

diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.16.0.bb 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.16.1.bb
similarity index 93%
rename from meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.16.0.bb
rename to meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.16.1.bb
index d94bad36f9..4c6c839bf8 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.16.0.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.16.1.bb
@@ -9,8 +9,8 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=4fbd65380cdd255951079008b364516c \
 
 SRC_URI = "http://gstreamer.freedesktop.org/src/gst-omx/gst-omx-${PV}.tar.xz;
 
-SRC_URI[md5sum] = "c6f8554513980682099a2a9832250b01"
-SRC_URI[sha256sum] = 
"fef77cddc02784608451c46b9def880b63230a246decf8900f2da2ed54a8af4a"
+SRC_URI[md5sum] = "89772e7a277fd0abfc250eaf8e4e9ce9"
+SRC_URI[sha256sum] = 
"cbf54121a2cba575d460833e8132265781252ce32cf5b8f9fa8753e42ab24bb2"
 
 S = "${WORKDIR}/gst-omx-${PV}"
 
-- 
2.17.1

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


[OE-core] [PATCH 07/12] gstreamer1.0-vaapi: upgrade to version 1.16.1

2019-10-22 Thread Carlos Rafael Giani
Signed-off-by: Carlos Rafael Giani 
---
 ...reamer1.0-vaapi_1.16.0.bb => gstreamer1.0-vaapi_1.16.1.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-vaapi_1.16.0.bb => 
gstreamer1.0-vaapi_1.16.1.bb} (93%)

diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.16.0.bb 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.16.1.bb
similarity index 93%
rename from meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.16.0.bb
rename to meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.16.1.bb
index e5dfb61241..61cf705fd8 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.16.0.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.16.1.bb
@@ -13,8 +13,8 @@ SRC_URI = 
"https://gstreamer.freedesktop.org/src/${REALPN}/${REALPN}-${PV}.tar.x
file://0001-vaapsink-downgrade-to-marginal.patch \
"
 
-SRC_URI[md5sum] = "8c3f9ee3e47cbdb75a94f7183460b721"
-SRC_URI[sha256sum] = 
"4e7fce626ee0590dca74b5a8341d25bac76307945131a970b414fc5895f5171f"
+SRC_URI[md5sum] = "15b08f76777359d87b0b4a561db05f1f"
+SRC_URI[sha256sum] = 
"cb570f6f1e78cb364fbe3c4fb8751824ee9db0c942ba61b62380b9b5abb7603a"
 
 S = "${WORKDIR}/${REALPN}-${PV}"
 DEPENDS = "libva gstreamer1.0 gstreamer1.0-plugins-base 
gstreamer1.0-plugins-bad"
-- 
2.17.1

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


[OE-core] [PATCH 09/12] gstreamer1.0-python: upgrade to version 1.16.1

2019-10-22 Thread Carlos Rafael Giani
Signed-off-by: Carlos Rafael Giani 
---
 ...amer1.0-python_1.16.0.bb => gstreamer1.0-python_1.16.1.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-python_1.16.0.bb => 
gstreamer1.0-python_1.16.1.bb} (88%)

diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.16.0.bb 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.16.1.bb
similarity index 88%
rename from meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.16.0.bb
rename to meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.16.1.bb
index 0f3aac1906..52ed150482 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.16.0.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.16.1.bb
@@ -6,8 +6,8 @@ LICENSE = "LGPLv2.1"
 LIC_FILES_CHKSUM = "file://COPYING;md5=c34deae4e395ca07e725ab0076a5f740"
 
 SRC_URI = 
"http://gstreamer.freedesktop.org/src/${PNREAL}/${PNREAL}-${PV}.tar.xz;
-SRC_URI[md5sum] = "877b2ed2aaffdb62e63f38ea9469b70f"
-SRC_URI[sha256sum] = 
"55dc7aaed1855565f9b9ef842d93e93bfc5cb2b376faef6af5b463e1774e2d38"
+SRC_URI[md5sum] = "499645fbd1790c5845c02a3998dccc1b"
+SRC_URI[sha256sum] = 
"b469c8955126f41b8ce0bf689b7029f182cd305f422b3a8df35b780bd8347489"
 
 DEPENDS = "gstreamer1.0 python3-pygobject"
 RDEPENDS_${PN} += "gstreamer1.0 python3-pygobject"
-- 
2.17.1

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


[OE-core] [PATCH 02/12] gstreamer1.0-plugins-base: upgrade to version 1.16.1

2019-10-22 Thread Carlos Rafael Giani
Signed-off-by: Carlos Rafael Giani 
---
 ...ins-base_1.16.0.bb => gstreamer1.0-plugins-base_1.16.1.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-base_1.16.0.bb 
=> gstreamer1.0-plugins-base_1.16.1.bb} (96%)

diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.16.0.bb 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.16.1.bb
similarity index 96%
rename from 
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.16.0.bb
rename to meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.16.1.bb
index 1d6f15e9c1..9df67e7b88 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.16.0.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.16.1.bb
@@ -18,8 +18,8 @@ SRC_URI = " \
 
file://0001-gstreamer-gl.pc.in-don-t-append-GL_CFLAGS-to-CFLAGS.patch \
 file://link-with-libvchostif.patch \
 "
-SRC_URI[md5sum] = "41dde92930710c75cdb49169c5cc6dfc"
-SRC_URI[sha256sum] = 
"4093aa7b51e28fb24dfd603893fead8d1b7782f088b05ed0f22a21ef176fb5ae"
+SRC_URI[md5sum] = "b5eb0651bab70bf1714f103bdd66ce47"
+SRC_URI[sha256sum] = 
"5c3cc489933d0597087c9bc6ba251c93693d64554bcc563539a084fa2d5fcb2b"
 
 S = "${WORKDIR}/gst-plugins-base-${PV}"
 
-- 
2.17.1

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


[OE-core] [PATCH 04/12] gstreamer1.0-plugins-bad: upgrade to version 1.16.1

2019-10-22 Thread Carlos Rafael Giani
Signed-off-by: Carlos Rafael Giani 
---
 ...ugins-bad_1.16.0.bb => gstreamer1.0-plugins-bad_1.16.1.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-bad_1.16.0.bb 
=> gstreamer1.0-plugins-bad_1.16.1.bb} (97%)

diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.16.0.bb 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.16.1.bb
similarity index 97%
rename from meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.16.0.bb
rename to meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.16.1.bb
index f9289e92d2..4330c797a2 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.16.0.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.16.1.bb
@@ -8,8 +8,8 @@ SRC_URI = " \
 file://ensure-valid-sentinels-for-gst_structure_get-etc.patch \
 file://0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch \
 "
-SRC_URI[md5sum] = "e9e562d86c1527c44d904500dd35e326"
-SRC_URI[sha256sum] = 
"22139de35626ada6090bdfa3423b27b7fc15a0198331d25c95e6b12cb1072b05"
+SRC_URI[md5sum] = "24d4d30ecc67d5cbc77c0475bcea1210"
+SRC_URI[sha256sum] = 
"56481c95339b8985af13bac19b18bc8da7118c2a7d9440ed70e7dcd799c2adb5"
 
 S = "${WORKDIR}/gst-plugins-bad-${PV}"
 
-- 
2.17.1

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


[OE-core] [PATCH 11/12] gst-validate: upgrade to version 1.16.1

2019-10-22 Thread Carlos Rafael Giani
Signed-off-by: Carlos Rafael Giani 
---
 .../{gst-validate_1.16.0.bb => gst-validate_1.16.1.bb}| 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-multimedia/gstreamer/{gst-validate_1.16.0.bb => 
gst-validate_1.16.1.bb} (87%)

diff --git a/meta/recipes-multimedia/gstreamer/gst-validate_1.16.0.bb 
b/meta/recipes-multimedia/gstreamer/gst-validate_1.16.1.bb
similarity index 87%
rename from meta/recipes-multimedia/gstreamer/gst-validate_1.16.0.bb
rename to meta/recipes-multimedia/gstreamer/gst-validate_1.16.1.bb
index 1f4370619c..7d602eabc6 100644
--- a/meta/recipes-multimedia/gstreamer/gst-validate_1.16.0.bb
+++ b/meta/recipes-multimedia/gstreamer/gst-validate_1.16.1.bb
@@ -9,8 +9,8 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343"
 SRC_URI = "https://gstreamer.freedesktop.org/src/${BPN}/${BP}.tar.xz \
file://0001-connect-has-a-different-signature-on-musl.patch \
"
-SRC_URI[md5sum] = "c5c57f3325a2e62aae4a8ec4931f7711"
-SRC_URI[sha256sum] = 
"9331ae48a173a048243539730cc7a8860762dea4aebbc3ab55981e68d6c9"
+SRC_URI[md5sum] = "793e75f4717f718ad204c554d577b160"
+SRC_URI[sha256sum] = 
"7f079b9b2a127604b98e297037dc8847ef50f4ce2b508aa2df0cac5b77562899"
 
 DEPENDS = "json-glib glib-2.0 glib-2.0-native gstreamer1.0 
gstreamer1.0-plugins-base"
 RRECOMMENDS_${PN} = "git"
-- 
2.17.1

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


[OE-core] [PATCH 05/12] gstreamer1.0-plugins-ugly: upgrade to version 1.16.1

2019-10-22 Thread Carlos Rafael Giani
Signed-off-by: Carlos Rafael Giani 
---
 ...ins-ugly_1.16.0.bb => gstreamer1.0-plugins-ugly_1.16.1.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-ugly_1.16.0.bb 
=> gstreamer1.0-plugins-ugly_1.16.1.bb} (90%)

diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.16.0.bb 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.16.1.bb
similarity index 90%
rename from 
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.16.0.bb
rename to meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.16.1.bb
index 11a0e790ea..de677c0fd4 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.16.0.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.16.1.bb
@@ -10,8 +10,8 @@ SRC_URI = " \
 
http://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-${PV}.tar.xz
 \
 
file://0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch \
 "
-SRC_URI[md5sum] = "1ec343c58d4b17d682f7befa8453c11c"
-SRC_URI[sha256sum] = 
"e30964c5f031c32289e0b25e176c3c95a5737f2052dfc81d0f7427ef0233a4c2"
+SRC_URI[md5sum] = "668795903cb4971fba9aa89abdea8369"
+SRC_URI[sha256sum] = 
"4bf913b2ca5195ac3b53b5e3ade2dc7c45d2258507552ddc850c5fa425968a1d"
 
 S = "${WORKDIR}/gst-plugins-ugly-${PV}"
 
-- 
2.17.1

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


[OE-core] [PATCH 10/12] gstreamer1.0-rtsp-server: upgrade to version 1.16.1

2019-10-22 Thread Carlos Rafael Giani
Signed-off-by: Carlos Rafael Giani 
---
 ...sp-server_1.16.0.bb => gstreamer1.0-rtsp-server_1.16.1.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-rtsp-server_1.16.0.bb 
=> gstreamer1.0-rtsp-server_1.16.1.bb} (88%)

diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.16.0.bb 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.16.1.bb
similarity index 88%
rename from meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.16.0.bb
rename to meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.16.1.bb
index 042938b88e..ca360bc244 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.16.0.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.16.1.bb
@@ -13,8 +13,8 @@ SRC_URI = 
"http://gstreamer.freedesktop.org/src/${PNREAL}/${PNREAL}-${PV}.tar.xz
file://gtk-doc-tweaks.patch \
"
 
-SRC_URI[md5sum] = "adc4460239ec2eccf58ad9752ce53bfd"
-SRC_URI[sha256sum] = 
"198e9eec1a3e32dc810d3fbf3a714850a22c6288d4a5c8e802c5ff984af03f19"
+SRC_URI[md5sum] = "380d6a42e856c32fcefa508ad57129e0"
+SRC_URI[sha256sum] = 
"b0abacad2f86f60d63781d2b24443c5668733e8b08664bbef94124906d700144"
 
 S = "${WORKDIR}/${PNREAL}-${PV}"
 
-- 
2.17.1

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


Re: [OE-core] [AUH] kmscube: upgrading to f632b23a528ed6b4e1fddd774db005c30ab65568 SUCCEEDED

2019-09-03 Thread Carlos Rafael Giani

Hi,

FYI: I have updated kmscube to perform run-time checks that replace the 
existing build-time gbm_bo_map() check (which is what the patch in the 
kmscube folder is about), since upstream prefers run-time checks via 
weak functions. The commit is here: 
https://gitlab.freedesktop.org/dv1/kmscube/commit/99264af7f2b820f7464ff3036a49aff3dd7fd8cf


Unfortunately, I have no platform with a Mali GPU, so I cannot test-run 
these changes. I have asked the authors mentioned in the patch for help. 
If anybody else here can also test-run this on a Mali-enabled platform, 
it would be very helpful. Once I get an OK from test-runs, I'll update 
the recipes to use this instead of the existing patch.


On 17.08.19 19:49, a...@auh.yoctoproject.org wrote:

Hello,

You are receiving this email because you are the maintainer
of *kmscube* recipe and this is to let you know that the automatic attempt
to upgrade the recipe to *f632b23a528ed6b4e1fddd774db005c30ab65568* has 
Succeeded.

Next steps:
 - apply the patch: git am 0001-kmscube-upgrade-to-latest-revision.patch
 - check the changes to upstream patches and summarize them in the commit 
message,
 - compile an image that contains the package
 - perform some basic sanity tests
 - amend the patch and sign it off: git commit -s --reset-author --amend
 - send it to the appropriate mailing list

Alternatively, if you believe the recipe should not be upgraded at this time,
you can fill RECIPE_NO_UPDATE_REASON in respective recipe file so that
automatic upgrades would no longer be attempted.

Please review the attached files for further information and build/update 
failures.
Any problem please file a bug at 
https://bugzilla.yoctoproject.org/enter_bug.cgi?product=Automated%20Update%20Handler

Regards,
The Upgrade Helper

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


Re: [OE-core] [AUH] kmscube: upgrading to a12e306ce18ff1c2922219a5342fa419ee80a12e FAILED

2019-07-29 Thread Carlos Rafael Giani
OK, an update. I have fixed the recipe, updated both the patch and the 
SRCREV etc. But, the patch itself is not exactly okay anymore. Upstream 
prefers runtime detection of optional features over compile-time 
detection. Also, they are moving away from autotools towards meson, so 
the Makefile.am etc. changes won't do anything.


I'll spend a few more days to update this.


On 17.07.19 21:34, Alexander Kanavin wrote:

Thanks.

Generally I want to request all of the maintainers to pay attention to 
those AUH emails and act on them, or put respective action points in 
your TODO. If you feel like you can't allocate time to this work, or 
lost interest (which is totally fine), please let the project know; 
the worst outcome is simply ignoring the emails.


Regards,
Alex

On Wed, 17 Jul 2019 at 19:41, Carlos Rafael Giani <mailto:crg7...@mailbox.org>> wrote:


I noticed this already, yes. Working on it.

On 17.07.19 15:47, a...@auh.yoctoproject.org
<mailto:a...@auh.yoctoproject.org> wrote:
> Hello,
>
> You are receiving this email because you are the maintainer
> of *kmscube* recipe and this is to let you know that the
automatic attempt
> to upgrade the recipe to
*a12e306ce18ff1c2922219a5342fa419ee80a12e* has Failed (devtool error).
>
> Detailed error information:
>
> Running 'devtool upgrade' for recipe kmscube failed.
> NOTE: Starting bitbake server...
> NOTE: Bitbake server didn't start within 5 seconds, waiting for 90
> NOTE: Reconnecting to bitbake server...
> NOTE: Retrying server connection (#1)...
> WARNING: Layer workspacelayer should set
LAYERSERIES_COMPAT_workspacelayer in its conf/layer.conf file to
list the core layer names it is compatible with.
> Loading cache...done.
> INFO: Extracting current version source...
> Loaded 1324 entries from dependency cache.
>
> Summary: There was 1 WARNING message shown.
> NOTE: Resolving any missing task queue dependencies
>
> Build Configuration:
> BB_VERSION           = "1.43.0"
> BUILD_SYS            = "x86_64-linux"
> NATIVELSBSTRING      = "universal"
> TARGET_SYS           = "i686-poky-linux"
> MACHINE              = "qemux86"
> DISTRO               = "poky"
> DISTRO_VERSION       = "2.7+snapshot-20190716"
> TUNE_FEATURES        = "m32 core2"
> TARGET_FPU           = ""
> meta
> meta-poky
> meta-yocto-bsp       =
"tmp-auh-upgrades:d1d025cb80e75952d4a8c5e0e5d44ca6d9716b5a"
> workspace            = ":"
>
> Initialising tasks...NOTE: No setscene tasks
> NOTE: Executing Tasks
> NOTE: Tasks Summary: Attempted 3 tasks of which 0 didn't need to
be rerun and all succeeded.
> NOTE: Writing buildhistory
> NOTE: Writing buildhistory took: 2 seconds
> INFO: Extracting upgraded version source...
> WARNING: Command 'git rebase
a12e306ce18ff1c2922219a5342fa419ee80a12e' failed:
> First, rewinding head to replay your work on top of it...
> Applying: Detect gst_bo_map/_unmap and use it (or avoid it)
> Using index info to reconstruct a base tree...
> M     Makefile.am
> M     kmscube.c
> Falling back to patching base and 3-way merge...
> Auto-merging kmscube.c
> Auto-merging Makefile.am
> CONFLICT (content): Merge conflict in Makefile.am
> error: Failed to merge in the changes.
> Patch failed at 0001 Detect gst_bo_map/_unmap and use it (or
avoid it)
> The copy of the patch that failed is found in:
.git/rebase-apply/patch
>
> When you have resolved this problem, run "git rebase --continue".
> If you prefer to skip this patch, run "git rebase --skip" instead.
> To check out the original branch and stop rebasing, run "git
rebase --abort".
>
> You will need to resolve conflicts in order to complete the upgrade.
> INFO: Upgraded source extracted to
/home/auh/build/workspace/sources/kmscube
> INFO: New recipe is
/home/auh/build/workspace/recipes/kmscube/kmscube_git.bb
<http://kmscube_git.bb>
>
>
>
> Please review the attached files for further information and
build/update failures.
> Any problem please file a bug at

https://bugzilla.yoctoproject.org/enter_bug.cgi?product=Automated%20Update%20Handler
>
> Regards,
> The Upgrade Helper
-- 
___

Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
<mailto:Openembedded-core@lists.openembedded.org>
http://lists.openembedded.org/mailman/listinfo/openembedded-core

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


Re: [OE-core] [AUH] kmscube: upgrading to a12e306ce18ff1c2922219a5342fa419ee80a12e FAILED

2019-07-17 Thread Carlos Rafael Giani

I noticed this already, yes. Working on it.

On 17.07.19 15:47, a...@auh.yoctoproject.org wrote:

Hello,

You are receiving this email because you are the maintainer
of *kmscube* recipe and this is to let you know that the automatic attempt
to upgrade the recipe to *a12e306ce18ff1c2922219a5342fa419ee80a12e* has Failed 
(devtool error).

Detailed error information:

Running 'devtool upgrade' for recipe kmscube failed.
NOTE: Starting bitbake server...
NOTE: Bitbake server didn't start within 5 seconds, waiting for 90
NOTE: Reconnecting to bitbake server...
NOTE: Retrying server connection (#1)...
WARNING: Layer workspacelayer should set LAYERSERIES_COMPAT_workspacelayer in 
its conf/layer.conf file to list the core layer names it is compatible with.
Loading cache...done.
INFO: Extracting current version source...
Loaded 1324 entries from dependency cache.

Summary: There was 1 WARNING message shown.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION   = "1.43.0"
BUILD_SYS= "x86_64-linux"
NATIVELSBSTRING  = "universal"
TARGET_SYS   = "i686-poky-linux"
MACHINE  = "qemux86"
DISTRO   = "poky"
DISTRO_VERSION   = "2.7+snapshot-20190716"
TUNE_FEATURES= "m32 core2"
TARGET_FPU   = ""
meta
meta-poky
meta-yocto-bsp   = 
"tmp-auh-upgrades:d1d025cb80e75952d4a8c5e0e5d44ca6d9716b5a"
workspace= ":"

Initialising tasks...NOTE: No setscene tasks
NOTE: Executing Tasks
NOTE: Tasks Summary: Attempted 3 tasks of which 0 didn't need to be rerun and 
all succeeded.
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 2 seconds
INFO: Extracting upgraded version source...
WARNING: Command 'git rebase a12e306ce18ff1c2922219a5342fa419ee80a12e' failed:
First, rewinding head to replay your work on top of it...
Applying: Detect gst_bo_map/_unmap and use it (or avoid it)
Using index info to reconstruct a base tree...
M   Makefile.am
M   kmscube.c
Falling back to patching base and 3-way merge...
Auto-merging kmscube.c
Auto-merging Makefile.am
CONFLICT (content): Merge conflict in Makefile.am
error: Failed to merge in the changes.
Patch failed at 0001 Detect gst_bo_map/_unmap and use it (or avoid it)
The copy of the patch that failed is found in: .git/rebase-apply/patch

When you have resolved this problem, run "git rebase --continue".
If you prefer to skip this patch, run "git rebase --skip" instead.
To check out the original branch and stop rebasing, run "git rebase --abort".

You will need to resolve conflicts in order to complete the upgrade.
INFO: Upgraded source extracted to /home/auh/build/workspace/sources/kmscube
INFO: New recipe is /home/auh/build/workspace/recipes/kmscube/kmscube_git.bb



Please review the attached files for further information and build/update 
failures.
Any problem please file a bug at 
https://bugzilla.yoctoproject.org/enter_bug.cgi?product=Automated%20Update%20Handler

Regards,
The Upgrade Helper

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


[OE-core] [PATCH v3] gstreamer1.0-vaapi: upgrade to version 1.16.0

2019-05-30 Thread Carlos Rafael Giani
Signed-off-by: Philippe Normand 
Signed-off-by: Carlos Rafael Giani 
---
 .../0001-vaapsink-downgrade-to-marginal.patch   | 4 ++--
 ...amer1.0-vaapi_1.14.4.bb => gstreamer1.0-vaapi_1.16.0.bb} | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-vaapi_1.14.4.bb => 
gstreamer1.0-vaapi_1.16.0.bb} (91%)

diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi/0001-vaapsink-downgrade-to-marginal.patch
 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi/0001-vaapsink-downgrade-to-marginal.patch
index c861f3bed2..7945a923c9 100644
--- 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi/0001-vaapsink-downgrade-to-marginal.patch
+++ 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi/0001-vaapsink-downgrade-to-marginal.patch
@@ -24,7 +24,7 @@ diff --git a/gst/vaapi/gstvaapi.c b/gst/vaapi/gstvaapi.c
 index 9a82454..4d94f2b 100644
 --- a/gst/vaapi/gstvaapi.c
 +++ b/gst/vaapi/gstvaapi.c
-@@ -210,7 +210,6 @@ plugin_init (GstPlugin * plugin)
+@@ -195,7 +195,6 @@ plugin_init (GstPlugin * plugin)
  {
GstVaapiDisplay *display;
GArray *decoders;
@@ -32,7 +32,7 @@ index 9a82454..4d94f2b 100644
  
plugin_add_dependencies (plugin);
  
-@@ -235,10 +234,7 @@ plugin_init (GstPlugin * plugin)
+@@ -220,10 +219,7 @@ plugin_init (GstPlugin * plugin)
gst_element_register (plugin, "vaapidecodebin",
GST_RANK_PRIMARY + 2, GST_TYPE_VAAPI_DECODE_BIN);
  
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.14.4.bb 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.16.0.bb
similarity index 91%
rename from meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.14.4.bb
rename to meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.16.0.bb
index 3896434104..e5dfb61241 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.14.4.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.16.0.bb
@@ -13,8 +13,8 @@ SRC_URI = 
"https://gstreamer.freedesktop.org/src/${REALPN}/${REALPN}-${PV}.tar.x
file://0001-vaapsink-downgrade-to-marginal.patch \
"
 
-SRC_URI[md5sum] = "2fae3442f5f23e7354a0c592bc7b9065"
-SRC_URI[sha256sum] = 
"ce18dbfe961c6a8d31270231686075586bf7a7df62b778c8e7f5ec148251d0a3"
+SRC_URI[md5sum] = "8c3f9ee3e47cbdb75a94f7183460b721"
+SRC_URI[sha256sum] = 
"4e7fce626ee0590dca74b5a8341d25bac76307945131a970b414fc5895f5171f"
 
 S = "${WORKDIR}/${REALPN}-${PV}"
 DEPENDS = "libva gstreamer1.0 gstreamer1.0-plugins-base 
gstreamer1.0-plugins-bad"
@@ -40,7 +40,7 @@ PACKAGECONFIG ??= "drm \
 PACKAGECONFIG[drm] = "--enable-drm,--disable-drm,udev libdrm"
 PACKAGECONFIG[egl] = "--enable-egl,--disable-egl,virtual/egl"
 PACKAGECONFIG[glx] = "--enable-glx,--disable-glx,virtual/libgl"
-PACKAGECONFIG[wayland] = "--enable-wayland,--disable-wayland,wayland"
+PACKAGECONFIG[wayland] = "--enable-wayland,--disable-wayland,wayland-native 
wayland wayland-protocols"
 PACKAGECONFIG[x11] = "--enable-x11,--disable-x11,virtual/libx11 libxrandr 
libxrender"
 
 FILES_${PN} += "${libdir}/gstreamer-*/*.so"
-- 
2.17.1

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


[OE-core] [PATCH v2 08/11] gstreamer1.0-vaapi: upgrade to version 1.16.0

2019-05-30 Thread Carlos Rafael Giani
Signed-off-by: Philippe Normand 
Signed-off-by: Carlos Rafael Giani 
---
 .../0001-vaapsink-downgrade-to-marginal.patch   | 4 ++--
 ...amer1.0-vaapi_1.14.4.bb => gstreamer1.0-vaapi_1.16.0.bb} | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-vaapi_1.14.4.bb => 
gstreamer1.0-vaapi_1.16.0.bb} (91%)

diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi/0001-vaapsink-downgrade-to-marginal.patch
 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi/0001-vaapsink-downgrade-to-marginal.patch
index c861f3bed2..7945a923c9 100644
--- 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi/0001-vaapsink-downgrade-to-marginal.patch
+++ 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi/0001-vaapsink-downgrade-to-marginal.patch
@@ -24,7 +24,7 @@ diff --git a/gst/vaapi/gstvaapi.c b/gst/vaapi/gstvaapi.c
 index 9a82454..4d94f2b 100644
 --- a/gst/vaapi/gstvaapi.c
 +++ b/gst/vaapi/gstvaapi.c
-@@ -210,7 +210,6 @@ plugin_init (GstPlugin * plugin)
+@@ -195,7 +195,6 @@ plugin_init (GstPlugin * plugin)
  {
GstVaapiDisplay *display;
GArray *decoders;
@@ -32,7 +32,7 @@ index 9a82454..4d94f2b 100644
  
plugin_add_dependencies (plugin);
  
-@@ -235,10 +234,7 @@ plugin_init (GstPlugin * plugin)
+@@ -220,10 +219,7 @@ plugin_init (GstPlugin * plugin)
gst_element_register (plugin, "vaapidecodebin",
GST_RANK_PRIMARY + 2, GST_TYPE_VAAPI_DECODE_BIN);
  
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.14.4.bb 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.16.0.bb
similarity index 91%
rename from meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.14.4.bb
rename to meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.16.0.bb
index 3896434104..e5dfb61241 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.14.4.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.16.0.bb
@@ -13,8 +13,8 @@ SRC_URI = 
"https://gstreamer.freedesktop.org/src/${REALPN}/${REALPN}-${PV}.tar.x
file://0001-vaapsink-downgrade-to-marginal.patch \
"
 
-SRC_URI[md5sum] = "2fae3442f5f23e7354a0c592bc7b9065"
-SRC_URI[sha256sum] = 
"ce18dbfe961c6a8d31270231686075586bf7a7df62b778c8e7f5ec148251d0a3"
+SRC_URI[md5sum] = "8c3f9ee3e47cbdb75a94f7183460b721"
+SRC_URI[sha256sum] = 
"4e7fce626ee0590dca74b5a8341d25bac76307945131a970b414fc5895f5171f"
 
 S = "${WORKDIR}/${REALPN}-${PV}"
 DEPENDS = "libva gstreamer1.0 gstreamer1.0-plugins-base 
gstreamer1.0-plugins-bad"
@@ -40,7 +40,7 @@ PACKAGECONFIG ??= "drm \
 PACKAGECONFIG[drm] = "--enable-drm,--disable-drm,udev libdrm"
 PACKAGECONFIG[egl] = "--enable-egl,--disable-egl,virtual/egl"
 PACKAGECONFIG[glx] = "--enable-glx,--disable-glx,virtual/libgl"
-PACKAGECONFIG[wayland] = "--enable-wayland,--disable-wayland,wayland"
+PACKAGECONFIG[wayland] = "--enable-wayland,--disable-wayland,wayland-native 
wayland wayland-protocols"
 PACKAGECONFIG[x11] = "--enable-x11,--disable-x11,virtual/libx11 libxrandr 
libxrender"
 
 FILES_${PN} += "${libdir}/gstreamer-*/*.so"
-- 
2.17.1

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


[OE-core] [PATCH v2 04/11] gstreamer1.0-plugins-bad: upgrade to version 1.16.0

2019-05-30 Thread Carlos Rafael Giani
* 0001-Makefile.am-don-t-hardcode-libtool-name-when-running.patch
  Removed since the https://bugzilla.gnome.org/show_bug.cgi?id=726571
  fix is included in 1.16.0

* SCTP plugin got added

* WPE plugin got added (but currently disabled due to build problems with
  meta-webkit; will be fixed in a separate commit)

* ACM, SPC, daala, VCD plugins got removed

Signed-off-by: Philippe Normand 
Signed-off-by: Carlos Rafael Giani 
---
 ...t-hardcode-libtool-name-when-running.patch | 43 ---
 .../avoid-including-sys-poll.h-directly.patch |  2 +-
 .../configure-allow-to-disable-libssh2.patch  |  4 +-
 ...-sentinels-for-gst_structure_get-etc.patch |  8 ++--
 ...ized-warnings-when-compiling-with-Os.patch |  2 +-
 bb => gstreamer1.0-plugins-bad_1.16.0.bb} | 17 +++-
 6 files changed, 15 insertions(+), 61 deletions(-)
 delete mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-Makefile.am-don-t-hardcode-libtool-name-when-running.patch
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-bad_1.14.4.bb 
=> gstreamer1.0-plugins-bad_1.16.0.bb} (92%)

diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-Makefile.am-don-t-hardcode-libtool-name-when-running.patch
 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-Makefile.am-don-t-hardcode-libtool-name-when-running.patch
deleted file mode 100644
index 05b991a8f0..00
--- 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-Makefile.am-don-t-hardcode-libtool-name-when-running.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-From 7d8e8b8bcce34d01fc7ad7285b4eb17ad8949399 Mon Sep 17 00:00:00 2001
-From: Anuj Mittal 
-Date: Wed, 11 Apr 2018 11:06:39 +0800
-Subject: [PATCH] Makefile.am: don't hardcode libtool name when running 
- introspection tools
-
-Upstream-Status: Pending [review on oe-core list]
-Signed-off-by: Alexander Kanavin 
-Signed-off-by: Maxin B. John 

- gst-libs/gst/insertbin/Makefile.am | 2 +-
- gst-libs/gst/mpegts/Makefile.am| 2 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/gst-libs/gst/insertbin/Makefile.am 
b/gst-libs/gst/insertbin/Makefile.am
-index 1f8ea30..4b98ef6 100644
 a/gst-libs/gst/insertbin/Makefile.am
-+++ b/gst-libs/gst/insertbin/Makefile.am
-@@ -45,7 +45,7 @@ GstInsertBin-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) 
libgstinsertbin-@GS
-   --library=libgstinsertbin-@GST_API_VERSION@.la \
-   --include=Gst-@GST_API_VERSION@ \
-   --include=GstBase-@GST_API_VERSION@ \
--  --libtool="$(top_builddir)/libtool" \
-+  --libtool="$(LIBTOOL)" \
-   --pkg gstreamer-@GST_API_VERSION@ \
-   --pkg gstreamer-base-@GST_API_VERSION@ \
-   --pkg-export gstreamer-insertbin-@GST_API_VERSION@ \
-diff --git a/gst-libs/gst/mpegts/Makefile.am b/gst-libs/gst/mpegts/Makefile.am
-index f264e33..9934a4d 100644
 a/gst-libs/gst/mpegts/Makefile.am
-+++ b/gst-libs/gst/mpegts/Makefile.am
-@@ -82,7 +82,7 @@ GstMpegts-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) 
libgstmpegts-@GST_API_
-   --add-include-path=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" 
$(PKG_CONFIG) --variable=girdir gstreamer-video-@GST_API_VERSION@` \
-   --library=libgstmpegts-@GST_API_VERSION@.la \
-   --include=Gst-@GST_API_VERSION@ \
--  --libtool="$(top_builddir)/libtool" \
-+  --libtool="$(LIBTOOL)" \
-   --pkg gstreamer-@GST_API_VERSION@ \
-   --pkg gstreamer-video-@GST_API_VERSION@ \
-   --pkg-export gstreamer-mpegts-@GST_API_VERSION@ \
--- 
-2.7.4
-
diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/avoid-including-sys-poll.h-directly.patch
 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/avoid-including-sys-poll.h-directly.patch
index 357fd78002..32261279a5 100644
--- 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/avoid-including-sys-poll.h-directly.patch
+++ 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/avoid-including-sys-poll.h-directly.patch
@@ -16,7 +16,7 @@ diff --git a/sys/dvb/gstdvbsrc.c b/sys/dvb/gstdvbsrc.c
 index b93255f..49f145a 100644
 --- a/sys/dvb/gstdvbsrc.c
 +++ b/sys/dvb/gstdvbsrc.c
-@@ -93,7 +93,7 @@
+@@ -97,7 +97,7 @@
  #include 
  #include 
  #include 
diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/configure-allow-to-disable-libssh2.patch
 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/configure-allow-to-disable-libssh2.patch
index ad86329893..25861b6b9d 100644
--- 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/configure-allow-to-disable-libssh2.patch
+++ 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/configure-allow-to-disable-libssh2.patch
@@ -22,7 +22,7 @@ Index: gst-plugins-bad-1.12.3/configure.ac
 

[OE-core] [PATCH v2 11/11] gst-validate: upgrade to version 1.16.0

2019-05-30 Thread Carlos Rafael Giani
From: Philippe Normand 

Signed-off-by: Philippe Normand 
Signed-off-by: Carlos Rafael Giani 
---
 .../{gst-validate_1.14.4.bb => gst-validate_1.16.0.bb}| 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-multimedia/gstreamer/{gst-validate_1.14.4.bb => 
gst-validate_1.16.0.bb} (87%)

diff --git a/meta/recipes-multimedia/gstreamer/gst-validate_1.14.4.bb 
b/meta/recipes-multimedia/gstreamer/gst-validate_1.16.0.bb
similarity index 87%
rename from meta/recipes-multimedia/gstreamer/gst-validate_1.14.4.bb
rename to meta/recipes-multimedia/gstreamer/gst-validate_1.16.0.bb
index a4b3b465cc..1f4370619c 100644
--- a/meta/recipes-multimedia/gstreamer/gst-validate_1.14.4.bb
+++ b/meta/recipes-multimedia/gstreamer/gst-validate_1.16.0.bb
@@ -9,8 +9,8 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343"
 SRC_URI = "https://gstreamer.freedesktop.org/src/${BPN}/${BP}.tar.xz \
file://0001-connect-has-a-different-signature-on-musl.patch \
"
-SRC_URI[md5sum] = "1f4fc5308695adfdc11d13046aa4888c"
-SRC_URI[sha256sum] = 
"18dccca94bdc0bab3cddb07817bd280df7ab4abbec9a83b92620367a22d955c7"
+SRC_URI[md5sum] = "c5c57f3325a2e62aae4a8ec4931f7711"
+SRC_URI[sha256sum] = 
"9331ae48a173a048243539730cc7a8860762dea4aebbc3ab55981e68d6c9"
 
 DEPENDS = "json-glib glib-2.0 glib-2.0-native gstreamer1.0 
gstreamer1.0-plugins-base"
 RRECOMMENDS_${PN} = "git"
-- 
2.17.1

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


[OE-core] [PATCH v2 07/11] gstreamer1.0-libav: upgrade to version 1.16.0

2019-05-30 Thread Carlos Rafael Giani
Signed-off-by: Philippe Normand 
Signed-off-by: Carlos Rafael Giani 
---
 .../0001-Disable-yasm-for-libav-when-disable-yasm.patch   | 2 +-
 .../0001-configure-check-for-armv7ve-variant.patch| 4 ++--
 .../gstreamer/gstreamer1.0-libav/mips64_cpu_detection.patch   | 2 +-
 .../workaround-to-build-gst-libav-for-i586-with-gcc.patch | 2 +-
 ...reamer1.0-libav_1.14.4.bb => gstreamer1.0-libav_1.16.0.bb} | 4 ++--
 5 files changed, 7 insertions(+), 7 deletions(-)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-libav_1.14.4.bb => 
gstreamer1.0-libav_1.16.0.bb} (95%)

diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/0001-Disable-yasm-for-libav-when-disable-yasm.patch
 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/0001-Disable-yasm-for-libav-when-disable-yasm.patch
index 1d99ad1251..11571aefa1 100644
--- 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/0001-Disable-yasm-for-libav-when-disable-yasm.patch
+++ 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/0001-Disable-yasm-for-libav-when-disable-yasm.patch
@@ -15,7 +15,7 @@ diff --git a/configure.ac b/configure.ac
 index 22ede88..ef3c050 100644
 --- a/configure.ac
 +++ b/configure.ac
-@@ -305,6 +305,12 @@ else
+@@ -355,6 +355,12 @@ else
  emblibav_configure_args="$emblibav_configure_args --enable-gpl"
fi
 
diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/0001-configure-check-for-armv7ve-variant.patch
 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/0001-configure-check-for-armv7ve-variant.patch
index b80d073946..f182715bda 100644
--- 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/0001-configure-check-for-armv7ve-variant.patch
+++ 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/0001-configure-check-for-armv7ve-variant.patch
@@ -22,8 +22,8 @@ diff --git a/gst-libs/ext/libav/configure 
b/gst-libs/ext/libav/configure
 index 4a5e477..727818e 100755
 --- a/gst-libs/ext/libav/configure
 +++ b/gst-libs/ext/libav/configure
-@@ -4295,6 +4295,7 @@ elif enabled arm; then
- elif check_arm_arch 6Z;   then echo armv6z
+@@ -4745,6 +4745,7 @@ elif enabled arm; then
+ elif check_arm_arch 6KZ;  then echo armv6zk
  elif check_arm_arch 6ZK;  then echo armv6zk
  elif check_arm_arch 6T2;  then echo armv6t2
 +elif check_arm_arch EXT_IDIV; then echo armv7ve
diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/mips64_cpu_detection.patch
 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/mips64_cpu_detection.patch
index 7a0b44..90d042b313 100644
--- 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/mips64_cpu_detection.patch
+++ 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/mips64_cpu_detection.patch
@@ -17,7 +17,7 @@ Index: gst-libav-1.10.1/gst-libs/ext/libav/configure
 ===
 --- gst-libav-1.10.1.orig/gst-libs/ext/libav/configure
 +++ gst-libav-1.10.1/gst-libs/ext/libav/configure
-@@ -5269,12 +5269,9 @@ elif enabled mips; then
+@@ -5650,12 +5650,9 @@ elif enabled mips; then
  
  # Enable minimum ISA based on selected options
  if enabled mips64; then
diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/workaround-to-build-gst-libav-for-i586-with-gcc.patch
 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/workaround-to-build-gst-libav-for-i586-with-gcc.patch
index 36abf8607e..4b85356547 100644
--- 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/workaround-to-build-gst-libav-for-i586-with-gcc.patch
+++ 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/workaround-to-build-gst-libav-for-i586-with-gcc.patch
@@ -11,7 +11,7 @@ Signed-off-by: Robert Yang 
 
 --- gst-libav-1.4.5.orig/gst-libs/ext/libav/libavcodec/h264_cabac.c
 +++ gst-libav-1.4.5/gst-libs/ext/libav/libavcodec/h264_cabac.c
-@@ -2020,7 +2020,11 @@ decode_intra_mb:
+@@ -2057,7 +2057,11 @@ decode_intra_mb:
  // In deblocking, the quantizer is 0
  h->cur_pic.qscale_table[mb_xy] = 0;
  // All coeffs are present
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.14.4.bb 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.16.0.bb
similarity index 95%
rename from meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.14.4.bb
rename to meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.16.0.bb
index 5c9c372f04..3f1ec99d95 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.14.4.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.16.0.bb
@@ -19,8 +19,8 @@ SRC_URI = 
"http://gstreamer.freedesktop.org/src/gst-libav/gst-libav-${PV}.tar.xz
file://0001-configure-check-for-armv7ve-variant.patch \
file://0001-fix-host-contamination.patch \
"
-SRC_URI[md5sum] = "58342db11dbb201a66a62577dcf7bab5"
-SRC_URI[sha256sum] = 
"dfd78591901df7853eab7e56a86c34a1b0363

[OE-core] [PATCH v2 05/11] gstreamer1.0-plugins-ugly: upgrade to version 1.16.0

2019-05-30 Thread Carlos Rafael Giani
Signed-off-by: Philippe Normand 
Signed-off-by: Carlos Rafael Giani 
---
 ...ins-ugly_1.14.4.bb => gstreamer1.0-plugins-ugly_1.16.0.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-ugly_1.14.4.bb 
=> gstreamer1.0-plugins-ugly_1.16.0.bb} (90%)

diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.14.4.bb 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.16.0.bb
similarity index 90%
rename from 
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.14.4.bb
rename to meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.16.0.bb
index 168e64d84c..11a0e790ea 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.14.4.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.16.0.bb
@@ -10,8 +10,8 @@ SRC_URI = " \
 
http://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-${PV}.tar.xz
 \
 
file://0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch \
 "
-SRC_URI[md5sum] = "90768a0074db071175ce980064d9a1ac"
-SRC_URI[sha256sum] = 
"ac02d837f166c35ff6ce0738e281680d0b90052cfb1f0255dcf6aaca5f0f6d23"
+SRC_URI[md5sum] = "1ec343c58d4b17d682f7befa8453c11c"
+SRC_URI[sha256sum] = 
"e30964c5f031c32289e0b25e176c3c95a5737f2052dfc81d0f7427ef0233a4c2"
 
 S = "${WORKDIR}/gst-plugins-ugly-${PV}"
 
-- 
2.17.1

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


[OE-core] [PATCH v2 09/11] gstreamer1.0-rtsp-server: upgrade to version 1.16.0

2019-05-30 Thread Carlos Rafael Giani
From: Philippe Normand 

* 0001-Don-t-hardcode-libtool-name-when-using-introspection.patch
  Removed since this was fixed in 1.16.0 similarly to the fixes to
  -base and -bad in https://bugzilla.gnome.org/show_bug.cgi?id=726571

Signed-off-by: Philippe Normand 
Signed-off-by: Carlos Rafael Giani 
---
 ...ibtool-name-when-using-introspection.patch | 27 ---
 bb => gstreamer1.0-rtsp-server_1.16.0.bb} |  5 ++--
 2 files changed, 2 insertions(+), 30 deletions(-)
 delete mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server/0001-Don-t-hardcode-libtool-name-when-using-introspection.patch
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-rtsp-server_1.14.4.bb 
=> gstreamer1.0-rtsp-server_1.16.0.bb} (82%)

diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server/0001-Don-t-hardcode-libtool-name-when-using-introspection.patch
 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server/0001-Don-t-hardcode-libtool-name-when-using-introspection.patch
deleted file mode 100644
index 89d6384adb..00
--- 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server/0001-Don-t-hardcode-libtool-name-when-using-introspection.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From 4a12569e5ae5be63cd92a9b178860026a99746b1 Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin 
-Date: Tue, 27 Oct 2015 16:55:45 +0200
-Subject: [PATCH] Don't hardcode libtool name when using introspection
-
-Upstream-Status: Pending [review on oe-core maillist]
-Signed-off-by: Alexander Kanavin 

- gst/rtsp-server/Makefile.am | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/gst/rtsp-server/Makefile.am b/gst/rtsp-server/Makefile.am
-index 4fcd366..c67f5ab 100644
 a/gst/rtsp-server/Makefile.am
-+++ b/gst/rtsp-server/Makefile.am
-@@ -87,7 +87,7 @@ GstRtspServer-@GST_API_VERSION@.gir: 
$(INTROSPECTION_SCANNER) libgstrtspserver-@
-   --include=Gst-@GST_API_VERSION@ \
-   --include=GstRtsp-@GST_API_VERSION@ \
-   --include=GstNet-@GST_API_VERSION@ \
--  --libtool="$(top_builddir)/libtool" \
-+  --libtool="$(LIBTOOL)" \
-   --pkg gstreamer-@GST_API_VERSION@ \
-   --pkg gstreamer-rtsp-@GST_API_VERSION@ \
-   --pkg gstreamer-net-@GST_API_VERSION@ \
--- 
-2.1.4
-
diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.14.4.bb 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.16.0.bb
similarity index 82%
rename from meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.14.4.bb
rename to meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.16.0.bb
index 7efc1b3534..042938b88e 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.14.4.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.16.0.bb
@@ -9,13 +9,12 @@ DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base"
 PNREAL = "gst-rtsp-server"
 
 SRC_URI = 
"http://gstreamer.freedesktop.org/src/${PNREAL}/${PNREAL}-${PV}.tar.xz \
-   
file://0001-Don-t-hardcode-libtool-name-when-using-introspection.patch \

file://0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch \
file://gtk-doc-tweaks.patch \
"
 
-SRC_URI[md5sum] = "ab0fb5c829266a500e14b46b7bdf06bf"
-SRC_URI[sha256sum] = 
"3d0ece2afdcd601c175ece24e32a30bc19247b454f4eafd3deeec2533c6884f1"
+SRC_URI[md5sum] = "adc4460239ec2eccf58ad9752ce53bfd"
+SRC_URI[sha256sum] = 
"198e9eec1a3e32dc810d3fbf3a714850a22c6288d4a5c8e802c5ff984af03f19"
 
 S = "${WORKDIR}/${PNREAL}-${PV}"
 
-- 
2.17.1

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


[OE-core] [PATCH v2 06/11] gstreamer1.0-omx: upgrade to version 1.16.0

2019-05-30 Thread Carlos Rafael Giani
From: Philippe Normand 

Signed-off-by: Philippe Normand 
Signed-off-by: Carlos Rafael Giani 
---
 ...{gstreamer1.0-omx_1.14.4.bb => gstreamer1.0-omx_1.16.0.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-omx_1.14.4.bb => 
gstreamer1.0-omx_1.16.0.bb} (93%)

diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.14.4.bb 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.16.0.bb
similarity index 93%
rename from meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.14.4.bb
rename to meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.16.0.bb
index 39ca1e3854..d94bad36f9 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.14.4.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.16.0.bb
@@ -9,8 +9,8 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=4fbd65380cdd255951079008b364516c \
 
 SRC_URI = "http://gstreamer.freedesktop.org/src/gst-omx/gst-omx-${PV}.tar.xz;
 
-SRC_URI[md5sum] = "81e67ea03be607b7c548ce911598d754"
-SRC_URI[sha256sum] = 
"969870e75c1f75c96f8783530e2c2932fc3afbfd976eb0c466f51dae268ea3d4"
+SRC_URI[md5sum] = "c6f8554513980682099a2a9832250b01"
+SRC_URI[sha256sum] = 
"fef77cddc02784608451c46b9def880b63230a246decf8900f2da2ed54a8af4a"
 
 S = "${WORKDIR}/gst-omx-${PV}"
 
-- 
2.17.1

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


[OE-core] [PATCH v2 01/11] gstreamer1.0: upgrade to version 1.16.0

2019-05-30 Thread Carlos Rafael Giani
From: Philippe Normand 

* 0002-gstconfig.h.in-initial-RISC-V-support.patch
  Removed since this is included in 1.16.0

Signed-off-by: Philippe Normand 
Signed-off-by: Carlos Rafael Giani 
---
 ...stconfig.h.in-initial-RISC-V-support.patch | 30 ---
 ...er1.0_1.14.4.bb => gstreamer1.0_1.16.0.bb} |  6 ++--
 2 files changed, 3 insertions(+), 33 deletions(-)
 delete mode 100644 
meta/recipes-multimedia/gstreamer/files/0002-gstconfig.h.in-initial-RISC-V-support.patch
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0_1.14.4.bb => 
gstreamer1.0_1.16.0.bb} (94%)

diff --git 
a/meta/recipes-multimedia/gstreamer/files/0002-gstconfig.h.in-initial-RISC-V-support.patch
 
b/meta/recipes-multimedia/gstreamer/files/0002-gstconfig.h.in-initial-RISC-V-support.patch
deleted file mode 100644
index db742dea23..00
--- 
a/meta/recipes-multimedia/gstreamer/files/0002-gstconfig.h.in-initial-RISC-V-support.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-From 8a156d1725ecd03f2e8cdc8874e081dda2d3b43d Mon Sep 17 00:00:00 2001
-From: Aurelien Jarno 
-Date: Sun, 15 Apr 2018 00:49:55 +0200
-Subject: [PATCH] gstconfig.h.in: initial RISC-V support
-
-RISC-V supports unaligned accesses, but these might run extremely slowly
-depending on the implementation. Therefore set GST_HAVE_UNALIGNED_ACCESS
-to 0 on this architecture.
-
-https://bugzilla.gnome.org/show_bug.cgi?id=795271
-
-Signed-off-by: Alistair Francis 
-Upstream-Status: Accepted [1.15.1 - 
https://bugzilla.gnome.org/show_bug.cgi?id=795271]

- gst/gstconfig.h.in | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/gst/gstconfig.h.in b/gst/gstconfig.h.in
-index 6351c04da..33dfed1f6 100644
 a/gst/gstconfig.h.in
-+++ b/gst/gstconfig.h.in
-@@ -104,7 +104,7 @@
-  * http://docs.oracle.com/cd/E19205-01/820-4155/c++_faq.html#Vers6
-  * https://software.intel.com/en-us/node/583402
-  */
--#if defined(__alpha__) || defined(__arc__) || defined(__arm__) || 
defined(__aarch64__) || defined(__bfin) || defined(__hppa__) || 
defined(__nios2__) || defined(__MICROBLAZE__) || defined(__mips__) || 
defined(__or1k__) || defined(__sh__) || defined(__SH4__) || defined(__sparc__) 
|| defined(__sparc) || defined(__ia64__) || defined(_M_ALPHA) || 
defined(_M_ARM) || defined(_M_IA64) || defined(__xtensa__) || defined(__e2k__)
-+#if defined(__alpha__) || defined(__arc__) || defined(__arm__) || 
defined(__aarch64__) || defined(__bfin) || defined(__hppa__) || 
defined(__nios2__) || defined(__MICROBLAZE__) || defined(__mips__) || 
defined(__or1k__) || defined(__sh__) || defined(__SH4__) || defined(__sparc__) 
|| defined(__sparc) || defined(__ia64__) || defined(_M_ALPHA) || 
defined(_M_ARM) || defined(_M_IA64) || defined(__xtensa__) || defined(__e2k__) 
|| defined(__riscv)
- #  define GST_HAVE_UNALIGNED_ACCESS 0
- #elif defined(__i386__) || defined(__i386) || defined(__amd64__) || 
defined(__amd64) || defined(__x86_64__) || defined(__ppc__) || 
defined(__ppc64__) || defined(__powerpc__) || defined(__powerpc64__) || 
defined(__m68k__) || defined(_M_IX86) || defined(_M_AMD64) || defined(_M_X64) 
|| defined(__s390__) || defined(__s390x__) || defined(__zarch__)
- #  define GST_HAVE_UNALIGNED_ACCESS 1
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0_1.14.4.bb 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0_1.16.0.bb
similarity index 94%
rename from meta/recipes-multimedia/gstreamer/gstreamer1.0_1.14.4.bb
rename to meta/recipes-multimedia/gstreamer/gstreamer1.0_1.16.0.bb
index 98c9a28e39..da2d14cd99 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0_1.14.4.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0_1.16.0.bb
@@ -25,11 +25,10 @@ SRC_URI = " \
 file://gtk-doc-tweaks.patch \
 file://0001-gst-gstpluginloader.c-when-env-var-is-set-do-not-fal.patch \
 file://add-a-target-to-compile-tests.patch \
-file://0002-gstconfig.h.in-initial-RISC-V-support.patch \
 file://run-ptest \
 "
-SRC_URI[md5sum] = "f67fbbc42bd85a0701df119f52fb52bd"
-SRC_URI[sha256sum] = 
"f94f6696c5f05a3b3a9183e39c5f5c0b779f75a04c0efa497e7920afa985ffc7"
+SRC_URI[md5sum] = "862b7e4263d946bc2ef31b3c582e5587"
+SRC_URI[sha256sum] = 
"0e8e2f7118be437cba879353970cf83c2acced825ecb9275ba05d9186ef07c00"
 
 PACKAGECONFIG ??= "${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)} 
\
"
@@ -55,6 +54,7 @@ PACKAGES += "${PN}-bash-completion"
 FILES_${PN} += "${libdir}/gstreamer-1.0/*.so"
 FILES_${PN}-dev += "${libdir}/gstreamer-1.0/*.la ${libdir}/gstreamer-1.0/*.a 
${libdir}/gstreamer-1.0/include"
 FILES_${PN}-bash-completion += "${datadir}/bash-completion/completions/ 
${datadir}/bash-completion/helpers/gst*"
+FILES_${PN}-dbg += "${datadir}/gdb ${datadir}/gstreamer-1.0/gdb"
 
 RDEPENDS_${PN}-ptest += "make"
 
-- 
2.17.1

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


[OE-core] [PATCH v2 10/11] gstreamer1.0-python: upgrade to version 1.16.0

2019-05-30 Thread Carlos Rafael Giani
From: Philippe Normand 

Signed-off-by: Philippe Normand 
Signed-off-by: Carlos Rafael Giani 
---
 ...amer1.0-python_1.14.4.bb => gstreamer1.0-python_1.16.0.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-python_1.14.4.bb => 
gstreamer1.0-python_1.16.0.bb} (91%)

diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.14.4.bb 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.16.0.bb
similarity index 91%
rename from meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.14.4.bb
rename to meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.16.0.bb
index 048aaf4413..af9f3f213b 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.14.4.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.16.0.bb
@@ -6,8 +6,8 @@ LICENSE = "LGPLv2.1"
 LIC_FILES_CHKSUM = "file://COPYING;md5=c34deae4e395ca07e725ab0076a5f740"
 
 SRC_URI = 
"http://gstreamer.freedesktop.org/src/${PNREAL}/${PNREAL}-${PV}.tar.xz;
-SRC_URI[md5sum] = "d4c0e3915f547feef49208ee08981e5a"
-SRC_URI[sha256sum] = 
"d0fdb24f93b6d889f309d2f526b8ea9577e0084ff0a62b4623ef1aed52e85a1b"
+SRC_URI[md5sum] = "877b2ed2aaffdb62e63f38ea9469b70f"
+SRC_URI[sha256sum] = 
"55dc7aaed1855565f9b9ef842d93e93bfc5cb2b376faef6af5b463e1774e2d38"
 
 DEPENDS = "gstreamer1.0 python3-pygobject"
 RDEPENDS_${PN} += "gstreamer1.0 python3-pygobject"
-- 
2.17.1

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


[OE-core] [PATCH v2 03/11] gstreamer1.0-plugins-good: upgrade to version 1.16.0

2019-05-30 Thread Carlos Rafael Giani
* 0001-scaletempo-Advertise-interleaved-layout-in-caps-temp.patch
  Added this patch that is on track for version 1.16.1 because
  it is needed for WebKit

* 0001-gstrtpmp4gpay-set-dafault-value-for-MPEG4-without-co.patch
  Removed since it is not needed (using mpeg4videoparse fixes the issue)

* avoid-including-sys-poll.h-directly.patch
* ensure-valid-sentinel-for-gst_structure_get.patch
  Removed since these are included in 1.16.0

Signed-off-by: Philippe Normand 
Signed-off-by: Carlos Rafael Giani 
---
 ...t-dafault-value-for-MPEG4-without-co.patch | 62 ---
 ...tise-interleaved-layout-in-caps-temp.patch | 37 +++
 .../avoid-including-sys-poll.h-directly.patch | 44 -
 ...valid-sentinel-for-gst_structure_get.patch | 40 
 ...bb => gstreamer1.0-plugins-good_1.16.0.bb} |  8 +--
 5 files changed, 40 insertions(+), 151 deletions(-)
 delete mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-gstrtpmp4gpay-set-dafault-value-for-MPEG4-without-co.patch
 create mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-scaletempo-Advertise-interleaved-layout-in-caps-temp.patch
 delete mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/avoid-including-sys-poll.h-directly.patch
 delete mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/ensure-valid-sentinel-for-gst_structure_get.patch
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-good_1.14.4.bb 
=> gstreamer1.0-plugins-good_1.16.0.bb} (90%)

diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-gstrtpmp4gpay-set-dafault-value-for-MPEG4-without-co.patch
 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-gstrtpmp4gpay-set-dafault-value-for-MPEG4-without-co.patch
deleted file mode 100644
index a2cbb70fe9..00
--- 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-gstrtpmp4gpay-set-dafault-value-for-MPEG4-without-co.patch
+++ /dev/null
@@ -1,62 +0,0 @@
-From c782a30482908a4b4dd9cd4abff9f9bc4016698f Mon Sep 17 00:00:00 2001
-From: Song Bing 
-Date: Tue, 5 Aug 2014 14:40:46 +0800
-Subject: [PATCH] gstrtpmp4gpay: set dafault value for MPEG4 without codec
- data in caps.
-
-https://bugzilla.gnome.org/show_bug.cgi?id=734263
-
-Upstream-Status: Submitted
-
-Signed-off-by: Song Bing 

- gst/rtp/gstrtpmp4gpay.c |   19 ++-
- 1 file changed, 18 insertions(+), 1 deletion(-)
-
-diff --git a/gst/rtp/gstrtpmp4gpay.c b/gst/rtp/gstrtpmp4gpay.c
-index 7913d9a..1749d39 100644
 a/gst/rtp/gstrtpmp4gpay.c
-+++ b/gst/rtp/gstrtpmp4gpay.c
-@@ -391,6 +391,7 @@ gst_rtp_mp4g_pay_setcaps (GstRTPBasePayload * payload, 
GstCaps * caps)
-   const GValue *codec_data;
-   const gchar *media_type = NULL;
-   gboolean res;
-+  const gchar *name;
- 
-   rtpmp4gpay = GST_RTP_MP4G_PAY (payload);
- 
-@@ -401,7 +402,6 @@ gst_rtp_mp4g_pay_setcaps (GstRTPBasePayload * payload, 
GstCaps * caps)
- GST_LOG_OBJECT (rtpmp4gpay, "got codec_data");
- if (G_VALUE_TYPE (codec_data) == GST_TYPE_BUFFER) {
-   GstBuffer *buffer;
--  const gchar *name;
- 
-   buffer = gst_value_get_buffer (codec_data);
-   GST_LOG_OBJECT (rtpmp4gpay, "configuring codec_data");
-@@ -427,6 +427,23 @@ gst_rtp_mp4g_pay_setcaps (GstRTPBasePayload * payload, 
GstCaps * caps)
- 
-   rtpmp4gpay->config = gst_buffer_copy (buffer);
- }
-+  } else {
-+name = gst_structure_get_name (structure);
-+
-+if (!strcmp (name, "video/mpeg")) {
-+  rtpmp4gpay->profile = g_strdup ("1");
-+
-+  /* fixed rate */
-+  rtpmp4gpay->rate = 9;
-+  /* video stream type */
-+  rtpmp4gpay->streamtype = "4";
-+  /* no params for video */
-+  rtpmp4gpay->params = NULL;
-+  /* mode */
-+  rtpmp4gpay->mode = "generic";
-+
-+  media_type = "video";
-+}
-   }
-   if (media_type == NULL)
- goto config_failed;
--- 
-1.7.9.5
-
diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-scaletempo-Advertise-interleaved-layout-in-caps-temp.patch
 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-scaletempo-Advertise-interleaved-layout-in-caps-temp.patch
new file mode 100644
index 00..844042a334
--- /dev/null
+++ 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-scaletempo-Advertise-interleaved-layout-in-caps-temp.patch
@@ -0,0 +1,37 @@
+From aadfa5f20f53601785e417fe3fcbe6d574880988 Mon Sep 17 00:00:00 2001
+From: Philippe Normand 
+Date: Tue, 23 Apr 2019 10:10:01 +0100
+Subject: [PATCH] scaletempo: Advertise interleaved layout in caps templates
+
+Scaletempo doesn't support non-interleaved layout. Not explicitely stating this
+would trigger critical warnings and a caps negotiation failure when scaletempo
+is used as playbin audio-filter.
+
+Patch suggested by George Kiagiadakis .
+
+Fixes #591
+U

[OE-core] [PATCH v2 02/11] gstreamer1.0-plugins-base: upgrade to version 1.16.0

2019-05-30 Thread Carlos Rafael Giani
* 0001-Makefile.am-don-t-hardcode-libtool-name-when-running.patch
  Removed since the https://bugzilla.gnome.org/show_bug.cgi?id=726571
  fix is included in 1.16.0

* 0005-viv-fb-Make-sure-config.h-is-included.patch
  Added to prevent build errors due to missing config.h #include

* 0010-gl-Add-switch-for-explicitely-enabling-disabling-GBM.patch
* 0011-gl-Add-switches-for-explicitely-enabling-disabling-P.patch
  Removed since these are included in 1.16.0

Signed-off-by: Philippe Normand 
Signed-off-by: Carlos Rafael Giani 
---
 ...t-hardcode-libtool-name-when-running.patch | 167 --
 ...ix-calls-to-pkg-config-with-PKG_CONF.patch |  35 ++--
 ...ect-reference-to-gstreamer-sdp-in-Ma.patch |   4 +-
 ...iv-fb-Make-sure-config.h-is-included.patch |  32 
 ...009-glimagesink-Downrank-to-marginal.patch |   2 +-
 ...r-explicitely-enabling-disabling-GBM.patch |  70 
 ...for-explicitely-enabling-disabling-P.patch | 109 
 .../link-with-libvchostif.patch   |   2 +-
 ...bb => gstreamer1.0-plugins-base_1.16.0.bb} |  11 +-
 9 files changed, 54 insertions(+), 378 deletions(-)
 delete mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-Makefile.am-don-t-hardcode-libtool-name-when-running.patch
 create mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0005-viv-fb-Make-sure-config.h-is-included.patch
 delete mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0010-gl-Add-switch-for-explicitely-enabling-disabling-GBM.patch
 delete mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0011-gl-Add-switches-for-explicitely-enabling-disabling-P.patch
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-base_1.14.4.bb 
=> gstreamer1.0-plugins-base_1.16.0.bb} (87%)

diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-Makefile.am-don-t-hardcode-libtool-name-when-running.patch
 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-Makefile.am-don-t-hardcode-libtool-name-when-running.patch
deleted file mode 100644
index bcada34c40..00
--- 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-Makefile.am-don-t-hardcode-libtool-name-when-running.patch
+++ /dev/null
@@ -1,167 +0,0 @@
-From 7022b87353a37b78bae7cf0106a4e47913bb5c97 Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin 
-Date: Thu, 5 Apr 2018 10:15:08 +0800
-Subject: [PATCH] Makefile.am: don't hardcode libtool name when running
- introspection tools
-
-Upstream-Status: Pending [review on oe-core maillist]
-Signed-off-by: Alexander Kanavin 
-Signed-off-by: Anuj Mittal 
-

- gst-libs/gst/allocators/Makefile.am | 2 +-
- gst-libs/gst/app/Makefile.am| 2 +-
- gst-libs/gst/audio/Makefile.am  | 2 +-
- gst-libs/gst/gl/Makefile.am | 2 +-
- gst-libs/gst/pbutils/Makefile.am| 2 +-
- gst-libs/gst/riff/Makefile.am   | 2 +-
- gst-libs/gst/rtp/Makefile.am| 2 +-
- gst-libs/gst/rtsp/Makefile.am   | 2 +-
- gst-libs/gst/sdp/Makefile.am| 2 +-
- gst-libs/gst/tag/Makefile.am| 2 +-
- gst-libs/gst/video/Makefile.am  | 2 +-
- 11 files changed, 11 insertions(+), 11 deletions(-)
-
-diff --git a/gst-libs/gst/allocators/Makefile.am 
b/gst-libs/gst/allocators/Makefile.am
-index 1957d28..1ecc950 100644
 a/gst-libs/gst/allocators/Makefile.am
-+++ b/gst-libs/gst/allocators/Makefile.am
-@@ -42,7 +42,7 @@ GstAllocators-@GST_API_VERSION@.gir: 
$(INTROSPECTION_SCANNER) libgstallocators-@
-   --add-include-path=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" 
$(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \
-   --library=libgstallocators-@GST_API_VERSION@.la \
-   --include=Gst-@GST_API_VERSION@ \
--  --libtool="$(top_builddir)/libtool" \
-+  --libtool="$(LIBTOOL)" \
-   --pkg gstreamer-@GST_API_VERSION@ \
-   --pkg-export gstreamer-allocators-@GST_API_VERSION@ \
-   --output $@ \
-diff --git a/gst-libs/gst/app/Makefile.am b/gst-libs/gst/app/Makefile.am
-index 52f6ad3..5bfd606 100644
 a/gst-libs/gst/app/Makefile.am
-+++ b/gst-libs/gst/app/Makefile.am
-@@ -56,7 +56,7 @@ GstApp-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) 
libgstapp-@GST_API_VERSIO
-   --library=libgstapp-@GST_API_VERSION@.la \
-   --include=Gst-@GST_API_VERSION@ \
-   --include=GstBase-@GST_API_VERSION@ \
--  --libtool="$(top_builddir)/libtool" \
-+  --libtool="$(LIBTOOL)" \
-   --pkg gstreamer-@GST_API_VERSION@ \
-   --pkg gstreamer-base-@GST_API_VERSION@ \
-   --pkg-export gstreamer-app-@GST_API_VERSION@ \
-diff --git a/gst-libs/gst/audio/Makefile.am b/gst-libs/gst/audio/Makefile.am
-index 2922245..7fb65f2 100644
 a/gst-libs/gst/audio/Makefile.am
-+++ b/gst-libs/gst/audio/Makefile.am
-@@ -184,7 +184,7 @@

Re: [OE-core] [PATCH 08/11] gstreamer1.0-vaapi: upgrade to version 1.16.0

2019-05-30 Thread Carlos Rafael Giani

Nevermind. Found it. It is in wayland-native.


On 30.05.19 17:39, Carlos Rafael Giani wrote:

Yep, wayland-protocols was missing. I just added it.

The other problem is odd. wayland is added as a dependency:

    PACKAGECONFIG[wayland] = 
"--enable-wayland,--disable-wayland,wayland wayland-protocols"


and yet wayland-scanner is not installed in the recipe-sysroot-native 
folder. The wayland-scanner binary is part of wayland-dev.


Am I forgetting something?


On 28.05.19 00:28, Mittal, Anuj wrote:

Looks like this needs a dependency on wayland-scanner and wayland-
protocols as well for this version?

Error log from autobuilder:

https://errors.yoctoproject.org/Errors/Details/247143/

Thanks
Anuj

On Sun, 2019-05-26 at 13:06 +0200, Carlos Rafael Giani wrote:

Signed-off-by: Philippe Normand 
Signed-off-by: Carlos Rafael Giani 
---
.../0001-vaapsink-downgrade-to-marginal.patch | 4
++--
  ...reamer1.0-vaapi_1.14.4.bb => gstreamer1.0-vaapi_1.16.0.bb} | 4
++--
  2 files changed, 4 insertions(+), 4 deletions(-)
  rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-
vaapi_1.14.4.bb => gstreamer1.0-vaapi_1.16.0.bb} (93%)

diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-
vaapi/0001-vaapsink-downgrade-to-marginal.patch b/meta/recipes-
multimedia/gstreamer/gstreamer1.0-vaapi/0001-vaapsink-downgrade-to-
marginal.patch
index c861f3bed2..7945a923c9 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi/0001-
vaapsink-downgrade-to-marginal.patch
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi/0001-
vaapsink-downgrade-to-marginal.patch
@@ -24,7 +24,7 @@ diff --git a/gst/vaapi/gstvaapi.c
b/gst/vaapi/gstvaapi.c
  index 9a82454..4d94f2b 100644
  --- a/gst/vaapi/gstvaapi.c
  +++ b/gst/vaapi/gstvaapi.c
-@@ -210,7 +210,6 @@ plugin_init (GstPlugin * plugin)
+@@ -195,7 +195,6 @@ plugin_init (GstPlugin * plugin)
   {
 GstVaapiDisplay *display;
 GArray *decoders;
@@ -32,7 +32,7 @@ index 9a82454..4d94f2b 100644
    plugin_add_dependencies (plugin);
   -@@ -235,10 +234,7 @@ plugin_init (GstPlugin * plugin)
+@@ -220,10 +219,7 @@ plugin_init (GstPlugin * plugin)
 gst_element_register (plugin, "vaapidecodebin",
 GST_RANK_PRIMARY + 2, GST_TYPE_VAAPI_DECODE_BIN);
   diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-
vaapi_1.14.4.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-
vaapi_1.16.0.bb
similarity index 93%
rename from meta/recipes-multimedia/gstreamer/gstreamer1.0-
vaapi_1.14.4.bb
rename to meta/recipes-multimedia/gstreamer/gstreamer1.0-
vaapi_1.16.0.bb
index 3896434104..4d7382a101 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.14.4.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.16.0.bb
@@ -13,8 +13,8 @@ SRC_URI = "
https://gstreamer.freedesktop.org/src/${REALPN}/${REALPN}-${PV}.tar.x
 file://0001-vaapsink-downgrade-to-marginal.patch \
 "
  -SRC_URI[md5sum] = "2fae3442f5f23e7354a0c592bc7b9065"
-SRC_URI[sha256sum] =
"ce18dbfe961c6a8d31270231686075586bf7a7df62b778c8e7f5ec148251d0a3"
+SRC_URI[md5sum] = "8c3f9ee3e47cbdb75a94f7183460b721"
+SRC_URI[sha256sum] =
"4e7fce626ee0590dca74b5a8341d25bac76307945131a970b414fc5895f5171f"
    S = "${WORKDIR}/${REALPN}-${PV}"
  DEPENDS = "libva gstreamer1.0 gstreamer1.0-plugins-base
gstreamer1.0-plugins-bad"
--
2.17.1


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


Re: [OE-core] [PATCH 08/11] gstreamer1.0-vaapi: upgrade to version 1.16.0

2019-05-30 Thread Carlos Rafael Giani

Yep, wayland-protocols was missing. I just added it.

The other problem is odd. wayland is added as a dependency:

    PACKAGECONFIG[wayland] = 
"--enable-wayland,--disable-wayland,wayland wayland-protocols"


and yet wayland-scanner is not installed in the recipe-sysroot-native 
folder. The wayland-scanner binary is part of wayland-dev.


Am I forgetting something?


On 28.05.19 00:28, Mittal, Anuj wrote:

Looks like this needs a dependency on wayland-scanner and wayland-
protocols as well for this version?

Error log from autobuilder:

https://errors.yoctoproject.org/Errors/Details/247143/

Thanks
Anuj

On Sun, 2019-05-26 at 13:06 +0200, Carlos Rafael Giani wrote:

Signed-off-by: Philippe Normand 
Signed-off-by: Carlos Rafael Giani 
---
  .../0001-vaapsink-downgrade-to-marginal.patch | 4
++--
  ...reamer1.0-vaapi_1.14.4.bb => gstreamer1.0-vaapi_1.16.0.bb} | 4
++--
  2 files changed, 4 insertions(+), 4 deletions(-)
  rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-
vaapi_1.14.4.bb => gstreamer1.0-vaapi_1.16.0.bb} (93%)

diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-
vaapi/0001-vaapsink-downgrade-to-marginal.patch b/meta/recipes-
multimedia/gstreamer/gstreamer1.0-vaapi/0001-vaapsink-downgrade-to-
marginal.patch
index c861f3bed2..7945a923c9 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi/0001-
vaapsink-downgrade-to-marginal.patch
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi/0001-
vaapsink-downgrade-to-marginal.patch
@@ -24,7 +24,7 @@ diff --git a/gst/vaapi/gstvaapi.c
b/gst/vaapi/gstvaapi.c
  index 9a82454..4d94f2b 100644
  --- a/gst/vaapi/gstvaapi.c
  +++ b/gst/vaapi/gstvaapi.c
-@@ -210,7 +210,6 @@ plugin_init (GstPlugin * plugin)
+@@ -195,7 +195,6 @@ plugin_init (GstPlugin * plugin)
   {
 GstVaapiDisplay *display;
 GArray *decoders;
@@ -32,7 +32,7 @@ index 9a82454..4d94f2b 100644
   
 plugin_add_dependencies (plugin);
   
-@@ -235,10 +234,7 @@ plugin_init (GstPlugin * plugin)

+@@ -220,10 +219,7 @@ plugin_init (GstPlugin * plugin)
 gst_element_register (plugin, "vaapidecodebin",
 GST_RANK_PRIMARY + 2, GST_TYPE_VAAPI_DECODE_BIN);
   
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-

vaapi_1.14.4.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-
vaapi_1.16.0.bb
similarity index 93%
rename from meta/recipes-multimedia/gstreamer/gstreamer1.0-
vaapi_1.14.4.bb
rename to meta/recipes-multimedia/gstreamer/gstreamer1.0-
vaapi_1.16.0.bb
index 3896434104..4d7382a101 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.14.4.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.16.0.bb
@@ -13,8 +13,8 @@ SRC_URI = "
https://gstreamer.freedesktop.org/src/${REALPN}/${REALPN}-${PV}.tar.x
 file://0001-vaapsink-downgrade-to-marginal.patch \
 "
  
-SRC_URI[md5sum] = "2fae3442f5f23e7354a0c592bc7b9065"

-SRC_URI[sha256sum] =
"ce18dbfe961c6a8d31270231686075586bf7a7df62b778c8e7f5ec148251d0a3"
+SRC_URI[md5sum] = "8c3f9ee3e47cbdb75a94f7183460b721"
+SRC_URI[sha256sum] =
"4e7fce626ee0590dca74b5a8341d25bac76307945131a970b414fc5895f5171f"
  
  S = "${WORKDIR}/${REALPN}-${PV}"

  DEPENDS = "libva gstreamer1.0 gstreamer1.0-plugins-base
gstreamer1.0-plugins-bad"
--
2.17.1


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


[OE-core] [PATCH 06/11] gstreamer1.0-omx: upgrade to version 1.16.0

2019-05-26 Thread Carlos Rafael Giani
From: Philippe Normand 

Signed-off-by: Philippe Normand 
Signed-off-by: Carlos Rafael Giani 
---
 ...{gstreamer1.0-omx_1.14.4.bb => gstreamer1.0-omx_1.16.0.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-omx_1.14.4.bb => 
gstreamer1.0-omx_1.16.0.bb} (93%)

diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.14.4.bb 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.16.0.bb
similarity index 93%
rename from meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.14.4.bb
rename to meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.16.0.bb
index 39ca1e3854..d94bad36f9 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.14.4.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.16.0.bb
@@ -9,8 +9,8 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=4fbd65380cdd255951079008b364516c \
 
 SRC_URI = "http://gstreamer.freedesktop.org/src/gst-omx/gst-omx-${PV}.tar.xz;
 
-SRC_URI[md5sum] = "81e67ea03be607b7c548ce911598d754"
-SRC_URI[sha256sum] = 
"969870e75c1f75c96f8783530e2c2932fc3afbfd976eb0c466f51dae268ea3d4"
+SRC_URI[md5sum] = "c6f8554513980682099a2a9832250b01"
+SRC_URI[sha256sum] = 
"fef77cddc02784608451c46b9def880b63230a246decf8900f2da2ed54a8af4a"
 
 S = "${WORKDIR}/gst-omx-${PV}"
 
-- 
2.17.1

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


[OE-core] [PATCH 03/11] gstreamer1.0-plugins-good: upgrade to version 1.16.0

2019-05-26 Thread Carlos Rafael Giani
* 0001-scaletempo-Advertise-interleaved-layout-in-caps-temp.patch
  Added this patch that is on track for version 1.16.1 because
  it is needed for WebKit

* 0001-gstrtpmp4gpay-set-dafault-value-for-MPEG4-without-co.patch
  Removed since it is not needed (using mpeg4videoparse fixes the issue)

* avoid-including-sys-poll.h-directly.patch
* ensure-valid-sentinel-for-gst_structure_get.patch
  Removed since these are included in 1.16.0

Signed-off-by: Philippe Normand 
Signed-off-by: Carlos Rafael Giani 
---
 ...t-dafault-value-for-MPEG4-without-co.patch | 62 ---
 ...tise-interleaved-layout-in-caps-temp.patch | 37 +++
 .../avoid-including-sys-poll.h-directly.patch | 44 -
 ...valid-sentinel-for-gst_structure_get.patch | 40 
 ...bb => gstreamer1.0-plugins-good_1.16.0.bb} |  8 +--
 5 files changed, 40 insertions(+), 151 deletions(-)
 delete mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-gstrtpmp4gpay-set-dafault-value-for-MPEG4-without-co.patch
 create mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-scaletempo-Advertise-interleaved-layout-in-caps-temp.patch
 delete mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/avoid-including-sys-poll.h-directly.patch
 delete mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/ensure-valid-sentinel-for-gst_structure_get.patch
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-good_1.14.4.bb 
=> gstreamer1.0-plugins-good_1.16.0.bb} (90%)

diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-gstrtpmp4gpay-set-dafault-value-for-MPEG4-without-co.patch
 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-gstrtpmp4gpay-set-dafault-value-for-MPEG4-without-co.patch
deleted file mode 100644
index a2cbb70fe9..00
--- 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-gstrtpmp4gpay-set-dafault-value-for-MPEG4-without-co.patch
+++ /dev/null
@@ -1,62 +0,0 @@
-From c782a30482908a4b4dd9cd4abff9f9bc4016698f Mon Sep 17 00:00:00 2001
-From: Song Bing 
-Date: Tue, 5 Aug 2014 14:40:46 +0800
-Subject: [PATCH] gstrtpmp4gpay: set dafault value for MPEG4 without codec
- data in caps.
-
-https://bugzilla.gnome.org/show_bug.cgi?id=734263
-
-Upstream-Status: Submitted
-
-Signed-off-by: Song Bing 

- gst/rtp/gstrtpmp4gpay.c |   19 ++-
- 1 file changed, 18 insertions(+), 1 deletion(-)
-
-diff --git a/gst/rtp/gstrtpmp4gpay.c b/gst/rtp/gstrtpmp4gpay.c
-index 7913d9a..1749d39 100644
 a/gst/rtp/gstrtpmp4gpay.c
-+++ b/gst/rtp/gstrtpmp4gpay.c
-@@ -391,6 +391,7 @@ gst_rtp_mp4g_pay_setcaps (GstRTPBasePayload * payload, 
GstCaps * caps)
-   const GValue *codec_data;
-   const gchar *media_type = NULL;
-   gboolean res;
-+  const gchar *name;
- 
-   rtpmp4gpay = GST_RTP_MP4G_PAY (payload);
- 
-@@ -401,7 +402,6 @@ gst_rtp_mp4g_pay_setcaps (GstRTPBasePayload * payload, 
GstCaps * caps)
- GST_LOG_OBJECT (rtpmp4gpay, "got codec_data");
- if (G_VALUE_TYPE (codec_data) == GST_TYPE_BUFFER) {
-   GstBuffer *buffer;
--  const gchar *name;
- 
-   buffer = gst_value_get_buffer (codec_data);
-   GST_LOG_OBJECT (rtpmp4gpay, "configuring codec_data");
-@@ -427,6 +427,23 @@ gst_rtp_mp4g_pay_setcaps (GstRTPBasePayload * payload, 
GstCaps * caps)
- 
-   rtpmp4gpay->config = gst_buffer_copy (buffer);
- }
-+  } else {
-+name = gst_structure_get_name (structure);
-+
-+if (!strcmp (name, "video/mpeg")) {
-+  rtpmp4gpay->profile = g_strdup ("1");
-+
-+  /* fixed rate */
-+  rtpmp4gpay->rate = 9;
-+  /* video stream type */
-+  rtpmp4gpay->streamtype = "4";
-+  /* no params for video */
-+  rtpmp4gpay->params = NULL;
-+  /* mode */
-+  rtpmp4gpay->mode = "generic";
-+
-+  media_type = "video";
-+}
-   }
-   if (media_type == NULL)
- goto config_failed;
--- 
-1.7.9.5
-
diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-scaletempo-Advertise-interleaved-layout-in-caps-temp.patch
 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-scaletempo-Advertise-interleaved-layout-in-caps-temp.patch
new file mode 100644
index 00..844042a334
--- /dev/null
+++ 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-scaletempo-Advertise-interleaved-layout-in-caps-temp.patch
@@ -0,0 +1,37 @@
+From aadfa5f20f53601785e417fe3fcbe6d574880988 Mon Sep 17 00:00:00 2001
+From: Philippe Normand 
+Date: Tue, 23 Apr 2019 10:10:01 +0100
+Subject: [PATCH] scaletempo: Advertise interleaved layout in caps templates
+
+Scaletempo doesn't support non-interleaved layout. Not explicitely stating this
+would trigger critical warnings and a caps negotiation failure when scaletempo
+is used as playbin audio-filter.
+
+Patch suggested by George Kiagiadakis .
+
+Fixes #591
+U

[OE-core] [PATCH 01/11] gstreamer1.0: upgrade to version 1.16.0

2019-05-26 Thread Carlos Rafael Giani
From: Philippe Normand 

* 0002-gstconfig.h.in-initial-RISC-V-support.patch
  Removed since this is included in 1.16.0

Signed-off-by: Philippe Normand 
Signed-off-by: Carlos Rafael Giani 
---
 ...stconfig.h.in-initial-RISC-V-support.patch | 30 ---
 ...er1.0_1.14.4.bb => gstreamer1.0_1.16.0.bb} |  6 ++--
 2 files changed, 3 insertions(+), 33 deletions(-)
 delete mode 100644 
meta/recipes-multimedia/gstreamer/files/0002-gstconfig.h.in-initial-RISC-V-support.patch
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0_1.14.4.bb => 
gstreamer1.0_1.16.0.bb} (94%)

diff --git 
a/meta/recipes-multimedia/gstreamer/files/0002-gstconfig.h.in-initial-RISC-V-support.patch
 
b/meta/recipes-multimedia/gstreamer/files/0002-gstconfig.h.in-initial-RISC-V-support.patch
deleted file mode 100644
index db742dea23..00
--- 
a/meta/recipes-multimedia/gstreamer/files/0002-gstconfig.h.in-initial-RISC-V-support.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-From 8a156d1725ecd03f2e8cdc8874e081dda2d3b43d Mon Sep 17 00:00:00 2001
-From: Aurelien Jarno 
-Date: Sun, 15 Apr 2018 00:49:55 +0200
-Subject: [PATCH] gstconfig.h.in: initial RISC-V support
-
-RISC-V supports unaligned accesses, but these might run extremely slowly
-depending on the implementation. Therefore set GST_HAVE_UNALIGNED_ACCESS
-to 0 on this architecture.
-
-https://bugzilla.gnome.org/show_bug.cgi?id=795271
-
-Signed-off-by: Alistair Francis 
-Upstream-Status: Accepted [1.15.1 - 
https://bugzilla.gnome.org/show_bug.cgi?id=795271]

- gst/gstconfig.h.in | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/gst/gstconfig.h.in b/gst/gstconfig.h.in
-index 6351c04da..33dfed1f6 100644
 a/gst/gstconfig.h.in
-+++ b/gst/gstconfig.h.in
-@@ -104,7 +104,7 @@
-  * http://docs.oracle.com/cd/E19205-01/820-4155/c++_faq.html#Vers6
-  * https://software.intel.com/en-us/node/583402
-  */
--#if defined(__alpha__) || defined(__arc__) || defined(__arm__) || 
defined(__aarch64__) || defined(__bfin) || defined(__hppa__) || 
defined(__nios2__) || defined(__MICROBLAZE__) || defined(__mips__) || 
defined(__or1k__) || defined(__sh__) || defined(__SH4__) || defined(__sparc__) 
|| defined(__sparc) || defined(__ia64__) || defined(_M_ALPHA) || 
defined(_M_ARM) || defined(_M_IA64) || defined(__xtensa__) || defined(__e2k__)
-+#if defined(__alpha__) || defined(__arc__) || defined(__arm__) || 
defined(__aarch64__) || defined(__bfin) || defined(__hppa__) || 
defined(__nios2__) || defined(__MICROBLAZE__) || defined(__mips__) || 
defined(__or1k__) || defined(__sh__) || defined(__SH4__) || defined(__sparc__) 
|| defined(__sparc) || defined(__ia64__) || defined(_M_ALPHA) || 
defined(_M_ARM) || defined(_M_IA64) || defined(__xtensa__) || defined(__e2k__) 
|| defined(__riscv)
- #  define GST_HAVE_UNALIGNED_ACCESS 0
- #elif defined(__i386__) || defined(__i386) || defined(__amd64__) || 
defined(__amd64) || defined(__x86_64__) || defined(__ppc__) || 
defined(__ppc64__) || defined(__powerpc__) || defined(__powerpc64__) || 
defined(__m68k__) || defined(_M_IX86) || defined(_M_AMD64) || defined(_M_X64) 
|| defined(__s390__) || defined(__s390x__) || defined(__zarch__)
- #  define GST_HAVE_UNALIGNED_ACCESS 1
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0_1.14.4.bb 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0_1.16.0.bb
similarity index 94%
rename from meta/recipes-multimedia/gstreamer/gstreamer1.0_1.14.4.bb
rename to meta/recipes-multimedia/gstreamer/gstreamer1.0_1.16.0.bb
index 98c9a28e39..da2d14cd99 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0_1.14.4.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0_1.16.0.bb
@@ -25,11 +25,10 @@ SRC_URI = " \
 file://gtk-doc-tweaks.patch \
 file://0001-gst-gstpluginloader.c-when-env-var-is-set-do-not-fal.patch \
 file://add-a-target-to-compile-tests.patch \
-file://0002-gstconfig.h.in-initial-RISC-V-support.patch \
 file://run-ptest \
 "
-SRC_URI[md5sum] = "f67fbbc42bd85a0701df119f52fb52bd"
-SRC_URI[sha256sum] = 
"f94f6696c5f05a3b3a9183e39c5f5c0b779f75a04c0efa497e7920afa985ffc7"
+SRC_URI[md5sum] = "862b7e4263d946bc2ef31b3c582e5587"
+SRC_URI[sha256sum] = 
"0e8e2f7118be437cba879353970cf83c2acced825ecb9275ba05d9186ef07c00"
 
 PACKAGECONFIG ??= "${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)} 
\
"
@@ -55,6 +54,7 @@ PACKAGES += "${PN}-bash-completion"
 FILES_${PN} += "${libdir}/gstreamer-1.0/*.so"
 FILES_${PN}-dev += "${libdir}/gstreamer-1.0/*.la ${libdir}/gstreamer-1.0/*.a 
${libdir}/gstreamer-1.0/include"
 FILES_${PN}-bash-completion += "${datadir}/bash-completion/completions/ 
${datadir}/bash-completion/helpers/gst*"
+FILES_${PN}-dbg += "${datadir}/gdb ${datadir}/gstreamer-1.0/gdb"
 
 RDEPENDS_${PN}-ptest += "make"
 
-- 
2.17.1

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


[OE-core] [PATCH 09/11] gstreamer1.0-rtsp-server: upgrade to version 1.16.0

2019-05-26 Thread Carlos Rafael Giani
From: Philippe Normand 

* 0001-Don-t-hardcode-libtool-name-when-using-introspection.patch
  Removed since this was fixed in 1.16.0 similarly to the fixes to
  -base and -bad in https://bugzilla.gnome.org/show_bug.cgi?id=726571

Signed-off-by: Philippe Normand 
Signed-off-by: Carlos Rafael Giani 
---
 ...ibtool-name-when-using-introspection.patch | 27 ---
 bb => gstreamer1.0-rtsp-server_1.16.0.bb} |  5 ++--
 2 files changed, 2 insertions(+), 30 deletions(-)
 delete mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server/0001-Don-t-hardcode-libtool-name-when-using-introspection.patch
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-rtsp-server_1.14.4.bb 
=> gstreamer1.0-rtsp-server_1.16.0.bb} (82%)

diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server/0001-Don-t-hardcode-libtool-name-when-using-introspection.patch
 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server/0001-Don-t-hardcode-libtool-name-when-using-introspection.patch
deleted file mode 100644
index 89d6384adb..00
--- 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server/0001-Don-t-hardcode-libtool-name-when-using-introspection.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From 4a12569e5ae5be63cd92a9b178860026a99746b1 Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin 
-Date: Tue, 27 Oct 2015 16:55:45 +0200
-Subject: [PATCH] Don't hardcode libtool name when using introspection
-
-Upstream-Status: Pending [review on oe-core maillist]
-Signed-off-by: Alexander Kanavin 

- gst/rtsp-server/Makefile.am | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/gst/rtsp-server/Makefile.am b/gst/rtsp-server/Makefile.am
-index 4fcd366..c67f5ab 100644
 a/gst/rtsp-server/Makefile.am
-+++ b/gst/rtsp-server/Makefile.am
-@@ -87,7 +87,7 @@ GstRtspServer-@GST_API_VERSION@.gir: 
$(INTROSPECTION_SCANNER) libgstrtspserver-@
-   --include=Gst-@GST_API_VERSION@ \
-   --include=GstRtsp-@GST_API_VERSION@ \
-   --include=GstNet-@GST_API_VERSION@ \
--  --libtool="$(top_builddir)/libtool" \
-+  --libtool="$(LIBTOOL)" \
-   --pkg gstreamer-@GST_API_VERSION@ \
-   --pkg gstreamer-rtsp-@GST_API_VERSION@ \
-   --pkg gstreamer-net-@GST_API_VERSION@ \
--- 
-2.1.4
-
diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.14.4.bb 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.16.0.bb
similarity index 82%
rename from meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.14.4.bb
rename to meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.16.0.bb
index 7efc1b3534..042938b88e 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.14.4.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.16.0.bb
@@ -9,13 +9,12 @@ DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base"
 PNREAL = "gst-rtsp-server"
 
 SRC_URI = 
"http://gstreamer.freedesktop.org/src/${PNREAL}/${PNREAL}-${PV}.tar.xz \
-   
file://0001-Don-t-hardcode-libtool-name-when-using-introspection.patch \

file://0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch \
file://gtk-doc-tweaks.patch \
"
 
-SRC_URI[md5sum] = "ab0fb5c829266a500e14b46b7bdf06bf"
-SRC_URI[sha256sum] = 
"3d0ece2afdcd601c175ece24e32a30bc19247b454f4eafd3deeec2533c6884f1"
+SRC_URI[md5sum] = "adc4460239ec2eccf58ad9752ce53bfd"
+SRC_URI[sha256sum] = 
"198e9eec1a3e32dc810d3fbf3a714850a22c6288d4a5c8e802c5ff984af03f19"
 
 S = "${WORKDIR}/${PNREAL}-${PV}"
 
-- 
2.17.1

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


[OE-core] [PATCH 04/11] gstreamer1.0-plugins-bad: upgrade to version 1.16.0

2019-05-26 Thread Carlos Rafael Giani
* 0001-Makefile.am-don-t-hardcode-libtool-name-when-running.patch
  Removed since the https://bugzilla.gnome.org/show_bug.cgi?id=726571
  fix is included in 1.16.0

* SCTP plugin got added

* WPE plugin got added (but currently disabled due to build problems with
  meta-webkit; will be fixed in a separate commit)

* ACM, SPC, daala, VCD plugins got removed

Signed-off-by: Philippe Normand 
Signed-off-by: Carlos Rafael Giani 
---
 ...t-hardcode-libtool-name-when-running.patch | 43 ---
 .../avoid-including-sys-poll.h-directly.patch |  2 +-
 .../configure-allow-to-disable-libssh2.patch  |  4 +-
 ...-sentinels-for-gst_structure_get-etc.patch |  8 ++--
 ...ized-warnings-when-compiling-with-Os.patch |  2 +-
 bb => gstreamer1.0-plugins-bad_1.16.0.bb} | 17 +++-
 6 files changed, 15 insertions(+), 61 deletions(-)
 delete mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-Makefile.am-don-t-hardcode-libtool-name-when-running.patch
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-bad_1.14.4.bb 
=> gstreamer1.0-plugins-bad_1.16.0.bb} (92%)

diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-Makefile.am-don-t-hardcode-libtool-name-when-running.patch
 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-Makefile.am-don-t-hardcode-libtool-name-when-running.patch
deleted file mode 100644
index 05b991a8f0..00
--- 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-Makefile.am-don-t-hardcode-libtool-name-when-running.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-From 7d8e8b8bcce34d01fc7ad7285b4eb17ad8949399 Mon Sep 17 00:00:00 2001
-From: Anuj Mittal 
-Date: Wed, 11 Apr 2018 11:06:39 +0800
-Subject: [PATCH] Makefile.am: don't hardcode libtool name when running 
- introspection tools
-
-Upstream-Status: Pending [review on oe-core list]
-Signed-off-by: Alexander Kanavin 
-Signed-off-by: Maxin B. John 

- gst-libs/gst/insertbin/Makefile.am | 2 +-
- gst-libs/gst/mpegts/Makefile.am| 2 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/gst-libs/gst/insertbin/Makefile.am 
b/gst-libs/gst/insertbin/Makefile.am
-index 1f8ea30..4b98ef6 100644
 a/gst-libs/gst/insertbin/Makefile.am
-+++ b/gst-libs/gst/insertbin/Makefile.am
-@@ -45,7 +45,7 @@ GstInsertBin-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) 
libgstinsertbin-@GS
-   --library=libgstinsertbin-@GST_API_VERSION@.la \
-   --include=Gst-@GST_API_VERSION@ \
-   --include=GstBase-@GST_API_VERSION@ \
--  --libtool="$(top_builddir)/libtool" \
-+  --libtool="$(LIBTOOL)" \
-   --pkg gstreamer-@GST_API_VERSION@ \
-   --pkg gstreamer-base-@GST_API_VERSION@ \
-   --pkg-export gstreamer-insertbin-@GST_API_VERSION@ \
-diff --git a/gst-libs/gst/mpegts/Makefile.am b/gst-libs/gst/mpegts/Makefile.am
-index f264e33..9934a4d 100644
 a/gst-libs/gst/mpegts/Makefile.am
-+++ b/gst-libs/gst/mpegts/Makefile.am
-@@ -82,7 +82,7 @@ GstMpegts-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) 
libgstmpegts-@GST_API_
-   --add-include-path=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" 
$(PKG_CONFIG) --variable=girdir gstreamer-video-@GST_API_VERSION@` \
-   --library=libgstmpegts-@GST_API_VERSION@.la \
-   --include=Gst-@GST_API_VERSION@ \
--  --libtool="$(top_builddir)/libtool" \
-+  --libtool="$(LIBTOOL)" \
-   --pkg gstreamer-@GST_API_VERSION@ \
-   --pkg gstreamer-video-@GST_API_VERSION@ \
-   --pkg-export gstreamer-mpegts-@GST_API_VERSION@ \
--- 
-2.7.4
-
diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/avoid-including-sys-poll.h-directly.patch
 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/avoid-including-sys-poll.h-directly.patch
index 357fd78002..32261279a5 100644
--- 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/avoid-including-sys-poll.h-directly.patch
+++ 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/avoid-including-sys-poll.h-directly.patch
@@ -16,7 +16,7 @@ diff --git a/sys/dvb/gstdvbsrc.c b/sys/dvb/gstdvbsrc.c
 index b93255f..49f145a 100644
 --- a/sys/dvb/gstdvbsrc.c
 +++ b/sys/dvb/gstdvbsrc.c
-@@ -93,7 +93,7 @@
+@@ -97,7 +97,7 @@
  #include 
  #include 
  #include 
diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/configure-allow-to-disable-libssh2.patch
 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/configure-allow-to-disable-libssh2.patch
index ad86329893..25861b6b9d 100644
--- 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/configure-allow-to-disable-libssh2.patch
+++ 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/configure-allow-to-disable-libssh2.patch
@@ -22,7 +22,7 @@ Index: gst-plugins-bad-1.12.3/configure.ac
 

[OE-core] [PATCH 02/11] gstreamer1.0-plugins-base: upgrade to version 1.16.0

2019-05-26 Thread Carlos Rafael Giani
* 0001-Makefile.am-don-t-hardcode-libtool-name-when-running.patch
  Removed since the https://bugzilla.gnome.org/show_bug.cgi?id=726571
  fix is included in 1.16.0

* 0005-viv-fb-Make-sure-config.h-is-included.patch
  Added to prevent build errors due to missing config.h #include

* 0010-gl-Add-switch-for-explicitely-enabling-disabling-GBM.patch
* 0011-gl-Add-switches-for-explicitely-enabling-disabling-P.patch
  Removed since these are included in 1.16.0

Signed-off-by: Philippe Normand 
Signed-off-by: Carlos Rafael Giani 
---
 ...t-hardcode-libtool-name-when-running.patch | 167 --
 ...ix-calls-to-pkg-config-with-PKG_CONF.patch |  35 ++--
 ...ect-reference-to-gstreamer-sdp-in-Ma.patch |   4 +-
 ...iv-fb-Make-sure-config.h-is-included.patch |  32 
 ...009-glimagesink-Downrank-to-marginal.patch |   2 +-
 ...r-explicitely-enabling-disabling-GBM.patch |  70 
 ...for-explicitely-enabling-disabling-P.patch | 109 
 .../link-with-libvchostif.patch   |   2 +-
 ...bb => gstreamer1.0-plugins-base_1.16.0.bb} |  11 +-
 9 files changed, 54 insertions(+), 378 deletions(-)
 delete mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-Makefile.am-don-t-hardcode-libtool-name-when-running.patch
 create mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0005-viv-fb-Make-sure-config.h-is-included.patch
 delete mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0010-gl-Add-switch-for-explicitely-enabling-disabling-GBM.patch
 delete mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0011-gl-Add-switches-for-explicitely-enabling-disabling-P.patch
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-base_1.14.4.bb 
=> gstreamer1.0-plugins-base_1.16.0.bb} (87%)

diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-Makefile.am-don-t-hardcode-libtool-name-when-running.patch
 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-Makefile.am-don-t-hardcode-libtool-name-when-running.patch
deleted file mode 100644
index bcada34c40..00
--- 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-Makefile.am-don-t-hardcode-libtool-name-when-running.patch
+++ /dev/null
@@ -1,167 +0,0 @@
-From 7022b87353a37b78bae7cf0106a4e47913bb5c97 Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin 
-Date: Thu, 5 Apr 2018 10:15:08 +0800
-Subject: [PATCH] Makefile.am: don't hardcode libtool name when running
- introspection tools
-
-Upstream-Status: Pending [review on oe-core maillist]
-Signed-off-by: Alexander Kanavin 
-Signed-off-by: Anuj Mittal 
-

- gst-libs/gst/allocators/Makefile.am | 2 +-
- gst-libs/gst/app/Makefile.am| 2 +-
- gst-libs/gst/audio/Makefile.am  | 2 +-
- gst-libs/gst/gl/Makefile.am | 2 +-
- gst-libs/gst/pbutils/Makefile.am| 2 +-
- gst-libs/gst/riff/Makefile.am   | 2 +-
- gst-libs/gst/rtp/Makefile.am| 2 +-
- gst-libs/gst/rtsp/Makefile.am   | 2 +-
- gst-libs/gst/sdp/Makefile.am| 2 +-
- gst-libs/gst/tag/Makefile.am| 2 +-
- gst-libs/gst/video/Makefile.am  | 2 +-
- 11 files changed, 11 insertions(+), 11 deletions(-)
-
-diff --git a/gst-libs/gst/allocators/Makefile.am 
b/gst-libs/gst/allocators/Makefile.am
-index 1957d28..1ecc950 100644
 a/gst-libs/gst/allocators/Makefile.am
-+++ b/gst-libs/gst/allocators/Makefile.am
-@@ -42,7 +42,7 @@ GstAllocators-@GST_API_VERSION@.gir: 
$(INTROSPECTION_SCANNER) libgstallocators-@
-   --add-include-path=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" 
$(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \
-   --library=libgstallocators-@GST_API_VERSION@.la \
-   --include=Gst-@GST_API_VERSION@ \
--  --libtool="$(top_builddir)/libtool" \
-+  --libtool="$(LIBTOOL)" \
-   --pkg gstreamer-@GST_API_VERSION@ \
-   --pkg-export gstreamer-allocators-@GST_API_VERSION@ \
-   --output $@ \
-diff --git a/gst-libs/gst/app/Makefile.am b/gst-libs/gst/app/Makefile.am
-index 52f6ad3..5bfd606 100644
 a/gst-libs/gst/app/Makefile.am
-+++ b/gst-libs/gst/app/Makefile.am
-@@ -56,7 +56,7 @@ GstApp-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) 
libgstapp-@GST_API_VERSIO
-   --library=libgstapp-@GST_API_VERSION@.la \
-   --include=Gst-@GST_API_VERSION@ \
-   --include=GstBase-@GST_API_VERSION@ \
--  --libtool="$(top_builddir)/libtool" \
-+  --libtool="$(LIBTOOL)" \
-   --pkg gstreamer-@GST_API_VERSION@ \
-   --pkg gstreamer-base-@GST_API_VERSION@ \
-   --pkg-export gstreamer-app-@GST_API_VERSION@ \
-diff --git a/gst-libs/gst/audio/Makefile.am b/gst-libs/gst/audio/Makefile.am
-index 2922245..7fb65f2 100644
 a/gst-libs/gst/audio/Makefile.am
-+++ b/gst-libs/gst/audio/Makefile.am
-@@ -184,7 +184,7 @@

[OE-core] [PATCH 07/11] gstreamer1.0-libav: upgrade to version 1.16.0

2019-05-26 Thread Carlos Rafael Giani
Signed-off-by: Philippe Normand 
Signed-off-by: Carlos Rafael Giani 
---
 .../0001-Disable-yasm-for-libav-when-disable-yasm.patch   | 2 +-
 .../0001-configure-check-for-armv7ve-variant.patch| 4 ++--
 .../gstreamer/gstreamer1.0-libav/mips64_cpu_detection.patch   | 2 +-
 .../workaround-to-build-gst-libav-for-i586-with-gcc.patch | 2 +-
 ...reamer1.0-libav_1.14.4.bb => gstreamer1.0-libav_1.16.0.bb} | 4 ++--
 5 files changed, 7 insertions(+), 7 deletions(-)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-libav_1.14.4.bb => 
gstreamer1.0-libav_1.16.0.bb} (95%)

diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/0001-Disable-yasm-for-libav-when-disable-yasm.patch
 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/0001-Disable-yasm-for-libav-when-disable-yasm.patch
index 1d99ad1251..11571aefa1 100644
--- 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/0001-Disable-yasm-for-libav-when-disable-yasm.patch
+++ 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/0001-Disable-yasm-for-libav-when-disable-yasm.patch
@@ -15,7 +15,7 @@ diff --git a/configure.ac b/configure.ac
 index 22ede88..ef3c050 100644
 --- a/configure.ac
 +++ b/configure.ac
-@@ -305,6 +305,12 @@ else
+@@ -355,6 +355,12 @@ else
  emblibav_configure_args="$emblibav_configure_args --enable-gpl"
fi
 
diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/0001-configure-check-for-armv7ve-variant.patch
 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/0001-configure-check-for-armv7ve-variant.patch
index b80d073946..f182715bda 100644
--- 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/0001-configure-check-for-armv7ve-variant.patch
+++ 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/0001-configure-check-for-armv7ve-variant.patch
@@ -22,8 +22,8 @@ diff --git a/gst-libs/ext/libav/configure 
b/gst-libs/ext/libav/configure
 index 4a5e477..727818e 100755
 --- a/gst-libs/ext/libav/configure
 +++ b/gst-libs/ext/libav/configure
-@@ -4295,6 +4295,7 @@ elif enabled arm; then
- elif check_arm_arch 6Z;   then echo armv6z
+@@ -4745,6 +4745,7 @@ elif enabled arm; then
+ elif check_arm_arch 6KZ;  then echo armv6zk
  elif check_arm_arch 6ZK;  then echo armv6zk
  elif check_arm_arch 6T2;  then echo armv6t2
 +elif check_arm_arch EXT_IDIV; then echo armv7ve
diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/mips64_cpu_detection.patch
 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/mips64_cpu_detection.patch
index 7a0b44..90d042b313 100644
--- 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/mips64_cpu_detection.patch
+++ 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/mips64_cpu_detection.patch
@@ -17,7 +17,7 @@ Index: gst-libav-1.10.1/gst-libs/ext/libav/configure
 ===
 --- gst-libav-1.10.1.orig/gst-libs/ext/libav/configure
 +++ gst-libav-1.10.1/gst-libs/ext/libav/configure
-@@ -5269,12 +5269,9 @@ elif enabled mips; then
+@@ -5650,12 +5650,9 @@ elif enabled mips; then
  
  # Enable minimum ISA based on selected options
  if enabled mips64; then
diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/workaround-to-build-gst-libav-for-i586-with-gcc.patch
 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/workaround-to-build-gst-libav-for-i586-with-gcc.patch
index 36abf8607e..4b85356547 100644
--- 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/workaround-to-build-gst-libav-for-i586-with-gcc.patch
+++ 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/workaround-to-build-gst-libav-for-i586-with-gcc.patch
@@ -11,7 +11,7 @@ Signed-off-by: Robert Yang 
 
 --- gst-libav-1.4.5.orig/gst-libs/ext/libav/libavcodec/h264_cabac.c
 +++ gst-libav-1.4.5/gst-libs/ext/libav/libavcodec/h264_cabac.c
-@@ -2020,7 +2020,11 @@ decode_intra_mb:
+@@ -2057,7 +2057,11 @@ decode_intra_mb:
  // In deblocking, the quantizer is 0
  h->cur_pic.qscale_table[mb_xy] = 0;
  // All coeffs are present
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.14.4.bb 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.16.0.bb
similarity index 95%
rename from meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.14.4.bb
rename to meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.16.0.bb
index 5c9c372f04..3f1ec99d95 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.14.4.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.16.0.bb
@@ -19,8 +19,8 @@ SRC_URI = 
"http://gstreamer.freedesktop.org/src/gst-libav/gst-libav-${PV}.tar.xz
file://0001-configure-check-for-armv7ve-variant.patch \
file://0001-fix-host-contamination.patch \
"
-SRC_URI[md5sum] = "58342db11dbb201a66a62577dcf7bab5"
-SRC_URI[sha256sum] = 
"dfd78591901df7853eab7e56a86c34a1b0363

[OE-core] [PATCH 08/11] gstreamer1.0-vaapi: upgrade to version 1.16.0

2019-05-26 Thread Carlos Rafael Giani
Signed-off-by: Philippe Normand 
Signed-off-by: Carlos Rafael Giani 
---
 .../0001-vaapsink-downgrade-to-marginal.patch | 4 ++--
 ...reamer1.0-vaapi_1.14.4.bb => gstreamer1.0-vaapi_1.16.0.bb} | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-vaapi_1.14.4.bb => 
gstreamer1.0-vaapi_1.16.0.bb} (93%)

diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi/0001-vaapsink-downgrade-to-marginal.patch
 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi/0001-vaapsink-downgrade-to-marginal.patch
index c861f3bed2..7945a923c9 100644
--- 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi/0001-vaapsink-downgrade-to-marginal.patch
+++ 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi/0001-vaapsink-downgrade-to-marginal.patch
@@ -24,7 +24,7 @@ diff --git a/gst/vaapi/gstvaapi.c b/gst/vaapi/gstvaapi.c
 index 9a82454..4d94f2b 100644
 --- a/gst/vaapi/gstvaapi.c
 +++ b/gst/vaapi/gstvaapi.c
-@@ -210,7 +210,6 @@ plugin_init (GstPlugin * plugin)
+@@ -195,7 +195,6 @@ plugin_init (GstPlugin * plugin)
  {
GstVaapiDisplay *display;
GArray *decoders;
@@ -32,7 +32,7 @@ index 9a82454..4d94f2b 100644
  
plugin_add_dependencies (plugin);
  
-@@ -235,10 +234,7 @@ plugin_init (GstPlugin * plugin)
+@@ -220,10 +219,7 @@ plugin_init (GstPlugin * plugin)
gst_element_register (plugin, "vaapidecodebin",
GST_RANK_PRIMARY + 2, GST_TYPE_VAAPI_DECODE_BIN);
  
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.14.4.bb 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.16.0.bb
similarity index 93%
rename from meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.14.4.bb
rename to meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.16.0.bb
index 3896434104..4d7382a101 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.14.4.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.16.0.bb
@@ -13,8 +13,8 @@ SRC_URI = 
"https://gstreamer.freedesktop.org/src/${REALPN}/${REALPN}-${PV}.tar.x
file://0001-vaapsink-downgrade-to-marginal.patch \
"
 
-SRC_URI[md5sum] = "2fae3442f5f23e7354a0c592bc7b9065"
-SRC_URI[sha256sum] = 
"ce18dbfe961c6a8d31270231686075586bf7a7df62b778c8e7f5ec148251d0a3"
+SRC_URI[md5sum] = "8c3f9ee3e47cbdb75a94f7183460b721"
+SRC_URI[sha256sum] = 
"4e7fce626ee0590dca74b5a8341d25bac76307945131a970b414fc5895f5171f"
 
 S = "${WORKDIR}/${REALPN}-${PV}"
 DEPENDS = "libva gstreamer1.0 gstreamer1.0-plugins-base 
gstreamer1.0-plugins-bad"
-- 
2.17.1

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


[OE-core] [PATCH 10/11] gstreamer1.0-python: upgrade to version 1.16.0

2019-05-26 Thread Carlos Rafael Giani
From: Philippe Normand 

Signed-off-by: Philippe Normand 
Signed-off-by: Carlos Rafael Giani 
---
 ...amer1.0-python_1.14.4.bb => gstreamer1.0-python_1.16.0.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-python_1.14.4.bb => 
gstreamer1.0-python_1.16.0.bb} (91%)

diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.14.4.bb 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.16.0.bb
similarity index 91%
rename from meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.14.4.bb
rename to meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.16.0.bb
index 048aaf4413..af9f3f213b 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.14.4.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.16.0.bb
@@ -6,8 +6,8 @@ LICENSE = "LGPLv2.1"
 LIC_FILES_CHKSUM = "file://COPYING;md5=c34deae4e395ca07e725ab0076a5f740"
 
 SRC_URI = 
"http://gstreamer.freedesktop.org/src/${PNREAL}/${PNREAL}-${PV}.tar.xz;
-SRC_URI[md5sum] = "d4c0e3915f547feef49208ee08981e5a"
-SRC_URI[sha256sum] = 
"d0fdb24f93b6d889f309d2f526b8ea9577e0084ff0a62b4623ef1aed52e85a1b"
+SRC_URI[md5sum] = "877b2ed2aaffdb62e63f38ea9469b70f"
+SRC_URI[sha256sum] = 
"55dc7aaed1855565f9b9ef842d93e93bfc5cb2b376faef6af5b463e1774e2d38"
 
 DEPENDS = "gstreamer1.0 python3-pygobject"
 RDEPENDS_${PN} += "gstreamer1.0 python3-pygobject"
-- 
2.17.1

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


[OE-core] [PATCH 11/11] gst-validate: upgrade to version 1.16.0

2019-05-26 Thread Carlos Rafael Giani
From: Philippe Normand 

Signed-off-by: Philippe Normand 
Signed-off-by: Carlos Rafael Giani 
---
 .../{gst-validate_1.14.4.bb => gst-validate_1.16.0.bb}| 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-multimedia/gstreamer/{gst-validate_1.14.4.bb => 
gst-validate_1.16.0.bb} (87%)

diff --git a/meta/recipes-multimedia/gstreamer/gst-validate_1.14.4.bb 
b/meta/recipes-multimedia/gstreamer/gst-validate_1.16.0.bb
similarity index 87%
rename from meta/recipes-multimedia/gstreamer/gst-validate_1.14.4.bb
rename to meta/recipes-multimedia/gstreamer/gst-validate_1.16.0.bb
index a4b3b465cc..1f4370619c 100644
--- a/meta/recipes-multimedia/gstreamer/gst-validate_1.14.4.bb
+++ b/meta/recipes-multimedia/gstreamer/gst-validate_1.16.0.bb
@@ -9,8 +9,8 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343"
 SRC_URI = "https://gstreamer.freedesktop.org/src/${BPN}/${BP}.tar.xz \
file://0001-connect-has-a-different-signature-on-musl.patch \
"
-SRC_URI[md5sum] = "1f4fc5308695adfdc11d13046aa4888c"
-SRC_URI[sha256sum] = 
"18dccca94bdc0bab3cddb07817bd280df7ab4abbec9a83b92620367a22d955c7"
+SRC_URI[md5sum] = "c5c57f3325a2e62aae4a8ec4931f7711"
+SRC_URI[sha256sum] = 
"9331ae48a173a048243539730cc7a8860762dea4aebbc3ab55981e68d6c9"
 
 DEPENDS = "json-glib glib-2.0 glib-2.0-native gstreamer1.0 
gstreamer1.0-plugins-base"
 RRECOMMENDS_${PN} = "git"
-- 
2.17.1

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


[OE-core] [PATCH 05/11] gstreamer1.0-plugins-ugly: upgrade to version 1.16.0

2019-05-26 Thread Carlos Rafael Giani
Signed-off-by: Philippe Normand 
Signed-off-by: Carlos Rafael Giani 
---
 ...ins-ugly_1.14.4.bb => gstreamer1.0-plugins-ugly_1.16.0.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-ugly_1.14.4.bb 
=> gstreamer1.0-plugins-ugly_1.16.0.bb} (90%)

diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.14.4.bb 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.16.0.bb
similarity index 90%
rename from 
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.14.4.bb
rename to meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.16.0.bb
index 168e64d84c..11a0e790ea 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.14.4.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.16.0.bb
@@ -10,8 +10,8 @@ SRC_URI = " \
 
http://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-${PV}.tar.xz
 \
 
file://0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch \
 "
-SRC_URI[md5sum] = "90768a0074db071175ce980064d9a1ac"
-SRC_URI[sha256sum] = 
"ac02d837f166c35ff6ce0738e281680d0b90052cfb1f0255dcf6aaca5f0f6d23"
+SRC_URI[md5sum] = "1ec343c58d4b17d682f7befa8453c11c"
+SRC_URI[sha256sum] = 
"e30964c5f031c32289e0b25e176c3c95a5737f2052dfc81d0f7427ef0233a4c2"
 
 S = "${WORKDIR}/gst-plugins-ugly-${PV}"
 
-- 
2.17.1

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


Re: [OE-core] Switching GStreamer recipes from autotools to meson

2019-05-24 Thread Carlos Rafael Giani
Yes, I am preparing recipes for that, based on the work from Philippe 
Normand .


On 20.05.19 19:49, Khem Raj wrote:



On 5/14/19 1:19 AM, Carlos Rafael Giani wrote:

 From what I have seen, meson support is stable now.

Also, in GStreamer, autotools is now considered a legacy build 
system, and will be removed in future released. From 
https://gstreamer.freedesktop.org/releases/1.16/ :


 > The Meson build system build is now feature-complete (*) and it is 
now the recommended build system on all platforms and also used by 
Cerbero to build GStreamer on all platforms. The Autotools build is 
scheduled to be removed in the next cycle. Developers who currently 
use gst-uninstalled should move to gst-build. The build option naming 
has been cleaned up and made consistent and there are now feature 
options to enable/disable plugins and various other features on a 
case-by-case basis. (*) with the exception of plugin docs which will 
be handled differently in future


GStreamer recipe upgrades to 1.16.0 have been sent in as a pull 
request to meta-gstreamer1.0 . Once these are in, I'm considering to 
switch the recipes to meson. Are there any potential issues with 
that? For example, anything special about meson and GObject 
introspection I should know about?




are you doing the 1.16 upgrade to OE-Core as well ?

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


[OE-core] Switching GStreamer recipes from autotools to meson

2019-05-14 Thread Carlos Rafael Giani

From what I have seen, meson support is stable now.

Also, in GStreamer, autotools is now considered a legacy build system, 
and will be removed in future released. From 
https://gstreamer.freedesktop.org/releases/1.16/ :


> The Meson build system build is now feature-complete (*) and it is 
now the recommended build system on all platforms and also used by 
Cerbero to build GStreamer on all platforms. The Autotools build is 
scheduled to be removed in the next cycle. Developers who currently use 
gst-uninstalled should move to gst-build. The build option naming has 
been cleaned up and made consistent and there are now feature options to 
enable/disable plugins and various other features on a case-by-case 
basis. (*) with the exception of plugin docs which will be handled 
differently in future


GStreamer recipe upgrades to 1.16.0 have been sent in as a pull request 
to meta-gstreamer1.0 . Once these are in, I'm considering to switch the 
recipes to meson. Are there any potential issues with that? For example, 
anything special about meson and GObject introspection I should know about?


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


[OE-core] Status of meson cross compilation files in the SDK

2019-05-05 Thread Carlos Rafael Giani
Last I've checked, deploying meson cross compilation files with a Yocto 
SDK is tricky because that meson file has to be generated during SDK set 
up and because meson assumes that environment variables like $CC refer 
to the native host compiler.


Has anything changed? I have some bits of code here that use meson, and 
cross compiling them with the SDK has been difficult at best.


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


[OE-core] [PATCH 12/12] gstreamer1.0-plugins-bad: add openmpt packageconfig

2018-09-26 Thread Carlos Rafael Giani
Signed-off-by: Carlos Rafael Giani 
---
 .../gstreamer/gstreamer1.0-plugins-bad_1.14.3.bb  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.14.3.bb 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.14.3.bb
index c01e7cb993..1c913bc644 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.14.3.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.14.3.bb
@@ -60,6 +60,7 @@ 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"
+PACKAGECONFIG[openmpt] = 
"--enable-openmpt,--disable-openmpt,libopenmpt"
 # the opus encoder/decoder elements are now in the -base package,
 # but the opus parser remains in -bad
 PACKAGECONFIG[opusparse]   = "--enable-opus,--disable-opus,libopus"
@@ -84,7 +85,7 @@ PACKAGECONFIG[webrtcdsp]   = 
"--enable-webrtcdsp,--disable-webrtcdsp,webrtc-
 # 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
-#   lv2 mpeg2enc mplex msdk musepack nvenc ofa openmpt opensles soundtouch
+#   lv2 mpeg2enc mplex msdk musepack nvenc ofa opensles soundtouch
 #   spandsp spc teletextdec vdpau wasapi x265 zbar
 
 EXTRA_OECONF += " \
@@ -120,7 +121,6 @@ EXTRA_OECONF += " \
 --disable-nvenc \
 --disable-ofa \
 --disable-openexr \
---disable-openmpt \
 --disable-openni2 \
 --disable-opensles \
 --disable-soundtouch \
-- 
2.17.1

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


  1   2   3   4   >