From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 04B05E009A3; Wed, 29 Apr 2015 07:43:08 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] X-Greylist: delayed 488 seconds by postgrey-1.32 at yocto-www; Wed, 29 Apr 2015 07:43:02 PDT Received: from lists.s-osg.org (lists.s-osg.org [54.187.51.154]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id D3CA3E00998 for ; Wed, 29 Apr 2015 07:43:02 -0700 (PDT) Received: from recife.lan (unknown [200.101.47.138]) by lists.s-osg.org (Postfix) with ESMTPSA id E95BB462CB; Wed, 29 Apr 2015 07:34:43 -0700 (PDT) Date: Wed, 29 Apr 2015 11:34:34 -0300 From: Mauro Carvalho Chehab To: Alex J Lennon Message-ID: <20150429113434.2ce31089@recife.lan> In-Reply-To: <5540E546.9020606@dynamicdevices.co.uk> References: <17420222.681949.1430314213894.JavaMail.yahoo@mail.yahoo.com> <5540E546.9020606@dynamicdevices.co.uk> Organization: Samsung X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.27; x86_64-redhat-linux-gnu) MIME-Version: 1.0 X-Mailman-Approved-At: Wed, 29 Apr 2015 08:07:35 -0700 Cc: Yocto Subject: Re: [meta-raspberrypi] meta-ivi & meta-raspberrypi X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Apr 2015 14:43:08 -0000 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Em Wed, 29 Apr 2015 16:05:58 +0200 Alex J Lennon escreveu: > > On 29/04/2015 15:30, Oliver wrote: > > Hello > > > > I have been working building together the meta-raspberrypi & the meta-ivi layers. > > I have been stuck with configuration/compilation of weston(from mata-ivi layer): > > > > 1) > > > > You can check the intial thread http://lists.genivi.org/pipermail/genivi-meta-ivi/2015-April/000508.html > > > > > > egl provided by userlad is not detected as the *.pc files are not deployed > > Someone has faced similar problems: > > > > http://git.buildroot.net/buildroot/commit/?id=2282b93f4248a32de84805456efa352f69b28624 > > > > 2) > > With this I am able to reach the do_compile stage but there are errors related to the undefined type > > > > PFNEGLQUERYWAYLANDBUFFERWL > > Hacked this one forcing the inclusion of :-S > > > > > > 3) > > At linking time the next trouble is: > > > > /home/oliver/raspberry/build-rpi-ivi/tmp/sysroots/i686-linux/usr/libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.9.1/ld: cannot find -lwayland-egl > > > > IIRC this lib is provided by mesa-gl, but in my build, mesa is configured(--disable-egl (is this ok being provided by userlad?)) which might be the reason why libwayland-egl is not getting deployed in the image? > > > > Any correction to my statements or hint to go further would be appreciated > > > > Best Regards & thanks for your time > > > > Oliver > > Hi Oliver, > > I was looking at wayland/weston last year. I can't remember exactly > where I was at with it I am afraid, but I think I had it building and > have pushed some of the code I was playing with to GitHub > > I think this was related to the .pc issue > > https://github.com/DynamicDevices/meta-raspberrypi/commit/491dd14585efdb52378a57fa6ddacb1f15065257 > > And this was what I was doing with weston. Looks like I was disabling EGL. > > https://github.com/DynamicDevices/meta-raspberrypi/commit/c657f69deb57035fc43319dd7d41745c17d7d6e1 > > Sorry I can't be more help but perhaps there's something in there that > might be of use. I was able to build weston/wayland with meta-raspberrypi, for the Tizen distro: http://blogs.s-osg.org/bringing-tizen-to-a-raspberry-pi-2-near-you/ I had to apply a few patches to make it work on both Tizen and meta-raspberrypi. The forks are at: http://git.s-osg.org/ The current version there is actually disabling EGL. Enabling it seems to be possible, but we're still trying to make it work (it compiles fine, though, so I think we're close). Once done, my plan is to work on porting the patches back to meta-raspberrypi (and tizen-distro). The egl-enabled version (with doesn't run, currently), is at the "devel" branch at both git trees. I hope that helps. Regards, Mauro