-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Towards PhantomJS 2.5 #14458
Comments
* Upgrade QtBase module * Remove QtBase * Remove QtWebkit * Make ready for new bleeding edge WebKit * Use configurable properties * Move back to old headers
@annulen Is there any news on a distribution packager's willingness to make an official package of QtWebKit TP2 (or later releases)? How about Homebrew @MikeMcQuaid? This becomes important as it will ensure that a future distribution-packaged PhantomJS does not deviate (get "crippled") regarding its feature sets. For instance, if a distribution contains a PhantomJS 2.5 release built using the outdated Qt 5.2 and its QtWebKit module, it will potentially confuse the users since it will not support all the latest web platform features. |
Reference issue: qtwebkit/qtwebkit#115 |
Any plan to port phantomjs to Qt Webengine , since now Qt WebKit will not see new features ? |
@ariya I think it's even more important to ensure that crippled versions are not distributed at all, so users don't get confused and go straight to official release binaries. |
@moimael Read the topic plz |
@ariya We'll package it when it's a stable version but are open to having a PR open at any point.
From a packagers perspective the best way around this would be to check for such things in your |
I don't think it's always possible to prevent a modified/tweaked/crippled version of PhantomJS: take a look at Debian package https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=817277. Not having a bundled Qt/QtWebKit certainly will simplify the packager's life. That said, it won't help much if the available system Qt/QtWebKit is still outdated. |
In Debian Stable you'll always have QtWebKit version, outdated by a couple of years |
In other distros (except rolling-release ones) it may be slightly less outdated, but not much https://blogs.gnome.org/mcatanzaro/2016/02/01/on-webkit-security-updates/ |
Sure. Some package managers (i.e. Homebrew) frown on patching, though, so if you want to require a certain version of a dependency the best way to do that is to ensure you do so in your build system. |
@annulen That package (https://packages.debian.org/sid/web/phantomjs) is intended for stretch. But you're right, in the near future it will be the next Debian stable. |
Solid advice! Thank you. |
@ariya QtWebKit requires somewhat more work to be suitable for shipping in Stretch than just to be usable by PhantomJS, work is in progress |
Why no support for printing footer and header ? |
Please track #14461. |
Quick question, given that build.py is removed now how do we build at the moment? |
@samlinbris Check the description, i.e. "Consequently, building PhantomJS...". |
@ariya Yeah, I've seen that bit. As I'm relatively new to this field I don't really know how qmake works. I've downloaded qmake and made it available on my mac. However, I'm not sure what's the next step after this. Surely it's not |
@samlinbris See if you can familiarize yourself with Qt and/or consult a Qt expert. |
Wow... compiling QT in Ubuntu is a mess. Just a few things to help others with some problems I found: 1- In QT 5.8
It seems like it's a known problem since Jan/13: https://bugreports.qt.io/browse/QTBUG-28909 In my very-slow test server (same Ubuntu Yakketi), QT5.8 has compiled ok (¿?), but compiling qtwebkit is taking ages. Will report back. |
You can use official Qt 5.8.0 binaries and Linux binaries of QtWebKit from https://github.com/annulen/webkit/releases/tag/qtwebkit-tp5 |
@annulen Thanks a lot for the help. The process is a bit harsh for someone who has never made anything with QT. For anyone using Ubuntu Yakketi, a version not supported by 2.5beta binaries provided by Vitaly, the best option is to download @nkovacs static binary from here, that works fine: https://github.com/nkovacs/selenium-standalone-phantomjs/tree/11420aaf2174428b56086673232365c820f98a42 |
Hi @ariya are there plans to continue with phantomjs after @vitallium has stepped down? |
hi. Where is the 2.5.0 version of the code. |
@344389541 It's in master. |
When are you gonna release the 2.5.0 version? |
@victorhazbun @vitallium is releasing the 2.5 beta v2 this weekend. :) |
@vitallium I know you've relased beta 2 for windows. Do you know when we can get the updated beta binaries for linux please? |
Can somebody please tell me how I can get source code for PhantomJS 2.5? The comments above say that it's there in the master, so is there any specific tag associated with it? I was expecting it to be v2.5 etc., but I am not sure. I want to evaluate 2.5 code along with system installed Qt. Any definitive help in this regard is much appreciated! Thanks. |
2.5 is not out yet. The latest is 2.5beta2. If you want the master branch, click the green "Clone or download" on https://github.com/ariya/phantomjs and choose ZIP. There is apparently no tag. |
Correct! We tag release after it has been published. |
Thank you very much! I have cloned the master locally. Am I correct in
assuming that build procedure is exactly the same as v2.1? Or are there any
differences?
Best regards,
Atul.
…On Tue, Jul 25, 2017 at 8:26 PM, Vitaly Slobodin ***@***.***> wrote:
Correct! We tag release after it has been published.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#14458 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AK9wbzttWke8Ry8z60fygBdkwS-y4u-qks5sRgI6gaJpZM4Jew0u>
.
|
@sowani Almost. First of all you need to build new QtWebKit - https://github.com/annulen/webkit/wiki |
Any news about the header/footer "issue" in the coming release? Will it be possible to print headers and footers in PDF documents? :) |
@clarkk Feature would be welcome in QtWebKit if someone prepared a pull request to https://github.com/annulen/webkit with all necessary parts from PhantomJS' fork |
Medium.com has declared this project dead...
(not that anyone with any sense of software quality or stability uses Chrome for anything) then again most posts on medium.com are from developers with framework fad attention spans of a can of coke... causing their company to rebuild all their apps every three months to support the latest fad and remove last years fad that is no longer maintained, and for zero net benefit. #sodumb |
Someone on their Medium.com page has declared this project dead... |
@tuxayo Good to hear your comment! So does that imply that phantomjs has a new maintainer and a defined roadmap? |
Any plan for version > 2.1.1 is effectively abandoned. Please see #15344 for more details. |
Going forward, what will happen in PhantomJS land:
Source Code
Compared to vanilla QtWebKit of Qt 5.x, this latest QtWebKit enables lots of new modern web platform features, check Comparison with QtWebKit 5.6 for more details.
Packaging
qmake && make
).We may need to supply a simple
configure
script and a convenientmake install
to make packaging easier for the distribution packagers (Debian/Ubuntu/Fedora/Nix/Homebrew/NuGet/etc). See qconf for details.Features
We need to ensure that the Linux version can still operate in pure headless mode (without X11).
Regression: it won't be possible to disable web security.
#14461: Regression: there won't be support for printing headers & footers.
The text was updated successfully, but these errors were encountered: