0a624cd9a7
* New patch to allow comilation with QT versions other than 5.5 (Closes: #827421). * Run tests under "dbus-launch"; Build-Depends += "dbus-x11". * Respect DEB_BUILD_OPTIONS="nocheck". * README: added note about lack of headless functionality. * Corrected short package description (Closes: #826541). Thanks, Mario Lang. * Standards-Version: 3.9.8. * Corrected Vcs-Git URL. # imported from the archive |
||
---|---|---|
.. | ||
.gitignore | ||
README.md | ||
brandelf.c | ||
build-and-package.sh | ||
docker-build.sh | ||
package.sh |
README.md
Packaging PhantomJS
This directory contains various scripts to assist with making PhantomJS packages.
Packaging for Linux
Linux building/packaging is best done in a container to ensure isolation. We use Docker to automate the process. Please see the Docker documentation for instructions on installing Docker. For OS X or Windows host, please use Docker Toolbox.
Once you have Docker installed, run these commands from the top level of the PhantomJS source repository:
$ git clean -xfd .
$ docker run -v $PWD:/src debian:wheezy /src/deploy/docker-build.sh
For the 32-bit version:
$ git clean -xfd .
$ docker run -v $PWD:/src tubia/debian:wheezy /src/deploy/docker-build.sh
The built binary will be extracted out of the container and copied to the current directory.
Packaging for OS X
Run deploy/build-and-package.sh
. That's it.
However, if you have previously built the sources in release mode, you should clean your tree to make sure all the debugging symbols gets compiled:
$ make clean && cd src/qt && make clean && cd ../..