GNU bug report logs -
#36744
[PATCH 1/1] gnu: Add cutter.
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 36744 in the body.
You can then email your comments to 36744 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#36744
; Package
guix-patches
.
(Sat, 20 Jul 2019 16:39:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
"Jovany Leandro G.C" <bit4bit <at> riseup.net>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Sat, 20 Jul 2019 16:39:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/engineering.scm (cutter): New variable.
---
gnu/packages/engineering.scm | 46 ++++++++++++++++++++++++++++++++++++
1 file changed, 46 insertions(+)
diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index 7d48414889..3b32f8f0e2 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -11,6 +11,7 @@
;;; Copyright © 2018, 2019 Jonathan Brielmaier <jonathan.brielmaier <at> web.de>
;;; Copyright © 2018, 2019 Arun Isaac <arunisaac <at> systemreboot.net>
;;; Copyright © 2019 Tim Stahel <swedneck <at> swedneck.xyz>
+;;; Copyright © 2019 Jovany Leandro G.C <bit4bit <at> riseup.net>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -2062,3 +2063,48 @@ purpose circuit simulator and can perform DC and transient analyses, fourier
analysis and AC analysis. The engine is designed to do true mixed-mode
simulation.")
(license license:gpl3+)))
+
+(define-public cutter
+ (package
+ (name "cutter")
+ (version "1.8.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://github.com/radareorg/cutter/archive/v"
+ version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1nhzwqavb156bqxk723i6an6iaagm3hs7642ijbma4hgl32lw0bi"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (replace 'configure
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (let ((out (assoc-ref outputs "out"))
+ (radare2 (assoc-ref inputs "radare2")))
+ ;; fix pkg-config detection ./src/lib_radare2.pri:PREFIX=/usr/lib
+ ;; override `qmake PREFIX=`
+ (substitute* "./src/lib_radare2.pri"
+ (("PREFIX") "R2PREFIX")
+ (("R2PREFIX=/usr") (string-append "R2PREFIX=" radare2)))
+ (invoke "qmake"
+ (string-append "PREFIX=" out)
+ "./src/Cutter.pro")))))))
+ (native-inputs
+ `(("pkg-config" ,pkg-config)))
+ (inputs
+ `(("qtbase" ,qtbase)
+ ("qtsvg" ,qtsvg)
+ ("openssl" ,openssl)
+ ("radare2" ,radare2)))
+ (home-page "https://github.com/radareorg/cutter")
+ (synopsis "Free and open-source GUI for radare2 reverse engineering framework")
+ (description "Cutter is a free and open-source GUI for radare2 reverse
+engineering framework. Its goal is making an advanced, customizable and
+FOSS reverse-engineering platform while keeping the user experience at mind.
+Cutter is created by reverse engineers for reverse engineers.")
+ (license license:gpl3+)))
--
2.19.0
Reply sent
to
Marius Bakke <mbakke <at> fastmail.com>
:
You have taken responsibility.
(Thu, 08 Aug 2019 18:25:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
"Jovany Leandro G.C" <bit4bit <at> riseup.net>
:
bug acknowledged by developer.
(Thu, 08 Aug 2019 18:25:03 GMT)
Full text and
rfc822 format available.
Message #10 received at 36744-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
"Jovany Leandro G.C" <bit4bit <at> riseup.net> writes:
> * gnu/packages/engineering.scm (cutter): New variable.
[...]
> +(define-public cutter
> + (package
> + (name "cutter")
> + (version "1.8.3")
> + (source
> + (origin
> + (method url-fetch)
> + (uri (string-append
> + "https://github.com/radareorg/cutter/archive/v"
> + version ".tar.gz"))
> + (file-name (string-append name "-" version ".tar.gz"))
> + (sha256
> + (base32
> + "1nhzwqavb156bqxk723i6an6iaagm3hs7642ijbma4hgl32lw0bi"))))
I changed this to use a git checkout, because the auto-generated GitHub
tarballs may change hash in the future.
> + (build-system gnu-build-system)
> + (arguments
> + `(#:phases
> + (modify-phases %standard-phases
> + (replace 'configure
> + (lambda* (#:key inputs outputs #:allow-other-keys)
> + (let ((out (assoc-ref outputs "out"))
> + (radare2 (assoc-ref inputs "radare2")))
> + ;; fix pkg-config detection ./src/lib_radare2.pri:PREFIX=/usr/lib
> + ;; override `qmake PREFIX=`
> + (substitute* "./src/lib_radare2.pri"
> + (("PREFIX") "R2PREFIX")
> + (("R2PREFIX=/usr") (string-append "R2PREFIX=" radare2)))
> + (invoke "qmake"
> + (string-append "PREFIX=" out)
> + "./src/Cutter.pro")))))))
> + (native-inputs
> + `(("pkg-config" ,pkg-config)))
> + (inputs
> + `(("qtbase" ,qtbase)
> + ("qtsvg" ,qtsvg)
> + ("openssl" ,openssl)
> + ("radare2" ,radare2)))
> + (home-page "https://github.com/radareorg/cutter")
> + (synopsis "Free and open-source GUI for radare2 reverse engineering framework")
> + (description "Cutter is a free and open-source GUI for radare2 reverse
> +engineering framework. Its goal is making an advanced, customizable and
> +FOSS reverse-engineering platform while keeping the user experience at mind.
> +Cutter is created by reverse engineers for reverse engineers.")
I removed mentions of "free" and "open source", because everything in
Guix is free software.
> + (license license:gpl3+)))
I also added the CC-BY-SA 3.0 license used by the icon set.
Pushed in 5cded306f92a8641259909ee986e583168b85b17, thanks!
[signature.asc (application/pgp-signature, inline)]
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Fri, 06 Sep 2019 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 5 years and 291 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.