Github messages for voidlinux
 help / color / mirror / Atom feed
From: heittpr <heittpr@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] radare2: update to 5.4.2, new package: iaito
Date: Wed, 20 Oct 2021 13:00:31 +0200	[thread overview]
Message-ID: <20211020110031.J_rn7aJFocgWLR4FprJH3MPc1UlgJk6DC7alE2Cinj0@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-33608@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 1152 bytes --]

There is an updated pull request by heittpr against master on the void-packages repository

https://github.com/heittpr/void-packages radare2
https://github.com/void-linux/void-packages/pull/33608

radare2: update to 5.4.2, new package: iaito
#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

Radare2 was recently forked as [rizin](https://rizin.re/), which cutter (the old radare2 GUI) now uses as a backend, making radare2 and cutter incompatible. Cutter was also forked as [r2cutter](https://github.com/radareorg/iaito) (now rebranded as iaito), to keep compatibility with radare2.

I packaged iaito and made cutter into a subpackage for now, until we decide to package rizin.

A patch file from https://github.com/void-linux/void-packages/pull/33608.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-radare2-33608.patch --]
[-- Type: text/x-diff, Size: 5995 bytes --]

From 75a7fbd08f52c89b6f3961b585826c0ce197fe06 Mon Sep 17 00:00:00 2001
From: heitor <heitorleite.dev@gmail.com>
Date: Sun, 17 Oct 2021 16:09:51 -0300
Subject: [PATCH 1/2] radare2: update to 5.4.2.

---
 common/shlibs            | 45 ++++++++++++++++++++--------------------
 srcpkgs/radare2/template |  6 +++---
 2 files changed, 26 insertions(+), 25 deletions(-)

diff --git a/common/shlibs b/common/shlibs
index 6b97d658c44a..006e3b912374 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3162,28 +3162,29 @@ libkdeconnectinterfaces.so.21 kdeconnect-21.03.80_1
 libkdeconnectcore.so.21 kdeconnect-21.03.80_1
 libkpmcore.so.11 kpmcore-21.03.80_1
 libpkcs11-helper.so.1 pkcs11-helper-1.25.1_6
-libr_core.so.5.0.0 radare2-5.0.0_1
-libr_config.so.5.0.0 radare2-5.0.0_1
-libr_cons.so.5.0.0 radare2-5.0.0_1
-libr_util.so.5.0.0 radare2-5.0.0_1
-libr_flag.so.5.0.0 radare2-5.0.0_1
-libr_asm.so.5.0.0 radare2-5.0.0_1
-libr_bin.so.5.0.0 radare2-5.0.0_1
-libr_anal.so.5.0.0 radare2-5.0.0_1
-libr_lang.so.5.0.0 radare2-5.0.0_1
-libr_debug.so.5.0.0 radare2-5.0.0_1
-libr_egg.so.5.0.0 radare2-5.0.0_1
-libr_bp.so.5.0.0 radare2-5.0.0_1
-libr_search.so.5.0.0 radare2-5.0.0_1
-libr_io.so.5.0.0 radare2-5.0.0_1
-libr_hash.so.5.0.0 radare2-5.0.0_1
-libr_socket.so.5.0.0 radare2-5.0.0_1
-libr_parse.so.5.0.0 radare2-5.0.0_1
-libr_syscall.so.5.0.0 radare2-5.0.0_1
-libr_crypto.so.5.0.0 radare2-5.0.0_1
-libr_fs.so.5.0.0 radare2-5.0.0_1
-libr_magic.so.5.0.0 radare2-5.0.0_1
-libr_reg.so.5.0.0 radare2-5.0.0_1
+libr_core.so.5.4.2 radare2-5.4.2_1 ignore
+libr_config.so.5.4.2 radare2-5.4.2_1 ignore
+libr_cons.so.5.4.2 radare2-5.4.2_1 ignore
+libr_util.so.5.4.2 radare2-5.4.2_1 ignore
+libr_flag.so.5.4.2 radare2-5.4.2_1 ignore
+libr_asm.so.5.4.2 radare2-5.4.2_1 ignore
+libr_bin.so.5.4.2 radare2-5.4.2_1 ignore
+libr_anal.so.5.4.2 radare2-5.4.2_1 ignore
+libr_lang.so.5.4.2 radare2-5.4.2_1 ignore
+libr_debug.so.5.4.2 radare2-5.4.2_1 ignore
+libr_egg.so.5.4.2 radare2-5.4.2_1 ignore
+libr_bp.so.5.4.2 radare2-5.4.2_1 ignore
+libr_search.so.5.4.2 radare2-5.4.2_1 ignore
+libr_io.so.5.4.2 radare2-5.4.2_1 ignore
+libr_hash.so.5.4.2 radare2-5.4.2_1 ignore
+libr_socket.so.5.4.2 radare2-5.4.2_1 ignore
+libr_parse.so.5.4.2 radare2-5.4.2_1 ignore
+libr_syscall.so.5.4.2 radare2-5.4.2_1 ignore
+libr_crypto.so.5.4.2 radare2-5.4.2_1 ignore
+libr_fs.so.5.4.2 radare2-5.4.2_1 ignore
+libr_magic.so.5.4.2 radare2-5.4.2_1 ignore
+libr_reg.so.5.4.2 radare2-5.4.2_1 ignore
+libr_main.so.5.4.2 radare2-5.4.2_1 ignore
 libykpiv.so.1 libykpiv-2.1.1_2
 libykcs11.so.1 libykcs11-2.1.1_2
 libKF5KExiv2.so.15.0.0 libkexiv25-17.04.3_1
diff --git a/srcpkgs/radare2/template b/srcpkgs/radare2/template
index 39818e99e7f2..8b0cb200470e 100644
--- a/srcpkgs/radare2/template
+++ b/srcpkgs/radare2/template
@@ -1,7 +1,7 @@
 # Template file for 'radare2'
-# cutter needs to be bumped when radare2 is updated
+# iaito needs to be bumped when radare2 is updated
 pkgname=radare2
-version=5.0.0
+version=5.4.2
 revision=1
 build_style=meson
 configure_args="-Duse_sys_capstone=true -Denable_tests=false"
@@ -12,7 +12,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 license="LGPL-3.0-only"
 homepage="http://www.radare.org"
 distfiles="https://github.com/radareorg/radare2/archive/${version}.tar.gz"
-checksum=517dd80ebd0569f31498887338eacb92e8cf054bc4625eef8ffe9ea174c1adae
+checksum=d3c337e893d7d1e7d5af8b527af3d4469c92898f0249f1b6263ea3325c9455b9
 
 case "$XBPS_TARGET_MACHINE" in
 	mips*) CFLAGS="-Os";;

From 375c8d6bd49d95f2c14c983e1ed740d7ec9be084 Mon Sep 17 00:00:00 2001
From: heitor <heitorleite.dev@gmail.com>
Date: Sun, 17 Oct 2021 16:28:35 -0300
Subject: [PATCH 2/2] cutter: switch to the r2 fork

---
 srcpkgs/cutter          |  1 +
 srcpkgs/cutter/template | 16 ----------------
 srcpkgs/iaito/template  | 22 ++++++++++++++++++++++
 3 files changed, 23 insertions(+), 16 deletions(-)
 create mode 120000 srcpkgs/cutter
 delete mode 100644 srcpkgs/cutter/template
 create mode 100644 srcpkgs/iaito/template

diff --git a/srcpkgs/cutter b/srcpkgs/cutter
new file mode 120000
index 000000000000..b6645b039130
--- /dev/null
+++ b/srcpkgs/cutter
@@ -0,0 +1 @@
+iaito
\ No newline at end of file
diff --git a/srcpkgs/cutter/template b/srcpkgs/cutter/template
deleted file mode 100644
index 7142c048f53c..000000000000
--- a/srcpkgs/cutter/template
+++ /dev/null
@@ -1,16 +0,0 @@
-# Template file for 'cutter'
-pkgname=cutter
-version=1.12.0
-revision=2
-build_wrksrc=src
-build_style=qmake
-configure_args="CUTTER_EXTRA_PLUGIN_DIRS=/usr/lib/RadareOrg/Cutter/plugins"
-hostmakedepends="pkg-config qt5-qmake qt5-host-tools radare2"
-makedepends="capstone-devel python3-devel qt5-declarative-devel
- qt5-location-devel qt5-svg-devel radare2"
-short_desc="GUI for radare2 written in C++ and QT"
-maintainer="Orphaned <orphan@voidlinux.org>"
-license="GPL-3.0-only"
-homepage="https://github.com/radareorg/cutter"
-distfiles="https://github.com/radareorg/${pkgname}/archive/v${version}.tar.gz"
-checksum=868213d2ea0b4a29b9b03c9b605c2b2155c4c03b62735a9bd376a0dadcb4fe1b
diff --git a/srcpkgs/iaito/template b/srcpkgs/iaito/template
new file mode 100644
index 000000000000..ae138ca580d6
--- /dev/null
+++ b/srcpkgs/iaito/template
@@ -0,0 +1,22 @@
+# Template file for 'iaito'
+pkgname=iaito
+version=5.3.1
+revision=1
+build_wrksrc=src
+build_style=qmake
+configure_args="IAITO_EXTRA_PLUGIN_DIRS=/usr/lib/RadareOrg/Iaito/plugins"
+hostmakedepends="pkg-config qt5-qmake qt5-host-tools radare2"
+makedepends="capstone-devel python3-devel qt5-declarative-devel
+ qt5-location-devel qt5-svg-devel radare2"
+short_desc="Official graphical interface for radare2"
+maintainer="Orphaned <orphan@voidlinux.org>"
+license="GPL-3.0-only"
+homepage="https://github.com/radareorg/iaito"
+distfiles="https://github.com/radareorg/${pkgname}/archive/${version}.tar.gz"
+checksum=38dfe1f5f1b5aaf49782715282540ea7a2629ef9e4c2d4ec639a46efff0d5e86
+
+cutter_package() {
+	build_style=meta
+	depends="iaito"
+	short_desc="Cutter - (transitional dummy package)"
+}

  parent reply	other threads:[~2021-10-20 11:00 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-17 19:32 [PR PATCH] " heittpr
2021-10-17 19:36 ` [PR PATCH] [Updated] " heittpr
2021-10-20  7:21 ` ericonr
2021-10-20 11:00 ` heittpr [this message]
2021-10-21 17:45 ` heittpr
2021-10-21 18:59 ` ericonr
2021-10-21 19:09 ` ericonr
2021-10-21 19:17 ` heittpr
2021-10-22 17:28 ` heittpr
2021-11-23 22:13 ` Johnnynator
2022-05-13 16:54 ` ericonr
2022-05-13 17:20 ` ypsvlq
2022-05-14  0:42 ` ericonr
2022-05-14  7:51 ` ypsvlq
2022-05-14  7:52 ` ypsvlq
2022-08-13  2:11 ` github-actions
2022-08-27  2:15 ` [PR PATCH] [Closed]: " github-actions

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=20211020110031.J_rn7aJFocgWLR4FprJH3MPc1UlgJk6DC7alE2Cinj0@z \
    --to=heittpr@users.noreply.github.com \
    --cc=ml@inbox.vuxu.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;
as well as URLs for NNTP newsgroup(s).