Building with GES
This is a set of instructions for compiling GES, PyGST, GStreamer 1.0 and run pitivi on top of GES. This assumes the following:
- You know minimally how to use Git
- You are reasonably familiar with compiling and resolving dependencies. Make sure to take a look at the instructions on that page before continuing, it will save you a lot of time!
- You have a recent Linux distribution
Warning: the xptv file format changed in the GES version. Please keep backups of xptv files you made with 0.15 as files saved with the GES version will not open in 0.15.
The core developer's way
This is the official way of getting your environment up and running. This is what we use for testing.
- Solve the Dependencies.
- Get this script, save it, make it executable and run it: http://git.gnome.org/browse/pitivi/plain/bin/pitivi-git-environment.sh
What the script will do:
- The first time you run it, the script will create a "pitivi-git" directory in your home folder. Then, it will get all the git repositories and set all the remotes for gst-python, gst-editing-services and pitivi. If gstreamer 1.0 is not detected on your system, it will build it for you too.
- On subsequent runs, running this script will set up your environment variables so that you can easily run (or build) pitivi git.
If you want to update your whole build in one go, or have failed to do the initial build (due to missing dependencies or something), re-run the script with the --build parameter. In some cases, you might have to delete the "glib" directory. Note that "--build" will not force everything to be rebuilt all the time; if you want to do that, use the --force-autogen parameter instead (don't use both parameters!). This is especially useful if you did not solve all the optional dependencies to have a complete GStreamer experience (for example, missing MP3 support).
- Make sure to exit the script's environment (with ctrl+D) before re-running the script. Otherwise, if you were already inside the environment, re-entering the script makes it think you have gstreamer 1.0 already set up (it will say "Using System wide GStreamer 1.0").
The jhbuild way
Javier Jardon indicated us that he had updated jhbuild modulesets for pitivi, which means you should be able to do:
jhbuild build pitivi
...provided you have the gnome-world-3.12 moduleset. After the build is complete, to run Pitivi, simply do :
jhbuild run pitivi
See also Git for instructions on how to deal with Pitivi git branches.