Re: otter-browser for Debian/sid, need help for building it
Reply #1 –
I don't know how Emdek does it, but I quickly worked it out like this.
First make sure you have the basic development packages:
sudo apt-get install build-essential devscripts
Copy over otter/packaging/debian to otter/debian.
Then run:
debchange -R
I add ~frenzie to packages I compile myself so official builds in the repository will automatically supersede my own builds, although there's no such thing in this case. Because it's the latest from Git I also changed the date, so the version is 0.9.01+git20140924~frenzie.
Followed by:
dpkg-checkbuilddeps
Copy whatever it spits out in a sudo apt install bla bla bla. For me it was sudo apt install qtbase5-dev libqt5webkit5-dev qtdeclarative5-dev qtscript5-dev qt5-default.
Then create a binary-only package. It'll throw an error about a missing otter-browser source tar otherwise; perhaps you could easily create one but I don't really see the point for now.
dpkg-buildpackage -us -uc -b -j4
The -b flag means binary only, while -j4 is the number of concurrent threads to speed up building. You can probably easily try 6 or more depending on your number of cores and threads because even with an SSD most bottlenecks are I/O. Even 4 should be a safe enough choice for 2 cores and up. Alternative you could run something like debuild -b -j4, because debuild implicitly means dpkg-buildpackage -rfakeroot -D -us -uc. However, both the -rfakeroot and -D flags are redundant.
And then you have your Debian package. You can download the result here.
PS How can you check on what kind of system it was compiled?