From: "Joonas Niilola" <juippis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/cutter/, dev-util/cutter/files/
Date: Mon, 9 Mar 2020 05:55:35 +0000 (UTC) [thread overview]
Message-ID: <1583733310.a9a4d352bbd8035cc510b68bdfe321c274aea037.juippis@gentoo> (raw)
commit: a9a4d352bbd8035cc510b68bdfe321c274aea037
Author: Gergely Nagy <ngg <AT> ngg <DOT> hu>
AuthorDate: Sat Feb 15 10:48:43 2020 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Mon Mar 9 05:55:10 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9a4d352
dev-util/cutter: Bump to 1.10.1
Closes: https://bugs.gentoo.org/708886
Signed-off-by: Gergely Nagy <ngg <AT> ngg.hu>
Closes: https://github.com/gentoo/gentoo/pull/14667
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
dev-util/cutter/Manifest | 1 +
dev-util/cutter/cutter-1.10.1.ebuild | 56 ++++++++++++++++++++++
.../cutter/files/cutter-1.10.1-radare2-4.3.0.patch | 12 +++++
3 files changed, 69 insertions(+)
diff --git a/dev-util/cutter/Manifest b/dev-util/cutter/Manifest
index 6772b6cd4d6..6f18fe7ba4c 100644
--- a/dev-util/cutter/Manifest
+++ b/dev-util/cutter/Manifest
@@ -1,4 +1,5 @@
DIST cutter-1.0.tar.gz 614826 BLAKE2B 8f75343e57bf986d80dde3dc3ceb59675d28854744d8cc5fac783514e9c200595990d4860ee45db6544537d4f367df5b62a034e298bf273e44302edfa1647c84 SHA512 af6be59be7871d21d4f665e8ecb7f8224d99ccf7d62793e989ccd780ee521641c6ec0d941b46bb82770f5d44e5c0ef2efc29f9be303385e8e757e62a54bf53b1
+DIST cutter-1.10.1.tar.gz 1839344 BLAKE2B 883d0fa3d224d190b2dbec66e0bad1f2a542357bec9ce168706d60fa23794be23841157815323c989c1ddab9e1e428446e50ca0d71a91f7dbc8f01fe796caee2 SHA512 66f530687810a0bea3e4fcdf9962427964454a4a26e8d626d970bca358aab16b7939857fdbe22f0a611cdbdfbf67b5ab5f12959d8f04549c4cf8177cae49a54b
DIST cutter-1.4.tar.gz 1067162 BLAKE2B 2f7eceffcfb3c542695e03ec72de1c99451f8278e91f50abc2e87542efbd2cc73d5a52b0e5303b9cea751edf91bc71b63295edd5b32d1b2b9ed3a1443cfc92e7 SHA512 54caec67e57f2ff3908942c1ebd1e909c65204c6f31d0ec95e31f46e03364f309898006b93555ba81287c0d74faf407272226e5ec65b3148ecde8feec11ca3be
DIST cutter-1.6.tar.gz 1083427 BLAKE2B d51b88f2b9dd2655ef58d7075086959ec3ed59ed4b21db81a792ee165deda523a4e59378c954d0f2aa5b0af25d67329ed2119c004edc402c9b593a3b230a6fd9 SHA512 83aaadfbaccdaa514606408868c050e22d0a80a749b98a9f6df929467a16e69b0d454b25ce1cf53e35ebbfb74e9b39e2bd390057488c9bb3992a442ca306c2f1
DIST cutter-1.7.4.tar.gz 1182307 BLAKE2B 7b80c99654c430c7d694b658c5757a0f75463f02867ca33baa12bbd84a16782421350b5db63c90dd999a17b89865ecc5a87783f2a5e6df2a7395f957076c3e28 SHA512 d5750e756b51a0a140f53946b7cd7ed6f12b81c798335873781d5ecb906012fe0e257ff27e5c75e0ece6000f65a8b602530d80e6f9da22abbb8beac6573db6ac
diff --git a/dev-util/cutter/cutter-1.10.1.ebuild b/dev-util/cutter/cutter-1.10.1.ebuild
new file mode 100644
index 00000000000..5e855969acf
--- /dev/null
+++ b/dev-util/cutter/cutter-1.10.1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7} )
+
+inherit qmake-utils xdg-utils python-single-r1
+
+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=""
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="
+ ${PYTHON_DEPS}
+ >=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-qt/qtnetwork:5
+ >=dev-util/radare2-4.3.0
+"
+
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-1.8.0-python3-config.patch"
+ "${FILESDIR}/${PN}-1.10.1-radare2-4.3.0.patch"
+)
+
+src_configure() {
+ local myqmakeargs=(
+ CUTTER_ENABLE_PYTHON=true
+ PREFIX=\'${EPREFIX}/usr\'
+ )
+
+ eqmake5 "${myqmakeargs[@]}" src
+}
+
+src_install() {
+ emake INSTALL_ROOT="${D}" install
+}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
diff --git a/dev-util/cutter/files/cutter-1.10.1-radare2-4.3.0.patch b/dev-util/cutter/files/cutter-1.10.1-radare2-4.3.0.patch
new file mode 100644
index 00000000000..590a07063c5
--- /dev/null
+++ b/dev-util/cutter/files/cutter-1.10.1-radare2-4.3.0.patch
@@ -0,0 +1,12 @@
+diff -Naur cutter-1.10.1-orig/src/core/Cutter.cpp cutter-1.10.1/src/core/Cutter.cpp
+--- cutter-1.10.1-orig/src/core/Cutter.cpp 2020-02-01 16:54:36.000000000 +0100
++++ cutter-1.10.1/src/core/Cutter.cpp 2020-03-08 16:05:36.332364202 +0100
+@@ -535,7 +535,7 @@
+ }
+
+ ut64 hashLimit = getConfigut64("cfg.hashlimit");
+- r_bin_file_hash(core->bin, hashLimit, path.toUtf8().constData(), NULL);
++ r_bin_file_compute_hashes(core->bin, hashLimit);
+
+ fflush(stdout);
+ return true;
next reply other threads:[~2020-03-09 5:55 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-09 5:55 Joonas Niilola [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-07-25 5:30 [gentoo-commits] repo/gentoo:master commit in: dev-util/cutter/, dev-util/cutter/files/ Joonas Niilola
2020-07-20 9:01 Joonas Niilola
2019-10-10 14:01 Joonas Niilola
2018-08-19 22:52 Patrice Clement
2018-07-17 16:06 Tony Vroon
2018-07-08 19:23 Andreas Sturmlechner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1583733310.a9a4d352bbd8035cc510b68bdfe321c274aea037.juippis@gentoo \
--to=juippis@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox