From owner-freebsd-arm@freebsd.org Tue Nov 17 10:00:10 2015 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CF346A2F0F8 for ; Tue, 17 Nov 2015 10:00:10 +0000 (UTC) (envelope-from mikael.urankar@gmail.com) Received: from mail-yk0-x231.google.com (mail-yk0-x231.google.com [IPv6:2607:f8b0:4002:c07::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 90D2A14AC; Tue, 17 Nov 2015 10:00:10 +0000 (UTC) (envelope-from mikael.urankar@gmail.com) Received: by ykdr82 with SMTP id r82so3469535ykd.3; Tue, 17 Nov 2015 02:00:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=FNqP56R9zxw6JV/hyuPfXBtsAU5zQyq7I25+fJLkrpg=; b=S6qE7Yok38Rjw2t7+A8/3Pvkhu7diLe6g62ut1vBy36MH07Dxj6XbqIFcBWYV1fDtv WwbuxAgdYuW6kNyPaHpQ67xiDrefMTsdItQQBPu1DdluqMJvyst2K8oZ4O98CkRJoS7S sF2cW8fruaLFyBZGf9QmCnQ/x3m38au0YfV5C/WJHSOPcDC/fJAJFuDTmWkanozfrRJp GoE0AiQ2sxei89SnHZFLJyVS3Bs+qhTRcCy3ijMgUrUhrHUsJjM1ORe/HkbXhAmw3p4+ ELM7iHJW4QEpUCJDwBxSDx2+bX9bxm92n5e5Hrh3pf9/XWviniY6rJ2mQ7oPHK3+Cp1/ OhHw== X-Received: by 10.13.221.208 with SMTP id g199mr44390188ywe.225.1447754409612; Tue, 17 Nov 2015 02:00:09 -0800 (PST) MIME-Version: 1.0 Received: by 10.37.217.17 with HTTP; Tue, 17 Nov 2015 01:59:30 -0800 (PST) In-Reply-To: <564AEBEB.5040400@norma.perm.ru> References: <564A446D.1020703@norma.perm.ru> <2E64C6DD-6F86-48C1-9ABF-0E55B03E2955@freebsd.org> <564AEBEB.5040400@norma.perm.ru> From: =?UTF-8?Q?Mika=C3=ABl_Urankar?= Date: Tue, 17 Nov 2015 10:59:30 +0100 Message-ID: Subject: Re: misc/raspberrypi-userland port and xorg-server To: "Eugene M. Zheganin" Cc: Oleksandr Tymoshenko , Adrian Chadd , "freebsd-arm@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Nov 2015 10:00:11 -0000 2015-11-17 9:57 GMT+01:00 Eugene M. Zheganin : > I decided to try to build the x11-server/xorg-server port and it's > dependencies (like graphics/libexpoxy) against misc/raspberrypi-userland > libraries. > From your questions though I understand I'm doing something wicked. Are > you saying there's more support to Raspberry Pi in 11-CURRENT and I > should use it, not the 10.2-STABLE ? All I need is the ability to play > video on a Raspberry Pi, thus I need a support for GPU. Still I don't > understand how can I get it if the ports tree is linking against general > ports versions of graphics/libEGL and graphics/libglesv2, not the > misc/raspberrypi-userland libraries. Could you please clarify this for > me ? I'm hoping to use the still not commited multimedia/omxplayer or > multimedia/kodi with the patch that Mikael Urankar gave me. > > As about my tries to build the xorg stack against misc/raspberry-pi > libraries, I'm getting this on modified (I commented out the EGL and gl > requirements) ports tree: > > # make > ===> Building for libepoxy-1.2 > /usr/bin/make all-recursive > Making all in include/epoxy > Making all in src > /usr/bin/make all-am > CC dispatch_common.lo > In file included from dispatch_common.c:103: > In file included from ./dispatch_common.h:48: > In file included from ../include/epoxy/egl.h:46: > In file included from ../include/epoxy/egl_generated.h:10: > In file included from /usr/local/include/EGL/eglplatform.h:110: > In file included from > /usr/local/include/interface/vmcs_host/vc_dispmanx.h:33: > In file included from /usr/local/include/interface/vcos/vcos.h:114: > In file included from /usr/local/include/interface/vcos/vcos_assert.h:149: > /usr/local/include/interface/vcos/vcos_types.h:38:10: fatal error: > 'vcos_platform_types.h' file not found > #include "vcos_platform_types.h" You can put this line in the Makefile: CFLAGS+=-I/usr/local/include/interface/vcos/pthreads/ -I/usr/local/include/interface/vcos -I/usr/local/include/interface/ -I/usr/local/include/interface/vmcs_host/linux