From: Denys Dmytriyenko <denys@ti.com>
To: Karthik Ramanan <a0393906@ti.com>
Cc: meta-arago@arago-project.org
Subject: Re: [for master] [PATCH v2 3/4] wayland: add support for version 1.3.0 for drm backend
Date: Tue, 30 Sep 2014 17:56:16 -0400 [thread overview]
Message-ID: <20140930215615.GW6303@edge> (raw)
In-Reply-To: <542A925B.5080402@ti.com>
On Tue, Sep 30, 2014 at 04:52:03PM +0530, Karthik Ramanan wrote:
> On 27-Sep-14 12:19 AM, Denys Dmytriyenko wrote:
> >On Fri, Sep 05, 2014 at 08:22:46PM +0530, Karthik Ramanan wrote:
> >>For DRM based devices, it is desired to stick with version 1.3.0
> >>due to some known issues and limitations with omapdrm and other
> >>dependent foundation software
> >>
> >>Signed-off-by: Karthik Ramanan <a0393906@ti.com>
> >>---
> >> .../recipes-graphics/wayland/wayland.inc | 5 ++++
> >> .../recipes-graphics/wayland/wayland_1.3.0.bb | 32 ++++++++++------------
> >> 2 files changed, 20 insertions(+), 17 deletions(-)
> >> create mode 100644 meta-arago-extras/recipes-graphics/wayland/wayland.inc
> >>
> >>diff --git a/meta-arago-extras/recipes-graphics/wayland/wayland.inc b/meta-arago-extras/recipes-graphics/wayland/wayland.inc
> >>new file mode 100644
> >>index 0000000..8eb445d
> >>--- /dev/null
> >>+++ b/meta-arago-extras/recipes-graphics/wayland/wayland.inc
> >>@@ -0,0 +1,5 @@
> >>+HOMEPAGE = "http://wayland.freedesktop.org/"
> >>+LICENSE = "MIT"
> >>+LIC_FILES_CHKSUM = "file://COPYING;md5=1d4476a7d98dd5691c53d4d43a510c72"
> >>+
> >>+inherit autotools pkgconfig
> >>diff --git a/meta-arago-extras/recipes-graphics/wayland/wayland_1.3.0.bb b/meta-arago-extras/recipes-graphics/wayland/wayland_1.3.0.bb
> >>index 212e08a..f40a98b 100644
> >>--- a/meta-arago-extras/recipes-graphics/wayland/wayland_1.3.0.bb
> >>+++ b/meta-arago-extras/recipes-graphics/wayland/wayland_1.3.0.bb
> >>@@ -1,20 +1,4 @@
> >>-SUMMARY = "Wayland, a protocol between a compositor and clients"
> >>-DESCRIPTION = "Wayland is a protocol for a compositor to talk to its clients \
> >>-as well as a C library implementation of that protocol. The compositor can be \
> >>-a standalone display server running on Linux kernel modesetting and evdev \
> >>-input devices, an X application, or a wayland client itself. The clients can \
> >>-be traditional applications, X servers (rootless or fullscreen) or other \
> >>-display servers."
> >>-HOMEPAGE = "http://wayland.freedesktop.org"
> >>-LICENSE = "MIT"
> >>-LIC_FILES_CHKSUM = "file://COPYING;md5=1d4476a7d98dd5691c53d4d43a510c72 \
> >>- file://src/wayland-server.c;endline=21;md5=079ae21dbf98ada52ec23744851b0a5c"
> >>-
> >>-SRC_URI = "http://wayland.freedesktop.org/releases/${BPN}-${PV}.tar.xz"
> >>-SRC_URI[md5sum] = "d16d27081e0871de82d08840c2f133fc"
> >>-SRC_URI[sha256sum] = "2e817685f68a26acd19964d69ddbc4549ba5412114ad95e1a9f5934cce470d6e"
> >>-
> >>-SRC_URI_append_class-native = " file://just-scanner.patch"
> >>+require wayland.inc
> >>
> >> inherit autotools pkgconfig
> >>
> >>@@ -27,6 +11,19 @@ DEPENDS = "expat libffi wayland-native"
> >> EXTRA_OECONF_virtclass-native = "--disable-documentation"
> >> EXTRA_OECONF = "--disable-documentation --disable-scanner"
> >>
> >>+PR = "r3"
> >>+
> >>+COMPATIBLE_MACHINE = "dra7xx-evm"
> >
> >So, the only thing you do here is set COMPATIBLE_MACHINE and switch from
> >release tarball to a specific git commit. What's the point of creating a .inc
> >file, as I don't see it being used outside of this one recipe...
>
> 1. Yes, the COMPATIBLE_MACHINE was incorporated because of the
> comment from V1 patch.
>
> 2. We are using the git versions because it allows us to revert some
> patches easily during the active development (I mean reverting some
> already existing commits in the upstream).
Ok, switching to git is fine - we used it ourselves to pick up the latest
snapshot of 1.5...
> 3. In the past GLSDK supported 1.0.6 and 1.3.0 version. Both the
> recipes had a common portion. The reason of creating the .inc file
> was to include the common portions of the wayland recipe and only
> have the non common portions in the actual recipe. The inc file
> could evolve as per the need, but I can rework and submit a single
> file if you think the inc file would not be necessary. If you look
> at the difference between 1.3.0 and 1.5.0, there are lots of
> similarities in the common portion which can go into the inc file.
Yeah, I was thinking about that - we about to switch from 1.5-snapshot to
1.6.0 release. And as soon as that version gets accepted upstream to oe-core,
I'm planning on removing it from meta-arago. If it gets entangled with .inc
and sharing common code with 1.3, it would be harder to remove it later on.
> >>+SRC_URI = "git://anongit.freedesktop.org/wayland/wayland;protocol=git"
> >>+SRC_URI_append_class-native = " file://just-scanner.patch"
> >>+
> >>+S = "${WORKDIR}/git"
> >>+
> >>+FILESEXTRAPATHS_prepend := "${THISDIR}:"
> >>+
> >>+SRCREV = "2c3dbb89031f120fb191492634e53a583f99d57d"
> >>+
> >> # Wayland installs a M4 macro for other projects to use, which uses the target
> >> # pkg-config to find files. Replace pkg-config with pkg-config-native.
> >> do_install_append_class-native() {
> >>@@ -34,3 +31,4 @@ do_install_append_class-native() {
> >> -e 's,$PKG_CONFIG,pkg-config-native,g' \
> >> -i ${D}/${datadir}/aclocal/wayland-scanner.m4
> >> }
> >>+
> >>--
> >>2.0.1
> >>
> >>_______________________________________________
> >>meta-arago mailing list
> >>meta-arago@arago-project.org
> >>http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
>
next prev parent reply other threads:[~2014-09-30 21:56 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-05 14:52 [for master] [PATCH v2 0/4] Adding support for Wayland for DRM backends Karthik Ramanan
2014-09-05 14:52 ` [for master] [PATCH v2 1/4] wayland: upgrade to 1.3.0 Karthik Ramanan
2014-09-26 18:46 ` Denys Dmytriyenko
2014-09-30 11:17 ` Karthik Ramanan
2014-09-30 21:41 ` Denys Dmytriyenko
2014-09-05 14:52 ` [for master] [PATCH v2 2/4] weston: " Karthik Ramanan
2014-09-05 14:52 ` [for master] [PATCH v2 3/4] wayland: add support for version 1.3.0 for drm backend Karthik Ramanan
2014-09-26 18:49 ` Denys Dmytriyenko
2014-09-30 11:22 ` Karthik Ramanan
2014-09-30 21:56 ` Denys Dmytriyenko [this message]
2014-10-01 12:20 ` Karthik Ramanan
2014-09-05 14:52 ` [for master] [PATCH v2 4/4] weston: weston 1.3.0 for DRM backend Karthik Ramanan
2014-09-26 19:42 ` Denys Dmytriyenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140930215615.GW6303@edge \
--to=denys@ti.com \
--cc=a0393906@ti.com \
--cc=meta-arago@arago-project.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.