public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: www-client/phantomjs/
@ 2015-09-21  9:56 Dion Moult
  0 siblings, 0 replies; 7+ messages in thread
From: Dion Moult @ 2015-09-21  9:56 UTC (permalink / raw
  To: gentoo-commits

commit:     4c5140e79c08447de8c8ebe72054a2b7905e5682
Author:     Dion Moult <moult <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 21 07:51:59 2015 +0000
Commit:     Dion Moult <moult <AT> gentoo <DOT> org>
CommitDate: Mon Sep 21 09:43:09 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c5140e7

www-client/phantomjs: fix requirement on EC so that it compiles (bug #550920)

Package-Manager: portage-2.2.15

 www-client/phantomjs/phantomjs-2.0.0.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/www-client/phantomjs/phantomjs-2.0.0.ebuild b/www-client/phantomjs/phantomjs-2.0.0.ebuild
index 977809b..6b6a81d 100644
--- a/www-client/phantomjs/phantomjs-2.0.0.ebuild
+++ b/www-client/phantomjs/phantomjs-2.0.0.ebuild
@@ -27,6 +27,7 @@ RDEPEND="dev-libs/icu:=
 	virtual/jpeg:0"
 DEPEND="${RDEPEND}
 	${RUBY_DEPS}
+	net-misc/openssh[-bindist]
 	app-arch/unzip
 	virtual/pkgconfig"
 


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: www-client/phantomjs/
@ 2015-11-21  7:11 Anthony G. Basile
  0 siblings, 0 replies; 7+ messages in thread
From: Anthony G. Basile @ 2015-11-21  7:11 UTC (permalink / raw
  To: gentoo-commits

commit:     d122dc43ff22a5e296c02cf811107c42a95ae722
Author:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 21 07:05:09 2015 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Sat Nov 21 07:17:35 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d122dc43

www-client/phantomjs: add libressl support

Package-Manager: portage-2.2.20.1

 .../phantomjs/{phantomjs-2.0.0.ebuild => phantomjs-2.0.0-r1.ebuild}  | 5 +++--
 www-client/phantomjs/phantomjs-2.0.0.ebuild                          | 2 +-
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/www-client/phantomjs/phantomjs-2.0.0.ebuild b/www-client/phantomjs/phantomjs-2.0.0-r1.ebuild
similarity index 95%
copy from www-client/phantomjs/phantomjs-2.0.0.ebuild
copy to www-client/phantomjs/phantomjs-2.0.0-r1.ebuild
index e52d78f..9fc5bd4 100644
--- a/www-client/phantomjs/phantomjs-2.0.0.ebuild
+++ b/www-client/phantomjs/phantomjs-2.0.0-r1.ebuild
@@ -15,10 +15,11 @@ SRC_URI="https://bitbucket.org/ariya/phantomjs/downloads/${P}-source.zip"
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="examples"
+IUSE="examples libressl"
 
 RDEPEND="dev-libs/icu:=
-	dev-libs/openssl
+	!libressl? ( dev-libs/openssl:0 )
+	libressl? ( dev-libs/libressl )
 	media-libs/fontconfig
 	media-libs/freetype
 	media-libs/gstreamer:1.0

diff --git a/www-client/phantomjs/phantomjs-2.0.0.ebuild b/www-client/phantomjs/phantomjs-2.0.0.ebuild
index e52d78f..1ede6d4 100644
--- a/www-client/phantomjs/phantomjs-2.0.0.ebuild
+++ b/www-client/phantomjs/phantomjs-2.0.0.ebuild
@@ -18,7 +18,7 @@ KEYWORDS="~amd64 ~x86"
 IUSE="examples"
 
 RDEPEND="dev-libs/icu:=
-	dev-libs/openssl
+	dev-libs/openssl:0
 	media-libs/fontconfig
 	media-libs/freetype
 	media-libs/gstreamer:1.0


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: www-client/phantomjs/
@ 2016-03-20 22:53 Manuel Rüger
  0 siblings, 0 replies; 7+ messages in thread
From: Manuel Rüger @ 2016-03-20 22:53 UTC (permalink / raw
  To: gentoo-commits

commit:     8de18317f8e8a6f17c99762a360638afd51a6d23
Author:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 20 22:52:30 2016 +0000
Commit:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Sun Mar 20 22:52:30 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8de18317

www-client/phantomjs: Remove ruby19

Package-Manager: portage-2.2.28

 www-client/phantomjs/phantomjs-2.0.0-r1.ebuild | 4 ++--
 www-client/phantomjs/phantomjs-2.0.0.ebuild    | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/www-client/phantomjs/phantomjs-2.0.0-r1.ebuild b/www-client/phantomjs/phantomjs-2.0.0-r1.ebuild
index 9fc5bd4..8dce96a 100644
--- a/www-client/phantomjs/phantomjs-2.0.0-r1.ebuild
+++ b/www-client/phantomjs/phantomjs-2.0.0-r1.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
 EAPI=5
 
-USE_RUBY="ruby19 ruby20 ruby21 ruby22"
+USE_RUBY="ruby20 ruby21 ruby22"
 
 inherit eutils toolchain-funcs pax-utils multiprocessing ruby-single
 

diff --git a/www-client/phantomjs/phantomjs-2.0.0.ebuild b/www-client/phantomjs/phantomjs-2.0.0.ebuild
index 1ede6d4..138715d 100644
--- a/www-client/phantomjs/phantomjs-2.0.0.ebuild
+++ b/www-client/phantomjs/phantomjs-2.0.0.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
 EAPI=5
 
-USE_RUBY="ruby19 ruby20 ruby21 ruby22"
+USE_RUBY="ruby20 ruby21 ruby22"
 
 inherit eutils toolchain-funcs pax-utils multiprocessing ruby-single
 


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: www-client/phantomjs/
@ 2017-06-04 11:35 Pacho Ramos
  0 siblings, 0 replies; 7+ messages in thread
From: Pacho Ramos @ 2017-06-04 11:35 UTC (permalink / raw
  To: gentoo-commits

commit:     d0f563666a03b112bc43aa2a7c9a5598318a44ff
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sun Jun  4 11:12:49 2017 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sun Jun  4 11:35:06 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0f56366

www-client/phantomjs: Drop old

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 www-client/phantomjs/phantomjs-2.0.0.ebuild | 82 -----------------------------
 1 file changed, 82 deletions(-)

diff --git a/www-client/phantomjs/phantomjs-2.0.0.ebuild b/www-client/phantomjs/phantomjs-2.0.0.ebuild
deleted file mode 100644
index 1826cedde17..00000000000
--- a/www-client/phantomjs/phantomjs-2.0.0.ebuild
+++ /dev/null
@@ -1,82 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-USE_RUBY="ruby20 ruby21 ruby22"
-
-inherit eutils toolchain-funcs pax-utils multiprocessing ruby-single
-
-DESCRIPTION="A headless WebKit scriptable with a JavaScript API"
-HOMEPAGE="http://phantomjs.org/"
-SRC_URI="https://bitbucket.org/ariya/phantomjs/downloads/${P}-source.zip"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="examples"
-
-RDEPEND="dev-libs/icu:=
-	dev-libs/openssl:0
-	media-libs/fontconfig
-	media-libs/freetype
-	media-libs/gstreamer:1.0
-	media-libs/gst-plugins-base:1.0
-	media-libs/libpng:0=
-	virtual/jpeg:0"
-DEPEND="${RDEPEND}
-	${RUBY_DEPS}
-	net-misc/openssh[-bindist]
-	app-arch/unzip
-	virtual/pkgconfig"
-
-src_prepare() {
-	epatch "${FILESDIR}/phantomjs-python3-udis86-itab.patch"
-	epatch "${FILESDIR}/phantomjs-gcc5-compile-fix.patch"
-
-	# Respect CC, CXX, {C,CXX,LD}FLAGS in .qmake.cache
-	sed -i \
-		-e "/^SYSTEM_VARIABLES=/i \
-		CC='$(tc-getCC)'\n\
-		CXX='$(tc-getCXX)'\n\
-		CFLAGS='${CFLAGS}'\n\
-		CXXFLAGS='${CXXFLAGS}'\n\
-		LDFLAGS='${LDFLAGS}'\n\
-		QMakeVar set QMAKE_CFLAGS_RELEASE\n\
-		QMakeVar set QMAKE_CFLAGS_DEBUG\n\
-		QMakeVar set QMAKE_CXXFLAGS_RELEASE\n\
-		QMakeVar set QMAKE_CXXFLAGS_DEBUG\n\
-		QMakeVar set QMAKE_LFLAGS_RELEASE\n\
-		QMakeVar set QMAKE_LFLAGS_DEBUG\n"\
-		src/qt/qtbase/configure \
-		|| die
-
-	# Respect CC, CXX, LINK and *FLAGS in config.tests
-	find src/qt/qtbase/config.tests/unix -name '*.test' -type f -exec \
-		sed -i -e "/bin\/qmake/ s: \"\$SRCDIR/: \
-			'QMAKE_CC=$(tc-getCC)'    'QMAKE_CXX=$(tc-getCXX)'      'QMAKE_LINK=$(tc-getCXX)' \
-			'QMAKE_CFLAGS+=${CFLAGS}' 'QMAKE_CXXFLAGS+=${CXXFLAGS}' 'QMAKE_LFLAGS+=${LDFLAGS}'&:" \
-		{} + || die
-}
-
-src_compile() {
-	./build.sh \
-		--confirm \
-		--jobs $(makeopts_jobs) \
-		--qt-config "$($(tc-getPKG_CONFIG) --cflags-only-I freetype2)" \
-		|| die
-}
-
-src_test() {
-	./bin/phantomjs test/run-tests.js || die
-}
-
-src_install() {
-	pax-mark m bin/phantomjs || die
-	dobin bin/phantomjs
-	dodoc ChangeLog README.md
-	if use examples ; then
-		docinto examples
-		dodoc examples/*
-	fi
-}


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: www-client/phantomjs/
@ 2017-09-19 15:20 Tony Vroon
  0 siblings, 0 replies; 7+ messages in thread
From: Tony Vroon @ 2017-09-19 15:20 UTC (permalink / raw
  To: gentoo-commits

commit:     ef758290f0f79018ae521ef97d8ddc28885e941d
Author:     Tony Vroon <chainsaw <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 19 15:20:00 2017 +0000
Commit:     Tony Vroon <chainsaw <AT> gentoo <DOT> org>
CommitDate: Tue Sep 19 15:20:11 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef758290

www-client/phantomjs: Version bump to 2.1.1

Package-Manager: Portage-2.3.8, Repoman-2.3.1

 www-client/phantomjs/Manifest               |  4 ++
 www-client/phantomjs/metadata.xml           |  5 +-
 www-client/phantomjs/phantomjs-2.1.1.ebuild | 99 +++++++++++++++++++++++++++++
 3 files changed, 107 insertions(+), 1 deletion(-)

diff --git a/www-client/phantomjs/Manifest b/www-client/phantomjs/Manifest
index 9463346672a..fe4aa4b20c2 100644
--- a/www-client/phantomjs/Manifest
+++ b/www-client/phantomjs/Manifest
@@ -1,2 +1,6 @@
+DIST gentoo-phantomjs-patchset-0.01.tar.bz2 7537 SHA256 9715d61865b092721b7498be01b75b9d6541673f03d9aa7a29406262a5e20804 SHA512 3e85fe068da41fa620ad89f9b0450fa7aa405778c2011d4b0f046edd9c921702125adf01075cd90d70cd21d9704081a67be18c1f9eece4070a26407a6a56a5df WHIRLPOOL 7b0bceb762bfdab4f9d5f1bd6fa96c23c7b71ea153ed656333e12ea34069f9f86840a755cf19568d2243890f11d4cef486f2366d40792afa7e9ed25fdd0317e2
 DIST phantomjs-1.9.8-source.zip 40965044 SHA256 37e53b2907bf37d2b6a43f08d38bb4a15596bba337822179e647efd60c2261bf SHA512 3692268a2706b097484ade500a2b24ce33d243b8ebbdf5ae8dea4b5e37adea5a84c11528e2862b9da71deb53cd14a985f1878d190a91c440632dd22cbfaf78fb WHIRLPOOL 71b4b24858b4c7916865bc89417399f08bcfdde30bfcfccacccb4dce86e014a46b9e313d93a34ca2d82001ce926281c7ff1c97cef8a91856acb57e96f3556af4
 DIST phantomjs-2.0.0-source.zip 110092872 SHA256 cc81249eaa059cc138414390cade9cb6509b9d6fa0df16f4f43de70b174b3bfe SHA512 c8262353ee4daa842ef891b41e006baccf1815a99cf3262aeba457cfc37bbef6cb2ca234e69bd33a5446014fe802b3e35591e2eb0d49d8483c1f75bacf9d6f42 WHIRLPOOL b26c70d92d3c06a6688f27ae0376c0af226f4a6c6e345d87041fda9a7095fdb9665d11fc250cd4a721da47825a7080e66558d3b033332b08f6300a8ab0525d22
+DIST phantomjs-2.1.1.tar.gz 1880406 SHA256 bd1e63e9cd48d5a9c8ff1affc254eeae14704304437710729f133cb80cf98cf1 SHA512 07b769133957c5194c9afdaa347bd9a019ebe47653f98adf17a35d3dd12714d2f8e3773ced91d7d99f31cb18d7f73167022d5b0a3906d9aac0732ef96341f5ec WHIRLPOOL e5ff3d9f5397e8e825ffb370f8cba3143b759ce122d2ff92efa401c4bde8f3fa60ed5bccaaf5566c5ccaab31a972367c28b5b24e6d6f403ba3f205e72fdb7e24
+DIST qtbase-opensource-src-5.5.1.tar.xz 46389212 SHA256 dfa4e8a4d7e4c6b69285e7e8833eeecd819987e1bdbe5baa6b6facd4420de916 SHA512 4d31de136870025dfb7544f255798884af1ad4f3060b0c00a0467c98af1f7de368eb298d4c52ba6d1ad27e36060b30c0314ce7ba0744b15642420ec89587a575 WHIRLPOOL 8975a54a720105d1b12b4f50072b98157f6a91020ecd7bad12ab4a92b7ac4663713a82e87f033cc6ad49602a5f9468c6d3ee23120be6c15d63e55ea0b5a343c4
+DIST qtwebkit-opensource-src-5.7.1.tar.xz 35298736 SHA256 a46cf7c89339645f94a5777e8ae5baccf75c5fc87ab52c9dafc25da3327b5f03 SHA512 538928ada8fd25c01f0b78efac79e004904e6e4ec110108c492877e334acd5d9253653d3b207e535d1e08d092af2833a7566cebb2bf8b90069944634bf24f60a WHIRLPOOL d2dce72777a6babb1c35025ff6d882b7f48895dca4425b9e29b099e45282e8538548a653f0757998d6a619d706544fad0363199d8979ccca94762ba39b6516bd

diff --git a/www-client/phantomjs/metadata.xml b/www-client/phantomjs/metadata.xml
index 5a295c9e9e7..748968f236d 100644
--- a/www-client/phantomjs/metadata.xml
+++ b/www-client/phantomjs/metadata.xml
@@ -1,7 +1,10 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-	<!-- maintainer-needed -->
+	<maintainer type="person">
+		<email>chainsaw@gentoo.org</email>
+		<name>Tony Vroon</name>
+	</maintainer>
 	<upstream>
 		<remote-id type="google-code">phantomjs</remote-id>
 		<remote-id type="bitbucket">ariya/phantomjs</remote-id>

diff --git a/www-client/phantomjs/phantomjs-2.1.1.ebuild b/www-client/phantomjs/phantomjs-2.1.1.ebuild
new file mode 100644
index 00000000000..cf2bef6794e
--- /dev/null
+++ b/www-client/phantomjs/phantomjs-2.1.1.ebuild
@@ -0,0 +1,99 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_{4,5,6}} pypy{,3} )
+QTB_PV="5.5.1"
+QTB_P="qtbase-opensource-src-${QTB_PV}"
+QTW_PV="5.7.1"
+QTW_P="qtwebkit-opensource-src-${QTW_PV}"
+
+DESCRIPTION="A headless WebKit scriptable with a JavaScript API"
+HOMEPAGE="http://phantomjs.org/"
+SRC_URI="https://github.com/ariya/phantomjs/archive/${PV}.tar.gz -> ${P}.tar.gz
+	 https://download.qt.io/archive/qt/${QTB_PV%.*}/${QTB_PV}/submodules/${QTB_P}.tar.xz
+	 https://download.qt.io/community_releases/${QTW_PV%.*}/${QTW_PV}/${QTW_P}.tar.xz
+	 mirror://gentoo/gentoo-${PN}-patchset-0.01.tar.bz2"
+
+inherit eutils toolchain-funcs pax-utils multiprocessing
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="examples fontconfig libressl truetype"
+RESTRICT="mirror"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+EPATCH_SUFFIX="patch"
+PATCHES=( "${WORKDIR}/${PN}-patchset" )
+
+RDEPEND="dev-libs/icu:=
+	fontconfig? ( media-libs/fontconfig )
+	!libressl? ( dev-libs/openssl:0 )
+	libressl? ( dev-libs/libressl )
+	truetype? ( media-libs/freetype )
+	dev-db/sqlite:3"
+DEPEND="${RDEPEND}
+	net-misc/openssh[-bindist]
+	app-arch/unzip
+	dev-lang/ruby
+	virtual/pkgconfig"
+
+src_prepare() {
+	ebegin "Moving third-party libraries into position for build"
+	mv -T "${WORKDIR}/${QTB_P}" "${S}/src/qt/qtbase/" || die "QT base ${QTB_PV} failed"
+	mv -T "${WORKDIR}/${QTW_P}" "${S}/src/qt/qtwebkit/" || die "QT webkit ${QTW_PV} failed"
+	eend "$?"
+
+	ebegin "Instilling C/CXX/LDFLAGS respect in main source"
+	# Respect CC, CXX, {C,CXX,LD}FLAGS in .qmake.cache
+	sed -i \
+		-e "/^SYSTEM_VARIABLES=/i \
+		CC='$(tc-getCC)'\n\
+		CXX='$(tc-getCXX)'\n\
+		CFLAGS='${CFLAGS}'\n\
+		CXXFLAGS='${CXXFLAGS}'\n\
+		LDFLAGS='${LDFLAGS}'\n\
+		QMakeVar set QMAKE_CFLAGS_RELEASE\n\
+		QMakeVar set QMAKE_CFLAGS_DEBUG\n\
+		QMakeVar set QMAKE_CXXFLAGS_RELEASE\n\
+		QMakeVar set QMAKE_CXXFLAGS_DEBUG\n\
+		QMakeVar set QMAKE_LFLAGS_RELEASE\n\
+		QMakeVar set QMAKE_LFLAGS_DEBUG\n"\
+		src/qt/qtbase/configure \
+		|| die
+	eend $?
+
+	ebegin "Instilling C/CXX/LDFLAGS respect in test suite"
+	# Respect CC, CXX, LINK and *FLAGS in config.tests
+	find src/qt/qtbase/config.tests/unix -name '*.test' -type f -exec \
+		sed -i -e "/bin\/qmake/ s: \"\$SRCDIR/: \
+			'QMAKE_CC=$(tc-getCC)'    'QMAKE_CXX=$(tc-getCXX)'      'QMAKE_LINK=$(tc-getCXX)' \
+			'QMAKE_CFLAGS+=${CFLAGS}' 'QMAKE_CXXFLAGS+=${CXXFLAGS}' 'QMAKE_LFLAGS+=${LDFLAGS}'&:" \
+		{} + || die
+	eend $?
+
+	default
+}
+
+src_compile() {
+	./build.py \
+		--confirm \
+		--jobs $(makeopts_jobs) \
+		|| die
+}
+
+src_test() {
+	./bin/phantomjs test/run-tests.js || die
+}
+
+src_install() {
+	pax-mark m bin/phantomjs || die
+	dobin bin/phantomjs
+	dodoc ChangeLog README.md
+	if use examples ; then
+		docinto examples
+		dodoc examples/*
+	fi
+}


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: www-client/phantomjs/
@ 2018-02-04 13:09 Ulrich Müller
  0 siblings, 0 replies; 7+ messages in thread
From: Ulrich Müller @ 2018-02-04 13:09 UTC (permalink / raw
  To: gentoo-commits

commit:     6deeb4942197aa8e880ccc3e9142d44480ebfb64
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sun Feb  4 13:07:26 2018 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sun Feb  4 13:07:26 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6deeb494

www-client/phantomjs: Update Manifest hashes.

Closes: https://bugs.gentoo.org/642904

 www-client/phantomjs/Manifest | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www-client/phantomjs/Manifest b/www-client/phantomjs/Manifest
index a5247615880..3409760e9ed 100644
--- a/www-client/phantomjs/Manifest
+++ b/www-client/phantomjs/Manifest
@@ -1,4 +1,4 @@
-DIST gentoo-phantomjs-patchset-0.01.tar.bz2 7537 SHA256 9715d61865b092721b7498be01b75b9d6541673f03d9aa7a29406262a5e20804 SHA512 3e85fe068da41fa620ad89f9b0450fa7aa405778c2011d4b0f046edd9c921702125adf01075cd90d70cd21d9704081a67be18c1f9eece4070a26407a6a56a5df WHIRLPOOL 7b0bceb762bfdab4f9d5f1bd6fa96c23c7b71ea153ed656333e12ea34069f9f86840a755cf19568d2243890f11d4cef486f2366d40792afa7e9ed25fdd0317e2
+DIST gentoo-phantomjs-patchset-0.01.tar.bz2 7537 BLAKE2B 4a0fe19ae338ebb1846e2f04c3a6ea2f790d3835044d089304f7eba1d1f3bf0af41148d87b6f4a32103a5613cb1b470a8572189653bb3c38a64fb0c12e475feb SHA512 3e85fe068da41fa620ad89f9b0450fa7aa405778c2011d4b0f046edd9c921702125adf01075cd90d70cd21d9704081a67be18c1f9eece4070a26407a6a56a5df
 DIST phantomjs-1.9.8-source.zip 40965044 BLAKE2B f0ba4e7684539daf19b3f4c012ca680cbce8858ec1639714d14726e8234e4392d7239cd9f797471bdf3fdcf46ee81b006548891f645f5d71783a28a749c32616 SHA512 3692268a2706b097484ade500a2b24ce33d243b8ebbdf5ae8dea4b5e37adea5a84c11528e2862b9da71deb53cd14a985f1878d190a91c440632dd22cbfaf78fb
 DIST phantomjs-2.0.0-source.zip 110092872 BLAKE2B cbd27e1803801cfd8316effcf532f68fe03ce3ebee2b972c8ad2c909522e362b28d0054e73272d0eb0a1cb68a68a1942f2d04072b3e0524a8fa0fe84092ff6a9 SHA512 c8262353ee4daa842ef891b41e006baccf1815a99cf3262aeba457cfc37bbef6cb2ca234e69bd33a5446014fe802b3e35591e2eb0d49d8483c1f75bacf9d6f42
 DIST phantomjs-2.1.1.tar.gz 1880406 BLAKE2B e54e8a1d42cdbf6fb98c90283a0ebcb4145350bc34d76b8a0d01163fcca15b7e6bbf7043e2d17bbf21c5d01e7fd0e76a4386f9c01dfc8727998f8d0f17da9291 SHA512 07b769133957c5194c9afdaa347bd9a019ebe47653f98adf17a35d3dd12714d2f8e3773ced91d7d99f31cb18d7f73167022d5b0a3906d9aac0732ef96341f5ec


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: www-client/phantomjs/
@ 2018-02-05  9:42 Tony Vroon
  0 siblings, 0 replies; 7+ messages in thread
From: Tony Vroon @ 2018-02-05  9:42 UTC (permalink / raw
  To: gentoo-commits

commit:     e0c46dce61069b7f7dfdce18e3fabe6fb9384d2e
Author:     Tony Vroon <chainsaw <AT> gentoo <DOT> org>
AuthorDate: Mon Feb  5 09:41:47 2018 +0000
Commit:     Tony Vroon <chainsaw <AT> gentoo <DOT> org>
CommitDate: Mon Feb  5 09:42:02 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0c46dce

www-client/phantomjs: ICU 59/60 compatibility

Scavenged patches originally by Ervin Peters in bug #621532
address a build issue with ICU 59 and newer.

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 www-client/phantomjs/Manifest                  |  1 +
 www-client/phantomjs/phantomjs-2.1.1-r1.ebuild | 99 ++++++++++++++++++++++++++
 2 files changed, 100 insertions(+)

diff --git a/www-client/phantomjs/Manifest b/www-client/phantomjs/Manifest
index 3409760e9ed..b8f6ea3a384 100644
--- a/www-client/phantomjs/Manifest
+++ b/www-client/phantomjs/Manifest
@@ -1,4 +1,5 @@
 DIST gentoo-phantomjs-patchset-0.01.tar.bz2 7537 BLAKE2B 4a0fe19ae338ebb1846e2f04c3a6ea2f790d3835044d089304f7eba1d1f3bf0af41148d87b6f4a32103a5613cb1b470a8572189653bb3c38a64fb0c12e475feb SHA512 3e85fe068da41fa620ad89f9b0450fa7aa405778c2011d4b0f046edd9c921702125adf01075cd90d70cd21d9704081a67be18c1f9eece4070a26407a6a56a5df
+DIST gentoo-phantomjs-patchset-0.02.tar.bz2 8017 BLAKE2B 0bde29dab19ced08afeab0484e0d88f9fee35306ddba0aeda3cef158ad0f818a7f93f6d1462766399231513d1279dc1071bde4e82d82c67e156eaeb0c52d6f87 SHA512 88e8acb47842b108c4f01bc778c25d95011462b9d6732e6cca20372824a93321731d1976b19736a87d6e51737dffa0c76a15983d4b0739e97c7dc55ea065e791
 DIST phantomjs-1.9.8-source.zip 40965044 BLAKE2B f0ba4e7684539daf19b3f4c012ca680cbce8858ec1639714d14726e8234e4392d7239cd9f797471bdf3fdcf46ee81b006548891f645f5d71783a28a749c32616 SHA512 3692268a2706b097484ade500a2b24ce33d243b8ebbdf5ae8dea4b5e37adea5a84c11528e2862b9da71deb53cd14a985f1878d190a91c440632dd22cbfaf78fb
 DIST phantomjs-2.0.0-source.zip 110092872 BLAKE2B cbd27e1803801cfd8316effcf532f68fe03ce3ebee2b972c8ad2c909522e362b28d0054e73272d0eb0a1cb68a68a1942f2d04072b3e0524a8fa0fe84092ff6a9 SHA512 c8262353ee4daa842ef891b41e006baccf1815a99cf3262aeba457cfc37bbef6cb2ca234e69bd33a5446014fe802b3e35591e2eb0d49d8483c1f75bacf9d6f42
 DIST phantomjs-2.1.1.tar.gz 1880406 BLAKE2B e54e8a1d42cdbf6fb98c90283a0ebcb4145350bc34d76b8a0d01163fcca15b7e6bbf7043e2d17bbf21c5d01e7fd0e76a4386f9c01dfc8727998f8d0f17da9291 SHA512 07b769133957c5194c9afdaa347bd9a019ebe47653f98adf17a35d3dd12714d2f8e3773ced91d7d99f31cb18d7f73167022d5b0a3906d9aac0732ef96341f5ec

diff --git a/www-client/phantomjs/phantomjs-2.1.1-r1.ebuild b/www-client/phantomjs/phantomjs-2.1.1-r1.ebuild
new file mode 100644
index 00000000000..c9a611bdeb3
--- /dev/null
+++ b/www-client/phantomjs/phantomjs-2.1.1-r1.ebuild
@@ -0,0 +1,99 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_{4,5,6}} pypy{,3} )
+QTB_PV="5.5.1"
+QTB_P="qtbase-opensource-src-${QTB_PV}"
+QTW_PV="5.7.1"
+QTW_P="qtwebkit-opensource-src-${QTW_PV}"
+
+DESCRIPTION="A headless WebKit scriptable with a JavaScript API"
+HOMEPAGE="http://phantomjs.org/"
+SRC_URI="https://github.com/ariya/phantomjs/archive/${PV}.tar.gz -> ${P}.tar.gz
+	 https://download.qt.io/archive/qt/${QTB_PV%.*}/${QTB_PV}/submodules/${QTB_P}.tar.xz
+	 https://download.qt.io/community_releases/${QTW_PV%.*}/${QTW_PV}/${QTW_P}.tar.xz
+	 mirror://gentoo/gentoo-${PN}-patchset-0.02.tar.bz2"
+
+inherit eutils toolchain-funcs pax-utils multiprocessing
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="examples fontconfig libressl truetype"
+RESTRICT="mirror"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+EPATCH_SUFFIX="patch"
+PATCHES=( "${WORKDIR}/${PN}-patchset" )
+
+RDEPEND="dev-libs/icu:=
+	fontconfig? ( media-libs/fontconfig )
+	!libressl? ( dev-libs/openssl:0 )
+	libressl? ( dev-libs/libressl )
+	truetype? ( media-libs/freetype )
+	dev-db/sqlite:3"
+DEPEND="${RDEPEND}
+	net-misc/openssh[-bindist]
+	app-arch/unzip
+	dev-lang/ruby
+	virtual/pkgconfig"
+
+src_prepare() {
+	ebegin "Moving third-party libraries into position for build"
+	mv -T "${WORKDIR}/${QTB_P}" "${S}/src/qt/qtbase/" || die "QT base ${QTB_PV} failed"
+	mv -T "${WORKDIR}/${QTW_P}" "${S}/src/qt/qtwebkit/" || die "QT webkit ${QTW_PV} failed"
+	eend "$?"
+
+	ebegin "Instilling C/CXX/LDFLAGS respect in main source"
+	# Respect CC, CXX, {C,CXX,LD}FLAGS in .qmake.cache
+	sed -i \
+		-e "/^SYSTEM_VARIABLES=/i \
+		CC='$(tc-getCC)'\n\
+		CXX='$(tc-getCXX)'\n\
+		CFLAGS='${CFLAGS}'\n\
+		CXXFLAGS='${CXXFLAGS}'\n\
+		LDFLAGS='${LDFLAGS}'\n\
+		QMakeVar set QMAKE_CFLAGS_RELEASE\n\
+		QMakeVar set QMAKE_CFLAGS_DEBUG\n\
+		QMakeVar set QMAKE_CXXFLAGS_RELEASE\n\
+		QMakeVar set QMAKE_CXXFLAGS_DEBUG\n\
+		QMakeVar set QMAKE_LFLAGS_RELEASE\n\
+		QMakeVar set QMAKE_LFLAGS_DEBUG\n"\
+		src/qt/qtbase/configure \
+		|| die
+	eend $?
+
+	ebegin "Instilling C/CXX/LDFLAGS respect in test suite"
+	# Respect CC, CXX, LINK and *FLAGS in config.tests
+	find src/qt/qtbase/config.tests/unix -name '*.test' -type f -exec \
+		sed -i -e "/bin\/qmake/ s: \"\$SRCDIR/: \
+			'QMAKE_CC=$(tc-getCC)'    'QMAKE_CXX=$(tc-getCXX)'      'QMAKE_LINK=$(tc-getCXX)' \
+			'QMAKE_CFLAGS+=${CFLAGS}' 'QMAKE_CXXFLAGS+=${CXXFLAGS}' 'QMAKE_LFLAGS+=${LDFLAGS}'&:" \
+		{} + || die
+	eend $?
+
+	default
+}
+
+src_compile() {
+	./build.py \
+		--confirm \
+		--jobs $(makeopts_jobs) \
+		|| die
+}
+
+src_test() {
+	./bin/phantomjs test/run-tests.js || die
+}
+
+src_install() {
+	pax-mark m bin/phantomjs || die
+	dobin bin/phantomjs
+	dodoc ChangeLog README.md
+	if use examples ; then
+		docinto examples
+		dodoc examples/*
+	fi
+}


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-02-05  9:42 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-20 22:53 [gentoo-commits] repo/gentoo:master commit in: www-client/phantomjs/ Manuel Rüger
  -- strict thread matches above, loose matches on Subject: below --
2018-02-05  9:42 Tony Vroon
2018-02-04 13:09 Ulrich Müller
2017-09-19 15:20 Tony Vroon
2017-06-04 11:35 Pacho Ramos
2015-11-21  7:11 Anthony G. Basile
2015-09-21  9:56 Dion Moult

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox