summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2011-03-23 08:23:48 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2011-03-23 08:23:48 +0000
commit722572687de757d8513d212df2ff6d7c34371fb5 (patch)
tree4add7e239a32111c4501070c12dfd6b32250edc2 /net-libs
parentFix slot-deps on gnome libs, remove old (diff)
downloadhistorical-722572687de757d8513d212df2ff6d7c34371fb5.tar.gz
historical-722572687de757d8513d212df2ff6d7c34371fb5.tar.bz2
historical-722572687de757d8513d212df2ff6d7c34371fb5.zip
Version bump. Fix automagicness. Non-maintainer commit.
Package-Manager: portage-2.2.0_alpha28/cvs/Linux x86_64
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/telepathy-qt4/ChangeLog9
-rw-r--r--net-libs/telepathy-qt4/Manifest7
-rw-r--r--net-libs/telepathy-qt4/files/0.5.12_automagicness.patch169
-rw-r--r--net-libs/telepathy-qt4/metadata.xml10
-rw-r--r--net-libs/telepathy-qt4/telepathy-qt4-0.5.12.ebuild51
5 files changed, 238 insertions, 8 deletions
diff --git a/net-libs/telepathy-qt4/ChangeLog b/net-libs/telepathy-qt4/ChangeLog
index 8519c41828c8..aa234e9792c1 100644
--- a/net-libs/telepathy-qt4/ChangeLog
+++ b/net-libs/telepathy-qt4/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-libs/telepathy-qt4
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/telepathy-qt4/ChangeLog,v 1.5 2011/03/04 12:56:42 tampakrap Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/telepathy-qt4/ChangeLog,v 1.6 2011/03/23 08:23:47 scarabeus Exp $
+
+*telepathy-qt4-0.5.12 (23 Mar 2011)
+
+ 23 Mar 2011; Tomáš Chvátal <scarabeus@gentoo.org>
+ +files/0.5.12_automagicness.patch, +telepathy-qt4-0.5.12.ebuild,
+ metadata.xml:
+ Version bump. Fix automagicness. Non-maintainer commit.
*telepathy-qt4-0.5.8 (04 Mar 2011)
diff --git a/net-libs/telepathy-qt4/Manifest b/net-libs/telepathy-qt4/Manifest
index d132f29adade..b52091b066f1 100644
--- a/net-libs/telepathy-qt4/Manifest
+++ b/net-libs/telepathy-qt4/Manifest
@@ -1,8 +1,11 @@
+AUX 0.5.12_automagicness.patch 6917 RMD160 e9dc8451123f82436f239a2adab436e2744d9b39 SHA1 2c9592cc749055736445969a97d3ffda2b26ca18 SHA256 74585bf7d2e746a66864deb1f3858f1c1aeb63bf4c9314310b1ae40890c15f2b
DIST telepathy-qt4-0.5.0.tar.gz 2622886 RMD160 2abbc67ee0e6b18467ae98bf1bc90747bcb6fe33 SHA1 9ae381b038af4b4c2f68d29f2ff32812584dd521 SHA256 7a89e430df41b019248fbd78330dbbf15def4f4793d074025c7166d402a6fe07
+DIST telepathy-qt4-0.5.12.tar.gz 3050583 RMD160 688479544825652a04429640394782c466a243a3 SHA1 000405c04c6d1d7df787c578d04024c2339b4072 SHA256 505c92238ccc1c82d0dcf483238716e0d86a5eb9c8135b2110f4ab62b6212e5c
DIST telepathy-qt4-0.5.6.tar.gz 1899276 RMD160 c1edc528a093bb06736d3723aee7946aaf902711 SHA1 5f74e792e7502e86bd4354cb4f9d6605ce13e41a SHA256 c479445035f394e1f7199c58789627e648e94b1d806dd4e4e77c19c763d1d349
DIST telepathy-qt4-0.5.8.tar.gz 2849697 RMD160 47558d4745798b3d0258c50ae73f281a40f434b9 SHA1 9d7725e7c6ce744781e3c1547d068cc36243454a SHA256 33ad245783ab303c080cedb8df49d7e190d1e6be6f2fa68a2d76fe71067a6dae
EBUILD telepathy-qt4-0.5.0.ebuild 901 RMD160 58bba3dd7c46dee3d4e23348266a366862b54671 SHA1 c3add206d81f314614ea156fa2bb41712d31443a SHA256 5d397102a9be46bcb4f542de2dc2e392cb79c6774e3db9e87f4bc9075831bf4f
+EBUILD telepathy-qt4-0.5.12.ebuild 1129 RMD160 35186ae85b32b62961172efe6772381895f4da0c SHA1 88315d68cfe22129193b5c304eb77c3333ad8ee2 SHA256 46e2ce435e1d2f84d924edb4921b8c317a7a0355b871c11de4f33582d8d5f5fb
EBUILD telepathy-qt4-0.5.6.ebuild 845 RMD160 7f111451ef015f9a0eaccca3b25be111d484f02f SHA1 7528d17a3bb31d14c1cbbec64aac6ea9c4148878 SHA256 0b7d5dd0cbc723b854d7ef3571948fbded9dad8b296874683f62f482af20262a
EBUILD telepathy-qt4-0.5.8.ebuild 945 RMD160 7123f8ccc5492379bec0ffdd2a0f93936363dc44 SHA1 b591c0ee433d05de79821dd9d22a459744b3b3c4 SHA256 e2fa9fd0cddef0c314807769aecfee25b1a61930e5f645c6fc8450f5dcc1d497
-MISC ChangeLog 1229 RMD160 634789d312d95a68e2fb912a286cf9d3e20d9759 SHA1 fb1ee7a83c294396f8572e9229b1a9dfe5cca29a SHA256 9c95c9efb34f83b12e2e09fdfc01c73a7439b8406209a172b3b59f662e79ec50
-MISC metadata.xml 263 RMD160 6f0603a0b18067e89f5c3ea60a31ee23d539532b SHA1 cceb24dc5bcff2bf81ad58a38ad051cd2b3499b0 SHA256 eaf6d5938817fe4e5ff25e8ba78b6214d2a4356cb5366f26b735876e61d6e1d0
+MISC ChangeLog 1463 RMD160 5ce2fdd7da6f1436fe1bde0f93fc7e4e99ee5552 SHA1 239187ff59d06570df41f73a036940305f79ceca SHA256 8efbbf3ba9d78ab97359fa738942e94e6ffdc420b873fd979fde8d52bbeb7745
+MISC metadata.xml 335 RMD160 e68f892510261f37859207aab171783893e86e1f SHA1 756c52f911aa8c3c5487a53500828106ee6554d9 SHA256 f43ecaefe6736cbcadb34db002b505ec454ab7d0328de46c9a6795ff3c212970
diff --git a/net-libs/telepathy-qt4/files/0.5.12_automagicness.patch b/net-libs/telepathy-qt4/files/0.5.12_automagicness.patch
new file mode 100644
index 000000000000..e4f0f11a3e64
--- /dev/null
+++ b/net-libs/telepathy-qt4/files/0.5.12_automagicness.patch
@@ -0,0 +1,169 @@
+diff -urN telepathy-qt4-0.5.12.old/CMakeLists.txt telepathy-qt4-0.5.12/CMakeLists.txt
+--- telepathy-qt4-0.5.12.old/CMakeLists.txt 2011-03-23 08:51:03.000000000 +0100
++++ telepathy-qt4-0.5.12/CMakeLists.txt 2011-03-23 09:02:55.000000000 +0100
+@@ -85,6 +85,11 @@
+ include(Doxygen)
+ include(MacroLogFeature)
+
++# options
++option(WITH_Glib "Enable building with glib features" ON)
++option(WITH_Farsight "Enable building with farsight features" ON)
++option(ENABLE_DEBUG_OUTPUT "Compile support for printing debug output to stderr" ON)
++
+ # external dependencies
+
+ # Required dependencies
+@@ -98,10 +103,9 @@
+
+ add_definitions(-DQT_NO_CAST_FROM_ASCII)
+
+-set(ENABLE_DEBUG_OUTPUT ON CACHE BOOL "If activated, compiles support for printing debug output to stderr")
+-if (ENABLE_DEBUG_OUTPUT)
++if(ENABLE_DEBUG_OUTPUT)
+ add_definitions(-DENABLE_DEBUG)
+-endif (ENABLE_DEBUG_OUTPUT)
++endif(ENABLE_DEBUG_OUTPUT)
+
+ # Check for Qt4 Glib support
+ include(CheckCXXSourceCompiles)
+@@ -109,21 +113,6 @@
+ set(CMAKE_REQUIRED_DEFINITIONS "")
+ set(CMAKE_REQUIRED_FLAGS "")
+
+-CHECK_CXX_SOURCE_COMPILES("
+-#include <QtCore/QtGlobal>
+-int main()
+-{
+-#if defined(QT_NO_GLIB)
+-#error \"Qt was compiled with Glib disabled\"
+-#endif
+-return 0;
+-}"
+-QT4_GLIB_SUPPORT)
+-macro_log_feature(QT4_GLIB_SUPPORT "Qt4 Glib Support"
+- "QtCore library using Glib's main event loop"
+- "http://qt.nokia.com/" FALSE ""
+- "Needed, together with Telepathy-Glib, to build most of the unit tests")
+-
+ # Check for operator== in QDBusVariant
+ SET(CMAKE_REQUIRED_LIBRARIES ${QT_QTCORE_LIBRARY} ${QT_QTDBUS_LIBRARY})
+ CHECK_CXX_SOURCE_COMPILES("
+@@ -172,50 +161,76 @@
+
+ # Find GLib2, GObject, DBus and LibXml2
+ # Those are needed for the insane include dir dependency hell
+-find_package(GLIB2)
+-find_package(GObject)
+-find_package(DBus)
+-find_package(DBusGLib)
+-find_package(LibXml2)
+-
+-# Find tp-farsight
+-set(TELEPATHY_FARSIGHT_MIN_VERSION "0.0.4")
+-find_package(TelepathyFarsight)
+-macro_log_feature(TELEPATHYFARSIGHT_FOUND "Telepathy-Farsight"
+- "A Framework for dealing with audio/video conferencing protocols"
+- "http://farsight.freedesktop.org/wiki/" FALSE "0.0.4"
+- "Needed, together with GStreamer, to build telepathy-qt4-farsight and some additional examples")
+-
+-# Find GStreamer
+-find_package(GStreamer)
+-macro_log_feature(GSTREAMER_FOUND "GStreamer"
+- "An open source multimedia framework"
+- "Needed, together with Tp-Farsight, to build telepathy-qt4-farsight and some additional examples"
+- "http://www.gstreamer.net/" FALSE)
+-
+-# Build TelepathyQt4-Farsight only if GStreamer, TelepathyFarsight and all of their dependencies were found
+-if (TELEPATHYFARSIGHT_FOUND AND GSTREAMER_FOUND AND GLIB2_FOUND AND GOBJECT_FOUND AND DBUS_FOUND AND LIBXML2_FOUND)
+- set (FARSIGHT_COMPONENTS_FOUND 1)
+-else (TELEPATHYFARSIGHT_FOUND AND GSTREAMER_FOUND AND GLIB2_FOUND AND GOBJECT_FOUND AND DBUS_FOUND AND LIBXML2_FOUND)
+- set (FARSIGHT_COMPONENTS_FOUND 0)
+-endif (TELEPATHYFARSIGHT_FOUND AND GSTREAMER_FOUND AND GLIB2_FOUND AND GOBJECT_FOUND AND DBUS_FOUND AND LIBXML2_FOUND)
++if(WITH_Farsight)
++ find_package(GLIB2 REQUIRED)
++ find_package(GObject REQUIRED)
++ find_package(DBus REQUIRED)
++ find_package(DBusGLib REQUIRED)
++ find_package(LibXml2 REQUIRED)
++
++ # Find tp-farsight
++ set(TELEPATHY_FARSIGHT_MIN_VERSION "0.0.4")
++ find_package(TelepathyFarsight REQUIRED)
++ macro_log_feature(TELEPATHYFARSIGHT_FOUND "Telepathy-Farsight"
++ "A Framework for dealing with audio/video conferencing protocols"
++ "http://farsight.freedesktop.org/wiki/" FALSE "0.0.4"
++ "Needed, together with GStreamer, to build telepathy-qt4-farsight and some additional examples")
++
++ # Find GStreamer
++ find_package(GStreamer REQUIRED)
++ macro_log_feature(GSTREAMER_FOUND "GStreamer"
++ "An open source multimedia framework"
++ "Needed, together with Tp-Farsight, to build telepathy-qt4-farsight and some additional examples"
++ "http://www.gstreamer.net/" FALSE)
++
++ # Build TelepathyQt4-Farsight only if GStreamer, TelepathyFarsight and all of their dependencies were found
++ if (TELEPATHYFARSIGHT_FOUND AND GSTREAMER_FOUND AND GLIB2_FOUND AND GOBJECT_FOUND AND DBUS_FOUND AND LIBXML2_FOUND)
++ set (FARSIGHT_COMPONENTS_FOUND 1)
++ else (TELEPATHYFARSIGHT_FOUND AND GSTREAMER_FOUND AND GLIB2_FOUND AND GOBJECT_FOUND AND DBUS_FOUND AND LIBXML2_FOUND)
++ set (FARSIGHT_COMPONENTS_FOUND 0)
++ endif (TELEPATHYFARSIGHT_FOUND AND GSTREAMER_FOUND AND GLIB2_FOUND AND GOBJECT_FOUND AND DBUS_FOUND AND LIBXML2_FOUND)
++else(WITH_Farsight)
++ set(FARSIGHT_COMPONENTS_FOUND 0)
++endif(WITH_Farsight)
+
+ # Find telepathy-glib
+-set(TELEPATHY_GLIB_MIN_VERSION 0.13.10)
+-find_package(TelepathyGlib)
+-macro_log_feature(TELEPATHYGLIB_FOUND "Telepathy-glib"
+- "Glib bindings for Telepathy"
+- "http://telepathy.freedesktop.org/" FALSE "0.13.0"
+- "Needed, together with Qt Glib integration, to build most of the unit tests")
+-
+-find_program(GLIB_GENMARSHAL glib-genmarshal)
+-
+-# Enable glib-based tests only if Qt4 has GLib support and Telepathy-glib was found
+-if(QT4_GLIB_SUPPORT AND TELEPATHYGLIB_FOUND AND GLIB2_FOUND AND DBUS_FOUND)
+- set(ENABLE_TP_GLIB_TESTS 1)
+-else(QT4_GLIB_SUPPORT AND TELEPATHYGLIB_FOUND AND GLIB2_FOUND AND DBUS_FOUND)
+- set(ENABLE_TP_GLIB_TESTS 0)
+-endif(QT4_GLIB_SUPPORT AND TELEPATHYGLIB_FOUND AND GLIB2_FOUND AND DBUS_FOUND)
++if(WITH_Glib)
++ CHECK_CXX_SOURCE_COMPILES("
++ #include <QtCore/QtGlobal>
++ int main()
++ {
++ #if defined(QT_NO_GLIB)
++ #error \"Qt was compiled with Glib disabled\"
++ #endif
++ return 0;
++ }"
++ QT4_GLIB_SUPPORT)
++ macro_log_feature(QT4_GLIB_SUPPORT "Qt4 Glib Support"
++ "QtCore library using Glib's main event loop"
++ "http://qt.nokia.com/" FALSE ""
++ "Needed, together with Telepathy-Glib, to build most of the unit tests")
++
++ find_package(GLIB2 REQUIRED)
++ find_package(DBus REQUIRED)
++
++ set(TELEPATHY_GLIB_MIN_VERSION 0.13.10)
++ find_package(TelepathyGlib REQUIRED)
++ macro_log_feature(TELEPATHYGLIB_FOUND "Telepathy-glib"
++ "Glib bindings for Telepathy"
++ "http://telepathy.freedesktop.org/" FALSE "0.13.0"
++ "Needed, together with Qt Glib integration, to build most of the unit tests")
++
++ find_program(GLIB_GENMARSHAL glib-genmarshal)
++ # Enable glib-based tests only if Qt4 has GLib support and Telepathy-glib was found
++ if(QT4_GLIB_SUPPORT AND TELEPATHYGLIB_FOUND AND GLIB2_FOUND AND DBUS_FOUND)
++ set(ENABLE_TP_GLIB_TESTS 1)
++ else(QT4_GLIB_SUPPORT AND TELEPATHYGLIB_FOUND AND GLIB2_FOUND AND DBUS_FOUND)
++ set(ENABLE_TP_GLIB_TESTS 0)
++ endif(QT4_GLIB_SUPPORT AND TELEPATHYGLIB_FOUND AND GLIB2_FOUND AND DBUS_FOUND)
++else(WITH_Glib)
++ set(ENABLE_TP_GLIB_TESTS 0)
++endif(WITH_Glib)
++
+
+ # Add the source subdirectories
+ add_subdirectory(TelepathyQt4)
diff --git a/net-libs/telepathy-qt4/metadata.xml b/net-libs/telepathy-qt4/metadata.xml
index e823d44ced33..25afcbce2d8c 100644
--- a/net-libs/telepathy-qt4/metadata.xml
+++ b/net-libs/telepathy-qt4/metadata.xml
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <herd>qt</herd>
- <use>
- <flag name='glib'>Enable support for various telepathy/glib related
- packages</flag>
- </use>
+ <herd>qt</herd>
+ <use>
+ <flag name='glib'>Enable support for various telepathy/glib related packages</flag>
+ <flag name='farsight'>Enable support for farsight connection manager</flag>
+ </use>
</pkgmetadata>
diff --git a/net-libs/telepathy-qt4/telepathy-qt4-0.5.12.ebuild b/net-libs/telepathy-qt4/telepathy-qt4-0.5.12.ebuild
new file mode 100644
index 000000000000..64486d163882
--- /dev/null
+++ b/net-libs/telepathy-qt4/telepathy-qt4-0.5.12.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/telepathy-qt4/telepathy-qt4-0.5.12.ebuild,v 1.1 2011/03/23 08:23:47 scarabeus Exp $
+
+PYTHON_DEPEND="2"
+
+EAPI=3
+inherit python base cmake-utils
+
+DESCRIPTION="Qt4 bindings for the Telepathy D-Bus protocol"
+HOMEPAGE="http://telepathy.freedesktop.org/"
+SRC_URI="http://telepathy.freedesktop.org/releases/${PN}/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug glib farsight"
+
+RDEPEND="
+ x11-libs/qt-core:4[glib?]
+ x11-libs/qt-dbus:4
+ dev-python/dbus-python
+ farsight? (
+ dev-libs/dbus-glib
+ dev-libs/libxml2
+ media-libs/gstreamer
+ net-libs/telepathy-glib
+ net-libs/telepathy-farsight
+ )
+"
+DEPEND="${RDEPEND}
+ dev-libs/libxslt
+ dev-util/pkgconfig"
+
+PATCHES=(
+ "${FILESDIR}/${PV}_automagicness.patch"
+)
+
+pkg_setup() {
+ python_set_active_version 2
+ python_pkg_setup
+}
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake-utils_use_enable debug DEBUG_OUTPUT)
+ $(cmake-utils_use_with glib)
+ $(cmake-utils_use_with farsight)
+ )
+ cmake-utils_src_configure
+}