Both sides previous revisionPrevious revisionNext revision | Previous revision |
mac_compilation_howto [2017/03/11 23:22] – external edit 127.0.0.1 | mac_compilation_howto [2017/08/05 22:10] (current) – maefloresta |
---|
;#; | ;#; |
| |
=====How to compile Tupi from source code (OSX)===== | =====How to compile TupiTube Desk from source code (OSX)===== |
| |
Once again, [[http://twitter.com/#!/pastuxso|Cristian Cepeda]] is helping us to bring Tupi closer to the Mac world. This time, adding a new way to compile it using a friendly package manager called [[http://en.wikipedia.org/wiki/MacPorts|Macports]]. | Once again, [[http://twitter.com/#!/pastuxso|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 [[http://en.wikipedia.org/wiki/MacPorts|Macports]]. |
| |
**Note:** To build and install Tupi on Mac OSX following this article, the [[http://en.wikipedia.org/wiki/Terminal_(Mac_OS_X)|Terminal]] application is required. This tool can be located at /Applications/Utilities/Terminal using the Finder application. | **Note:** To build and install TupiTube Desk on Mac OSX following this article, the [[http://en.wikipedia.org/wiki/Terminal_(Mac_OS_X)|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: | 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/ | 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: | Now, to compile/install TupiTube Desk from source code, please follow the instructions below: |
| |
1. Install the XCode Developer Tools available at: | 1. Install the XCode Developer Tools available at: |
* sudo make install | * sudo make install |
| |
5. Download Tupi source code from GitHub: | 5. Download TupiTube Desk source code from GitHub: |
* mkdir -p /Users/username/tupi/sources (where username is your user account name in the OSX system) | * mkdir -p /Users/username/tupitube/sources (where username is your user account name in the OSX system) |
* cd /Users/username/tupi/sources | * cd /Users/username/tupitube/sources |
* git clone https://github.com/xtingray/tupi.git -b devel | * git clone https://github.com/xtingray/tupitube.desk.git |
| |
6. Move into project's directory: | 6. Move into project's directory: |
* cd tupi | * cd tupitube.desk |
| |
7. Run the configure script: | 7. Run the configure script: |
* ./configure --prefix=/Users/username/tupi/installer --with-libav=/usr/local --with-quazip=/usr/local --with-theora=/usr/local --bindir=/Users/username/tupi/installer | * ./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: | 8. Compile the project: |
| |
10. Create the .dmg installer: | 10. Create the .dmg installer: |
* cd /Users/username/tupi/sources/tupi | * cd /Users/username/tupitube/sources/tupitube.desk |
* ./tools/build_mac_osx_app.sh /Users/username/tupi/sources/tupi /Users/username/tupi/installer | * ./tools/build_mac_osx_app.sh /Users/username/tupitube/sources/tupitube.desk /Users/username/tupitube/installer |
| |
11. Look for the .dmg file at the path /Users/username/tupi/installer and install it. Now you can enjoy Tupi! (like we do). | 11. Look for the .dmg file at the path /Users/username/tupitube/installer and install it. Now you can enjoy TupiTube! (like we do). |
| |
;#; | ;#; |
[[developer_resources|Back to Developers Page]] | [[developer_resources|Back to Developers Page]] |
;#; | ;#; |