1 |
commit: a0026bbc1a51dce1471ab4646859a5ca7f5e8931 |
2 |
Author: Andreas Sturmlechner <andreas.sturmlechner <AT> gmail <DOT> com> |
3 |
AuthorDate: Sat Oct 8 08:14:37 2016 +0000 |
4 |
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 8 15:58:15 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=a0026bbc |
7 |
|
8 |
net-im/choqok: Drop old |
9 |
|
10 |
Package-Manager: portage-2.3.0 |
11 |
|
12 |
net-im/choqok/choqok-1.5.85.ebuild | 68 -------------- |
13 |
.../files/choqok-1.5.85-telepathy-optional.patch | 100 --------------------- |
14 |
2 files changed, 168 deletions(-) |
15 |
|
16 |
diff --git a/net-im/choqok/choqok-1.5.85.ebuild b/net-im/choqok/choqok-1.5.85.ebuild |
17 |
deleted file mode 100644 |
18 |
index 4f3c2b8..0000000 |
19 |
--- a/net-im/choqok/choqok-1.5.85.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,68 +0,0 @@ |
22 |
-# Copyright 1999-2016 Gentoo Foundation |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
-# $Id$ |
25 |
- |
26 |
-EAPI=6 |
27 |
- |
28 |
-KDE_HANDBOOK="forceoptional" |
29 |
-inherit kde5 |
30 |
- |
31 |
-DESCRIPTION="Free/Open Source micro-blogging client by KDE" |
32 |
-HOMEPAGE="http://choqok.gnufolks.org/" |
33 |
-SRC_URI="mirror://kde/unstable/${PN}/${PV}/src/${P}.tar.xz" |
34 |
- |
35 |
-LICENSE="GPL-2+" |
36 |
-KEYWORDS="~amd64 ~x86" |
37 |
-IUSE="attica konqueror telepathy" |
38 |
- |
39 |
-DEPEND=" |
40 |
- $(add_frameworks_dep kcmutils) |
41 |
- $(add_frameworks_dep kconfig) |
42 |
- $(add_frameworks_dep kconfigwidgets) |
43 |
- $(add_frameworks_dep kcoreaddons) |
44 |
- $(add_frameworks_dep kemoticons) |
45 |
- $(add_frameworks_dep kglobalaccel) |
46 |
- $(add_frameworks_dep kguiaddons) |
47 |
- $(add_frameworks_dep ki18n) |
48 |
- $(add_frameworks_dep kio) |
49 |
- $(add_frameworks_dep kjobwidgets) |
50 |
- $(add_frameworks_dep knotifications) |
51 |
- $(add_frameworks_dep knotifyconfig) |
52 |
- $(add_frameworks_dep kservice) |
53 |
- $(add_frameworks_dep ktextwidgets) |
54 |
- $(add_frameworks_dep kwallet) |
55 |
- $(add_frameworks_dep kwidgetsaddons) |
56 |
- $(add_frameworks_dep kxmlgui) |
57 |
- $(add_frameworks_dep sonnet) |
58 |
- $(add_qt_dep qtdbus) |
59 |
- $(add_qt_dep qtgui) |
60 |
- $(add_qt_dep qtwidgets) |
61 |
- $(add_qt_dep qtxml) |
62 |
- app-crypt/qca[qt5] |
63 |
- dev-libs/qoauth:5 |
64 |
- attica? ( $(add_frameworks_dep attica) ) |
65 |
- konqueror? ( |
66 |
- $(add_frameworks_dep kparts) |
67 |
- $(add_frameworks_dep kdewebkit) |
68 |
- $(add_qt_dep qtwebkit) |
69 |
- ) |
70 |
- telepathy? ( net-libs/telepathy-qt[qt5] ) |
71 |
-" |
72 |
-RDEPEND="${DEPEND} |
73 |
- !net-im/choqok:4 |
74 |
-" |
75 |
- |
76 |
-DOCS=( AUTHORS README TODO changelog ) |
77 |
- |
78 |
-PATCHES=( "${FILESDIR}/${P}-telepathy-optional.patch" ) |
79 |
- |
80 |
-src_configure() { |
81 |
- local mycmakeargs=( |
82 |
- $(cmake-utils_use_find_package attica KF5Attica) |
83 |
- $(cmake-utils_use_find_package konqueror KF5Parts) |
84 |
- $(cmake-utils_use_find_package konqueror KF5WebKit) |
85 |
- $(cmake-utils_use_find_package telepathy TelepathyQt5) |
86 |
- ) |
87 |
- |
88 |
- kde5_src_configure |
89 |
-} |
90 |
|
91 |
diff --git a/net-im/choqok/files/choqok-1.5.85-telepathy-optional.patch b/net-im/choqok/files/choqok-1.5.85-telepathy-optional.patch |
92 |
deleted file mode 100644 |
93 |
index 1e3ec5f..0000000 |
94 |
--- a/net-im/choqok/files/choqok-1.5.85-telepathy-optional.patch |
95 |
+++ /dev/null |
96 |
@@ -1,100 +0,0 @@ |
97 |
-commit 4dad707126176aadf7904660e7d11e0e9fc3d99f |
98 |
-Author: Andreas Sturmlechner <andreas.sturmlechner@×××××.com> |
99 |
-Date: Mon Aug 15 00:46:02 2016 +0200 |
100 |
- |
101 |
- Fix build with disabled TelepathyQt5 |
102 |
- |
103 |
-diff --git a/plugins/imstatus/CMakeLists.txt b/plugins/imstatus/CMakeLists.txt |
104 |
-index 7756eb8..55154eb 100644 |
105 |
---- a/plugins/imstatus/CMakeLists.txt |
106 |
-+++ b/plugins/imstatus/CMakeLists.txt |
107 |
-@@ -1,6 +1,8 @@ |
108 |
- find_package(TelepathyQt5) |
109 |
- |
110 |
--configure_file(config-imstatus.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-imstatus.h) |
111 |
-+if(TelepathyQt5_FOUND) |
112 |
-+ add_definitions( -DTELEPATHY_FOUND ) |
113 |
-+endif() |
114 |
- |
115 |
- include_directories( |
116 |
- ${CHOQOK_INCLUDES} |
117 |
-diff --git a/plugins/imstatus/config-imstatus.h.cmake b/plugins/imstatus/config-imstatus.h.cmake |
118 |
-deleted file mode 100644 |
119 |
-index 12a498a..0000000 |
120 |
---- a/plugins/imstatus/config-imstatus.h.cmake |
121 |
-+++ /dev/null |
122 |
-@@ -1 +0,0 @@ |
123 |
--#define TELEPATHY_FOUND ${TelepathyQt5_FOUND} |
124 |
-diff --git a/plugins/imstatus/imqdbus.cpp b/plugins/imstatus/imqdbus.cpp |
125 |
-index 5840035..ce11790 100644 |
126 |
---- a/plugins/imstatus/imqdbus.cpp |
127 |
-+++ b/plugins/imstatus/imqdbus.cpp |
128 |
-@@ -28,7 +28,7 @@ |
129 |
- #include <QDBusReply> |
130 |
- #include <QDebug> |
131 |
- |
132 |
--#if TELEPATHY_FOUND |
133 |
-+#ifdef TELEPATHY_FOUND |
134 |
- #include <TelepathyQt/Account> |
135 |
- #include <TelepathyQt/AccountManager> |
136 |
- #include <TelepathyQt/AccountSet> |
137 |
-@@ -49,7 +49,7 @@ IMQDBus::IMQDBus(QObject *parent) : QObject(parent) |
138 |
- - qutIM (>0.3) |
139 |
- - gajim ( doesn't want work :( ) |
140 |
- */ |
141 |
--#if TELEPATHY_FOUND |
142 |
-+#ifdef TELEPATHY_FOUND |
143 |
- m_accountManager = Tp::AccountManager::create(Tp::AccountFactory::create(QDBusConnection::sessionBus(), Tp::Account::FeatureCore)); |
144 |
- connect(m_accountManager->becomeReady(), SIGNAL(finished(Tp::PendingOperation*)), SLOT(slotFinished(Tp::PendingOperation*))); |
145 |
- |
146 |
-@@ -71,7 +71,7 @@ void IMQDBus::updateStatusMessage(const QString &im, const QString &statusMessag |
147 |
- if (im == IM_PIDGIN) { |
148 |
- usePidgin(statusMessage); |
149 |
- } |
150 |
--#if TELEPATHY_FOUND |
151 |
-+#ifdef TELEPATHY_FOUND |
152 |
- if (im == IM_TELEPATHY) { |
153 |
- useTelepathy(statusMessage); |
154 |
- } |
155 |
-@@ -190,7 +190,7 @@ void IMQDBus::usePidgin(const QString &statusMessage) |
156 |
- } |
157 |
- } |
158 |
- |
159 |
--#if TELEPATHY_FOUND |
160 |
-+#ifdef TELEPATHY_FOUND |
161 |
- void IMQDBus::useTelepathy(const QString &statusMessage) |
162 |
- { |
163 |
- if (m_accountManager->isReady()) { |
164 |
-@@ -235,7 +235,7 @@ QStringList IMQDBus::scanForIMs() |
165 |
- if (QDBusConnection::sessionBus().interface()->isServiceRegistered(QLatin1String("im.pidgin.purple.PurpleService")).value()) { |
166 |
- ims << IM_PIDGIN; |
167 |
- } |
168 |
--#if TELEPATHY_FOUND |
169 |
-+#ifdef TELEPATHY_FOUND |
170 |
- if (QDBusConnection::sessionBus().interface()->isServiceRegistered(QLatin1String("org.freedesktop.Telepathy.AccountManager")).value()) { |
171 |
- ims << IM_TELEPATHY; |
172 |
- } |
173 |
-diff --git a/plugins/imstatus/imqdbus.h b/plugins/imstatus/imqdbus.h |
174 |
-index 6546e20..c9564df 100644 |
175 |
---- a/plugins/imstatus/imqdbus.h |
176 |
-+++ b/plugins/imstatus/imqdbus.h |
177 |
-@@ -27,9 +27,7 @@ |
178 |
- #include <QObject> |
179 |
- #include <QString> |
180 |
- |
181 |
--#include "config-imstatus.h" |
182 |
-- |
183 |
--#if TELEPATHY_FOUND |
184 |
-+#ifdef TELEPATHY_FOUND |
185 |
- #include <TelepathyQt/Types> |
186 |
- |
187 |
- namespace Tp |
188 |
-@@ -58,7 +56,7 @@ private: |
189 |
- void useSkype(const QString &statusMessage); |
190 |
- void usePidgin(const QString &statusMessage); |
191 |
- |
192 |
--#if TELEPATHY_FOUND |
193 |
-+#ifdef TELEPATHY_FOUND |
194 |
- private Q_SLOTS: |
195 |
- void slotFinished(Tp::PendingOperation *po); |
196 |
- |