telepathy-qt5:add pisi-2.0 and v.bump

This commit is contained in:
alihanozturk
2015-11-20 20:30:07 +02:00
parent 46d128ca21
commit a3fc454cca
5 changed files with 191 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import cmaketools
from pisi.actionsapi import pisitools
from pisi.actionsapi import autotools
from pisi.actionsapi import get
WorkDir = "telepathy-qt-%s" % get.srcVERSION()
def setup():
cmaketools.configure("-DDESIRED_QT_VERSION=5 \
-DPYTHON_EXECUTABLE=/usr/bin/python2.7 \
-DENABLE_EXAMPLES=OFF \
-DENABLE_TESTS=OFF")
def build():
cmaketools.make()
def install():
cmaketools.install()
pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "NEWS", "README")
@@ -0,0 +1,37 @@
From 05fe3f4980bbc6b016e25dcf07e44afe29e377c0 Mon Sep 17 00:00:00 2001
From: David Edmundson <kde@davidedmundson.co.uk>
Date: Sun, 29 Sep 2013 22:19:27 +0000
Subject: Fix compilation on new versions of cmake
Recent cmake has changed the argument count to
qt4_create_moc_command, we need to adjust accordingly
Reviewed-by: Dario Freddi <dario.freddi@ispirata.com>
---
diff --git a/cmake/modules/FindQt.cmake b/cmake/modules/FindQt.cmake
index c2eac76..b3131f0 100644
--- a/cmake/modules/FindQt.cmake
+++ b/cmake/modules/FindQt.cmake
@@ -74,10 +74,18 @@ ENDMACRO(QT_GET_MOC_FLAGS)
MACRO(QT_CREATE_MOC_COMMAND infile outfile moc_flags moc_options)
IF(QT_VERSION_MAJOR MATCHES 4)
- QT4_CREATE_MOC_COMMAND(${infile} ${outfile} "${moc_flags}" "${moc_options}")
+ IF(CMAKE_VERSION VERSION_GREATER 2.8.11.20130607)
+ QT4_CREATE_MOC_COMMAND(${infile} ${outfile} "${moc_flags}" "${moc_options}" "")
+ ELSE(CMAKE_VERSION VERSION_GREATER 2.8.11.20130607)
+ QT4_CREATE_MOC_COMMAND(${infile} ${outfile} "${moc_flags}" "${moc_options}")
+ ENDIF(CMAKE_VERSION VERSION_GREATER 2.8.11.20130607)
ELSE(QT_VERSION_MAJOR MATCHES 4)
IF(QT_VERSION_MAJOR MATCHES 5)
- QT5_CREATE_MOC_COMMAND(${infile} ${outfile} "${moc_flags}" "${moc_options}")
+ IF(CMAKE_VERSION VERSION_GREATER 2.8.11.20130607)
+ QT5_CREATE_MOC_COMMAND(${infile} ${outfile} "${moc_flags}" "${moc_options}" "")
+ ELSE(CMAKE_VERSION VERSION_GREATER 2.8.11.20130607)
+ QT5_CREATE_MOC_COMMAND(${infile} ${outfile} "${moc_flags}" "${moc_options}")
+ ENDIF(CMAKE_VERSION VERSION_GREATER 2.8.11.20130607)
ENDIF(QT_VERSION_MAJOR MATCHES 5)
ENDIF(QT_VERSION_MAJOR MATCHES 4)
ENDMACRO(QT_CREATE_MOC_COMMAND)
--
cgit v0.9.0.2-2-gbebe
@@ -0,0 +1,24 @@
From 2a460afdbd0cb39d8dcecaf6cea5ce9ce7d3216b Mon Sep 17 00:00:00 2001
From: Niels Ole Salscheider <niels_ole@salscheider-online.de>
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
+91
View File
@@ -0,0 +1,91 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>telepathy-qt5</Name>
<Homepage>http://telepathy.freedesktop.org</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>LGPLv2.1</License>
<IsA>library</IsA>
<Summary>Qt based classes for Telepathy communication framework</Summary>
<Description>The Telepathy project is about building a unified framework for many different kinds of real-time communications. telepathy-qt contains Qt-based base and proxy classes for use in connection managers and clients.</Description>
<Archive sha1sum="a593e0d107c36ed4d79cb84e7eab81a7d9d85019" type="targz">http://telepathy.freedesktop.org/releases/telepathy-qt/telepathy-qt-0.9.6.tar.gz</Archive>
<BuildDependencies>
<Dependency>cmake</Dependency>
<Dependency>qt5-base-devel</Dependency>
<Dependency>gobject-introspection-devel</Dependency>
<Dependency>dbus-glib-devel</Dependency>
<Dependency>libxml2-devel</Dependency>
<Dependency>farstream-devel</Dependency>
<Dependency>telepathy-farstream-devel</Dependency>
<Dependency>doxygen</Dependency>
</BuildDependencies>
<Patches>
<!-- <Patch level="1">cmake.patch</Patch> -->
<Patch level="1">glibc-2.20.patch</Patch>
</Patches>
</Source>
<Package>
<Name>telepathy-qt5</Name>
<RuntimeDependencies>
<Dependency>glib2</Dependency>
<Dependency>libgcc</Dependency>
<Dependency>qt5-base</Dependency>
<Dependency>telepathy-glib</Dependency>
<Dependency>telepathy-farstream</Dependency>
<Dependency>doxygen</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<Package>
<Name>telepathy-qt5-devel</Name>
<Summary>Development files for telepathy-qt5</Summary>
<RuntimeDependencies>
<Dependency release="current">telepathy-qt5</Dependency>
<Dependency>qt5-base-devel</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<History>
<Update release="4">
<Date>2015-08-20</Date>
<Version>0.9.6</Version>
<Comment>Version bump.</Comment>
<Name>Alihan Öztürk</Name>
<Email>alihan@pisilinux.org</Email>
</Update>
<Update release="3">
<Date>2014-03-09</Date>
<Version>0.9.3</Version>
<Comment>Rebuild</Comment>
<Name>Varol Maksutoğlu</Name>
<Email>waroi@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2013-07-29</Date>
<Version>0.9.3</Version>
<Comment>Dep Fixed</Comment>
<Name>Osman Erkan</Name>
<Email>osman.erkan@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2012-08-19</Date>
<Version>0.9.3</Version>
<Comment>First release</Comment>
<Name>Yusuf Aydemir</Name>
<Email>yusuf.aydemir@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,13 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>telepathy-qt5</Name>
<Summary xml:lang="tr">Telepathy iletişim çatısı için Qt tabanlı sınıflar</Summary>
<Description xml:lang="tr">Telepathy projesi çeşitli gerçek zamanlı iletişim türleri için birleşik bir çatı oluşturmayı amaçlar. telepathy-qt bağlantı yöneticileri ve istemcilerde kullanılmak üzere Qt tabanlı temel ve vekil sınıfları içerir.</Description>
</Source>
<Package>
<Name>telepathy-qt5-devel</Name>
<Summary xml:lang="tr">telepathy-qt5 için geliştirme dosyaları</Summary>
</Package>
</PISI>