debian/0000775000000000000000000000000012144564123007172 5ustar debian/bin/0000775000000000000000000000000012144564025007743 5ustar debian/bin/phantomjs0000775000000000000000000000020112144564025011665 0ustar #!/bin/sh LD_LIBRARY_PATH="/usr/lib/phantomjs:$LD_LIBRARY_PATH" export LD_LIBRARY_PATH exec "/usr/lib/phantomjs/phantomjs" "$@" debian/changelog0000664000000000000000000000553112144564025011051 0ustar phantomjs (1.9.0-1) unstable; urgency=low * Imported Upstream version 1.9.0 (Closes: #685404, #702381) + Fix ""Hello world" console.log() example prints nothing" (Closes: #696212) * Fix "FTBFS: /usr/bin/ld: cannot find -ljpeg" (Closes: #679760) * debian/patches/0001-build-with-libjs-coffeesciprt.patch: refresh patche * debian/install: delete src/qt/* * debian/patches/0002-Don-t-use-ld.gold-when-building-webkit.patch: Fix FTBFS on i386. (Closes: #693761) -- TANIGUCHI Takaki Wed, 15 May 2013 10:40:40 +0900 phantomjs (1.6.0-5) unstable; urgency=low * debian/install: install all customized Qt ralted libraries. (Closes: #681505, #681829) -- TANIGUCHI Takaki Wed, 18 Jul 2012 15:42:26 +0900 phantomjs (1.6.0-4) unstable; urgency=low * debian/patches/return_build_error: Removed. * debian/bin/phantomjs: Exec with args. (Closes: #681096) -- TANIGUCHI Takaki Wed, 11 Jul 2012 11:04:04 +0900 phantomjs (1.6.0-3) unstable; urgency=low * debian/patches/return_build_error: To fail after build error immediately. * debian/control: libx11-dev and libxext-dev to Build-Depends. -- TANIGUCHI Takaki Thu, 05 Jul 2012 09:16:30 +0900 phantomjs (1.6.0-2) unstable; urgency=low * Bump Standards-Version to 3.9.3. * debian/rules: add hardening options. * debian/control: Add some devel libraries to B-D. (Closes: #679760) -- TANIGUCHI Takaki Tue, 03 Jul 2012 21:32:47 +0900 phantomjs (1.6.0-1) unstable; urgency=low * New upstream (Closes: #666397) * Drop python-pyphantomjs. It has been removed from upstream. -- TANIGUCHI Takaki Sun, 01 Jul 2012 02:50:03 +0900 phantomjs (1.4.1+dfsg-1) unstable; urgency=low * Imported Upstream version 1.4.1 -- TANIGUCHI Takaki Fri, 10 Feb 2012 10:24:27 +0900 phantomjs (1.4.0+dfsg-1) unstable; urgency=low * New upstream * debian/patches/0001-build-with-libjs-coffeesciprt.patch: Follow upstream changes. -- TANIGUCHI Takaki Tue, 27 Dec 2011 22:56:20 +0900 phantomjs (1.3.0+dfsg-4) unstable; urgency=low * debian/patches/0001-build-with-libjs-coffeesciprt.patch: Fixed coffee-script.js path. (Closes: #651171) -- TANIGUCHI Takaki Tue, 06 Dec 2011 22:37:13 +0900 phantomjs (1.3.0+dfsg-3) unstable; urgency=low * debian/control: Add python-qt4 to Depends (Closes: #648409) -- TANIGUCHI Takaki Tue, 15 Nov 2011 11:31:06 +0900 phantomjs (1.3.0+dfsg-2) unstable; urgency=low * debian/watch: improve pattern to return correct value. -- TANIGUCHI Takaki Tue, 01 Nov 2011 09:16:37 +0900 phantomjs (1.3.0+dfsg-1) unstable; urgency=low * Initial release (Closes: #646556) -- TANIGUCHI Takaki Tue, 25 Oct 2011 15:13:08 +0900 debian/clean0000664000000000000000000000456312144564025010210 0ustar src/qt/lib/fonts src/qt/mkspecs/default src/qt/bin/qmake src/qt/config.tests/unix/3dnow/3dnow.o src/qt/config.tests/unix/3dnow/3dnow src/qt/config.tests/unix/alsa/alsatest.o src/qt/config.tests/unix/alsa/alsa src/qt/config.tests/unix/avx/avx.o src/qt/config.tests/unix/avx/avx src/qt/config.tests/unix/clock-gettime/clock-gettime.o src/qt/config.tests/unix/clock-gettime/clock-gettime src/qt/config.tests/unix/clock-monotonic/clock-monotonic.o src/qt/config.tests/unix/clock-monotonic/clock-monotonic src/qt/config.tests/unix/floatmath/floatmath.o src/qt/config.tests/unix/floatmath/floatmath src/qt/config.tests/unix/getaddrinfo/getaddrinfotest.o src/qt/config.tests/unix/getaddrinfo/getaddrinfo src/qt/config.tests/unix/getifaddrs/getifaddrs.o src/qt/config.tests/unix/getifaddrs/getifaddrs src/qt/config.tests/unix/inotify/inotifytest.o src/qt/config.tests/unix/inotify/inotify src/qt/config.tests/unix/ipc_sysv/ipc.o src/qt/config.tests/unix/ipc_sysv/ipc_sysv src/qt/config.tests/unix/ipv6/ipv6test.o src/qt/config.tests/unix/ipv6/ipv6 src/qt/config.tests/unix/ipv6ifname/ipv6ifname.o src/qt/config.tests/unix/ipv6ifname/ipv6ifname src/qt/config.tests/unix/mmx/mmx.o src/qt/config.tests/unix/mmx/mmx src/qt/config.tests/unix/mremap/mremap.o src/qt/config.tests/unix/mremap/mremap src/qt/config.tests/unix/nis/nis.o src/qt/config.tests/unix/nis/nis src/qt/config.tests/unix/openssl/openssl.o src/qt/config.tests/unix/openssl/openssl src/qt/config.tests/unix/ptrsize/ptrsizetest.o src/qt/config.tests/unix/ptrsize/ptrsizetest src/qt/config.tests/unix/sse/sse.o src/qt/config.tests/unix/sse/sse src/qt/config.tests/unix/sse2/sse2.o src/qt/config.tests/unix/sse2/sse2 src/qt/config.tests/unix/sse3/sse3.o src/qt/config.tests/unix/sse3/sse3 src/qt/config.tests/unix/sse4_1/sse4_1.o src/qt/config.tests/unix/sse4_1/sse4_1 src/qt/config.tests/unix/sse4_2/sse4_2.o src/qt/config.tests/unix/sse4_2/sse4_2 src/qt/config.tests/unix/ssse3/ssse3.o src/qt/config.tests/unix/ssse3/ssse3 src/qt/config.tests/unix/stdint/main.o src/qt/config.tests/unix/stdint/stdint src/qt/config.tests/unix/stl/stltest.o src/qt/config.tests/unix/stl/stl src/qt/config.tests/x11/fontconfig/fontconfig.o src/qt/config.tests/x11/fontconfig/fontconfig src/qt/lib/libjscore.a src/qt/lib/libwebcore.a src/qt/src/3rdparty/webkit/Source/JavaScriptCore/release/libjscore.a src/qt/src/3rdparty/webkit/Source/WebCore/release/libwebcore.a src/qt/.qmake.vars debian/compat0000664000000000000000000000000212144564025010371 0ustar 9 debian/control0000664000000000000000000000173612144564025010605 0ustar Source: phantomjs Section: web Priority: extra Maintainer: TANIGUCHI Takaki Build-Depends: debhelper (>= 7.0.50~), libqt4-dev, libjs-coffeescript , libfreetype6-dev , libjpeg-dev , libpng-dev , libsqlite3-dev , libssl-dev , libz-dev , libfontconfig1-dev , libx11-dev , libxext-dev Standards-Version: 3.9.3 Homepage: http://www.phantomjs.org/ Vcs-Git: git://git.debian.org/collab-maint/phantomjs.git Vcs-Browser: http://git.debian.org/?p=collab-maint/phantomjs.git;a=summary Package: phantomjs Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: minimalistic headless WebKit-based with JavaScript API PhantomJS is a headless WebKit with JavaScript API. It has fast and native support for various web standards: DOM handling, CSS selector, JSON, Canvas, and SVG. . PhantomJS is an optimal solution for headless testing of web-based applications, site scraping, pages capture, SVG renderer, PDF converter and many other use cases. debian/copyright0000664000000000000000000001001712144564025011125 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: phantomjs Source: http://code.google.com/p/phantomjs/ Files: * Copyright: 2011 Ariya Hidayat 2011 Ivan De Marino 2011 James Roe 2011 execjosh, http://execjosh.blogspot.com License: BSD-3-Clause Files: example/modernizr.js Copyright: 2009-2011 Faruk Ates, Paul Irish, Alex Sexton License: BSD-3-Clause or MIT Files: python/* Copyright: 2011 Ariya Hidayat 2011 Ivan De Marino 2011 James Roe 2011 execjosh, http://execjosh.blogspot.com License: GPL-3.0+ Files: debian/* Copyright: 2011 TANIGUCHI Takaki License: BSD-3-Clause License: BSD-3-Clause Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of the nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. License: GPL-3.0+ This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. . This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . . On Debian systems, the complete text of the GNU General Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". License: MIT Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. debian/docs0000664000000000000000000000001212144564025010037 0ustar README.md debian/examples0000664000000000000000000000001312144564025010726 0ustar examples/* debian/install0000664000000000000000000000014412144564025010563 0ustar debian/bin/phantomjs usr/bin bin/phantomjs usr/lib/phantomjs # src/qt/lib/lib*so* usr/lib/phantomjs debian/patches/0000775000000000000000000000000012144564025010622 5ustar debian/patches/0001-build-with-libjs-coffeesciprt.patch0000664000000000000000000000203612144564025020045 0ustar From: TANIGUCHI Takaki Date: Sat, 29 Oct 2011 18:26:43 +0900 Subject: build with libjs-coffeesciprt --- python/pyphantomjs/csconverter.py | 2 +- python/pyphantomjs/resources.qrc | 1 - src/csconverter.cpp | 2 +- src/phantomjs.qrc | 1 - 4 files changed, 2 insertions(+), 4 deletions(-) Index: phantomjs/src/csconverter.cpp =================================================================== --- phantomjs.orig/src/csconverter.cpp 2013-05-09 09:58:59.548611914 +0900 +++ phantomjs/src/csconverter.cpp 2013-05-09 09:59:36.460792369 +0900 @@ -49,7 +49,7 @@ : QObject(QCoreApplication::instance()) { m_webPage.mainFrame()->evaluateJavaScript( - Utils::readResourceFileUtf8(":/coffee-script/extras/coffee-script.js"), + Utils::readResourceFileUtf8("/usr/share/javascript/coffee-script/coffee-script.js"), QString("phantomjs://coffee-script/extras/coffee-script.js") ); m_webPage.mainFrame()->addToJavaScriptWindowObject("converter", this); debian/patches/0002-Don-t-use-ld.gold-when-building-webkit.patch0000664000000000000000000000173312144564025021337 0ustar >From 03dd5a6ca3fca08fd35e37dfe93e7aca27728b00 Mon Sep 17 00:00:00 2001 From: Eric Cooper Date: Mon, 19 Nov 2012 15:16:58 -0500 Subject: [PATCH] Don't use ld.gold when building webkit Signed-off-by: Eric Cooper --- src/qt/src/3rdparty/webkit/Source/common.pri | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/qt/src/3rdparty/webkit/Source/common.pri b/src/qt/src/3rdparty/webkit/Source/common.pri index 0f62e14..093647a 100644 --- a/src/qt/src/3rdparty/webkit/Source/common.pri +++ b/src/qt/src/3rdparty/webkit/Source/common.pri @@ -3,13 +3,6 @@ contains(JAVASCRIPTCORE_JIT,yes): DEFINES+=ENABLE_JIT=1 contains(JAVASCRIPTCORE_JIT,no): DEFINES+=ENABLE_JIT=0 -linux-g++ { -isEmpty($$(SBOX_DPKG_INST_ARCH)):exists(/usr/bin/ld.gold) { - message(Using gold linker) - QMAKE_LFLAGS+=-fuse-ld=gold -} -} - # We use this flag on production branches # See https://bugs.webkit.org/show_bug.cgi?id=60824 CONFIG += production -- 1.7.10.4 debian/patches/series0000664000000000000000000000013312144564025012034 0ustar 0002-Don-t-use-ld.gold-when-building-webkit.patch 0001-build-with-libjs-coffeesciprt.patch debian/rules0000775000000000000000000000145312144564025010256 0ustar #!/usr/bin/make -f # include /usr/share/hardening-includes/hardening.make # CFLAGS=$(shell dpkg-buildflags --get CFLAGS) # CXXFLAGS=$(shell dpkg-buildflags --get CXXFLAGS) # LDFLAGS=$(shell dpkg-buildflags --get LDFLAGS) # CFLAGS+=$(HARDENING_CFLAGS) # CXXFLAGS+=$(HARDENING_CXXFLAGS) # LDFLAGS+=$(HARDENING_LDFLAGS) QT_CFG=-no-rpath -system-zlib -system-libjpeg -system-libpng \ -system-sqlite -plugin-sql-sqlite %: dh $@ override_dh_auto_configure: true override_dh_auto_build: (cd src/qt && ./preconfig.sh --qt-config "$(QT_CFG)" && cd ../..) src/qt/bin/qmake $(MAKE) override_dh_auto_clean: dh_auto_clean for i in src/qt/qmake src/qt/src/3rdparty/webkit/Source; do \ [ ! -f $${i}/Makefile ] || $(MAKE) -C $${i} distclean ;\ done override_dh_shlibdeps: dh_shlibdeps -l/usr/lib/phantomjs debian/source/0000775000000000000000000000000012144564025010473 5ustar debian/source/format0000664000000000000000000000001412144564025011701 0ustar 3.0 (quilt) debian/watch0000664000000000000000000000030212144564025010217 0ustar version=3 opts=dversionmangle=s/\+dfsg$//;s/\+repack// \ http://code.google.com/p/phantomjs/downloads/list?can=1 .*/phantomjs-(\d[\d\.]*)-source\.(?:zip|tgz|tbz2|txz|tar\.gz|tar\.bz2|tar\.xz)