Gentoo Archives: gentoo-commits

From: "Hans de Graaff (graaff)" <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in www-client/phantomjs: ChangeLog phantomjs-1.9.7.ebuild phantomjs-1.9.8.ebuild
Date: Wed, 29 Oct 2014 08:28:15
Message-Id: 20141029082810.335888FCC@oystercatcher.gentoo.org
1 graaff 14/10/29 08:28:10
2
3 Modified: ChangeLog phantomjs-1.9.7.ebuild
4 Added: phantomjs-1.9.8.ebuild
5 Log:
6 Non-maintainer version bump to address POODLE mitigation. Phantomjs now uses TLSv1 by default instead of SSLv3.
7
8 (Portage version: 2.2.8-r2/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
9
10 Revision Changes Path
11 1.15 www-client/phantomjs/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/phantomjs/ChangeLog?rev=1.15&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/phantomjs/ChangeLog?rev=1.15&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/phantomjs/ChangeLog?r1=1.14&r2=1.15
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/www-client/phantomjs/ChangeLog,v
20 retrieving revision 1.14
21 retrieving revision 1.15
22 diff -u -r1.14 -r1.15
23 --- ChangeLog 28 Jul 2014 05:19:15 -0000 1.14
24 +++ ChangeLog 29 Oct 2014 08:28:10 -0000 1.15
25 @@ -1,6 +1,13 @@
26 # ChangeLog for www-client/phantomjs
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/www-client/phantomjs/ChangeLog,v 1.14 2014/07/28 05:19:15 vapier Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/www-client/phantomjs/ChangeLog,v 1.15 2014/10/29 08:28:10 graaff Exp $
30 +
31 +*phantomjs-1.9.8 (29 Oct 2014)
32 +
33 + 29 Oct 2014; Hans de Graaff <graaff@g.o> phantomjs-1.9.7.ebuild,
34 + +phantomjs-1.9.8.ebuild:
35 + Non-maintainer version bump to address POODLE mitigation. Phantomjs now uses
36 + TLSv1 by default instead of SSLv3.
37
38 28 Jul 2014; Mike Frysinger <vapier@g.o> metadata.xml:
39 Drop myself as maintainer.
40
41
42
43 1.3 www-client/phantomjs/phantomjs-1.9.7.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/phantomjs/phantomjs-1.9.7.ebuild?rev=1.3&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/phantomjs/phantomjs-1.9.7.ebuild?rev=1.3&content-type=text/plain
47 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/phantomjs/phantomjs-1.9.7.ebuild?r1=1.2&r2=1.3
48
49 Index: phantomjs-1.9.7.ebuild
50 ===================================================================
51 RCS file: /var/cvsroot/gentoo-x86/www-client/phantomjs/phantomjs-1.9.7.ebuild,v
52 retrieving revision 1.2
53 retrieving revision 1.3
54 diff -u -r1.2 -r1.3
55 --- phantomjs-1.9.7.ebuild 4 Mar 2014 21:39:14 -0000 1.2
56 +++ phantomjs-1.9.7.ebuild 29 Oct 2014 08:28:10 -0000 1.3
57 @@ -1,6 +1,6 @@
58 # Copyright 1999-2014 Gentoo Foundation
59 # Distributed under the terms of the GNU General Public License v2
60 -# $Header: /var/cvsroot/gentoo-x86/www-client/phantomjs/phantomjs-1.9.7.ebuild,v 1.2 2014/03/04 21:39:14 dilfridge Exp $
61 +# $Header: /var/cvsroot/gentoo-x86/www-client/phantomjs/phantomjs-1.9.7.ebuild,v 1.3 2014/10/29 08:28:10 graaff Exp $
62
63 EAPI=5
64
65 @@ -18,7 +18,9 @@
66 RDEPEND="dev-libs/icu:=
67 dev-libs/openssl
68 media-libs/fontconfig
69 - media-libs/freetype"
70 + media-libs/freetype
71 + media-libs/gstreamer:0.10
72 + media-libs/gst-plugins-base:0.10"
73 DEPEND="${RDEPEND}
74 app-arch/unzip
75 virtual/pkgconfig"
76
77
78
79 1.1 www-client/phantomjs/phantomjs-1.9.8.ebuild
80
81 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/phantomjs/phantomjs-1.9.8.ebuild?rev=1.1&view=markup
82 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/phantomjs/phantomjs-1.9.8.ebuild?rev=1.1&content-type=text/plain
83
84 Index: phantomjs-1.9.8.ebuild
85 ===================================================================
86 # Copyright 1999-2014 Gentoo Foundation
87 # Distributed under the terms of the GNU General Public License v2
88 # $Header: /var/cvsroot/gentoo-x86/www-client/phantomjs/phantomjs-1.9.8.ebuild,v 1.1 2014/10/29 08:28:10 graaff Exp $
89
90 EAPI=5
91
92 inherit toolchain-funcs pax-utils multiprocessing
93
94 DESCRIPTION="A headless WebKit scriptable with a JavaScript API"
95 HOMEPAGE="http://phantomjs.org/"
96 SRC_URI="https://bitbucket.org/ariya/phantomjs/downloads/${P}-source.zip"
97
98 LICENSE="BSD"
99 SLOT="0"
100 KEYWORDS="~amd64 ~x86"
101 IUSE="examples"
102
103 RDEPEND="dev-libs/icu:=
104 dev-libs/openssl
105 media-libs/fontconfig
106 media-libs/freetype
107 media-libs/gstreamer:0.10
108 media-libs/gst-plugins-base:0.10"
109 DEPEND="${RDEPEND}
110 app-arch/unzip
111 virtual/pkgconfig"
112
113 src_prepare() {
114 sed -i \
115 -e '/^# CONFIG += text_breaking_with_icu/s:#::' \
116 src/qt/src/3rdparty/webkit/Source/JavaScriptCore/JavaScriptCore.pri \
117 || die
118
119 # Respect CC, CXX, {C,CXX,LD}FLAGS in .qmake.cache
120 sed -i \
121 -e "/^SYSTEM_VARIABLES=/i \
122 CC='$(tc-getCC)'\n\
123 CXX='$(tc-getCXX)'\n\
124 CFLAGS='${CFLAGS}'\n\
125 CXXFLAGS='${CXXFLAGS}'\n\
126 LDFLAGS='${LDFLAGS}'\n\
127 QMakeVar set QMAKE_CFLAGS_RELEASE\n\
128 QMakeVar set QMAKE_CFLAGS_DEBUG\n\
129 QMakeVar set QMAKE_CXXFLAGS_RELEASE\n\
130 QMakeVar set QMAKE_CXXFLAGS_DEBUG\n\
131 QMakeVar set QMAKE_LFLAGS_RELEASE\n\
132 QMakeVar set QMAKE_LFLAGS_DEBUG\n"\
133 src/qt/configure \
134 || die
135
136 # Respect CC, CXX, LINK and *FLAGS in config.tests
137 find src/qt/config.tests/unix -name '*.test' -type f -exec \
138 sed -i -e "/bin\/qmake/ s: \"\$SRCDIR/: \
139 'QMAKE_CC=$(tc-getCC)' 'QMAKE_CXX=$(tc-getCXX)' 'QMAKE_LINK=$(tc-getCXX)' \
140 'QMAKE_CFLAGS+=${CFLAGS}' 'QMAKE_CXXFLAGS+=${CXXFLAGS}' 'QMAKE_LFLAGS+=${LDFLAGS}'&:" \
141 {} + || die
142 }
143
144 src_compile() {
145 ./build.sh \
146 --confirm \
147 --jobs $(makeopts_jobs) \
148 --qt-config "$($(tc-getPKG_CONFIG) --cflags-only-I freetype2)" \
149 || die
150 }
151
152 src_test() {
153 ./bin/phantomjs test/run-tests.js || die
154 }
155
156 src_install() {
157 pax-mark m bin/phantomjs || die
158 dobin bin/phantomjs
159 dodoc ChangeLog README.md
160 if use examples ; then
161 docinto examples
162 dodoc examples/*
163 fi
164 }