Github messages for voidlinux
 help / color / mirror / Atom feed
From: ypsvlq <ypsvlq@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: iaito-5.7.0
Date: Sun, 10 Jul 2022 21:31:39 +0200	[thread overview]
Message-ID: <20220710193139.JkN5NQFuoSA1PIAGbMd_Yo6h6H20I5-149Ia-J8nXiY@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-37983@inbox.vuxu.org>

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

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

https://github.com/ypsvlq/void-packages iaito
https://github.com/void-linux/void-packages/pull/37983

New package: iaito-5.7.0
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**

(replacement for cutter which no longer uses r2 as a backend)

Should be merged after #37974 ideally.

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

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

From 4db4e85b156e93ab2628b851a7ca0fdfadf4bdeb Mon Sep 17 00:00:00 2001
From: Elaine Gibson <ypsvlq@gmail.com>
Date: Sun, 10 Jul 2022 19:01:30 +0100
Subject: [PATCH] New package: iaito-5.7.0

---
 srcpkgs/iaito/patches/pkgconfig.patch | 35 +++++++++++++++++++++++++++
 srcpkgs/iaito/template                | 14 +++++++++++
 2 files changed, 49 insertions(+)
 create mode 100644 srcpkgs/iaito/patches/pkgconfig.patch
 create mode 100644 srcpkgs/iaito/template

diff --git a/srcpkgs/iaito/patches/pkgconfig.patch b/srcpkgs/iaito/patches/pkgconfig.patch
new file mode 100644
index 000000000000..e361d106d3f8
--- /dev/null
+++ b/srcpkgs/iaito/patches/pkgconfig.patch
@@ -0,0 +1,35 @@
+From 6ec988371e5ad998a502efe64c09dce251080a6d Mon Sep 17 00:00:00 2001
+From: jjdredd <the.guard@mail.ru>
+Date: Wed, 15 Jun 2022 16:26:35 -0600
+Subject: [PATCH] improve build for custom radare2 install prefix
+
+---
+ src/lib_radare2.pri | 6 +++++-
+ 1 file changed, 5 insertions(+), 1 deletion(-)
+
+diff --git a/src/lib_radare2.pri b/src/lib_radare2.pri
+index 14e76bed..6e349a36 100644
+--- a/src/lib_radare2.pri
++++ b/src/lib_radare2.pri
+@@ -38,9 +38,12 @@ win32 {
+         USE_PKGCONFIG = 0
+     }
+     R2_USER_PKGCONFIG = $$(HOME)/bin/prefix/radare2/lib/pkgconfig
+-    exists($$R2_USER_PKGCONFIG) {
++    system("pkg-config --exists r_core") : {
++        USE_PKGCONFIG=1
++    } else : exists($$R2_USER_PKGCONFIG) {
+         # caution: may not work for cross compilations
+         PKG_CONFIG_PATH=$$PKG_CONFIG_PATH:$$R2_USER_PKGCONFIG
++        USE_PKGCONFIG=1
+     } else {
+         unix {
+             exists($$R2PREFIX/lib/pkgconfig/r_core.pc) {
+@@ -76,6 +79,7 @@ win32 {
+        # PKGCONFIG += r_core
+         R2_INCLUDEPATH = "$$system("bash -c 'pkg-config --variable=includedir r_core'")/libr"
+         R2_INCLUDEPATH += "$$system("bash -c 'pkg-config --variable=includedir r_core'")/libr/sdb"
++        INCLUDEPATH += $$R2_INCLUDEPATH
+         LIBS += $$system("pkg-config --libs r_core")
+     } else {
+         LIBS += -L$$R2PREFIX/lib
diff --git a/srcpkgs/iaito/template b/srcpkgs/iaito/template
new file mode 100644
index 000000000000..0c57a039e648
--- /dev/null
+++ b/srcpkgs/iaito/template
@@ -0,0 +1,14 @@
+# Template file for 'iaito'
+pkgname=iaito
+version=5.7.0
+revision=1
+build_wrksrc=src
+build_style=qmake
+hostmakedepends="pkgconf qt5-qmake qt5-host-tools zip"
+makedepends="radare2-devel qt5-svg-devel"
+short_desc="Official GUI for radare2"
+maintainer="Orphaned <orphan@voidlinux.org>"
+license="GPL-3.0-only"
+homepage="https://radare.org/n/iaito.html"
+distfiles=https://github.com/radareorg/iaito/archive/$version.tar.gz
+checksum=6348b5c96f43d308c134170e16d637124da9e2cb2aaae8bd334e2de8054c8478

  parent reply	other threads:[~2022-07-10 19:31 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-10 18:03 [PR PATCH] " ypsvlq
2022-07-10 19:10 ` [PR PATCH] [Updated] " ypsvlq
2022-07-10 19:11 ` ypsvlq
2022-07-10 19:31 ` ypsvlq [this message]
2022-09-14 10:34 ` ypsvlq
2022-09-18 13:53 ` [PR PATCH] [Merged]: New package: iaito-5.7.2 sgn

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=20220710193139.JkN5NQFuoSA1PIAGbMd_Yo6h6H20I5-149Ia-J8nXiY@z \
    --to=ypsvlq@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).