All of lore.kernel.org
 help / color / mirror / Atom feed
From: Karthik Ramanan <a0393906@ti.com>
To: Denys Dmytriyenko <denys@ti.com>
Cc: meta-arago@arago-project.org
Subject: Re: [for master] [PATCH v2 1/4] wayland: upgrade to 1.3.0
Date: Tue, 30 Sep 2014 16:47:11 +0530	[thread overview]
Message-ID: <542A9137.3030802@ti.com> (raw)
In-Reply-To: <20140926184634.GK2480@denix.org>

On 27-Sep-14 12:16 AM, Denys Dmytriyenko wrote:
> On Fri, Sep 05, 2014 at 08:22:44PM +0530, Karthik Ramanan wrote:
>> From: Ross Burton <ross.burton@intel.com>
>>
>> wayland-scanner now uses pkg-config instead of hard-coding paths, so edit the
>> script to use pkg-config-native.
>>
>> Based on work by Ewan Le Bideau-Canevet <Ewan.LEBIDEAU-CANEVET@eurogiciel.fr>.
>>
>> Signed-off-by: Ross Burton <ross.burton@intel.com>
>> Signed-off-by: Saul Wold <sgw@linux.intel.com>
>> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
>
> First of all, you ended up copying all those people above. It is rarelly a
> good idea to use an existing commit for overlaying the recipe locally...

Denys,

On the kernel tree, atleast in the past, when we pulled in patches from 
other branch it was encouraged to preserve authorship and try to bring 
in the patch as it is.

So if I understand correctly and also look at some recently submitted 
patches, like the wayland/weston 1.5.0 submission it seems like we can 
simply copy the patch and not worry about the authorship. So I will take 
care of this from the next time.

Sorry about the fact that there was a deviation, I was not aware of that 
the simpler approach of simply copying the files was allowed.

Would you be merging this if its acceptable to you?

Regards
Karthik

>
>
>> ---
>>   .../recipes-graphics/wayland/wayland_1.3.0.bb      | 36 ++++++++++++++++++++++
>>   1 file changed, 36 insertions(+)
>>   create mode 100644 meta-arago-extras/recipes-graphics/wayland/wayland_1.3.0.bb
>>
>> 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
>> new file mode 100644
>> index 0000000..212e08a
>> --- /dev/null
>> +++ b/meta-arago-extras/recipes-graphics/wayland/wayland_1.3.0.bb
>> @@ -0,0 +1,36 @@
>> +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"
>> +
>> +inherit autotools pkgconfig
>> +
>> +# We need wayland-native for the wayland-scanner utility
>> +BBCLASSEXTEND = "native"
>> +
>> +DEPENDS_virtclass-native = "expat-native libffi-native"
>> +DEPENDS = "expat libffi wayland-native"
>> +
>> +EXTRA_OECONF_virtclass-native = "--disable-documentation"
>> +EXTRA_OECONF = "--disable-documentation --disable-scanner"
>> +
>> +# 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() {
>> +  sed -e 's,PKG_CHECK_MODULES(.*),,g' \
>> +      -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
>>



  reply	other threads:[~2014-09-30 11:17 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 [this message]
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
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=542A9137.3030802@ti.com \
    --to=a0393906@ti.com \
    --cc=denys@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.