From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:42866) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hvn60-000875-I9 for guix-patches@gnu.org; Thu, 08 Aug 2019 14:25:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hvn5z-0001KZ-9E for guix-patches@gnu.org; Thu, 08 Aug 2019 14:25:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:32886) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hvn5z-0001KP-6P for guix-patches@gnu.org; Thu, 08 Aug 2019 14:25:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hvn5z-0000rX-0y for guix-patches@gnu.org; Thu, 08 Aug 2019 14:25:03 -0400 Subject: bug#36744: [PATCH 1/1] gnu: Add cutter. Resent-To: guix-patches@gnu.org Resent-Message-ID: From: Marius Bakke In-Reply-To: <20190720113022.12919-1-bit4bit@riseup.net> References: <20190720113022.12919-1-bit4bit@riseup.net> Date: Thu, 08 Aug 2019 20:24:32 +0200 Message-ID: <878ss3ikgv.fsf@devup.no> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: "Jovany Leandro G.C" , 36744-done@debbugs.gnu.org --=-=-= Content-Type: text/plain "Jovany Leandro G.C" 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! --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl1MaOAACgkQoqBt8qM6 VPqUMQf8DjMMJogEbjdAaDV7Uk5iveTugiiz/wvJVkWS4r39obRAFquSCue6vIYI DcsnZbCNhhNCDOw2ZcgwNM6jV3kM5+VSxVTDCAuO1UOuCHoVzjTHp1t78JX3L3sw a30UurPKpgsSXvUsqGFMJQqEegcrbYezVPqtvoDQvgu8pwZ5iyglu9KpzL3+UgCK tsTF5DtEZG5X79FiGFaWZ333/je7nKs1JIZi+wP7JqskuvQUEx+vzxkQIRUltPaA 8ajGXQGB6pCE471gWxy2HhHsyF9LJQimYk5J0G1XqRA+sPYO8Xf88vRgmKd7beLt bHBsWRSJl8MoIg9huw5/ntY6WegIkQ== =kKmx -----END PGP SIGNATURE----- --=-=-=--