debian-phantomjs/deploy
Dmitry Smirnov 0a624cd9a7 phantomjs (2.1.1+dfsg-2) unstable; urgency=medium
* 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
2016-06-16 09:26:25 +02:00
..
.gitignore phantomjs (2.1.1+dfsg-2) unstable; urgency=medium 2016-06-16 09:26:25 +02:00
README.md phantomjs (2.1.1+dfsg-2) unstable; urgency=medium 2016-06-16 09:26:25 +02:00
brandelf.c phantomjs (2.1.1+dfsg-2) unstable; urgency=medium 2016-06-16 09:26:25 +02:00
build-and-package.sh phantomjs (2.1.1+dfsg-2) unstable; urgency=medium 2016-06-16 09:26:25 +02:00
docker-build.sh phantomjs (2.1.1+dfsg-2) unstable; urgency=medium 2016-06-16 09:26:25 +02:00
package.sh phantomjs (2.1.1+dfsg-2) unstable; urgency=medium 2016-06-16 09:26:25 +02:00

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 ../..