From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 81A3B138CEE for ; Fri, 26 Jun 2015 20:37:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 14816E07BA; Fri, 26 Jun 2015 20:37:49 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 93859E07BA for ; Fri, 26 Jun 2015 20:37:48 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4E197340A33 for ; Fri, 26 Jun 2015 20:37:47 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1AFD7A35 for ; Fri, 26 Jun 2015 20:37:46 +0000 (UTC) From: "Johannes Huber" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Johannes Huber" Message-ID: <1435351105.a9dd217244b946168dca26c5dceb5e7c4c6d4fe4.johu@gentoo> Subject: [gentoo-commits] dev/johu:master commit in: net-irc/quassel/, net-irc/quassel/files/ X-VCS-Repository: dev/johu X-VCS-Files: net-irc/quassel/files/quassel-0.12.2-qt55.patch net-irc/quassel/quassel-9999.ebuild X-VCS-Directories: net-irc/quassel/ net-irc/quassel/files/ X-VCS-Committer: johu X-VCS-Committer-Name: Johannes Huber X-VCS-Revision: a9dd217244b946168dca26c5dceb5e7c4c6d4fe4 X-VCS-Branch: master Date: Fri, 26 Jun 2015 20:37:46 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 32de8583-efbb-4fce-a3e3-fd41a02275e2 X-Archives-Hash: 1a3b2e8849deec31ec15a33deab999d7 commit: a9dd217244b946168dca26c5dceb5e7c4c6d4fe4 Author: Johannes Huber gentoo org> AuthorDate: Fri Jun 26 20:38:25 2015 +0000 Commit: Johannes Huber gentoo org> CommitDate: Fri Jun 26 20:38:25 2015 +0000 URL: https://gitweb.gentoo.org/dev/johu.git/commit/?id=a9dd2172 [net-irc/quassel] Sync with tree Package-Manager: portage-2.2.20 net-irc/quassel/files/quassel-0.12.2-qt55.patch | 53 +++++++++++++++++++++++++ net-irc/quassel/quassel-9999.ebuild | 11 +++-- 2 files changed, 61 insertions(+), 3 deletions(-) diff --git a/net-irc/quassel/files/quassel-0.12.2-qt55.patch b/net-irc/quassel/files/quassel-0.12.2-qt55.patch new file mode 100644 index 0000000..3bf8989 --- /dev/null +++ b/net-irc/quassel/files/quassel-0.12.2-qt55.patch @@ -0,0 +1,53 @@ +From 0df317e85ab3d1d80135995d3b5d7f5341fef6e4 Mon Sep 17 00:00:00 2001 +From: Armin K +Date: Sat, 2 May 2015 23:04:53 +0200 +Subject: [PATCH] Fix build with Qt-5.5 + +http://code.qt.io/cgit/qt/qtbase.git/commit/?id=ebef2ad1360c80ad62de5f4a1c4e7e4051725c1c +--- + src/client/treemodel.cpp | 5 ++--- + src/common/peer.h | 1 + + 2 files changed, 3 insertions(+), 3 deletions(-) + +diff --git a/src/client/treemodel.cpp b/src/client/treemodel.cpp +index f599803..fd47bc0 100644 +--- a/src/client/treemodel.cpp ++++ b/src/client/treemodel.cpp +@@ -556,10 +556,9 @@ void TreeModel::endAppendChilds() + ChildStatus cs = _childStatus; + #ifndef QT_NO_DEBUG + QModelIndex parent = indexByItem(parentItem); +-#endif + Q_ASSERT(cs.parent == parent); + Q_ASSERT(rowCount(parent) == cs.childCount + cs.end - cs.start + 1); +- ++#endif + _aboutToRemoveOrInsert = false; + for (int i = cs.start; i <= cs.end; i++) { + connectItem(parentItem->child(i)); +@@ -605,9 +604,9 @@ void TreeModel::endRemoveChilds() + #ifndef QT_NO_DEBUG + ChildStatus cs = _childStatus; + QModelIndex parent = indexByItem(parentItem); +-#endif + Q_ASSERT(cs.parent == parent); + Q_ASSERT(rowCount(parent) == cs.childCount - cs.end + cs.start - 1); ++#endif + _aboutToRemoveOrInsert = false; + + endRemoveRows(); +diff --git a/src/common/peer.h b/src/common/peer.h +index 02eb3c0..79204b4 100644 +--- a/src/common/peer.h ++++ b/src/common/peer.h +@@ -22,6 +22,7 @@ + #define PEER_H + + #include ++#include + #include + + #include "authhandler.h" +-- +2.4.0 + diff --git a/net-irc/quassel/quassel-9999.ebuild b/net-irc/quassel/quassel-9999.ebuild index c2029a7..77dd2a2 100644 --- a/net-irc/quassel/quassel-9999.ebuild +++ b/net-irc/quassel/quassel-9999.ebuild @@ -11,7 +11,7 @@ EGIT_REPO_URI="git://git.quassel-irc.org/quassel" DESCRIPTION="Qt/KDE IRC client supporting a remote daemon for 24/7 connectivity" HOMEPAGE="http://quassel-irc.org/" -[[ "${PV}" == "9999" ]] || SRC_URI="http://quassel-irc.org/pub/${P/_/-}.tar.bz2" +[[ "${PV}" == "9999" ]] || SRC_URI="http://quassel-irc.org/pub/${P}.tar.bz2" LICENSE="GPL-3" KEYWORDS="" @@ -97,14 +97,14 @@ DEPEND="${RDEPEND} DOCS=( AUTHORS ChangeLog README ) -S="${WORKDIR}/${P/_/-}" +PATCHES=( "${FILESDIR}/${PN}-0.12.2-qt55.patch" ) REQUIRED_USE=" || ( X server monolithic ) ayatana? ( || ( X monolithic ) ) crypt? ( || ( server monolithic ) ) dbus? ( || ( X monolithic ) ) - kde? ( || ( X monolithic ) ) + kde? ( || ( X monolithic ) phonon ) phonon? ( || ( X monolithic ) ) postgres? ( || ( server monolithic ) ) qt5? ( !ayatana ) @@ -141,6 +141,11 @@ src_configure() { "-DEMBED_DATA=OFF" ) + # Something broke upstream detection since Qt 5.5 + if use ssl ; then + mycmakeargs+=("-DHAVE_SSL=TRUE") + fi + cmake-utils_src_configure }