[packages/phantomjs] requires Qt5Gui-platform-xcb

glen glen at pld-linux.org
Tue Mar 22 18:45:30 CET 2016


commit 26764c8714db9859ed060e24d9da46caca4f54ec
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Tue Mar 22 19:43:51 2016 +0200

    requires Qt5Gui-platform-xcb
    
    otherwise ends up aborting
    
    00:00:02.883 This application failed to start because it could not find or load the Qt platform plugin "xcb".
    00:00:02.883
    00:00:02.883 Available platform plugins are: linuxfb, minimal, offscreen.
    00:00:02.883
    00:00:02.883 Reinstalling the application may fix this problem.
    00:00:02.887 Aborted

 phantomjs.spec | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)
---
diff --git a/phantomjs.spec b/phantomjs.spec
index 5906722..4847f80 100644
--- a/phantomjs.spec
+++ b/phantomjs.spec
@@ -2,28 +2,28 @@
 Summary:	Headless WebKit with a JavaScript API
 Name:		phantomjs
 Version:	2.0.0
-Release:	2
+Release:	3
 License:	BSD
 Group:		Applications/Networking
 Source0:	https://bitbucket.org/ariya/phantomjs/downloads/%{name}-%{version}-source.zip
 # Source0-md5:	feabe9064100e241d21347739312e64d
-Patch0:		phantomjs-qt.patch
-Patch1:		phantomjs-env.patch
-
+Patch0:		%{name}-qt.patch
+Patch1:		%{name}-env.patch
 Patch3:		0003-unbundle-mongoose.patch
-Patch4:		phantomjs-disable-breakpad.patch
+Patch4:		%{name}-disable-breakpad.patch
 Patch5:		0005-unbundle-qt.patch
 Patch6:		0006-unbundle-linenoise.patch
 Patch7:		0007-unbundle-QCommandLine.patch
 URL:		http://phantomjs.org/
-BuildRequires:	Qt5WebKit-devel
 BuildRequires:	Qt5PrintSupport-devel
+BuildRequires:	Qt5WebKit-devel
 BuildRequires:	coffee-script
 BuildRequires:	giflib-devel
 BuildRequires:	linenoise-devel
 BuildRequires:	mongoose-devel
 %{?with_system_qcommandline:BuildRequires:	qcommandline-devel}
 BuildRequires:	unzip
+Requires:	Qt5Gui-platform-xcb
 Requires:	coffee-script
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -45,7 +45,6 @@ rm -r src/breakpad
 
 %patch0 -p1
 %patch1 -p1
-
 %patch3 -p1
 %patch4 -p1
 %patch5 -p1
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/phantomjs.git/commitdiff/26764c8714db9859ed060e24d9da46caca4f54ec



More information about the pld-cvs-commit mailing list