Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] rizin: update to 0.7.2; cutter: update to 2.3.4
@ 2024-03-11  1:52 cinerea0
  2024-03-11 15:28 ` [PR PATCH] [Updated] " cinerea0
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: cinerea0 @ 2024-03-11  1:52 UTC (permalink / raw)
  To: ml

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

There is a new pull request by cinerea0 against master on the void-packages repository

https://github.com/cinerea0/void-packages rizin
https://github.com/void-linux/void-packages/pull/49233

rizin: update to 0.7.2; cutter: update to 2.3.4
#### Testing the changes
- I tested the changes in this PR: **briefly**



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

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

From 0988de3054d72e0cf5b9d9a70ad3f7832dc9449a Mon Sep 17 00:00:00 2001
From: cinerea0 <cinerea0@disroot.org>
Date: Tue, 5 Mar 2024 11:25:22 -0500
Subject: [PATCH 1/2] rizin: update to 0.7.2

---
 common/shlibs                              | 52 +++++++++++-----------
 srcpkgs/rizin/patches/fix-treesitter.patch | 34 --------------
 srcpkgs/rizin/template                     | 14 +++---
 3 files changed, 34 insertions(+), 66 deletions(-)
 delete mode 100644 srcpkgs/rizin/patches/fix-treesitter.patch

diff --git a/common/shlibs b/common/shlibs
index 131fbb19ebc2a7..eb07ef56cfa58e 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4076,32 +4076,32 @@ libreadosm.so.1 readosm-1.1.0a_1
 libSvtAv1Enc.so.1 libsvt-av1-1.3.0_1
 libSvtAv1Dec.so.0 libsvt-av1-0.9.0_1
 libyascreen.so.0 yascreen-1.96_1
-librz_analysis.so.0.6 rizin-0.6.0_1
-librz_asm.so.0.6 rizin-0.6.0_1
-librz_bin.so.0.6 rizin-0.6.0_1
-librz_bp.so.0.6 rizin-0.6.0_1
-librz_config.so.0.6 rizin-0.6.0_1
-librz_cons.so.0.6 rizin-0.6.0_1
-librz_core.so.0.6 rizin-0.6.0_1
-librz_crypto.so.0.6 rizin-0.6.0_1
-librz_debug.so.0.6 rizin-0.6.0_1
-librz_demangler.so.0.6 rizin-0.6.0_1
-librz_diff.so.0.6 rizin-0.6.0_1
-librz_egg.so.0.6 rizin-0.6.0_1
-librz_flag.so.0.6 rizin-0.6.0_1
-librz_hash.so.0.6 rizin-0.6.0_1
-librz_io.so.0.6 rizin-0.6.0_1
-librz_lang.so.0.6 rizin-0.6.0_1
-librz_magic.so.0.6 rizin-0.6.0_1
-librz_main.so.0.6 rizin-0.6.0_1
-librz_parse.so.0.6 rizin-0.6.0_1
-librz_reg.so.0.6 rizin-0.6.0_1
-librz_search.so.0.6 rizin-0.6.0_1
-librz_sign.so.0.6 rizin-0.6.0_1
-librz_socket.so.0.6 rizin-0.6.0_1
-librz_syscall.so.0.6 rizin-0.6.0_1
-librz_type.so.0.6 rizin-0.6.0_1
-librz_util.so.0.6 rizin-0.6.0_1
+librz_analysis.so.0.7 rizin-0.7.2_1
+librz_asm.so.0.7 rizin-0.7.2_1
+librz_bin.so.0.7 rizin-0.7.2_1
+librz_bp.so.0.7 rizin-0.7.2_1
+librz_config.so.0.7 rizin-0.7.2_1
+librz_cons.so.0.7 rizin-0.7.2_1
+librz_core.so.0.7 rizin-0.7.2_1
+librz_crypto.so.0.7 rizin-0.7.2_1
+librz_debug.so.0.7 rizin-0.7.2_1
+librz_demangler.so.0.7 rizin-0.7.2_1
+librz_diff.so.0.7 rizin-0.7.2_1
+librz_egg.so.0.7 rizin-0.7.2_1
+librz_flag.so.0.7 rizin-0.7.2_1
+librz_hash.so.0.7 rizin-0.7.2_1
+librz_io.so.0.7 rizin-0.7.2_1
+librz_lang.so.0.7 rizin-0.7.2_1
+librz_magic.so.0.7 rizin-0.7.2_1
+librz_main.so.0.7 rizin-0.7.2_1
+librz_parse.so.0.7 rizin-0.7.2_1
+librz_reg.so.0.7 rizin-0.7.2_1
+librz_search.so.0.7 rizin-0.7.2_1
+librz_sign.so.0.7 rizin-0.7.2_1
+librz_socket.so.0.7 rizin-0.7.2_1
+librz_syscall.so.0.7 rizin-0.7.2_1
+librz_type.so.0.7 rizin-0.7.2_1
+librz_util.so.0.7 rizin-0.7.2_1
 libaravis-0.8.so.0 libaravis-0.8.21_1
 libLimeSuite.so.23.11-1 LimeSuite-23.11.0_1
 libnvme.so.1 libnvme-1.0_1
diff --git a/srcpkgs/rizin/patches/fix-treesitter.patch b/srcpkgs/rizin/patches/fix-treesitter.patch
deleted file mode 100644
index e21de7477129f0..00000000000000
--- a/srcpkgs/rizin/patches/fix-treesitter.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-From 07f92a82df1ef6d4c73ca18ee116a4af4895f343 Mon Sep 17 00:00:00 2001
-From: Gleb Popov <6yearold@gmail.com>
-Date: Mon, 29 Jan 2024 16:14:40 +0300
-Subject: [PATCH] rizin-shell-parser: Fix build with newest tree-sitter (#4165)
-
----
- subprojects/rizin-shell-parser/src/parser.c  | 2 +-
- subprojects/rizin-shell-parser/src/scanner.c | 2 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/subprojects/rizin-shell-parser/src/parser.c b/subprojects/rizin-shell-parser/src/parser.c
-index 21e270b58fa..3f83e0bf0b8 100644
---- a/subprojects/rizin-shell-parser/src/parser.c
-+++ b/subprojects/rizin-shell-parser/src/parser.c
-@@ -1,4 +1,4 @@
--#include <tree_sitter/parser.h>
-+#include "tree_sitter/parser.h"
- 
- #if defined(__GNUC__) || defined(__clang__)
- #pragma GCC diagnostic push
-diff --git a/subprojects/rizin-shell-parser/src/scanner.c b/subprojects/rizin-shell-parser/src/scanner.c
-index 133c5850da9..9c17e4a0c13 100644
---- a/subprojects/rizin-shell-parser/src/scanner.c
-+++ b/subprojects/rizin-shell-parser/src/scanner.c
-@@ -1,7 +1,7 @@
- // SPDX-FileCopyrightText: 2020 ret2libc <sirmy15@gmail.com>
- // SPDX-License-Identifier: LGPL-3.0-only
- 
--#include <tree_sitter/parser.h>
-+#include "tree_sitter/parser.h"
- #include <ctype.h>
- #include <wctype.h>
- #include <stdio.h>
-
diff --git a/srcpkgs/rizin/template b/srcpkgs/rizin/template
index 8b19cabaee40c5..d14975e1d76392 100644
--- a/srcpkgs/rizin/template
+++ b/srcpkgs/rizin/template
@@ -1,23 +1,25 @@
 # Template file for 'rizin'
 pkgname=rizin
-version=0.6.3
+version=0.7.2
 revision=1
 build_style=meson
 configure_args="-D use_sys_capstone=enabled -D use_capstone_version=v5
  -D use_sys_magic=enabled -D use_sys_libzip=enabled -D use_sys_zlib=enabled
- -D use_sys_lz4=enabled -D use_sys_xxhash=enabled -D use_sys_openssl=enabled
- -D use_sys_tree_sitter=enabled -D use_sys_lzma=enabled -D use_sys_libmspack=enabled
- -D local=disabled -D packager=VoidLinux"
+ -D use_sys_lz4=enabled -D use_sys_libzstd=enabled -D use_sys_lzma=enabled
+ -D use_sys_xxhash=enabled -D use_sys_openssl=enabled
+ -D use_sys_libmspack=enabled -D use_sys_tree_sitter=enabled
+ -D use_sys_pcre2=enabled -D local=disabled -D packager=VoidLinux"
 hostmakedepends="pkg-config"
 makedepends="capstone-devel libzip-devel zlib-devel liblz4-devel xxHash-devel
- tree-sitter-devel file-devel openssl-devel liblzma-devel libmspack-devel"
+ tree-sitter-devel file-devel openssl-devel liblzma-devel libmspack-devel
+ libzstd-devel pcre2-devel"
 short_desc="UNIX-like reverse engineering framework and command-line toolset"
 maintainer="Urs Schulz <voidpkgs@ursschulz.de>"
 license="LGPL-3.0-only"
 homepage="https://rizin.re"
 changelog="https://github.com/rizinorg/rizin/releases"
 distfiles="https://github.com/rizinorg/rizin/releases/download/v${version}/rizin-src-v${version}.tar.xz"
-checksum=95f64c6ab9e6daa9e9fa5634398eb8f6cdb4ebf2e814da2e4cb969d31f4509c2
+checksum=fcff3fb45ae2b75e3f604bc7a08076e322e6e14def79098186378065ccb3582a
 # requires some external files, not clear where they come from
 make_check=no
 

From b409a9bbec00ab394d9985d01dee3f94528b96ae Mon Sep 17 00:00:00 2001
From: cinerea0 <cinerea0@disroot.org>
Date: Tue, 5 Mar 2024 11:25:49 -0500
Subject: [PATCH 2/2] cutter: update to 2.3.4

---
 srcpkgs/cutter/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/cutter/template b/srcpkgs/cutter/template
index 0f2d812190411b..e1d8d3373af087 100644
--- a/srcpkgs/cutter/template
+++ b/srcpkgs/cutter/template
@@ -1,7 +1,7 @@
 # Template file for 'cutter'
 pkgname=cutter
-version=2.3.2
-revision=2
+version=2.3.4
+revision=1
 build_style=cmake
 configure_args="-DCUTTER_EXTRA_PLUGIN_DIRS=/usr/lib/rizin/cutter/plugins
  -DCUTTER_ENABLE_PYTHON=ON -DCUTTER_ENABLE_PYTHON_BINDINGS=OFF
@@ -17,7 +17,7 @@ maintainer="Urs Schulz <voidpkgs@ursschulz.de>"
 license="GPL-3.0-only"
 homepage="https://cutter.re"
 distfiles="https://github.com/rizinorg/cutter/releases/download/v${version}/Cutter-v${version}-src.tar.gz"
-checksum=6c63652f6d959a44ce282f4abf7b86dfb86e60c9b0cf00dbd75278ab8cc64d5d
+checksum=edc266a5f7a1f1c7f71cf5c6c9727e05008b728eae3bb42beb7d0b24ce07c5c3
 
 cutter-devel_package() {
 	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PR PATCH] [Updated] rizin: update to 0.7.2; cutter: update to 2.3.4
  2024-03-11  1:52 [PR PATCH] rizin: update to 0.7.2; cutter: update to 2.3.4 cinerea0
@ 2024-03-11 15:28 ` cinerea0
  2024-03-12 16:35 ` cinerea0
  2024-03-12 18:00 ` [PR PATCH] [Merged]: " cinerea0
  2 siblings, 0 replies; 4+ messages in thread
From: cinerea0 @ 2024-03-11 15:28 UTC (permalink / raw)
  To: ml

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

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

https://github.com/cinerea0/void-packages rizin
https://github.com/void-linux/void-packages/pull/49233

rizin: update to 0.7.2; cutter: update to 2.3.4
#### Testing the changes
- I tested the changes in this PR: **briefly**



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

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

From 6b5b8387caceb875df29d5bc77ae98f732368ce2 Mon Sep 17 00:00:00 2001
From: cinerea0 <cinerea0@disroot.org>
Date: Mon, 11 Mar 2024 11:19:11 -0400
Subject: [PATCH 1/3] rizin: update to 0.7.2

---
 common/shlibs                              | 52 +++++++++++-----------
 srcpkgs/rizin/patches/fix-treesitter.patch | 34 --------------
 srcpkgs/rizin/template                     | 15 ++++---
 3 files changed, 35 insertions(+), 66 deletions(-)
 delete mode 100644 srcpkgs/rizin/patches/fix-treesitter.patch

diff --git a/common/shlibs b/common/shlibs
index 7ce38e9fa3bb15..1bce08c634ca61 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4076,32 +4076,32 @@ libreadosm.so.1 readosm-1.1.0a_1
 libSvtAv1Enc.so.1 libsvt-av1-1.3.0_1
 libSvtAv1Dec.so.0 libsvt-av1-0.9.0_1
 libyascreen.so.0 yascreen-1.96_1
-librz_analysis.so.0.6 rizin-0.6.0_1
-librz_asm.so.0.6 rizin-0.6.0_1
-librz_bin.so.0.6 rizin-0.6.0_1
-librz_bp.so.0.6 rizin-0.6.0_1
-librz_config.so.0.6 rizin-0.6.0_1
-librz_cons.so.0.6 rizin-0.6.0_1
-librz_core.so.0.6 rizin-0.6.0_1
-librz_crypto.so.0.6 rizin-0.6.0_1
-librz_debug.so.0.6 rizin-0.6.0_1
-librz_demangler.so.0.6 rizin-0.6.0_1
-librz_diff.so.0.6 rizin-0.6.0_1
-librz_egg.so.0.6 rizin-0.6.0_1
-librz_flag.so.0.6 rizin-0.6.0_1
-librz_hash.so.0.6 rizin-0.6.0_1
-librz_io.so.0.6 rizin-0.6.0_1
-librz_lang.so.0.6 rizin-0.6.0_1
-librz_magic.so.0.6 rizin-0.6.0_1
-librz_main.so.0.6 rizin-0.6.0_1
-librz_parse.so.0.6 rizin-0.6.0_1
-librz_reg.so.0.6 rizin-0.6.0_1
-librz_search.so.0.6 rizin-0.6.0_1
-librz_sign.so.0.6 rizin-0.6.0_1
-librz_socket.so.0.6 rizin-0.6.0_1
-librz_syscall.so.0.6 rizin-0.6.0_1
-librz_type.so.0.6 rizin-0.6.0_1
-librz_util.so.0.6 rizin-0.6.0_1
+librz_analysis.so.0.7 rizin-0.7.2_1
+librz_asm.so.0.7 rizin-0.7.2_1
+librz_bin.so.0.7 rizin-0.7.2_1
+librz_bp.so.0.7 rizin-0.7.2_1
+librz_config.so.0.7 rizin-0.7.2_1
+librz_cons.so.0.7 rizin-0.7.2_1
+librz_core.so.0.7 rizin-0.7.2_1
+librz_crypto.so.0.7 rizin-0.7.2_1
+librz_debug.so.0.7 rizin-0.7.2_1
+librz_demangler.so.0.7 rizin-0.7.2_1
+librz_diff.so.0.7 rizin-0.7.2_1
+librz_egg.so.0.7 rizin-0.7.2_1
+librz_flag.so.0.7 rizin-0.7.2_1
+librz_hash.so.0.7 rizin-0.7.2_1
+librz_io.so.0.7 rizin-0.7.2_1
+librz_lang.so.0.7 rizin-0.7.2_1
+librz_magic.so.0.7 rizin-0.7.2_1
+librz_main.so.0.7 rizin-0.7.2_1
+librz_parse.so.0.7 rizin-0.7.2_1
+librz_reg.so.0.7 rizin-0.7.2_1
+librz_search.so.0.7 rizin-0.7.2_1
+librz_sign.so.0.7 rizin-0.7.2_1
+librz_socket.so.0.7 rizin-0.7.2_1
+librz_syscall.so.0.7 rizin-0.7.2_1
+librz_type.so.0.7 rizin-0.7.2_1
+librz_util.so.0.7 rizin-0.7.2_1
 libaravis-0.8.so.0 libaravis-0.8.21_1
 libLimeSuite.so.23.11-1 LimeSuite-23.11.0_1
 libnvme.so.1 libnvme-1.0_1
diff --git a/srcpkgs/rizin/patches/fix-treesitter.patch b/srcpkgs/rizin/patches/fix-treesitter.patch
deleted file mode 100644
index e21de7477129f0..00000000000000
--- a/srcpkgs/rizin/patches/fix-treesitter.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-From 07f92a82df1ef6d4c73ca18ee116a4af4895f343 Mon Sep 17 00:00:00 2001
-From: Gleb Popov <6yearold@gmail.com>
-Date: Mon, 29 Jan 2024 16:14:40 +0300
-Subject: [PATCH] rizin-shell-parser: Fix build with newest tree-sitter (#4165)
-
----
- subprojects/rizin-shell-parser/src/parser.c  | 2 +-
- subprojects/rizin-shell-parser/src/scanner.c | 2 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/subprojects/rizin-shell-parser/src/parser.c b/subprojects/rizin-shell-parser/src/parser.c
-index 21e270b58fa..3f83e0bf0b8 100644
---- a/subprojects/rizin-shell-parser/src/parser.c
-+++ b/subprojects/rizin-shell-parser/src/parser.c
-@@ -1,4 +1,4 @@
--#include <tree_sitter/parser.h>
-+#include "tree_sitter/parser.h"
- 
- #if defined(__GNUC__) || defined(__clang__)
- #pragma GCC diagnostic push
-diff --git a/subprojects/rizin-shell-parser/src/scanner.c b/subprojects/rizin-shell-parser/src/scanner.c
-index 133c5850da9..9c17e4a0c13 100644
---- a/subprojects/rizin-shell-parser/src/scanner.c
-+++ b/subprojects/rizin-shell-parser/src/scanner.c
-@@ -1,7 +1,7 @@
- // SPDX-FileCopyrightText: 2020 ret2libc <sirmy15@gmail.com>
- // SPDX-License-Identifier: LGPL-3.0-only
- 
--#include <tree_sitter/parser.h>
-+#include "tree_sitter/parser.h"
- #include <ctype.h>
- #include <wctype.h>
- #include <stdio.h>
-
diff --git a/srcpkgs/rizin/template b/srcpkgs/rizin/template
index 8b19cabaee40c5..d908afe33af313 100644
--- a/srcpkgs/rizin/template
+++ b/srcpkgs/rizin/template
@@ -1,23 +1,26 @@
 # Template file for 'rizin'
 pkgname=rizin
-version=0.6.3
+version=0.7.2
 revision=1
 build_style=meson
 configure_args="-D use_sys_capstone=enabled -D use_capstone_version=v5
  -D use_sys_magic=enabled -D use_sys_libzip=enabled -D use_sys_zlib=enabled
- -D use_sys_lz4=enabled -D use_sys_xxhash=enabled -D use_sys_openssl=enabled
- -D use_sys_tree_sitter=enabled -D use_sys_lzma=enabled -D use_sys_libmspack=enabled
- -D local=disabled -D packager=VoidLinux"
+ -D use_sys_lz4=enabled -D use_sys_libzstd=enabled -D use_sys_lzma=enabled
+ -D use_sys_xxhash=enabled -D use_sys_openssl=enabled
+ -D use_sys_libmspack=enabled -D use_sys_tree_sitter=enabled
+ -D use_sys_pcre2=enabled -D local=disabled -D packager=VoidLinux
+ -D packager_version=${version}_${revision}"
 hostmakedepends="pkg-config"
 makedepends="capstone-devel libzip-devel zlib-devel liblz4-devel xxHash-devel
- tree-sitter-devel file-devel openssl-devel liblzma-devel libmspack-devel"
+ tree-sitter-devel file-devel openssl-devel liblzma-devel libmspack-devel
+ libzstd-devel pcre2-devel"
 short_desc="UNIX-like reverse engineering framework and command-line toolset"
 maintainer="Urs Schulz <voidpkgs@ursschulz.de>"
 license="LGPL-3.0-only"
 homepage="https://rizin.re"
 changelog="https://github.com/rizinorg/rizin/releases"
 distfiles="https://github.com/rizinorg/rizin/releases/download/v${version}/rizin-src-v${version}.tar.xz"
-checksum=95f64c6ab9e6daa9e9fa5634398eb8f6cdb4ebf2e814da2e4cb969d31f4509c2
+checksum=fcff3fb45ae2b75e3f604bc7a08076e322e6e14def79098186378065ccb3582a
 # requires some external files, not clear where they come from
 make_check=no
 

From 08e79a87f7a3ed7755791550093c6d0b4da6262d Mon Sep 17 00:00:00 2001
From: cinerea0 <cinerea0@disroot.org>
Date: Mon, 11 Mar 2024 11:21:13 -0400
Subject: [PATCH 2/3] cutter: update to 2.3.4

---
 srcpkgs/cutter/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/cutter/template b/srcpkgs/cutter/template
index 0f2d812190411b..e1d8d3373af087 100644
--- a/srcpkgs/cutter/template
+++ b/srcpkgs/cutter/template
@@ -1,7 +1,7 @@
 # Template file for 'cutter'
 pkgname=cutter
-version=2.3.2
-revision=2
+version=2.3.4
+revision=1
 build_style=cmake
 configure_args="-DCUTTER_EXTRA_PLUGIN_DIRS=/usr/lib/rizin/cutter/plugins
  -DCUTTER_ENABLE_PYTHON=ON -DCUTTER_ENABLE_PYTHON_BINDINGS=OFF
@@ -17,7 +17,7 @@ maintainer="Urs Schulz <voidpkgs@ursschulz.de>"
 license="GPL-3.0-only"
 homepage="https://cutter.re"
 distfiles="https://github.com/rizinorg/cutter/releases/download/v${version}/Cutter-v${version}-src.tar.gz"
-checksum=6c63652f6d959a44ce282f4abf7b86dfb86e60c9b0cf00dbd75278ab8cc64d5d
+checksum=edc266a5f7a1f1c7f71cf5c6c9727e05008b728eae3bb42beb7d0b24ce07c5c3
 
 cutter-devel_package() {
 	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"

From b499515528be8684cb6f2b13de6ea409365fdedd Mon Sep 17 00:00:00 2001
From: cinerea0 <cinerea0@disroot.org>
Date: Mon, 11 Mar 2024 11:28:27 -0400
Subject: [PATCH 3/3] rz-ghidra: update to 0.7.0

---
 srcpkgs/rz-ghidra/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/rz-ghidra/template b/srcpkgs/rz-ghidra/template
index 39f5f862242b17..68bf521c5cc413 100644
--- a/srcpkgs/rz-ghidra/template
+++ b/srcpkgs/rz-ghidra/template
@@ -1,7 +1,7 @@
 # Template file for 'rz-ghidra'
 pkgname=rz-ghidra
-version=0.6.0
-revision=2
+version=0.7.0
+revision=1
 build_style=cmake
 build_helper=qemu
 configure_args="-DCUTTER_INSTALL_PLUGDIR=/usr/lib/rizin/cutter/plugins/native
@@ -13,4 +13,4 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 license="LGPL-3.0-or-later"
 homepage="https://github.com/rizinorg/rz-ghidra"
 distfiles="https://github.com/rizinorg/rz-ghidra/releases/download/v${version}/rz-ghidra-src-v${version}.tar.gz"
-checksum=574eb52dda80c8ef1e24c166cfdc8a462ef01da7930556604d65d86c2a8051e4
+checksum=62b9bc3e8f92efd7aa08a5fec710a19ef976c07f1dae9ba8f76539cc8b6fff6f

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PR PATCH] [Updated] rizin: update to 0.7.2; cutter: update to 2.3.4
  2024-03-11  1:52 [PR PATCH] rizin: update to 0.7.2; cutter: update to 2.3.4 cinerea0
  2024-03-11 15:28 ` [PR PATCH] [Updated] " cinerea0
@ 2024-03-12 16:35 ` cinerea0
  2024-03-12 18:00 ` [PR PATCH] [Merged]: " cinerea0
  2 siblings, 0 replies; 4+ messages in thread
From: cinerea0 @ 2024-03-12 16:35 UTC (permalink / raw)
  To: ml

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

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

https://github.com/cinerea0/void-packages rizin
https://github.com/void-linux/void-packages/pull/49233

rizin: update to 0.7.2; cutter: update to 2.3.4
#### Testing the changes
- I tested the changes in this PR: **briefly**



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

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

From 94e94a79c6f0275db8f3171d2e628485ba64ef8f Mon Sep 17 00:00:00 2001
From: cinerea0 <cinerea0@disroot.org>
Date: Tue, 12 Mar 2024 12:34:53 -0400
Subject: [PATCH 1/3] rizin: update to 0.7.2

---
 common/shlibs                              | 52 +++++++++++-----------
 srcpkgs/rizin/patches/cross.patch          | 22 +++++++++
 srcpkgs/rizin/patches/fix-treesitter.patch | 34 --------------
 srcpkgs/rizin/template                     | 20 ++++++---
 4 files changed, 62 insertions(+), 66 deletions(-)
 create mode 100644 srcpkgs/rizin/patches/cross.patch
 delete mode 100644 srcpkgs/rizin/patches/fix-treesitter.patch

diff --git a/common/shlibs b/common/shlibs
index 4c9c98e1a3b7b8..d3298e21003df2 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4078,32 +4078,32 @@ libreadosm.so.1 readosm-1.1.0a_1
 libSvtAv1Enc.so.1 libsvt-av1-1.3.0_1
 libSvtAv1Dec.so.0 libsvt-av1-0.9.0_1
 libyascreen.so.0 yascreen-1.96_1
-librz_analysis.so.0.6 rizin-0.6.0_1
-librz_asm.so.0.6 rizin-0.6.0_1
-librz_bin.so.0.6 rizin-0.6.0_1
-librz_bp.so.0.6 rizin-0.6.0_1
-librz_config.so.0.6 rizin-0.6.0_1
-librz_cons.so.0.6 rizin-0.6.0_1
-librz_core.so.0.6 rizin-0.6.0_1
-librz_crypto.so.0.6 rizin-0.6.0_1
-librz_debug.so.0.6 rizin-0.6.0_1
-librz_demangler.so.0.6 rizin-0.6.0_1
-librz_diff.so.0.6 rizin-0.6.0_1
-librz_egg.so.0.6 rizin-0.6.0_1
-librz_flag.so.0.6 rizin-0.6.0_1
-librz_hash.so.0.6 rizin-0.6.0_1
-librz_io.so.0.6 rizin-0.6.0_1
-librz_lang.so.0.6 rizin-0.6.0_1
-librz_magic.so.0.6 rizin-0.6.0_1
-librz_main.so.0.6 rizin-0.6.0_1
-librz_parse.so.0.6 rizin-0.6.0_1
-librz_reg.so.0.6 rizin-0.6.0_1
-librz_search.so.0.6 rizin-0.6.0_1
-librz_sign.so.0.6 rizin-0.6.0_1
-librz_socket.so.0.6 rizin-0.6.0_1
-librz_syscall.so.0.6 rizin-0.6.0_1
-librz_type.so.0.6 rizin-0.6.0_1
-librz_util.so.0.6 rizin-0.6.0_1
+librz_analysis.so.0.7 rizin-0.7.2_1
+librz_asm.so.0.7 rizin-0.7.2_1
+librz_bin.so.0.7 rizin-0.7.2_1
+librz_bp.so.0.7 rizin-0.7.2_1
+librz_config.so.0.7 rizin-0.7.2_1
+librz_cons.so.0.7 rizin-0.7.2_1
+librz_core.so.0.7 rizin-0.7.2_1
+librz_crypto.so.0.7 rizin-0.7.2_1
+librz_debug.so.0.7 rizin-0.7.2_1
+librz_demangler.so.0.7 rizin-0.7.2_1
+librz_diff.so.0.7 rizin-0.7.2_1
+librz_egg.so.0.7 rizin-0.7.2_1
+librz_flag.so.0.7 rizin-0.7.2_1
+librz_hash.so.0.7 rizin-0.7.2_1
+librz_io.so.0.7 rizin-0.7.2_1
+librz_lang.so.0.7 rizin-0.7.2_1
+librz_magic.so.0.7 rizin-0.7.2_1
+librz_main.so.0.7 rizin-0.7.2_1
+librz_parse.so.0.7 rizin-0.7.2_1
+librz_reg.so.0.7 rizin-0.7.2_1
+librz_search.so.0.7 rizin-0.7.2_1
+librz_sign.so.0.7 rizin-0.7.2_1
+librz_socket.so.0.7 rizin-0.7.2_1
+librz_syscall.so.0.7 rizin-0.7.2_1
+librz_type.so.0.7 rizin-0.7.2_1
+librz_util.so.0.7 rizin-0.7.2_1
 libaravis-0.8.so.0 libaravis-0.8.21_1
 libLimeSuite.so.23.11-1 LimeSuite-23.11.0_1
 libnvme.so.1 libnvme-1.0_1
diff --git a/srcpkgs/rizin/patches/cross.patch b/srcpkgs/rizin/patches/cross.patch
new file mode 100644
index 00000000000000..fed15110e4d3e6
--- /dev/null
+++ b/srcpkgs/rizin/patches/cross.patch
@@ -0,0 +1,22 @@
+diff --git a/meson.build b/meson.build
+index 614563588b2..b7f0330dae3 100644
+--- a/meson.build
++++ b/meson.build
+@@ -204,7 +204,7 @@ endif
+ 
+ pcre2_dep_opt = get_option('use_sys_pcre2')
+ pcre2_dep = disabler()
+-if (pcre2_dep_opt.enabled() or pcre2_dep_opt.auto()) and not meson.is_cross_build()
++if (pcre2_dep_opt.enabled() or pcre2_dep_opt.auto())
+   pcre2_dep = dependency('libpcre2-8', required: false, static: false)
+   if not pcre2_dep.found()
+     pcre2_dep = cc.find_library('pcre2', required: true, static: true)
+@@ -214,7 +214,7 @@ else
+ endif
+ 
+ if meson.is_cross_build()
+-  pcre2_native_dep = dependency('pcre2_cross_native', required: true, static: true, native: true)
++  pcre2_native_dep = dependency('libpcre2-8', required: true, static: false, native: true)
+ endif
+ 
+ # handle magic library
diff --git a/srcpkgs/rizin/patches/fix-treesitter.patch b/srcpkgs/rizin/patches/fix-treesitter.patch
deleted file mode 100644
index e21de7477129f0..00000000000000
--- a/srcpkgs/rizin/patches/fix-treesitter.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-From 07f92a82df1ef6d4c73ca18ee116a4af4895f343 Mon Sep 17 00:00:00 2001
-From: Gleb Popov <6yearold@gmail.com>
-Date: Mon, 29 Jan 2024 16:14:40 +0300
-Subject: [PATCH] rizin-shell-parser: Fix build with newest tree-sitter (#4165)
-
----
- subprojects/rizin-shell-parser/src/parser.c  | 2 +-
- subprojects/rizin-shell-parser/src/scanner.c | 2 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/subprojects/rizin-shell-parser/src/parser.c b/subprojects/rizin-shell-parser/src/parser.c
-index 21e270b58fa..3f83e0bf0b8 100644
---- a/subprojects/rizin-shell-parser/src/parser.c
-+++ b/subprojects/rizin-shell-parser/src/parser.c
-@@ -1,4 +1,4 @@
--#include <tree_sitter/parser.h>
-+#include "tree_sitter/parser.h"
- 
- #if defined(__GNUC__) || defined(__clang__)
- #pragma GCC diagnostic push
-diff --git a/subprojects/rizin-shell-parser/src/scanner.c b/subprojects/rizin-shell-parser/src/scanner.c
-index 133c5850da9..9c17e4a0c13 100644
---- a/subprojects/rizin-shell-parser/src/scanner.c
-+++ b/subprojects/rizin-shell-parser/src/scanner.c
-@@ -1,7 +1,7 @@
- // SPDX-FileCopyrightText: 2020 ret2libc <sirmy15@gmail.com>
- // SPDX-License-Identifier: LGPL-3.0-only
- 
--#include <tree_sitter/parser.h>
-+#include "tree_sitter/parser.h"
- #include <ctype.h>
- #include <wctype.h>
- #include <stdio.h>
-
diff --git a/srcpkgs/rizin/template b/srcpkgs/rizin/template
index 8b19cabaee40c5..a21081540a2811 100644
--- a/srcpkgs/rizin/template
+++ b/srcpkgs/rizin/template
@@ -1,26 +1,34 @@
 # Template file for 'rizin'
 pkgname=rizin
-version=0.6.3
+version=0.7.2
 revision=1
 build_style=meson
 configure_args="-D use_sys_capstone=enabled -D use_capstone_version=v5
  -D use_sys_magic=enabled -D use_sys_libzip=enabled -D use_sys_zlib=enabled
- -D use_sys_lz4=enabled -D use_sys_xxhash=enabled -D use_sys_openssl=enabled
- -D use_sys_tree_sitter=enabled -D use_sys_lzma=enabled -D use_sys_libmspack=enabled
- -D local=disabled -D packager=VoidLinux"
+ -D use_sys_lz4=enabled -D use_sys_libzstd=enabled -D use_sys_lzma=enabled
+ -D use_sys_xxhash=enabled -D use_sys_openssl=enabled
+ -D use_sys_libmspack=enabled -D use_sys_tree_sitter=enabled
+ -D use_sys_pcre2=enabled -D local=disabled -D packager=VoidLinux
+ -D packager_version=${version}_${revision}"
 hostmakedepends="pkg-config"
 makedepends="capstone-devel libzip-devel zlib-devel liblz4-devel xxHash-devel
- tree-sitter-devel file-devel openssl-devel liblzma-devel libmspack-devel"
+ tree-sitter-devel file-devel openssl-devel liblzma-devel libmspack-devel
+ libzstd-devel pcre2-devel"
 short_desc="UNIX-like reverse engineering framework and command-line toolset"
 maintainer="Urs Schulz <voidpkgs@ursschulz.de>"
 license="LGPL-3.0-only"
 homepage="https://rizin.re"
 changelog="https://github.com/rizinorg/rizin/releases"
 distfiles="https://github.com/rizinorg/rizin/releases/download/v${version}/rizin-src-v${version}.tar.xz"
-checksum=95f64c6ab9e6daa9e9fa5634398eb8f6cdb4ebf2e814da2e4cb969d31f4509c2
+checksum=fcff3fb45ae2b75e3f604bc7a08076e322e6e14def79098186378065ccb3582a
 # requires some external files, not clear where they come from
 make_check=no
 
+if [ "${CROSS_BUILD}" ]; then
+	# Requires a native version of pcre2 to compile
+	hostmakedepends+=" pcre2-devel"
+fi
+
 rizin-devel_package() {
 	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
 	short_desc="${short_desc} - development files"

From 7b1e78b0491a9b8e3f3c853be04aff919c6f1a85 Mon Sep 17 00:00:00 2001
From: cinerea0 <cinerea0@disroot.org>
Date: Tue, 12 Mar 2024 12:35:07 -0400
Subject: [PATCH 2/3] cutter: update to 2.3.4

---
 srcpkgs/cutter/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/cutter/template b/srcpkgs/cutter/template
index 0f2d812190411b..e1d8d3373af087 100644
--- a/srcpkgs/cutter/template
+++ b/srcpkgs/cutter/template
@@ -1,7 +1,7 @@
 # Template file for 'cutter'
 pkgname=cutter
-version=2.3.2
-revision=2
+version=2.3.4
+revision=1
 build_style=cmake
 configure_args="-DCUTTER_EXTRA_PLUGIN_DIRS=/usr/lib/rizin/cutter/plugins
  -DCUTTER_ENABLE_PYTHON=ON -DCUTTER_ENABLE_PYTHON_BINDINGS=OFF
@@ -17,7 +17,7 @@ maintainer="Urs Schulz <voidpkgs@ursschulz.de>"
 license="GPL-3.0-only"
 homepage="https://cutter.re"
 distfiles="https://github.com/rizinorg/cutter/releases/download/v${version}/Cutter-v${version}-src.tar.gz"
-checksum=6c63652f6d959a44ce282f4abf7b86dfb86e60c9b0cf00dbd75278ab8cc64d5d
+checksum=edc266a5f7a1f1c7f71cf5c6c9727e05008b728eae3bb42beb7d0b24ce07c5c3
 
 cutter-devel_package() {
 	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"

From 9a7a42f0dc405e1417bce879615bf0a542c0af18 Mon Sep 17 00:00:00 2001
From: cinerea0 <cinerea0@disroot.org>
Date: Tue, 12 Mar 2024 12:35:27 -0400
Subject: [PATCH 3/3] rz-ghidra: update to 0.7.0

---
 srcpkgs/rz-ghidra/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/rz-ghidra/template b/srcpkgs/rz-ghidra/template
index 39f5f862242b17..68bf521c5cc413 100644
--- a/srcpkgs/rz-ghidra/template
+++ b/srcpkgs/rz-ghidra/template
@@ -1,7 +1,7 @@
 # Template file for 'rz-ghidra'
 pkgname=rz-ghidra
-version=0.6.0
-revision=2
+version=0.7.0
+revision=1
 build_style=cmake
 build_helper=qemu
 configure_args="-DCUTTER_INSTALL_PLUGDIR=/usr/lib/rizin/cutter/plugins/native
@@ -13,4 +13,4 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 license="LGPL-3.0-or-later"
 homepage="https://github.com/rizinorg/rz-ghidra"
 distfiles="https://github.com/rizinorg/rz-ghidra/releases/download/v${version}/rz-ghidra-src-v${version}.tar.gz"
-checksum=574eb52dda80c8ef1e24c166cfdc8a462ef01da7930556604d65d86c2a8051e4
+checksum=62b9bc3e8f92efd7aa08a5fec710a19ef976c07f1dae9ba8f76539cc8b6fff6f

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PR PATCH] [Merged]: rizin: update to 0.7.2; cutter: update to 2.3.4
  2024-03-11  1:52 [PR PATCH] rizin: update to 0.7.2; cutter: update to 2.3.4 cinerea0
  2024-03-11 15:28 ` [PR PATCH] [Updated] " cinerea0
  2024-03-12 16:35 ` cinerea0
@ 2024-03-12 18:00 ` cinerea0
  2 siblings, 0 replies; 4+ messages in thread
From: cinerea0 @ 2024-03-12 18:00 UTC (permalink / raw)
  To: ml

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

There's a merged pull request on the void-packages repository

rizin: update to 0.7.2; cutter: update to 2.3.4
https://github.com/void-linux/void-packages/pull/49233

Description:
#### Testing the changes
- I tested the changes in this PR: **briefly**



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-03-12 18:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-11  1:52 [PR PATCH] rizin: update to 0.7.2; cutter: update to 2.3.4 cinerea0
2024-03-11 15:28 ` [PR PATCH] [Updated] " cinerea0
2024-03-12 16:35 ` cinerea0
2024-03-12 18:00 ` [PR PATCH] [Merged]: " cinerea0

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).