diff options
author | Yixun Lan <dlan@gentoo.org> | 2014-11-14 03:34:46 +0000 |
---|---|---|
committer | Yixun Lan <dlan@gentoo.org> | 2014-11-14 03:34:46 +0000 |
commit | 2bfc16a646897f4341f8ed93cd2a5267c2803688 (patch) | |
tree | 3784bc7796e00b0a9cc1a4d0b9e325d04e9d1d7b /net-im/qutim | |
parent | Automated update. (diff) | |
download | gentoo-2-2bfc16a646897f4341f8ed93cd2a5267c2803688.tar.gz gentoo-2-2bfc16a646897f4341f8ed93cd2a5267c2803688.tar.bz2 gentoo-2-2bfc16a646897f4341f8ed93cd2a5267c2803688.zip |
version bump, proxy for fatzer2, bug 501808
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0xAABEFD55)
Diffstat (limited to 'net-im/qutim')
-rw-r--r-- | net-im/qutim/ChangeLog | 8 | ||||
-rw-r--r-- | net-im/qutim/files/qutim-0.3.2-astral-migrate-qt-telepaphy.patch | 151 | ||||
-rw-r--r-- | net-im/qutim/metadata.xml | 6 | ||||
-rw-r--r-- | net-im/qutim/qutim-0.3.2.ebuild | 189 |
4 files changed, 353 insertions, 1 deletions
diff --git a/net-im/qutim/ChangeLog b/net-im/qutim/ChangeLog index d45f81f16600..cb3910a8f2df 100644 --- a/net-im/qutim/ChangeLog +++ b/net-im/qutim/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-im/qutim # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/qutim/ChangeLog,v 1.29 2014/11/06 11:47:38 pinkbyte Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-im/qutim/ChangeLog,v 1.30 2014/11/14 03:34:46 dlan Exp $ + +*qutim-0.3.2 (14 Nov 2014) + + 14 Nov 2014; Yixun Lan <dlan@gentoo.org> +qutim-0.3.2.ebuild, + +files/qutim-0.3.2-astral-migrate-qt-telepaphy.patch, metadata.xml: + version bump, proxy for fatzer2, bug 501808 *qutim-0.3.1-r1 (06 Nov 2014) diff --git a/net-im/qutim/files/qutim-0.3.2-astral-migrate-qt-telepaphy.patch b/net-im/qutim/files/qutim-0.3.2-astral-migrate-qt-telepaphy.patch new file mode 100644 index 000000000000..dd1aba82891c --- /dev/null +++ b/net-im/qutim/files/qutim-0.3.2-astral-migrate-qt-telepaphy.patch @@ -0,0 +1,151 @@ +From bb8654db870d983d5b6558d9f16b22f443315eaf Mon Sep 17 00:00:00 2001 +From: Alexander Golubev <fatzer2@gmail.com> +Date: Mon, 3 Nov 2014 16:30:27 +0300 +Subject: [PATCH 3/3] protocol/astral: migrate to qt-telepaphy API v0.9 + +--- + protocols/astral/src/astralaccount.cpp | 12 ++++++------ + protocols/astral/src/astralaccount.h | 14 +++++++------- + protocols/astral/src/astralcontact.h | 6 +++--- + protocols/astral/src/astralplugin.cpp | 6 +++--- + protocols/astral/src/astralroster.cpp | 14 +++++++------- + protocols/astral/src/astralsession.h | 4 ++-- + 6 files changed, 28 insertions(+), 28 deletions(-) + +diff --git a/protocols/astral/src/astralaccount.cpp b/protocols/astral/src/astralaccount.cpp +index 1d51707..e9bf729 100644 +--- a/protocols/astral/src/astralaccount.cpp ++++ b/protocols/astral/src/astralaccount.cpp +@@ -26,9 +26,9 @@ + #include "astralprotocol.h" + #include "astralroster.h" + #include "astralsessionmanager.h" +-#include <TelepathyQt4/Account> +-#include <TelepathyQt4/AccountManager> +-#include <TelepathyQt4/PendingChannel> ++#include <TelepathyQt/Account> ++#include <TelepathyQt/AccountManager> ++#include <TelepathyQt/PendingChannel> + #include <QDebug> + + struct AstralAccountPrivate +@@ -146,14 +146,14 @@ void AstralAccount::onNewChannels(const Tp::ChannelDetailsList &channels) + qDebug() << "AstralAccount::onNewChannels"; + foreach (const Tp::ChannelDetails &details, channels) + { +- QString channelType = details.properties.value(QLatin1String(TELEPATHY_INTERFACE_CHANNEL ".ChannelType")).toString(); +- bool requested = details.properties.value(QLatin1String(TELEPATHY_INTERFACE_CHANNEL ".Requested")).toBool(); ++ QString channelType = details.properties.value(TP_QT_IFACE_CHANNEL + QLatin1String(".ChannelType")).toString(); ++ bool requested = details.properties.value(TP_QT_IFACE_CHANNEL + QLatin1String(".Requested")).toBool(); + qDebug() << " channelType:" << channelType; + qDebug() << " requested :" << requested; + qDebug() << " channelPath:" << details.channel.path(); + qDebug() << " properties :" << details.properties; + +- if (channelType == TELEPATHY_INTERFACE_CHANNEL_TYPE_TEXT && !requested) ++ if (channelType == TP_QT_IFACE_CHANNEL_TYPE_TEXT && !requested) + { + TextChannelPtr channel = TextChannel::create(p->conn, + details.channel.path(), +diff --git a/protocols/astral/src/astralaccount.h b/protocols/astral/src/astralaccount.h +index 2781fb9..6e4378d 100644 +--- a/protocols/astral/src/astralaccount.h ++++ b/protocols/astral/src/astralaccount.h +@@ -26,13 +26,13 @@ + #define ASTRALACCOUNT_H + + #include <qutim/account.h> +-#include <TelepathyQt4/ConnectionManager> +-#include <TelepathyQt4/Connection> +-#include <TelepathyQt4/TextChannel> +-#include <TelepathyQt4/AccountManager> +-#include <TelepathyQt4/PendingConnection> +-#include <TelepathyQt4/PendingOperation> +-#include <TelepathyQt4/PendingReady> ++#include <TelepathyQt/ConnectionManager> ++#include <TelepathyQt/Connection> ++#include <TelepathyQt/TextChannel> ++#include <TelepathyQt/AccountManager> ++#include <TelepathyQt/PendingConnection> ++#include <TelepathyQt/PendingOperation> ++#include <TelepathyQt/PendingReady> + + #include "astralroster.h" + +diff --git a/protocols/astral/src/astralcontact.h b/protocols/astral/src/astralcontact.h +index ce0e9dd..5adfb07 100644 +--- a/protocols/astral/src/astralcontact.h ++++ b/protocols/astral/src/astralcontact.h +@@ -26,9 +26,9 @@ + #define ASTRALCONTACT_H + + #include <qutim/contact.h> +-#include <TelepathyQt4/Types> +-#include <TelepathyQt4/Contact> +-#include <TelepathyQt4/Connection> ++#include <TelepathyQt/Types> ++#include <TelepathyQt/Contact> ++#include <TelepathyQt/Connection> + + using namespace Tp; + using namespace qutim_sdk_0_3; +diff --git a/protocols/astral/src/astralplugin.cpp b/protocols/astral/src/astralplugin.cpp +index e907866..d79642e 100644 +--- a/protocols/astral/src/astralplugin.cpp ++++ b/protocols/astral/src/astralplugin.cpp +@@ -24,9 +24,9 @@ + ****************************************************************************/ + #include "astralplugin.h" + #include <QtCore/QtDebug> +-#include <TelepathyQt4/Debug> +-#include <TelepathyQt4/Constants> +-#include <TelepathyQt4/Types> ++#include <TelepathyQt/Debug> ++#include <TelepathyQt/Constants> ++#include <TelepathyQt/Types> + //#include <TelepathyQt4/ConnectionInterfaceAvatarsInterface> + + AstralPlugin::AstralPlugin() +diff --git a/protocols/astral/src/astralroster.cpp b/protocols/astral/src/astralroster.cpp +index 9eb209f..588cc55 100644 +--- a/protocols/astral/src/astralroster.cpp ++++ b/protocols/astral/src/astralroster.cpp +@@ -24,13 +24,13 @@ + ****************************************************************************/ + #include "astralroster.h" + #include "astralaccount.h" +-#include <TelepathyQt4/Types> +-#include <TelepathyQt4/Contact> +-#include <TelepathyQt4/ContactManager> +-#include <TelepathyQt4/PendingConnection> +-#include <TelepathyQt4/PendingContacts> +-#include <TelepathyQt4/PendingOperation> +-#include <TelepathyQt4/PendingReady> ++#include <TelepathyQt/Types> ++#include <TelepathyQt/Contact> ++#include <TelepathyQt/ContactManager> ++#include <TelepathyQt/PendingConnection> ++#include <TelepathyQt/PendingContacts> ++#include <TelepathyQt/PendingOperation> ++#include <TelepathyQt/PendingReady> + + struct AstralRosterPrivate + { +diff --git a/protocols/astral/src/astralsession.h b/protocols/astral/src/astralsession.h +index fa78e45..a5dd1c3 100644 +--- a/protocols/astral/src/astralsession.h ++++ b/protocols/astral/src/astralsession.h +@@ -26,8 +26,8 @@ + #define ASTRALSESSION_H + + #include <qutim/chatunit.h> +-#include <TelepathyQt4/TextChannel> +-#include <TelepathyQt4/Message> ++#include <TelepathyQt/TextChannel> ++#include <TelepathyQt/Message> + + using namespace qutim_sdk_0_3; + using namespace Tp; +-- +2.0.4 + diff --git a/net-im/qutim/metadata.xml b/net-im/qutim/metadata.xml index 68fc775ae7ba..b76ad74349b6 100644 --- a/net-im/qutim/metadata.xml +++ b/net-im/qutim/metadata.xml @@ -32,5 +32,11 @@ <flag name="vkontakte">Enable vkontakte protocol support</flag> <flag name="webkit">Enable Adium-like WebView plugin</flag> <flag name="xscreensaver">Use X screensaver protocol extension to monitor idle/active status based on mouse/keyboard events</flag> + <flag name="tools">Enable some extra tools for qt developers</flag> + <flag name="telepathy">Enable to connect various IMs through <pkg>net-im/telepathy-*</pkg></flag> + <flag name="antiboss">Enable support for the antiboss plugin</flag> + <flag name="espionage">!!Not recomended, contains privacy risk!! Enable control plugin that controls user by sending messages and roster to remote server</flag> + <flag name="mobility">Enable several mobility related plugins like vibro notification</flag> + <flag name="plugman">Enable downloadable content management with <pkg>dev-libs/libattica</pkg></flag> </use> </pkgmetadata> diff --git a/net-im/qutim/qutim-0.3.2.ebuild b/net-im/qutim/qutim-0.3.2.ebuild new file mode 100644 index 000000000000..dd85a5e8776d --- /dev/null +++ b/net-im/qutim/qutim-0.3.2.ebuild @@ -0,0 +1,189 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-im/qutim/qutim-0.3.2.ebuild,v 1.1 2014/11/14 03:34:46 dlan Exp $ + +EAPI=5 + +LANGS="ar be bg cs de en_GB es fr he nds ru sk uk uz zh_CN" + +inherit qt4-r2 cmake-utils + +DESCRIPTION="Qt4-based multi-protocol instant messenger" +HOMEPAGE="http://www.qutim.org" +SRC_URI="http://www.qutim.org/dwnl/68/${P}.tar.xz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +# general USE +IUSE="doc +sound tools" +# protocol uses +IUSE="$IUSE telepathy irc jabber jingle mrim oscar purple vkontakte" +# plugins +IUSE="$IUSE antiboss aspell ayatana awn crypt dbus debug -espionage histman hunspell + kde mobility otr plugman phonon purple qml sdl +ssl +xscreensaver webkit" + +REQUIRED_USE=" + oscar? ( ssl ) + jingle? ( jabber ) + qml? ( webkit ) +" + +# Minimum Qt version required +QT_PV="4.7.0:4" + +CDEPEND=" + x11-libs/libqxt + >=dev-qt/qtcore-${QT_PV}[ssl?] + >=dev-qt/qtgui-${QT_PV} + >=dev-qt/qtscript-${QT_PV} + + telepathy? ( >=net-libs/telepathy-qt-0.3 ) + jabber? ( + app-crypt/qca:2 + >=net-libs/jreen-1.2.0 + ) + jingle? ( dev-qt/qt-mobility[multimedia] ) + oscar? ( app-crypt/qca:2 ) + purple? ( net-im/pidgin ) + vkontakte? ( >=dev-qt/qtwebkit-${QT_PV} ) + + aspell? ( app-text/aspell ) + awn? ( >=dev-qt/qtdbus-${QT_PV} ) + crypt? ( app-crypt/qca:2 ) + dbus? ( >=dev-qt/qtdbus-${QT_PV} ) + debug? ( >=dev-qt/qtdeclarative-${QT_PV} ) + espionage? ( app-crypt/qca:2 ) + histman? ( >=dev-qt/qtsql-${QT_PV} ) + ayatana? ( >=dev-libs/libindicate-qt-0.2.2 ) + hunspell? ( app-text/hunspell ) + kde? ( kde-base/kdelibs:4 ) + mobility? ( + dev-qt/qt-mobility[multimedia,feedback] + >=dev-qt/qtbearer-${QT_PV} + ) + otr? ( + >=net-libs/libotr-3.2.0 + <net-libs/libotr-4.0.0 + ) + phonon? ( + kde? ( media-libs/phonon ) + !kde? ( || ( >=dev-qt/qtphonon-${QT_PV} media-libs/phonon ) ) + ) + plugman? ( + dev-libs/libattica[qt4] + app-arch/libarchive + >=dev-qt/qtdeclarative-${QT_PV} + ) + qml? ( + >=dev-qt/qtdeclarative-${QT_PV} + >=dev-qt/qtopengl-${QT_PV} + ) + sdl? ( media-libs/sdl-mixer ) + xscreensaver? ( x11-libs/libXScrnSaver ) + webkit? ( >=dev-qt/qtwebkit-${QT_PV} ) +" +DEPEND="${CDEPEND} + virtual/pkgconfig + doc? ( app-doc/doxygen ) + kde? ( dev-util/automoc ) +" +RDEPEND="${CDEPEND} + jabber? ( app-crypt/qca-gnupg:2 ) + oscar? ( app-crypt/qca-ossl:2 ) + kde-base/oxygen-icons +" + +DOCS=( AUTHORS INSTALL ChangeLog ) +PATCHES=( + "${FILESDIR}/${PN}-0.3.1-cmake-2.8.12-kde-build.patch" + "${FILESDIR}/${P}-astral-migrate-qt-telepaphy.patch" +) + +src_prepare() { + # fix automagic dep on libXScrnSaver + if ! use xscreensaver; then + sed -i -e '/XSS xscrnsaver/d' \ + core/src/corelayers/idledetector/CMakeLists.txt || die + fi + + # fix automagic dep on qt-mobility for jingle + if ! use jingle; then + sed -i -e '/find_package(QtMobility)/d' \ + protocols/jabber/CMakeLists.txt || die + fi + + # remove unwanted translations + local lang + for lang in ${LANGS}; do + use linguas_${lang} || rm -f translations/modules/*/${lang}.{po,ts} + done + + cmake-utils_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DSYSTEM_JREEN=ON + $(cmake-utils_use_with doc DOXYGEN) + $(cmake-utils_use doc QUTIM_GENERATE_DOCS) + $(cmake-utils_use sound QUTIM_INSTALL_SOUND_THEME ) + $(cmake-utils_use tools QUTIM_DEVELOPER_BUILD ) + + # protocols + $(cmake-utils_use telepathy ASTRAL ) + $(cmake-utils_use irc ) + $(cmake-utils_use jabber ) + $(cmake-utils_use mrim ) + $(cmake-utils_use oscar ) + $(cmake-utils_use purple QUETZAL ) + $(cmake-utils_use vkontakte ) + + # plugins + $(cmake-utils_use webkit ADIUMWEBVIEW ) + $(cmake-utils_use crypt AESCRYPTO ) + $(cmake-utils_use antiboss ANTIBOSS ) + $(cmake-utils_use aspell ASPELLER ) + $(cmake-utils_use awn AWN ) + $(cmake-utils_use espionage CONTROL ) # Also requires -DENABLE_ESPIONAGE=ON (see bellow) + $(cmake-utils_use dbus DBUSAPI ) + $(cmake-utils_use dbus DBUSNOTIFICATIONS ) + $(cmake-utils_use histman HISTMAN ) + $(cmake-utils_use hunspell HUNSPELLER ) + $(cmake-utils_use ayatana INDICATOR ) + $(cmake-utils_use kde KDEINTEGRATION ) + $(cmake-utils_use qml KINETICPOPUPS ) + $(cmake-utils_use phonon PHONONSOUND ) + $(cmake-utils_use plugman PLUGMAN ) + $(cmake-utils_use debug LOGGER ) + $(cmake-utils_use mobility MOBILITY ) + $(cmake-utils_use dbus NOWPLAYING ) + $(cmake-utils_use otr OFFTHERECORD ) + $(cmake-utils_use qml QMLCHAT ) + $(cmake-utils_use sdl SDLSOUND ) + $(cmake-utils_use_enable espionage ) + -DLINUXINTEGRATION=ON + -DDOCKTILE=OFF # QtDockTile currenly supports only unity; + # consider to make it optional if it also support kde or whatever + -DUPDATER=OFF + ) + # NOTE: Integration plugins are autodisabled: + # symbianintegration macintegration maemo5integration haikunotifications meegointegration winintegration + + cmake-utils_src_configure +} + +pkg_postinst () { + elog "Next qutim plugins are enabled by default:" + elog " antispam autopaster autoreply birthdayreminder blogimprover clconf" + elog " emoedit floaties formula highlighter imagepub massmessaging" + elog " oldcontactdelegate qrcicons screenshoter scriptapi unreadmessageskeeper urlpreview" + elog " weather webhistory yandexnarod" + elog "If you have strong reasons to make their build optional feel free to fill bugrepot." + + if use espionage; then + ewarn "You have enabled the control (espionage) plugin. It may " + ewarn "deal negative security impact on the privacy of your client." + fi +} |