All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: gstreamer1.0-plugins-bad: Update DEPENDS
@ 2015-03-26 15:21 Dmytriyenko, Denys
  2015-03-27  4:45 ` Karthik Ramanan
  2015-04-27 11:51 ` Jacob Stiffler
  0 siblings, 2 replies; 4+ messages in thread
From: Dmytriyenko, Denys @ 2015-03-26 15:21 UTC (permalink / raw)
  To: R, Karthik; +Cc: meta-arago

[-- Attachment #1: Type: text/plain, Size: 1652 bytes --]

Unfortunately, that will make the resulting packages machine specific, which I want to avoid due to build issues we've had with gst 0.10...

--
Denys

On Mar 26, 2015 05:59, "R, Karthik" <karthik.ramanan@ti.com> wrote:
* Make the feature additions specific to dra7xx due
   to the dependencies

Signed-off-by: Karthik Ramanan <a0393906@ti.com>
---
 .../gstreamer1.0-plugins-bad_1.2.3.bbappend        |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend
index b1cacac..72e67f5 100644
--- a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend
+++ b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend
@@ -2,11 +2,13 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"

 PACKAGECONFIG = "faad wayland"

-SRC_URI_append = " \
+DEPENDS_${PN}_append_dra7xx = " libdce libdrm"
+
+SRC_URI_append_dra7xx = " \
         file://0001-Added-GstDRMBufferPool-support.patch \
         file://0002-Modified-waylandsink-to-accept-NV12-format.patch \
         file://0003-Added-KMSsink-support.patch \
         file://0004-waylandsink-Removed-dependency-on-dri2.patch \
         file://0005-vc1parse-and-jpegparse-Fixes-plugin-ranks.patch"

-PR_append = "-arago0"
+PR_append = "-arago1"
--
1.7.9.5

_______________________________________________
meta-arago mailing list
meta-arago@arago-project.org
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

[-- Attachment #2: Type: text/html, Size: 2710 bytes --]

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: gstreamer1.0-plugins-bad: Update DEPENDS
  2015-03-26 15:21 gstreamer1.0-plugins-bad: Update DEPENDS Dmytriyenko, Denys
@ 2015-03-27  4:45 ` Karthik Ramanan
  2015-04-27 11:51 ` Jacob Stiffler
  1 sibling, 0 replies; 4+ messages in thread
From: Karthik Ramanan @ 2015-03-27  4:45 UTC (permalink / raw)
  To: Dmytriyenko, Denys, R, Karthik; +Cc: meta-arago

Denys,

With respect to the this package (GST plugins bad for 1.x), we have 
added support for KMS Sink, Wayland sink and GST DMA buffer pool support.

These inclusions have a dependency with libdrm and libdce.

I'm given to understand that for the AM3 and AM4, there is no libdrm 
support and there is no need for libdce as it is required to communicate 
with ipumm-fw. If we want to include the GST 1.x in the 
arago-tisdk-multimedia packagegroup then this change will help in making 
it buildable across all platforms (hopefully).

I referred to another recipe 
meta-arago-extras/recipes-qt/qt4/qt4-embedded-gles_4.8.5.bb which was 
doing something similar.

If this is not the preferred approach, I have an alternative in mind but 
I'm not sure if that will work - can we have a bbappend that is specific 
to a certain machine type?

Regards
Karthik

On 26-Mar-15 8:51 PM, Dmytriyenko, Denys wrote:
> Unfortunately, that will make the resulting packages machine specific,
> which I want to avoid due to build issues we've had with gst 0.10...
>
> --
> Denys
>
> On Mar 26, 2015 05:59, "R, Karthik" <karthik.ramanan@ti.com> wrote:
>
>     * Make the feature additions specific to dra7xx due
>         to the dependencies
>
>     Signed-off-by: Karthik Ramanan <a0393906@ti.com>
>     ---
>       .../gstreamer1.0-plugins-bad_1.2.3.bbappend        |    6 ++++--
>       1 file changed, 4 insertions(+), 2 deletions(-)
>
>     diff --git
>     a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend
>     b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend
>     index b1cacac..72e67f5 100644
>     ---
>     a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend
>     +++
>     b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend
>     @@ -2,11 +2,13 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
>
>       PACKAGECONFIG = "faad wayland"
>
>     -SRC_URI_append = " \
>     +DEPENDS_${PN}_append_dra7xx = " libdce libdrm"
>     +
>     +SRC_URI_append_dra7xx = " \
>               file://0001-Added-GstDRMBufferPool-support.patch \
>               file://0002-Modified-waylandsink-to-accept-NV12-format.patch \
>               file://0003-Added-KMSsink-support.patch \
>               file://0004-waylandsink-Removed-dependency-on-dri2.patch \
>               file://0005-vc1parse-and-jpegparse-Fixes-plugin-ranks.patch"
>
>     -PR_append = "-arago0"
>     +PR_append = "-arago1"
>     --
>     1.7.9.5
>
>     _______________________________________________
>     meta-arago mailing list
>     meta-arago@arago-project.org
>     http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
>



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: gstreamer1.0-plugins-bad: Update DEPENDS
  2015-03-26 15:21 gstreamer1.0-plugins-bad: Update DEPENDS Dmytriyenko, Denys
  2015-03-27  4:45 ` Karthik Ramanan
@ 2015-04-27 11:51 ` Jacob Stiffler
  1 sibling, 0 replies; 4+ messages in thread
From: Jacob Stiffler @ 2015-04-27 11:51 UTC (permalink / raw)
  To: Dmytriyenko, Denys, R, Karthik; +Cc: meta-arago

[-- Attachment #1: Type: text/plain, Size: 4786 bytes --]

Karthik, Denys,

I have been looking into the build failures for am335x-evm so that we 
may test integrating gstreamer 1.2.

I see that the patch 0001-Added-GstDRMBufferPool-support.patch adds the 
drm support irregardless of whether libdrm was detected. Shouldn't this 
take the approach or EGL in the same file? If HAVE_KMS, then DRM_DIR=drm...

Here's the relevent portion of the patch:

diff --git a/gst-libs/gst/Makefile.am b/gst-libs/gst/Makefile.am
index 1d6cc35..b915d07 100644
--- a/gst-libs/gst/Makefile.am
+++ b/gst-libs/gst/Makefile.am
@@ -2,7 +2,7 @@ if HAVE_EGL
  EGL_DIR = egl
  endif

-SUBDIRS = interfaces basecamerabinsrc codecparsers \
+SUBDIRS = interfaces basecamerabinsrc codecparsers drm \
          insertbin uridownloader mpegts $(EGL_DIR)

  noinst_HEADERS = gst-i18n-plugin.h gettext.h glib-compat-private.h

Let me know if testing the "HAVE_KMS" is the correct approach. I see 
that for including the gstreamer kms plugin, "USE_KMS" is used to 
determine whether to build. From 0003-Added-KMSsink-support.patch:

diff --git a/sys/Makefile.am b/sys/Makefile.am
index b1abda6..b87a1ca 100644
--- a/sys/Makefile.am
+++ b/sys/Makefile.am
@@ -106,6 +106,12 @@ else
  PVR_DIR=
  endif

+if USE_KMS
+KMS_DIR=kms
+else
+KMS_DIR=
+endif
+
  if USE_SHM
  SHM_DIR=shm
  else
@@ -166,9 +172,9 @@ else
  MFC_DIR=
  endif

-SUBDIRS = $(ACM_DIR) $(ANDROID_MEDIA_DIR) $(APPLE_MEDIA_DIR) $(AVC_DIR) 
$(BLUEZ_DIR) $(D3DVIDEOSINK_DIR) $(DECKLINK_DIR) $(DIRECTDRAW_DIR) 
$(DIRECTSOUND_DIR) $(DIRECTSHOW_DIR) $(DVB_DIR) $(FBDEV_DIR) 
$(LINSYS_DIR) $(OPENSLES_DIR) $(OSX_VIDEO_DIR) $(PVR_DIR) $(QT_DIR) 
$(SHM_DIR) $(UVCH264_DIR) $(VCD_DIR) $(VDPAU_DIR) $(WININET_DIR) 
$(WINSCREENCAP_DIR) $(WASAPI_DIR) $(MFC_DIR)
+SUBDIRS = $(ACM_DIR) $(ANDROID_MEDIA_DIR) $(APPLE_MEDIA_DIR) $(AVC_DIR) 
$(BLUEZ_DIR) $(D3DVIDEOSINK_DIR) $(DECKLINK_DIR) $(DIRECTDRAW_DIR) 
$(DIRECTSOUND_DIR) $(DIRECTSHOW_DIR) $(DVB_DIR) $(FBDEV_DIR) 
$(LINSYS_DIR) $(OPENSLES_DIR) $(OSX_VIDEO_DIR) $(PVR_DIR) $(QT_DIR) 
$(KMS_DIR) $(SHM_DIR) $(UVCH264_DIR) $(VCD_DIR) $(VDPAU_DIR) 
$(WININET_DIR) $(WINSCREENCAP_DIR) $(WASAPI_DIR) $(MFC_DIR)

  DIST_SUBDIRS = acmenc acmmp3dec androidmedia applemedia 
applemedia-nonpublic avc bluez d3dvideosink decklink directdraw 
directsound dvb linsys fbdev dshowdecwrapper dshowsrcwrapper 
dshowvideosink \
-               opensles osxvideo pvr2d qtwrapper shm uvch264 vcd vdpau 
wasapi wininet winks winscreencap mfc
+               opensles osxvideo pvr2d qtwrapper kms shm uvch264 vcd 
vdpau wasapi wininet winks winscreencap mfc

  include $(top_srcdir)/common/parallel-subdirs.mak


Thank you,
Jake

On 3/26/2015 11:21 AM, Dmytriyenko, Denys wrote:
>
> Unfortunately, that will make the resulting packages machine specific, 
> which I want to avoid due to build issues we've had with gst 0.10...
>
> -- 
> Denys
>
> On Mar 26, 2015 05:59, "R, Karthik" <karthik.ramanan@ti.com> wrote:
>
>     * Make the feature additions specific to dra7xx due
>        to the dependencies
>
>     Signed-off-by: Karthik Ramanan <a0393906@ti.com>
>     ---
>      .../gstreamer1.0-plugins-bad_1.2.3.bbappend        |    6 ++++--
>      1 file changed, 4 insertions(+), 2 deletions(-)
>
>     diff --git
>     a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend
>     b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend
>     index b1cacac..72e67f5 100644
>     ---
>     a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend
>     +++
>     b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend
>     @@ -2,11 +2,13 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
>
>      PACKAGECONFIG = "faad wayland"
>
>     -SRC_URI_append = " \
>     +DEPENDS_${PN}_append_dra7xx = " libdce libdrm"
>     +
>     +SRC_URI_append_dra7xx = " \
>              file://0001-Added-GstDRMBufferPool-support.patch \
>     file://0002-Modified-waylandsink-to-accept-NV12-format.patch \
>              file://0003-Added-KMSsink-support.patch \
>     file://0004-waylandsink-Removed-dependency-on-dri2.patch \
>     file://0005-vc1parse-and-jpegparse-Fixes-plugin-ranks.patch"
>
>     -PR_append = "-arago0"
>     +PR_append = "-arago1"
>     -- 
>     1.7.9.5
>
>     _______________________________________________
>     meta-arago mailing list
>     meta-arago@arago-project.org
>     http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
>
>
>
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


[-- Attachment #2: Type: text/html, Size: 7858 bytes --]

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* gstreamer1.0-plugins-bad: Update DEPENDS
@ 2015-03-26 12:59 Karthik Ramanan
  0 siblings, 0 replies; 4+ messages in thread
From: Karthik Ramanan @ 2015-03-26 12:59 UTC (permalink / raw)
  To: meta-arago

 * Make the feature additions specific to dra7xx due
   to the dependencies

Signed-off-by: Karthik Ramanan <a0393906@ti.com>
---
 .../gstreamer1.0-plugins-bad_1.2.3.bbappend        |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend
index b1cacac..72e67f5 100644
--- a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend
+++ b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.2.3.bbappend
@@ -2,11 +2,13 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 
 PACKAGECONFIG = "faad wayland"
 
-SRC_URI_append = " \
+DEPENDS_${PN}_append_dra7xx = " libdce libdrm"
+
+SRC_URI_append_dra7xx = " \
         file://0001-Added-GstDRMBufferPool-support.patch \
         file://0002-Modified-waylandsink-to-accept-NV12-format.patch \
         file://0003-Added-KMSsink-support.patch \
         file://0004-waylandsink-Removed-dependency-on-dri2.patch \
         file://0005-vc1parse-and-jpegparse-Fixes-plugin-ranks.patch"
 
-PR_append = "-arago0"
+PR_append = "-arago1"
-- 
1.7.9.5



^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-04-27 11:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-26 15:21 gstreamer1.0-plugins-bad: Update DEPENDS Dmytriyenko, Denys
2015-03-27  4:45 ` Karthik Ramanan
2015-04-27 11:51 ` Jacob Stiffler
  -- strict thread matches above, loose matches on Subject: below --
2015-03-26 12:59 Karthik Ramanan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.