NOTE:
This website is alive and growing.
Install Linux Stopmotion
NOTE: This tutorial assumes you are using Ubuntu on a x86 machine.
Packages
Stopmotion is available in the official Ubuntu repositories. You can install it using the Ubuntu Software Center or Synaptic.
If you prefer to use the command line, install it with the following terminal command:
sudo apt-get install stopmotion
Nevertheless the Ubuntu and Debian packages are old and miss many interesting improvements made to the code.
For that reason I recommend you compile LinuxStopmotion from source.
It is not difficult. Just follow the instructions below.
How to compile Linux Stopmotion from source code on Ubuntu
Step 1. Get the source code
The source code of Linux Stopmotion is maintained in GIT, a distributed version control system program for managing multiple revisions of the code. The source code of Linux Stopmotion is in a git repository hosted by SourceForge, a web-based source code repository that offers the service for free to Open Source Projects.
To get a copy of the source code, you first need to install Git. In Synaptic go to the menu Settings → Repositories and make sure you have enabled the components called main, universe, restricted, multiverse.
Then use this terminal command:
sudo apt-get install git-core
Get the source code with the following terminal command:
git clone git://git.code.sf.net/p/linuxstopmotion/code linuxstopmotion-code
This command downloads a copy of the source code of Linux Stopmotion from the SourceForge server. It will appear as a folder in your home directory (or your current working directory) named linuxstopmotion-code.
NOTE:
If you already have the source code from the git repository, you only need to update it.
Use the following commands:cd linuxstopmotion-codegit pull
Step 2. Get the dependencies
You need to install some compilation tools. Type:
sudo apt-get install build-essential
You also need to install some libraries Linux stopmotion depends on. Get all the dependencies with:
sudo apt-get build-dep stopmotion
Step 3. Build Linux Stopmotion
Enter the linuxstopmotion-code directory by typing:
cd linuxstopmotion-code
Then run:
lrelease stopmotion.pro
qmake stopmotion.pro
make
NOTE:
By default Stopmotion will be installed in /usr/local. You can change the installation path modifying the qmake command as in this example:qmake stopmotion.pro PREFIX=/my/stopmotion/install/path
Step 4. Install Linux Stopmotion
Type:
sudo make install
and
sudo ldconfig
Step 5. Run Linux Stopmotion
Linux Stopmotion should now be available on your system but it won't show automatically in the application menu.
You can add a stopmotion entry to the menu manually.
- Make sure you have Alacarte menu installed with the terminal command
sudo apt-get install alacarte
- Launch
alacarte
from the terminal or selecting Main menu from the menu. - Select Graphics as a main menu in the left panel
- Click on New item on the Items right panel
- Fill in the requested informations:
- Name: Stopmotion
- Description: Program to create stop-motion animations
- Command:
/usr/bin/stopmotion
- Working directory: leave blank
- Icon: click on the icon button and select icon from Image Files.
Look for the icon in
~/linuxstopmotion-code/graphics/stopmotion.png
- Click on Create and enjoy!
It is considered wiser to run Stopmotion from a terminal because, in the event of troubles, the terminal output can help you understanding the problem.
To run Stopmotion from the terminal just type:
stopmotion
How to test an experimental branch of the source code
Repeat step 1 and 2 from the instructions above (compilation on Ubuntu). Then:
Enter the linuxstopmotion-code directory by typing:
cd linuxstopmotion-code
Move to the experimental branch with the command:
git checkout 0.8beta2(0.8beta2 is the name of the branch. Make sure it fits your branch name)
Then run:
lrelease stopmotion.pro
qmake stopmotion.pro
make
You don't need to install Stopmotion to make it run. Just type
./stopmotionfrom the directory you were in.