From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9FFD1138335 for ; Sun, 8 Jul 2018 19:23:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2788FE0909; Sun, 8 Jul 2018 19:23:57 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E4400E0909 for ; Sun, 8 Jul 2018 19:23:56 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4F3F6335C63 for ; Sun, 8 Jul 2018 19:23:54 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CAB0A364 for ; Sun, 8 Jul 2018 19:23:52 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1531077819.70e79d774f7d85965fe524fca58638850b56f7ec.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/cutter/, dev-util/cutter/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/cutter/Manifest dev-util/cutter/cutter-1.4.ebuild dev-util/cutter/files/cutter-1.4-python3-config.patch dev-util/cutter/metadata.xml X-VCS-Directories: dev-util/cutter/ dev-util/cutter/files/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 70e79d774f7d85965fe524fca58638850b56f7ec X-VCS-Branch: master Date: Sun, 8 Jul 2018 19:23:52 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 4d87849f-56dc-4cf1-b47b-c9e283c0f804 X-Archives-Hash: 1af66ec49d093292a8289f1d23aeceea commit: 70e79d774f7d85965fe524fca58638850b56f7ec Author: Tact Yoshida gmail com> AuthorDate: Sun Jul 8 12:48:12 2018 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Jul 8 19:23:39 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70e79d77 dev-util/cutter: bump to version 1.4 Package-Manager: Portage-2.3.40, Repoman-2.3.9 Closes: https://github.com/gentoo/gentoo/pull/9141 dev-util/cutter/Manifest | 1 + dev-util/cutter/cutter-1.4.ebuild | 46 ++++++++++++++++++++++ .../cutter/files/cutter-1.4-python3-config.patch | 20 ++++++++++ dev-util/cutter/metadata.xml | 4 ++ 4 files changed, 71 insertions(+) diff --git a/dev-util/cutter/Manifest b/dev-util/cutter/Manifest index 291d027da87..26f360c427e 100644 --- a/dev-util/cutter/Manifest +++ b/dev-util/cutter/Manifest @@ -1 +1,2 @@ DIST cutter-1.0.tar.gz 614826 BLAKE2B 8f75343e57bf986d80dde3dc3ceb59675d28854744d8cc5fac783514e9c200595990d4860ee45db6544537d4f367df5b62a034e298bf273e44302edfa1647c84 SHA512 af6be59be7871d21d4f665e8ecb7f8224d99ccf7d62793e989ccd780ee521641c6ec0d941b46bb82770f5d44e5c0ef2efc29f9be303385e8e757e62a54bf53b1 +DIST cutter-1.4.tar.gz 1067162 BLAKE2B 2f7eceffcfb3c542695e03ec72de1c99451f8278e91f50abc2e87542efbd2cc73d5a52b0e5303b9cea751edf91bc71b63295edd5b32d1b2b9ed3a1443cfc92e7 SHA512 54caec67e57f2ff3908942c1ebd1e909c65204c6f31d0ec95e31f46e03364f309898006b93555ba81287c0d74faf407272226e5ec65b3148ecde8feec11ca3be diff --git a/dev-util/cutter/cutter-1.4.ebuild b/dev-util/cutter/cutter-1.4.ebuild new file mode 100644 index 00000000000..829f75395bb --- /dev/null +++ b/dev-util/cutter/cutter-1.4.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit qmake-utils + +DESCRIPTION="A Qt and C++ GUI for radare2 reverse engineering framework" +HOMEPAGE="https://www.radare.org" +SRC_URI="https://github.com/radareorg/cutter/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="jupyter webengine" +REQUIRED_USE="webengine? ( jupyter )" + +DEPEND=" + >=dev-qt/qtcore-5.9.1:5 + >=dev-qt/qtgui-5.9.1:5 + >=dev-qt/qtsvg-5.9.1:5 + >=dev-qt/qtwidgets-5.9.1:5 + >=dev-util/radare2-2.6.0 + jupyter? ( dev-python/jupyter ) + webengine? ( >=dev-qt/qtwebengine-5.9.1:5[widgets] ) +" + +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}/${P}-python3-config.patch" +) + +src_configure() { + local myqmakeargs=( + CUTTER_ENABLE_JUPYTER=$(usex jupyter true false) + CUTTER_ENABLE_QTWEBENGINE=$(usex webengine true false) + PREFIX=\'${EPREFIX}/usr\' + ) + + eqmake5 "${myqmakeargs[@]}" src +} + +src_install() { + emake INSTALL_ROOT="${D}" install +} diff --git a/dev-util/cutter/files/cutter-1.4-python3-config.patch b/dev-util/cutter/files/cutter-1.4-python3-config.patch new file mode 100644 index 00000000000..51a811dbb33 --- /dev/null +++ b/dev-util/cutter/files/cutter-1.4-python3-config.patch @@ -0,0 +1,20 @@ +--- a/src/Cutter.pro 2018-04-24 17:43:11.000000000 +0900 ++++ b/src/Cutter.pro 2018-07-08 21:21:34.280748499 +0900 +@@ -74,11 +74,13 @@ + LIBS += -F$$PYTHON_FRAMEWORK_DIR -framework Python + DEFINES += MACOS_PYTHON_FRAMEWORK_BUNDLED + } else { +- CONFIG += link_pkgconfig +- !packagesExist(python3) { +- error("ERROR: Python 3 could not be found. Make sure it is available to pkg-config.") ++ system(type python3-config) { ++ LIBS += $$system(python3-config --libs) ++ TMP = $$system(python3-config --includes) ++ INCLUDEPATH += $$replace(TMP, "-I", "") ++ } else { ++ error("ERROR: Python 3 could not be found. Make sure it is available to python3-config.") + } +- PKGCONFIG += python3 + } + } + diff --git a/dev-util/cutter/metadata.xml b/dev-util/cutter/metadata.xml index 95eddc5b457..f2af393dbcf 100644 --- a/dev-util/cutter/metadata.xml +++ b/dev-util/cutter/metadata.xml @@ -12,4 +12,8 @@ radareorg/cutter + + Add support for jupyter notebook + Use dev-qt/qtwebengine for in-app jupyter browser +