* [gentoo-commits] proj/kde-sunset:master commit in: kde-misc/kdeconnect/, kde-misc/kdeconnect/files/
@ 2016-11-19 17:24 Johannes Huber
0 siblings, 0 replies; only message in thread
From: Johannes Huber @ 2016-11-19 17:24 UTC (permalink / raw
To: gentoo-commits
commit: 114e67ada719a09dd61288269ac24b855a83a4da
Author: Johannes Huber <johu <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 19 17:24:01 2016 +0000
Commit: Johannes Huber <johu <AT> gentoo <DOT> org>
CommitDate: Sat Nov 19 17:24:01 2016 +0000
URL: https://gitweb.gentoo.org/proj/kde-sunset.git/commit/?id=114e67ad
kde-misc/kdeconnect: Import from gentoo main tree
Package-Manager: portage-2.3.2
.../kdeconnect/files/kdeconnect-0.8-ninja.patch | 36 ++++++++++++++
.../files/kdeconnect-0.8-openssh-7.0.patch | 32 ++++++++++++
kde-misc/kdeconnect/kdeconnect-0.8-r1.ebuild | 58 ++++++++++++++++++++++
kde-misc/kdeconnect/metadata.xml | 5 ++
4 files changed, 131 insertions(+)
diff --git a/kde-misc/kdeconnect/files/kdeconnect-0.8-ninja.patch b/kde-misc/kdeconnect/files/kdeconnect-0.8-ninja.patch
new file mode 100644
index 0000000..d482549
--- /dev/null
+++ b/kde-misc/kdeconnect/files/kdeconnect-0.8-ninja.patch
@@ -0,0 +1,36 @@
+From d9e0c61185a5ecbd9b013740fe73d21ba5adaa44 Mon Sep 17 00:00:00 2001
+From: Michael Palimaka <kensington@gentoo.org>
+Date: Thu, 10 Sep 2015 21:56:39 +1000
+Subject: [PATCH] Fix make with ninja.
+
+The custom command name must differ from the name of the generated file.
+
+REVIEW: 125137
+---
+ cmake/DbusInterfaceMacros.cmake | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/cmake/DbusInterfaceMacros.cmake b/cmake/DbusInterfaceMacros.cmake
+index 9d4810d..801452a 100644
+--- a/cmake/DbusInterfaceMacros.cmake
++++ b/cmake/DbusInterfaceMacros.cmake
+@@ -12,7 +12,7 @@ macro (generate_and_install_dbus_interface main_project_target header_file outpu
+ OPTIONS ${qdbus_options}
+ )
+ add_custom_target(
+- ${output_xml_file}
++ ${output_xml_file}_target
+ SOURCES ${CMAKE_CURRENT_BINARY_DIR}/${output_xml_file}
+ )
+ install(
+@@ -21,6 +21,6 @@ macro (generate_and_install_dbus_interface main_project_target header_file outpu
+ )
+ add_dependencies(
+ ${main_project_target}
+- ${output_xml_file}
++ ${output_xml_file}_target
+ )
+ endmacro (generate_and_install_dbus_interface)
+--
+2.4.6
+
diff --git a/kde-misc/kdeconnect/files/kdeconnect-0.8-openssh-7.0.patch b/kde-misc/kdeconnect/files/kdeconnect-0.8-openssh-7.0.patch
new file mode 100644
index 0000000..3689156
--- /dev/null
+++ b/kde-misc/kdeconnect/files/kdeconnect-0.8-openssh-7.0.patch
@@ -0,0 +1,32 @@
+From 56028b694176d1f52475ac073b0feb842c71a894 Mon Sep 17 00:00:00 2001
+From: Albert Vaca <albertvaka@gmail.com>
+Date: Mon, 24 Aug 2015 21:27:24 -0700
+Subject: [PATCH] Fixed incompatibility with OpenSSH 7.0
+
+BUG: 351725
+
+Conflicts:
+ plugins/sftp/mounter.cpp
+---
+ plugins/sftp/mounter.cpp | 5 +++--
+ 1 file changed, 3 insertions(+), 2 deletions(-)
+
+diff --git a/plugins/sftp/mounter.cpp b/plugins/sftp/mounter.cpp
+index c414f77..f13bb52 100644
+--- a/plugins/sftp/mounter.cpp
++++ b/plugins/sftp/mounter.cpp
+@@ -136,8 +136,9 @@ void Mounter::onPakcageReceived(const NetworkPackage& np)
+ << "-f"
+ << "-o" << "IdentityFile=" + m_sftp->device()->privateKeyPath()
+ << "-o" << "StrictHostKeyChecking=no" //Do not ask for confirmation because it is not a known host
+- << "-o" << "UserKnownHostsFile=/dev/null"; //Prevent storing as a known host
+-
++ << "-o" << "UserKnownHostsFile=/dev/null" //Prevent storing as a known host
++ << "-o" << "HostKeyAlgorithms=+ssh-dss"; //https://bugs.kde.org/show_bug.cgi?id=351725
++
+ m_proc->setProgram(program, arguments);
+
+ //To debug
+--
+2.4.9
+
diff --git a/kde-misc/kdeconnect/kdeconnect-0.8-r1.ebuild b/kde-misc/kdeconnect/kdeconnect-0.8-r1.ebuild
new file mode 100644
index 0000000..de10795
--- /dev/null
+++ b/kde-misc/kdeconnect/kdeconnect-0.8-r1.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+MY_PN="${PN}-kde"
+DECLARATIVE_REQUIRED="always"
+KDE_LINGUAS="ar bg bs ca cs da de es fi fr gl hu it ja ko lt nl pl pt pt_BR ro ru sk sv tr uk"
+inherit kde4-base
+
+if [[ ${KDE_BUILD_TYPE} != live ]]; then
+ MY_P="${MY_PN}-${PV}"
+ SRC_URI="mirror://kde/unstable/${PN}/${PV}/src/${MY_P}.tar.xz"
+ KEYWORDS="~amd64 ~x86"
+else
+ EGIT_REPO_URI="git://anongit.kde.org/${MY_PN}"
+ KEYWORDS=""
+fi
+
+DESCRIPTION="Adds communication between KDE and your smartphone"
+HOMEPAGE="https://www.kde.org/"
+
+LICENSE="GPL-2+"
+SLOT="4"
+IUSE="debug"
+
+COMMON_DEPEND="
+ app-crypt/qca:2[qt4(+)]
+ dev-libs/qjson
+ x11-libs/libfakekey
+ x11-libs/libX11
+ x11-libs/libXtst
+"
+RDEPEND="${COMMON_DEPEND}
+ $(add_kdebase_dep plasma-workspace)
+ app-crypt/qca:2[ssl]
+"
+DEPEND="${COMMON_DEPEND}
+ sys-devel/gettext
+"
+
+[[ ${KDE_BUILD_TYPE} != live ]] && S=${WORKDIR}/${MY_P}
+
+PATCHES=(
+ "${FILESDIR}/${P}-ninja.patch"
+ "${FILESDIR}/${P}-openssh-7.0.patch"
+)
+
+pkg_postinst(){
+ elog
+ elog "Optional dependency:"
+ elog "net-fs/sshfs (for 'remote filesystem browser' plugin)"
+ elog
+ elog "The Android .apk file is available via"
+ elog "https://play.google.com/store/apps/details?id=org.kde.kdeconnect_tp"
+ elog
+}
diff --git a/kde-misc/kdeconnect/metadata.xml b/kde-misc/kdeconnect/metadata.xml
new file mode 100644
index 0000000..7a38bb9
--- /dev/null
+++ b/kde-misc/kdeconnect/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+</pkgmetadata>
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2016-11-19 17:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-19 17:24 [gentoo-commits] proj/kde-sunset:master commit in: kde-misc/kdeconnect/, kde-misc/kdeconnect/files/ Johannes Huber
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox