Github messages for voidlinux
 help / color / mirror / Atom feed
From: faulesocke <faulesocke@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] cutter: update to 2.0.5.
Date: Wed, 02 Mar 2022 13:00:06 +0100	[thread overview]
Message-ID: <20220302120006.VtTj1xD3wE0xGjPewht4PcVNR1QwZsceew79cM4LnPE@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-35901@inbox.vuxu.org>

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

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

https://github.com/faulesocke/void-packages cutter
https://github.com/void-linux/void-packages/pull/35901

cutter: update to 2.0.5.
<!-- Uncomment relevant sections and delete options which are not applicable -->

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


#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)


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

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

From ea8a35a105537ec1caa82ed655f0d71ff804a01b Mon Sep 17 00:00:00 2001
From: Urs Schulz <voidpkgs@ursschulz.de>
Date: Wed, 2 Mar 2022 09:51:40 +0100
Subject: [PATCH 1/2] New package: rizin-0.3.4

---
 common/shlibs          | 24 ++++++++++++++++++++++++
 srcpkgs/rizin-devel    |  1 +
 srcpkgs/rizin/template | 30 ++++++++++++++++++++++++++++++
 3 files changed, 55 insertions(+)
 create mode 120000 srcpkgs/rizin-devel
 create mode 100644 srcpkgs/rizin/template

diff --git a/common/shlibs b/common/shlibs
index 5096ab5dad6b..eb49f6ff4c3f 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4117,3 +4117,27 @@ libspatialite.so.7 libspatialite-5.0.1_1
 mod_spatialite.so.7 libspatialite-5.0.1_1
 libSvtAv1Enc.so.0 libsvt-av1-0.9.0_1
 libSvtAv1Dec.so.0 libsvt-av1-0.9.0_1
+librz_bp.so.0.3.4 rizin-0.3.4_1
+librz_reg.so.0.3.4 rizin-0.3.4_1
+librz_debug.so.0.3.4 rizin-0.3.4_1
+librz_hash.so.0.3.4 rizin-0.3.4_1
+librz_config.so.0.3.4 rizin-0.3.4_1
+librz_parse.so.0.3.4 rizin-0.3.4_1
+librz_asm.so.0.3.4 rizin-0.3.4_1
+librz_type.so.0.3.4 rizin-0.3.4_1
+librz_socket.so.0.3.4 rizin-0.3.4_1
+librz_egg.so.0.3.4 rizin-0.3.4_1
+librz_core.so.0.3.4 rizin-0.3.4_1
+librz_diff.so.0.3.4 rizin-0.3.4_1
+librz_main.so.0.3.4 rizin-0.3.4_1
+librz_cons.so.0.3.4 rizin-0.3.4_1
+librz_crypto.so.0.3.4 rizin-0.3.4_1
+librz_analysis.so.0.3.4 rizin-0.3.4_1
+librz_syscall.so.0.3.4 rizin-0.3.4_1
+librz_io.so.0.3.4 rizin-0.3.4_1
+librz_flag.so.0.3.4 rizin-0.3.4_1
+librz_magic.so.0.3.4 rizin-0.3.4_1
+librz_util.so.0.3.4 rizin-0.3.4_1
+librz_lang.so.0.3.4 rizin-0.3.4_1
+librz_search.so.0.3.4 rizin-0.3.4_1
+librz_bin.so.0.3.4 rizin-0.3.4_1
diff --git a/srcpkgs/rizin-devel b/srcpkgs/rizin-devel
new file mode 120000
index 000000000000..1d00f71ce25b
--- /dev/null
+++ b/srcpkgs/rizin-devel
@@ -0,0 +1 @@
+rizin
\ No newline at end of file
diff --git a/srcpkgs/rizin/template b/srcpkgs/rizin/template
new file mode 100644
index 000000000000..b471ce1bfb61
--- /dev/null
+++ b/srcpkgs/rizin/template
@@ -0,0 +1,30 @@
+# Template file for 'rizin'
+pkgname=rizin
+version=0.3.4
+revision=1
+archs="i686 x86_64"
+wrksrc="${pkgname}-v${version}"
+build_style=meson
+configure_args="-D use_sys_capstone=enabled -D use_capstone_version=v4
+ -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_libuv=true -D use_webui=true -D local=disabled"
+hostmakedepends="pkg-config"
+makedepends="capstone-devel libzip-devel zlib-devel liblz4-devel xxHash-devel libuv-devel
+ tree-sitter-devel file-devel openssl-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://github.com/rizinorg/rizin"
+distfiles="https://github.com/rizinorg/${pkgname}/releases/download/v${version}/${pkgname}-src-v${version}.tar.xz"
+checksum=eea49b396387c09d19705aab02a617cdb15682fca67f101ff2b27eef94a710e9
+
+
+rizin-devel_package() {
+	depends="${makedepends} rizin>=${version}_${revision}"
+	short_desc="${short_desc} - development files"
+	pkg_install() {
+		vmove usr/include/librz
+		vmove usr/lib/pkgconfig
+	}
+}

From 2d8ae568da186c32f4f3ab9877e482f0a6813edd Mon Sep 17 00:00:00 2001
From: Urs Schulz <voidpkgs@ursschulz.de>
Date: Tue, 1 Mar 2022 08:49:12 +0100
Subject: [PATCH 2/2] cutter: update to 2.0.5.

---
 .../cutter/patches/ksyntaxhighlighting.patch  | 43 +++++++++++++++++++
 srcpkgs/cutter/template                       | 38 ++++++++++------
 2 files changed, 69 insertions(+), 12 deletions(-)
 create mode 100644 srcpkgs/cutter/patches/ksyntaxhighlighting.patch

diff --git a/srcpkgs/cutter/patches/ksyntaxhighlighting.patch b/srcpkgs/cutter/patches/ksyntaxhighlighting.patch
new file mode 100644
index 000000000000..461a3dec9d58
--- /dev/null
+++ b/srcpkgs/cutter/patches/ksyntaxhighlighting.patch
@@ -0,0 +1,43 @@
+diff --git a/src/common/Configuration.cpp b/src/common/Configuration.cpp
+index 3c309e83..47019165 100644
+--- a/src/common/Configuration.cpp
++++ b/src/common/Configuration.cpp
+@@ -7,9 +7,9 @@
+ #include <QApplication>
+ 
+ #ifdef CUTTER_ENABLE_KSYNTAXHIGHLIGHTING
+-#    include <KSyntaxHighlighting/repository.h>
+-#    include <KSyntaxHighlighting/theme.h>
+-#    include <KSyntaxHighlighting/definition.h>
++#    include <repository.h>
++#    include <theme.h>
++#    include <definition.h>
+ #endif
+ 
+ #include "common/ColorThemeWorker.h"
+diff --git a/src/common/SyntaxHighlighter.cpp b/src/common/SyntaxHighlighter.cpp
+index 64a2038e..eebb59f9 100644
+--- a/src/common/SyntaxHighlighter.cpp
++++ b/src/common/SyntaxHighlighter.cpp
+@@ -5,7 +5,7 @@
+ 
+ #    include "Configuration.h"
+ 
+-#    include <KSyntaxHighlighting/theme.h>
++#    include <theme.h>
+ 
+ SyntaxHighlighter::SyntaxHighlighter(QTextDocument *document)
+     : KSyntaxHighlighting::SyntaxHighlighter(document)
+diff --git a/src/common/SyntaxHighlighter.h b/src/common/SyntaxHighlighter.h
+index b9e88970..a21b4ec2 100644
+--- a/src/common/SyntaxHighlighter.h
++++ b/src/common/SyntaxHighlighter.h
+@@ -10,7 +10,7 @@
+ 
+ #ifdef CUTTER_ENABLE_KSYNTAXHIGHLIGHTING
+ 
+-#    include <KSyntaxHighlighting/syntaxhighlighter.h>
++#    include <syntaxhighlighter.h>
+ 
+ class SyntaxHighlighter : public KSyntaxHighlighting::SyntaxHighlighter
+ {
diff --git a/srcpkgs/cutter/template b/srcpkgs/cutter/template
index 7142c048f53c..0ba35058db70 100644
--- a/srcpkgs/cutter/template
+++ b/srcpkgs/cutter/template
@@ -1,16 +1,30 @@
 # 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"
+version=2.0.5
+revision=1
+archs="i686 x86_64"
+build_style=cmake
+configure_args="-DCUTTER_EXTRA_PLUGIN_DIRS=/usr/lib/rizin/Cutter/plugins
+ -DCUTTER_ENABLE_PYTHON=ON -DCUTTER_ENABLE_PYTHON_BINDINGS=OFF
+ -DCUTTER_ENABLE_GRAPHVIZ=ON -DCUTTER_ENABLE_KSYNTAXHIGHLIGHTING=ON
+ -DCUTTER_USE_BUNDLED_RIZIN=OFF -DCUTTER_USE_ADDITIONAL_RIZIN_PATHS=OFF
+ -DCUTTER_ENABLE_CRASH_REPORTS=OFF"
+hostmakedepends="pkg-config qt5-qmake qt5-host-tools meson git"
+makedepends="capstone-devel python3-devel qt5-declarative-devel qt5-location-devel
+ qt5-svg-devel graphviz-devel libshiboken2-devel libpyside2-python3-devel
+ syntax-highlighting-devel rizin-devel"
 short_desc="GUI for radare2 written in C++ and QT"
-maintainer="Orphaned <orphan@voidlinux.org>"
+maintainer="Urs Schulz <voidpkgs@ursschulz.de>"
 license="GPL-3.0-only"
-homepage="https://github.com/radareorg/cutter"
-distfiles="https://github.com/radareorg/${pkgname}/archive/v${version}.tar.gz"
-checksum=868213d2ea0b4a29b9b03c9b605c2b2155c4c03b62735a9bd376a0dadcb4fe1b
+homepage="https://cutter.re"
+_translations_commit="974298653ba71b958e1b6c83f6011f5fefff6236"
+distfiles="https://github.com/rizinorg/${pkgname}/archive/refs/tags/v${version}.tar.gz
+ https://github.com/rizinorg/cutter-translations/archive/${_translations_commit}.tar.gz"
+checksum="c206cc72443b989b7306cbc1ec5c85206a5feb5e7dc8621fe4f03876b9e447ab
+ 9a9d42769c1e9364dfc694968b05994d02ea840813a33b16ca6a6cbe80c90069"
+
+
+post_extract() {
+	rmdir src/translations
+	mv "${XBPS_BUILDDIR}/cutter-translations-${_translations_commit}" "src/translations"
+}

  parent reply	other threads:[~2022-03-02 12:00 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-01  7:53 [PR PATCH] " faulesocke
2022-03-02  8:54 ` [PR PATCH] [Updated] WIP: " faulesocke
2022-03-02  8:55 ` faulesocke
2022-03-02  8:58 ` [PR PATCH] [Updated] " faulesocke
2022-03-02  9:12 ` [PR REVIEW] " paper42
2022-03-02  9:13 ` paper42
2022-03-02 10:26 ` faulesocke
2022-03-02 10:31 ` faulesocke
2022-03-02 10:33 ` faulesocke
2022-03-02 10:38 ` [PR REVIEW] " faulesocke
2022-03-02 11:03 ` paper42
2022-03-02 11:03 ` paper42
2022-03-02 11:03 ` paper42
2022-03-02 11:03 ` paper42
2022-03-02 11:03 ` paper42
2022-03-02 11:03 ` paper42
2022-03-02 11:04 ` paper42
2022-03-02 11:05 ` paper42
2022-03-02 11:06 ` paper42
2022-03-02 11:06 ` paper42
2022-03-02 11:06 ` paper42
2022-03-02 11:47 ` faulesocke
2022-03-02 11:50 ` paper42
2022-03-02 12:00 ` faulesocke [this message]
2022-03-02 12:01 ` faulesocke
2022-03-02 12:05 ` paper42
2022-03-02 12:08 ` [PR PATCH] [Updated] " faulesocke
2022-03-02 12:15 ` faulesocke
2022-03-02 12:25 ` faulesocke
2022-03-02 12:29 ` [PR REVIEW] " faulesocke
2022-03-02 13:08 ` paper42
2022-03-02 13:08 ` paper42
2022-03-04 23:55 ` [PR PATCH] [Merged]: " Johnnynator

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=20220302120006.VtTj1xD3wE0xGjPewht4PcVNR1QwZsceew79cM4LnPE@z \
    --to=faulesocke@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).