Files
veejay/veejay-current/veejay-server/doc/HowtoCompile.txt
2017-12-05 14:13:32 +01:00

118 lines
2.6 KiB
Plaintext

# Compiling Veejay
## Prerequisities
Required:
* Build-essential
* FFmpeg (libavcodec, libavformat, libavutil, libswscale) *please use ffmpeg instead of libav*
* libjpeg
* libxml2 for saving project data
* SDL for the video window
* libdv for playback of DV Video
* freetype2 for font rendering
* [http://www.gtk.org GTK-2.4 (GTK 2.6 recommended)
* [http://www.gnome.org GdkPixbuf (comes with Gnome)
* Cairo (needed for GVeejay Reloaded)
* GtkCairo (needed for GVeejay Reloaded)
* Libquicktime for Quicktime]
* Video4Linux II
* libpthread
* Glade (needed for GVeejay Reloaded)
Optional:
* liblo
* DirectFB for secundary head (TVOut)
* Jack for audio playback
* G'MIC - GREYC's Magic for Image Computing
## Generic build instructions
Normally, you can just run 'configure'. If you have cloned the veejay git respository, you will need to run autogen.sh first to produce the configure file.
## Configure options
Before running configure, check if the PKG_CONFIG_PATH variable is setup correctly:
$ echo $PKG_CONFIG_PATH
If echo is silent, you must set the PKG_CONFIG_PATH to point to the directory containing all your .pc files (like for example libdv.pc or jack.pc )
### Configure flags
`--enable-debug` Builds veejay for debugging purposes (disables optimization)
`--with-arch-target=generic` Build veejay for generic x86 cpu-type. If the default is used (auto), the resulting binary may not run on another computer.
## Building
1. Get the sources from Veejay's repository:
<pre>
$ git clone git://github.com/c0ntrol/veejay.git veejay
</pre>
2. Enter the source directory and run autogen.sh
<pre>
$ cd veejay/veejay-current
$ cd veejay-server
$ sh autogen.sh
</pre>
3. Run ./configure
<pre>
$ ./configure
</pre>
4. Type 'make' to build veejay
<pre>
$ make
</pre>
5. Installing
<pre>
$ sudo make install
</pre>
6. *optional* continue with building veejay-client and veejay-utils
<pre>
$ cd veejay-client
$ sh autogen.sh
$ ./configure
$ make && sudo make install
$ cd veejay-utils
$ sh autogen.sh
$ ./configure
$ make && sudo make install
</pre>
7. *optional* continue with building the plugin-packs
<pre>
$ cd plugin-packs/lvdgmic
$ sh autogen.sh
$ ./configure
$ make && sudo make install
$ cd plugin-packs/lvdcrop
$ sh autogen.sh
$ ./configure
$ make && sudo make install
</pre>
## Test your build
Test if veejay works:
<pre>
$ veejay -d -n
</pre>
Start another terminal and type:
<pre>
$ reloaded
</pre>
Open another terminal (depends on sayVIMS, build in step 6)
<pre>
$ sayVIMS "600:;"
</pre>
(or press CTRL-C in the terminal running veejay)