##
The single-user build

To do a single-user build, read the file README that is at the top level after you get the source.

1. You need at least 6 GB of disk storage to operate a build + you need to have “git” installed.

2. You can install it without being root or without using sudo. In case of problems you can use sudo to avoid permission issues.
3. The git step has to download many files (approx 130 MB) so allow time.

4. Run the following commands (this takes awhile):

       # This is where you need the 6GB of disk space
       cd /<build_path>/
       git clone --depth 1 git://git.cinelerra-gg.org/goodguy/cinelerra.git cinelerra5
       # Toplevel directory:
       cd cinelerra5/cinelerra-5.1

NOTE: if your system has never had CINELERRA-GG Infinity installed, you will have to make sure all the compilers and libraries necessary are installed. Thus, for the execution part of bld_prepare.sh you must use sudo, but the other steps can be done as a normal user.

    ./blds/bld_prepare.sh <os>
    ./autogen.sh
    ./configure --with-single-user
    make 2>&1 | tee log
    make install

Where <os> represents the Operating System supported by CINELERRA-GG, such as centos, fedora, suse, ubuntu, mint, debian and arch. The “with-single-user” parameter makes it so. Check for errors before proceeding.

Then just start the application by keying in: ./cin in the bin subdirectory OR add a desktop icon by using the appropriate directory to copy the files to and edit to correct the directory path. Below are generic directions of how to do this.

Then just start the application by keying in: ./cin in the bin subdirectory OR add a desktop icon by using the appropriate directory to copy the files to, run as root, and edit to correct the directory path. Below are generic directions of how to do this.

    cd /cinelerra_directory_path
    cp -a image/cin.{svg,xpm} /usr/share/pixmaps/
    cp -a image/cin.desktop /usr/share/applications/cin.desktop

After you have followed the above, in the cin.desktop file, change the Exec=cin line to be Exec=<your_directory_path>/bin/cin.

A working example of how to build in Arch as a normal user:

    \$ git clone --depth 1 git://git.cinelerra-gg.org/goodguy/cinelerra.git cinelerra5
    \$ cd /home/USER/cinelerra5/cinelerra-5.1
    \$ ./autogen.sh
    \$ ./configure --with-single-user --with-booby
    \$ make 2>&1 | tee /tmp/cin5.log &&  make install
    \$ mv Makefile Makefile.cfg
    \$ cp Makefile.devel Makefile