The Meson Build

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

The Meson Build

Russel Winder
Is the Meson Build now in a state where it can be used to create a
complete local install of the:

GStreamer
GST_Plugins_Base
GST_Plugins_Good
GST_Plugins_Ugly
GST_Plugins_Bad
GST_LibAV

repositories?

The idea is to run the latest bad plugins and I assume I need to run
the latest of everything rather than the Debian or Fedora latest
packages for consistency.

--
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:[hidden email]
41 Buckmaster Road    m: +44 7770 465 077   xmpp: [hidden email]
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (849 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: The Meson Build

Tim Müller
On Sat, 2017-01-07 at 12:51 +0000, Russel Winder wrote:

Hi,

Is the Meson Build now in a state where it can be used to create a
complete local install of the:

Define 'complete' :)

There are for sure things that are missing (docs, examples, some less used plugins), but all the important things should be there.


and the same in sys/ should give you an idea what's missing.

If anything in particular is missing that you need, please let us know. It should also be fairly easy to add it to the build yourself.

GStreamer
GST_Plugins_Base
GST_Plugins_Good
GST_Plugins_Ugly
GST_Plugins_Bad
GST_LibAV

repositories?

The idea is to run the latest bad plugins and I assume I need to run
the latest of everything rather than the Debian or Fedora latest
packages for consistency. 

You need to run the latest gstreamer / gst-plugins-base / gst-plugins-good if you want the latest gst-plugins-bad, yes.

You can use the gst-build module to build everything in one go. And it also provides an "uninstalled" target for an uninstalled environment should you be interested in that.

Cheers
-Tim

-- 
Tim Müller, Centricular Ltd - http://www.centricular.com

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: The Meson Build

Russel Winder
On Sat, 2017-01-07 at 13:24 +0000, Tim Müller wrote:
> On Sat, 2017-01-07 at 12:51 +0000, Russel Winder wrote:
>
> Hi,
>
> > Is the Meson Build now in a state where it can be used to create a
> > complete local install of the:
>
> Define 'complete' :)

:-)

So if I remove all the gstreamer packages installed on Debian Sid or
Fedora Rawhide, nothing else installed breaks because I have a
GStreamer installed in $HOME/Built – where $HOME/Built/lib is on
LD_LIBRARY_PATH. (I know package dependencies won't allow me to try
this experiment, but…)

> There are for sure things that are missing (docs, examples, some less
> used plugins), but all the important things should be there.
>
> https://cgit.freedesktop.org/gstreamer/gst-plugins-bad/tree/ext/meson
> .b
> uild
>
> and the same in sys/ should give you an idea what's missing.
>
> If anything in particular is missing that you need, please let us
> know.
> It should also be fairly easy to add it to the build yourself.
I shall be checking things, but I may send mildly plaintive emails here
first about anything as a way of trying to cover up my uncertainty.

[…]
>
> You need to run the latest gstreamer / gst-plugins-base / gst-
> plugins-
> good if you want the latest gst-plugins-bad, yes.

I thought so, thanks for the confirmation. It is then all or nothing.
:-)

> You can use the gst-build module to build everything in one go. And
> it
> also provides an "uninstalled" target for an uninstalled environment
> should you be interested in that.

For various reason (long and uninteresting to anyone other than me) I
was going to have to remove all my current set of clones, so I took a
look at the GStreamer website and discovered gst-build. I immediately
cloned this and nothing else (well except gst-examples) and made a
build from it. It correctly cloned the needful and set up the 2,400+
files to build. Everything compiles fine. I haven't done an install
just yet.

Will Ninja do a Git update check on the cloned repositories, or is that
a manual state?

I think we can state with confidence that this Meson build is already
about 5,372,628.61% better than the Autotools one.

--
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:[hidden email]
41 Buckmaster Road    m: +44 7770 465 077   xmpp: [hidden email]
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (849 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: The Meson Build

Nirbheek Chauhan
On Sat, Jan 7, 2017 at 9:07 PM, Russel Winder <[hidden email]> wrote:
> So if I remove all the gstreamer packages installed on Debian Sid or
> Fedora Rawhide, nothing else installed breaks because I have a
> GStreamer installed in $HOME/Built – where $HOME/Built/lib is on
> LD_LIBRARY_PATH. (I know package dependencies won't allow me to try
> this experiment, but…)
>

You don't need to remove any system packages. If you run `ninja
uninstalled` inside the build directory, it will setup
LD_LIBRARY_PATH, PATH, etc such that your newly-built gstreamer
libraries will be used by whatever you run from inside that terminal.

> Will Ninja do a Git update check on the cloned repositories, or is that
> a manual state?
>

You can run ./git-update and then run ninja -C build to rebuild only
whatever has changed.

> I think we can state with confidence that this Meson build is already
> about 5,372,628.61% better than the Autotools one.
>

Great to hear that it's working out for you :)

Cheers,
Nirbheek
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: The Meson Build

Russel Winder
On Sat, 2017-01-07 at 21:48 +0530, Nirbheek Chauhan wrote:
>
[…]
> You can run ./git-update and then run ninja -C build to rebuild only
> whatever has changed.

Excellent. Works a treat.

> > I think we can state with confidence that this Meson build is
> > already
> > about 5,372,628.61% better than the Autotools one.
> >
>
> Great to hear that it's working out for you :)

The Meson/Ninja set up it about 492,327% better than I thought it was a
couple of days ago.

:-)

--
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:[hidden email]
41 Buckmaster Road    m: +44 7770 465 077   xmpp: [hidden email]
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (849 bytes) Download Attachment