From owner-freebsd-ports@freebsd.org Thu Jul 11 22:08:32 2019 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4007015DF426 for ; Thu, 11 Jul 2019 22:08:32 +0000 (UTC) (envelope-from adr@SDF.ORG) Received: from mx.sdf.org (ol.sdf.org [205.166.94.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx.sdf.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B2D956D6BA for ; Thu, 11 Jul 2019 22:08:30 +0000 (UTC) (envelope-from adr@SDF.ORG) Received: from sdf.lonestar.org (IDENT:adr@sdf.lonestar.org [205.166.94.16]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id x6BM8SZi029291 (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256 bits) verified NO) for ; Thu, 11 Jul 2019 22:08:28 GMT Date: Thu, 11 Jul 2019 22:08:28 +0000 (UTC) From: adr X-X-Sender: adr@sdf.lonestar.org To: freebsd-ports@freebsd.org Subject: raspberrypi-userland conflicts with mesa-libs Message-ID: User-Agent: Alpine 2.21 (NEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Rspamd-Queue-Id: B2D956D6BA X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-0.84 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.98)[-0.979,0]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; IP_SCORE(-0.44)[ip: (-1.39), ipnet: 205.166.94.0/24(-0.70), asn: 14361(-0.04), country: US(-0.06)]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ports@freebsd.org]; TO_DN_NONE(0.00)[]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.97)[-0.969,0]; DMARC_NA(0.00)[SDF.ORG]; NEURAL_SPAM_SHORT(0.65)[0.655,0]; MX_GOOD(-0.01)[cached: mx.SDF.ORG]; RCVD_IN_DNSWL_NONE(0.00)[20.94.166.205.list.dnswl.org : 127.0.10.0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:14361, ipnet:205.166.94.0/24, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jul 2019 22:08:32 -0000 First of all, hello to everyone. I'm new to FreeBSD (not to BSD), so pardon me if I look disoriented. Making the userland conflict with mesa-libs is like shooting in your own foot in this platform. Omxplayer is a good media player, I modified those ports to be able to be installed in an X environment, and it works really good. The only bug I've seen is the osd been out of place. Also you are not installing dbuscontrol.sh. This is a good example of how to control omxplayer with dbus. I use it directly with key bindings, in my case with twm (I just changed the name to omxctrl): "h" = m4|s : all : ! "omxctrl hidevideo &" "u" = m4|s : all : ! "omxctrl unhidevideo &" "s" = m4|s : all : ! "omxctrl togglesubtitles &" "1" = m4|s : all : ! "omxctrl setvideopos 0 0 600 400; omxctrl setaspectmode letterbox &" "f" = m4|s : all : ! "omxctrl setvideopos 0 0 1920 1080; omxctrl setaspectmode letterbox &" "equal" = m4|s : all : ! "omxctrl volumeup &" "minus" = m4|s : all : ! "omxctrl volumedown &" "q" = m4|s : all : ! "omxctrl stop &" "Space" = m4|s : all : ! "omxctrl pause &" "p" = m4 : all : ! "sh -c 'omxplayer $(youtube-dl --no-playlist -g -f mp4 $(xsel -p))' &" ... you have an idea. Indeed there are a lot of software that support the rpi hardware. Vlc has even a new "split" rpi driver that integrates the player perfectly with the X environment keeping the hardware acceleration. I don't really like this player, but it is the best integrated with X, and is very popular. I'll try to compile it with rpi support on FreeBSD. Also, I've seen qt5-webengine as a binary package. If I remember right, it uses gstreamer, and gstreamer also has an omx plugin. I'll try to code a simple browser. ffmpeg, xine, ... as I said, you are shooting your own foot. Just peek a new prefix, update these ports to use it and add the path to libconfig or just print a message advising the use of LD_LIBRARY_PATH. Just an advise. Regards, adr.