User Tools

Site Tools


mac_compilation_howto

This is an old revision of the document!


Back to Developers Page

How to compile TupiTube Desk from source code (OSX)

Once again, Cristian Cepeda is helping us to bring TupiTube Desk closer to the Mac world. This time, adding a new way to compile it using a friendly package manager called Macports.

Note: To build and install TupiTube Desk on Mac OSX following this article, the Terminal application is required. This tool can be located at /Applications/Utilities/Terminal using the Finder application. The Terminal is just a command console (terminal emulator), so if you have no experience using it, we recommend you to take a look at this little guide:

http://www.hacktheday.com/beginners-guide-to-apple-terminal-part-1/

Now, when you feel ready to compile/install Tupi from source code, please follow the instructions below:

1. Install the XCode Developer Tools available at: https://developer.apple.com/downloads/index.action

If your OSX version is Lion, try version 4.1 or later and include the package called “Command Line Tools for Xcode”

If your OSX version is Snow Leopard, try version 3.2

Note: An Apple ID account is required to download XCode.

2. Install Libav

3. Install Ogg library

4. Install Theora library

5. Download TupiTube Desk source code from GitHub:

6. Move into project's directory:

  • cd tupitube.desk

7. Run the configure script:

  • ./configure –prefix=/Users/username/tupitube/installer –with-libav=/usr/local –with-quazip=/usr/local –with-theora=/usr/local –bindir=/Users/username/tupitube/installer

8. Compile the project:

  • make

9. Install binaries and resources:

  • make install

10. Create the .dmg installer:

  • cd /Users/username/tupitube/sources/tupitube.desk
  • ./tools/build_mac_osx_app.sh /Users/username/tupitube/sources/tupi /Users/username/tupitube/installer

11. Look for the .dmg file at the path /Users/username/tupitube/installer and install it. Now you can enjoy TupiTube! (like we do).

Back to Developers Page

mac_compilation_howto.1501954086.txt.gz · Last modified: 2019/07/16 20:31 (external edit)