<div dir="ltr">Thanks Nirbheek.<div><br></div><div>Thanks Nicolas --</div><div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div>I am going to start by trying normal compilation (directly on the target architecture).</div><div><br></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div>If it doesn't work then I'll need to explore the option of cross compilation, a topic I have very little experience with.</div><div><br></div><div><br></div></blockquote></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Jan 30, 2022 at 5:46 AM Nicolas Dufresne <<a href="mailto:nicolas@ndufresne.ca">nicolas@ndufresne.ca</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Le samedi 29 janvier 2022 à 14:37 +0530, Nirbheek Chauhan via gstreamer-devel a<br>
écrit :<br>
> On Sat, Jan 29, 2022 at 4:43 AM David Ing via gstreamer-devel<br>
> <<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a>> wrote:<br>
> > <br>
> > I am thinking about creating a build for fedora.<br>
> > <br>
> > Does anyone have a Docker recipe for building gstreamer 1.18 (or main branch) for arm64v8?<br>
> > <br>
> <br>
> No, but nothing special is needed if you're building natively. If<br>
> you're cross-compiling, you probably want a cross file like this:<br>
> <br>
> <a href="https://github.com/mesonbuild/meson/blob/master/cross/ubuntu-armhf.txt" rel="noreferrer" target="_blank">https://github.com/mesonbuild/meson/blob/master/cross/ubuntu-armhf.txt</a><br>
<br>
If you use Fedora cross-compile like I do, here's an example with fedora<br>
specifics in it (debian vs fedora don't agree on lib path, but the rest shall be<br>
similar regarding using generic toolchain that does not know were is your<br>
rootfs).<br>
<br>
<a href="https://gitlab.collabora.com/nicolas/meson-cross/-/blob/master/renegade.txt" rel="noreferrer" target="_blank">https://gitlab.collabora.com/nicolas/meson-cross/-/blob/master/renegade.txt</a><br>
<br>
If you want to know more about my NFS setup, let me know, dnf have been very<br>
nice and simple tool to manage NFS rootfs for multiple boards for me, while<br>
doing the cross-compilation on a fast machine.<br>
<br>
p.s. Always make sure both host and rootfs Fedora are on sync, applies to Debian<br>
and Ubuntu also (use dockers/podman image on host if you can't match), and be<br>
aware that sometimes they may get out of sync for few days due to build issues<br>
on Fedora side. What breaks most often is QT5 support, I have added -<br>
Dqt5=disabled, useful if you need that.<br>
<br>
> <br>
> You will need to edit the paths to point to the right places for Fedora.<br>
> <br>
> > Would I use Fedora 31 for Gstreamer 1.18?<br>
> > <br>
> <br>
> Just use the latest Fedora.<br>
> <br>
> > Which version of Fedora would I use for Gstreamer main branch?<br>
> > <br>
> <br>
> Same. The stable branch and the latest development are both tested<br>
> regularly by developers who use the latest Fedora. Older stable<br>
> branches will also probably work, but it's not guaranteed because no<br>
> one is checking.<br>
> <br>
> > Are the current gstreamer recipes still here?  <a href="https://gitlab.freedesktop.org/gstreamer/gst-ci" rel="noreferrer" target="_blank">https://gitlab.freedesktop.org/gstreamer/gst-ci</a><br>
> <br>
> If you're looking for CI scripts, they're at<br>
> <a href="https://gitlab.freedesktop.org/gstreamer/gstreamer" rel="noreferrer" target="_blank">https://gitlab.freedesktop.org/gstreamer/gstreamer</a><br>
> <br>
> See .gitlab-ci.yml and ci/*<br>
> <br>
> Cheers,<br>
> Nirbheek<br>
<br>
enjoy,<br>
Nicolas<br>
<br>
</blockquote></div>