Skip to contentSkip to conversation

gst-plugins-gl: Add dependencies on libjpeg, libpng

PATCH Superseded Eric Nelson 2 participants 5 messages Jul 26, 2013

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gst-plugins-gl: Add dependencies on libjpeg, libpng

There's a tight dependency on libjpeg.so.8 and libpng16.so.16 inside of the libgstopengl.so library:

~/objdump -x myimage/1.0-r0/rootfs/usr/lib/gstreamer-0.10/libgstopengl.so \
| grep NEED

  NEEDED               libgstgl-0.10.so.1
  NEEDED               libgstcontroller-0.10.so.0
  NEEDED               libgstfsl-0.10.so.0
  NEEDED               libipu.so.0
  NEEDED               librt.so.1
  NEEDED               libgstvideo-0.10.so.0
  NEEDED               libgstbase-0.10.so.0
  NEEDED               libgstinterfaces-0.10.so.0
  NEEDED               libgstreamer-0.10.so.0
  NEEDED               libgobject-2.0.so.0
  NEEDED               libffi.so.6
  NEEDED               libgmodule-2.0.so.0
  NEEDED               libgthread-2.0.so.0
  NEEDED               libxml2.so.2
  NEEDED               libdl.so.2
  NEEDED               libglib-2.0.so.0
  NEEDED               libpthread.so.0
  NEEDED               libGLESv2.so.2
  NEEDED               libEGL.so.1
  NEEDED               libpng16.so.16
  NEEDED               libz.so.1
  NEEDED               libjpeg.so.8
  NEEDED               libm.so.6
  NEEDED               libc.so.6
  VERNEED              0x00001de4
  VERNEEDNUM           0x00000003
Change-Id Idf6f824847ee6978d8ecd2e793bbd0fd97b54c82
---
 recipes-multimedia/gstreamer/gst-plugins-gl_0.10.3.bbappend | 1 +
 1 file changed, 1 insertion(+)
recipes-multimedia/gstreamer/gst-plugins-gl_0.10.3.bbappend +1 -0
index 51eb457..a18ae17 100644
@@ -3,6 +3,7 @@
 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 PRINC := "${@int(PRINC) + 4}"
 
+RDEPENDS_${PN} += "jpeg libpng"
 DEPENDS_append_mx6 = " gst-fsl-plugin gpu-viv-bin-mx6q"
 
 SRC_URI_append_mx6 = " file://IMX_MMCODEC_3.0.35_4.0.0.patch"
Signature · 1 line
1.8.1.2
#1 lore raw
Quoted 32 lines · Eric Nelson

There's a tight dependency on libjpeg.so.8 and libpng16.so.16 inside of the libgstopengl.so library:

~/objdump -x myimage/1.0-r0/rootfs/usr/lib/gstreamer-0.10/libgstopengl.so \
| grep NEED

  NEEDED               libgstgl-0.10.so.1
  NEEDED               libgstcontroller-0.10.so.0
  NEEDED               libgstfsl-0.10.so.0
  NEEDED               libipu.so.0
  NEEDED               librt.so.1
  NEEDED               libgstvideo-0.10.so.0
  NEEDED               libgstbase-0.10.so.0
  NEEDED               libgstinterfaces-0.10.so.0
  NEEDED               libgstreamer-0.10.so.0
  NEEDED               libgobject-2.0.so.0
  NEEDED               libffi.so.6
  NEEDED               libgmodule-2.0.so.0
  NEEDED               libgthread-2.0.so.0
  NEEDED               libxml2.so.2
  NEEDED               libdl.so.2
  NEEDED               libglib-2.0.so.0
  NEEDED               libpthread.so.0
  NEEDED               libGLESv2.so.2
  NEEDED               libEGL.so.1
  NEEDED               libpng16.so.16
  NEEDED               libz.so.1
  NEEDED               libjpeg.so.8
  NEEDED               libm.so.6
  NEEDED               libc.so.6
  VERNEED              0x00001de4
  VERNEEDNUM           0x00000003
Quoted 2 lines
Change-Id Idf6f824847ee6978d8ecd2e793bbd0fd97b54c82

This should be add as depends, not rdepends. As the rdepends should be computed automatically :)

--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://projetos.ossystems.com.br
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750

#2 lore raw

Thanks for the guidance, Otavio.

Quoted 34 lines · Otavio Salvador
Quoted 32 lines · Eric Nelson

There's a tight dependency on libjpeg.so.8 and libpng16.so.16 inside of the libgstopengl.so library:

~/objdump -x myimage/1.0-r0/rootfs/usr/lib/gstreamer-0.10/libgstopengl.so \
   | grep NEED
   NEEDED               libgstgl-0.10.so.1
   NEEDED               libgstcontroller-0.10.so.0
   NEEDED               libgstfsl-0.10.so.0
   NEEDED               libipu.so.0
   NEEDED               librt.so.1
   NEEDED               libgstvideo-0.10.so.0
   NEEDED               libgstbase-0.10.so.0
   NEEDED               libgstinterfaces-0.10.so.0
   NEEDED               libgstreamer-0.10.so.0
   NEEDED               libgobject-2.0.so.0
   NEEDED               libffi.so.6
   NEEDED               libgmodule-2.0.so.0
   NEEDED               libgthread-2.0.so.0
   NEEDED               libxml2.so.2
   NEEDED               libdl.so.2
   NEEDED               libglib-2.0.so.0
   NEEDED               libpthread.so.0
   NEEDED               libGLESv2.so.2
   NEEDED               libEGL.so.1
   NEEDED               libpng16.so.16
   NEEDED               libz.so.1
   NEEDED               libjpeg.so.8
   NEEDED               libm.so.6
   NEEDED               libc.so.6
   VERNEED              0x00001de4
   VERNEEDNUM           0x00000003
Quoted 6 lines
Quoted 2 lines
Change-Id Idf6f824847ee6978d8ecd2e793bbd0fd97b54c82

This should be add as depends, not rdepends. As the rdepends should be computed automatically :)

Specifically, would this be

	DEPENDS +=
or
	DEPENDS_${PN} +=
#3 lore raw
Quoted 45 lines · Eric Nelson

Thanks for the guidance, Otavio.

Quoted 41 lines · Otavio Salvador
Quoted 36 lines · Eric Nelson

There's a tight dependency on libjpeg.so.8 and libpng16.so.16 inside of the libgstopengl.so library:

~/objdump -x myimage/1.0-r0/rootfs/usr/lib/gstreamer-0.10/libgstopengl.so

\
   | grep NEED
   NEEDED               libgstgl-0.10.so.1
   NEEDED               libgstcontroller-0.10.so.0
   NEEDED               libgstfsl-0.10.so.0
   NEEDED               libipu.so.0
   NEEDED               librt.so.1
   NEEDED               libgstvideo-0.10.so.0
   NEEDED               libgstbase-0.10.so.0
   NEEDED               libgstinterfaces-0.10.so.0
   NEEDED               libgstreamer-0.10.so.0
   NEEDED               libgobject-2.0.so.0
   NEEDED               libffi.so.6
   NEEDED               libgmodule-2.0.so.0
   NEEDED               libgthread-2.0.so.0
   NEEDED               libxml2.so.2
   NEEDED               libdl.so.2
   NEEDED               libglib-2.0.so.0
   NEEDED               libpthread.so.0
   NEEDED               libGLESv2.so.2
   NEEDED               libEGL.so.1
   NEEDED               libpng16.so.16
   NEEDED               libz.so.1
   NEEDED               libjpeg.so.8
   NEEDED               libm.so.6
   NEEDED               libc.so.6
   VERNEED              0x00001de4
   VERNEEDNUM           0x00000003
Change-Id Idf6f824847ee6978d8ecd2e793bbd0fd97b54c82
Quoted 9 lines
Quoted 3 lines

This should be add as depends, not rdepends. As the rdepends should be computed automatically :)

Specifically, would this be

        DEPENDS +=
or
        DEPENDS_${PN} +=

DEPENDS as it cannot be done package specific. The RDEPENDS need /always/ to be package specific.

--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://projetos.ossystems.com.br
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750

#4 lore raw

Thanks Otavio,

Quoted 18 lines · Otavio Salvador
Quoted 16 lines · Eric Nelson

Thanks for the guidance, Otavio.

Quoted 11 lines · Otavio Salvador
Quoted 4 lines · Eric Nelson

There's a tight dependency on libjpeg.so.8 and libpng16.so.16 inside of the libgstopengl.so library:

This should be add as depends, not rdepends. As the rdepends should be computed automatically :)

Quoted 9 lines
Quoted 5 lines

Specifically, would this be

         DEPENDS +=
or
         DEPENDS_${PN} +=

DEPENDS as it cannot be done package specific. The RDEPENDS need /always/ to be package specific.

Patch v2 is in flight.