I have made the following changes intended for :
  CE:MW:Shared / libqtsparql

Please review and accept or decline.
BOSS has already run some checks on this request.
See the "Messages from BOSS" section below.

https://build.pub.meego.com//request/show/8385

Thank You,
martyone

[This message was auto-generated]

---

Request # 8385:

Messages from BOSS:

State: review at 2013-03-07T14:26:27 by bossbot

Reviews:
       accepted by bossbot : Prechecks succeeded.
       new for CE-maintainers : Please replace this text with a review and 
approve/reject the review (not the SR). BOSS will take care of the rest

Changes:
  submit: home:martyone:branches:CE:MW:Shared / libqtsparql-NEMO527 -> 
CE:MW:Shared / libqtsparql
  
changes files:
--------------
--- libqtsparql.changes
+++ libqtsparql.changes
@@ -0,0 +1,5 @@
+* Thu Mar 07 2013 Martin Kampas <[email protected]> - 0.2.1
+- Fix NEMO#527: libqtsparql-tests: tst_qsparql_qmlbindings fails
+- Move qml plugin libraries from -devel package to the "normal" one
+- Add tests-qmlbindings-compile-with-qt-gui.patch
+

new:
----
  tests-qmlbindings-compile-with-qt-gui.patch

spec files:
-----------
--- libqtsparql.spec
+++ libqtsparql.spec
@@ -9,6 +9,7 @@
 Patch0: 0001-Fix-for-tests-xml.patch
 Patch1: compile-fix-with-qt-4.8.patch
 Patch2: 0002-fix-compile-against-newer-tracker.patch
+Patch3: tests-qmlbindings-compile-with-qt-gui.patch
 BuildRequires: doxygen
 BuildRequires: pkgconfig(QtCore)
 BuildRequires: tracker-devel
@@ -64,6 +65,7 @@
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 %build
 ./configure -prefix /usr
@@ -90,14 +92,14 @@
 %defattr(-,root,root,-)
 %{_libdir}/libQtSparql.so.*
 %{_libdir}/qt4/imports/QtSparql/qmldir
+%{_libdir}/qt4/imports/QtSparql/libsparqlresultslist.so
+%{_libdir}/qt4/imports/QtSparql/libsparqlconnection.so
+%{_libdir}/qt4/imports/QtSparql/libsparqllistmodel.so
 
 %files devel
 %defattr(-,root,root,-)
 %{_libdir}/libQtSparql.so
 %{_libdir}/pkgconfig/*
-%{_libdir}/qt4/imports/QtSparql/libsparqlresultslist.so
-%{_libdir}/qt4/imports/QtSparql/libsparqlconnection.so
-%{_libdir}/qt4/imports/QtSparql/libsparqllistmodel.so
 %{_includedir}/QtSparql/*
 %{_libdir}/libQtSparql.prl
 %{_datadir}/qt4/mkspecs/features/*

other changes:
--------------

++++++ tests-qmlbindings-compile-with-qt-gui.patch (new)
--- tests-qmlbindings-compile-with-qt-gui.patch
+++ tests-qmlbindings-compile-with-qt-gui.patch
@@ -0,0 +1,14 @@
+Index: libqtsparql-0.2.1/tests/auto/qsparql_qmlbindings/qsparql_qmlbindings.pro
+===================================================================
+--- 
libqtsparql-0.2.1.orig/tests/auto/qsparql_qmlbindings/qsparql_qmlbindings.pro
++++ libqtsparql-0.2.1/tests/auto/qsparql_qmlbindings/qsparql_qmlbindings.pro
+@@ -1,6 +1,8 @@
+ include(../sparqltest.pri)
+ CONFIG += qt warn_on console depend_includepath
+-QT += testlib declarative
++# Without 'gui' QTEST_MAIN() would instantiate QCoreApplication instead of
++# QApplication which is needed for the declarative stuff to work.
++QT += testlib declarative gui
+ 
+ SOURCES  += tst_qsparql_qmlbindings.cpp
+ 



Reply via email to