[gentoo-commits] repo/gentoo:master commit in: net-p2p/ktorrent/

2024-05-20 Thread Andreas Sturmlechner
commit: 0fe9caf3f774a07c3305464f83ec2281307cb3d4
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sat May 18 17:26:02 2024 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Mon May 20 11:31:21 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0fe9caf3

net-p2p/ktorrent: drop 24.02.2

Signed-off-by: Andreas Sturmlechner  gentoo.org>

 net-p2p/ktorrent/Manifest|  1 -
 net-p2p/ktorrent/ktorrent-24.02.2.ebuild | 91 
 2 files changed, 92 deletions(-)

diff --git a/net-p2p/ktorrent/Manifest b/net-p2p/ktorrent/Manifest
index f37e23ff1917..a0f6f13aa53b 100644
--- a/net-p2p/ktorrent/Manifest
+++ b/net-p2p/ktorrent/Manifest
@@ -1,3 +1,2 @@
 DIST ktorrent-23.08.5.tar.xz 2170976 BLAKE2B 
047614caebfbddb36a517f79bfee3d10b7755e6246e4149a7e7d059f2156699a374ea57ba1102193faaf2f36c464c4c050eb0cfa5ac7331900dc0e70a5802d52
 SHA512 
f31c8f7be8eeae172b694380a1f828abe68087f059deb99ec268c5e6499e45beb28fe889732a198dae3c7f28f26b93b43e40da519e6407bea193198682b3c6bf
-DIST ktorrent-24.02.2.tar.xz 2173720 BLAKE2B 
7e5ef5e3becc636f93eaa8229c4506a8c1521b6d8f0672a841806f33449f62aa20869f18c606cb26e32250af8859bcadfd7602be41e22cacbdf79492c87dad83
 SHA512 
d623cad02bf524795c514a859360e29a6608299a7327d43ba2e07f0520bd487c24c94f1aa17d5193454fb8b18059b79c27fa88e867f249e204b83f2c08f6e9a0
 DIST ktorrent-24.04.90.tar.xz 2182648 BLAKE2B 
f7d1b2881cf8a96bc40e98110422bd13801928d52a7cfa8cb4a958cf4ed5456ecbe999e014e1e2077f137e323bb7596d1160a3530e40daba5b3b5faa22b8db8e
 SHA512 
2e3e53bf941bb89f3c4eb7301ecdaf928f521b9ab5a39f095081f593fee15f02c4b50e1b8786c410664f7dc194236738491cd614ef8b9421ee002b9297c16988

diff --git a/net-p2p/ktorrent/ktorrent-24.02.2.ebuild 
b/net-p2p/ktorrent/ktorrent-24.02.2.ebuild
deleted file mode 100644
index 1856aa89efb8..
--- a/net-p2p/ktorrent/ktorrent-24.02.2.ebuild
+++ /dev/null
@@ -1,91 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-ECM_HANDBOOK="optional"
-ECM_TEST="true"
-KFMIN=6.0.0
-PVCUT=$(ver_cut 1-3)
-QTMIN=6.6.2
-inherit ecm gear.kde.org
-
-DESCRIPTION="Powerful BitTorrent client based on KDE Frameworks"
-HOMEPAGE="https://apps.kde.org/ktorrent/;
-
-LICENSE="GPL-2"
-SLOT="6"
-KEYWORDS="~amd64"
-IUSE="+bwscheduler +downloadorder +infowidget +ipfilter +logviewer 
+magnetgenerator
-+mediaplayer rss +scanfolder +shutdown +stats +upnp +webengine +zeroconf"
-
-COMMON_DEPEND="
-   >=dev-qt/qtbase-${QTMIN}:6[dbus,gui,network,widgets,xml]
-   >=kde-frameworks/kcmutils-${KFMIN}:6
-   >=kde-frameworks/kconfig-${KFMIN}:6
-   >=kde-frameworks/kconfigwidgets-${KFMIN}:6
-   >=kde-frameworks/kcoreaddons-${KFMIN}:6
-   >=kde-frameworks/kcrash-${KFMIN}:6
-   >=kde-frameworks/kdbusaddons-${KFMIN}:6
-   >=kde-frameworks/kglobalaccel-${KFMIN}:6
-   >=kde-frameworks/ki18n-${KFMIN}:6
-   >=kde-frameworks/kiconthemes-${KFMIN}:6
-   >=kde-frameworks/kio-${KFMIN}:6
-   >=kde-frameworks/knotifications-${KFMIN}:6
-   >=kde-frameworks/knotifyconfig-${KFMIN}:6
-   >=kde-frameworks/kparts-${KFMIN}:6
-   >=kde-frameworks/kstatusnotifieritem-${KFMIN}:6
-   >=kde-frameworks/kwidgetsaddons-${KFMIN}:6
-   >=kde-frameworks/kwindowsystem-${KFMIN}:6
-   >=kde-frameworks/kxmlgui-${KFMIN}:6
-   >=kde-frameworks/solid-${KFMIN}:6
-   >=net-libs/libktorrent-${PVCUT}:6
-   infowidget? ( dev-libs/geoip )
-   ipfilter? ( >=kde-frameworks/karchive-${KFMIN}:6 )
-   mediaplayer? (
-   >=media-libs/phonon-4.12.0[qt6]
-   >=media-libs/taglib-1.5:=
-   )
-   rss? (
-   >=dev-qt/qtwebengine-${QTMIN}:6
-   >=kde-frameworks/syndication-${KFMIN}:6
-   )
-   stats? ( >=kde-frameworks/kplotting-${KFMIN}:6 )
-   upnp? ( >=kde-frameworks/kcompletion-${KFMIN}:6 )
-   webengine? ( >=dev-qt/qtwebengine-${QTMIN}:6 )
-   zeroconf? ( >=kde-frameworks/kdnssd-${KFMIN}:6 )
-"
-DEPEND="${COMMON_DEPEND}
-   >=dev-libs/boost-1.71
-"
-RDEPEND="${COMMON_DEPEND}
-   ipfilter? (
-   app-arch/bzip2
-   app-arch/unzip
-   kde-apps/kio-extras:6
-   >=kde-frameworks/ktextwidgets-${KFMIN}:6
-   )
-"
-BDEPEND="sys-devel/gettext"
-
-src_configure() {
-   local mycmakeargs=(
-   -DENABLE_BWSCHEDULER_PLUGIN=$(usex bwscheduler)
-   -DENABLE_DOWNLOADORDER_PLUGIN=$(usex downloadorder)
-   -DENABLE_INFOWIDGET_PLUGIN=$(usex infowidget)
-   -DENABLE_IPFILTER_PLUGIN=$(usex ipfilter)
-   -DENABLE_LOGVIEWER_PLUGIN=$(usex logviewer)
-   -DENABLE_MAGNETGENERATOR_PLUGIN=$(usex magnetgenerator)
-   -DENABLE_MEDIAPLAYER_PLUGIN=$(usex mediaplayer)
-   $(cmake_use_find_package rss KF6Syndication)
-   -DENABLE_SCANFOLDER_PLUGIN=$(usex scanfolder)
-   -DENABLE_SHUTDOWN_PLUGIN=$(usex 

[gentoo-commits] repo/gentoo:master commit in: net-p2p/ktorrent/

2024-04-25 Thread Andreas Sturmlechner
commit: 200db53be255c764f64001037c991f8efc79377b
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sat Apr 20 19:44:46 2024 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Thu Apr 25 20:42:39 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=200db53b

net-p2p/ktorrent: Set ECM_TEST=true

Upstream MR for BUILD_TESTING pending:
https://invent.kde.org/network/ktorrent/-/merge_requests/120

Signed-off-by: Andreas Sturmlechner  gentoo.org>

 net-p2p/ktorrent/ktorrent-24.02.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-p2p/ktorrent/ktorrent-24.02.2.ebuild 
b/net-p2p/ktorrent/ktorrent-24.02.2.ebuild
index 114cb61c7916..1856aa89efb8 100644
--- a/net-p2p/ktorrent/ktorrent-24.02.2.ebuild
+++ b/net-p2p/ktorrent/ktorrent-24.02.2.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 ECM_HANDBOOK="optional"
-ECM_TEST="optional"
+ECM_TEST="true"
 KFMIN=6.0.0
 PVCUT=$(ver_cut 1-3)
 QTMIN=6.6.2



[gentoo-commits] repo/gentoo:master commit in: net-p2p/ktorrent/

2024-01-06 Thread Arthur Zamarin
commit: 912e7443fe64e547b54a2b433ca3b33d8a622d0e
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Jan  6 12:30:21 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Jan  6 12:30:21 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=912e7443

net-p2p/ktorrent: Stabilize 23.08.4-r1 arm64, #920693

Signed-off-by: Arthur Zamarin  gentoo.org>

 net-p2p/ktorrent/ktorrent-23.08.4-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-p2p/ktorrent/ktorrent-23.08.4-r1.ebuild 
b/net-p2p/ktorrent/ktorrent-23.08.4-r1.ebuild
index c24e2d3365d6..97adf4d30c24 100644
--- a/net-p2p/ktorrent/ktorrent-23.08.4-r1.ebuild
+++ b/net-p2p/ktorrent/ktorrent-23.08.4-r1.ebuild
@@ -15,7 +15,7 @@ HOMEPAGE="https://apps.kde.org/ktorrent/;
 
 LICENSE="GPL-2"
 SLOT="5"
-KEYWORDS="amd64 ~arm64 ~ppc64 ~x86"
+KEYWORDS="amd64 arm64 ~ppc64 ~x86"
 IUSE="+bwscheduler +downloadorder +infowidget +ipfilter +logviewer 
+magnetgenerator
 +mediaplayer rss +scanfolder +shutdown +stats +upnp +webengine +zeroconf"
 



[gentoo-commits] repo/gentoo:master commit in: net-p2p/ktorrent/

2023-12-21 Thread Andreas Sturmlechner
commit: 1657a7bc1e3a237d2ad27ea4f370384149532e67
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Tue Dec 12 23:37:02 2023 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Thu Dec 21 14:52:08 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1657a7bc

net-p2p/ktorrent: Accept kde-apps/kio-extras-kf5

Signed-off-by: Andreas Sturmlechner  gentoo.org>

 .../ktorrent/{ktorrent-23.08.4.ebuild => ktorrent-23.08.4-r1.ebuild} | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/net-p2p/ktorrent/ktorrent-23.08.4.ebuild 
b/net-p2p/ktorrent/ktorrent-23.08.4-r1.ebuild
similarity index 97%
rename from net-p2p/ktorrent/ktorrent-23.08.4.ebuild
rename to net-p2p/ktorrent/ktorrent-23.08.4-r1.ebuild
index 9f4200abafaf..092787b3d67b 100644
--- a/net-p2p/ktorrent/ktorrent-23.08.4.ebuild
+++ b/net-p2p/ktorrent/ktorrent-23.08.4-r1.ebuild
@@ -65,7 +65,10 @@ RDEPEND="${COMMON_DEPEND}
ipfilter? (
app-arch/bzip2
app-arch/unzip
-   kde-apps/kio-extras:5
+   || (
+   kde-apps/kio-extras-kf5:5
+   kde-apps/kio-extras:5
+   )
>=kde-frameworks/ktextwidgets-${KFMIN}:5
)
 "



[gentoo-commits] repo/gentoo:master commit in: net-p2p/ktorrent/

2023-12-17 Thread Andreas Sturmlechner
commit: e2c84ed35af9405cdb10e1ef0f7137dd40912563
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Tue Dec 12 23:37:02 2023 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sun Dec 17 23:00:51 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2c84ed3

net-p2p/ktorrent: Accept kde-apps/kio-extras-kf5

Signed-off-by: Andreas Sturmlechner  gentoo.org>

 net-p2p/ktorrent/ktorrent-23.08.3.ebuild | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/net-p2p/ktorrent/ktorrent-23.08.3.ebuild 
b/net-p2p/ktorrent/ktorrent-23.08.3.ebuild
index 65dad7ecbe4c..de80ea780faf 100644
--- a/net-p2p/ktorrent/ktorrent-23.08.3.ebuild
+++ b/net-p2p/ktorrent/ktorrent-23.08.3.ebuild
@@ -65,7 +65,10 @@ RDEPEND="${COMMON_DEPEND}
ipfilter? (
app-arch/bzip2
app-arch/unzip
-   kde-apps/kio-extras:5
+   || (
+   kde-apps/kio-extras-kf5:5
+   kde-apps/kio-extras:5
+   )
>=kde-frameworks/ktextwidgets-${KFMIN}:5
)
 "



[gentoo-commits] repo/gentoo:master commit in: net-p2p/ktorrent/

2023-02-07 Thread Andreas Sturmlechner
commit: 2094ad2a29499e27e84479db22e0cfa178b59923
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sun Feb  5 22:59:10 2023 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Tue Feb  7 10:36:57 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2094ad2a

net-p2p/ktorrent: destabilize 22.08.3 for ~x86

Bug: https://bugs.gentoo.org/893234
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 net-p2p/ktorrent/ktorrent-22.08.3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-p2p/ktorrent/ktorrent-22.08.3.ebuild 
b/net-p2p/ktorrent/ktorrent-22.08.3.ebuild
index a65ce81bb14e..91dc984e4b0b 100644
--- a/net-p2p/ktorrent/ktorrent-22.08.3.ebuild
+++ b/net-p2p/ktorrent/ktorrent-22.08.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -16,7 +16,7 @@ HOMEPAGE="https://apps.kde.org/ktorrent/;
 
 LICENSE="GPL-2"
 SLOT="5"
-KEYWORDS="amd64 arm64 ~ppc64 x86"
+KEYWORDS="amd64 arm64 ~ppc64 ~x86"
 IUSE="+bwscheduler +downloadorder +infowidget +ipfilter +logviewer 
+magnetgenerator
 +mediaplayer rss +scanfolder +shutdown +stats +upnp +webengine +zeroconf"
 



[gentoo-commits] repo/gentoo:master commit in: net-p2p/ktorrent/

2022-10-06 Thread Andreas Sturmlechner
commit: e002f8a2c73ac39826e83bc07fc87c22f6a89ec1
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Thu Oct  6 09:01:39 2022 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Thu Oct  6 09:05:38 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e002f8a2

net-p2p/ktorrent: add cpe upstream metadata

Signed-off-by: Andreas Sturmlechner  gentoo.org>

 net-p2p/ktorrent/metadata.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/net-p2p/ktorrent/metadata.xml b/net-p2p/ktorrent/metadata.xml
index 3243e4ebf062..887de9589244 100644
--- a/net-p2p/ktorrent/metadata.xml
+++ b/net-p2p/ktorrent/metadata.xml
@@ -7,6 +7,7 @@


https://bugs.kde.org/
+   cpe:/a:ktorrent:ktorrent


Schedule upload and download limits 
over a period of a week



[gentoo-commits] repo/gentoo:master commit in: net-p2p/ktorrent/

2022-09-04 Thread David Seifert
commit: f5c614abb55b73f8f7b1ce62f5fd9eaf795f3522
Author: David Seifert  gentoo  org>
AuthorDate: Sun Sep  4 13:03:19 2022 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Sep  4 13:03:19 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5c614ab

net-p2p/ktorrent: remove stale boost lower bounds

Signed-off-by: David Seifert  gentoo.org>

 net-p2p/ktorrent/ktorrent-22.04.3.ebuild | 2 +-
 net-p2p/ktorrent/ktorrent-22.08.0.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-p2p/ktorrent/ktorrent-22.04.3.ebuild 
b/net-p2p/ktorrent/ktorrent-22.04.3.ebuild
index 90cadb437840..2616ddd1753c 100644
--- a/net-p2p/ktorrent/ktorrent-22.04.3.ebuild
+++ b/net-p2p/ktorrent/ktorrent-22.04.3.ebuild
@@ -59,7 +59,7 @@ COMMON_DEPEND="
zeroconf? ( >=kde-frameworks/kdnssd-${KFMIN}:5 )
 "
 DEPEND="${COMMON_DEPEND}
-   >=dev-libs/boost-1.71
+   dev-libs/boost
 "
 RDEPEND="${COMMON_DEPEND}
ipfilter? (

diff --git a/net-p2p/ktorrent/ktorrent-22.08.0.ebuild 
b/net-p2p/ktorrent/ktorrent-22.08.0.ebuild
index 026478e00140..8687523d916f 100644
--- a/net-p2p/ktorrent/ktorrent-22.08.0.ebuild
+++ b/net-p2p/ktorrent/ktorrent-22.08.0.ebuild
@@ -59,7 +59,7 @@ COMMON_DEPEND="
zeroconf? ( >=kde-frameworks/kdnssd-${KFMIN}:5 )
 "
 DEPEND="${COMMON_DEPEND}
-   >=dev-libs/boost-1.71
+   dev-libs/boost
 "
 RDEPEND="${COMMON_DEPEND}
ipfilter? (



[gentoo-commits] repo/gentoo:master commit in: net-p2p/ktorrent/

2022-02-02 Thread Andreas Sturmlechner
commit: 7d9660eab6e4dfc7ff7922e809d62a0ae1657545
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Wed Feb  2 19:40:58 2022 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Wed Feb  2 19:48:01 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d9660ea

net-p2p/ktorrent: Drop unused cmake var

Upstream commit 6c1ae6b2530c5f7c72611a95aea92275520a5aee

Closes: https://bugs.gentoo.org/832511
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 net-p2p/ktorrent/ktorrent-21.08.3.ebuild | 1 -
 net-p2p/ktorrent/ktorrent-21.12.1.ebuild | 1 -
 2 files changed, 2 deletions(-)

diff --git a/net-p2p/ktorrent/ktorrent-21.08.3.ebuild 
b/net-p2p/ktorrent/ktorrent-21.08.3.ebuild
index f93aae27bb78..03c5a7a1ed0f 100644
--- a/net-p2p/ktorrent/ktorrent-21.08.3.ebuild
+++ b/net-p2p/ktorrent/ktorrent-21.08.3.ebuild
@@ -78,7 +78,6 @@ src_configure() {
-DENABLE_BWSCHEDULER_PLUGIN=$(usex bwscheduler)
-DENABLE_DOWNLOADORDER_PLUGIN=$(usex downloadorder)
-DENABLE_INFOWIDGET_PLUGIN=$(usex infowidget)
-   -DWITH_SYSTEM_GEOIP=$(usex infowidget)
-DENABLE_IPFILTER_PLUGIN=$(usex ipfilter)
-DENABLE_LOGVIEWER_PLUGIN=$(usex logviewer)
-DENABLE_MAGNETGENERATOR_PLUGIN=$(usex magnetgenerator)

diff --git a/net-p2p/ktorrent/ktorrent-21.12.1.ebuild 
b/net-p2p/ktorrent/ktorrent-21.12.1.ebuild
index 8aaf5b1aed96..d7a0809bc391 100644
--- a/net-p2p/ktorrent/ktorrent-21.12.1.ebuild
+++ b/net-p2p/ktorrent/ktorrent-21.12.1.ebuild
@@ -77,7 +77,6 @@ src_configure() {
-DENABLE_BWSCHEDULER_PLUGIN=$(usex bwscheduler)
-DENABLE_DOWNLOADORDER_PLUGIN=$(usex downloadorder)
-DENABLE_INFOWIDGET_PLUGIN=$(usex infowidget)
-   -DWITH_SYSTEM_GEOIP=$(usex infowidget)
-DENABLE_IPFILTER_PLUGIN=$(usex ipfilter)
-DENABLE_LOGVIEWER_PLUGIN=$(usex logviewer)
-DENABLE_MAGNETGENERATOR_PLUGIN=$(usex magnetgenerator)



[gentoo-commits] repo/gentoo:master commit in: net-p2p/ktorrent/files/

2021-08-04 Thread Andreas Sturmlechner
commit: 2ce4db60d003a96cf7d9319f2016a593953d8f22
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Wed Aug  4 14:55:17 2021 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Wed Aug  4 14:56:07 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ce4db60

net-p2p/ktorrent: Fix upstream patch

Upstream commit c8701e6a9ff52c04c364e8f5dd8f32f44bfeaa93

Closes: https://bugs.gentoo.org/806390
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 net-p2p/ktorrent/files/ktorrent-21.04.3-fix-tests.patch | 17 ++---
 1 file changed, 2 insertions(+), 15 deletions(-)

diff --git a/net-p2p/ktorrent/files/ktorrent-21.04.3-fix-tests.patch 
b/net-p2p/ktorrent/files/ktorrent-21.04.3-fix-tests.patch
index a6fe5f7be70..fc644bd80b8 100644
--- a/net-p2p/ktorrent/files/ktorrent-21.04.3-fix-tests.patch
+++ b/net-p2p/ktorrent/files/ktorrent-21.04.3-fix-tests.patch
@@ -3,24 +3,11 @@ From: =?UTF-8?q?=C3=96mer=20Fad=C4=B1l=20Usta?= 

 Date: Tue, 18 May 2021 15:15:26 +
 Subject: [PATCH] Fix tests with new ecm sytle
 
+* asturm 2021-08-04: Merged w/ c8701e6a9ff52c04c364e8f5dd8f32f44bfeaa93
 ---
- CMakeLists.txt| 2 ++
  plugins/ipfilter/tests/CMakeLists.txt | 7 ++-
- 2 files changed, 4 insertions(+), 5 deletions(-)
+ 1 file changed, 2 insertions(+), 5 deletions(-)
 
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index e0f67a93..edc64983 100644
 a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -17,6 +17,8 @@ set (KF5_MIN_VERSION "5.82")
- set (LIBKTORRENT_MIN_VERSION "20.11.70")
- set (Boost_MIN_VERSION "1.71.0")
- 
-+cmake_policy(SET CMP0115 OLD)
-+
- find_package(ECM ${KF5_MIN_VERSION} REQUIRED NO_MODULE)
- set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${CMAKE_MODULE_PATH})
- 
 diff --git a/plugins/ipfilter/tests/CMakeLists.txt 
b/plugins/ipfilter/tests/CMakeLists.txt
 index ec839aac..6c34b2d0 100644
 --- a/plugins/ipfilter/tests/CMakeLists.txt



[gentoo-commits] repo/gentoo:master commit in: net-p2p/ktorrent/

2021-08-04 Thread Agostino Sarubbo
commit: 4728b5dc248d2356f2b94066d20ea256ccde1854
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Aug  4 08:59:45 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Aug  4 09:01:36 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4728b5dc

net-p2p/ktorrent: x86 stable wrt bug #805065

Package-Manager: Portage-3.0.20, Repoman-3.0.2
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-p2p/ktorrent/ktorrent-21.04.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-p2p/ktorrent/ktorrent-21.04.3.ebuild 
b/net-p2p/ktorrent/ktorrent-21.04.3.ebuild
index 83e1f5011f7..a98fb3e20e7 100644
--- a/net-p2p/ktorrent/ktorrent-21.04.3.ebuild
+++ b/net-p2p/ktorrent/ktorrent-21.04.3.ebuild
@@ -17,7 +17,7 @@ HOMEPAGE="https://apps.kde.org/ktorrent/;
 
 LICENSE="GPL-2"
 SLOT="5"
-KEYWORDS="amd64 ~arm64 ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm64 ~ppc64 x86"
 IUSE="+bwscheduler +downloadorder +infowidget +ipfilter +kross +logviewer 
+magnetgenerator
 +mediaplayer rss +scanfolder +shutdown +stats +upnp +webengine +zeroconf"
 



[gentoo-commits] repo/gentoo:master commit in: net-p2p/ktorrent/

2021-08-04 Thread Agostino Sarubbo
commit: 0dee53491dcf374f999a5447bedc8f2700cd7efc
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Aug  4 08:38:48 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Aug  4 08:40:30 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0dee5349

net-p2p/ktorrent: amd64 stable wrt bug #805065

Package-Manager: Portage-3.0.20, Repoman-3.0.2
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-p2p/ktorrent/ktorrent-21.04.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-p2p/ktorrent/ktorrent-21.04.3.ebuild 
b/net-p2p/ktorrent/ktorrent-21.04.3.ebuild
index d43340869df..83e1f5011f7 100644
--- a/net-p2p/ktorrent/ktorrent-21.04.3.ebuild
+++ b/net-p2p/ktorrent/ktorrent-21.04.3.ebuild
@@ -17,7 +17,7 @@ HOMEPAGE="https://apps.kde.org/ktorrent/;
 
 LICENSE="GPL-2"
 SLOT="5"
-KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm64 ~ppc64 ~x86"
 IUSE="+bwscheduler +downloadorder +infowidget +ipfilter +kross +logviewer 
+magnetgenerator
 +mediaplayer rss +scanfolder +shutdown +stats +upnp +webengine +zeroconf"
 



[gentoo-commits] repo/gentoo:master commit in: net-p2p/ktorrent/files/, net-p2p/ktorrent/

2021-08-03 Thread Andreas Sturmlechner
commit: 9302c07d151576ce16e25ce1956c706f9dc07134
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Tue Aug  3 14:14:14 2021 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Tue Aug  3 14:14:53 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9302c07d

net-p2p/ktorrent: Fix tests

Upstream commit dfc063a4d1f174cd5f84b82154a58b86da334d35

Thanks-to: Frank Krömmelbein  gmx.de>
Bug: https://bugs.gentoo.org/805065
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 .../files/ktorrent-21.04.3-fix-tests.patch | 38 ++
 net-p2p/ktorrent/ktorrent-21.04.3.ebuild   |  4 ++-
 2 files changed, 41 insertions(+), 1 deletion(-)

diff --git a/net-p2p/ktorrent/files/ktorrent-21.04.3-fix-tests.patch 
b/net-p2p/ktorrent/files/ktorrent-21.04.3-fix-tests.patch
new file mode 100644
index 000..a6fe5f7be70
--- /dev/null
+++ b/net-p2p/ktorrent/files/ktorrent-21.04.3-fix-tests.patch
@@ -0,0 +1,38 @@
+From dfc063a4d1f174cd5f84b82154a58b86da334d35 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?=C3=96mer=20Fad=C4=B1l=20Usta?= 
+Date: Tue, 18 May 2021 15:15:26 +
+Subject: [PATCH] Fix tests with new ecm sytle
+
+---
+ CMakeLists.txt| 2 ++
+ plugins/ipfilter/tests/CMakeLists.txt | 7 ++-
+ 2 files changed, 4 insertions(+), 5 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index e0f67a93..edc64983 100644
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -17,6 +17,8 @@ set (KF5_MIN_VERSION "5.82")
+ set (LIBKTORRENT_MIN_VERSION "20.11.70")
+ set (Boost_MIN_VERSION "1.71.0")
+ 
++cmake_policy(SET CMP0115 OLD)
++
+ find_package(ECM ${KF5_MIN_VERSION} REQUIRED NO_MODULE)
+ set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${CMAKE_MODULE_PATH})
+ 
+diff --git a/plugins/ipfilter/tests/CMakeLists.txt 
b/plugins/ipfilter/tests/CMakeLists.txt
+index ec839aac..6c34b2d0 100644
+--- a/plugins/ipfilter/tests/CMakeLists.txt
 b/plugins/ipfilter/tests/CMakeLists.txt
+@@ -1,5 +1,2 @@
+-set(ipblocklisttest_SRCS ipblocklisttest.cpp ../ipblocklist.cpp)
+-add_executable(ipblocklisttest ${ipblocklisttest_SRCS})
+-add_test(ipblocklisttest ipblocklisttest)
+-ecm_mark_as_test(ipblocklisttest)
+-target_link_libraries(ipblocklisttest Qt5::Core Qt5::Network Qt5::Test ktcore)
++include(ECMAddTests)
++ecm_add_test(ipblocklisttest.cpp ../ipblocklist.cpp TEST_NAME ipblocklisttest 
LINK_LIBRARIES ktcore Qt5::Core Qt5::Network KF5::Torrent  Qt5::Test)
+-- 
+GitLab
+

diff --git a/net-p2p/ktorrent/ktorrent-21.04.3.ebuild 
b/net-p2p/ktorrent/ktorrent-21.04.3.ebuild
index 2728b9034f1..d43340869df 100644
--- a/net-p2p/ktorrent/ktorrent-21.04.3.ebuild
+++ b/net-p2p/ktorrent/ktorrent-21.04.3.ebuild
@@ -21,7 +21,6 @@ KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
 IUSE="+bwscheduler +downloadorder +infowidget +ipfilter +kross +logviewer 
+magnetgenerator
 +mediaplayer rss +scanfolder +shutdown +stats +upnp +webengine +zeroconf"
 
-BDEPEND="sys-devel/gettext"
 COMMON_DEPEND="
>=dev-qt/qtdbus-${QTMIN}:5
>=dev-qt/qtgui-${QTMIN}:5
@@ -76,6 +75,9 @@ RDEPEND="${COMMON_DEPEND}
>=kde-frameworks/ktextwidgets-${KFMIN}:5
)
 "
+BDEPEND="sys-devel/gettext"
+
+PATCHES=( "${FILESDIR}/${P}-fix-tests.patch" )
 
 src_configure() {
local mycmakeargs=(



[gentoo-commits] repo/gentoo:master commit in: net-p2p/ktorrent/, net-p2p/ktorrent/files/

2021-04-06 Thread Andreas Sturmlechner
commit: c9dc8c9a1b796c48261e7a65ec5e7294a13020c8
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Tue Apr  6 08:12:13 2021 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Tue Apr  6 08:23:27 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9dc8c9a

net-p2p/ktorrent: Drop 5.2.0-r1

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 net-p2p/ktorrent/Manifest  |   1 -
 .../ktorrent-5.2.0-fix-start-in-systray.patch  |  24 --
 .../files/ktorrent-5.2.0-taglib-linking.patch  | 247 -
 net-p2p/ktorrent/ktorrent-5.2.0-r1.ebuild  | 111 -
 4 files changed, 383 deletions(-)

diff --git a/net-p2p/ktorrent/Manifest b/net-p2p/ktorrent/Manifest
index 36b942632ae..a1b8fb594dd 100644
--- a/net-p2p/ktorrent/Manifest
+++ b/net-p2p/ktorrent/Manifest
@@ -1,2 +1 @@
 DIST ktorrent-20.12.3.tar.xz 2141556 BLAKE2B 
8c1bfd675597a724ae6143bddb88005da0ec852a93ef3cc843605b4a3a47d80acba23df2a2cc13ff49efa9e4576269f3157e8456c80388b7e309527befbf0297
 SHA512 
fb54341368b3260ceefdb9be8bbc62c74397ada1a824a96f9de316caa365be438adc96ed15ee0bc44b7cc0db8eb1082c9ffb49eacb9448c31e8fbfe6e6314e93
-DIST ktorrent-5.2.0.tar.xz 2056012 BLAKE2B 
c59cb34675b9c4e023b6c22f795bf146d64acaea069efa1f1663888a0ada6f7c8328a15bdc2fc453e31a9f451c6b0203dfdfd02098cc52f5d828b87c23d857b5
 SHA512 
141976612cfe6bf4bd06e96842d7bc51ced7a3ab8e13c25446a00c031054698f851fbb1a31f3425dda5a428408bb1ceb51a4a420eaf2e79193b17a0cc7d7a387

diff --git a/net-p2p/ktorrent/files/ktorrent-5.2.0-fix-start-in-systray.patch 
b/net-p2p/ktorrent/files/ktorrent-5.2.0-fix-start-in-systray.patch
deleted file mode 100644
index 50049afae35..000
--- a/net-p2p/ktorrent/files/ktorrent-5.2.0-fix-start-in-systray.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-From 9747a8f524942b57e2fd42254c3de73f9d42918c Mon Sep 17 00:00:00 2001
-From: Matt Scheirer 
-Date: Sun, 17 May 2020 02:36:09 -0400
-Subject: [PATCH] Fix starting in tray by removing redundant show() in main
-

- ktorrent/main.cpp | 1 -
- 1 file changed, 1 deletion(-)
-
-diff --git a/ktorrent/main.cpp b/ktorrent/main.cpp
-index b5866c22..8e532c9c 100644
 a/ktorrent/main.cpp
-+++ b/ktorrent/main.cpp
-@@ -208,7 +208,6 @@ int main(int argc, char** argv)
- bt::InitLog(kt::DataDir(kt::CreateIfNotExists) + 
QLatin1String("log"), true, true, logToStdout);
- 
- kt::GUI widget;
--widget.show();
- 
- auto handleCmdLine = [, ](const QStringList , 
const QString )
- {
--- 
-GitLab
-

diff --git a/net-p2p/ktorrent/files/ktorrent-5.2.0-taglib-linking.patch 
b/net-p2p/ktorrent/files/ktorrent-5.2.0-taglib-linking.patch
deleted file mode 100644
index 1d02dcbfd9c..000
--- a/net-p2p/ktorrent/files/ktorrent-5.2.0-taglib-linking.patch
+++ /dev/null
@@ -1,247 +0,0 @@
-From f4c1c91d9b091941ebb4dae6aef95bcf9bc1c388 Mon Sep 17 00:00:00 2001
-From: David Faure 
-Date: Sun, 21 Jun 2020 14:19:49 +0200
-Subject: [PATCH] Update FindTaglib from ECM.
-
-This fixes linking for me, there was just nothing in TAGLIB_LIBRARIES
-on my system (taglib in the same custom prefix as KDE code)

- cmake/modules/FindTaglib.cmake | 191 +++--
- plugins/mediaplayer/CMakeLists.txt |   3 +-
- 2 files changed, 74 insertions(+), 120 deletions(-)
-
-diff --git a/cmake/modules/FindTaglib.cmake b/cmake/modules/FindTaglib.cmake
-index 13db60b2..1e1b9075 100644
 a/cmake/modules/FindTaglib.cmake
-+++ b/cmake/modules/FindTaglib.cmake
-@@ -1,135 +1,90 @@
--# - Try to find the Taglib library
--# Once done this will define
-+#.rst:
-+# FindTaglib
-+#---
- #
--#  TAGLIB_FOUND - system has the taglib library
--#  TAGLIB_CFLAGS - the taglib cflags
--#  TAGLIB_LIBRARIES - The libraries needed to use taglib
--
--# Copyright (c) 2006, Laurent Montel, 
-+# Try to find the Taglib library.
- #
--# Redistribution and use is allowed according to the terms of the BSD license.
--# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
--
--if(NOT TAGLIB_MIN_VERSION)
--  set(TAGLIB_MIN_VERSION "1.6")
--endif()
--
--if(NOT WIN32)
--find_program(TAGLIBCONFIG_EXECUTABLE NAMES taglib-config PATHS
--   ${BIN_INSTALL_DIR}
--)
--endif()
--
--#reset vars
--set(TAGLIB_LIBRARIES)
--set(TAGLIB_CFLAGS)
--
--# if taglib-config has been found
--if(TAGLIBCONFIG_EXECUTABLE)
--
--  exec_program(${TAGLIBCONFIG_EXECUTABLE} ARGS --version RETURN_VALUE 
_return_VALUE OUTPUT_VARIABLE TAGLIB_VERSION)
--
--  if("${TAGLIB_MIN_VERSION}" VERSION_GREATER TAGLIB_VERSION)
-- message(STATUS "TagLib version too old: version searched 
:${TAGLIB_MIN_VERSION}, found ${TAGLIB_VERSION}")
-- set(TAGLIB_FOUND FALSE)
--  else()
--
-- exec_program(${TAGLIBCONFIG_EXECUTABLE} ARGS --libs RETURN_VALUE 
_return_VALUE OUTPUT_VARIABLE TAGLIB_LIBRARIES)
--
-- exec_program(${TAGLIBCONFIG_EXECUTABLE} ARGS --cflags RETURN_VALUE 
_return_VALUE OUTPUT_VARIABLE TAGLIB_CFLAGS)
-+# 

[gentoo-commits] repo/gentoo:master commit in: net-p2p/ktorrent/

2021-04-06 Thread Agostino Sarubbo
commit: 55ca6833b3a9d7dd55e950460e4743d348f479fc
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Apr  6 06:29:36 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Apr  6 06:31:28 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55ca6833

net-p2p/ktorrent: amd64 stable wrt bug #774219

Package-Manager: Portage-3.0.13, Repoman-3.0.2
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-p2p/ktorrent/ktorrent-20.12.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-p2p/ktorrent/ktorrent-20.12.3.ebuild 
b/net-p2p/ktorrent/ktorrent-20.12.3.ebuild
index f3ada07d2d2..3f5bbf92855 100644
--- a/net-p2p/ktorrent/ktorrent-20.12.3.ebuild
+++ b/net-p2p/ktorrent/ktorrent-20.12.3.ebuild
@@ -17,7 +17,7 @@ HOMEPAGE="https://apps.kde.org/en/ktorrent;
 
 LICENSE="GPL-2"
 SLOT="5"
-KEYWORDS="~amd64 ~arm64 ~ppc64 x86"
+KEYWORDS="amd64 ~arm64 ~ppc64 x86"
 IUSE="+bwscheduler +downloadorder +infowidget +ipfilter +kross +logviewer 
+magnetgenerator
 +mediaplayer rss +scanfolder +shutdown +stats +upnp +webengine +zeroconf"
 



[gentoo-commits] repo/gentoo:master commit in: net-p2p/ktorrent/

2020-10-26 Thread Georgy Yakovlev
commit: b72e197f555aecda02963a765d5feb23b68ab484
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Tue Oct 27 00:51:52 2020 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Tue Oct 27 01:01:11 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b72e197f

net-p2p/ktorrent: add ~ppc64 keyword

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-p2p/ktorrent/ktorrent-5.2.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-p2p/ktorrent/ktorrent-5.2.0-r1.ebuild 
b/net-p2p/ktorrent/ktorrent-5.2.0-r1.ebuild
index 6adb2a032f4..f558a1a6c1d 100644
--- a/net-p2p/ktorrent/ktorrent-5.2.0-r1.ebuild
+++ b/net-p2p/ktorrent/ktorrent-5.2.0-r1.ebuild
@@ -16,7 +16,7 @@ HOMEPAGE="https://apps.kde.org/en/ktorrent;
 
 LICENSE="GPL-2"
 SLOT="5"
-KEYWORDS="amd64 arm64 ~x86"
+KEYWORDS="amd64 arm64 ~ppc64 ~x86"
 IUSE="+bwscheduler +downloadorder +infowidget +ipfilter +kross +logviewer 
+magnetgenerator
 +mediaplayer rss +scanfolder +search +shutdown +stats +upnp +zeroconf"
 



[gentoo-commits] repo/gentoo:master commit in: net-p2p/ktorrent/, net-p2p/ktorrent/files/

2020-07-20 Thread Andreas Sturmlechner
commit: 49817eeb7602a4682bc7bf144eb7894186af5a9f
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Mon Jul 20 20:13:54 2020 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Mon Jul 20 21:33:44 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49817eeb

net-p2p/ktorrent: Drop 5.1.2-r2

Package-Manager: Portage-3.0.0, Repoman-2.3.23
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 net-p2p/ktorrent/Manifest  |   1 -
 .../files/ktorrent-5.1.1-singlefile-torrent.patch  | 140 
 .../files/ktorrent-5.1.2-crash-on-exit.patch   | 386 -
 net-p2p/ktorrent/ktorrent-5.1.2-r2.ebuild  | 109 --
 4 files changed, 636 deletions(-)

diff --git a/net-p2p/ktorrent/Manifest b/net-p2p/ktorrent/Manifest
index 9931d7ca79a..eeea1b586d7 100644
--- a/net-p2p/ktorrent/Manifest
+++ b/net-p2p/ktorrent/Manifest
@@ -1,2 +1 @@
-DIST ktorrent-5.1.2.tar.xz 2048604 BLAKE2B 
761df1e0aab5c4457311ae821a47ebf7b5b82b2839b4bf238491231caa213370cc649a1c0cafd332b42bbb84230f4a313e5172db722ff3c7af81c0daba450a98
 SHA512 
b62d05650216721299dc9db23da1a2d6ae5d3b77583ad4bd99ac032d7b135cce567feff3b66d27ac001d77e30517112e4e8c8bf8e83c1106a79509ec45498621
 DIST ktorrent-5.2.0.tar.xz 2056012 BLAKE2B 
c59cb34675b9c4e023b6c22f795bf146d64acaea069efa1f1663888a0ada6f7c8328a15bdc2fc453e31a9f451c6b0203dfdfd02098cc52f5d828b87c23d857b5
 SHA512 
141976612cfe6bf4bd06e96842d7bc51ced7a3ab8e13c25446a00c031054698f851fbb1a31f3425dda5a428408bb1ceb51a4a420eaf2e79193b17a0cc7d7a387

diff --git a/net-p2p/ktorrent/files/ktorrent-5.1.1-singlefile-torrent.patch 
b/net-p2p/ktorrent/files/ktorrent-5.1.1-singlefile-torrent.patch
deleted file mode 100644
index b2251865628..000
--- a/net-p2p/ktorrent/files/ktorrent-5.1.1-singlefile-torrent.patch
+++ /dev/null
@@ -1,140 +0,0 @@
-From dab5abcd2172155c511e0666d867c37382829226 Mon Sep 17 00:00:00 2001
-From: Jiva Totin 
-Date: Sun, 17 Feb 2019 20:00:11 +
-Subject: Allow creating torrent for a single file.
-
-Added 2 new radio buttons. One for choosing directory and the other one for
-choosing files.
-
-BUG: 384452
-Differential Revision: https://phabricator.kde.org/D11728

- ktorrent/dialogs/torrentcreatordlg.cpp | 18 ++-
- ktorrent/dialogs/torrentcreatordlg.h   |  3 ++
- ktorrent/dialogs/torrentcreatordlg.ui  | 56 +++---
- 3 files changed, 58 insertions(+), 19 deletions(-)
-
-diff --git a/ktorrent/dialogs/torrentcreatordlg.cpp 
b/ktorrent/dialogs/torrentcreatordlg.cpp
-index bb3710d..b46b291 100644
 a/ktorrent/dialogs/torrentcreatordlg.cpp
-+++ b/ktorrent/dialogs/torrentcreatordlg.cpp
-@@ -54,12 +54,17 @@ namespace kt
- adjustSize();
- loadGroups();
- 
--m_url->setMode(KFile::File | KFile::ExistingOnly | KFile::LocalOnly | 
KFile::Directory);
-+m_url->setMode(KFile::ExistingOnly | KFile::LocalOnly | 
KFile::Directory);
-+m_selectDirectory->setChecked(true);
-+
- m_dht_tab->setEnabled(false);
- 
- connect(m_buttonBox, ::accepted, this, 
::accept);
- connect(m_buttonBox, ::rejected, this, 
::reject);
- 
-+connect(m_selectDirectory, ::clicked, this, 
::selectDirectory);
-+connect(m_selectFile, ::clicked, this, 
::selectFile);
-+
- connect(m_dht, ::toggled, this, 
::dhtToggled);
- 
- // tracker box stuff
-@@ -428,4 +433,15 @@ namespace kt
- m_progress->setValue(mktor->getCurrentChunk());
- }
- 
-+void TorrentCreatorDlg::selectFile()
-+{
-+m_url->setMode(KFile::File | KFile::ExistingOnly | KFile::LocalOnly);
-+}
-+
-+void TorrentCreatorDlg::selectDirectory()
-+{
-+m_url->setMode(KFile::ExistingOnly | KFile::LocalOnly | 
KFile::Directory);
-+}
-+
-+
- }
-diff --git a/ktorrent/dialogs/torrentcreatordlg.h 
b/ktorrent/dialogs/torrentcreatordlg.h
-index 12a1a43..b59d880 100644
 a/ktorrent/dialogs/torrentcreatordlg.h
-+++ b/ktorrent/dialogs/torrentcreatordlg.h
-@@ -73,6 +73,9 @@ namespace kt
- void accept() override;
- void reject() override;
- 
-+void selectFile();// required for radio button for new torrent 
creation
-+void selectDirectory();
-+
- private:
- void loadGroups();
- void loadCompleterData();
-diff --git a/ktorrent/dialogs/torrentcreatordlg.ui 
b/ktorrent/dialogs/torrentcreatordlg.ui
-index b954aed..02bf390 100644
 a/ktorrent/dialogs/torrentcreatordlg.ui
-+++ b/ktorrent/dialogs/torrentcreatordlg.ui
-@@ -15,26 +15,46 @@
-   
-   
-
--
-- 
-+
-+ 
-   File or directory to create torrent from:
-  
--
--   
--   
--
-- 
--  
--   0
--   0
--  
-- 
-- 
--  
--   0
--   0
--  
-- 
-+ 
-+  
-+   
-+
-+ 
-+  0
-+  0
-+ 
-+
-+
-+ 
-+  0
-+  0
-+ 
-+
-+   
-+  
-+  
-+   

[gentoo-commits] repo/gentoo:master commit in: net-p2p/ktorrent/

2020-07-20 Thread Andreas Sturmlechner
commit: 585382eaa9567549c26243d45eb3a11a636af003
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Mon Jul 20 20:29:58 2020 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Mon Jul 20 21:33:44 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=585382ea

net-p2p/ktorrent: Punt bogus Qt5Script dependency

Reported-by: Marco Genasci  gmail.com>
Closes: https://bugs.gentoo.org/733360
Package-Manager: Portage-3.0.0, Repoman-2.3.23
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 net-p2p/ktorrent/ktorrent-5.2.0-r1.ebuild | 5 +
 1 file changed, 5 insertions(+)

diff --git a/net-p2p/ktorrent/ktorrent-5.2.0-r1.ebuild 
b/net-p2p/ktorrent/ktorrent-5.2.0-r1.ebuild
index d87128bbdb6..196bc3c2fee 100644
--- a/net-p2p/ktorrent/ktorrent-5.2.0-r1.ebuild
+++ b/net-p2p/ktorrent/ktorrent-5.2.0-r1.ebuild
@@ -81,6 +81,11 @@ PATCHES=(
"${FILESDIR}/${P}-taglib-linking.patch" # 5.2 branch
 )
 
+src_prepare() {
+   ecm_src_prepare
+   ecm_punt_bogus_dep Qt Script
+}
+
 src_configure() {
local mycmakeargs=(
-DENABLE_BWSCHEDULER_PLUGIN=$(usex bwscheduler)



[gentoo-commits] repo/gentoo:master commit in: net-p2p/ktorrent/

2020-07-20 Thread Agostino Sarubbo
commit: 7bf11c7e8b6f3b68e4193d25d6a9c296928d05fb
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Jul 20 06:41:26 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Jul 20 06:41:26 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7bf11c7e

net-p2p/ktorrent: amd64 stable wrt bug #732154

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-p2p/ktorrent/ktorrent-5.2.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-p2p/ktorrent/ktorrent-5.2.0-r1.ebuild 
b/net-p2p/ktorrent/ktorrent-5.2.0-r1.ebuild
index 92de481128a..d87128bbdb6 100644
--- a/net-p2p/ktorrent/ktorrent-5.2.0-r1.ebuild
+++ b/net-p2p/ktorrent/ktorrent-5.2.0-r1.ebuild
@@ -16,7 +16,7 @@ 
HOMEPAGE="https://kde.org/applications/internet/org.kde.ktorrent;
 
 LICENSE="GPL-2"
 SLOT="5"
-KEYWORDS="~amd64 arm64 ~x86"
+KEYWORDS="amd64 arm64 ~x86"
 IUSE="+bwscheduler +downloadorder +infowidget +ipfilter +kross +logviewer 
+magnetgenerator
 +mediaplayer rss +scanfolder +search +shutdown +stats +upnp +zeroconf"
 



[gentoo-commits] repo/gentoo:master commit in: net-p2p/ktorrent/

2020-07-11 Thread Sam James
commit: 012a43ddb755176e42cf83e58608ef12e3115fd4
Author: Sam James  gentoo  org>
AuthorDate: Sat Jul 11 11:29:23 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jul 11 11:29:23 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=012a43dd

net-p2p/ktorrent: arm64 stable (bug #732154)

Package-Manager: Portage-2.3.99, Repoman-2.3.23
Signed-off-by: Sam James  gentoo.org>

 net-p2p/ktorrent/ktorrent-5.2.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-p2p/ktorrent/ktorrent-5.2.0-r1.ebuild 
b/net-p2p/ktorrent/ktorrent-5.2.0-r1.ebuild
index de82600836c..92de481128a 100644
--- a/net-p2p/ktorrent/ktorrent-5.2.0-r1.ebuild
+++ b/net-p2p/ktorrent/ktorrent-5.2.0-r1.ebuild
@@ -16,7 +16,7 @@ 
HOMEPAGE="https://kde.org/applications/internet/org.kde.ktorrent;
 
 LICENSE="GPL-2"
 SLOT="5"
-KEYWORDS="~amd64 ~arm64 ~x86"
+KEYWORDS="~amd64 arm64 ~x86"
 IUSE="+bwscheduler +downloadorder +infowidget +ipfilter +kross +logviewer 
+magnetgenerator
 +mediaplayer rss +scanfolder +search +shutdown +stats +upnp +zeroconf"
 



[gentoo-commits] repo/gentoo:master commit in: net-p2p/ktorrent/, net-p2p/ktorrent/files/

2020-07-10 Thread Andreas Sturmlechner
commit: c4c24ea98d2f737b262d1eb64075fde9747d74f5
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sat Jul 11 01:24:37 2020 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sat Jul 11 01:24:57 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4c24ea9

net-p2p/ktorrent: Fix linking with Taglib

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 .../files/ktorrent-5.2.0-taglib-linking.patch  | 247 +
 net-p2p/ktorrent/ktorrent-5.2.0-r1.ebuild  |   5 +-
 2 files changed, 251 insertions(+), 1 deletion(-)

diff --git a/net-p2p/ktorrent/files/ktorrent-5.2.0-taglib-linking.patch 
b/net-p2p/ktorrent/files/ktorrent-5.2.0-taglib-linking.patch
new file mode 100644
index 000..1d02dcbfd9c
--- /dev/null
+++ b/net-p2p/ktorrent/files/ktorrent-5.2.0-taglib-linking.patch
@@ -0,0 +1,247 @@
+From f4c1c91d9b091941ebb4dae6aef95bcf9bc1c388 Mon Sep 17 00:00:00 2001
+From: David Faure 
+Date: Sun, 21 Jun 2020 14:19:49 +0200
+Subject: [PATCH] Update FindTaglib from ECM.
+
+This fixes linking for me, there was just nothing in TAGLIB_LIBRARIES
+on my system (taglib in the same custom prefix as KDE code)
+---
+ cmake/modules/FindTaglib.cmake | 191 +++--
+ plugins/mediaplayer/CMakeLists.txt |   3 +-
+ 2 files changed, 74 insertions(+), 120 deletions(-)
+
+diff --git a/cmake/modules/FindTaglib.cmake b/cmake/modules/FindTaglib.cmake
+index 13db60b2..1e1b9075 100644
+--- a/cmake/modules/FindTaglib.cmake
 b/cmake/modules/FindTaglib.cmake
+@@ -1,135 +1,90 @@
+-# - Try to find the Taglib library
+-# Once done this will define
++#.rst:
++# FindTaglib
++#---
+ #
+-#  TAGLIB_FOUND - system has the taglib library
+-#  TAGLIB_CFLAGS - the taglib cflags
+-#  TAGLIB_LIBRARIES - The libraries needed to use taglib
+-
+-# Copyright (c) 2006, Laurent Montel, 
++# Try to find the Taglib library.
+ #
+-# Redistribution and use is allowed according to the terms of the BSD license.
+-# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
+-
+-if(NOT TAGLIB_MIN_VERSION)
+-  set(TAGLIB_MIN_VERSION "1.6")
+-endif()
+-
+-if(NOT WIN32)
+-find_program(TAGLIBCONFIG_EXECUTABLE NAMES taglib-config PATHS
+-   ${BIN_INSTALL_DIR}
+-)
+-endif()
+-
+-#reset vars
+-set(TAGLIB_LIBRARIES)
+-set(TAGLIB_CFLAGS)
+-
+-# if taglib-config has been found
+-if(TAGLIBCONFIG_EXECUTABLE)
+-
+-  exec_program(${TAGLIBCONFIG_EXECUTABLE} ARGS --version RETURN_VALUE 
_return_VALUE OUTPUT_VARIABLE TAGLIB_VERSION)
+-
+-  if("${TAGLIB_MIN_VERSION}" VERSION_GREATER TAGLIB_VERSION)
+- message(STATUS "TagLib version too old: version searched 
:${TAGLIB_MIN_VERSION}, found ${TAGLIB_VERSION}")
+- set(TAGLIB_FOUND FALSE)
+-  else()
+-
+- exec_program(${TAGLIBCONFIG_EXECUTABLE} ARGS --libs RETURN_VALUE 
_return_VALUE OUTPUT_VARIABLE TAGLIB_LIBRARIES)
+-
+- exec_program(${TAGLIBCONFIG_EXECUTABLE} ARGS --cflags RETURN_VALUE 
_return_VALUE OUTPUT_VARIABLE TAGLIB_CFLAGS)
++# This will define the following variables:
++#
++# ``Taglib_FOUND``
++#   True if the system has the taglib library of at least the minimum
++#   version specified by the version parameter to find_package()
++# ``Taglib_INCLUDE_DIRS``
++#   The taglib include dirs for use with target_include_directories
++# ``Taglib_LIBRARIES``
++#   The taglib libraries for use with target_link_libraries()
++# ``Taglib_VERSION``
++#   The version of taglib that was found
++#
++# If ``Taglib_FOUND is TRUE, it will also define the following imported
++# target:
++#
++# ``Taglib::Taglib``
++#   The Taglib library
++#
++# Since 5.72.0
++#
++# SPDX-FileCopyrightText: 2006 Laurent Montel 
++# SPDX-FileCopyrightText: 2019 Heiko Becker 
++# SPDX-FileCopyrightText: 2020 Elvis Angelaccio 
++# SPDX-License-Identifier: BSD-3-Clause
+ 
+- if(TAGLIB_LIBRARIES AND TAGLIB_CFLAGS)
+-set(TAGLIB_FOUND TRUE)
+- endif()
+- string(REGEX REPLACE " *-I" ";" TAGLIB_INCLUDES "${TAGLIB_CFLAGS}")
+-  endif() 
+-  mark_as_advanced(TAGLIB_CFLAGS TAGLIB_LIBRARIES TAGLIB_INCLUDES)
++find_package(PkgConfig QUIET)
+ 
+-else()
++pkg_search_module(PC_TAGLIB QUIET taglib)
+ 
+-  find_path(TAGLIB_INCLUDES
+-NAMES
+-tag.h
++find_path(Taglib_INCLUDE_DIRS
++NAMES tag.h
+ PATH_SUFFIXES taglib
+-PATHS
+-${KDE4_INCLUDE_DIR}
+-${INCLUDE_INSTALL_DIR}
+-  )
+-
+-if(NOT WIN32)
+-  # on non-win32 we don't need to take care about WIN32_DEBUG_POSTFIX
++HINTS ${PC_TAGLIB_INCLUDEDIR}
++)
+ 
+-  find_library(TAGLIB_LIBRARIES tag PATHS ${KDE4_LIB_DIR} 
${LIB_INSTALL_DIR})
++find_library(Taglib_LIBRARIES
++NAMES tag
++HINTS ${PC_TAGLIB_LIBDIR}
++)
+ 
+-else()
++set(Taglib_VERSION ${PC_TAGLIB_VERSION})
+ 
+-  # 1. get all possible libnames
+-  set(args PATHS ${KDE4_LIB_DIR} ${LIB_INSTALL_DIR}) 
+-  set(newargs "")   
+-  set(libnames_release "")  

[gentoo-commits] repo/gentoo:master commit in: net-p2p/ktorrent/files/, net-p2p/ktorrent/

2020-07-10 Thread Andreas Sturmlechner
commit: 7bb914552302757ead6f9df40a5de499cc0f6bb9
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sat Jul 11 01:15:32 2020 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sat Jul 11 01:24:57 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7bb91455

net-p2p/ktorrent: Remove redundant show() in main, fix systray start

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 .../ktorrent-5.2.0-fix-start-in-systray.patch  |  24 +
 net-p2p/ktorrent/ktorrent-5.2.0-r1.ebuild  | 103 +
 2 files changed, 127 insertions(+)

diff --git a/net-p2p/ktorrent/files/ktorrent-5.2.0-fix-start-in-systray.patch 
b/net-p2p/ktorrent/files/ktorrent-5.2.0-fix-start-in-systray.patch
new file mode 100644
index 000..50049afae35
--- /dev/null
+++ b/net-p2p/ktorrent/files/ktorrent-5.2.0-fix-start-in-systray.patch
@@ -0,0 +1,24 @@
+From 9747a8f524942b57e2fd42254c3de73f9d42918c Mon Sep 17 00:00:00 2001
+From: Matt Scheirer 
+Date: Sun, 17 May 2020 02:36:09 -0400
+Subject: [PATCH] Fix starting in tray by removing redundant show() in main
+
+---
+ ktorrent/main.cpp | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/ktorrent/main.cpp b/ktorrent/main.cpp
+index b5866c22..8e532c9c 100644
+--- a/ktorrent/main.cpp
 b/ktorrent/main.cpp
+@@ -208,7 +208,6 @@ int main(int argc, char** argv)
+ bt::InitLog(kt::DataDir(kt::CreateIfNotExists) + 
QLatin1String("log"), true, true, logToStdout);
+ 
+ kt::GUI widget;
+-widget.show();
+ 
+ auto handleCmdLine = [, ](const QStringList , 
const QString )
+ {
+-- 
+GitLab
+

diff --git a/net-p2p/ktorrent/ktorrent-5.2.0-r1.ebuild 
b/net-p2p/ktorrent/ktorrent-5.2.0-r1.ebuild
new file mode 100644
index 000..1bddef4950b
--- /dev/null
+++ b/net-p2p/ktorrent/ktorrent-5.2.0-r1.ebuild
@@ -0,0 +1,103 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+ECM_HANDBOOK="optional"
+ECM_TEST="optional"
+KFMIN=5.64.0
+QTMIN=5.12.3
+VIRTUALX_REQUIRED="test"
+inherit ecm kde.org
+
+DESCRIPTION="Powerful BitTorrent client based on KDE Frameworks"
+HOMEPAGE="https://kde.org/applications/internet/org.kde.ktorrent;
+[[ ${KDE_BUILD_TYPE} = release ]] && 
SRC_URI="mirror://kde/stable/${PN}/${PV}/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="5"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="+bwscheduler +downloadorder +infowidget +ipfilter +kross +logviewer 
+magnetgenerator
++mediaplayer rss +scanfolder +search +shutdown +stats +upnp +zeroconf"
+
+BDEPEND="sys-devel/gettext"
+COMMON_DEPEND="
+   >=dev-qt/qtdbus-${QTMIN}:5
+   >=dev-qt/qtgui-${QTMIN}:5
+   >=dev-qt/qtnetwork-${QTMIN}:5
+   >=dev-qt/qtwidgets-${QTMIN}:5
+   >=dev-qt/qtxml-${QTMIN}:5
+   >=kde-frameworks/kcmutils-${KFMIN}:5
+   >=kde-frameworks/kconfig-${KFMIN}:5
+   >=kde-frameworks/kconfigwidgets-${KFMIN}:5
+   >=kde-frameworks/kcoreaddons-${KFMIN}:5
+   >=kde-frameworks/kcrash-${KFMIN}:5
+   >=kde-frameworks/kdbusaddons-${KFMIN}:5
+   >=kde-frameworks/ki18n-${KFMIN}:5
+   >=kde-frameworks/kiconthemes-${KFMIN}:5
+   >=kde-frameworks/kio-${KFMIN}:5
+   >=kde-frameworks/knotifications-${KFMIN}:5
+   >=kde-frameworks/knotifyconfig-${KFMIN}:5
+   >=kde-frameworks/kparts-${KFMIN}:5
+   >=kde-frameworks/kwidgetsaddons-${KFMIN}:5
+   >=kde-frameworks/kwindowsystem-${KFMIN}:5
+   >=kde-frameworks/kxmlgui-${KFMIN}:5
+   >=kde-frameworks/solid-${KFMIN}:5
+   >=net-libs/libktorrent-2.2.0:5
+   infowidget? ( dev-libs/geoip )
+   kross? (
+   >=kde-frameworks/karchive-${KFMIN}:5
+   >=kde-frameworks/kitemviews-${KFMIN}:5
+   >=kde-frameworks/kross-${KFMIN}:5
+   )
+   mediaplayer? (
+   media-libs/phonon[qt5(+)]
+   >=media-libs/taglib-1.5
+   )
+   rss? (
+   >=dev-qt/qtwebengine-${QTMIN}:5
+   >=kde-frameworks/syndication-${KFMIN}:5
+   )
+   search? ( >=dev-qt/qtwebengine-${QTMIN}:5 )
+   shutdown? ( kde-plasma/libkworkspace:5 )
+   stats? ( >=kde-frameworks/kplotting-${KFMIN}:5 )
+   upnp? ( >=kde-frameworks/kcompletion-${KFMIN}:5 )
+   zeroconf? ( >=kde-frameworks/kdnssd-${KFMIN}:5 )
+"
+DEPEND="${COMMON_DEPEND}
+   dev-libs/boost
+"
+RDEPEND="${COMMON_DEPEND}
+   ipfilter? (
+   app-arch/bzip2
+   app-arch/unzip
+   kde-apps/kio-extras:5
+   >=kde-frameworks/ktextwidgets-${KFMIN}:5
+   )
+"
+
+PATCHES=( "${FILESDIR}/${P}-fix-start-in-systray.patch" ) # 5.2 branch
+
+src_configure() {
+   local mycmakeargs=(
+   -DENABLE_BWSCHEDULER_PLUGIN=$(usex bwscheduler)
+   -DENABLE_DOWNLOADORDER_PLUGIN=$(usex downloadorder)
+   -DENABLE_INFOWIDGET_PLUGIN=$(usex infowidget)
+   -DWITH_SYSTEM_GEOIP=$(usex 

[gentoo-commits] repo/gentoo:master commit in: net-p2p/ktorrent/

2020-07-10 Thread Andreas Sturmlechner
commit: f219087f5f6b9dafb4e580bcdc1b9ff1f033f964
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sat Jul 11 01:16:02 2020 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sat Jul 11 01:24:57 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f219087f

net-p2p/ktorrent: Drop 5.2.0 (r0)

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 net-p2p/ktorrent/ktorrent-5.2.0.ebuild | 101 -
 1 file changed, 101 deletions(-)

diff --git a/net-p2p/ktorrent/ktorrent-5.2.0.ebuild 
b/net-p2p/ktorrent/ktorrent-5.2.0.ebuild
deleted file mode 100644
index 8118ca15987..000
--- a/net-p2p/ktorrent/ktorrent-5.2.0.ebuild
+++ /dev/null
@@ -1,101 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-ECM_HANDBOOK="optional"
-ECM_TEST="optional"
-KFMIN=5.64.0
-QTMIN=5.12.3
-VIRTUALX_REQUIRED="test"
-inherit ecm kde.org
-
-DESCRIPTION="Powerful BitTorrent client based on KDE Frameworks"
-HOMEPAGE="https://kde.org/applications/internet/org.kde.ktorrent;
-[[ ${KDE_BUILD_TYPE} = release ]] && 
SRC_URI="mirror://kde/stable/${PN}/${PV}/${P}.tar.xz"
-
-LICENSE="GPL-2"
-SLOT="5"
-KEYWORDS="~amd64 ~arm64 ~x86"
-IUSE="+bwscheduler +downloadorder +infowidget +ipfilter +kross +logviewer 
+magnetgenerator
-+mediaplayer rss +scanfolder +search +shutdown +stats +upnp +zeroconf"
-
-BDEPEND="sys-devel/gettext"
-COMMON_DEPEND="
-   >=dev-qt/qtdbus-${QTMIN}:5
-   >=dev-qt/qtgui-${QTMIN}:5
-   >=dev-qt/qtnetwork-${QTMIN}:5
-   >=dev-qt/qtwidgets-${QTMIN}:5
-   >=dev-qt/qtxml-${QTMIN}:5
-   >=kde-frameworks/kcmutils-${KFMIN}:5
-   >=kde-frameworks/kconfig-${KFMIN}:5
-   >=kde-frameworks/kconfigwidgets-${KFMIN}:5
-   >=kde-frameworks/kcoreaddons-${KFMIN}:5
-   >=kde-frameworks/kcrash-${KFMIN}:5
-   >=kde-frameworks/kdbusaddons-${KFMIN}:5
-   >=kde-frameworks/ki18n-${KFMIN}:5
-   >=kde-frameworks/kiconthemes-${KFMIN}:5
-   >=kde-frameworks/kio-${KFMIN}:5
-   >=kde-frameworks/knotifications-${KFMIN}:5
-   >=kde-frameworks/knotifyconfig-${KFMIN}:5
-   >=kde-frameworks/kparts-${KFMIN}:5
-   >=kde-frameworks/kwidgetsaddons-${KFMIN}:5
-   >=kde-frameworks/kwindowsystem-${KFMIN}:5
-   >=kde-frameworks/kxmlgui-${KFMIN}:5
-   >=kde-frameworks/solid-${KFMIN}:5
-   >=net-libs/libktorrent-2.2.0:5
-   infowidget? ( dev-libs/geoip )
-   kross? (
-   >=kde-frameworks/karchive-${KFMIN}:5
-   >=kde-frameworks/kitemviews-${KFMIN}:5
-   >=kde-frameworks/kross-${KFMIN}:5
-   )
-   mediaplayer? (
-   media-libs/phonon[qt5(+)]
-   >=media-libs/taglib-1.5
-   )
-   rss? (
-   >=dev-qt/qtwebengine-${QTMIN}:5
-   >=kde-frameworks/syndication-${KFMIN}:5
-   )
-   search? ( >=dev-qt/qtwebengine-${QTMIN}:5 )
-   shutdown? ( kde-plasma/libkworkspace:5 )
-   stats? ( >=kde-frameworks/kplotting-${KFMIN}:5 )
-   upnp? ( >=kde-frameworks/kcompletion-${KFMIN}:5 )
-   zeroconf? ( >=kde-frameworks/kdnssd-${KFMIN}:5 )
-"
-DEPEND="${COMMON_DEPEND}
-   dev-libs/boost
-"
-RDEPEND="${COMMON_DEPEND}
-   ipfilter? (
-   app-arch/bzip2
-   app-arch/unzip
-   kde-apps/kio-extras:5
-   >=kde-frameworks/ktextwidgets-${KFMIN}:5
-   )
-"
-
-src_configure() {
-   local mycmakeargs=(
-   -DENABLE_BWSCHEDULER_PLUGIN=$(usex bwscheduler)
-   -DENABLE_DOWNLOADORDER_PLUGIN=$(usex downloadorder)
-   -DENABLE_INFOWIDGET_PLUGIN=$(usex infowidget)
-   -DWITH_SYSTEM_GEOIP=$(usex infowidget)
-   -DENABLE_IPFILTER_PLUGIN=$(usex ipfilter)
-   -DENABLE_SCRIPTING_PLUGIN=$(usex kross)
-   -DENABLE_LOGVIEWER_PLUGIN=$(usex logviewer)
-   -DENABLE_MAGNETGENERATOR_PLUGIN=$(usex magnetgenerator)
-   -DENABLE_MEDIAPLAYER_PLUGIN=$(usex mediaplayer)
-   $(cmake_use_find_package rss KF5Syndication)
-   -DENABLE_SCANFOLDER_PLUGIN=$(usex scanfolder)
-   -DENABLE_SEARCH_PLUGIN=$(usex search)
-   -DENABLE_SHUTDOWN_PLUGIN=$(usex shutdown)
-   -DENABLE_STATS_PLUGIN=$(usex stats)
-   -DENABLE_UPNP_PLUGIN=$(usex upnp)
-   -DENABLE_ZEROCONF_PLUGIN=$(usex zeroconf)
-   )
-# add back when ported
-#  -DENABLE_WEBINTERFACE_PLUGIN=$(usex webinterface)
-   ecm_src_configure
-}



[gentoo-commits] repo/gentoo:master commit in: net-p2p/ktorrent/

2020-06-07 Thread Andreas Sturmlechner
commit: e0a43ab1c2e6aec12cbefa6eda98f9b572bd3bee
Author: Andrius Štikonas  stikonas  eu>
AuthorDate: Sat Jun  6 20:37:21 2020 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sun Jun  7 09:30:13 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0a43ab1

net-p2p/ktorrent: bump version to 5.2.0

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Andrius Štikonas  stikonas.eu>
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 net-p2p/ktorrent/Manifest  |   1 +
 net-p2p/ktorrent/ktorrent-5.2.0.ebuild | 101 +
 2 files changed, 102 insertions(+)

diff --git a/net-p2p/ktorrent/Manifest b/net-p2p/ktorrent/Manifest
index 175ffedfbec..9931d7ca79a 100644
--- a/net-p2p/ktorrent/Manifest
+++ b/net-p2p/ktorrent/Manifest
@@ -1 +1,2 @@
 DIST ktorrent-5.1.2.tar.xz 2048604 BLAKE2B 
761df1e0aab5c4457311ae821a47ebf7b5b82b2839b4bf238491231caa213370cc649a1c0cafd332b42bbb84230f4a313e5172db722ff3c7af81c0daba450a98
 SHA512 
b62d05650216721299dc9db23da1a2d6ae5d3b77583ad4bd99ac032d7b135cce567feff3b66d27ac001d77e30517112e4e8c8bf8e83c1106a79509ec45498621
+DIST ktorrent-5.2.0.tar.xz 2056012 BLAKE2B 
c59cb34675b9c4e023b6c22f795bf146d64acaea069efa1f1663888a0ada6f7c8328a15bdc2fc453e31a9f451c6b0203dfdfd02098cc52f5d828b87c23d857b5
 SHA512 
141976612cfe6bf4bd06e96842d7bc51ced7a3ab8e13c25446a00c031054698f851fbb1a31f3425dda5a428408bb1ceb51a4a420eaf2e79193b17a0cc7d7a387

diff --git a/net-p2p/ktorrent/ktorrent-5.2.0.ebuild 
b/net-p2p/ktorrent/ktorrent-5.2.0.ebuild
new file mode 100644
index 000..66e201533e6
--- /dev/null
+++ b/net-p2p/ktorrent/ktorrent-5.2.0.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+ECM_HANDBOOK="optional"
+ECM_TEST="optional"
+KFMIN=5.64.0
+QTMIN=5.12.3
+VIRTUALX_REQUIRED="test"
+inherit ecm kde.org
+
+DESCRIPTION="Powerful BitTorrent client based on KDE Frameworks"
+HOMEPAGE="https://kde.org/applications/internet/org.kde.ktorrent;
+[[ ${KDE_BUILD_TYPE} = release ]] && 
SRC_URI="mirror://kde/stable/${PN}/${PV}/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="5"
+KEYWORDS=""
+IUSE="+bwscheduler +downloadorder +infowidget +ipfilter +kross +logviewer 
+magnetgenerator
++mediaplayer rss +scanfolder +search +shutdown +stats +upnp +zeroconf"
+
+BDEPEND="sys-devel/gettext"
+COMMON_DEPEND="
+   >=dev-qt/qtdbus-${QTMIN}:5
+   >=dev-qt/qtgui-${QTMIN}:5
+   >=dev-qt/qtnetwork-${QTMIN}:5
+   >=dev-qt/qtwidgets-${QTMIN}:5
+   >=dev-qt/qtxml-${QTMIN}:5
+   >=kde-frameworks/kcmutils-${KFMIN}:5
+   >=kde-frameworks/kconfig-${KFMIN}:5
+   >=kde-frameworks/kconfigwidgets-${KFMIN}:5
+   >=kde-frameworks/kcoreaddons-${KFMIN}:5
+   >=kde-frameworks/kcrash-${KFMIN}:5
+   >=kde-frameworks/kdbusaddons-${KFMIN}:5
+   >=kde-frameworks/ki18n-${KFMIN}:5
+   >=kde-frameworks/kiconthemes-${KFMIN}:5
+   >=kde-frameworks/kio-${KFMIN}:5
+   >=kde-frameworks/knotifications-${KFMIN}:5
+   >=kde-frameworks/knotifyconfig-${KFMIN}:5
+   >=kde-frameworks/kparts-${KFMIN}:5
+   >=kde-frameworks/kwidgetsaddons-${KFMIN}:5
+   >=kde-frameworks/kwindowsystem-${KFMIN}:5
+   >=kde-frameworks/kxmlgui-${KFMIN}:5
+   >=kde-frameworks/solid-${KFMIN}:5
+   >=net-libs/libktorrent-2.2.0:5
+   infowidget? ( dev-libs/geoip )
+   kross? (
+   >=kde-frameworks/karchive-${KFMIN}:5
+   >=kde-frameworks/kitemviews-${KFMIN}:5
+   >=kde-frameworks/kross-${KFMIN}:5
+   )
+   mediaplayer? (
+   media-libs/phonon[qt5(+)]
+   >=media-libs/taglib-1.5
+   )
+   rss? (
+   >=dev-qt/qtwebengine-${QTMIN}:5
+   >=kde-frameworks/syndication-${KFMIN}:5
+   )
+   search? ( >=dev-qt/qtwebengine-${QTMIN}:5 )
+   shutdown? ( kde-plasma/libkworkspace:5 )
+   stats? ( >=kde-frameworks/kplotting-${KFMIN}:5 )
+   upnp? ( >=kde-frameworks/kcompletion-${KFMIN}:5 )
+   zeroconf? ( >=kde-frameworks/kdnssd-${KFMIN}:5 )
+"
+DEPEND="${COMMON_DEPEND}
+   dev-libs/boost
+"
+RDEPEND="${COMMON_DEPEND}
+   ipfilter? (
+   app-arch/bzip2
+   app-arch/unzip
+   kde-apps/kio-extras:5
+   >=kde-frameworks/ktextwidgets-${KFMIN}:5
+   )
+"
+
+src_configure() {
+   local mycmakeargs=(
+   -DENABLE_BWSCHEDULER_PLUGIN=$(usex bwscheduler)
+   -DENABLE_DOWNLOADORDER_PLUGIN=$(usex downloadorder)
+   -DENABLE_INFOWIDGET_PLUGIN=$(usex infowidget)
+   -DWITH_SYSTEM_GEOIP=$(usex infowidget)
+   -DENABLE_IPFILTER_PLUGIN=$(usex ipfilter)
+   -DENABLE_SCRIPTING_PLUGIN=$(usex kross)
+   -DENABLE_LOGVIEWER_PLUGIN=$(usex logviewer)
+   -DENABLE_MAGNETGENERATOR_PLUGIN=$(usex magnetgenerator)
+   -DENABLE_MEDIAPLAYER_PLUGIN=$(usex mediaplayer)
+   

[gentoo-commits] repo/gentoo:master commit in: net-p2p/ktorrent/

2020-06-07 Thread Andreas Sturmlechner
commit: d8ae831e92766635a34075d62e7164abdbeb810a
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sun Jun  7 08:41:24 2020 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sun Jun  7 09:30:14 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8ae831e

net-p2p/ktorrent: Add KEYWORDS

Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 net-p2p/ktorrent/ktorrent-5.2.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-p2p/ktorrent/ktorrent-5.2.0.ebuild 
b/net-p2p/ktorrent/ktorrent-5.2.0.ebuild
index 66e201533e6..8118ca15987 100644
--- a/net-p2p/ktorrent/ktorrent-5.2.0.ebuild
+++ b/net-p2p/ktorrent/ktorrent-5.2.0.ebuild
@@ -16,7 +16,7 @@ 
HOMEPAGE="https://kde.org/applications/internet/org.kde.ktorrent;
 
 LICENSE="GPL-2"
 SLOT="5"
-KEYWORDS=""
+KEYWORDS="~amd64 ~arm64 ~x86"
 IUSE="+bwscheduler +downloadorder +infowidget +ipfilter +kross +logviewer 
+magnetgenerator
 +mediaplayer rss +scanfolder +search +shutdown +stats +upnp +zeroconf"
 



[gentoo-commits] repo/gentoo:master commit in: net-p2p/ktorrent/, net-p2p/ktorrent/files/

2020-01-04 Thread Andreas Sturmlechner
commit: 2dea5212306d8c29b31d70dc1cda898e4c17e648
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sat Jan  4 13:54:13 2020 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sat Jan  4 13:55:34 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2dea5212

net-p2p/ktorrent: Drop 5.1.1-r1

Dropping x86 after stable timeout.

Closes: https://bugs.gentoo.org/696858
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 net-p2p/ktorrent/Manifest  |   1 -
 net-p2p/ktorrent/files/ktorrent-5.1.1-kcrash.patch |  23 -
 net-p2p/ktorrent/files/ktorrent-5.1.1-kdehig.patch |  40 
 .../files/ktorrent-5.1.1-missing-header.patch  |  24 -
 .../ktorrent-5.1.1-scanfolder-memcorruption.patch  |  69 -
 net-p2p/ktorrent/ktorrent-5.1.1-r1.ebuild  | 109 -
 6 files changed, 266 deletions(-)

diff --git a/net-p2p/ktorrent/Manifest b/net-p2p/ktorrent/Manifest
index d1df2f1290e..175ffedfbec 100644
--- a/net-p2p/ktorrent/Manifest
+++ b/net-p2p/ktorrent/Manifest
@@ -1,2 +1 @@
-DIST ktorrent-5.1.1.tar.xz 2049392 BLAKE2B 
09ad841e1b6d7f332b19e2a660130b1f2b998cd6839614800cde7c99c8ec7f119f2adbdc3d9e06c8525e2dde534d73dab521c7df1d01b2fd0eb6b11fbb868d8f
 SHA512 
bbe744853018380e30efc6ef95916a9b6f0ebec812d70d7970e5e7183d860d147b0693dd0107b146a5987aa27f30cd335fad73c8967839d53eee1c5b63a53c06
 DIST ktorrent-5.1.2.tar.xz 2048604 BLAKE2B 
761df1e0aab5c4457311ae821a47ebf7b5b82b2839b4bf238491231caa213370cc649a1c0cafd332b42bbb84230f4a313e5172db722ff3c7af81c0daba450a98
 SHA512 
b62d05650216721299dc9db23da1a2d6ae5d3b77583ad4bd99ac032d7b135cce567feff3b66d27ac001d77e30517112e4e8c8bf8e83c1106a79509ec45498621

diff --git a/net-p2p/ktorrent/files/ktorrent-5.1.1-kcrash.patch 
b/net-p2p/ktorrent/files/ktorrent-5.1.1-kcrash.patch
deleted file mode 100644
index 8beffd97b4c..000
--- a/net-p2p/ktorrent/files/ktorrent-5.1.1-kcrash.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-From 3ff87f67e984e514a968ddf388a4056f8aa2e723 Mon Sep 17 00:00:00 2001
-From: Aleix Pol 
-Date: Tue, 11 Jun 2019 22:59:15 +0200
-Subject: Fix build. Needs KCrash
-

- ktorrent/CMakeLists.txt | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/ktorrent/CMakeLists.txt b/ktorrent/CMakeLists.txt
-index e8c29af..326c59a 100644
 a/ktorrent/CMakeLists.txt
-+++ b/ktorrent/CMakeLists.txt
-@@ -110,6 +110,7 @@ target_link_libraries(ktorrent_app
- KF5::WidgetsAddons
- KF5::WindowSystem
- KF5::XmlGui
-+KF5::Crash
- )
- 
- install(TARGETS ktorrent_app ${INSTALL_TARGETS_DEFAULT_ARGS})
--- 
-cgit v1.1

diff --git a/net-p2p/ktorrent/files/ktorrent-5.1.1-kdehig.patch 
b/net-p2p/ktorrent/files/ktorrent-5.1.1-kdehig.patch
deleted file mode 100644
index 97115229889..000
--- a/net-p2p/ktorrent/files/ktorrent-5.1.1-kdehig.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-From c77b09fe37ac00c86e6ac43db5e43b325fa4d8a1 Mon Sep 17 00:00:00 2001
-From: Carl Schwan 
-Date: Thu, 14 Mar 2019 23:24:27 +0100
-Subject: Follow KDE HIG by using ellipis
-
-Summary:
-See https://hig.kde.org/style/writing/placeholder.html#actions
-
-@stikonas I add you as reviewer because I saw that you are last contributor to 
KTorrent :D
-
-Test Plan: Build and run
-
-Reviewers: #vdg, stikonas, ngraham
-
-Reviewed By: #vdg, stikonas, ngraham
-
-Subscribers: stikonas
-
-Maniphest Tasks: T10258
-
-Differential Revision: https://phabricator.kde.org/D19772

- ktorrent/view/torrentsearchbar.cpp | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/ktorrent/view/torrentsearchbar.cpp 
b/ktorrent/view/torrentsearchbar.cpp
-index 045d695..2e9c428 100644
 a/ktorrent/view/torrentsearchbar.cpp
-+++ b/ktorrent/view/torrentsearchbar.cpp
-@@ -46,7 +46,7 @@ namespace kt
- 
- search_bar = new QLineEdit(this);
- search_bar->setClearButtonEnabled(true);
--search_bar->setPlaceholderText(i18n("Torrent filter"));
-+search_bar->setPlaceholderText(i18n("Filter..."));
- connect(search_bar, SIGNAL(textChanged(QString)), view, 
SLOT(setFilterString(QString)));
- connect(this, SIGNAL(filterBarShown(QString)), view, 
SLOT(setFilterString(QString)));
- 
--- 
-cgit v1.1

diff --git a/net-p2p/ktorrent/files/ktorrent-5.1.1-missing-header.patch 
b/net-p2p/ktorrent/files/ktorrent-5.1.1-missing-header.patch
deleted file mode 100644
index b574d302824..000
--- a/net-p2p/ktorrent/files/ktorrent-5.1.1-missing-header.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-From 909215cc912d89fbc8573f2f98e3b433472d8eae Mon Sep 17 00:00:00 2001
-From: Andreas Sturmlechner 
-Date: Fri, 9 Aug 2019 20:54:52 +0200
-Subject: [PATCH] Add missing QVector
-

- libktcore/plugin/pluginmanager.h | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/libktcore/plugin/pluginmanager.h 
b/libktcore/plugin/pluginmanager.h
-index 50eaa768..3a04a729 100644
 a/libktcore/plugin/pluginmanager.h
-+++ b/libktcore/plugin/pluginmanager.h
-@@ 

[gentoo-commits] repo/gentoo:master commit in: net-p2p/ktorrent/

2019-12-26 Thread Andreas Sturmlechner
commit: a364c9ceea5ed11e7f0d3971c6f37404958898e6
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Thu Dec 26 23:59:34 2019 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Fri Dec 27 00:07:18 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a364c9ce

net-p2p/ktorrent: Port to ecm.eclass and kde.org.eclass

Package-Manager: Portage-2.3.83, Repoman-2.3.20
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 net-p2p/ktorrent/ktorrent-5.1.2-r2.ebuild | 83 ---
 1 file changed, 43 insertions(+), 40 deletions(-)

diff --git a/net-p2p/ktorrent/ktorrent-5.1.2-r2.ebuild 
b/net-p2p/ktorrent/ktorrent-5.1.2-r2.ebuild
index 95f9bf8408b..cac1657e6a9 100644
--- a/net-p2p/ktorrent/ktorrent-5.1.2-r2.ebuild
+++ b/net-p2p/ktorrent/ktorrent-5.1.2-r2.ebuild
@@ -3,66 +3,69 @@
 
 EAPI=7
 
-KDE_HANDBOOK="optional"
-KDE_TEST="optional"
+ECM_HANDBOOK="optional"
+ECM_TEST="optional"
+KFMIN=5.60.0
+QTMIN=5.12.3
 VIRTUALX_REQUIRED="test"
-inherit kde5
+inherit ecm kde.org
 
 DESCRIPTION="Powerful BitTorrent client based on KDE Frameworks"
-HOMEPAGE="https://kde.org/applications/internet/ktorrent/;
+HOMEPAGE="https://kde.org/applications/internet/org.kde.ktorrent;
 [[ ${KDE_BUILD_TYPE} = release ]] && 
SRC_URI="mirror://kde/stable/${PN}/${PV/%.0}/${P}.tar.xz"
 
 LICENSE="GPL-2"
+SLOT="5"
 KEYWORDS="amd64 arm64 ~x86"
 IUSE="+bwscheduler +downloadorder +infowidget +ipfilter +kross +logviewer 
+magnetgenerator
 +mediaplayer rss +scanfolder +search +shutdown +stats +upnp +zeroconf"
 
 BDEPEND="sys-devel/gettext"
 COMMON_DEPEND="
-   $(add_frameworks_dep kcmutils)
-   $(add_frameworks_dep kconfig)
-   $(add_frameworks_dep kconfigwidgets)
-   $(add_frameworks_dep kcoreaddons)
-   $(add_frameworks_dep kcrash)
-   $(add_frameworks_dep kdbusaddons)
-   $(add_frameworks_dep ki18n)
-   $(add_frameworks_dep kiconthemes)
-   $(add_frameworks_dep kio)
-   $(add_frameworks_dep knotifications)
-   $(add_frameworks_dep knotifyconfig)
-   $(add_frameworks_dep kparts)
-   $(add_frameworks_dep kwidgetsaddons)
-   $(add_frameworks_dep kwindowsystem)
-   $(add_frameworks_dep kxmlgui)
-   $(add_frameworks_dep solid)
-   $(add_qt_dep qtdbus)
-   $(add_qt_dep qtgui)
-   $(add_qt_dep qtnetwork)
-   $(add_qt_dep qtwidgets)
-   $(add_qt_dep qtxml)
+   >=dev-qt/qtdbus-${QTMIN}:5
+   >=dev-qt/qtgui-${QTMIN}:5
+   >=dev-qt/qtnetwork-${QTMIN}:5
+   >=dev-qt/qtwidgets-${QTMIN}:5
+   >=dev-qt/qtxml-${QTMIN}:5
+   >=kde-frameworks/kcmutils-${KFMIN}:5
+   >=kde-frameworks/kconfig-${KFMIN}:5
+   >=kde-frameworks/kconfigwidgets-${KFMIN}:5
+   >=kde-frameworks/kcoreaddons-${KFMIN}:5
+   >=kde-frameworks/kcrash-${KFMIN}:5
+   >=kde-frameworks/kdbusaddons-${KFMIN}:5
+   >=kde-frameworks/ki18n-${KFMIN}:5
+   >=kde-frameworks/kiconthemes-${KFMIN}:5
+   >=kde-frameworks/kio-${KFMIN}:5
+   >=kde-frameworks/knotifications-${KFMIN}:5
+   >=kde-frameworks/knotifyconfig-${KFMIN}:5
+   >=kde-frameworks/kparts-${KFMIN}:5
+   >=kde-frameworks/kwidgetsaddons-${KFMIN}:5
+   >=kde-frameworks/kwindowsystem-${KFMIN}:5
+   >=kde-frameworks/kxmlgui-${KFMIN}:5
+   >=kde-frameworks/solid-${KFMIN}:5
>=net-libs/libktorrent-2.1.1:5
infowidget? ( dev-libs/geoip )
kross? (
-   $(add_frameworks_dep karchive)
-   $(add_frameworks_dep kitemviews)
-   $(add_frameworks_dep kross)
+   >=kde-frameworks/karchive-${KFMIN}:5
+   >=kde-frameworks/kitemviews-${KFMIN}:5
+   >=kde-frameworks/kross-${KFMIN}:5
)
mediaplayer? (
media-libs/phonon[qt5(+)]
>=media-libs/taglib-1.5
)
rss? (
-   $(add_frameworks_dep kdewebkit)
-   $(add_frameworks_dep syndication)
+   >=kde-frameworks/kdewebkit-${KFMIN}:5
+   >=kde-frameworks/syndication-${KFMIN}:5
)
search? (
-   $(add_frameworks_dep kdewebkit)
>=dev-qt/qtwebkit-5.212.0_pre20180120:5
+   >=kde-frameworks/kdewebkit-${KFMIN}:5
)
-   shutdown? ( $(add_plasma_dep plasma-workspace) )
-   stats? ( $(add_frameworks_dep kplotting) )
-   upnp? ( $(add_frameworks_dep kcompletion) )
-   zeroconf? ( $(add_frameworks_dep kdnssd) )
+   shutdown? ( >=kde-plasma/plasma-workspace-5.15.5 )
+   stats? ( >=kde-frameworks/kplotting-${KFMIN}:5 )
+   upnp? ( >=kde-frameworks/kcompletion-${KFMIN}:5 )
+   zeroconf? ( >=kde-frameworks/kdnssd-${KFMIN}:5 )
 "
 DEPEND="${COMMON_DEPEND}
dev-libs/boost
@@ -71,8 +74,8 @@ RDEPEND="${COMMON_DEPEND}
ipfilter? (
app-arch/bzip2
app-arch/unzip
-   $(add_frameworks_dep ktextwidgets)
-   $(add_kdeapps_dep kio-extras)
+   

[gentoo-commits] repo/gentoo:master commit in: net-p2p/ktorrent/

2019-11-08 Thread Aaron Bauman
commit: 88a9bc59ef729d56fa9c49c2b3d8c77a10f912f7
Author: Aaron Bauman  gentoo  org>
AuthorDate: Fri Nov  8 16:51:17 2019 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Fri Nov  8 16:51:17 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88a9bc59

net-p2p/ktorrent: arm64 stable (bug #696858)

Signed-off-by: Aaron Bauman  gentoo.org>
Package-Manager: Portage-2.3.78, Repoman-2.3.17

 net-p2p/ktorrent/ktorrent-5.1.2-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-p2p/ktorrent/ktorrent-5.1.2-r2.ebuild 
b/net-p2p/ktorrent/ktorrent-5.1.2-r2.ebuild
index e87eb859a2a..95f9bf8408b 100644
--- a/net-p2p/ktorrent/ktorrent-5.1.2-r2.ebuild
+++ b/net-p2p/ktorrent/ktorrent-5.1.2-r2.ebuild
@@ -13,7 +13,7 @@ HOMEPAGE="https://kde.org/applications/internet/ktorrent/;
 [[ ${KDE_BUILD_TYPE} = release ]] && 
SRC_URI="mirror://kde/stable/${PN}/${PV/%.0}/${P}.tar.xz"
 
 LICENSE="GPL-2"
-KEYWORDS="amd64 ~arm64 ~x86"
+KEYWORDS="amd64 arm64 ~x86"
 IUSE="+bwscheduler +downloadorder +infowidget +ipfilter +kross +logviewer 
+magnetgenerator
 +mediaplayer rss +scanfolder +search +shutdown +stats +upnp +zeroconf"
 



[gentoo-commits] repo/gentoo:master commit in: net-p2p/ktorrent/

2019-11-03 Thread Mikle Kolyada
commit: f69ff1dab50f808ede89da8c69baab651a737349
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sun Nov  3 13:28:19 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sun Nov  3 13:29:05 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f69ff1da

net-p2p/ktorrent: amd64 stable wrt bug #696858

Package-Manager: Portage-2.3.76, Repoman-2.3.16
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Mikle Kolyada  gentoo.org>

 net-p2p/ktorrent/ktorrent-5.1.2-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-p2p/ktorrent/ktorrent-5.1.2-r2.ebuild 
b/net-p2p/ktorrent/ktorrent-5.1.2-r2.ebuild
index a23633e653d..e87eb859a2a 100644
--- a/net-p2p/ktorrent/ktorrent-5.1.2-r2.ebuild
+++ b/net-p2p/ktorrent/ktorrent-5.1.2-r2.ebuild
@@ -13,7 +13,7 @@ HOMEPAGE="https://kde.org/applications/internet/ktorrent/;
 [[ ${KDE_BUILD_TYPE} = release ]] && 
SRC_URI="mirror://kde/stable/${PN}/${PV/%.0}/${P}.tar.xz"
 
 LICENSE="GPL-2"
-KEYWORDS="~amd64 ~arm64 ~x86"
+KEYWORDS="amd64 ~arm64 ~x86"
 IUSE="+bwscheduler +downloadorder +infowidget +ipfilter +kross +logviewer 
+magnetgenerator
 +mediaplayer rss +scanfolder +search +shutdown +stats +upnp +zeroconf"
 



[gentoo-commits] repo/gentoo:master commit in: net-p2p/ktorrent/

2019-10-06 Thread Andreas Sturmlechner
commit: 1b5eb54170b744299788b5e703b2057320c0da79
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sun Oct  6 17:40:32 2019 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sun Oct  6 17:41:51 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b5eb541

net-p2p/ktorrent: Drop 5.1.2-r1

Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 net-p2p/ktorrent/ktorrent-5.1.2-r1.ebuild | 103 --
 1 file changed, 103 deletions(-)

diff --git a/net-p2p/ktorrent/ktorrent-5.1.2-r1.ebuild 
b/net-p2p/ktorrent/ktorrent-5.1.2-r1.ebuild
deleted file mode 100644
index af5cd52308e..000
--- a/net-p2p/ktorrent/ktorrent-5.1.2-r1.ebuild
+++ /dev/null
@@ -1,103 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-KDE_HANDBOOK="optional"
-KDE_TEST="optional"
-VIRTUALX_REQUIRED="test"
-inherit kde5
-
-DESCRIPTION="Powerful BitTorrent client based on KDE Frameworks"
-HOMEPAGE="https://kde.org/applications/internet/ktorrent/;
-[[ ${KDE_BUILD_TYPE} = release ]] && 
SRC_URI="mirror://kde/stable/${PN}/${PV/%.0}/${P}.tar.xz"
-
-LICENSE="GPL-2"
-KEYWORDS="~amd64 ~arm64 ~x86"
-IUSE="+bwscheduler +downloadorder +infowidget +ipfilter +kross +logviewer 
+magnetgenerator
-+mediaplayer rss +scanfolder +search +shutdown +stats +upnp +zeroconf"
-
-BDEPEND="sys-devel/gettext"
-COMMON_DEPEND="
-   $(add_frameworks_dep kcmutils)
-   $(add_frameworks_dep kconfig)
-   $(add_frameworks_dep kconfigwidgets)
-   $(add_frameworks_dep kcoreaddons)
-   $(add_frameworks_dep kcrash)
-   $(add_frameworks_dep kdbusaddons)
-   $(add_frameworks_dep ki18n)
-   $(add_frameworks_dep kiconthemes)
-   $(add_frameworks_dep kio)
-   $(add_frameworks_dep knotifications)
-   $(add_frameworks_dep knotifyconfig)
-   $(add_frameworks_dep kparts)
-   $(add_frameworks_dep kwidgetsaddons)
-   $(add_frameworks_dep kwindowsystem)
-   $(add_frameworks_dep kxmlgui)
-   $(add_frameworks_dep solid)
-   $(add_qt_dep qtdbus)
-   $(add_qt_dep qtgui)
-   $(add_qt_dep qtnetwork)
-   $(add_qt_dep qtwidgets)
-   $(add_qt_dep qtxml)
-   >=net-libs/libktorrent-2.1.1:5
-   infowidget? ( dev-libs/geoip )
-   kross? (
-   $(add_frameworks_dep karchive)
-   $(add_frameworks_dep kitemviews)
-   $(add_frameworks_dep kross)
-   )
-   mediaplayer? (
-   media-libs/phonon[qt5(+)]
-   >=media-libs/taglib-1.5
-   )
-   rss? (
-   $(add_frameworks_dep kdewebkit)
-   $(add_frameworks_dep syndication)
-   )
-   search? (
-   $(add_frameworks_dep kdewebkit)
-   >=dev-qt/qtwebkit-5.212.0_pre20180120:5
-   )
-   shutdown? ( $(add_plasma_dep plasma-workspace) )
-   stats? ( $(add_frameworks_dep kplotting) )
-   upnp? ( $(add_frameworks_dep kcompletion) )
-   zeroconf? ( $(add_frameworks_dep kdnssd) )
-"
-DEPEND="${COMMON_DEPEND}
-   dev-libs/boost
-"
-RDEPEND="${COMMON_DEPEND}
-   ipfilter? (
-   app-arch/bzip2
-   app-arch/unzip
-   $(add_frameworks_dep ktextwidgets)
-   $(add_kdeapps_dep kio-extras)
-   )
-"
-
-PATCHES=( "${FILESDIR}/${PN}-5.1.1-singlefile-torrent.patch" ) # git master
-
-src_configure() {
-   local mycmakeargs=(
-   -DENABLE_BWSCHEDULER_PLUGIN=$(usex bwscheduler)
-   -DENABLE_DOWNLOADORDER_PLUGIN=$(usex downloadorder)
-   -DENABLE_INFOWIDGET_PLUGIN=$(usex infowidget)
-   -DWITH_SYSTEM_GEOIP=$(usex infowidget)
-   -DENABLE_IPFILTER_PLUGIN=$(usex ipfilter)
-   -DENABLE_SCRIPTING_PLUGIN=$(usex kross)
-   -DENABLE_LOGVIEWER_PLUGIN=$(usex logviewer)
-   -DENABLE_MAGNETGENERATOR_PLUGIN=$(usex magnetgenerator)
-   -DENABLE_MEDIAPLAYER_PLUGIN=$(usex mediaplayer)
-   $(cmake-utils_use_find_package rss KF5Syndication)
-   -DENABLE_SCANFOLDER_PLUGIN=$(usex scanfolder)
-   -DENABLE_SEARCH_PLUGIN=$(usex search)
-   -DENABLE_SHUTDOWN_PLUGIN=$(usex shutdown)
-   -DENABLE_STATS_PLUGIN=$(usex stats)
-   -DENABLE_UPNP_PLUGIN=$(usex upnp)
-   -DENABLE_ZEROCONF_PLUGIN=$(usex zeroconf)
-   )
-# add back when ported
-#  -DENABLE_WEBINTERFACE_PLUGIN=$(usex webinterface)
-   kde5_src_configure
-}



[gentoo-commits] repo/gentoo:master commit in: net-p2p/ktorrent/, net-p2p/ktorrent/files/

2019-10-06 Thread Andreas Sturmlechner
commit: e62a01696afc68d159e2050fcc38602ee64190e3
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sun Oct  6 17:39:53 2019 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sun Oct  6 17:41:50 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e62a0169

net-p2p/ktorrent: Fix crash on exit

Closes: https://bugs.gentoo.org/632588
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 .../files/ktorrent-5.1.2-crash-on-exit.patch   | 386 +
 net-p2p/ktorrent/ktorrent-5.1.2-r2.ebuild  | 106 ++
 2 files changed, 492 insertions(+)

diff --git a/net-p2p/ktorrent/files/ktorrent-5.1.2-crash-on-exit.patch 
b/net-p2p/ktorrent/files/ktorrent-5.1.2-crash-on-exit.patch
new file mode 100644
index 000..5cb6640d16f
--- /dev/null
+++ b/net-p2p/ktorrent/files/ktorrent-5.1.2-crash-on-exit.patch
@@ -0,0 +1,386 @@
+From b819ef6a35495e12a204cbb241cdb2502c4cd11e Mon Sep 17 00:00:00 2001
+From: Valerii Malov 
+Date: Sun, 22 Sep 2019 21:20:47 +0300
+Subject: Cleanup ViewModel a bit and try to fix crash on exit
+
+Summary:
+removeTorrent makes changes to torrent list we are currently iterating
+on per-item basis, this causees heap-use-after-free in onExit
+Just call removeRows which should be functionally the same, but should
+delete all items in one batch
+
+CCBUG: 383127
+
+Compact ViewModel::Item::update
+Fix a few warnings (0 as nullptr, c-style casts)
+Remove useless ViewModel::torrentFromIndex variant
+Remove unused headers
+add CMakeLists.txt.user to gitignore
+
+Test Plan: build with asan, run & exit, see asan stacktrace before changing 
onExit
+
+Reviewers: stikonas
+
+Differential Revision: https://phabricator.kde.org/D24149
+---
+ .gitignore  |   1 +
+ ktorrent/CMakeLists.txt |   1 +
+ ktorrent/view/viewmodel.cpp | 197 
+ ktorrent/view/viewmodel.h   |  21 +++--
+ 4 files changed, 63 insertions(+), 157 deletions(-)
+
+diff --git a/.gitignore b/.gitignore
+index 2ad76d6..d88e731 100644
+--- a/.gitignore
 b/.gitignore
+@@ -1,3 +1,4 @@
+ build
+ .kdev4/
+ ktorrent.kdev4
++CMakeLists.txt.user
+diff --git a/ktorrent/CMakeLists.txt b/ktorrent/CMakeLists.txt
+index 75ba8a1..bf605a5 100644
+--- a/ktorrent/CMakeLists.txt
 b/ktorrent/CMakeLists.txt
+@@ -91,6 +91,7 @@ set(KTORRENT_ICONS_PNG
+ ecm_add_app_icon(ktorrent_SRC ICONS ${KTORRENT_ICONS_PNG})
+ 
+ add_executable(ktorrent_app ${ktorrent_SRC})
++set_property(TARGET ktorrent_app PROPERTY CXX_STANDARD 14)
+ set_target_properties(ktorrent_app  PROPERTIES OUTPUT_NAME ktorrent)
+ 
+ target_link_libraries(ktorrent_app
+diff --git a/ktorrent/view/viewmodel.cpp b/ktorrent/view/viewmodel.cpp
+index 6834186..b9feeab 100644
+--- a/ktorrent/view/viewmodel.cpp
 b/ktorrent/view/viewmodel.cpp
+@@ -32,18 +32,17 @@
+ 
+ #include 
+ 
+-#include 
+-#include 
+-#include 
++#include 
+ #include 
+-#include 
+-#include 
+ #include 
+-#include 
++#include 
++#include 
++#include 
++
+ #include "core.h"
+-#include "viewdelegate.h"
+-#include "view.h"
+ #include "settings.h"
++#include "view.h"
++#include "viewdelegate.h"
+ 
+ using namespace bt;
+ 
+@@ -80,125 +79,45 @@ namespace kt
+ {
+ bool ret = false;
+ const TorrentStats& s = tc->getStats();
+-if (status != s.status)
+-{
+-to_update.append(model->index(row, NAME));
+-status = s.status;
+-if (sort_column == NAME)
+-ret = true;
+-}
+-
+-if (bytes_downloaded != s.bytes_downloaded)
+-{
+-to_update.append(model->index(row, BYTES_DOWNLOADED));
+-bytes_downloaded = s.bytes_downloaded;
+-if (sort_column == BYTES_DOWNLOADED)
+-ret = true;
+-}
+-
+-if (total_bytes_to_download != s.total_bytes_to_download)
+-{
+-to_update.append(model->index(row, TOTAL_BYTES_TO_DOWNLOAD));
+-total_bytes_to_download = s.total_bytes_to_download;
+-if (sort_column == TOTAL_BYTES_TO_DOWNLOAD)
+-ret = true;
+-}
+-
+-if (bytes_uploaded != s.bytes_uploaded)
+-{
+-to_update.append(model->index(row, BYTES_UPLOADED));
+-bytes_uploaded = s.bytes_uploaded;
+-if (sort_column == BYTES_UPLOADED)
+-ret = true;
+-}
+-
+-if (bytes_left != s.bytes_left_to_download)
+-{
+-to_update.append(model->index(row, BYTES_LEFT));
+-bytes_left = s.bytes_left_to_download;
+-if (sort_column == BYTES_LEFT)
+-ret = true;
+-}
+-
+-if (download_rate != s.download_rate)
+-{
+-to_update.append(model->index(row, DOWNLOAD_RATE));
+-download_rate = s.download_rate;
+-if (sort_column == DOWNLOAD_RATE)
+-ret = true;
+-}
+-
+-if 

[gentoo-commits] repo/gentoo:master commit in: net-p2p/ktorrent/

2019-09-08 Thread Andreas Sturmlechner
commit: a92f8d20b3e0a095a416616638ebf33acb97683e
Author: Andrius Štikonas  stikonas  eu>
AuthorDate: Thu Sep  5 22:37:40 2019 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sun Sep  8 16:17:16 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a92f8d20

net-p2p/ktorrent: add ~arm64 keyword

Closes: https://bugs.gentoo.org/693586

Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Andrius Štikonas  stikonas.eu>
Closes: https://github.com/gentoo/gentoo/pull/12869
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 net-p2p/ktorrent/ktorrent-5.1.2-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-p2p/ktorrent/ktorrent-5.1.2-r1.ebuild 
b/net-p2p/ktorrent/ktorrent-5.1.2-r1.ebuild
index 6de16c59526..af5cd52308e 100644
--- a/net-p2p/ktorrent/ktorrent-5.1.2-r1.ebuild
+++ b/net-p2p/ktorrent/ktorrent-5.1.2-r1.ebuild
@@ -13,7 +13,7 @@ HOMEPAGE="https://kde.org/applications/internet/ktorrent/;
 [[ ${KDE_BUILD_TYPE} = release ]] && 
SRC_URI="mirror://kde/stable/${PN}/${PV/%.0}/${P}.tar.xz"
 
 LICENSE="GPL-2"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~arm64 ~x86"
 IUSE="+bwscheduler +downloadorder +infowidget +ipfilter +kross +logviewer 
+magnetgenerator
 +mediaplayer rss +scanfolder +search +shutdown +stats +upnp +zeroconf"
 



[gentoo-commits] repo/gentoo:master commit in: net-p2p/ktorrent/

2019-09-01 Thread Andreas Sturmlechner
commit: 4149e69872f8515bd326254340e948b8254fbed9
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sun Sep  1 21:28:54 2019 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sun Sep  1 21:33:54 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4149e698

net-p2p/ktorrent: We still want that patch

Package-Manager: Portage-2.3.74, Repoman-2.3.17
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 net-p2p/ktorrent/{ktorrent-5.1.2.ebuild => ktorrent-5.1.2-r1.ebuild} | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/net-p2p/ktorrent/ktorrent-5.1.2.ebuild 
b/net-p2p/ktorrent/ktorrent-5.1.2-r1.ebuild
similarity index 97%
rename from net-p2p/ktorrent/ktorrent-5.1.2.ebuild
rename to net-p2p/ktorrent/ktorrent-5.1.2-r1.ebuild
index 733351c8b19..6de16c59526 100644
--- a/net-p2p/ktorrent/ktorrent-5.1.2.ebuild
+++ b/net-p2p/ktorrent/ktorrent-5.1.2-r1.ebuild
@@ -76,6 +76,8 @@ RDEPEND="${COMMON_DEPEND}
)
 "
 
+PATCHES=( "${FILESDIR}/${PN}-5.1.1-singlefile-torrent.patch" ) # git master
+
 src_configure() {
local mycmakeargs=(
-DENABLE_BWSCHEDULER_PLUGIN=$(usex bwscheduler)



[gentoo-commits] repo/gentoo:master commit in: net-p2p/ktorrent/

2019-09-01 Thread Andreas Sturmlechner
commit: 3d9957653a27c4b076d446eb800123ded9cccbc2
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sun Sep  1 20:14:38 2019 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sun Sep  1 20:43:10 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d995765

net-p2p/ktorrent: 5.1.2 version bump

Package-Manager: Portage-2.3.74, Repoman-2.3.17
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 net-p2p/ktorrent/Manifest  |   1 +
 net-p2p/ktorrent/ktorrent-5.1.2.ebuild | 101 +
 2 files changed, 102 insertions(+)

diff --git a/net-p2p/ktorrent/Manifest b/net-p2p/ktorrent/Manifest
index 8b3e8dde4db..d1df2f1290e 100644
--- a/net-p2p/ktorrent/Manifest
+++ b/net-p2p/ktorrent/Manifest
@@ -1 +1,2 @@
 DIST ktorrent-5.1.1.tar.xz 2049392 BLAKE2B 
09ad841e1b6d7f332b19e2a660130b1f2b998cd6839614800cde7c99c8ec7f119f2adbdc3d9e06c8525e2dde534d73dab521c7df1d01b2fd0eb6b11fbb868d8f
 SHA512 
bbe744853018380e30efc6ef95916a9b6f0ebec812d70d7970e5e7183d860d147b0693dd0107b146a5987aa27f30cd335fad73c8967839d53eee1c5b63a53c06
+DIST ktorrent-5.1.2.tar.xz 2048604 BLAKE2B 
761df1e0aab5c4457311ae821a47ebf7b5b82b2839b4bf238491231caa213370cc649a1c0cafd332b42bbb84230f4a313e5172db722ff3c7af81c0daba450a98
 SHA512 
b62d05650216721299dc9db23da1a2d6ae5d3b77583ad4bd99ac032d7b135cce567feff3b66d27ac001d77e30517112e4e8c8bf8e83c1106a79509ec45498621

diff --git a/net-p2p/ktorrent/ktorrent-5.1.2.ebuild 
b/net-p2p/ktorrent/ktorrent-5.1.2.ebuild
new file mode 100644
index 000..733351c8b19
--- /dev/null
+++ b/net-p2p/ktorrent/ktorrent-5.1.2.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+KDE_HANDBOOK="optional"
+KDE_TEST="optional"
+VIRTUALX_REQUIRED="test"
+inherit kde5
+
+DESCRIPTION="Powerful BitTorrent client based on KDE Frameworks"
+HOMEPAGE="https://kde.org/applications/internet/ktorrent/;
+[[ ${KDE_BUILD_TYPE} = release ]] && 
SRC_URI="mirror://kde/stable/${PN}/${PV/%.0}/${P}.tar.xz"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+IUSE="+bwscheduler +downloadorder +infowidget +ipfilter +kross +logviewer 
+magnetgenerator
++mediaplayer rss +scanfolder +search +shutdown +stats +upnp +zeroconf"
+
+BDEPEND="sys-devel/gettext"
+COMMON_DEPEND="
+   $(add_frameworks_dep kcmutils)
+   $(add_frameworks_dep kconfig)
+   $(add_frameworks_dep kconfigwidgets)
+   $(add_frameworks_dep kcoreaddons)
+   $(add_frameworks_dep kcrash)
+   $(add_frameworks_dep kdbusaddons)
+   $(add_frameworks_dep ki18n)
+   $(add_frameworks_dep kiconthemes)
+   $(add_frameworks_dep kio)
+   $(add_frameworks_dep knotifications)
+   $(add_frameworks_dep knotifyconfig)
+   $(add_frameworks_dep kparts)
+   $(add_frameworks_dep kwidgetsaddons)
+   $(add_frameworks_dep kwindowsystem)
+   $(add_frameworks_dep kxmlgui)
+   $(add_frameworks_dep solid)
+   $(add_qt_dep qtdbus)
+   $(add_qt_dep qtgui)
+   $(add_qt_dep qtnetwork)
+   $(add_qt_dep qtwidgets)
+   $(add_qt_dep qtxml)
+   >=net-libs/libktorrent-2.1.1:5
+   infowidget? ( dev-libs/geoip )
+   kross? (
+   $(add_frameworks_dep karchive)
+   $(add_frameworks_dep kitemviews)
+   $(add_frameworks_dep kross)
+   )
+   mediaplayer? (
+   media-libs/phonon[qt5(+)]
+   >=media-libs/taglib-1.5
+   )
+   rss? (
+   $(add_frameworks_dep kdewebkit)
+   $(add_frameworks_dep syndication)
+   )
+   search? (
+   $(add_frameworks_dep kdewebkit)
+   >=dev-qt/qtwebkit-5.212.0_pre20180120:5
+   )
+   shutdown? ( $(add_plasma_dep plasma-workspace) )
+   stats? ( $(add_frameworks_dep kplotting) )
+   upnp? ( $(add_frameworks_dep kcompletion) )
+   zeroconf? ( $(add_frameworks_dep kdnssd) )
+"
+DEPEND="${COMMON_DEPEND}
+   dev-libs/boost
+"
+RDEPEND="${COMMON_DEPEND}
+   ipfilter? (
+   app-arch/bzip2
+   app-arch/unzip
+   $(add_frameworks_dep ktextwidgets)
+   $(add_kdeapps_dep kio-extras)
+   )
+"
+
+src_configure() {
+   local mycmakeargs=(
+   -DENABLE_BWSCHEDULER_PLUGIN=$(usex bwscheduler)
+   -DENABLE_DOWNLOADORDER_PLUGIN=$(usex downloadorder)
+   -DENABLE_INFOWIDGET_PLUGIN=$(usex infowidget)
+   -DWITH_SYSTEM_GEOIP=$(usex infowidget)
+   -DENABLE_IPFILTER_PLUGIN=$(usex ipfilter)
+   -DENABLE_SCRIPTING_PLUGIN=$(usex kross)
+   -DENABLE_LOGVIEWER_PLUGIN=$(usex logviewer)
+   -DENABLE_MAGNETGENERATOR_PLUGIN=$(usex magnetgenerator)
+   -DENABLE_MEDIAPLAYER_PLUGIN=$(usex mediaplayer)
+   $(cmake-utils_use_find_package rss KF5Syndication)
+   -DENABLE_SCANFOLDER_PLUGIN=$(usex scanfolder)
+   

[gentoo-commits] repo/gentoo:master commit in: net-p2p/ktorrent/

2019-08-12 Thread Andreas Sturmlechner
commit: 147b12f77568ee2ce4db935621dbdd58c77b72f1
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Mon Aug 12 06:11:56 2019 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Mon Aug 12 06:16:26 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=147b12f7

net-p2p/ktorrent: Drop 5.1.1 (r0)

Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 net-p2p/ktorrent/ktorrent-5.1.1.ebuild | 105 -
 1 file changed, 105 deletions(-)

diff --git a/net-p2p/ktorrent/ktorrent-5.1.1.ebuild 
b/net-p2p/ktorrent/ktorrent-5.1.1.ebuild
deleted file mode 100644
index 7e2991a362c..000
--- a/net-p2p/ktorrent/ktorrent-5.1.1.ebuild
+++ /dev/null
@@ -1,105 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-FRAMEWORKS_MINIMAL="5.50.0" # for syndication
-KDE_HANDBOOK="optional"
-KDE_TEST="optional"
-VIRTUALX_REQUIRED="test"
-inherit kde5
-
-DESCRIPTION="Powerful BitTorrent client based on KDE Frameworks"
-HOMEPAGE="https://www.kde.org/applications/internet/ktorrent/;
-[[ ${KDE_BUILD_TYPE} = release ]] && 
SRC_URI="mirror://kde/stable/${PN}/${PV/%.0}/${P}.tar.xz"
-
-LICENSE="GPL-2"
-KEYWORDS="amd64 x86"
-IUSE="+bwscheduler +downloadorder +infowidget +ipfilter +kross +logviewer 
+magnetgenerator
-+mediaplayer rss +scanfolder +search +shutdown +stats +upnp +zeroconf"
-
-COMMON_DEPEND="
-   $(add_frameworks_dep kcmutils)
-   $(add_frameworks_dep kconfig)
-   $(add_frameworks_dep kconfigwidgets)
-   $(add_frameworks_dep kcoreaddons)
-   $(add_frameworks_dep kcrash)
-   $(add_frameworks_dep kdbusaddons)
-   $(add_frameworks_dep ki18n)
-   $(add_frameworks_dep kiconthemes)
-   $(add_frameworks_dep kio)
-   $(add_frameworks_dep knotifications)
-   $(add_frameworks_dep knotifyconfig)
-   $(add_frameworks_dep kparts)
-   $(add_frameworks_dep kwidgetsaddons)
-   $(add_frameworks_dep kwindowsystem)
-   $(add_frameworks_dep kxmlgui)
-   $(add_frameworks_dep solid)
-   $(add_qt_dep qtdbus)
-   $(add_qt_dep qtgui)
-   $(add_qt_dep qtnetwork)
-   $(add_qt_dep qtwidgets)
-   $(add_qt_dep qtxml)
-   =net-libs/libktorrent-2.1*:5
-   infowidget? ( dev-libs/geoip )
-   kross? (
-   $(add_frameworks_dep karchive)
-   $(add_frameworks_dep kitemviews)
-   $(add_frameworks_dep kross)
-   )
-   mediaplayer? (
-   media-libs/phonon[qt5(+)]
-   >=media-libs/taglib-1.5
-   )
-   rss? (
-   $(add_frameworks_dep kdewebkit)
-   $(add_frameworks_dep syndication)
-   )
-   search? (
-   $(add_frameworks_dep kdewebkit)
-   $(add_qt_dep qtwebkit)
-   )
-   shutdown? ( $(add_plasma_dep plasma-workspace) )
-   stats? ( $(add_frameworks_dep kplotting) )
-   upnp? ( $(add_frameworks_dep kcompletion) )
-   zeroconf? ( $(add_frameworks_dep kdnssd) )
-"
-DEPEND="${COMMON_DEPEND}
-   dev-libs/boost
-   sys-devel/gettext
-"
-RDEPEND="${COMMON_DEPEND}
-   ipfilter? (
-   app-arch/bzip2
-   app-arch/unzip
-   $(add_frameworks_dep ktextwidgets)
-   $(add_kdeapps_dep kio-extras)
-   )
-   !net-p2p/ktorrent:4
-"
-
-PATCHES=( "${FILESDIR}/${P}-scanfolder-memcorruption.patch" )
-
-src_configure() {
-   local mycmakeargs=(
-   -DENABLE_BWSCHEDULER_PLUGIN=$(usex bwscheduler)
-   -DENABLE_DOWNLOADORDER_PLUGIN=$(usex downloadorder)
-   -DENABLE_INFOWIDGET_PLUGIN=$(usex infowidget)
-   -DWITH_SYSTEM_GEOIP=$(usex infowidget)
-   -DENABLE_IPFILTER_PLUGIN=$(usex ipfilter)
-   -DENABLE_SCRIPTING_PLUGIN=$(usex kross)
-   -DENABLE_LOGVIEWER_PLUGIN=$(usex logviewer)
-   -DENABLE_MAGNETGENERATOR_PLUGIN=$(usex magnetgenerator)
-   -DENABLE_MEDIAPLAYER_PLUGIN=$(usex mediaplayer)
-   $(cmake-utils_use_find_package rss KF5Syndication)
-   -DENABLE_SCANFOLDER_PLUGIN=$(usex scanfolder)
-   -DENABLE_SEARCH_PLUGIN=$(usex search)
-   -DENABLE_SHUTDOWN_PLUGIN=$(usex shutdown)
-   -DENABLE_STATS_PLUGIN=$(usex stats)
-   -DENABLE_UPNP_PLUGIN=$(usex upnp)
-   -DENABLE_ZEROCONF_PLUGIN=$(usex zeroconf)
-   )
-# add back when ported
-#  -DENABLE_WEBINTERFACE_PLUGIN=$(usex webinterface)
-   kde5_src_configure
-}



[gentoo-commits] repo/gentoo:master commit in: net-p2p/ktorrent/

2019-08-11 Thread Thomas Deutschmann
commit: 3e1d3d20ceeac41fb13fdeb104579ac2e5c97f82
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Sun Aug 11 20:51:03 2019 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Sun Aug 11 21:28:54 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e1d3d20

net-p2p/ktorrent: x86 stable (bug #690302)

Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Thomas Deutschmann  gentoo.org>

 net-p2p/ktorrent/ktorrent-5.1.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-p2p/ktorrent/ktorrent-5.1.1-r1.ebuild 
b/net-p2p/ktorrent/ktorrent-5.1.1-r1.ebuild
index 7f7e243ef91..443883b0dbc 100644
--- a/net-p2p/ktorrent/ktorrent-5.1.1-r1.ebuild
+++ b/net-p2p/ktorrent/ktorrent-5.1.1-r1.ebuild
@@ -13,7 +13,7 @@ HOMEPAGE="https://kde.org/applications/internet/ktorrent/;
 [[ ${KDE_BUILD_TYPE} = release ]] && 
SRC_URI="mirror://kde/stable/${PN}/${PV/%.0}/${P}.tar.xz"
 
 LICENSE="GPL-2"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE="+bwscheduler +downloadorder +infowidget +ipfilter +kross +logviewer 
+magnetgenerator
 +mediaplayer rss +scanfolder +search +shutdown +stats +upnp +zeroconf"
 



[gentoo-commits] repo/gentoo:master commit in: net-p2p/ktorrent/files/, net-p2p/ktorrent/

2019-08-09 Thread Andreas Sturmlechner
commit: 953cdcf312d474b8e9800a23c345effa07dbd94c
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Fri Aug  9 19:12:37 2019 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Fri Aug  9 19:36:20 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=953cdcf3

net-p2p/ktorrent: Fix missing header w/ future Frameworks

Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 .../files/ktorrent-5.1.1-missing-header.patch  | 24 ++
 net-p2p/ktorrent/ktorrent-5.1.1-r1.ebuild  |  1 +
 2 files changed, 25 insertions(+)

diff --git a/net-p2p/ktorrent/files/ktorrent-5.1.1-missing-header.patch 
b/net-p2p/ktorrent/files/ktorrent-5.1.1-missing-header.patch
new file mode 100644
index 000..b574d302824
--- /dev/null
+++ b/net-p2p/ktorrent/files/ktorrent-5.1.1-missing-header.patch
@@ -0,0 +1,24 @@
+From 909215cc912d89fbc8573f2f98e3b433472d8eae Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner 
+Date: Fri, 9 Aug 2019 20:54:52 +0200
+Subject: [PATCH] Add missing QVector
+
+---
+ libktcore/plugin/pluginmanager.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/libktcore/plugin/pluginmanager.h 
b/libktcore/plugin/pluginmanager.h
+index 50eaa768..3a04a729 100644
+--- a/libktcore/plugin/pluginmanager.h
 b/libktcore/plugin/pluginmanager.h
+@@ -23,6 +23,7 @@
+ 
+ #include 
+ #include 
++#include 
+ 
+ #include 
+ #include 
+-- 
+2.22.0
+

diff --git a/net-p2p/ktorrent/ktorrent-5.1.1-r1.ebuild 
b/net-p2p/ktorrent/ktorrent-5.1.1-r1.ebuild
index 6b12108bfcf..7f7e243ef91 100644
--- a/net-p2p/ktorrent/ktorrent-5.1.1-r1.ebuild
+++ b/net-p2p/ktorrent/ktorrent-5.1.1-r1.ebuild
@@ -81,6 +81,7 @@ PATCHES=(
"${FILESDIR}/${P}-kdehig.patch"
"${FILESDIR}/${P}-singlefile-torrent.patch"
"${FILESDIR}/${P}-kcrash.patch"
+   "${FILESDIR}/${P}-missing-header.patch"
 )
 
 src_configure() {



[gentoo-commits] repo/gentoo:master commit in: net-p2p/ktorrent/

2019-07-22 Thread Mikle Kolyada
commit: a00d14c8062ca47e903d97195ebfe1a70d529cd6
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Mon Jul 22 08:48:32 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Mon Jul 22 08:48:32 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a00d14c8

net-p2p/ktorrent: amd64 stable wrt bug #690302

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11
RepoMan-Options: --include-arches="amd64"

 net-p2p/ktorrent/ktorrent-5.1.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-p2p/ktorrent/ktorrent-5.1.1-r1.ebuild 
b/net-p2p/ktorrent/ktorrent-5.1.1-r1.ebuild
index 11e0303caec..6b12108bfcf 100644
--- a/net-p2p/ktorrent/ktorrent-5.1.1-r1.ebuild
+++ b/net-p2p/ktorrent/ktorrent-5.1.1-r1.ebuild
@@ -13,7 +13,7 @@ HOMEPAGE="https://kde.org/applications/internet/ktorrent/;
 [[ ${KDE_BUILD_TYPE} = release ]] && 
SRC_URI="mirror://kde/stable/${PN}/${PV/%.0}/${P}.tar.xz"
 
 LICENSE="GPL-2"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 IUSE="+bwscheduler +downloadorder +infowidget +ipfilter +kross +logviewer 
+magnetgenerator
 +mediaplayer rss +scanfolder +search +shutdown +stats +upnp +zeroconf"
 



[gentoo-commits] repo/gentoo:master commit in: net-p2p/ktorrent/files/, net-p2p/ktorrent/

2019-07-15 Thread Andreas Sturmlechner
commit: 2b82bca09fcef1be0d7700b46c22789cdde02e58
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Mon Jul 15 19:04:58 2019 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Mon Jul 15 20:51:56 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b82bca0

net-p2p/ktorrent: EAPI-7 bump, misc upstream fixes

Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 net-p2p/ktorrent/files/ktorrent-5.1.1-kcrash.patch |  23 
 net-p2p/ktorrent/files/ktorrent-5.1.1-kdehig.patch |  40 ++
 .../files/ktorrent-5.1.1-singlefile-torrent.patch  | 140 +
 net-p2p/ktorrent/ktorrent-5.1.1-r1.ebuild  | 108 
 4 files changed, 311 insertions(+)

diff --git a/net-p2p/ktorrent/files/ktorrent-5.1.1-kcrash.patch 
b/net-p2p/ktorrent/files/ktorrent-5.1.1-kcrash.patch
new file mode 100644
index 000..8beffd97b4c
--- /dev/null
+++ b/net-p2p/ktorrent/files/ktorrent-5.1.1-kcrash.patch
@@ -0,0 +1,23 @@
+From 3ff87f67e984e514a968ddf388a4056f8aa2e723 Mon Sep 17 00:00:00 2001
+From: Aleix Pol 
+Date: Tue, 11 Jun 2019 22:59:15 +0200
+Subject: Fix build. Needs KCrash
+
+---
+ ktorrent/CMakeLists.txt | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/ktorrent/CMakeLists.txt b/ktorrent/CMakeLists.txt
+index e8c29af..326c59a 100644
+--- a/ktorrent/CMakeLists.txt
 b/ktorrent/CMakeLists.txt
+@@ -110,6 +110,7 @@ target_link_libraries(ktorrent_app
+ KF5::WidgetsAddons
+ KF5::WindowSystem
+ KF5::XmlGui
++KF5::Crash
+ )
+ 
+ install(TARGETS ktorrent_app ${INSTALL_TARGETS_DEFAULT_ARGS})
+-- 
+cgit v1.1

diff --git a/net-p2p/ktorrent/files/ktorrent-5.1.1-kdehig.patch 
b/net-p2p/ktorrent/files/ktorrent-5.1.1-kdehig.patch
new file mode 100644
index 000..97115229889
--- /dev/null
+++ b/net-p2p/ktorrent/files/ktorrent-5.1.1-kdehig.patch
@@ -0,0 +1,40 @@
+From c77b09fe37ac00c86e6ac43db5e43b325fa4d8a1 Mon Sep 17 00:00:00 2001
+From: Carl Schwan 
+Date: Thu, 14 Mar 2019 23:24:27 +0100
+Subject: Follow KDE HIG by using ellipis
+
+Summary:
+See https://hig.kde.org/style/writing/placeholder.html#actions
+
+@stikonas I add you as reviewer because I saw that you are last contributor to 
KTorrent :D
+
+Test Plan: Build and run
+
+Reviewers: #vdg, stikonas, ngraham
+
+Reviewed By: #vdg, stikonas, ngraham
+
+Subscribers: stikonas
+
+Maniphest Tasks: T10258
+
+Differential Revision: https://phabricator.kde.org/D19772
+---
+ ktorrent/view/torrentsearchbar.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/ktorrent/view/torrentsearchbar.cpp 
b/ktorrent/view/torrentsearchbar.cpp
+index 045d695..2e9c428 100644
+--- a/ktorrent/view/torrentsearchbar.cpp
 b/ktorrent/view/torrentsearchbar.cpp
+@@ -46,7 +46,7 @@ namespace kt
+ 
+ search_bar = new QLineEdit(this);
+ search_bar->setClearButtonEnabled(true);
+-search_bar->setPlaceholderText(i18n("Torrent filter"));
++search_bar->setPlaceholderText(i18n("Filter..."));
+ connect(search_bar, SIGNAL(textChanged(QString)), view, 
SLOT(setFilterString(QString)));
+ connect(this, SIGNAL(filterBarShown(QString)), view, 
SLOT(setFilterString(QString)));
+ 
+-- 
+cgit v1.1

diff --git a/net-p2p/ktorrent/files/ktorrent-5.1.1-singlefile-torrent.patch 
b/net-p2p/ktorrent/files/ktorrent-5.1.1-singlefile-torrent.patch
new file mode 100644
index 000..b2251865628
--- /dev/null
+++ b/net-p2p/ktorrent/files/ktorrent-5.1.1-singlefile-torrent.patch
@@ -0,0 +1,140 @@
+From dab5abcd2172155c511e0666d867c37382829226 Mon Sep 17 00:00:00 2001
+From: Jiva Totin 
+Date: Sun, 17 Feb 2019 20:00:11 +
+Subject: Allow creating torrent for a single file.
+
+Added 2 new radio buttons. One for choosing directory and the other one for
+choosing files.
+
+BUG: 384452
+Differential Revision: https://phabricator.kde.org/D11728
+---
+ ktorrent/dialogs/torrentcreatordlg.cpp | 18 ++-
+ ktorrent/dialogs/torrentcreatordlg.h   |  3 ++
+ ktorrent/dialogs/torrentcreatordlg.ui  | 56 +++---
+ 3 files changed, 58 insertions(+), 19 deletions(-)
+
+diff --git a/ktorrent/dialogs/torrentcreatordlg.cpp 
b/ktorrent/dialogs/torrentcreatordlg.cpp
+index bb3710d..b46b291 100644
+--- a/ktorrent/dialogs/torrentcreatordlg.cpp
 b/ktorrent/dialogs/torrentcreatordlg.cpp
+@@ -54,12 +54,17 @@ namespace kt
+ adjustSize();
+ loadGroups();
+ 
+-m_url->setMode(KFile::File | KFile::ExistingOnly | KFile::LocalOnly | 
KFile::Directory);
++m_url->setMode(KFile::ExistingOnly | KFile::LocalOnly | 
KFile::Directory);
++m_selectDirectory->setChecked(true);
++
+ m_dht_tab->setEnabled(false);
+ 
+ connect(m_buttonBox, ::accepted, this, 
::accept);
+ connect(m_buttonBox, ::rejected, this, 
::reject);
+ 
++connect(m_selectDirectory, ::clicked, this, 
::selectDirectory);
++connect(m_selectFile, ::clicked, this, 
::selectFile);
++

[gentoo-commits] repo/gentoo:master commit in: net-p2p/ktorrent/files/

2019-01-06 Thread Andreas Sturmlechner
commit: 44cf2e4d492dc94aea62cececcbd3abfee2b9a8b
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Sun Jan  6 10:34:29 2019 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sun Jan  6 12:06:23 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44cf2e4d

net-p2p/ktorrent: remove unused patches

Signed-off-by: Michael Mair-Keimberger  gmail.com>
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 .../ktorrent/files/ktorrent-5.1.0-cmake-3.11.patch | 13 
 .../ktorrent/files/ktorrent-5.1.0-qt-5.11.patch| 76 --
 2 files changed, 89 deletions(-)

diff --git a/net-p2p/ktorrent/files/ktorrent-5.1.0-cmake-3.11.patch 
b/net-p2p/ktorrent/files/ktorrent-5.1.0-cmake-3.11.patch
deleted file mode 100644
index c0b9167636a..000
--- a/net-p2p/ktorrent/files/ktorrent-5.1.0-cmake-3.11.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-https://docs.freebsd.org/cgi/getmsg.cgi?fetch=4423635+0+/usr/local/www/mailindex/archive/2018/svn-ports-all/20180415.svn-ports-all
-
 ktorrent-5.1.0/ktorrent/dialogs/torrentcreatordlg.h
-+++ ktorrent-5.1.0/ktorrent/dialogs/torrentcreatordlg.h
-@@ -23,6 +23,8 @@
- #define KT_TORRENTCREATORDLG_HH
- 
- #include 
-+#include 
-+
- #include "ui_torrentcreatordlg.h"
- #include 
- 

diff --git a/net-p2p/ktorrent/files/ktorrent-5.1.0-qt-5.11.patch 
b/net-p2p/ktorrent/files/ktorrent-5.1.0-qt-5.11.patch
deleted file mode 100644
index f0d69b82c89..000
--- a/net-p2p/ktorrent/files/ktorrent-5.1.0-qt-5.11.patch
+++ /dev/null
@@ -1,76 +0,0 @@
-From 4befccc3d0ebbd9235e6f10d411f139802e3871a Mon Sep 17 00:00:00 2001
-From: Andreas Sturmlechner 
-Date: Sun, 18 Mar 2018 19:13:26 +0100
-Subject: [PATCH] Fix build with Qt 5.11 (missing headers)
-
-Reviewers: stikonas
-
-Differential Revision: https://phabricator.kde.org/D11456

- ktorrent/dialogs/fileselectdlg.cpp | 1 +
- ktorrent/groups/groupview.cpp  | 1 +
- plugins/search/searchprefpage.cpp  | 1 +
- 3 files changed, 3 insertions(+)
-
-diff --git a/ktorrent/dialogs/fileselectdlg.cpp 
b/ktorrent/dialogs/fileselectdlg.cpp
-index 139b4752..ec7d8ede 100644
 a/ktorrent/dialogs/fileselectdlg.cpp
-+++ b/ktorrent/dialogs/fileselectdlg.cpp
-@@ -20,6 +20,7 @@
- 
- #include "fileselectdlg.h"
- 
-+#include 
- #include 
- #include 
- #include 
-diff --git a/ktorrent/groups/groupview.cpp b/ktorrent/groups/groupview.cpp
-index 990ed0d3..76208144 100644
 a/ktorrent/groups/groupview.cpp
-+++ b/ktorrent/groups/groupview.cpp
-@@ -23,6 +23,7 @@
- #include 
- #include 
- #include 
-+#include 
- #include 
- #include 
- #include 
-diff --git a/plugins/search/searchprefpage.cpp 
b/plugins/search/searchprefpage.cpp
-index 667e7a82..4be6cd5c 100644
 a/plugins/search/searchprefpage.cpp
-+++ b/plugins/search/searchprefpage.cpp
-@@ -21,6 +21,7 @@
- 
- #include "searchprefpage.h"
- 
-+#include 
- #include 
- #include 
- #include 
--- 
-2.16.2
-From c66233cd9f5b87f9e265beae0a16839d3a5645a3 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Daniel=20Vr=C3=A1til?= 
-Date: Fri, 4 May 2018 00:33:44 +0200
-Subject: Fix build against Qt 5.11 (missing includes)
-

- plugins/syndication/syndicationactivity.cpp | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/plugins/syndication/syndicationactivity.cpp 
b/plugins/syndication/syndicationactivity.cpp
-index 61e8039..5736d52 100644
 a/plugins/syndication/syndicationactivity.cpp
-+++ b/plugins/syndication/syndicationactivity.cpp
-@@ -21,6 +21,7 @@
- #include 
- #include 
- #include 
-+#include 
- 
- #include 
- #include 
--- 
-cgit v0.11.2
-



[gentoo-commits] repo/gentoo:master commit in: net-p2p/ktorrent/

2018-10-11 Thread Andreas Sturmlechner
commit: cef38cfeb43d99bdcbbe725a2a16cf222c8aee91
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Thu Oct 11 18:46:52 2018 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Thu Oct 11 19:02:12 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cef38cfe

net-p2p/ktorrent: Drop 5.1.0

Signed-off-by: Andreas Sturmlechner  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 net-p2p/ktorrent/Manifest  |   1 -
 net-p2p/ktorrent/ktorrent-5.1.0.ebuild | 108 -
 2 files changed, 109 deletions(-)

diff --git a/net-p2p/ktorrent/Manifest b/net-p2p/ktorrent/Manifest
index 01fb39595d9..8b3e8dde4db 100644
--- a/net-p2p/ktorrent/Manifest
+++ b/net-p2p/ktorrent/Manifest
@@ -1,2 +1 @@
-DIST ktorrent-5.1.0.tar.xz 2046916 BLAKE2B 
865004b84d649774420e2bd0087c416c5de4df40dfe5800ec539049001d93f66925025780987060ad09e1ba2a20045bd6d92c9202c98c28ec68d87758a88af74
 SHA512 
7bfe3a04a2b0f62d68b41c946af34e9f6ead6aa4ff7818a9c0ce2e83629d311e9e9be5fb1689065ce2601c43bd576b27d8c6946b845d4cdf5fa6362d53e8dd25
 DIST ktorrent-5.1.1.tar.xz 2049392 BLAKE2B 
09ad841e1b6d7f332b19e2a660130b1f2b998cd6839614800cde7c99c8ec7f119f2adbdc3d9e06c8525e2dde534d73dab521c7df1d01b2fd0eb6b11fbb868d8f
 SHA512 
bbe744853018380e30efc6ef95916a9b6f0ebec812d70d7970e5e7183d860d147b0693dd0107b146a5987aa27f30cd335fad73c8967839d53eee1c5b63a53c06

diff --git a/net-p2p/ktorrent/ktorrent-5.1.0.ebuild 
b/net-p2p/ktorrent/ktorrent-5.1.0.ebuild
deleted file mode 100644
index 567c2e977b4..000
--- a/net-p2p/ktorrent/ktorrent-5.1.0.ebuild
+++ /dev/null
@@ -1,108 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-KDE_HANDBOOK="forceoptional"
-KDE_TEST="optional"
-VIRTUALX_REQUIRED="test"
-inherit kde5
-
-DESCRIPTION="Powerful BitTorrent client based on KDE Frameworks"
-HOMEPAGE="https://www.kde.org/applications/internet/ktorrent/;
-SRC_URI="mirror://kde/stable/${PN}/${PV/%.0}/${P}.tar.xz"
-
-LICENSE="GPL-2"
-KEYWORDS="amd64 x86"
-IUSE="+bwscheduler +downloadorder +infowidget +ipfilter +kross +logviewer 
+magnetgenerator
-+mediaplayer rss +scanfolder +search +shutdown +stats +upnp +zeroconf"
-
-COMMON_DEPEND="
-   $(add_frameworks_dep kcmutils)
-   $(add_frameworks_dep kconfig)
-   $(add_frameworks_dep kconfigwidgets)
-   $(add_frameworks_dep kcoreaddons)
-   $(add_frameworks_dep kcrash)
-   $(add_frameworks_dep kdbusaddons)
-   $(add_frameworks_dep ki18n)
-   $(add_frameworks_dep kiconthemes)
-   $(add_frameworks_dep kio)
-   $(add_frameworks_dep knotifications)
-   $(add_frameworks_dep knotifyconfig)
-   $(add_frameworks_dep kparts)
-   $(add_frameworks_dep kservice)
-   $(add_frameworks_dep kwidgetsaddons)
-   $(add_frameworks_dep kwindowsystem)
-   $(add_frameworks_dep kxmlgui)
-   $(add_frameworks_dep solid)
-   $(add_qt_dep qtdbus)
-   $(add_qt_dep qtgui)
-   $(add_qt_dep qtnetwork)
-   $(add_qt_dep qtwidgets)
-   $(add_qt_dep qtxml)
-   =net-libs/libktorrent-2.1*:5
-   infowidget? ( dev-libs/geoip )
-   kross? (
-   $(add_frameworks_dep karchive)
-   $(add_frameworks_dep kitemviews)
-   $(add_frameworks_dep kross)
-   )
-   mediaplayer? (
-   media-libs/phonon[qt5(+)]
-   >=media-libs/taglib-1.5
-   )
-   rss? (
-   $(add_frameworks_dep kdewebkit)
-   $(add_kdeapps_dep syndication)
-   )
-   search? (
-   $(add_frameworks_dep kdewebkit)
-   $(add_qt_dep qtwebkit)
-   )
-   shutdown? ( $(add_plasma_dep plasma-workspace) )
-   stats? ( $(add_frameworks_dep kplotting) )
-   upnp? ( $(add_frameworks_dep kcompletion) )
-   zeroconf? ( $(add_frameworks_dep kdnssd) )
-"
-DEPEND="${COMMON_DEPEND}
-   dev-libs/boost
-   sys-devel/gettext
-"
-RDEPEND="${COMMON_DEPEND}
-   ipfilter? (
-   app-arch/bzip2
-   app-arch/unzip
-   $(add_frameworks_dep ktextwidgets)
-   $(add_kdeapps_dep kio-extras)
-   )
-   !net-p2p/ktorrent:4
-"
-
-PATCHES=(
-   "${FILESDIR}/${P}-qt-5.11.patch"
-   "${FILESDIR}/${P}-cmake-3.11.patch" #650808
-)
-
-src_configure() {
-   local mycmakeargs=(
-   -DENABLE_BWSCHEDULER_PLUGIN=$(usex bwscheduler)
-   -DENABLE_DOWNLOADORDER_PLUGIN=$(usex downloadorder)
-   -DENABLE_INFOWIDGET_PLUGIN=$(usex infowidget)
-   -DWITH_SYSTEM_GEOIP=$(usex infowidget)
-   -DENABLE_IPFILTER_PLUGIN=$(usex ipfilter)
-   -DENABLE_SCRIPTING_PLUGIN=$(usex kross)
-   -DENABLE_LOGVIEWER_PLUGIN=$(usex logviewer)
-   -DENABLE_MAGNETGENERATOR_PLUGIN=$(usex magnetgenerator)
-   -DENABLE_MEDIAPLAYER_PLUGIN=$(usex mediaplayer)
-   $(cmake-utils_use_find_package rss 

[gentoo-commits] repo/gentoo:master commit in: net-p2p/ktorrent/

2018-10-10 Thread Mikle Kolyada
commit: 4c979aabe2637e4c8648529e0aa3e3dcb733a8ab
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Wed Oct 10 12:24:28 2018 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Wed Oct 10 12:24:28 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c979aab

net-p2p/ktorrent: amd64 stable wrt bug #667762

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.49, Repoman-2.3.11

 net-p2p/ktorrent/ktorrent-5.1.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-p2p/ktorrent/ktorrent-5.1.1.ebuild 
b/net-p2p/ktorrent/ktorrent-5.1.1.ebuild
index 26fd8b7f7b3..7e2991a362c 100644
--- a/net-p2p/ktorrent/ktorrent-5.1.1.ebuild
+++ b/net-p2p/ktorrent/ktorrent-5.1.1.ebuild
@@ -14,7 +14,7 @@ HOMEPAGE="https://www.kde.org/applications/internet/ktorrent/;
 [[ ${KDE_BUILD_TYPE} = release ]] && 
SRC_URI="mirror://kde/stable/${PN}/${PV/%.0}/${P}.tar.xz"
 
 LICENSE="GPL-2"
-KEYWORDS="~amd64 x86"
+KEYWORDS="amd64 x86"
 IUSE="+bwscheduler +downloadorder +infowidget +ipfilter +kross +logviewer 
+magnetgenerator
 +mediaplayer rss +scanfolder +search +shutdown +stats +upnp +zeroconf"
 



[gentoo-commits] repo/gentoo:master commit in: net-p2p/ktorrent/

2018-10-09 Thread Thomas Deutschmann
commit: 6d128969a6d08ca3dd08825a3d1fb64daf16f5ee
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Wed Oct 10 03:01:01 2018 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Wed Oct 10 03:01:01 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d128969

net-p2p/ktorrent: x86 stable (bug #667762)

Package-Manager: Portage-2.3.50, Repoman-2.3.11
Signed-off-by: Thomas Deutschmann  gentoo.org>

 net-p2p/ktorrent/ktorrent-5.1.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-p2p/ktorrent/ktorrent-5.1.1.ebuild 
b/net-p2p/ktorrent/ktorrent-5.1.1.ebuild
index dc9e90bf939..26fd8b7f7b3 100644
--- a/net-p2p/ktorrent/ktorrent-5.1.1.ebuild
+++ b/net-p2p/ktorrent/ktorrent-5.1.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -14,7 +14,7 @@ HOMEPAGE="https://www.kde.org/applications/internet/ktorrent/;
 [[ ${KDE_BUILD_TYPE} = release ]] && 
SRC_URI="mirror://kde/stable/${PN}/${PV/%.0}/${P}.tar.xz"
 
 LICENSE="GPL-2"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 x86"
 IUSE="+bwscheduler +downloadorder +infowidget +ipfilter +kross +logviewer 
+magnetgenerator
 +mediaplayer rss +scanfolder +search +shutdown +stats +upnp +zeroconf"
 



[gentoo-commits] repo/gentoo:master commit in: net-p2p/ktorrent/

2018-09-11 Thread Andreas Sturmlechner
commit: b2609ed4c1bcf6a14d06b36d2cf63b452bdc6d9f
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Tue Sep 11 18:46:02 2018 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Tue Sep 11 18:46:02 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2609ed4

net-p2p/ktorrent: Switch KDE_HANDBOOK to optional

Closes: https://bugs.gentoo.org/665642
Package-Manager: Portage-2.3.49, Repoman-2.3.10

 net-p2p/ktorrent/ktorrent-5.1.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-p2p/ktorrent/ktorrent-5.1.1.ebuild 
b/net-p2p/ktorrent/ktorrent-5.1.1.ebuild
index 6283ae3c7ca..dc9e90bf939 100644
--- a/net-p2p/ktorrent/ktorrent-5.1.1.ebuild
+++ b/net-p2p/ktorrent/ktorrent-5.1.1.ebuild
@@ -4,7 +4,7 @@
 EAPI=6
 
 FRAMEWORKS_MINIMAL="5.50.0" # for syndication
-KDE_HANDBOOK="forceoptional"
+KDE_HANDBOOK="optional"
 KDE_TEST="optional"
 VIRTUALX_REQUIRED="test"
 inherit kde5



[gentoo-commits] repo/gentoo:master commit in: net-p2p/ktorrent/, net-p2p/ktorrent/files/

2018-09-08 Thread Andreas Sturmlechner
commit: e1215ae690131a79d311de83a1b26259ed0d09eb
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sat Sep  8 11:26:34 2018 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sat Sep  8 12:03:48 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1215ae6

net-p2p/ktorrent: 5.1.1 version bump

Package-Manager: Portage-2.3.49, Repoman-2.3.10

 net-p2p/ktorrent/Manifest  |   1 +
 .../ktorrent-5.1.1-scanfolder-memcorruption.patch  |  69 ++
 net-p2p/ktorrent/ktorrent-5.1.1.ebuild | 105 +
 3 files changed, 175 insertions(+)

diff --git a/net-p2p/ktorrent/Manifest b/net-p2p/ktorrent/Manifest
index b6dda2840ea..01fb39595d9 100644
--- a/net-p2p/ktorrent/Manifest
+++ b/net-p2p/ktorrent/Manifest
@@ -1 +1,2 @@
 DIST ktorrent-5.1.0.tar.xz 2046916 BLAKE2B 
865004b84d649774420e2bd0087c416c5de4df40dfe5800ec539049001d93f66925025780987060ad09e1ba2a20045bd6d92c9202c98c28ec68d87758a88af74
 SHA512 
7bfe3a04a2b0f62d68b41c946af34e9f6ead6aa4ff7818a9c0ce2e83629d311e9e9be5fb1689065ce2601c43bd576b27d8c6946b845d4cdf5fa6362d53e8dd25
+DIST ktorrent-5.1.1.tar.xz 2049392 BLAKE2B 
09ad841e1b6d7f332b19e2a660130b1f2b998cd6839614800cde7c99c8ec7f119f2adbdc3d9e06c8525e2dde534d73dab521c7df1d01b2fd0eb6b11fbb868d8f
 SHA512 
bbe744853018380e30efc6ef95916a9b6f0ebec812d70d7970e5e7183d860d147b0693dd0107b146a5987aa27f30cd335fad73c8967839d53eee1c5b63a53c06

diff --git 
a/net-p2p/ktorrent/files/ktorrent-5.1.1-scanfolder-memcorruption.patch 
b/net-p2p/ktorrent/files/ktorrent-5.1.1-scanfolder-memcorruption.patch
new file mode 100644
index 000..4c41a6af11d
--- /dev/null
+++ b/net-p2p/ktorrent/files/ktorrent-5.1.1-scanfolder-memcorruption.patch
@@ -0,0 +1,69 @@
+From 2d73d5f25a1a364a2115fb1d3262377f7fdf99cd Mon Sep 17 00:00:00 2001
+From: Valeriy Malov 
+Date: Wed, 5 Sep 2018 20:43:51 +0300
+Subject: Fix memory corruption in ScanFolder plugin
+
+Summary:
+Reasoning behind this patch is kinda dubious because I don't fully understand 
what happens, but it shouldn't make the matters worse either
+
+Seems like deletion of KDirWatch objects from scan_folder in ~ScanThread(), 
after said QThread has been stopped, causes memory corruption.
+
+Preemptively deleting scan_folder contents before we stop the thread resolves 
this.
+
+also mark booleans shared across main thread and KDirWatch callbacks as atomic
+
+Test Plan:
+Without this patch unloading ScanFolder plugin sometimes crashes ktorrent, 
including unloading on exit
+Doesn't happen anymore with this patch
+
+Reviewers: stikonas
+
+Reviewed By: stikonas
+
+Differential Revision: https://phabricator.kde.org/D15265
+---
+ plugins/scanfolder/scanthread.cpp | 5 +
+ plugins/scanfolder/scanthread.h   | 5 +++--
+ 2 files changed, 8 insertions(+), 2 deletions(-)
+
+diff --git a/plugins/scanfolder/scanthread.cpp 
b/plugins/scanfolder/scanthread.cpp
+index 0e62768..d7b13e0 100644
+--- a/plugins/scanfolder/scanthread.cpp
 b/plugins/scanfolder/scanthread.cpp
+@@ -156,6 +156,11 @@ namespace kt
+ void ScanThread::stop()
+ {
+ stop_requested = true;
++
++// XXX seems like deleting KDirWatch object(s) created in scan_folders
++// in destructor of this QThread after it has been stopped
++// causes memory corruption, so we delete them early
++scan_folders.clear();
+ exit();
+ wait();
+ }
+diff --git a/plugins/scanfolder/scanthread.h b/plugins/scanfolder/scanthread.h
+index d13ca08..fb214a4 100644
+--- a/plugins/scanfolder/scanthread.h
 b/plugins/scanfolder/scanthread.h
+@@ -29,6 +29,7 @@
+ #include 
+ #include "scanfolder.h"
+ 
++#include 
+ 
+ class QDir;
+ 
+@@ -88,8 +89,8 @@ namespace kt
+ private:
+ QMutex mutex;
+ QStringList folders;
+-bool stop_requested;
+-bool recursive;
++std::atomic stop_requested;
++std::atomic recursive;
+ bt::PtrMap scan_folders;
+ };
+ 
+-- 
+cgit v0.11.2

diff --git a/net-p2p/ktorrent/ktorrent-5.1.1.ebuild 
b/net-p2p/ktorrent/ktorrent-5.1.1.ebuild
new file mode 100644
index 000..6283ae3c7ca
--- /dev/null
+++ b/net-p2p/ktorrent/ktorrent-5.1.1.ebuild
@@ -0,0 +1,105 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+FRAMEWORKS_MINIMAL="5.50.0" # for syndication
+KDE_HANDBOOK="forceoptional"
+KDE_TEST="optional"
+VIRTUALX_REQUIRED="test"
+inherit kde5
+
+DESCRIPTION="Powerful BitTorrent client based on KDE Frameworks"
+HOMEPAGE="https://www.kde.org/applications/internet/ktorrent/;
+[[ ${KDE_BUILD_TYPE} = release ]] && 
SRC_URI="mirror://kde/stable/${PN}/${PV/%.0}/${P}.tar.xz"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+IUSE="+bwscheduler +downloadorder +infowidget +ipfilter +kross +logviewer 
+magnetgenerator
++mediaplayer rss +scanfolder +search +shutdown +stats +upnp +zeroconf"
+
+COMMON_DEPEND="
+   $(add_frameworks_dep kcmutils)
+   

[gentoo-commits] repo/gentoo:master commit in: net-p2p/ktorrent/files/

2018-07-21 Thread Andreas Sturmlechner
commit: 7473dc374b8ad1db1aa352b42e9bafa8e3a39e0b
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sat Jul 21 15:59:14 2018 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sat Jul 21 16:35:39 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7473dc37

net-p2p/ktorrent: Fix build with USE=rss and Qt 5.11

Closes: https://bugs.gentoo.org/661736
Package-Manager: Portage-2.3.43, Repoman-2.3.10

 .../ktorrent/files/ktorrent-5.1.0-qt-5.11.patch| 23 ++
 1 file changed, 23 insertions(+)

diff --git a/net-p2p/ktorrent/files/ktorrent-5.1.0-qt-5.11.patch 
b/net-p2p/ktorrent/files/ktorrent-5.1.0-qt-5.11.patch
index f59e074134c..f0d69b82c89 100644
--- a/net-p2p/ktorrent/files/ktorrent-5.1.0-qt-5.11.patch
+++ b/net-p2p/ktorrent/files/ktorrent-5.1.0-qt-5.11.patch
@@ -50,4 +50,27 @@ index 667e7a82..4be6cd5c 100644
  #include 
 -- 
 2.16.2
+From c66233cd9f5b87f9e265beae0a16839d3a5645a3 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Daniel=20Vr=C3=A1til?= 
+Date: Fri, 4 May 2018 00:33:44 +0200
+Subject: Fix build against Qt 5.11 (missing includes)
+
+---
+ plugins/syndication/syndicationactivity.cpp | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/plugins/syndication/syndicationactivity.cpp 
b/plugins/syndication/syndicationactivity.cpp
+index 61e8039..5736d52 100644
+--- a/plugins/syndication/syndicationactivity.cpp
 b/plugins/syndication/syndicationactivity.cpp
+@@ -21,6 +21,7 @@
+ #include 
+ #include 
+ #include 
++#include 
+ 
+ #include 
+ #include 
+-- 
+cgit v0.11.2
 



[gentoo-commits] repo/gentoo:master commit in: net-p2p/ktorrent/, net-p2p/ktorrent/files/

2018-04-24 Thread Lars Wendler
commit: 1968a7bbb830347f73a27c1b98eca3cd8bca9c1d
Author: Lars Wendler  gentoo  org>
AuthorDate: Tue Apr 24 08:48:14 2018 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Tue Apr 24 08:48:49 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1968a7bb

net-p2p/ktorrent: Fixed compilation with cmake-3.11

commit permission kindly granted by asturm

Closes: https://bugs.gentoo.org/650808
Package-Manager: Portage-2.3.31, Repoman-2.3.9

 net-p2p/ktorrent/files/ktorrent-5.1.0-cmake-3.11.patch | 13 +
 net-p2p/ktorrent/ktorrent-5.1.0.ebuild |  5 -
 2 files changed, 17 insertions(+), 1 deletion(-)

diff --git a/net-p2p/ktorrent/files/ktorrent-5.1.0-cmake-3.11.patch 
b/net-p2p/ktorrent/files/ktorrent-5.1.0-cmake-3.11.patch
new file mode 100644
index 000..c0b9167636a
--- /dev/null
+++ b/net-p2p/ktorrent/files/ktorrent-5.1.0-cmake-3.11.patch
@@ -0,0 +1,13 @@
+https://docs.freebsd.org/cgi/getmsg.cgi?fetch=4423635+0+/usr/local/www/mailindex/archive/2018/svn-ports-all/20180415.svn-ports-all
+
+--- ktorrent-5.1.0/ktorrent/dialogs/torrentcreatordlg.h
 ktorrent-5.1.0/ktorrent/dialogs/torrentcreatordlg.h
+@@ -23,6 +23,8 @@
+ #define KT_TORRENTCREATORDLG_HH
+ 
+ #include 
++#include 
++
+ #include "ui_torrentcreatordlg.h"
+ #include 
+ 

diff --git a/net-p2p/ktorrent/ktorrent-5.1.0.ebuild 
b/net-p2p/ktorrent/ktorrent-5.1.0.ebuild
index ef67d30802d..567c2e977b4 100644
--- a/net-p2p/ktorrent/ktorrent-5.1.0.ebuild
+++ b/net-p2p/ktorrent/ktorrent-5.1.0.ebuild
@@ -78,7 +78,10 @@ RDEPEND="${COMMON_DEPEND}
!net-p2p/ktorrent:4
 "
 
-PATCHES=( "${FILESDIR}/${P}-qt-5.11.patch" )
+PATCHES=(
+   "${FILESDIR}/${P}-qt-5.11.patch"
+   "${FILESDIR}/${P}-cmake-3.11.patch" #650808
+)
 
 src_configure() {
local mycmakeargs=(



[gentoo-commits] repo/gentoo:master commit in: net-p2p/ktorrent/files/, net-p2p/ktorrent/

2018-03-18 Thread Andreas Sturmlechner
commit: 6610dcce6753bb78526d1c159f8010e64aa70e4d
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sun Mar 18 18:32:24 2018 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sun Mar 18 18:36:22 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6610dcce

net-p2p/ktorrent: Fix build with Qt 5.11

Bug: https://bugs.gentoo.org/650808
Package-Manager: Portage-2.3.24, Repoman-2.3.6

 .../ktorrent/files/ktorrent-5.1.0-qt-5.11.patch| 53 ++
 net-p2p/ktorrent/ktorrent-5.1.0.ebuild |  4 +-
 2 files changed, 56 insertions(+), 1 deletion(-)

diff --git a/net-p2p/ktorrent/files/ktorrent-5.1.0-qt-5.11.patch 
b/net-p2p/ktorrent/files/ktorrent-5.1.0-qt-5.11.patch
new file mode 100644
index 000..f59e074134c
--- /dev/null
+++ b/net-p2p/ktorrent/files/ktorrent-5.1.0-qt-5.11.patch
@@ -0,0 +1,53 @@
+From 4befccc3d0ebbd9235e6f10d411f139802e3871a Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner 
+Date: Sun, 18 Mar 2018 19:13:26 +0100
+Subject: [PATCH] Fix build with Qt 5.11 (missing headers)
+
+Reviewers: stikonas
+
+Differential Revision: https://phabricator.kde.org/D11456
+---
+ ktorrent/dialogs/fileselectdlg.cpp | 1 +
+ ktorrent/groups/groupview.cpp  | 1 +
+ plugins/search/searchprefpage.cpp  | 1 +
+ 3 files changed, 3 insertions(+)
+
+diff --git a/ktorrent/dialogs/fileselectdlg.cpp 
b/ktorrent/dialogs/fileselectdlg.cpp
+index 139b4752..ec7d8ede 100644
+--- a/ktorrent/dialogs/fileselectdlg.cpp
 b/ktorrent/dialogs/fileselectdlg.cpp
+@@ -20,6 +20,7 @@
+ 
+ #include "fileselectdlg.h"
+ 
++#include 
+ #include 
+ #include 
+ #include 
+diff --git a/ktorrent/groups/groupview.cpp b/ktorrent/groups/groupview.cpp
+index 990ed0d3..76208144 100644
+--- a/ktorrent/groups/groupview.cpp
 b/ktorrent/groups/groupview.cpp
+@@ -23,6 +23,7 @@
+ #include 
+ #include 
+ #include 
++#include 
+ #include 
+ #include 
+ #include 
+diff --git a/plugins/search/searchprefpage.cpp 
b/plugins/search/searchprefpage.cpp
+index 667e7a82..4be6cd5c 100644
+--- a/plugins/search/searchprefpage.cpp
 b/plugins/search/searchprefpage.cpp
+@@ -21,6 +21,7 @@
+ 
+ #include "searchprefpage.h"
+ 
++#include 
+ #include 
+ #include 
+ #include 
+-- 
+2.16.2
+

diff --git a/net-p2p/ktorrent/ktorrent-5.1.0.ebuild 
b/net-p2p/ktorrent/ktorrent-5.1.0.ebuild
index ee8be982898..ef67d30802d 100644
--- a/net-p2p/ktorrent/ktorrent-5.1.0.ebuild
+++ b/net-p2p/ktorrent/ktorrent-5.1.0.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
@@ -78,6 +78,8 @@ RDEPEND="${COMMON_DEPEND}
!net-p2p/ktorrent:4
 "
 
+PATCHES=( "${FILESDIR}/${P}-qt-5.11.patch" )
+
 src_configure() {
local mycmakeargs=(
-DENABLE_BWSCHEDULER_PLUGIN=$(usex bwscheduler)



[gentoo-commits] repo/gentoo:master commit in: net-p2p/ktorrent/, net-p2p/ktorrent/files/

2017-09-30 Thread Andreas Sturmlechner
commit: 13ee3ee9ada0ab11fe906231bdcfd1fc8a4241dd
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sat Sep 30 12:30:46 2017 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sat Sep 30 12:41:57 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13ee3ee9

net-p2p/ktorrent: Drop old

Package-Manager: Portage-2.3.10, Repoman-2.3.3

 net-p2p/ktorrent/Manifest |   1 -
 net-p2p/ktorrent/files/ktorrent-5.0.1-build.patch |  38 ---
 net-p2p/ktorrent/ktorrent-5.0.1.ebuild| 131 --
 3 files changed, 170 deletions(-)

diff --git a/net-p2p/ktorrent/Manifest b/net-p2p/ktorrent/Manifest
index 238b67f7c13..b3b0c9f7fca 100644
--- a/net-p2p/ktorrent/Manifest
+++ b/net-p2p/ktorrent/Manifest
@@ -1,2 +1 @@
-DIST ktorrent-5.0.1.tar.xz 2152908 SHA256 
d00feeca5dcc6a76a039d67dbe91a2d5a5e1da0f5e0bbd8da2c156d9c44879e5 SHA512 
6ceced3d578e58f480ada5b71a66be244c75de726389d39b40c02c5a9445c6bb0b70573fac810abd1659c3172bff79c0c3e5cbfe1a84e0d50836b52291597bc1
 WHIRLPOOL 
11d59e1762b12e0c740337b05e9e678f71df1a5d43cffee6dcb1a3159afe1da00c118b62b84fdb80dbd6d98f3998250882406e8e61ad181b67b7043d350c8682
 DIST ktorrent-5.1.0.tar.xz 2046916 SHA256 
3c57882f78006dcec3c5fb243479e995cc541e51e6acded5bf98a09900c486a3 SHA512 
7bfe3a04a2b0f62d68b41c946af34e9f6ead6aa4ff7818a9c0ce2e83629d311e9e9be5fb1689065ce2601c43bd576b27d8c6946b845d4cdf5fa6362d53e8dd25
 WHIRLPOOL 
4be8e029e468d714a890652e77a6c6d1261a1ccc3b2114aae547bd5df38b2745a5d0836b86c4e0029ab13470cab66789b870da3536d183c106232f7bd960697f

diff --git a/net-p2p/ktorrent/files/ktorrent-5.0.1-build.patch 
b/net-p2p/ktorrent/files/ktorrent-5.0.1-build.patch
deleted file mode 100644
index 58949a2884f..000
--- a/net-p2p/ktorrent/files/ktorrent-5.0.1-build.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-From ac8eb6b360fbaa2588ec523bb81c380289586db6 Mon Sep 17 00:00:00 2001
-From: David Faure 
-Date: Sat, 14 May 2016 11:19:34 +0200
-Subject: [PATCH] Fix compilation, KSharedConfig was not found.
-

- ktorrent/dialogs/pastedialog.h  | 1 +
- plugins/mediaplayer/mediaview.h | 2 +-
- 2 files changed, 2 insertions(+), 1 deletion(-)
-
-diff --git a/ktorrent/dialogs/pastedialog.h b/ktorrent/dialogs/pastedialog.h
-index 2446848..430ea82 100644
 a/ktorrent/dialogs/pastedialog.h
-+++ b/ktorrent/dialogs/pastedialog.h
-@@ -22,6 +22,7 @@
- #define PASTEDIALOG_H
- 
- #include 
-+#include 
- #include "ui_pastedlgbase.h"
- 
- 
-diff --git a/plugins/mediaplayer/mediaview.h b/plugins/mediaplayer/mediaview.h
-index 2b9a7e6..d1959c1 100644
 a/plugins/mediaplayer/mediaview.h
-+++ b/plugins/mediaplayer/mediaview.h
-@@ -25,7 +25,7 @@
- #include 
- #include 
- #include 
--#include 
-+#include 
- #include "mediafile.h"
- 
- 
--- 
-2.7.3
-

diff --git a/net-p2p/ktorrent/ktorrent-5.0.1.ebuild 
b/net-p2p/ktorrent/ktorrent-5.0.1.ebuild
deleted file mode 100644
index c33c54efa85..000
--- a/net-p2p/ktorrent/ktorrent-5.0.1.ebuild
+++ /dev/null
@@ -1,131 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-LIBKT_VERSION_MIN="${PV}"
-LIBKT_VERSION_MAX=""
-if [[ ${PV} != * ]]; then
-   inherit versionator
-   # upstream likes to skip that _ in beta releases
-   MY_PV="${PV/_/}"
-   
LIBKT_VERSION_MIN=$(($(get_major_version)-3)).$(get_version_component_range 2-3 
${PV})
-   
LIBKT_VERSION_MAX=$(($(get_major_version)-3)).$(($(get_version_component_range 
2)+1))
-   MY_P="${PN}-${MY_PV}"
-
-   SRC_URI="mirror://kde/stable/${PN}/$(get_version_component_range 
1-2)/${MY_P}.tar.xz"
-   S="${WORKDIR}"/"${MY_P}"
-
-   KEYWORDS="amd64 x86"
-else
-   LIBKT_VERSION_MIN="${PV}"
-   LIBKT_VERSION_MAX=""
-fi
-
-KDE_HANDBOOK="forceoptional"
-inherit kde5
-
-DESCRIPTION="Powerful BitTorrent client based on KDE Frameworks"
-HOMEPAGE="https://www.kde.org/applications/internet/ktorrent/;
-
-LICENSE="GPL-2"
-IUSE="+bwscheduler +downloadorder +infowidget +logviewer
-+magnetgenerator +mediaplayer +shutdown +stats +upnp +zeroconf"
-
-COMMON_DEPEND="
-   $(add_frameworks_dep karchive)
-   $(add_frameworks_dep kcmutils)
-   $(add_frameworks_dep kcompletion)
-   $(add_frameworks_dep kconfig)
-   $(add_frameworks_dep kconfigwidgets)
-   $(add_frameworks_dep kcoreaddons)
-   $(add_frameworks_dep kcrash)
-   $(add_frameworks_dep kdbusaddons)
-   $(add_frameworks_dep kdelibs4support)
-   $(add_frameworks_dep ki18n)
-   $(add_frameworks_dep kiconthemes)
-   $(add_frameworks_dep kio)
-   $(add_frameworks_dep knotifications)
-   $(add_frameworks_dep knotifyconfig)
-   $(add_frameworks_dep kparts)
-   $(add_frameworks_dep kservice)
-   $(add_frameworks_dep kwidgetsaddons)
-   $(add_frameworks_dep kwindowsystem)
-   $(add_frameworks_dep kxmlgui)
-   $(add_frameworks_dep solid)
-   $(add_frameworks_dep sonnet)
-

[gentoo-commits] repo/gentoo:master commit in: net-p2p/ktorrent/

2017-09-28 Thread Michael Palimaka
commit: a618c850a12cb11c72ed7d51cb4112ca6f79b27b
Author: Michael Palimaka  gentoo  org>
AuthorDate: Fri Sep 29 02:55:02 2017 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Fri Sep 29 02:55:21 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a618c850

net-p2p/ktorrent: stabilise 5.1.0 for amd64/x86

Bug: https://bugs.gentoo.org/632235
Package-Manager: Portage-2.3.8, Repoman-2.3.3

 net-p2p/ktorrent/ktorrent-5.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-p2p/ktorrent/ktorrent-5.1.0.ebuild 
b/net-p2p/ktorrent/ktorrent-5.1.0.ebuild
index 3d05586ad8e..ee8be982898 100644
--- a/net-p2p/ktorrent/ktorrent-5.1.0.ebuild
+++ b/net-p2p/ktorrent/ktorrent-5.1.0.ebuild
@@ -13,7 +13,7 @@ HOMEPAGE="https://www.kde.org/applications/internet/ktorrent/;
 SRC_URI="mirror://kde/stable/${PN}/${PV/%.0}/${P}.tar.xz"
 
 LICENSE="GPL-2"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE="+bwscheduler +downloadorder +infowidget +ipfilter +kross +logviewer 
+magnetgenerator
 +mediaplayer rss +scanfolder +search +shutdown +stats +upnp +zeroconf"
 



[gentoo-commits] repo/gentoo:master commit in: net-p2p/ktorrent/

2017-09-28 Thread Michael Palimaka
commit: 5094fad62eda8c92efb4949e7f03d17239d2f05f
Author: Michael Palimaka  gentoo  org>
AuthorDate: Fri Sep 29 02:51:54 2017 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Fri Sep 29 02:55:20 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5094fad6

net-p2p/ktorrent: virtual X is required for tests

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 net-p2p/ktorrent/ktorrent-5.1.0.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/net-p2p/ktorrent/ktorrent-5.1.0.ebuild 
b/net-p2p/ktorrent/ktorrent-5.1.0.ebuild
index 5f8e82acbce..3d05586ad8e 100644
--- a/net-p2p/ktorrent/ktorrent-5.1.0.ebuild
+++ b/net-p2p/ktorrent/ktorrent-5.1.0.ebuild
@@ -5,6 +5,7 @@ EAPI=6
 
 KDE_HANDBOOK="forceoptional"
 KDE_TEST="optional"
+VIRTUALX_REQUIRED="test"
 inherit kde5
 
 DESCRIPTION="Powerful BitTorrent client based on KDE Frameworks"



[gentoo-commits] repo/gentoo:master commit in: net-p2p/ktorrent/

2017-08-31 Thread Andreas Sturmlechner
commit: 4f83b3f69496d974a028f7637fab8c078d4d948d
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Thu Aug 31 20:42:44 2017 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Thu Aug 31 20:53:51 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f83b3f6

net-p2p/ktorrent: 5.1.0 version bump

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 net-p2p/ktorrent/Manifest  |   1 +
 net-p2p/ktorrent/ktorrent-5.1.0.ebuild | 102 +
 net-p2p/ktorrent/metadata.xml  |   6 ++
 3 files changed, 109 insertions(+)

diff --git a/net-p2p/ktorrent/Manifest b/net-p2p/ktorrent/Manifest
index e6d6c2e6b41..238b67f7c13 100644
--- a/net-p2p/ktorrent/Manifest
+++ b/net-p2p/ktorrent/Manifest
@@ -1 +1,2 @@
 DIST ktorrent-5.0.1.tar.xz 2152908 SHA256 
d00feeca5dcc6a76a039d67dbe91a2d5a5e1da0f5e0bbd8da2c156d9c44879e5 SHA512 
6ceced3d578e58f480ada5b71a66be244c75de726389d39b40c02c5a9445c6bb0b70573fac810abd1659c3172bff79c0c3e5cbfe1a84e0d50836b52291597bc1
 WHIRLPOOL 
11d59e1762b12e0c740337b05e9e678f71df1a5d43cffee6dcb1a3159afe1da00c118b62b84fdb80dbd6d98f3998250882406e8e61ad181b67b7043d350c8682
+DIST ktorrent-5.1.0.tar.xz 2046916 SHA256 
3c57882f78006dcec3c5fb243479e995cc541e51e6acded5bf98a09900c486a3 SHA512 
7bfe3a04a2b0f62d68b41c946af34e9f6ead6aa4ff7818a9c0ce2e83629d311e9e9be5fb1689065ce2601c43bd576b27d8c6946b845d4cdf5fa6362d53e8dd25
 WHIRLPOOL 
4be8e029e468d714a890652e77a6c6d1261a1ccc3b2114aae547bd5df38b2745a5d0836b86c4e0029ab13470cab66789b870da3536d183c106232f7bd960697f

diff --git a/net-p2p/ktorrent/ktorrent-5.1.0.ebuild 
b/net-p2p/ktorrent/ktorrent-5.1.0.ebuild
new file mode 100644
index 000..5f8e82acbce
--- /dev/null
+++ b/net-p2p/ktorrent/ktorrent-5.1.0.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+KDE_HANDBOOK="forceoptional"
+KDE_TEST="optional"
+inherit kde5
+
+DESCRIPTION="Powerful BitTorrent client based on KDE Frameworks"
+HOMEPAGE="https://www.kde.org/applications/internet/ktorrent/;
+SRC_URI="mirror://kde/stable/${PN}/${PV/%.0}/${P}.tar.xz"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+IUSE="+bwscheduler +downloadorder +infowidget +ipfilter +kross +logviewer 
+magnetgenerator
++mediaplayer rss +scanfolder +search +shutdown +stats +upnp +zeroconf"
+
+COMMON_DEPEND="
+   $(add_frameworks_dep kcmutils)
+   $(add_frameworks_dep kconfig)
+   $(add_frameworks_dep kconfigwidgets)
+   $(add_frameworks_dep kcoreaddons)
+   $(add_frameworks_dep kcrash)
+   $(add_frameworks_dep kdbusaddons)
+   $(add_frameworks_dep ki18n)
+   $(add_frameworks_dep kiconthemes)
+   $(add_frameworks_dep kio)
+   $(add_frameworks_dep knotifications)
+   $(add_frameworks_dep knotifyconfig)
+   $(add_frameworks_dep kparts)
+   $(add_frameworks_dep kservice)
+   $(add_frameworks_dep kwidgetsaddons)
+   $(add_frameworks_dep kwindowsystem)
+   $(add_frameworks_dep kxmlgui)
+   $(add_frameworks_dep solid)
+   $(add_qt_dep qtdbus)
+   $(add_qt_dep qtgui)
+   $(add_qt_dep qtnetwork)
+   $(add_qt_dep qtwidgets)
+   $(add_qt_dep qtxml)
+   =net-libs/libktorrent-2.1*:5
+   infowidget? ( dev-libs/geoip )
+   kross? (
+   $(add_frameworks_dep karchive)
+   $(add_frameworks_dep kitemviews)
+   $(add_frameworks_dep kross)
+   )
+   mediaplayer? (
+   media-libs/phonon[qt5(+)]
+   >=media-libs/taglib-1.5
+   )
+   rss? (
+   $(add_frameworks_dep kdewebkit)
+   $(add_kdeapps_dep syndication)
+   )
+   search? (
+   $(add_frameworks_dep kdewebkit)
+   $(add_qt_dep qtwebkit)
+   )
+   shutdown? ( $(add_plasma_dep plasma-workspace) )
+   stats? ( $(add_frameworks_dep kplotting) )
+   upnp? ( $(add_frameworks_dep kcompletion) )
+   zeroconf? ( $(add_frameworks_dep kdnssd) )
+"
+DEPEND="${COMMON_DEPEND}
+   dev-libs/boost
+   sys-devel/gettext
+"
+RDEPEND="${COMMON_DEPEND}
+   ipfilter? (
+   app-arch/bzip2
+   app-arch/unzip
+   $(add_frameworks_dep ktextwidgets)
+   $(add_kdeapps_dep kio-extras)
+   )
+   !net-p2p/ktorrent:4
+"
+
+src_configure() {
+   local mycmakeargs=(
+   -DENABLE_BWSCHEDULER_PLUGIN=$(usex bwscheduler)
+   -DENABLE_DOWNLOADORDER_PLUGIN=$(usex downloadorder)
+   -DENABLE_INFOWIDGET_PLUGIN=$(usex infowidget)
+   -DWITH_SYSTEM_GEOIP=$(usex infowidget)
+   -DENABLE_IPFILTER_PLUGIN=$(usex ipfilter)
+   -DENABLE_SCRIPTING_PLUGIN=$(usex kross)
+   -DENABLE_LOGVIEWER_PLUGIN=$(usex logviewer)
+   -DENABLE_MAGNETGENERATOR_PLUGIN=$(usex magnetgenerator)
+   -DENABLE_MEDIAPLAYER_PLUGIN=$(usex mediaplayer)
+   

[gentoo-commits] repo/gentoo:master commit in: net-p2p/ktorrent/

2017-06-04 Thread Andreas Sturmlechner
commit: c03ea27a379f8f578f9d5277281eee435c447f47
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sun Jun  4 18:46:07 2017 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sun Jun  4 18:46:38 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c03ea27a

net-p2p/ktorrent: Fix HOMEPAGE

Thanks-to: Coacher 
Gentoo-bug: 620834

Package-Manager: Portage-2.3.5, Repoman-2.3.1

 net-p2p/ktorrent/ktorrent-5.0.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-p2p/ktorrent/ktorrent-5.0.1.ebuild 
b/net-p2p/ktorrent/ktorrent-5.0.1.ebuild
index 92aafee7d77..82958c58e5c 100644
--- a/net-p2p/ktorrent/ktorrent-5.0.1.ebuild
+++ b/net-p2p/ktorrent/ktorrent-5.0.1.ebuild
@@ -26,7 +26,7 @@ KDE_HANDBOOK="forceoptional"
 inherit kde5
 
 DESCRIPTION="Powerful BitTorrent client based on KDE Frameworks"
-HOMEPAGE="http://ktorrent.pwsp.net/;
+HOMEPAGE="https://www.kde.org/applications/internet/ktorrent/;
 
 LICENSE="GPL-2"
 IUSE="+bwscheduler +downloadorder +infowidget +logviewer



[gentoo-commits] repo/gentoo:master commit in: net-p2p/ktorrent/files/, net-p2p/ktorrent/

2017-01-10 Thread Johannes Huber
commit: 80054c028619878721c171a81444bb515fb34192
Author: Johannes Huber  gentoo  org>
AuthorDate: Tue Jan 10 18:27:21 2017 +
Commit: Johannes Huber  gentoo  org>
CommitDate: Tue Jan 10 18:27:30 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80054c02

net-p2p/ktorrent: Drop slot 4

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 net-p2p/ktorrent/Manifest  |   1 -
 .../ktorrent/files/ktorrent-4.3.1-ipfilter.patch   |  72 ---
 .../files/ktorrent-4.3.1-underlinking.patch|  21 -
 net-p2p/ktorrent/ktorrent-4.3.1-r1.ebuild  | 101 -
 net-p2p/ktorrent/metadata.xml  |   5 -
 5 files changed, 200 deletions(-)

diff --git a/net-p2p/ktorrent/Manifest b/net-p2p/ktorrent/Manifest
index ccc07d1..e6d6c2e 100644
--- a/net-p2p/ktorrent/Manifest
+++ b/net-p2p/ktorrent/Manifest
@@ -1,2 +1 @@
-DIST ktorrent-4.3.1.tar.bz2 2943708 SHA256 
66094f6833347afb0c49e332f0ec15ec48db652cbe66476840846ffd5ca0e4a1 SHA512 
bf1fa144295cb00fccce3a511afe845bc7bf42d77d70205f5893686e7b1fa78c5799c46c7e4e04435ab6fdd4bc9b3b4a25bffb2c5538a25af36302c60742900e
 WHIRLPOOL 
61303c19f0160bba9bdd288415d86519594f26c5c062f394cee7924093506a9cc6236fd8eedec16c6f799f71a15cb4af15c4b7c079831dccb4e498b833c2234e
 DIST ktorrent-5.0.1.tar.xz 2152908 SHA256 
d00feeca5dcc6a76a039d67dbe91a2d5a5e1da0f5e0bbd8da2c156d9c44879e5 SHA512 
6ceced3d578e58f480ada5b71a66be244c75de726389d39b40c02c5a9445c6bb0b70573fac810abd1659c3172bff79c0c3e5cbfe1a84e0d50836b52291597bc1
 WHIRLPOOL 
11d59e1762b12e0c740337b05e9e678f71df1a5d43cffee6dcb1a3159afe1da00c118b62b84fdb80dbd6d98f3998250882406e8e61ad181b67b7043d350c8682

diff --git a/net-p2p/ktorrent/files/ktorrent-4.3.1-ipfilter.patch 
b/net-p2p/ktorrent/files/ktorrent-4.3.1-ipfilter.patch
deleted file mode 100644
index 4572c3d..
--- a/net-p2p/ktorrent/files/ktorrent-4.3.1-ipfilter.patch
+++ /dev/null
@@ -1,72 +0,0 @@
-From 3dfcbeb9765e99f9b99951134b17268eb7a617d2 Mon Sep 17 00:00:00 2001
-From: Joris Guisson 
-Date: Thu, 1 Aug 2013 13:19:29 +0200
-Subject: [PATCH] Backport ipfilter extraction fixes from master branch to 4.3
- branch
-
-BUG: 315239

- ChangeLog  |  3 +++
- plugins/ipfilter/downloadandconvertjob.cpp | 22 +-
- 2 files changed, 8 insertions(+), 17 deletions(-)
-
-diff --git a/ChangeLog b/ChangeLog
-index c5ae9da..42c48ff 100644
 a/ChangeLog
-+++ b/ChangeLog
-@@ -1,3 +1,6 @@
-+Changes in 4.3.2:
-+- Backport ipfilter extraction fixes from master branch (315239)
-+
- Changes in 4.3.1:
- - Fix new custom groups not appearing in add to group submenu (307230)
- - Fix crash when right clicking on some locations in the GroupView due to 0 
pointer (307160)
-diff --git a/plugins/ipfilter/downloadandconvertjob.cpp 
b/plugins/ipfilter/downloadandconvertjob.cpp
-index d3092ac..4080c2a 100644
 a/plugins/ipfilter/downloadandconvertjob.cpp
-+++ b/plugins/ipfilter/downloadandconvertjob.cpp
-@@ -114,12 +114,13 @@ namespace kt
-   
-   //now determine if it's ZIP or TXT file
-   KMimeType::Ptr ptr = KMimeType::findByPath(temp);
-+Out(SYS_IPF|LOG_NOTICE) << "Mimetype: " << ptr->name() << endl;
-   if (ptr->name() == "application/zip")
-   {
-   active_job = KIO::file_move(temp,QString(kt::DataDir() 
+ QLatin1String("level1.zip")),-1,KIO::HideProgressInfo|KIO::Overwrite);
-   
connect(active_job,SIGNAL(result(KJob*)),this,SLOT(extract(KJob*)));
-   }
--  else if (ptr->name() == "application/x-gzip" || ptr->name() == 
"application/x-bzip")
-+  else if (ptr->name() == "application/x-gzip" || ptr->name() == 
"application/x-bzip" || ptr->name() == "application/gzip")
-   {
-   active_job = new 
bt::DecompressFileJob(temp,QString(kt::DataDir() + "level1.txt"));
-   
connect(active_job,SIGNAL(result(KJob*)),this,SLOT(convert(KJob*)));
-@@ -174,23 +175,10 @@ namespace kt
-   }
-   
-   QString destination = kt::DataDir() + "level1.txt";
--  if (zip->directory()->entries().contains("splist.txt"))
-+QStringList entries = zip->directory()->entries();
-+  if (entries.count() >= 1)
-   {
--  active_job = new 
bt::ExtractFileJob(zip,"splist.txt",destination);
--  
connect(active_job,SIGNAL(result(KJob*)),this,SLOT(convert(KJob*)));
--  unzip = true;
--  active_job->start();
--  }
--  else if (zip->directory()->entries().contains("level1.txt"))
--  {
--  active_job = new 
bt::ExtractFileJob(zip,"level1.txt",destination);
--  
connect(active_job,SIGNAL(result(KJob*)),this,SLOT(convert(KJob*)));
--

[gentoo-commits] repo/gentoo:master commit in: net-p2p/ktorrent/

2017-01-04 Thread Johannes Huber
commit: 7cadfcd30dd54bde8bd729bfd57c50d8db8597f5
Author: Johannes Huber  gentoo  org>
AuthorDate: Wed Jan  4 17:21:56 2017 +
Commit: Johannes Huber  gentoo  org>
CommitDate: Wed Jan  4 17:22:12 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7cadfcd3

net-p2p/ktorrent: Drop KEYWORDS for live

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 net-p2p/ktorrent/ktorrent-4.3.1-r1.ebuild | 3 +--
 net-p2p/ktorrent/ktorrent-5.0.1.ebuild| 3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/net-p2p/ktorrent/ktorrent-4.3.1-r1.ebuild 
b/net-p2p/ktorrent/ktorrent-4.3.1-r1.ebuild
index 57aceac..8105e55 100644
--- a/net-p2p/ktorrent/ktorrent-4.3.1-r1.ebuild
+++ b/net-p2p/ktorrent/ktorrent-4.3.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -28,7 +28,6 @@ if [[ ${PV} != * ]]; then
 else
LIBKT_VERSION_MIN="${PV}"
LIBKT_VERSION_MAX=""
-   KEYWORDS=""
 fi
 
 inherit kde4-base

diff --git a/net-p2p/ktorrent/ktorrent-5.0.1.ebuild 
b/net-p2p/ktorrent/ktorrent-5.0.1.ebuild
index 0c9d066..6023940 100644
--- a/net-p2p/ktorrent/ktorrent-5.0.1.ebuild
+++ b/net-p2p/ktorrent/ktorrent-5.0.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -21,7 +21,6 @@ if [[ ${PV} != * ]]; then
 else
LIBKT_VERSION_MIN="${PV}"
LIBKT_VERSION_MAX=""
-   KEYWORDS="amd64"
 fi
 
 KDE_HANDBOOK="forceoptional"



[gentoo-commits] repo/gentoo:master commit in: net-p2p/ktorrent/

2016-12-23 Thread Johannes Huber
commit: 66f4c0cc93d0c4acb5cbdf58f6edc2c612bb8a21
Author: Johannes Huber  gentoo  org>
AuthorDate: Fri Dec 23 18:48:54 2016 +
Commit: Johannes Huber  gentoo  org>
CommitDate: Fri Dec 23 18:50:12 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66f4c0cc

net-p2p/ktorrent: Drop kross support

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 net-p2p/ktorrent/ktorrent-4.3.1-r1.ebuild | 7 +++
 net-p2p/ktorrent/metadata.xml | 1 -
 2 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/net-p2p/ktorrent/ktorrent-4.3.1-r1.ebuild 
b/net-p2p/ktorrent/ktorrent-4.3.1-r1.ebuild
index 1933ff2..cb204f6 100644
--- a/net-p2p/ktorrent/ktorrent-4.3.1-r1.ebuild
+++ b/net-p2p/ktorrent/ktorrent-4.3.1-r1.ebuild
@@ -38,7 +38,7 @@ HOMEPAGE="http://ktorrent.pwsp.net/;
 
 LICENSE="GPL-2"
 SLOT="4"
-IUSE="+bwscheduler debug +downloadorder +infowidget +ipfilter +kross +logviewer
+IUSE="+bwscheduler debug +downloadorder +infowidget +ipfilter +logviewer
 +magnetgenerator +mediaplayer rss +scanfolder +search +stats +upnp webinterface
 +zeroconf"
 
@@ -63,7 +63,6 @@ RDEPEND="${COMMONDEPEND}
app-arch/unzip
$(add_kdeapps_dep kdebase-kioslaves)
)
-   kross? ( $(add_kdeapps_dep kross-interpreters) )
 "
 
 PATCHES=(
@@ -81,13 +80,13 @@ src_prepare() {
 
 src_configure() {
mycmakeargs=(
-   -D_ENABLE_SHUTDOWN_PLUGIN=OFF
+   -DENABLE_SHUTDOWN_PLUGIN=OFF
+   -DENABLE_SCRIPTING_PLUGIN=OFF
$(cmake-utils_use_enable bwscheduler BWSCHEDULER_PLUGIN)
$(cmake-utils_use_enable downloadorder DOWNLOADORDER_PLUGIN)
$(cmake-utils_use_enable infowidget INFOWIDGET_PLUGIN)
$(cmake-utils_use_with infowidget SYSTEM_GEOIP)
$(cmake-utils_use_enable ipfilter IPFILTER_PLUGIN)
-   $(cmake-utils_use_enable kross SCRIPTING_PLUGIN)
$(cmake-utils_use_enable logviewer LOGVIEWER_PLUGIN)
$(cmake-utils_use_enable magnetgenerator MAGNETGENERATOR_PLUGIN)
$(cmake-utils_use_enable mediaplayer MEDIAPLAYER_PLUGIN)

diff --git a/net-p2p/ktorrent/metadata.xml b/net-p2p/ktorrent/metadata.xml
index a305a96..bb13b27 100644
--- a/net-p2p/ktorrent/metadata.xml
+++ b/net-p2p/ktorrent/metadata.xml
@@ -8,7 +8,6 @@

Schedule upload and download limits 
over a period of a week
Specify the download order of a 
multi-file torrent
-   Enable kross scripting support
Displays general information about a 
torrent in several tabs
Filter IP addresses through a 
blocklist
Displays the logging output



[gentoo-commits] repo/gentoo:master commit in: net-p2p/ktorrent/

2016-12-21 Thread Tobias Klausmann
commit: e25be69d4b0a698e6c0832d4860e1b8963ded510
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Wed Dec 21 09:39:42 2016 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Wed Dec 21 09:39:42 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e25be69d

net-p2p/ktorrent-5.0.1-r0: stable on amd64

Gentoo-Bug: 596816

 net-p2p/ktorrent/ktorrent-5.0.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-p2p/ktorrent/ktorrent-5.0.1.ebuild 
b/net-p2p/ktorrent/ktorrent-5.0.1.ebuild
index cbc24f5..0c9d066 100644
--- a/net-p2p/ktorrent/ktorrent-5.0.1.ebuild
+++ b/net-p2p/ktorrent/ktorrent-5.0.1.ebuild
@@ -17,11 +17,11 @@ if [[ ${PV} != * ]]; then
SRC_URI="mirror://kde/stable/${PN}/$(get_version_component_range 
1-2)/${MY_P}.tar.xz"
S="${WORKDIR}"/"${MY_P}"
 
-   KEYWORDS="~amd64 ~x86"
+   KEYWORDS="amd64 ~x86"
 else
LIBKT_VERSION_MIN="${PV}"
LIBKT_VERSION_MAX=""
-   KEYWORDS=""
+   KEYWORDS="amd64"
 fi
 
 KDE_HANDBOOK="forceoptional"



[gentoo-commits] repo/gentoo:master commit in: net-p2p/ktorrent/

2016-11-20 Thread Johannes Huber
commit: e3d0f7fa22edc6d234526923f80da7c56a147db7
Author: Johannes Huber  gentoo  org>
AuthorDate: Sun Nov 20 08:12:10 2016 +
Commit: Johannes Huber  gentoo  org>
CommitDate: Sun Nov 20 08:15:10 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3d0f7fa

net-p2p/ktorrent: Drop deprecated Plasma 4 support

Package-Manager: portage-2.3.2

 net-p2p/ktorrent/ktorrent-4.3.1-r1.ebuild | 16 ++--
 1 file changed, 6 insertions(+), 10 deletions(-)

diff --git a/net-p2p/ktorrent/ktorrent-4.3.1-r1.ebuild 
b/net-p2p/ktorrent/ktorrent-4.3.1-r1.ebuild
index 27cead6..4fac1d9 100644
--- a/net-p2p/ktorrent/ktorrent-4.3.1-r1.ebuild
+++ b/net-p2p/ktorrent/ktorrent-4.3.1-r1.ebuild
@@ -39,21 +39,19 @@ HOMEPAGE="http://ktorrent.pwsp.net/;
 LICENSE="GPL-2"
 SLOT="4"
 IUSE="+bwscheduler debug +downloadorder +infowidget +ipfilter +kross +logviewer
-+magnetgenerator +mediaplayer plasma rss +scanfolder +search +shutdown +stats
-+upnp webinterface +zeroconf"
++magnetgenerator +mediaplayer rss +scanfolder +search +stats +upnp webinterface
++zeroconf"
 
 COMMONDEPEND="
=net-libs/libktorrent-${LIBKT_VERSION_MIN}:4
infowidget? ( dev-libs/geoip )
mediaplayer? ( >=media-libs/taglib-1.5 )
-   plasma? ( $(add_kdebase_dep libtaskmanager) )
rss? ( $(add_kdeapps_dep kdepimlibs) )
search? (
$(add_kdebase_dep kdelibs webkit 4.14.22)
dev-qt/qtwebkit:4
)
-   shutdown? ( $(add_kdebase_dep libkworkspace) )
 "
 DEPEND="${COMMONDEPEND}
dev-libs/boost
@@ -74,17 +72,16 @@ PATCHES=(
 )
 
 src_prepare() {
-   if ! use plasma; then
-   sed -i \
-   -e "s:add_subdirectory(plasma):#nada:g" \
-   CMakeLists.txt || die "Failed to make plasmoid optional"
-   fi
+   sed -i \
+   -e "s:add_subdirectory(plasma):#nada:g" \
+   CMakeLists.txt || die "Failed to make plasmoid optional"
 
kde4-base_src_prepare
 }
 
 src_configure() {
mycmakeargs=(
+   -D_ENABLE_SHUTDOWN_PLUGIN=OFF
$(cmake-utils_use_enable bwscheduler BWSCHEDULER_PLUGIN)
$(cmake-utils_use_enable downloadorder DOWNLOADORDER_PLUGIN)
$(cmake-utils_use_enable infowidget INFOWIDGET_PLUGIN)
@@ -97,7 +94,6 @@ src_configure() {
$(cmake-utils_use_enable rss SYNDICATION_PLUGIN)
$(cmake-utils_use_enable scanfolder SCANFOLDER_PLUGIN)
$(cmake-utils_use_enable search SEARCH_PLUGIN)
-   $(cmake-utils_use_enable shutdown SHUTDOWN_PLUGIN)
$(cmake-utils_use_enable stats STATS_PLUGIN)
$(cmake-utils_use_enable upnp UPNP_PLUGIN)
$(cmake-utils_use_enable webinterface WEBINTERFACE_PLUGIN)



[gentoo-commits] repo/gentoo:master commit in: net-p2p/ktorrent/

2016-09-17 Thread Michael Palimaka
commit: a669e12b620b21be38407abc4e60afa25708b60f
Author: Michael Palimaka  gentoo  org>
AuthorDate: Sat Sep 17 19:22:31 2016 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Sat Sep 17 19:22:39 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a669e12b

net-p2p/ktorrent: remove reference to old kdelibs versions

Package-Manager: portage-2.3.0

 net-p2p/ktorrent/ktorrent-4.3.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-p2p/ktorrent/ktorrent-4.3.1-r1.ebuild 
b/net-p2p/ktorrent/ktorrent-4.3.1-r1.ebuild
index 8d3d796..27cead6 100644
--- a/net-p2p/ktorrent/ktorrent-4.3.1-r1.ebuild
+++ b/net-p2p/ktorrent/ktorrent-4.3.1-r1.ebuild
@@ -50,7 +50,7 @@ COMMONDEPEND="
plasma? ( $(add_kdebase_dep libtaskmanager) )
rss? ( $(add_kdeapps_dep kdepimlibs) )
search? (
-   || ( $(add_kdebase_dep kdelibs webkit 4.14.22) 


[gentoo-commits] repo/gentoo:master commit in: net-p2p/ktorrent/

2016-08-20 Thread Michael Palimaka
commit: db9fc4a0badddf0d5346d563e9d004107cad3fdb
Author: Andreas Sturmlechner  gmail  com>
AuthorDate: Sat Aug 13 10:53:47 2016 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Sat Aug 20 18:28:26 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db9fc4a0

net-p2p/ktorrent: USE=search depends on kdelibs[webkit], qtwebkit:4

Package-Manager: portage-2.2.28

 net-p2p/ktorrent/ktorrent-4.3.1-r1.ebuild | 4 
 1 file changed, 4 insertions(+)

diff --git a/net-p2p/ktorrent/ktorrent-4.3.1-r1.ebuild 
b/net-p2p/ktorrent/ktorrent-4.3.1-r1.ebuild
index 6269baa..8d3d796 100644
--- a/net-p2p/ktorrent/ktorrent-4.3.1-r1.ebuild
+++ b/net-p2p/ktorrent/ktorrent-4.3.1-r1.ebuild
@@ -49,6 +49,10 @@ COMMONDEPEND="
mediaplayer? ( >=media-libs/taglib-1.5 )
plasma? ( $(add_kdebase_dep libtaskmanager) )
rss? ( $(add_kdeapps_dep kdepimlibs) )
+   search? (
+   || ( $(add_kdebase_dep kdelibs webkit 4.14.22) 

[gentoo-commits] repo/gentoo:master commit in: net-p2p/ktorrent/

2016-07-07 Thread Michael Palimaka
commit: f3abe5f1b189c96da9aa31ade338004e7cf98234
Author: Michael Palimaka  gentoo  org>
AuthorDate: Wed Jul  6 17:47:49 2016 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Thu Jul  7 17:52:08 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3abe5f1

net-p2p/ktorrent: drop ~ppc keyword

Package-Manager: portage-2.3.0

 net-p2p/ktorrent/ktorrent-4.3.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-p2p/ktorrent/ktorrent-4.3.1-r1.ebuild 
b/net-p2p/ktorrent/ktorrent-4.3.1-r1.ebuild
index edb9c9e..6269baa 100644
--- a/net-p2p/ktorrent/ktorrent-4.3.1-r1.ebuild
+++ b/net-p2p/ktorrent/ktorrent-4.3.1-r1.ebuild
@@ -24,7 +24,7 @@ if [[ ${PV} != * ]]; then
SRC_URI="http://ktorrent.org/downloads/${MY_PV}/${MY_P}.tar.bz2;
S="${WORKDIR}"/"${MY_P}"
 
-   KEYWORDS="amd64 ~ppc x86"
+   KEYWORDS="amd64 x86"
 else
LIBKT_VERSION_MIN="${PV}"
LIBKT_VERSION_MAX=""



[gentoo-commits] repo/gentoo:master commit in: net-p2p/ktorrent/files/, net-p2p/ktorrent/

2016-06-26 Thread Michael Palimaka
commit: d2ec04368e585abd931ba9e5f18bc16b9ef67e45
Author: Michael Palimaka  gentoo  org>
AuthorDate: Sun Jun 26 18:05:34 2016 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Sun Jun 26 18:07:11 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2ec0436

reponet-p2p/ktorrent: backport patch from upstream solving build failure

Gentoo-bug: 587048

Package-Manager: portage-2.3.0

 net-p2p/ktorrent/files/ktorrent-5.0.1-build.patch | 38 +++
 net-p2p/ktorrent/ktorrent-5.0.1.ebuild|  2 ++
 2 files changed, 40 insertions(+)

diff --git a/net-p2p/ktorrent/files/ktorrent-5.0.1-build.patch 
b/net-p2p/ktorrent/files/ktorrent-5.0.1-build.patch
new file mode 100644
index 000..58949a2
--- /dev/null
+++ b/net-p2p/ktorrent/files/ktorrent-5.0.1-build.patch
@@ -0,0 +1,38 @@
+From ac8eb6b360fbaa2588ec523bb81c380289586db6 Mon Sep 17 00:00:00 2001
+From: David Faure 
+Date: Sat, 14 May 2016 11:19:34 +0200
+Subject: [PATCH] Fix compilation, KSharedConfig was not found.
+
+---
+ ktorrent/dialogs/pastedialog.h  | 1 +
+ plugins/mediaplayer/mediaview.h | 2 +-
+ 2 files changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/ktorrent/dialogs/pastedialog.h b/ktorrent/dialogs/pastedialog.h
+index 2446848..430ea82 100644
+--- a/ktorrent/dialogs/pastedialog.h
 b/ktorrent/dialogs/pastedialog.h
+@@ -22,6 +22,7 @@
+ #define PASTEDIALOG_H
+ 
+ #include 
++#include 
+ #include "ui_pastedlgbase.h"
+ 
+ 
+diff --git a/plugins/mediaplayer/mediaview.h b/plugins/mediaplayer/mediaview.h
+index 2b9a7e6..d1959c1 100644
+--- a/plugins/mediaplayer/mediaview.h
 b/plugins/mediaplayer/mediaview.h
+@@ -25,7 +25,7 @@
+ #include 
+ #include 
+ #include 
+-#include 
++#include 
+ #include "mediafile.h"
+ 
+ 
+-- 
+2.7.3
+

diff --git a/net-p2p/ktorrent/ktorrent-5.0.1.ebuild 
b/net-p2p/ktorrent/ktorrent-5.0.1.ebuild
index 978204d..cbc24f5 100644
--- a/net-p2p/ktorrent/ktorrent-5.0.1.ebuild
+++ b/net-p2p/ktorrent/ktorrent-5.0.1.ebuild
@@ -100,6 +100,8 @@ RDEPEND="${COMMON_DEPEND}
 #  kde5_src_prepare
 # }
 
+PATCHES=( "${FILESDIR}/${P}-build.patch" )
+
 src_prepare() {
kde5_src_prepare
 



[gentoo-commits] repo/gentoo:master commit in: net-p2p/ktorrent/

2016-06-26 Thread Michael Palimaka
commit: dc1f79e09146de0b32d1237b4e0d9ce475c491aa
Author: Michael Palimaka  gentoo  org>
AuthorDate: Sun Jun 26 18:06:07 2016 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Sun Jun 26 18:07:11 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc1f79e0

net-p2p/ktorrent: remove old

Package-Manager: portage-2.3.0

 net-p2p/ktorrent/Manifest|   1 -
 net-p2p/ktorrent/ktorrent-5.0.ebuild | 129 ---
 2 files changed, 130 deletions(-)

diff --git a/net-p2p/ktorrent/Manifest b/net-p2p/ktorrent/Manifest
index bbe6f4a..ccc07d1 100644
--- a/net-p2p/ktorrent/Manifest
+++ b/net-p2p/ktorrent/Manifest
@@ -1,3 +1,2 @@
 DIST ktorrent-4.3.1.tar.bz2 2943708 SHA256 
66094f6833347afb0c49e332f0ec15ec48db652cbe66476840846ffd5ca0e4a1 SHA512 
bf1fa144295cb00fccce3a511afe845bc7bf42d77d70205f5893686e7b1fa78c5799c46c7e4e04435ab6fdd4bc9b3b4a25bffb2c5538a25af36302c60742900e
 WHIRLPOOL 
61303c19f0160bba9bdd288415d86519594f26c5c062f394cee7924093506a9cc6236fd8eedec16c6f799f71a15cb4af15c4b7c079831dccb4e498b833c2234e
 DIST ktorrent-5.0.1.tar.xz 2152908 SHA256 
d00feeca5dcc6a76a039d67dbe91a2d5a5e1da0f5e0bbd8da2c156d9c44879e5 SHA512 
6ceced3d578e58f480ada5b71a66be244c75de726389d39b40c02c5a9445c6bb0b70573fac810abd1659c3172bff79c0c3e5cbfe1a84e0d50836b52291597bc1
 WHIRLPOOL 
11d59e1762b12e0c740337b05e9e678f71df1a5d43cffee6dcb1a3159afe1da00c118b62b84fdb80dbd6d98f3998250882406e8e61ad181b67b7043d350c8682
-DIST ktorrent-5.0.tar.xz 2153772 SHA256 
78aefd4660a57e7d512f68db08a0f01e29dc4500242e58cbe7fac4592e24afec SHA512 
29dcb5a8994d4757fa07fdc263f62d4ef425295d60e11a032a1bf6425c6378e55f0ce221b6ab9bb2f70579c8c423c405d2fa8e3ba5e7130bdfd637b3de5865e1
 WHIRLPOOL 
5f6e95ab84f83bbceba5a0d092dd1cdce5706099a07977df45101d5f16fc5ee319bb8cfd8146c8336242e9b0c7158ad235caf491999ec56ab6c260d17a915be5

diff --git a/net-p2p/ktorrent/ktorrent-5.0.ebuild 
b/net-p2p/ktorrent/ktorrent-5.0.ebuild
deleted file mode 100644
index 9278d1e..000
--- a/net-p2p/ktorrent/ktorrent-5.0.ebuild
+++ /dev/null
@@ -1,129 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=6
-
-LIBKT_VERSION_MIN="${PV}"
-LIBKT_VERSION_MAX=""
-if [[ ${PV} != * ]]; then
-   inherit versionator
-   # upstream likes to skip that _ in beta releases
-   MY_PV="${PV/_/}"
-   
LIBKT_VERSION_MIN=$(($(get_major_version)-3)).$(get_version_component_range 2-3 
${PV})
-   
LIBKT_VERSION_MAX=$(($(get_major_version)-3)).$(($(get_version_component_range 
2)+1))
-   MY_P="${PN}-${MY_PV}"
-
-   SRC_URI="mirror://kde/stable/${PN}/${MY_PV}/${MY_P}.tar.xz"
-   S="${WORKDIR}"/"${MY_P}"
-
-   KEYWORDS="~amd64 ~x86"
-else
-   LIBKT_VERSION_MIN="${PV}"
-   LIBKT_VERSION_MAX=""
-   KEYWORDS=""
-fi
-
-KDE_HANDBOOK="forceoptional"
-inherit kde5
-
-DESCRIPTION="Powerful BitTorrent client based on KDE Frameworks"
-HOMEPAGE="http://ktorrent.pwsp.net/;
-
-LICENSE="GPL-2"
-IUSE="+bwscheduler +downloadorder +infowidget +logviewer
-+magnetgenerator +mediaplayer +shutdown +upnp +zeroconf"
-
-COMMON_DEPEND="
-   $(add_frameworks_dep karchive)
-   $(add_frameworks_dep kcmutils)
-   $(add_frameworks_dep kconfig)
-   $(add_frameworks_dep kcoreaddons)
-   $(add_frameworks_dep kcrash)
-   $(add_frameworks_dep kdbusaddons)
-   $(add_frameworks_dep kdelibs4support)
-   $(add_frameworks_dep kdewebkit)
-   $(add_frameworks_dep ki18n)
-   $(add_frameworks_dep kiconthemes)
-   $(add_frameworks_dep kio)
-   $(add_frameworks_dep knotifications)
-   $(add_frameworks_dep knotifyconfig)
-   $(add_frameworks_dep kparts)
-   $(add_frameworks_dep kservice)
-   $(add_frameworks_dep kwidgetsaddons)
-   $(add_frameworks_dep kxmlgui)
-   $(add_frameworks_dep solid)
-   $(add_frameworks_dep sonnet)
-   $(add_qt_dep qtdbus)
-   $(add_qt_dep qtgui)
-   $(add_qt_dep qtdeclarative)
-   $(add_qt_dep qtnetwork)
-   $(add_qt_dep qtwidgets)
-   =net-libs/libktorrent-${LIBKT_VERSION_MIN}:5
-   infowidget? ( dev-libs/geoip )
-   mediaplayer? (
-   media-libs/phonon[qt5]
-   >=media-libs/taglib-1.5
-   )
-   shutdown? ( $(add_plasma_dep plasma-workspace) )
-   zeroconf? ( $(add_frameworks_dep kdnssd) )
-"
-DEPEND="${COMMON_DEPEND}
-   dev-libs/boost:=
-   sys-devel/gettext
-"
-RDEPEND="${COMMON_DEPEND}
-   !net-p2p/ktorrent:4
-"
-# add back when ported - DEPEND
-#  kross? ( $(add_frameworks_dep kross) )
-#  rss? ( $(add_kdeapps_dep kdepimlibs) )
-# add back when ported - RDEPEND
-#  ipfilter? (
-#  app-arch/bzip2
-#  app-arch/unzip
-#  $(add_kdeapps_dep kdebase-kioslaves)
-#  )
-#  kross? ( $(add_kdebase_dep krosspython) )
-
-# src_prepare() {
-# add back when ported
-#  if ! use plasma; then
-#  sed -i \
-#   

[gentoo-commits] repo/gentoo:master commit in: net-p2p/ktorrent/

2016-06-02 Thread Michael Palimaka
commit: ad29e1c45aa594759476b56358d5ae244765761a
Author: Michael Palimaka  gentoo  org>
AuthorDate: Thu Jun  2 14:21:37 2016 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Thu Jun  2 14:21:43 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad29e1c4

net-p2p/ktorrent: remove trailing whitespace

Package-Manager: portage-2.3.0_rc1

 net-p2p/ktorrent/ktorrent-5.0.1.ebuild | 2 +-
 net-p2p/ktorrent/ktorrent-5.0.ebuild   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-p2p/ktorrent/ktorrent-5.0.1.ebuild 
b/net-p2p/ktorrent/ktorrent-5.0.1.ebuild
index eff7729..978204d 100644
--- a/net-p2p/ktorrent/ktorrent-5.0.1.ebuild
+++ b/net-p2p/ktorrent/ktorrent-5.0.1.ebuild
@@ -96,7 +96,7 @@ RDEPEND="${COMMON_DEPEND}
 #  -e "s:add_subdirectory(plasma):#nada:g" \
 #  CMakeLists.txt || die "Failed to make plasmoid optional"
 #  fi
-# 
+#
 #  kde5_src_prepare
 # }
 

diff --git a/net-p2p/ktorrent/ktorrent-5.0.ebuild 
b/net-p2p/ktorrent/ktorrent-5.0.ebuild
index f02a97a..9278d1e 100644
--- a/net-p2p/ktorrent/ktorrent-5.0.ebuild
+++ b/net-p2p/ktorrent/ktorrent-5.0.ebuild
@@ -94,7 +94,7 @@ RDEPEND="${COMMON_DEPEND}
 #  -e "s:add_subdirectory(plasma):#nada:g" \
 #  CMakeLists.txt || die "Failed to make plasmoid optional"
 #  fi
-# 
+#
 #  kde5_src_prepare
 # }
 



[gentoo-commits] repo/gentoo:master commit in: net-p2p/ktorrent/

2016-04-20 Thread Michael Palimaka
commit: 6df3b069905d0bd1d897845d7b9aeb2b0bf0b1c3
Author: Michael Palimaka  gentoo  org>
AuthorDate: Wed Apr 20 16:37:28 2016 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Wed Apr 20 16:37:35 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6df3b069

net-p2p/ktorrent: fix removal of bogus dependency

Gentoo-bug: 580658

Package-Manager: portage-2.2.28

 net-p2p/ktorrent/ktorrent-5.0.1.ebuild | 2 +-
 net-p2p/ktorrent/ktorrent-5.0.ebuild   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-p2p/ktorrent/ktorrent-5.0.1.ebuild 
b/net-p2p/ktorrent/ktorrent-5.0.1.ebuild
index bb9ddb6..eff7729 100644
--- a/net-p2p/ktorrent/ktorrent-5.0.1.ebuild
+++ b/net-p2p/ktorrent/ktorrent-5.0.1.ebuild
@@ -103,7 +103,7 @@ RDEPEND="${COMMON_DEPEND}
 src_prepare() {
kde5_src_prepare
 
-   punt_bogus_dep Kross
+   punt_bogus_dep KF5 Kross
 }
 
 src_configure() {

diff --git a/net-p2p/ktorrent/ktorrent-5.0.ebuild 
b/net-p2p/ktorrent/ktorrent-5.0.ebuild
index e1a9434..f02a97a 100644
--- a/net-p2p/ktorrent/ktorrent-5.0.ebuild
+++ b/net-p2p/ktorrent/ktorrent-5.0.ebuild
@@ -101,7 +101,7 @@ RDEPEND="${COMMON_DEPEND}
 src_prepare() {
kde5_src_prepare
 
-   punt_bogus_dep Kross
+   punt_bogus_dep KF5 Kross
 }
 
 src_configure() {



[gentoo-commits] repo/gentoo:master commit in: net-p2p/ktorrent/

2016-04-20 Thread Michael Palimaka
commit: 3e995c57cd5e6a0ff107673d847aea0dfa68c54d
Author: Michael Palimaka  gentoo  org>
AuthorDate: Wed Apr 20 10:34:24 2016 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Wed Apr 20 10:34:37 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e995c57

net-p2p/ktorrent: version bump

Package-Manager: portage-2.2.28

 net-p2p/ktorrent/Manifest  |   1 +
 net-p2p/ktorrent/ktorrent-5.0.1.ebuild | 131 +
 2 files changed, 132 insertions(+)

diff --git a/net-p2p/ktorrent/Manifest b/net-p2p/ktorrent/Manifest
index 1593790..bbe6f4a 100644
--- a/net-p2p/ktorrent/Manifest
+++ b/net-p2p/ktorrent/Manifest
@@ -1,2 +1,3 @@
 DIST ktorrent-4.3.1.tar.bz2 2943708 SHA256 
66094f6833347afb0c49e332f0ec15ec48db652cbe66476840846ffd5ca0e4a1 SHA512 
bf1fa144295cb00fccce3a511afe845bc7bf42d77d70205f5893686e7b1fa78c5799c46c7e4e04435ab6fdd4bc9b3b4a25bffb2c5538a25af36302c60742900e
 WHIRLPOOL 
61303c19f0160bba9bdd288415d86519594f26c5c062f394cee7924093506a9cc6236fd8eedec16c6f799f71a15cb4af15c4b7c079831dccb4e498b833c2234e
+DIST ktorrent-5.0.1.tar.xz 2152908 SHA256 
d00feeca5dcc6a76a039d67dbe91a2d5a5e1da0f5e0bbd8da2c156d9c44879e5 SHA512 
6ceced3d578e58f480ada5b71a66be244c75de726389d39b40c02c5a9445c6bb0b70573fac810abd1659c3172bff79c0c3e5cbfe1a84e0d50836b52291597bc1
 WHIRLPOOL 
11d59e1762b12e0c740337b05e9e678f71df1a5d43cffee6dcb1a3159afe1da00c118b62b84fdb80dbd6d98f3998250882406e8e61ad181b67b7043d350c8682
 DIST ktorrent-5.0.tar.xz 2153772 SHA256 
78aefd4660a57e7d512f68db08a0f01e29dc4500242e58cbe7fac4592e24afec SHA512 
29dcb5a8994d4757fa07fdc263f62d4ef425295d60e11a032a1bf6425c6378e55f0ce221b6ab9bb2f70579c8c423c405d2fa8e3ba5e7130bdfd637b3de5865e1
 WHIRLPOOL 
5f6e95ab84f83bbceba5a0d092dd1cdce5706099a07977df45101d5f16fc5ee319bb8cfd8146c8336242e9b0c7158ad235caf491999ec56ab6c260d17a915be5

diff --git a/net-p2p/ktorrent/ktorrent-5.0.1.ebuild 
b/net-p2p/ktorrent/ktorrent-5.0.1.ebuild
new file mode 100644
index 000..bb9ddb6
--- /dev/null
+++ b/net-p2p/ktorrent/ktorrent-5.0.1.ebuild
@@ -0,0 +1,131 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+LIBKT_VERSION_MIN="${PV}"
+LIBKT_VERSION_MAX=""
+if [[ ${PV} != * ]]; then
+   inherit versionator
+   # upstream likes to skip that _ in beta releases
+   MY_PV="${PV/_/}"
+   
LIBKT_VERSION_MIN=$(($(get_major_version)-3)).$(get_version_component_range 2-3 
${PV})
+   
LIBKT_VERSION_MAX=$(($(get_major_version)-3)).$(($(get_version_component_range 
2)+1))
+   MY_P="${PN}-${MY_PV}"
+
+   SRC_URI="mirror://kde/stable/${PN}/$(get_version_component_range 
1-2)/${MY_P}.tar.xz"
+   S="${WORKDIR}"/"${MY_P}"
+
+   KEYWORDS="~amd64 ~x86"
+else
+   LIBKT_VERSION_MIN="${PV}"
+   LIBKT_VERSION_MAX=""
+   KEYWORDS=""
+fi
+
+KDE_HANDBOOK="forceoptional"
+inherit kde5
+
+DESCRIPTION="Powerful BitTorrent client based on KDE Frameworks"
+HOMEPAGE="http://ktorrent.pwsp.net/;
+
+LICENSE="GPL-2"
+IUSE="+bwscheduler +downloadorder +infowidget +logviewer
++magnetgenerator +mediaplayer +shutdown +stats +upnp +zeroconf"
+
+COMMON_DEPEND="
+   $(add_frameworks_dep karchive)
+   $(add_frameworks_dep kcmutils)
+   $(add_frameworks_dep kcompletion)
+   $(add_frameworks_dep kconfig)
+   $(add_frameworks_dep kconfigwidgets)
+   $(add_frameworks_dep kcoreaddons)
+   $(add_frameworks_dep kcrash)
+   $(add_frameworks_dep kdbusaddons)
+   $(add_frameworks_dep kdelibs4support)
+   $(add_frameworks_dep ki18n)
+   $(add_frameworks_dep kiconthemes)
+   $(add_frameworks_dep kio)
+   $(add_frameworks_dep knotifications)
+   $(add_frameworks_dep knotifyconfig)
+   $(add_frameworks_dep kparts)
+   $(add_frameworks_dep kservice)
+   $(add_frameworks_dep kwidgetsaddons)
+   $(add_frameworks_dep kwindowsystem)
+   $(add_frameworks_dep kxmlgui)
+   $(add_frameworks_dep solid)
+   $(add_frameworks_dep sonnet)
+   $(add_qt_dep qtdbus)
+   $(add_qt_dep qtgui)
+   $(add_qt_dep qtnetwork)
+   $(add_qt_dep qtwidgets)
+   =net-libs/libktorrent-${LIBKT_VERSION_MIN}:5
+   infowidget? ( dev-libs/geoip )
+   mediaplayer? (
+   media-libs/phonon[qt5]
+   >=media-libs/taglib-1.5
+   )
+   shutdown? ( $(add_plasma_dep plasma-workspace) )
+   stats? ( $(add_frameworks_dep kplotting) )
+   zeroconf? ( $(add_frameworks_dep kdnssd) )
+"
+DEPEND="${COMMON_DEPEND}
+   dev-libs/boost
+   sys-devel/gettext
+"
+RDEPEND="${COMMON_DEPEND}
+   !net-p2p/ktorrent:4
+"
+# add back when ported - DEPEND
+#  kross? ( $(add_frameworks_dep kross) )
+#  rss? ( $(add_kdeapps_dep kdepimlibs) )
+# add back when ported - RDEPEND
+#  ipfilter? (
+#  app-arch/bzip2
+#  app-arch/unzip
+#  $(add_kdeapps_dep kdebase-kioslaves)
+#  )
+#  

[gentoo-commits] repo/gentoo:master commit in: net-p2p/ktorrent/

2016-04-19 Thread Johannes Huber
commit: b3191dd5dcc7b811a4c721160588f7e67ace4ed5
Author: Johannes Huber  gentoo  org>
AuthorDate: Tue Apr 19 12:06:10 2016 +
Commit: Johannes Huber  gentoo  org>
CommitDate: Tue Apr 19 12:07:57 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3191dd5

net-p2p/ktorrent: Punt bogus dep on kde-frameworks/kross

Not needed to compile. Scripting feature is not ported yet.

Gentoo-bug: 580282

Package-Manager: portage-2.2.28

 net-p2p/ktorrent/ktorrent-5.0.ebuild | 6 ++
 1 file changed, 6 insertions(+)

diff --git a/net-p2p/ktorrent/ktorrent-5.0.ebuild 
b/net-p2p/ktorrent/ktorrent-5.0.ebuild
index 6acdc9d..e1a9434 100644
--- a/net-p2p/ktorrent/ktorrent-5.0.ebuild
+++ b/net-p2p/ktorrent/ktorrent-5.0.ebuild
@@ -98,6 +98,12 @@ RDEPEND="${COMMON_DEPEND}
 #  kde5_src_prepare
 # }
 
+src_prepare() {
+   kde5_src_prepare
+
+   punt_bogus_dep Kross
+}
+
 src_configure() {
local mycmakeargs=(
-DENABLE_BWSCHEDULER_PLUGIN=$(usex bwscheduler)



[gentoo-commits] repo/gentoo:master commit in: net-p2p/ktorrent/

2016-04-16 Thread Johannes Huber
commit: 500946cffe4fb713d50e40d890c0e6f64ee17df1
Author: Johannes Huber  gentoo  org>
AuthorDate: Sat Apr 16 13:41:49 2016 +
Commit: Johannes Huber  gentoo  org>
CommitDate: Sat Apr 16 13:42:00 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=500946cf

net-p2p/ktorrent: Pin slot on net-libs/libktorrent

Package-Manager: portage-2.2.28

 net-p2p/ktorrent/ktorrent-4.3.1-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-p2p/ktorrent/ktorrent-4.3.1-r1.ebuild 
b/net-p2p/ktorrent/ktorrent-4.3.1-r1.ebuild
index 2426d9f..b49b4cb 100644
--- a/net-p2p/ktorrent/ktorrent-4.3.1-r1.ebuild
+++ b/net-p2p/ktorrent/ktorrent-4.3.1-r1.ebuild
@@ -43,8 +43,8 @@ IUSE="+bwscheduler debug +downloadorder +infowidget +ipfilter 
+kross +logviewer
 +upnp webinterface +zeroconf"
 
 COMMONDEPEND="
-   =net-libs/libktorrent-${LIBKT_VERSION_MIN}
+   =net-libs/libktorrent-${LIBKT_VERSION_MIN}:4
infowidget? ( dev-libs/geoip )
mediaplayer? ( >=media-libs/taglib-1.5 )
plasma? ( $(add_kdebase_dep libtaskmanager) )



[gentoo-commits] repo/gentoo:master commit in: net-p2p/ktorrent/

2016-04-16 Thread Johannes Huber
commit: 5b9bc1274595b98681b262103817af0d4291dc66
Author: Johannes Huber  gentoo  org>
AuthorDate: Sat Apr 16 13:40:06 2016 +
Commit: Johannes Huber  gentoo  org>
CommitDate: Sat Apr 16 13:42:00 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b9bc127

net-p2p/ktorrent: Version bump 5.0

Package-Manager: portage-2.2.28

 net-p2p/ktorrent/Manifest|   1 +
 net-p2p/ktorrent/ktorrent-5.0.ebuild | 123 +++
 2 files changed, 124 insertions(+)

diff --git a/net-p2p/ktorrent/Manifest b/net-p2p/ktorrent/Manifest
index 5d0ff1a..1593790 100644
--- a/net-p2p/ktorrent/Manifest
+++ b/net-p2p/ktorrent/Manifest
@@ -1 +1,2 @@
 DIST ktorrent-4.3.1.tar.bz2 2943708 SHA256 
66094f6833347afb0c49e332f0ec15ec48db652cbe66476840846ffd5ca0e4a1 SHA512 
bf1fa144295cb00fccce3a511afe845bc7bf42d77d70205f5893686e7b1fa78c5799c46c7e4e04435ab6fdd4bc9b3b4a25bffb2c5538a25af36302c60742900e
 WHIRLPOOL 
61303c19f0160bba9bdd288415d86519594f26c5c062f394cee7924093506a9cc6236fd8eedec16c6f799f71a15cb4af15c4b7c079831dccb4e498b833c2234e
+DIST ktorrent-5.0.tar.xz 2153772 SHA256 
78aefd4660a57e7d512f68db08a0f01e29dc4500242e58cbe7fac4592e24afec SHA512 
29dcb5a8994d4757fa07fdc263f62d4ef425295d60e11a032a1bf6425c6378e55f0ce221b6ab9bb2f70579c8c423c405d2fa8e3ba5e7130bdfd637b3de5865e1
 WHIRLPOOL 
5f6e95ab84f83bbceba5a0d092dd1cdce5706099a07977df45101d5f16fc5ee319bb8cfd8146c8336242e9b0c7158ad235caf491999ec56ab6c260d17a915be5

diff --git a/net-p2p/ktorrent/ktorrent-5.0.ebuild 
b/net-p2p/ktorrent/ktorrent-5.0.ebuild
new file mode 100644
index 000..6acdc9d
--- /dev/null
+++ b/net-p2p/ktorrent/ktorrent-5.0.ebuild
@@ -0,0 +1,123 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+LIBKT_VERSION_MIN="${PV}"
+LIBKT_VERSION_MAX=""
+if [[ ${PV} != * ]]; then
+   inherit versionator
+   # upstream likes to skip that _ in beta releases
+   MY_PV="${PV/_/}"
+   
LIBKT_VERSION_MIN=$(($(get_major_version)-3)).$(get_version_component_range 2-3 
${PV})
+   
LIBKT_VERSION_MAX=$(($(get_major_version)-3)).$(($(get_version_component_range 
2)+1))
+   MY_P="${PN}-${MY_PV}"
+
+   SRC_URI="mirror://kde/stable/${PN}/${MY_PV}/${MY_P}.tar.xz"
+   S="${WORKDIR}"/"${MY_P}"
+
+   KEYWORDS="~amd64 ~x86"
+else
+   LIBKT_VERSION_MIN="${PV}"
+   LIBKT_VERSION_MAX=""
+   KEYWORDS=""
+fi
+
+KDE_HANDBOOK="forceoptional"
+inherit kde5
+
+DESCRIPTION="Powerful BitTorrent client based on KDE Frameworks"
+HOMEPAGE="http://ktorrent.pwsp.net/;
+
+LICENSE="GPL-2"
+IUSE="+bwscheduler +downloadorder +infowidget +logviewer
++magnetgenerator +mediaplayer +shutdown +upnp +zeroconf"
+
+COMMON_DEPEND="
+   $(add_frameworks_dep karchive)
+   $(add_frameworks_dep kcmutils)
+   $(add_frameworks_dep kconfig)
+   $(add_frameworks_dep kcoreaddons)
+   $(add_frameworks_dep kcrash)
+   $(add_frameworks_dep kdbusaddons)
+   $(add_frameworks_dep kdelibs4support)
+   $(add_frameworks_dep kdewebkit)
+   $(add_frameworks_dep ki18n)
+   $(add_frameworks_dep kiconthemes)
+   $(add_frameworks_dep kio)
+   $(add_frameworks_dep knotifications)
+   $(add_frameworks_dep knotifyconfig)
+   $(add_frameworks_dep kparts)
+   $(add_frameworks_dep kservice)
+   $(add_frameworks_dep kwidgetsaddons)
+   $(add_frameworks_dep kxmlgui)
+   $(add_frameworks_dep solid)
+   $(add_frameworks_dep sonnet)
+   $(add_qt_dep qtdbus)
+   $(add_qt_dep qtgui)
+   $(add_qt_dep qtdeclarative)
+   $(add_qt_dep qtnetwork)
+   $(add_qt_dep qtwidgets)
+   =net-libs/libktorrent-${LIBKT_VERSION_MIN}:5
+   infowidget? ( dev-libs/geoip )
+   mediaplayer? (
+   media-libs/phonon[qt5]
+   >=media-libs/taglib-1.5
+   )
+   shutdown? ( $(add_plasma_dep plasma-workspace) )
+   zeroconf? ( $(add_frameworks_dep kdnssd) )
+"
+DEPEND="${COMMON_DEPEND}
+   dev-libs/boost:=
+   sys-devel/gettext
+"
+RDEPEND="${COMMON_DEPEND}
+   !net-p2p/ktorrent:4
+"
+# add back when ported - DEPEND
+#  kross? ( $(add_frameworks_dep kross) )
+#  rss? ( $(add_kdeapps_dep kdepimlibs) )
+# add back when ported - RDEPEND
+#  ipfilter? (
+#  app-arch/bzip2
+#  app-arch/unzip
+#  $(add_kdeapps_dep kdebase-kioslaves)
+#  )
+#  kross? ( $(add_kdebase_dep krosspython) )
+
+# src_prepare() {
+# add back when ported
+#  if ! use plasma; then
+#  sed -i \
+#  -e "s:add_subdirectory(plasma):#nada:g" \
+#  CMakeLists.txt || die "Failed to make plasmoid optional"
+#  fi
+# 
+#  kde5_src_prepare
+# }
+
+src_configure() {
+   local mycmakeargs=(
+   -DENABLE_BWSCHEDULER_PLUGIN=$(usex bwscheduler)
+   -DENABLE_DOWNLOADORDER_PLUGIN=$(usex downloadorder)
+   

[gentoo-commits] repo/gentoo:master commit in: net-p2p/ktorrent/files/

2016-03-08 Thread Michael Palimaka
commit: c4e5eb72336024e5caff2999ce96791051aca64f
Author: Michael Palimaka  gentoo  org>
AuthorDate: Tue Mar  8 14:31:29 2016 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Tue Mar  8 14:34:21 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4e5eb72

net-p2p/ktorrent: remove unused patch

Package-Manager: portage-2.2.27

 .../files/ktorrent-4.3.0-mountedstoragecheck.patch | 25 --
 1 file changed, 25 deletions(-)

diff --git a/net-p2p/ktorrent/files/ktorrent-4.3.0-mountedstoragecheck.patch 
b/net-p2p/ktorrent/files/ktorrent-4.3.0-mountedstoragecheck.patch
deleted file mode 100644
index bdb494c..000
--- a/net-p2p/ktorrent/files/ktorrent-4.3.0-mountedstoragecheck.patch
+++ /dev/null
@@ -1,25 +0,0 @@
 a/ktorrent/core.cpp
-+++ b/ktorrent/core.cpp
-@@ -1206,6 +1206,10 @@
- 
-   bool Core::checkMissingFiles(TorrentInterface* tc)
-   {
-+QStringList missing;
-+if(!tc->hasMissingFiles(missing))
-+return true;
-+
-   QStringList not_mounted;
-   while(!tc->isStorageMounted(not_mounted))
-   {
-@@ -1226,10 +1230,6 @@
-   }
-   }
- 
--  QStringList missing;
--  if(!tc->hasMissingFiles(missing))
--  return true;
--
-   if(tc->getStats().multi_file_torrent)
-   {
-   QString msg = i18n(
-



[gentoo-commits] repo/gentoo:master commit in: net-p2p/ktorrent/

2016-03-08 Thread Michael Palimaka
commit: 1823bce1fd1dbbde838d3bfd3db1fde1a0c5596f
Author: Michael Palimaka  gentoo  org>
AuthorDate: Tue Mar  8 14:33:41 2016 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Tue Mar  8 14:34:21 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1823bce1

net-p2p/ktorrent: whitespace

Package-Manager: portage-2.2.27

 net-p2p/ktorrent/metadata.xml | 42 +-
 1 file changed, 21 insertions(+), 21 deletions(-)

diff --git a/net-p2p/ktorrent/metadata.xml b/net-p2p/ktorrent/metadata.xml
index aab846a..a305a96 100644
--- a/net-p2p/ktorrent/metadata.xml
+++ b/net-p2p/ktorrent/metadata.xml
@@ -1,25 +1,25 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-  
-k...@gentoo.org
-Gentoo KDE Project
-  
-  
-Schedule upload and download limits over a period 
of a week
-Specify the download order of a multi-file 
torrent
-Enable kross scripting support
-Displays general information about a torrent in 
several tabs
-Filter IP addresses through a blocklist
-Displays the logging output
-Generates magnet URI's
-Phonon-based media player
-Syndication plugin for KTorrent, supporting RSS and Atom 
feeds
-Scan folders for torrent files and load them
-Search for torrents
-Shutdown when done
-Shows statistics about torrents in several graphs
-Allows control of KTorrent via a web 
interface
-Discover peers on the local network using the 
Zeroconf protocol
-  
+   
+   k...@gentoo.org
+   Gentoo KDE Project
+   
+   
+   Schedule upload and download limits 
over a period of a week
+   Specify the download order of a 
multi-file torrent
+   Enable kross scripting support
+   Displays general information about a 
torrent in several tabs
+   Filter IP addresses through a 
blocklist
+   Displays the logging output
+   Generates magnet URI's
+   Phonon-based media player
+   Syndication plugin for KTorrent, supporting 
RSS and Atom feeds
+   Scan folders for torrent files and load 
them
+   Search for torrents
+   Shutdown when done
+   Shows statistics about torrents in several 
graphs
+   Allows control of KTorrent via a web 
interface
+   Discover peers on the local network using 
the Zeroconf protocol
+   
 



[gentoo-commits] repo/gentoo:master commit in: net-p2p/ktorrent/

2016-03-08 Thread Michael Palimaka
commit: 56c0f59b3110bb2ae9aa62351520c10dc512f8a7
Author: Michael Palimaka  gentoo  org>
AuthorDate: Tue Mar  8 14:29:25 2016 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Tue Mar  8 14:29:33 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56c0f59b

net-p2p/ktorrent: update HOMEPAGE

Gentoo-bug: 576410

Package-Manager: portage-2.2.27

 net-p2p/ktorrent/ktorrent-4.3.1-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-p2p/ktorrent/ktorrent-4.3.1-r1.ebuild 
b/net-p2p/ktorrent/ktorrent-4.3.1-r1.ebuild
index 6b32bc6..2426d9f 100644
--- a/net-p2p/ktorrent/ktorrent-4.3.1-r1.ebuild
+++ b/net-p2p/ktorrent/ktorrent-4.3.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -34,7 +34,7 @@ fi
 inherit kde4-base
 
 DESCRIPTION="A BitTorrent program for KDE"
-HOMEPAGE="http://ktorrent.org/;
+HOMEPAGE="http://ktorrent.pwsp.net/;
 
 LICENSE="GPL-2"
 SLOT="4"