public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: net-im/kadu/, net-im/kadu/files/
@ 2017-11-03  2:10 Maciej Mrozowski
  0 siblings, 0 replies; 6+ messages in thread
From: Maciej Mrozowski @ 2017-11-03  2:10 UTC (permalink / raw
  To: gentoo-commits

commit:     2c5a02cd1cf4f6ccec3b0317b1d4b867f107448c
Author:     Maciej Mrozowski <reavertm <AT> gentoo <DOT> org>
AuthorDate: Fri Nov  3 02:10:25 2017 +0000
Commit:     Maciej Mrozowski <reavertm <AT> gentoo <DOT> org>
CommitDate: Fri Nov  3 02:10:44 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c5a02cd

net-im/kadu: Update gtk icon cache, bug 630464. Remove custom handling of ccache, bug 622610.

Package-Manager: Portage-2.3.8, Repoman-2.3.4

 net-im/kadu/files/kadu-4.3-do-not-force-ccache.patch | 17 +++++++++++++++++
 net-im/kadu/kadu-4.3-r1.ebuild                       | 10 +++++++++-
 2 files changed, 26 insertions(+), 1 deletion(-)

diff --git a/net-im/kadu/files/kadu-4.3-do-not-force-ccache.patch b/net-im/kadu/files/kadu-4.3-do-not-force-ccache.patch
new file mode 100644
index 00000000000..2511f3c42b9
--- /dev/null
+++ b/net-im/kadu/files/kadu-4.3-do-not-force-ccache.patch
@@ -0,0 +1,17 @@
+diff -ruN kadu-4.3/CMakeLists.txt my/CMakeLists.txt
+--- kadu-4.3/CMakeLists.txt	2017-01-24 22:36:21.000000000 +0100
++++ my/CMakeLists.txt	2017-11-03 03:00:07.005162047 +0100
+@@ -75,13 +75,6 @@
+ 	endif ()
+ endif ()
+ 
+-## CCache is cool stuff to improve compilation time
+-find_program (CCACHE_FOUND ccache)
+-if (CCACHE_FOUND)
+-	set_property (GLOBAL PROPERTY RULE_LAUNCH_COMPILE ccache)
+-	set_property (GLOBAL PROPERTY RULE_LAUNCH_LINK ccache)
+-endif (CCACHE_FOUND)
+-
+ # Look above, DEBUG_ENABLED is always enabled in Debug configuration.
+ # Enable it in all configurations when ENABLE_DEVELOPER_BUILD is on.
+ if (ENABLE_DEVELOPER_BUILD)

diff --git a/net-im/kadu/kadu-4.3-r1.ebuild b/net-im/kadu/kadu-4.3-r1.ebuild
index b3e45cf121e..a2dbc88c32f 100644
--- a/net-im/kadu/kadu-4.3-r1.ebuild
+++ b/net-im/kadu/kadu-4.3-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI="6"
 
-inherit cmake-utils flag-o-matic
+inherit cmake-utils flag-o-matic gnome2-utils
 
 MY_P="${P/_/-}"
 
@@ -100,6 +100,10 @@ tabs
 word_fix
 '
 
+PATCHES=(
+	"${FILESDIR}/${PN}-4.3-do-not-force-ccache.patch"
+)
+
 src_configure() {
 	# Filter out dangerous flags
 	filter-flags -fno-rtti
@@ -128,3 +132,7 @@ src_configure() {
 
 	cmake-utils_src_configure
 }
+
+pkg_postinst() {
+	gnome2_icon_cache_update
+}


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-im/kadu/, net-im/kadu/files/
@ 2017-11-03  2:37 Maciej Mrozowski
  0 siblings, 0 replies; 6+ messages in thread
From: Maciej Mrozowski @ 2017-11-03  2:37 UTC (permalink / raw
  To: gentoo-commits

commit:     d98611843b68f0c3d545d291df522f1b71a60737
Author:     Maciej Mrozowski <reavertm <AT> gentoo <DOT> org>
AuthorDate: Fri Nov  3 02:37:32 2017 +0000
Commit:     Maciej Mrozowski <reavertm <AT> gentoo <DOT> org>
CommitDate: Fri Nov  3 02:37:32 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9861184

net-im/kadu: Make rpath absolute, bug 614202.

Package-Manager: Portage-2.3.8, Repoman-2.3.4

 net-im/kadu/files/kadu-4.3-fix-plugins-rpath.patch | 12 ++++++++++++
 net-im/kadu/kadu-4.3-r1.ebuild                     |  1 +
 2 files changed, 13 insertions(+)

diff --git a/net-im/kadu/files/kadu-4.3-fix-plugins-rpath.patch b/net-im/kadu/files/kadu-4.3-fix-plugins-rpath.patch
new file mode 100644
index 00000000000..bb171af5f41
--- /dev/null
+++ b/net-im/kadu/files/kadu-4.3-fix-plugins-rpath.patch
@@ -0,0 +1,12 @@
+diff -ruN kadu-4.3/cmake/KaduMacros.cmake my/cmake/KaduMacros.cmake
+--- kadu-4.3/cmake/KaduMacros.cmake	2017-01-24 22:36:21.000000000 +0100
++++ my/cmake/KaduMacros.cmake	2017-11-03 03:24:17.827054622 +0100
+@@ -221,7 +221,7 @@
+ 
+ 	if (NOT WIN32)
+ 		set_target_properties (${KADU_PLUGIN_NAME} PROPERTIES
+-			INSTALL_RPATH "${KADU_INSTALL_LIB_DIR}/kadu"
++			INSTALL_RPATH "${KADU_INSTALL_PREFIX}/${KADU_INSTALL_LIB_DIR}/kadu"
+ 			BUILD_WITH_INSTALL_RPATH TRUE
+ 		)
+ 	endif ()

diff --git a/net-im/kadu/kadu-4.3-r1.ebuild b/net-im/kadu/kadu-4.3-r1.ebuild
index a2dbc88c32f..b33c0729b45 100644
--- a/net-im/kadu/kadu-4.3-r1.ebuild
+++ b/net-im/kadu/kadu-4.3-r1.ebuild
@@ -102,6 +102,7 @@ word_fix
 
 PATCHES=(
 	"${FILESDIR}/${PN}-4.3-do-not-force-ccache.patch"
+	"${FILESDIR}/${PN}-4.3-fix-plugins-rpath.patch"
 )
 
 src_configure() {


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-im/kadu/, net-im/kadu/files/
@ 2018-03-22 12:22 Andreas Sturmlechner
  0 siblings, 0 replies; 6+ messages in thread
From: Andreas Sturmlechner @ 2018-03-22 12:22 UTC (permalink / raw
  To: gentoo-commits

commit:     44f39950b3a43193931dcbae213fa65321e0aac8
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 22 11:10:38 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu Mar 22 12:16:05 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44f39950

net-im/kadu: Fix build with GCC-7

Thanks-to: Arfrever Frehtes Taifersar Arahesis <arfrever.fta <AT> gmail.com>
Closes: https://bugs.gentoo.org/636738
Package-Manager: Portage-2.3.24, Repoman-2.3.6

 net-im/kadu/files/kadu-4.3-gcc7.patch | 10 ++++++++++
 net-im/kadu/kadu-4.3-r1.ebuild        |  3 ++-
 2 files changed, 12 insertions(+), 1 deletion(-)

diff --git a/net-im/kadu/files/kadu-4.3-gcc7.patch b/net-im/kadu/files/kadu-4.3-gcc7.patch
new file mode 100644
index 00000000000..097157f98c7
--- /dev/null
+++ b/net-im/kadu/files/kadu-4.3-gcc7.patch
@@ -0,0 +1,10 @@
+--- a/kadu-core/plugin/dependency-graph/plugin-dependency-graph-builder.h
++++ b/kadu-core/plugin/dependency-graph/plugin-dependency-graph-builder.h
+@@ -20,6 +20,7 @@
+ #pragma once
+ 
+ #include <QtCore/QObject>
++#include <functional>
+ #include <map>
+ #include <set>
+ 

diff --git a/net-im/kadu/kadu-4.3-r1.ebuild b/net-im/kadu/kadu-4.3-r1.ebuild
index 64b44fa43c1..5e1f571bbf7 100644
--- a/net-im/kadu/kadu-4.3-r1.ebuild
+++ b/net-im/kadu/kadu-4.3-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -103,6 +103,7 @@ word_fix
 PATCHES=(
 	"${FILESDIR}/${PN}-4.3-do-not-force-ccache.patch"
 	"${FILESDIR}/${PN}-4.3-fix-plugins-rpath.patch"
+	"${FILESDIR}/${PN}-4.3-gcc7.patch"
 )
 
 src_configure() {


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-im/kadu/, net-im/kadu/files/
@ 2018-08-25  8:55 Andreas Sturmlechner
  0 siblings, 0 replies; 6+ messages in thread
From: Andreas Sturmlechner @ 2018-08-25  8:55 UTC (permalink / raw
  To: gentoo-commits

commit:     e80bbd9e976c7d965f1f56cd1cc09ee6f019629f
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 25 08:53:29 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Aug 25 08:54:52 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e80bbd9e

net-im/kadu: Drop 2.1

Package-Manager: Portage-2.3.48, Repoman-2.3.10

 net-im/kadu/Manifest                               |   1 -
 .../kadu/files/kadu-2.1-port-to-QtQuick-2.3.patch  | 150 ---------------------
 net-im/kadu/files/kadu-2.1-qt5-compilation.patch   |  11 --
 net-im/kadu/kadu-2.1-r2.ebuild                     | 138 -------------------
 net-im/kadu/metadata.xml                           |   1 -
 5 files changed, 301 deletions(-)

diff --git a/net-im/kadu/Manifest b/net-im/kadu/Manifest
index cff5a2e9fc0..01f168c5213 100644
--- a/net-im/kadu/Manifest
+++ b/net-im/kadu/Manifest
@@ -1,2 +1 @@
-DIST kadu-2.1.tar.bz2 6013519 BLAKE2B 31df1b245ec402a44c60581084d4ec9216636e14a1c11d8609862d982ad08ff3717c16bc9431c21366ef9852eb0035828a11d8010178736ec6b6ebfbadfd971c SHA512 3f0e38aefbaf15f357ae8232b1364deb5954a2464895fafa0a324ad99c7d14c6ba7495bed51d628e04c30bbaaf8e49412c70bbbbf01a40f360406c1afba2384a
 DIST kadu-4.3.tar.bz2 8087786 BLAKE2B b63ce2beebb1fd1f64ae8e85430784c6c7d25a071e00342e33d97a2e49b25c02ab131fb30d591acc11a336427118d4dd23e03d89ad07ef066eca09d0463397db SHA512 fb3d16320894bbfbd50e695d61f305710e59bccce84319389a4047626e97da95ded0b35bc5f7e5d8c2ac96594693b14dd8dd8d46eb1863f89d3eec2e51c73cc9

diff --git a/net-im/kadu/files/kadu-2.1-port-to-QtQuick-2.3.patch b/net-im/kadu/files/kadu-2.1-port-to-QtQuick-2.3.patch
deleted file mode 100644
index cdfd549a347..00000000000
--- a/net-im/kadu/files/kadu-2.1-port-to-QtQuick-2.3.patch
+++ /dev/null
@@ -1,150 +0,0 @@
-From 6912d8fc02b5ff4d6675656d6c00506c48fdd940 Mon Sep 17 00:00:00 2001
-From: Rafał Przemysław Malinowski <rafal.przemyslaw.malinowski@gmail.com>
-Date: Sat, 21 Mar 2015 01:32:11 +0100
-Subject: [PATCH] gui: ported open chat with from qml to quick 2.3
-
-Signed-off-by: Rafał Przemysław Malinowski <rafal.przemyslaw.malinowski@gmail.com>
----
- cmake/KaduMacros.cmake                                  |  2 +-
- kadu-core/CMakeLists.txt                                |  2 +-
- kadu-core/gui/windows/open-chat-with/open-chat-with.cpp | 11 ++++++-----
- kadu-core/gui/windows/open-chat-with/open-chat-with.h   |  4 ++--
- tests/CMakeLists.txt                                    |  2 +-
- varia/qml/Contact.qml                                   |  2 +-
- varia/qml/ContactsGridView.qml                          |  2 +-
- varia/qml/openChatWith.qml                              |  2 +-
- 8 files changed, 14 insertions(+), 13 deletions(-)
-
-diff --git a/cmake/KaduMacros.cmake b/cmake/KaduMacros.cmake
-index ac9e94e..0a7712a 100644
---- a/cmake/KaduMacros.cmake
-+++ b/cmake/KaduMacros.cmake
-@@ -183,7 +183,7 @@ function (kadu_plugin KADU_PLUGIN_NAME)
- 		endforeach ()
- 	endif ()
- 
--	qt5_use_modules (${KADU_PLUGIN_NAME} LINK_PRIVATE Core Gui Widgets Network Xml WebKit WebKitWidgets Declarative)
-+	qt5_use_modules (${KADU_PLUGIN_NAME} LINK_PRIVATE Core Gui Network Qml Quick QuickWidgets WebKit WebKitWidgets Widgets Xml)
- 	if (UNIX AND NOT APPLE)
- 		qt5_use_modules (${KADU_PLUGIN_NAME} LINK_PRIVATE DBus)
- 	endif ()
-diff --git a/kadu-core/CMakeLists.txt b/kadu-core/CMakeLists.txt
-index be52339..46317d1 100644
---- a/kadu-core/CMakeLists.txt
-+++ b/kadu-core/CMakeLists.txt
-@@ -205,7 +205,7 @@ if (FAST_LINKING)
- 	endif ()
- endif ()
- 
--qt5_use_modules (libkadu LINK_PRIVATE Core Gui Widgets Xml Network WebKit WebKitWidgets Declarative)
-+qt5_use_modules (libkadu LINK_PRIVATE Core Gui Network Qml Quick QuickWidgets WebKit WebKitWidgets Widgets Xml)
- if (UNIX AND NOT APPLE)
- 	qt5_use_modules (libkadu LINK_PRIVATE DBus X11Extras)
- endif ()
-diff --git a/kadu-core/gui/windows/open-chat-with/open-chat-with.cpp b/kadu-core/gui/windows/open-chat-with/open-chat-with.cpp
-index 2c14c3f..9ff00d1 100644
---- a/kadu-core/gui/windows/open-chat-with/open-chat-with.cpp
-+++ b/kadu-core/gui/windows/open-chat-with/open-chat-with.cpp
-@@ -21,8 +21,9 @@
-  * along with this program. If not, see <http://www.gnu.org/licenses/>.
-  */
- 
--#include <QtDeclarative/QDeclarativeContext>
--#include <QtDeclarative/QDeclarativeView>
-+#include <QtQml/QQmlContext>
-+#include <QtQuick/QQuickItem>
-+#include <QtQuickWidgets/QQuickWidget>
- #include <QtGui/QKeyEvent>
- #include <QtWidgets/QApplication>
- #include <QtWidgets/QDesktopWidget>
-@@ -97,18 +98,18 @@ OpenChatWith::OpenChatWith() :
- 
- 	MainLayout->addWidget(idWidget);
- 
--	BuddiesView = new QDeclarativeView();
-+	BuddiesView = new QQuickWidget();
- 
- 	Chain = new ModelChain(this);
- 	ListModel = new BuddyListModel(Chain);
- 	Chain->setBaseModel(ListModel);
- 	Chain->addProxyModel(new TalkableProxyModel(Chain));
- 
--	QDeclarativeContext *declarativeContext = BuddiesView->rootContext();
-+	QQmlContext *declarativeContext = BuddiesView->rootContext();
- 	declarativeContext->setContextProperty("buddies", Chain->lastModel());
- 
- 	BuddiesView->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
--	BuddiesView->setResizeMode(QDeclarativeView::SizeRootObjectToView);
-+	BuddiesView->setResizeMode(QQuickWidget::SizeRootObjectToView);
- 	BuddiesView->setSource(QUrl("file:///" + Application::instance()->pathsProvider()->dataPath() + "qml/openChatWith.qml"));
- 
- 	if (BuddiesView->rootObject())
-diff --git a/kadu-core/gui/windows/open-chat-with/open-chat-with.h b/kadu-core/gui/windows/open-chat-with/open-chat-with.h
-index b079b25..8268d8e 100644
---- a/kadu-core/gui/windows/open-chat-with/open-chat-with.h
-+++ b/kadu-core/gui/windows/open-chat-with/open-chat-with.h
-@@ -29,9 +29,9 @@
- 
- #include "open-chat-with-runner.h"
- 
--class QDeclarativeView;
- class QLabel;
- class QPushButton;
-+class QQuickWidget;
- class QVBoxLayout;
- 
- class BuddyListModel;
-@@ -46,7 +46,7 @@ class KADUAPI OpenChatWith : public QWidget, DesktopAwareObject
- 
- 	explicit OpenChatWith();
- 
--	QDeclarativeView *BuddiesView;
-+	QQuickWidget *BuddiesView;
- 	LineEditWithClearButton *ContactID;
- 	QVBoxLayout *MainLayout;
- 	OpenChatWithRunner *OpenChatRunner;
-diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
-index 0dc1dcf..db7c42d 100644
---- a/tests/CMakeLists.txt
-+++ b/tests/CMakeLists.txt
-@@ -31,7 +31,7 @@ function (kadu_add_test name_)
- 	endif ()
- 	add_test ("${sourcePath}/${name_}" ${name_})
- 
--	qt5_use_modules (${name_} LINK_PRIVATE Core Gui Widgets Xml Network WebKit WebKitWidgets Declarative Test)
-+	qt5_use_modules (${name_} LINK_PRIVATE Core Gui Network Qml Quick QuickWidgets Test WebKit WebKitWidgets Widgets Xml)
- 
- 	# Add libkadu after the plugin so that --as-needed won't drop anything
- 	# needed by the plugin.
-diff --git a/varia/qml/Contact.qml b/varia/qml/Contact.qml
-index 54a551e..2257348 100644
---- a/varia/qml/Contact.qml
-+++ b/varia/qml/Contact.qml
-@@ -1,4 +1,4 @@
--import QtQuick 1.1
-+import QtQuick 2.3
- 
- Rectangle
- {
-diff --git a/varia/qml/ContactsGridView.qml b/varia/qml/ContactsGridView.qml
-index 769a419..141931e 100644
---- a/varia/qml/ContactsGridView.qml
-+++ b/varia/qml/ContactsGridView.qml
-@@ -1,4 +1,4 @@
--import QtQuick 1.1
-+import QtQuick 2.3
- 
- Item
- {
-diff --git a/varia/qml/openChatWith.qml b/varia/qml/openChatWith.qml
-index 317133e..cce65b5 100644
---- a/varia/qml/openChatWith.qml
-+++ b/varia/qml/openChatWith.qml
-@@ -1,4 +1,4 @@
--import QtQuick 1.1
-+import QtQuick 2.3
- 
- Item
- {
---
-libgit2 0.24.0

diff --git a/net-im/kadu/files/kadu-2.1-qt5-compilation.patch b/net-im/kadu/files/kadu-2.1-qt5-compilation.patch
deleted file mode 100644
index 68120a4ede0..00000000000
--- a/net-im/kadu/files/kadu-2.1-qt5-compilation.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -ruN kadu-2.1/kadu-core/os/single-application/single-application.cpp my/kadu-core/os/single-application/single-application.cpp
---- kadu-2.1/kadu-core/os/single-application/single-application.cpp	2015-03-24 22:13:18.000000000 +0100
-+++ my/kadu-core/os/single-application/single-application.cpp	2015-07-05 21:08:09.044685214 +0200
-@@ -26,6 +26,7 @@
- #include "long-lived-lock-file.h"
- 
- #include <QtCore/QCoreApplication>
-+#include <QtCore/QDataStream>
- #include <QtCore/QDir>
- #include <QtCore/QRegExp>
- #include <QtNetwork/QLocalServer>

diff --git a/net-im/kadu/kadu-2.1-r2.ebuild b/net-im/kadu/kadu-2.1-r2.ebuild
deleted file mode 100644
index ad5ee9102d6..00000000000
--- a/net-im/kadu/kadu-2.1-r2.ebuild
+++ /dev/null
@@ -1,138 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-
-inherit cmake-utils flag-o-matic
-
-MY_P="${P/_/-}"
-
-DESCRIPTION="An open source Gadu-Gadu and Jabber/XMPP protocol Instant Messenger client"
-HOMEPAGE="http://www.kadu.net"
-SRC_URI="http://download.kadu.im/stable/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-KEYWORDS="amd64 x86"
-SLOT="0"
-IUSE="+gadu mpd otr phonon sdk speech spell xmpp"
-REQUIRED_USE="
-	|| (
-		gadu
-		xmpp
-	)
-"
-COMMON_DEPEND="
-	app-crypt/qca:2[qt5(+),ssl]
-	>=dev-libs/injeqt-1.0.0
-	>=dev-qt/qtcore-5.2.0:5
-	>=dev-qt/qtdbus-5.2.0:5
-	>=dev-qt/qtdeclarative-5.2.0:5
-	>=dev-qt/qtgui-5.2.0:5
-	>=dev-qt/qtmultimedia-5.2.0:5
-	>=dev-qt/qtnetwork-5.2.0:5
-	>=dev-qt/qtscript-5.2.0:5
-	>=dev-qt/qtsql-5.2.0:5
-	>=dev-qt/qtsvg-5.2.0:5
-	>=dev-qt/qtwebkit-5.2.0:5
-	>=dev-qt/qtwidgets-5.2.0:5
-	>=dev-qt/qtx11extras-5.2.0:5
-	>=dev-qt/qtxml-5.2.0:5
-	>=dev-qt/qtxmlpatterns-5.2.0:5
-	>=app-arch/libarchive-2.6[lzma]
-	x11-libs/libX11
-	x11-libs/libXext
-	x11-libs/libXScrnSaver
-	gadu? ( >=net-libs/libgadu-1.11.1[threads] )
-	mpd? ( media-libs/libmpdclient )
-	otr? (
-		>=dev-libs/libgcrypt-1.2.2:0
-		>=net-libs/libotr-4.1.0
-	)
-	phonon? ( media-libs/phonon[qt5(+)] )
-	spell? ( app-text/enchant )
-	xmpp? (
-		net-dns/libidn
-		sys-libs/zlib
-	)
-"
-DEPEND="${COMMON_DEPEND}
-	>=dev-qt/linguist-tools-5.2.0:5
-	x11-base/xorg-proto
-"
-RDEPEND="${COMMON_DEPEND}
-	speech? ( app-accessibility/powiedz )
-"
-
-PATCHES=(
-	"${FILESDIR}/${P}-qt5-compilation.patch"
-	"${FILESDIR}/${P}-port-to-QtQuick-2.3.patch"
-)
-
-PLUGINS='
-antistring
-auto_hide
-autoaway
-autoresponder
-autostatus
-cenzor
-chat_notify
-config_wizard
-desktop_docking
-docking
-emoticons
-encryption_ng
-encryption_ng_simlite
-exec_notify
-ext_sound
-falf_mediaplayer
-filedesc
-firewall
-freedesktop_notify
-hints
-history
-idle
-imagelink
-last_seen
-mediaplayer
-mprisplayer_mediaplayer
-pcspeaker
-qt4_docking
-qt4_docking_notify
-screenshot simpleview
-single_window
-sms
-sound
-sql_history
-tabs
-word_fix
-'
-
-src_configure() {
-	# Filter out dangerous flags
-	filter-flags -fno-rtti
-	strip-unsupported-flags
-
-	# Ensure -DQT_NO_DEBUG is added
-	append-cppflags -DQT_NO_DEBUG
-
-	# Plugin selection
-	use gadu && PLUGINS+=' gadu_protocol history_migration profiles_import'
-	use mpd && PLUGINS+=' mpd_mediaplayer'
-	use otr && PLUGINS+=' encryption_otr'
-	use phonon && PLUGINS+=' phonon_sound'
-	use speech && PLUGINS+=' speech'
-	use spell && PLUGINS+=' spellchecker'
-	use xmpp && PLUGINS+=' jabber_protocol'
-
-	# Configure package
-	local mycmakeargs=(
-		-DBUILD_DESCRIPTION='Gentoo Linux'
-		-DCOMPILE_PLUGINS="${PLUGINS}"
-		-DNETWORK_IMPLEMENTATION="Qt"
-		-DINSTALL_SDK=$(usex sdk)
-		-DWITH_ENCHANT=$(usex spell)
-	)
-	unset PLUGINS
-
-	cmake-utils_src_configure
-}

diff --git a/net-im/kadu/metadata.xml b/net-im/kadu/metadata.xml
index e884cc37b59..6bf7f337086 100644
--- a/net-im/kadu/metadata.xml
+++ b/net-im/kadu/metadata.xml
@@ -9,7 +9,6 @@
 		<flag name="gadu">Enables Gadu communication protocol</flag>
 		<flag name="mpd">Enables Music Player Daemon support</flag>
 		<flag name="otr">Enable char encryption via OTR library</flag>
-		<flag name="phonon">Enables phonon audio plugin</flag>
 		<flag name="sdk">Install Kadu SDK (cmake module, API headers)</flag>
 		<flag name="speech">Enables speech module</flag>
 	</use>


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-im/kadu/, net-im/kadu/files/
@ 2019-11-22  1:16 Maciej Mrozowski
  0 siblings, 0 replies; 6+ messages in thread
From: Maciej Mrozowski @ 2019-11-22  1:16 UTC (permalink / raw
  To: gentoo-commits

commit:     ba419d35eb00c705dd3e2be7fc7a74d4e6b38669
Author:     Maciej Mrozowski <reavertm <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 22 01:11:07 2019 +0000
Commit:     Maciej Mrozowski <reavertm <AT> gentoo <DOT> org>
CommitDate: Fri Nov 22 01:15:59 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba419d35

net-im/kadu: support newer CMake

Bug: https://bugs.gentoo.org/692232
Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Maciej Mrozowski <reavertm <AT> gentoo.org>

 ...adu-4.3-find-x11-with-newer-cmake-modules.patch | 48 ++++++++++++++++++++++
 net-im/kadu/kadu-4.3-r2.ebuild                     |  6 ++-
 2 files changed, 52 insertions(+), 2 deletions(-)

diff --git a/net-im/kadu/files/kadu-4.3-find-x11-with-newer-cmake-modules.patch b/net-im/kadu/files/kadu-4.3-find-x11-with-newer-cmake-modules.patch
new file mode 100644
index 00000000000..ec44a0be7f5
--- /dev/null
+++ b/net-im/kadu/files/kadu-4.3-find-x11-with-newer-cmake-modules.patch
@@ -0,0 +1,48 @@
+diff -ruN kadu-4.3/kadu-core/CMakeLists.txt my/kadu-core/CMakeLists.txt
+--- kadu-4.3/kadu-core/CMakeLists.txt	2017-01-24 22:36:21.000000000 +0100
++++ my/kadu-core/CMakeLists.txt	2019-11-22 02:05:51.381540018 +0100
+@@ -111,7 +111,7 @@
+ list (APPEND ADDITIONAL_LIBKADU_LIBRARIES ${LibArchive_LIBRARIES})
+ 
+ if (UNIX AND NOT APPLE)
+-	find_package (X11 REQUIRED COMPONENTS X11 Xutil Xfixes)
++	find_package (X11 REQUIRED COMPONENTS Xutil Xfixes)
+ 	if (X11_FOUND AND X11_Xutil_FOUND AND X11_Xfixes_FOUND)
+ 		message (STATUS "Found required X11 libraries: ${X11_X11_LIB};${X11_Xfixes_LIB}")
+ 	else ()
+diff -ruN kadu-4.3/plugins/idle/CMakeLists.txt my/plugins/idle/CMakeLists.txt
+--- kadu-4.3/plugins/idle/CMakeLists.txt	2017-01-24 22:36:22.000000000 +0100
++++ my/plugins/idle/CMakeLists.txt	2019-11-22 02:06:57.503381610 +0100
+@@ -15,7 +15,7 @@
+ )
+ 
+ if (UNIX AND NOT APPLE)
+-	find_package (X11 REQUIRED COMPONENTS X11 Xutil Xscreensaver)
++	find_package (X11 REQUIRED COMPONENTS Xutil Xscreensaver)
+ 	if (X11_Xscreensaver_FOUND)
+ 		message (STATUS "Found required X11 libraries: ${X11_X11_LIB};${X11_Xscreensaver_LIB}")
+ 	else ()
+diff -ruN kadu-4.3/plugins/pcspeaker/CMakeLists.txt my/plugins/pcspeaker/CMakeLists.txt
+--- kadu-4.3/plugins/pcspeaker/CMakeLists.txt	2017-01-24 22:36:22.000000000 +0100
++++ my/plugins/pcspeaker/CMakeLists.txt	2019-11-22 02:07:45.315719788 +0100
+@@ -15,7 +15,7 @@
+ set (LIBRARIES "")
+ 
+ if (UNIX AND NOT APPLE)
+-	find_package (X11 REQUIRED COMPONENTS X11)
++	find_package (X11 REQUIRED)
+ 	if (NOT X11_FOUND)
+ 		message (SEND_ERROR "Could NOT find X11")
+ 	endif ()
+diff -ruN kadu-4.3/plugins/screenshot/CMakeLists.txt my/plugins/screenshot/CMakeLists.txt
+--- kadu-4.3/plugins/screenshot/CMakeLists.txt	2017-01-24 22:36:22.000000000 +0100
++++ my/plugins/screenshot/CMakeLists.txt	2019-11-22 02:07:54.323972436 +0100
+@@ -30,7 +30,7 @@
+ 
+ if (UNIX AND NOT APPLE)
+ 	set (PLUGIN_ADDITIONAL_QT_MODULES X11Extras)
+-	find_package (X11 REQUIRED COMPONENTS X11 Xext Xshape)
++	find_package (X11 REQUIRED COMPONENTS Xext Xshape)
+ 	if (X11_Xshape_FOUND)
+ 		message (STATUS "Found required X11 libraries: ${X11_X11_LIB};${X11_Xext_LIB}")
+ 	else ()

diff --git a/net-im/kadu/kadu-4.3-r2.ebuild b/net-im/kadu/kadu-4.3-r2.ebuild
index 10dd889fae2..8caf2eac7c4 100644
--- a/net-im/kadu/kadu-4.3-r2.ebuild
+++ b/net-im/kadu/kadu-4.3-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -40,6 +40,7 @@ COMMON_DEPEND="
 	dev-qt/qtxml:5
 	dev-qt/qtxmlpatterns:5
 	x11-libs/libX11
+	x11-libs/libXfixes
 	x11-libs/libXext
 	x11-libs/libXScrnSaver
 	gadu? ( >=net-libs/libgadu-1.12.2[threads] )
@@ -50,7 +51,7 @@ COMMON_DEPEND="
 	)
 	spell? ( app-text/enchant )
 	xmpp? (
-		net-dns/libidn
+		net-dns/libidn:*
 		>=net-libs/qxmpp-0.9.3-r1
 		sys-libs/zlib
 	)
@@ -102,6 +103,7 @@ PATCHES=(
 	"${FILESDIR}/${PN}-4.3-do-not-force-ccache.patch"
 	"${FILESDIR}/${PN}-4.3-fix-plugins-rpath.patch"
 	"${FILESDIR}/${PN}-4.3-gcc7.patch"
+	"${FILESDIR}/${PN}-4.3-find-x11-with-newer-cmake-modules.patch"
 )
 
 src_configure() {


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-im/kadu/, net-im/kadu/files/
@ 2020-10-22 22:12 Maciej Mrozowski
  0 siblings, 0 replies; 6+ messages in thread
From: Maciej Mrozowski @ 2020-10-22 22:12 UTC (permalink / raw
  To: gentoo-commits

commit:     07cfdeb06f37d2456aceaaa35b2323c8bf0116d8
Author:     Maciej Mrozowski <reavertm <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 22 22:11:46 2020 +0000
Commit:     Maciej Mrozowski <reavertm <AT> gentoo <DOT> org>
CommitDate: Thu Oct 22 22:12:04 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07cfdeb0

net-im/kadu: fix compilation

Closes: https://bugs.gentoo.org/749873
Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Maciej Mrozowski <reavertm <AT> gentoo.org>

 net-im/kadu/files/kadu-4.3-compilation.patch | 23 +++++++++++++++++++++++
 net-im/kadu/kadu-4.3-r2.ebuild               |  1 +
 2 files changed, 24 insertions(+)

diff --git a/net-im/kadu/files/kadu-4.3-compilation.patch b/net-im/kadu/files/kadu-4.3-compilation.patch
new file mode 100644
index 00000000000..b9cd0c58288
--- /dev/null
+++ b/net-im/kadu/files/kadu-4.3-compilation.patch
@@ -0,0 +1,23 @@
+diff -ruN kadu-4.3/kadu-core/gui/widgets/avatar-painter.cpp kadu-my/kadu-core/gui/widgets/avatar-painter.cpp
+--- kadu-4.3/kadu-core/gui/widgets/avatar-painter.cpp	2017-01-24 22:36:21.000000000 +0100
++++ kadu-my/kadu-core/gui/widgets/avatar-painter.cpp	2020-10-22 23:57:41.486490926 +0200
+@@ -22,6 +22,7 @@
+ 
+ #include <QtCore/QModelIndex>
+ #include <QtGui/QPainter>
++#include <QtGui/QPainterPath>
+ #include <QtGui/QPixmap>
+ #include <QtGui/QPixmapCache>
+ #include <QtWidgets/QStyleOptionViewItem>
+diff -ruN kadu-4.3/kadu-core/plugin/state/plugin-state.test.cpp kadu-my/kadu-core/plugin/state/plugin-state.test.cpp
+--- kadu-4.3/kadu-core/plugin/state/plugin-state.test.cpp	2017-01-24 22:36:21.000000000 +0100
++++ kadu-my/kadu-core/plugin/state/plugin-state.test.cpp	2020-10-23 00:06:51.167189202 +0200
+@@ -34,7 +34,7 @@
+ 
+ void PluginStateTest::newTest()
+ {
+-	QCOMPARE(pluginStateToString(PluginState::New), {});
++	QCOMPARE(pluginStateToString(PluginState::New), QString{});
+ 	QCOMPARE(stringToPluginState(""), PluginState::New);
+ 	QCOMPARE(stringToPluginState("New"), PluginState::New);
+ 	QCOMPARE(stringToPluginState("Invalid"), PluginState::New);

diff --git a/net-im/kadu/kadu-4.3-r2.ebuild b/net-im/kadu/kadu-4.3-r2.ebuild
index 994c8fdf46f..d2e585826dd 100644
--- a/net-im/kadu/kadu-4.3-r2.ebuild
+++ b/net-im/kadu/kadu-4.3-r2.ebuild
@@ -105,6 +105,7 @@ PATCHES=(
 	"${FILESDIR}/${PN}-4.3-fix-plugins-rpath.patch"
 	"${FILESDIR}/${PN}-4.3-gcc7.patch"
 	"${FILESDIR}/${PN}-4.3-find-x11-with-newer-cmake-modules.patch"
+	"${FILESDIR}/${PN}-4.3-compilation.patch"
 )
 
 src_configure() {


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-10-22 22:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-22  1:16 [gentoo-commits] repo/gentoo:master commit in: net-im/kadu/, net-im/kadu/files/ Maciej Mrozowski
  -- strict thread matches above, loose matches on Subject: below --
2020-10-22 22:12 Maciej Mrozowski
2018-08-25  8:55 Andreas Sturmlechner
2018-03-22 12:22 Andreas Sturmlechner
2017-11-03  2:37 Maciej Mrozowski
2017-11-03  2:10 Maciej Mrozowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox