On Tuesday, 13 August 2013 12:52:24 CEST, Pali Rohár wrote:
Code for older cmake & gcc compiler is in my gsoc branch. So it could work. Can you test it (try to compile kontact kpart)?

I can't -- my KDE requires new cmake, unfortunately.

What we can do is making this build work in Travis, see the attached patch. You'll have to send my your github account ID and I'll let you push into the github repo; after that, your changes will be build-tested automatically when you push.

Cheers,
Jan

--
Trojitá, a fast Qt IMAP e-mail client -- http://trojita.flaska.net/
diff --git a/.travis.yml b/.travis.yml
index 8d76c1a..cd8900a 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -9,14 +9,16 @@ env:
  - CONFIG=debug QT5=qt5
  - CONFIG=release
  - CONFIG=release QT5=qt5
+ - CONFIG=debug KDE=kde
 before_install:
  - sudo apt-get update -qq
  - bash -c "if [[ -n \"${RAGEL}\" ]]; then sudo apt-get install -qq ragel; fi"
  - bash -c "if [[ -z \"${ZLIB}\" ]]; then sudo apt-get install -qq zlib1g-dev; fi"
  - bash -c "if [[ -z \"${QT5}\" ]]; then sudo apt-get install -qq libqt4-dev qt4-dev-tools libqtwebkit-dev libqt4-sql-sqlite; else sudo apt-add-repository -y ppa:beineri/opt-qt502; sudo apt-add-repository -y ppa:leppa/backports; sudo apt-get update -qq; sudo apt-get install -qq qt5-meta-minimal qttools libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev; fi"
  - sudo apt-get install -qq xvfb xauth cmake
+ - bash -c "if [[ -n \"{KDE}\" ]]; then sudo apt-get install -qq UBUNTU_KDE_PACKAGE_LIST GOES_HERE; fi"
  - bash -c "cmake --version"
-script: bash -c "mkdir _build; cd _build; cmake -DCMAKE_CXX_COMPILER=$CXX -DCMAKE_BUILD_TYPE=$CONFIG ${QT5:+-DCMAKE_PREFIX_PATH=/opt/qt5/lib/cmake} ${QT5:+-DWITH_QT5=1} ${RAGEL:+-DWITH_RAGEL=1} ${ZLIB:+-DWITHOUT_ZLIB=1} -DCMAKE_INSTALL_PREFIX=/usr .. && make VERBOSE=1 -j4 && xvfb-run -a ctest -j 4 --output-on-failure && sudo make install"
+script: bash -c "mkdir _build; cd _build; cmake -DCMAKE_CXX_COMPILER=$CXX -DCMAKE_BUILD_TYPE=$CONFIG ${QT5:+-DCMAKE_PREFIX_PATH=/opt/qt5/lib/cmake} ${QT5:+-DWITH_QT5=1} ${RAGEL:+-DWITH_RAGEL=1} ${ZLIB:+-DWITHOUT_ZLIB=1} ${KDE:+-DWITH_KDE=1} -DCMAKE_INSTALL_PREFIX=/usr .. && make VERBOSE=1 -j4 && xvfb-run -a ctest -j 4 --output-on-failure && sudo make install"
 notifications:
  irc:
   channels:

Reply via email to