| Submitter | Jeremy Stashluk |
|---|---|
| Date | Feb. 5, 2013, 8:58 p.m. |
| Message ID | <1360097938-31967-1-git-send-email-jstashluk@dekaresearch.com> |
| Download | mbox | patch |
| Permalink | /patch/44151/ |
| State | New |
| Headers | show |
Comments
Hi Jeremy,
On Tuesday, 5 February 2013 at 20:58, Jeremy Stashluk wrote:
> +Index: gst-plugins-gl-0.10.3/gst-libs/gst/gl/gstgldisplay.c
This patch needs a description saying what it does and why, and Upstream-Status and Signed-off-by lines.
https://wiki.yoctoproject.org/wiki/Contribution_Guidelines (https://wiki.yoctoproject.org/wiki/Contribution_Guidelines#Patch_Header_Recommendations) and in particular https://wiki.yoctoproject.org/wiki/Contribution_Guidelines#Patch_Header_Recommendations covers this well.
Ross
Patch
diff --git a/meta/recipes-multimedia/gstreamer/gst-plugins-gl/0001-remove-gl-framebuffer-undefined-reference.patch b/meta/recipes-multimedia/gstreamer/gst-plugins-gl/0001-remove-gl-framebuffer-undefined-reference.patch new file mode 100644 index 0000000..eaddcaa --- /dev/null +++ b/meta/recipes-multimedia/gstreamer/gst-plugins-gl/0001-remove-gl-framebuffer-undefined-reference.patch @@ -0,0 +1,16 @@ +Index: gst-plugins-gl-0.10.3/gst-libs/gst/gl/gstgldisplay.c +=================================================================== +--- gst-plugins-gl-0.10.3.orig/gst-libs/gst/gl/gstgldisplay.c 2012-05-08 00:43:19.000000000 -0400 ++++ gst-plugins-gl-0.10.3/gst-libs/gst/gl/gstgldisplay.c 2013-02-05 15:04:15.287856732 -0500 +@@ -2177,9 +2177,11 @@ + GST_ERROR ("GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS"); + break; + ++#if defined(GL_ARB_framebuffer_object) + case GL_FRAMEBUFFER_UNDEFINED: + GST_ERROR ("GL_FRAMEBUFFER_UNDEFINED"); + break; ++#endif + + default: + GST_ERROR ("General FBO error"); diff --git a/meta/recipes-multimedia/gstreamer/gst-plugins-gl_0.10.3.bb b/meta/recipes-multimedia/gstreamer/gst-plugins-gl_0.10.3.bb new file mode 100644 index 0000000..80d58d7 --- /dev/null +++ b/meta/recipes-multimedia/gstreamer/gst-plugins-gl_0.10.3.bb @@ -0,0 +1,15 @@ +require recipes-multimedia/gstreamer/gst-plugins.inc + +LICENSE = "GPLv2+ & LGPLv2+ & LGPLv2.1+ " +LIC_FILES_CHKSUM = "file://COPYING;md5=55ca817ccb7d5b5b66355690e9abc605" + +DEPENDS += "gst-plugins-base virtual/libgles2 virtual/egl glew jpeg" + +EXTRA_OECONF += "ac_cv_header_GL_gl_h=no" + +SRC_URI[md5sum] = "ac70ede13f79978d56eaed8abaa3c938" +SRC_URI[sha256sum] = "48340b6a4b8abce16344a7bc33e74a94fdcce4f57ef6342cdf2f941c429bf210" + +SRC_URI += " file://0001-remove-gl-framebuffer-undefined-reference.patch" + +inherit gettext gconf
Signed-off-by: Jeremy Stashluk <jstashluk@dekaresearch.com> --- ...remove-gl-framebuffer-undefined-reference.patch | 16 ++++++++++++++++ .../gstreamer/gst-plugins-gl_0.10.3.bb | 15 +++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 meta/recipes-multimedia/gstreamer/gst-plugins-gl/0001-remove-gl-framebuffer-undefined-reference.patch create mode 100644 meta/recipes-multimedia/gstreamer/gst-plugins-gl_0.10.3.bb