User Tools

Site Tools


build:linux

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

build:linux [2014/03/14 17:51]
freaktechnik [Additional Steps to build a Debian Package]
build:linux [2015/08/03 09:28] (current)
freaktechnik [Clone the Git Repository]
Line 16: Line 16:
 You need some tools to build Nightingale. Here's a (maybe incomplete) list of requirements for using our build system: You need some tools to build Nightingale. Here's a (maybe incomplete) list of requirements for using our build system:
  
-On Ubuntu ​12.04 : +=== Ubuntu ​14.04.1 === 
-  sudo apt-get install git autoconf g++ libgtk2.0-dev libdbus-glib-1-dev libtag1-dev libgstreamer-plugins-base0.10-dev zip unzip+  sudo apt-get install git autoconf g++ libgtk2.0-dev libdbus-glib-1-dev libtag1-dev libgstreamer-plugins-base0.10-dev zip unzip libidl-dev ​ libasound2-dev
  
-On Fedora 18 (as root):+=== Fedora 18 (as root) ===
   yum -y install autoconf git-all gcc-c++ gtk2-devel dbus-glib-devel gstreamer-plugins-base-devel   yum -y install autoconf git-all gcc-c++ gtk2-devel dbus-glib-devel gstreamer-plugins-base-devel
  
 +=== OpenSUSE 13.2 ===
 +  zypper install git autoconf ​ gcc-c++ gtk2-devel dbus-1-glib-devel libtag-devel gstreamer-plugins-base-devel gstreamer-0_10-plugins-base-devel libidl-devel zip unzip
  
 ==== Clone the Git Repository ==== ==== Clone the Git Repository ====
  
   git clone https://​github.com/​nightingale-media-player/​nightingale-hacking.git   git clone https://​github.com/​nightingale-media-player/​nightingale-hacking.git
- +To build trunk build (like a nightly):
-If you want to build 1.11 branch : +
-  git checkout nightingale-1.11 +
-If you want to build trunk branch ​:+
   git checkout sb-trunk-oldxul   git checkout sb-trunk-oldxul
 +
 +If you want to build from a past release type the following, replacing VERSION with the desired version number:
 +  git checkout nightingale-VERSION
  
 ==== Configure the build ==== ==== Configure the build ====
Line 79: Line 81:
 </​code>​ </​code>​
  
-If everything is successful, you should see the words: "Build Successful!"​ on the last line of the output ​and have a Nightingale built in /​compiled/​dist.+If everything is successful, you should see the words: "Build Successful!"​ on the last line of the output.
  
 === Building a Debian Package === === Building a Debian Package ===
Line 87: Line 89:
 If it's only a local build and you don't want to sign the .dsc and .changes file, type If it's only a local build and you don't want to sign the .dsc and .changes file, type
   dpkg-buildpackage -uc -us   dpkg-buildpackage -uc -us
 +  ​
 +==== Running a successful build ====
 +To run after the build succeeded, run
 +<​code>​
 +make run
 +</​code>​
 +
 +Alternatively you can find the binary and resources in the compiled/​dist folder relative to your source directory.
 +
 +For instructions on how to install a self-built Nightingale,​ see the INSTALL file in the source directory.
  
 ==== Troubleshooting ==== ==== Troubleshooting ====
Line 92: Line 104:
 **TODO** **TODO**
  
 +If you are getting taglib reference errors when trying to build, you may need to manually install TagLib 1.8. See this [[http://​forum.getnightingale.com/​thread-617-post-2932.html#​pid2932|forum post]] for details.
  
 +==== External Resources ====
  
 +[[http://​forum.getnightingale.com/​thread-28.html|Build Thread]]
build/linux.1394844673.txt.gz · Last modified: 2014/03/14 17:51 by freaktechnik