Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=kde5.git;a=commitdiff;h=0a5bf895ba4ae6b3da590bc2ab7621b8e3092dc6
commit 0a5bf895ba4ae6b3da590bc2ab7621b8e3092dc6 Author: crazy <[email protected]> Date: Thu Mar 31 23:03:04 2016 +0200 telepathy-qt5-0.9.7-1-x86_64 * Version bump to not-yet-released 0.9.7 * ( need that to get some protocols working ) * removed old patches * added an patch to fix QT5 Glib support detection * fix depends=() diff --git a/source/xlib/telepathy-qt5/FrugalBuild b/source/xlib/telepathy-qt5/FrugalBuild index 4a42d90..2629710 100644 --- a/source/xlib/telepathy-qt5/FrugalBuild +++ b/source/xlib/telepathy-qt5/FrugalBuild @@ -3,33 +3,34 @@ pkgname=telepathy-qt5 _F_archive_name=telepathy-qt -pkgver=0.9.6.1 +pkgver=0.9.7 pkgrel=1 pkgdesc="Telepathy Qt5 bindings" groups=('xlib') archs=('i686' 'x86_64') -depends=('qt5-base' 'telepathy-farstream' 'farstream') +depends=('qt5-base>=5.6.0-3' 'telepathy-farstream>=0.6.2-4' 'farstream>=0.2.8' 'dbus-glib' 'qt5-qdbus' 'libproxy' 'dbus-python') options+=('static') Finclude cmake url="http://telepathy.freedesktop.org/wiki/Telepathy-Qt4" up2date="Flasttar http://telepathy.freedesktop.org/releases/$_F_archive_name" -source=(http://telepathy.freedesktop.org/releases/$_F_archive_name/$_F_archive_name-$pkgver.tar.gz \ - gcc47.patch newer-glibc.patch fix-for-newer-gst-includes.patch) -sha1sums=('c7e913b54b72d4c7134dacc38a48d583f66759ed' \ - 'd60b166ca3c69a55e8cc49029726773d64cd1789' \ - '719bf196b5bcd4681a100573ba83e3f7ab6fd5b1' \ - 'aae8f05531a0cf0960779925d98614052cd39f6f') +source=(https://github.com/TelepathyQt/telepathy-qt/archive/master.zip fix-qt5-glib-detection.patch) +sha1sums=('238ebde7b990cab629380212b0e104fd50285d47' \ + 'fe893dcc13527e952f611797de4378c1df2cecdf') replaces=('telepathy-qt4') conflicts=('telepathy-qt4') +_F_cd_path="telepathy-qt-master" + build(){ CMake_prepare_build - cmake -DCMAKE_BUILD_TYPE=Release \ - -DENABLE_TESTS=OFF \ - -DENABLE_EXAMPLES=OFF \ - -DDISABLE_WERROR=ON \ - -DCMAKE_INSTALL_PREFIX=/usr .. || Fdie + cmake \ + -DCMAKE_BUILD_TYPE=Release \ + -DENABLE_TESTS=OFF \ + -DENABLE_EXAMPLES=OFF \ + -DDISABLE_WERROR=ON \ + -DDESIRED_QT_VERSION=5 \ + -DCMAKE_INSTALL_PREFIX=/usr .. || Fdie make || Fdie CMake_install } diff --git a/source/xlib/telepathy-qt5/fix-for-newer-gst-includes.patch b/source/xlib/telepathy-qt5/fix-for-newer-gst-includes.patch deleted file mode 100644 index e495b22..0000000 --- a/source/xlib/telepathy-qt5/fix-for-newer-gst-includes.patch +++ /dev/null @@ -1,84 +0,0 @@ -From ec4a3d62b68a57254515f01fc5ea3325ffb1dbfb Mon Sep 17 00:00:00 2001 -From: Niels Ole Salscheider <[email protected]> -Date: Tue, 29 Sep 2015 20:52:15 +0200 -Subject: Farstream: gst/gstconfig.h can be in LIBDIR, search for it explicitly - -Since GStreamer-1.5.1 config header file moved to LIBDIR. - -Reviewed-by: Alexandr Akulich <[email protected]> - -diff --git a/TelepathyQt/Farstream/CMakeLists.txt b/TelepathyQt/Farstream/CMakeLists.txt -index 250bfdb..dd71430 100644 ---- a/TelepathyQt/Farstream/CMakeLists.txt -+++ b/TelepathyQt/Farstream/CMakeLists.txt -@@ -2,7 +2,7 @@ if(FARSTREAM_COMPONENTS_FOUND) - include_directories(${TELEPATHY_FARSTREAM_INCLUDE_DIR} - ${TELEPATHY_GLIB_INCLUDE_DIR} - ${FARSTREAM_INCLUDE_DIR} -- ${GSTREAMER_INCLUDE_DIR} -+ ${GSTREAMER_INCLUDE_DIRS} - ${GLIB2_INCLUDE_DIR} - ${LIBXML2_INCLUDE_DIR} - ${DBUS_INCLUDE_DIR}) -diff --git a/cmake/modules/FindGStreamer.cmake b/cmake/modules/FindGStreamer.cmake -index 63fb41c..ffdd7a9 100644 ---- a/cmake/modules/FindGStreamer.cmake -+++ b/cmake/modules/FindGStreamer.cmake -@@ -13,12 +13,12 @@ - - # TODO: Other versions --> GSTREAMER_X_Y_FOUND (Example: GSTREAMER_0_8_FOUND and GSTREAMER_0_10_FOUND etc) - --IF (GSTREAMER_INCLUDE_DIR AND GSTREAMER_LIBRARIES AND GSTREAMER_BASE_LIBRARY AND GSTREAMER_INTERFACE_LIBRARY) -+IF (GSTREAMER_INCLUDE_DIRS AND GSTREAMER_LIBRARIES AND GSTREAMER_BASE_LIBRARY AND GSTREAMER_INTERFACE_LIBRARY) - # in cache already - SET(GSTREAMER_FIND_QUIETLY TRUE) --ELSE (GSTREAMER_INCLUDE_DIR AND GSTREAMER_LIBRARIES AND GSTREAMER_BASE_LIBRARY AND GSTREAMER_INTERFACE_LIBRARY) -+ELSE (GSTREAMER_INCLUDE_DIRS AND GSTREAMER_LIBRARIES AND GSTREAMER_BASE_LIBRARY AND GSTREAMER_INTERFACE_LIBRARY) - SET(GSTREAMER_FIND_QUIETLY FALSE) --ENDIF (GSTREAMER_INCLUDE_DIR AND GSTREAMER_LIBRARIES AND GSTREAMER_BASE_LIBRARY AND GSTREAMER_INTERFACE_LIBRARY) -+ENDIF (GSTREAMER_INCLUDE_DIRS AND GSTREAMER_LIBRARIES AND GSTREAMER_BASE_LIBRARY AND GSTREAMER_INTERFACE_LIBRARY) - - IF (NOT WIN32) - # use pkg-config to get the directories and then use these values -@@ -38,6 +38,15 @@ FIND_PATH(GSTREAMER_INCLUDE_DIR gst/gst.h - PATH_SUFFIXES gstreamer-1.0 - ) - -+FIND_PATH(GSTREAMER_CONF_INCLUDE_DIR gst/gstconfig.h -+ PATHS -+ ${PC_GSTREAMER_INCLUDEDIR} -+ ${PC_GSTREAMER_INCLUDE_DIRS} -+ PATH_SUFFIXES gstreamer-1.0 -+ ) -+ -+SET(GSTREAMER_INCLUDE_DIRS ${GSTREAMER_INCLUDE_DIR} ${GSTREAMER_CONF_INCLUDE_DIR}) -+ - FIND_LIBRARY(GSTREAMER_LIBRARIES NAMES gstreamer-1.0 - PATHS - ${PC_GSTREAMER_LIBDIR} -@@ -57,6 +66,12 @@ ELSE (GSTREAMER_INCLUDE_DIR) - MESSAGE(STATUS "GStreamer: WARNING: include dir not found") - ENDIF (GSTREAMER_INCLUDE_DIR) - -+IF (GSTREAMER_CONF_INCLUDE_DIR) -+ #MESSAGE(STATUS "DEBUG: Found GStreamer config include dir: ${GSTREAMER_CONF_INCLUDE_DIR}") -+ELSE (GSTREAMER_CONF_INCLUDE_DIR) -+ MESSAGE(STATUS "GStreamer: WARNING: config include dir not found") -+ENDIF (GSTREAMER_CONF_INCLUDE_DIR) -+ - IF (GSTREAMER_LIBRARIES) - #MESSAGE(STATUS "DEBUG: Found GStreamer library: ${GSTREAMER_LIBRARIES}") - ELSE (GSTREAMER_LIBRARIES) -@@ -65,6 +80,6 @@ ENDIF (GSTREAMER_LIBRARIES) - - - INCLUDE(FindPackageHandleStandardArgs) --FIND_PACKAGE_HANDLE_STANDARD_ARGS(GStreamer DEFAULT_MSG GSTREAMER_LIBRARIES GSTREAMER_INCLUDE_DIR GSTREAMER_BASE_LIBRARY) -+FIND_PACKAGE_HANDLE_STANDARD_ARGS(GStreamer DEFAULT_MSG GSTREAMER_LIBRARIES GSTREAMER_INCLUDE_DIRS GSTREAMER_BASE_LIBRARY) - --MARK_AS_ADVANCED(GSTREAMER_INCLUDE_DIR GSTREAMER_LIBRARIES GSTREAMER_BASE_LIBRARY) -+MARK_AS_ADVANCED(GSTREAMER_INCLUDE_DIRS GSTREAMER_LIBRARIES GSTREAMER_BASE_LIBRARY) --- -cgit v0.10.2 - - diff --git a/source/xlib/telepathy-qt5/fix-qt5-glib-detection.patch b/source/xlib/telepathy-qt5/fix-qt5-glib-detection.patch new file mode 100644 index 0000000..e84dcd8 --- /dev/null +++ b/source/xlib/telepathy-qt5/fix-qt5-glib-detection.patch @@ -0,0 +1,11 @@ +diff -Naur telepathy-qt-master/CMakeLists.txt telepathy-qt-master-glib-fix/CMakeLists.txt +--- telepathy-qt-master/CMakeLists.txt 2016-03-02 13:51:39.000000000 +0100 ++++ telepathy-qt-master-glib-fix/CMakeLists.txt 2016-03-31 18:52:08.503745226 +0200 +@@ -117,6 +117,7 @@ + # set the flags (-fPIE) here so that CHECK_CXX_SOURCE_COMPILES works properly if qt5 was built with + # -reduce-locations + set(CMAKE_REQUIRED_FLAGS "${TP_QT_EXECUTABLE_LINKER_FLAGS}") ++set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DQT_NO_VERSION_TAGGING=1") + + CHECK_CXX_SOURCE_COMPILES(" + #include <QtCore/QtGlobal> diff --git a/source/xlib/telepathy-qt5/gcc47.patch b/source/xlib/telepathy-qt5/gcc47.patch deleted file mode 100644 index ac6ae67..0000000 --- a/source/xlib/telepathy-qt5/gcc47.patch +++ /dev/null @@ -1,36 +0,0 @@ -diff -Nur telepathy-qt-0.9.1.orig/TelepathyQt/client-registrar.cpp telepathy-qt-0.9.1/TelepathyQt/client-registrar.cpp ---- telepathy-qt-0.9.1.orig/TelepathyQt/client-registrar.cpp 2012-04-01 17:44:00.013466055 +0000 -+++ telepathy-qt-0.9.1/TelepathyQt/client-registrar.cpp 2012-04-01 17:51:00.233486476 +0000 -@@ -39,6 +39,8 @@ - #include <TelepathyQt/MethodInvocationContext> - #include <TelepathyQt/PendingComposite> - #include <TelepathyQt/PendingReady> -+ -+#include <stdint.h> - - namespace Tp - { -diff -Nur telepathy-qt-0.9.1.orig/TelepathyQt/stream-tube-client.cpp telepathy-qt-0.9.1/TelepathyQt/stream-tube-client.cpp ---- telepathy-qt-0.9.1.orig/TelepathyQt/stream-tube-client.cpp 2012-04-01 17:44:00.006799442 +0000 -+++ telepathy-qt-0.9.1/TelepathyQt/stream-tube-client.cpp 2012-04-01 17:51:00.233486476 +0000 -@@ -38,6 +38,8 @@ - #include <QAbstractSocket> - #include <QHash> - -+#include <stdint.h> -+ - namespace Tp - { - -diff -Nur telepathy-qt-0.9.1.orig/TelepathyQt/stream-tube-server.cpp telepathy-qt-0.9.1/TelepathyQt/stream-tube-server.cpp ---- telepathy-qt-0.9.1.orig/TelepathyQt/stream-tube-server.cpp 2012-04-01 17:44:00.003466134 +0000 -+++ telepathy-qt-0.9.1/TelepathyQt/stream-tube-server.cpp 2012-04-01 17:51:00.233486476 +0000 -@@ -38,6 +38,8 @@ - #include <TelepathyQt/OutgoingStreamTubeChannel> - #include <TelepathyQt/StreamTubeChannel> - -+#include <stdint.h> -+ - namespace Tp - { - diff --git a/source/xlib/telepathy-qt5/newer-glibc.patch b/source/xlib/telepathy-qt5/newer-glibc.patch deleted file mode 100644 index ddf6984..0000000 --- a/source/xlib/telepathy-qt5/newer-glibc.patch +++ /dev/null @@ -1,24 +0,0 @@ -From 2a460afdbd0cb39d8dcecaf6cea5ce9ce7d3216b Mon Sep 17 00:00:00 2001 -From: Niels Ole Salscheider <[email protected]> -Date: Fri, 5 Jun 2015 12:47:13 +0200 -Subject: CMake: Fixed deprecated _BSD_SOURCE. - -Since glibc-2.20 _DEFAULT_SOURCE definition is also required. - -Reviewed-by: Alexandr Akulich - -diff --git a/cmake/modules/TelepathyDefaults.cmake b/cmake/modules/TelepathyDefaults.cmake -index d34b24d..dc98697 100644 ---- a/cmake/modules/TelepathyDefaults.cmake -+++ b/cmake/modules/TelepathyDefaults.cmake -@@ -108,7 +108,7 @@ if(CMAKE_COMPILER_IS_GNUCXX) - endif(${NOT_RELEASE} EQUAL 1) - - if(CMAKE_SYSTEM_NAME MATCHES Linux) -- add_definitions(-D_BSD_SOURCE) -+ add_definitions(-D_BSD_SOURCE -D_DEFAULT_SOURCE) - endif(CMAKE_SYSTEM_NAME MATCHES Linux) - - # Compiler coverage --- -cgit v0.10.2 _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
