From unknown Mon Jun 23 13:14:31 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#28378] [PATCH] gnu: Add heimdall. Resent-From: Danny Milosavljevic Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 06 Sep 2017 22:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 28378 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 28378@debbugs.gnu.org Cc: Danny Milosavljevic X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.150473744423936 (code B ref -1); Wed, 06 Sep 2017 22:38:01 +0000 Received: (at submit) by debbugs.gnu.org; 6 Sep 2017 22:37:24 +0000 Received: from localhost ([127.0.0.1]:53565 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dpiwm-0006Dz-2f for submit@debbugs.gnu.org; Wed, 06 Sep 2017 18:37:24 -0400 Received: from eggs.gnu.org ([208.118.235.92]:60864) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dpiwk-0006Dk-HZ for submit@debbugs.gnu.org; Wed, 06 Sep 2017 18:37:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dpiwa-0008AF-8z for submit@debbugs.gnu.org; Wed, 06 Sep 2017 18:37:17 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:58114) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dpiwa-0008AB-5h for submit@debbugs.gnu.org; Wed, 06 Sep 2017 18:37:12 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51814) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dpiwY-0005V2-Dp for guix-patches@gnu.org; Wed, 06 Sep 2017 18:37:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dpiwU-00084Y-Cl for guix-patches@gnu.org; Wed, 06 Sep 2017 18:37:10 -0400 Received: from dd1012.kasserver.com ([85.13.128.8]:49712) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dpiwU-00081b-5h for guix-patches@gnu.org; Wed, 06 Sep 2017 18:37:06 -0400 Received: from dayas.3.home (178.113.201.160.wireless.dyn.drei.com [178.113.201.160]) by dd1012.kasserver.com (Postfix) with ESMTPSA id 653A81CA114B; Thu, 7 Sep 2017 00:37:00 +0200 (CEST) From: Danny Milosavljevic Date: Thu, 7 Sep 2017 00:36:53 +0200 Message-Id: <20170906223653.15420-1-dannym@scratchpost.org> X-Mailer: git-send-email 2.14.0 Tags: patch X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) * gnu/packages/android.scm (heimdall): New variable. --- gnu/packages/android.scm | 53 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) diff --git a/gnu/packages/android.scm b/gnu/packages/android.scm index be3f50add..20bd21bdf 100644 --- a/gnu/packages/android.scm +++ b/gnu/packages/android.scm @@ -22,13 +22,18 @@ (define-module (gnu packages android) #:use-module (guix packages) + #:use-module (guix download) #:use-module (guix git-download) + #:use-module (guix build-system cmake) #:use-module (guix build-system gnu) #:use-module (guix build-system python) #:use-module ((guix licenses) #:prefix license:) #:use-module (gnu packages) + #:use-module (gnu packages compression) #:use-module (gnu packages gnupg) + #:use-module (gnu packages libusb) #:use-module (gnu packages python) + #:use-module (gnu packages qt) #:use-module (gnu packages ssh) #:use-module (gnu packages version-control) #:use-module (gnu packages tls)) @@ -399,3 +404,51 @@ parts of the development workflow. Repo is not meant to replace Git, only to make it easier to work with Git. The repo command is an executable Python script that you can put anywhere in your path.") (license license:asl2.0))) + +(define-public heimdall + (package + (name "heimdall") + (version "1.4.2") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/Benjamin-Dobell/Heimdall/" + "archive/v" version ".tar.gz")) + (file-name (string-append "heimdall-" version ".tar.gz")) + (sha256 + (base32 "1y7gwg3lipyp2zcysm2vid1qg5nwin9bxbvgzs28lz2rya4fz6sq")))) + (build-system cmake-build-system) + (arguments + `(#:configure-flags '("-DCMAKE_BUILD_TYPE=Release") + #:tests? #f ; No tests exist. + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-invocations + (lambda* (#:key outputs #:allow-other-keys) + (substitute* '("heimdall-frontend/source/aboutform.cpp" + "heimdall-frontend/source/mainwindow.cpp") + (("start[(]\"heimdall\"") + (string-append "start(\"" (assoc-ref outputs "out") + "/bin/heimdall\""))) + #t)) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (out-bin (string-append out "/bin")) + (out-lib (string-append out "/lib"))) + (mkdir-p out-bin) + (mkdir-p out-lib) + (install-file "../build/bin/heimdall" out-bin) + (install-file "../build/bin/heimdall-frontend" out-bin) + (install-file "../build/libpit/libpit.a" out-lib) + #t)))))) + (inputs + `(("libusb" ,libusb) + ("qtbase" ,qtbase) + ("zlib" ,zlib))) + (home-page "http://glassechidna.com.au/heimdall/") + (synopsis "Samsung Flashing Tool") + (description + "@command{heimdall} can be used to flash firmware onto Samsung mobile +devices.") + (license license:expat))) From unknown Mon Jun 23 13:14:31 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#28378] [PATCH] gnu: Add heimdall. Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 07 Sep 2017 08:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28378 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Danny Milosavljevic Cc: 28378@debbugs.gnu.org Received: via spool by 28378-submit@debbugs.gnu.org id=B28378.150477156711392 (code B ref 28378); Thu, 07 Sep 2017 08:07:01 +0000 Received: (at 28378) by debbugs.gnu.org; 7 Sep 2017 08:06:07 +0000 Received: from localhost ([127.0.0.1]:53796 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dprp9-0002xg-Lu for submit@debbugs.gnu.org; Thu, 07 Sep 2017 04:06:07 -0400 Received: from eggs.gnu.org ([208.118.235.92]:35397) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dprp8-0002wm-AQ for 28378@debbugs.gnu.org; Thu, 07 Sep 2017 04:06:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dproy-0000b0-Js for 28378@debbugs.gnu.org; Thu, 07 Sep 2017 04:06:01 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:46043) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dproy-0000au-HX; Thu, 07 Sep 2017 04:05:56 -0400 Received: from [193.50.110.57] (port=54500 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dproy-0002Ye-1L; Thu, 07 Sep 2017 04:05:56 -0400 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <20170906223653.15420-1-dannym@scratchpost.org> Date: Thu, 07 Sep 2017 10:05:53 +0200 In-Reply-To: <20170906223653.15420-1-dannym@scratchpost.org> (Danny Milosavljevic's message of "Thu, 7 Sep 2017 00:36:53 +0200") Message-ID: <87shfzylum.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Hi Danny, Danny Milosavljevic skribis: > * gnu/packages/android.scm (heimdall): New variable. Could you team up with Julien on to merge the two submissions? Thanks in advance! Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 07 04:06:23 2017 Received: (at control) by debbugs.gnu.org; 7 Sep 2017 08:06:23 +0000 Received: from localhost ([127.0.0.1]:53799 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dprpO-0002y9-Tu for submit@debbugs.gnu.org; Thu, 07 Sep 2017 04:06:23 -0400 Received: from eggs.gnu.org ([208.118.235.92]:35586) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dprpN-0002xw-6I for control@debbugs.gnu.org; Thu, 07 Sep 2017 04:06:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dprpC-0000jr-NZ for control@debbugs.gnu.org; Thu, 07 Sep 2017 04:06:16 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:46050) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dprpC-0000jj-Jx for control@debbugs.gnu.org; Thu, 07 Sep 2017 04:06:10 -0400 Received: from [193.50.110.57] (port=54502 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dprpC-0002rC-1t for control@debbugs.gnu.org; Thu, 07 Sep 2017 04:06:10 -0400 Date: Thu, 07 Sep 2017 10:06:08 +0200 Message-Id: <87r2vjylu7.fsf@gnu.org> To: control@debbugs.gnu.org From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: control message for bug #28378 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) merge 28378 28285 From unknown Mon Jun 23 13:14:31 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#28378] [PATCH] gnu: Add heimdall. Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 20 Sep 2017 20:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28378 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 28378@debbugs.gnu.org Received: via spool by 28378-submit@debbugs.gnu.org id=B28378.150593823411545 (code B ref 28378); Wed, 20 Sep 2017 20:11:02 +0000 Received: (at 28378) by debbugs.gnu.org; 20 Sep 2017 20:10:34 +0000 Received: from localhost ([127.0.0.1]:50538 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dulKF-000302-Q4 for submit@debbugs.gnu.org; Wed, 20 Sep 2017 16:10:33 -0400 Received: from lepiller.eu ([89.234.186.109]:39220 helo=localhost) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dulKD-0002zt-IY for 28378@debbugs.gnu.org; Wed, 20 Sep 2017 16:10:26 -0400 Received: from localhost (static-176-182-42-79.ncc.abo.bbox.fr [176.182.42.79]) by localhost (OpenSMTPD) with ESMTPSA id 64c7d3e3 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for <28378@debbugs.gnu.org>; Wed, 20 Sep 2017 20:10:24 +0000 (UTC) Date: Wed, 20 Sep 2017 22:09:02 +0200 From: Julien Lepiller Message-ID: <20170920220902.21333ec3@lepiller.eu> In-Reply-To: <87shfzylum.fsf@gnu.org> References: <20170906223653.15420-1-dannym@scratchpost.org> <87shfzylum.fsf@gnu.org> X-Mailer: Claws Mail 3.15.1-dirty (GTK+ 2.24.31; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="MP_/PIMDQutJOn35fdrg8Bh1EeY" X-Spam-Score: 3.6 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Le Thu, 07 Sep 2017 10:05:53 +0200, ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) a =?UTF-8?Q?=C3=A9crit?= : > Hi Danny, > > Danny Milosavljevic skribis: > > > * gnu/packages/android.scm (heimdall): New variable. > > Could you team up with Julien on to merge > the two submissions? Hi, [...] Content analysis details: (3.6 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FSL_HELO_NON_FQDN_1 No description available. 3.6 HELO_LOCALHOST No description available. -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 3.6 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Le Thu, 07 Sep 2017 10:05:53 +0200, ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) a =?UTF-8?Q?=C3=A9crit?= : > Hi Danny, > > Danny Milosavljevic skribis: > > > * gnu/packages/android.scm (heimdall): New variable. > > Could you team up with Julien on to merge > the two submissions? Hi, [...] Content analysis details: (3.6 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FSL_HELO_NON_FQDN_1 No description available. 3.6 HELO_LOCALHOST No description available. -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain --MP_/PIMDQutJOn35fdrg8Bh1EeY Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Le Thu, 07 Sep 2017 10:05:53 +0200, ludo@gnu.org (Ludovic Court=C3=A8s) a =C3=A9crit : > Hi Danny, >=20 > Danny Milosavljevic skribis: >=20 > > * gnu/packages/android.scm (heimdall): New variable. =20 >=20 > Could you team up with Julien on to merge > the two submissions? Hi, here is the result of the merge of the two patches. I'm not sure we need the static library? Danny, what do you think of it? >=20 > Thanks in advance! >=20 > Ludo=E2=80=99. >=20 >=20 >=20 --MP_/PIMDQutJOn35fdrg8Bh1EeY Content-Type: text/x-patch Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename=0001-gnu-Add-heimdall.patch =46rom 0cd2378f5aa2626f8118d607a6b3558c212d80ec Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Tue, 29 Aug 2017 23:54:16 +0200 Subject: [PATCH] gnu: Add heimdall. * gnu/packages/flashing-tools.scm (heimdall): New variable. Co-Authored-By: Danny Milosavljevic --- gnu/packages/flashing-tools.scm | 67 ++++++++++++++++++++++++++++++++++++-= ---- 1 file changed, 59 insertions(+), 8 deletions(-) diff --git a/gnu/packages/flashing-tools.scm b/gnu/packages/flashing-tools.= scm index 127fc795a..6a600bd0b 100644 --- a/gnu/packages/flashing-tools.scm +++ b/gnu/packages/flashing-tools.scm @@ -5,6 +5,7 @@ ;;; Copyright =C2=A9 2016 Ludovic Court=C3=A8s ;;; Copyright =C2=A9 2016 Efraim Flashner ;;; Copyright =C2=A9 2017 Jonathan Brielmaier +;;; Copyright =C2=A9 2017 Julien Lepiller ;;; ;;; This file is part of GNU Guix. ;;; @@ -22,19 +23,22 @@ ;;; along with GNU Guix. If not, see . =20 (define-module (gnu packages flashing-tools) - #:use-module (guix licenses) + #:use-module ((guix licenses) #:prefix license:) #:use-module (guix download) #:use-module (guix git-download) #:use-module (guix packages) #:use-module (gnu packages) + #:use-module (guix build-system cmake) #:use-module (guix build-system gnu) #:use-module (gnu packages bison) + #:use-module (gnu packages compression) #:use-module (gnu packages flex) #:use-module (gnu packages elf) #:use-module (gnu packages pkg-config) #:use-module (gnu packages libusb) #:use-module (gnu packages libftdi) #:use-module (gnu packages pciutils) + #:use-module (gnu packages qt) #:use-module (gnu packages autotools) #:use-module (gnu packages admin)) =20 @@ -81,7 +85,7 @@ verifying and erasing flash chips. It is designed to fla= sh BIOS/EFI/coreboot/firmware/optionROM images on mainboards, network/graphics/storage controller cards, and various other programmer devices.") - (license gpl2))) + (license license:gpl2))) =20 (define-public 0xffff (package @@ -112,7 +116,7 @@ programmer devices.") for FIASCO images. It supports generating, unpacking, editing and flashing of FIASCO images for Maemo devices. Use it with care. It can brick your device.") - (license gpl3+))) + (license license:gpl3+))) =20 (define-public avrdude (package @@ -140,7 +144,7 @@ brick your device.") "AVRDUDE is a utility to download/upload/manipulate the ROM and EEPROM contents of AVR microcontrollers using the in-system programming technique (ISP).") - (license gpl2+))) + (license license:gpl2+))) =20 (define-public dfu-programmer (package @@ -166,7 +170,7 @@ technique (ISP).") "Dfu-programmer is a multi-platform command-line programmer for Atmel (8051, AVR, XMEGA & AVR32) chips with a USB bootloader supporting ISP.") - (license gpl2+))) + (license license:gpl2+))) =20 (define-public dfu-util (package @@ -193,7 +197,7 @@ ranges from small devices like micro-controller boards = up to mobile phones. With dfu-util you are able to download firmware to your device or upload firmware from it.") (home-page "http://dfu-util.sourceforge.net/") - (license gpl2+))) + (license license:gpl2+))) =20 (define-public teensy-loader-cli ;; The repo does not tag versions nor does it use releases, but a commit @@ -244,7 +248,7 @@ HalfKay bootloader is running, so you can upload new pr= ograms and run them. You need to add the udev rules to make the Teensy update available for non-root users.") (home-page "https://www.pjrc.com/teensy/loader_cli.html") - (license gpl3)))) + (license license:gpl3)))) =20 (define-public rkflashtool (let ((commit "094bd6410cb016e487e2ccb1050c59eeac2e6dd1") @@ -278,4 +282,51 @@ non-root users.") (description "Allows flashing of Rockchip based embedded linux devic= es. The list of currently supported devices is: RK2818, RK2918, RK2928, RK3026, RK3036, RK3066, RK312X, RK3168, RK3188, RK3288, RK3368.") - (license bsd-2)))) + (license license:bsd-2)))) + +(define-public heimdall + (package + (name "heimdall") + (version "1.4.2") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/Benjamin-Dobell/Heim= dall" + "/archive/v" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1y7gwg3lipyp2zcysm2vid1qg5nwin9bxbvgzs28lz2rya4fz6sq")))) + (build-system cmake-build-system) + (arguments + `(#:configure-flags '("-DCMAKE_BUILD_TYPE=3DRelease") + #:tests? #f; no tests + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-invocations + (lambda* (#:key outputs #:allow-other-keys) + (substitute* '("heimdall-frontend/source/aboutform.cpp" + "heimdall-frontend/source/mainwindow.cpp") + (("start[(]\"heimdall\"") + (string-append "start(\"" (assoc-ref outputs "out") + "/bin/heimdall\""))) + #t)) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let ((bin (string-append (assoc-ref outputs "out") "/bin")) + (lib (string-append (assoc-ref outputs "out") "/lib"))) + (install-file "bin/heimdall" bin) + (install-file "bin/heimdall-frontend" bin) + (install-file "libpit/libpit.a" lib) + #t)))))) + (inputs + `(("libusb" ,libusb) + ("qtbase" ,qtbase) + ("zlib" ,zlib))) + (home-page "http://glassechidna.com.au/heimdall/") + (synopsis "Flash firmware onto Samsung mobile devices") + (description "@command{heimdall} is a tool suite used to flash firmwar= e (aka +ROMs) onto Samsung mobile devices. Heimdall connects to a mobile device o= ver +USB and interacts with low-level software running on the device, known as = Loke. +Loke and Heimdall communicate via the custom Samsung-developed protocol ty= pically +referred to as the \"Odin 3 protocol\".") + (license license:expat))) --=20 2.14.1 --MP_/PIMDQutJOn35fdrg8Bh1EeY-- From unknown Mon Jun 23 13:14:31 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#28378] [PATCH] gnu: Add heimdall. Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 20 Sep 2017 20:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28378 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Julien Lepiller Cc: 28378@debbugs.gnu.org Received: via spool by 28378-submit@debbugs.gnu.org id=B28378.150593967414065 (code B ref 28378); Wed, 20 Sep 2017 20:35:01 +0000 Received: (at 28378) by debbugs.gnu.org; 20 Sep 2017 20:34:34 +0000 Received: from localhost ([127.0.0.1]:50585 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dulhZ-0003en-S1 for submit@debbugs.gnu.org; Wed, 20 Sep 2017 16:34:34 -0400 Received: from eggs.gnu.org ([208.118.235.92]:39179) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dulhY-0003eY-5j for 28378@debbugs.gnu.org; Wed, 20 Sep 2017 16:34:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dulhS-0004Kb-1c for 28378@debbugs.gnu.org; Wed, 20 Sep 2017 16:34:27 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:49401) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dulhR-0004KV-U4; Wed, 20 Sep 2017 16:34:25 -0400 Received: from [2a01:e0a:1d:7270:6a6c:dc17:fc02:cfda] (port=43094 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dulhR-0006zE-ES; Wed, 20 Sep 2017 16:34:25 -0400 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <20170906223653.15420-1-dannym@scratchpost.org> <87shfzylum.fsf@gnu.org> <20170920220902.21333ec3@lepiller.eu> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Jour de la Raison de =?UTF-8?Q?l'Ann=C3=A9e?= 225 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Wed, 20 Sep 2017 22:34:23 +0200 In-Reply-To: <20170920220902.21333ec3@lepiller.eu> (Julien Lepiller's message of "Wed, 20 Sep 2017 22:09:02 +0200") Message-ID: <8760cdrtww.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Hi Julien, Julien Lepiller skribis: > From 0cd2378f5aa2626f8118d607a6b3558c212d80ec Mon Sep 17 00:00:00 2001 > From: Julien Lepiller > Date: Tue, 29 Aug 2017 23:54:16 +0200 > Subject: [PATCH] gnu: Add heimdall. > > * gnu/packages/flashing-tools.scm (heimdall): New variable. > > Co-Authored-By: Danny Milosavljevic It LGTM. I don=E2=80=99t see why libpit.a is needed, but I=E2=80=99ll let = you decide. :-) > + (build-system cmake-build-system) > + (arguments > + `(#:configure-flags '("-DCMAKE_BUILD_TYPE=3DRelease") Why not keep the default =E2=80=9CRelWithDebInfo=E2=80=9D? Thanks! Ludo=E2=80=99. From unknown Mon Jun 23 13:14:31 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Danny Milosavljevic Subject: bug#28378: closed (Re: [bug#28378] [PATCH] gnu: Add heimdall.) Message-ID: References: <20171003214627.74bd788a@lepiller.eu> <20170906223653.15420-1-dannym@scratchpost.org> X-Gnu-PR-Message: they-closed 28378 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 28378@debbugs.gnu.org Date: Tue, 03 Oct 2017 19:49:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1507060142-27178-1" This is a multi-part message in MIME format... ------------=_1507060142-27178-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #28378: [PATCH] gnu: Add heimdall. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 28378@debbugs.gnu.org. --=20 28378: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D28378 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1507060142-27178-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 28378-done) by debbugs.gnu.org; 3 Oct 2017 19:48:02 +0000 Received: from localhost ([127.0.0.1]:46817 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dzTAf-00072c-Uc for submit@debbugs.gnu.org; Tue, 03 Oct 2017 15:48:02 -0400 Received: from lepiller.eu ([89.234.186.109]:49116) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dzTAe-00072C-8p for 28378-done@debbugs.gnu.org; Tue, 03 Oct 2017 15:48:00 -0400 Received: from localhost (static-176-182-42-79.ncc.abo.bbox.fr [176.182.42.79]) by lepiller.eu (OpenSMTPD) with ESMTPSA id a646871b (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for <28378-done@debbugs.gnu.org>; Tue, 3 Oct 2017 19:47:58 +0000 (UTC) Date: Tue, 3 Oct 2017 21:46:27 +0200 From: Julien Lepiller To: 28378-done@debbugs.gnu.org Subject: Re: [bug#28378] [PATCH] gnu: Add heimdall. Message-ID: <20171003214627.74bd788a@lepiller.eu> In-Reply-To: <8760cdrtww.fsf@gnu.org> References: <20170906223653.15420-1-dannym@scratchpost.org> <87shfzylum.fsf@gnu.org> <20170920220902.21333ec3@lepiller.eu> <8760cdrtww.fsf@gnu.org> X-Mailer: Claws Mail 3.15.1-dirty (GTK+ 2.24.31; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 28378-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) Le Wed, 20 Sep 2017 22:34:23 +0200, ludo@gnu.org (Ludovic Court=C3=A8s) a =C3=A9crit : > Hi Julien, >=20 > Julien Lepiller skribis: >=20 > > From 0cd2378f5aa2626f8118d607a6b3558c212d80ec Mon Sep 17 00:00:00 > > 2001 From: Julien Lepiller > > Date: Tue, 29 Aug 2017 23:54:16 +0200 > > Subject: [PATCH] gnu: Add heimdall. > > > > * gnu/packages/flashing-tools.scm (heimdall): New variable. > > > > Co-Authored-By: Danny Milosavljevic =20 >=20 > It LGTM. I don=E2=80=99t see why libpit.a is needed, but I=E2=80=99ll le= t you > decide. :-) >=20 > > + (build-system cmake-build-system) > > + (arguments > > + `(#:configure-flags '("-DCMAKE_BUILD_TYPE=3DRelease") =20 >=20 > Why not keep the default =E2=80=9CRelWithDebInfo=E2=80=9D? That's what was documented in this package. Pushed as f282aa530b91c8fecb910bc0a3323fcbd4d39ffb. >=20 > Thanks! >=20 > Ludo=E2=80=99. ------------=_1507060142-27178-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 6 Sep 2017 22:37:24 +0000 Received: from localhost ([127.0.0.1]:53565 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dpiwm-0006Dz-2f for submit@debbugs.gnu.org; Wed, 06 Sep 2017 18:37:24 -0400 Received: from eggs.gnu.org ([208.118.235.92]:60864) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dpiwk-0006Dk-HZ for submit@debbugs.gnu.org; Wed, 06 Sep 2017 18:37:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dpiwa-0008AF-8z for submit@debbugs.gnu.org; Wed, 06 Sep 2017 18:37:17 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:58114) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dpiwa-0008AB-5h for submit@debbugs.gnu.org; Wed, 06 Sep 2017 18:37:12 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51814) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dpiwY-0005V2-Dp for guix-patches@gnu.org; Wed, 06 Sep 2017 18:37:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dpiwU-00084Y-Cl for guix-patches@gnu.org; Wed, 06 Sep 2017 18:37:10 -0400 Received: from dd1012.kasserver.com ([85.13.128.8]:49712) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dpiwU-00081b-5h for guix-patches@gnu.org; Wed, 06 Sep 2017 18:37:06 -0400 Received: from dayas.3.home (178.113.201.160.wireless.dyn.drei.com [178.113.201.160]) by dd1012.kasserver.com (Postfix) with ESMTPSA id 653A81CA114B; Thu, 7 Sep 2017 00:37:00 +0200 (CEST) From: Danny Milosavljevic To: guix-patches@gnu.org Subject: [PATCH] gnu: Add heimdall. Date: Thu, 7 Sep 2017 00:36:53 +0200 Message-Id: <20170906223653.15420-1-dannym@scratchpost.org> X-Mailer: git-send-email 2.14.0 Tags: patch X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit Cc: Danny Milosavljevic X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) * gnu/packages/android.scm (heimdall): New variable. --- gnu/packages/android.scm | 53 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) diff --git a/gnu/packages/android.scm b/gnu/packages/android.scm index be3f50add..20bd21bdf 100644 --- a/gnu/packages/android.scm +++ b/gnu/packages/android.scm @@ -22,13 +22,18 @@ (define-module (gnu packages android) #:use-module (guix packages) + #:use-module (guix download) #:use-module (guix git-download) + #:use-module (guix build-system cmake) #:use-module (guix build-system gnu) #:use-module (guix build-system python) #:use-module ((guix licenses) #:prefix license:) #:use-module (gnu packages) + #:use-module (gnu packages compression) #:use-module (gnu packages gnupg) + #:use-module (gnu packages libusb) #:use-module (gnu packages python) + #:use-module (gnu packages qt) #:use-module (gnu packages ssh) #:use-module (gnu packages version-control) #:use-module (gnu packages tls)) @@ -399,3 +404,51 @@ parts of the development workflow. Repo is not meant to replace Git, only to make it easier to work with Git. The repo command is an executable Python script that you can put anywhere in your path.") (license license:asl2.0))) + +(define-public heimdall + (package + (name "heimdall") + (version "1.4.2") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/Benjamin-Dobell/Heimdall/" + "archive/v" version ".tar.gz")) + (file-name (string-append "heimdall-" version ".tar.gz")) + (sha256 + (base32 "1y7gwg3lipyp2zcysm2vid1qg5nwin9bxbvgzs28lz2rya4fz6sq")))) + (build-system cmake-build-system) + (arguments + `(#:configure-flags '("-DCMAKE_BUILD_TYPE=Release") + #:tests? #f ; No tests exist. + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-invocations + (lambda* (#:key outputs #:allow-other-keys) + (substitute* '("heimdall-frontend/source/aboutform.cpp" + "heimdall-frontend/source/mainwindow.cpp") + (("start[(]\"heimdall\"") + (string-append "start(\"" (assoc-ref outputs "out") + "/bin/heimdall\""))) + #t)) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (out-bin (string-append out "/bin")) + (out-lib (string-append out "/lib"))) + (mkdir-p out-bin) + (mkdir-p out-lib) + (install-file "../build/bin/heimdall" out-bin) + (install-file "../build/bin/heimdall-frontend" out-bin) + (install-file "../build/libpit/libpit.a" out-lib) + #t)))))) + (inputs + `(("libusb" ,libusb) + ("qtbase" ,qtbase) + ("zlib" ,zlib))) + (home-page "http://glassechidna.com.au/heimdall/") + (synopsis "Samsung Flashing Tool") + (description + "@command{heimdall} can be used to flash firmware onto Samsung mobile +devices.") + (license license:expat))) ------------=_1507060142-27178-1-- From unknown Mon Jun 23 13:14:31 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Julien Lepiller Subject: bug#28285: closed (Re: [bug#28378] [PATCH] gnu: Add heimdall.) Message-ID: References: <20171003214627.74bd788a@lepiller.eu> <20170829235829.7a4f55cd@lepiller.eu> X-Gnu-PR-Message: they-closed 28285 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 28285@debbugs.gnu.org Date: Tue, 03 Oct 2017 19:49:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1507060142-27178-3" This is a multi-part message in MIME format... ------------=_1507060142-27178-3 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #28378: Add heimdall which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 28285@debbugs.gnu.org. --=20 28378: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D28378 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1507060142-27178-3 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 28378-done) by debbugs.gnu.org; 3 Oct 2017 19:48:02 +0000 Received: from localhost ([127.0.0.1]:46817 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dzTAf-00072c-Uc for submit@debbugs.gnu.org; Tue, 03 Oct 2017 15:48:02 -0400 Received: from lepiller.eu ([89.234.186.109]:49116) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dzTAe-00072C-8p for 28378-done@debbugs.gnu.org; Tue, 03 Oct 2017 15:48:00 -0400 Received: from localhost (static-176-182-42-79.ncc.abo.bbox.fr [176.182.42.79]) by lepiller.eu (OpenSMTPD) with ESMTPSA id a646871b (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for <28378-done@debbugs.gnu.org>; Tue, 3 Oct 2017 19:47:58 +0000 (UTC) Date: Tue, 3 Oct 2017 21:46:27 +0200 From: Julien Lepiller To: 28378-done@debbugs.gnu.org Subject: Re: [bug#28378] [PATCH] gnu: Add heimdall. Message-ID: <20171003214627.74bd788a@lepiller.eu> In-Reply-To: <8760cdrtww.fsf@gnu.org> References: <20170906223653.15420-1-dannym@scratchpost.org> <87shfzylum.fsf@gnu.org> <20170920220902.21333ec3@lepiller.eu> <8760cdrtww.fsf@gnu.org> X-Mailer: Claws Mail 3.15.1-dirty (GTK+ 2.24.31; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 28378-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) Le Wed, 20 Sep 2017 22:34:23 +0200, ludo@gnu.org (Ludovic Court=C3=A8s) a =C3=A9crit : > Hi Julien, >=20 > Julien Lepiller skribis: >=20 > > From 0cd2378f5aa2626f8118d607a6b3558c212d80ec Mon Sep 17 00:00:00 > > 2001 From: Julien Lepiller > > Date: Tue, 29 Aug 2017 23:54:16 +0200 > > Subject: [PATCH] gnu: Add heimdall. > > > > * gnu/packages/flashing-tools.scm (heimdall): New variable. > > > > Co-Authored-By: Danny Milosavljevic =20 >=20 > It LGTM. I don=E2=80=99t see why libpit.a is needed, but I=E2=80=99ll le= t you > decide. :-) >=20 > > + (build-system cmake-build-system) > > + (arguments > > + `(#:configure-flags '("-DCMAKE_BUILD_TYPE=3DRelease") =20 >=20 > Why not keep the default =E2=80=9CRelWithDebInfo=E2=80=9D? That's what was documented in this package. Pushed as f282aa530b91c8fecb910bc0a3323fcbd4d39ffb. >=20 > Thanks! >=20 > Ludo=E2=80=99. ------------=_1507060142-27178-3 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 29 Aug 2017 21:59:48 +0000 Received: from localhost ([127.0.0.1]:32981 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dmoXx-000648-F6 for submit@debbugs.gnu.org; Tue, 29 Aug 2017 17:59:48 -0400 Received: from eggs.gnu.org ([208.118.235.92]:46580) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dmoXv-00063i-5h for submit@debbugs.gnu.org; Tue, 29 Aug 2017 17:59:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dmoXo-00075O-Oj for submit@debbugs.gnu.org; Tue, 29 Aug 2017 17:59:37 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:49110) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dmoXo-00075J-Kx for submit@debbugs.gnu.org; Tue, 29 Aug 2017 17:59:36 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37530) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dmoXn-0003g2-4q for guix-patches@gnu.org; Tue, 29 Aug 2017 17:59:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dmoXk-00073b-10 for guix-patches@gnu.org; Tue, 29 Aug 2017 17:59:35 -0400 Received: from lepiller.eu ([89.234.186.109]:39230 helo=localhost) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dmoXj-00072U-N5 for guix-patches@gnu.org; Tue, 29 Aug 2017 17:59:31 -0400 Received: from localhost (static-176-182-42-79.ncc.abo.bbox.fr [176.182.42.79]) by localhost (OpenSMTPD) with ESMTPSA id 20853379 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for ; Tue, 29 Aug 2017 21:59:29 +0000 (UTC) Date: Tue, 29 Aug 2017 23:58:29 +0200 From: Julien Lepiller To: guix-patches@gnu.org Subject: Add heimdall Message-ID: <20170829235829.7a4f55cd@lepiller.eu> X-Mailer: Claws Mail 3.15.0-dirty (GTK+ 2.24.31; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="MP_/7R.4QRy/D=HKhgQnmuJNA=5" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) --MP_/7R.4QRy/D=HKhgQnmuJNA=5 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, this patch adds heimdall, a tool I just used to flash replicant on my smartphone :) --MP_/7R.4QRy/D=HKhgQnmuJNA=5 Content-Type: text/x-patch Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=0001-gnu-Add-heimdall.patch >From 415b94e8fc61fba9353094a3eceb22bb2a6563b6 Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Tue, 29 Aug 2017 23:54:16 +0200 Subject: [PATCH] gnu: Add heimdall. * gnu/packages/android.scm (heimdall): New variable. --- gnu/packages/android.scm | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/gnu/packages/android.scm b/gnu/packages/android.scm index be3f50add..93c3281dd 100644 --- a/gnu/packages/android.scm +++ b/gnu/packages/android.scm @@ -23,12 +23,16 @@ (define-module (gnu packages android) #:use-module (guix packages) #:use-module (guix git-download) + #:use-module (guix build-system cmake) #:use-module (guix build-system gnu) #:use-module (guix build-system python) #:use-module ((guix licenses) #:prefix license:) #:use-module (gnu packages) + #:use-module (gnu packages compression) #:use-module (gnu packages gnupg) + #:use-module (gnu packages libusb) #:use-module (gnu packages python) + #:use-module (gnu packages qt) #:use-module (gnu packages ssh) #:use-module (gnu packages version-control) #:use-module (gnu packages tls)) @@ -399,3 +403,39 @@ parts of the development workflow. Repo is not meant to replace Git, only to make it easier to work with Git. The repo command is an executable Python script that you can put anywhere in your path.") (license license:asl2.0))) + +(define-public heimdall + (package + (name "heimdall") + (version "1.4.2") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/Benjamin-Dobell/Heimdall" + "/archive/v" version ".tar.gz")) + (sha256 + (base32 + "1y7gwg3lipyp2zcysm2vid1qg5nwin9bxbvgzs28lz2rya4fz6sq")))) + (build-system cmake-build-system) + (arguments + `(#:tests? #f; no tests + #:phases + (modify-phases %standard-phases + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let ((bin (string-append (assoc-ref outputs "out") "/bin"))) + (mkdir-p bin) + (copy-file "bin/heimdall" (string-append bin "/heimdall")) + (copy-file "bin/heimdall-frontend" + (string-append bin "/heimdall-frontend")))))))) + (inputs + `(("libusb" ,libusb) + ("qt" ,qt) + ("zlib" ,zlib))) + (home-page "http://glassechidna.com.au/heimdall/") + (synopsis "Flash firmware onto Samsung mobile devices") + (description "Heimdall is a tool suite used to flash firmware (aka ROMs) +onto Samsung mobile devices. Heimdall connects to a mobile device over USB and +interacts with low-level software running on the device, known as Loke. Loke +and Heimdall communicate via the custom Samsung-developed protocol typically +referred to as the 'Odin 3 protocol'.") + (license license:expat))) -- 2.14.1 --MP_/7R.4QRy/D=HKhgQnmuJNA=5-- ------------=_1507060142-27178-3-- From unknown Mon Jun 23 13:14:31 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#28378] [PATCH] gnu: Add heimdall. Resent-From: Mekeor Melire Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 04 Oct 2017 21:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28378 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Julien Lepiller Cc: 28378@debbugs.gnu.org Received: via spool by 28378-submit@debbugs.gnu.org id=B28378.150715246228290 (code B ref 28378); Wed, 04 Oct 2017 21:28:01 +0000 Received: (at 28378) by debbugs.gnu.org; 4 Oct 2017 21:27:42 +0000 Received: from localhost ([127.0.0.1]:49394 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dzrCg-0007ME-2c for submit@debbugs.gnu.org; Wed, 04 Oct 2017 17:27:42 -0400 Received: from mail-wr0-f180.google.com ([209.85.128.180]:50524) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dzrCe-0007M1-Dz for 28378@debbugs.gnu.org; Wed, 04 Oct 2017 17:27:40 -0400 Received: by mail-wr0-f180.google.com with SMTP id b21so9553856wrg.7 for <28378@debbugs.gnu.org>; Wed, 04 Oct 2017 14:27:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:from:to:cc:subject:in-reply-to:date:message-id :mime-version:content-transfer-encoding; bh=suqdCywA0UYcUJho+yucoWyRqfDl5VIHVJSwojzF7yk=; b=bSvC36VChl/j7m+OdQv6bQmgLIkBAChEjfVUQ1s39dZnsKK4VtVb8wSBatyap7/Baf UudjwR4SEWcEjboDd0q2KgvgvzHSgKwK+WLg7vg4e3Z4LeJj25h7XgXO6Jx4Mor5nDkg M6cMGbcJoh6za5bbgcSugMNiZpQ1zUkYOb2yocke6wfZWo9NoIazP7JAQXM9QSZuP0zH M/YARY7B2X1cOvgQeL4GsTphkt5817kdH+8vYcHXJOhaiLn7jnsq35KxDXgUBXogKQ9l kMexvTrgA+4XAidnwZ6PiAdz6C4THgQIcLpZZoetUtSgqT/iCwYK2P0rB9VjSKzQx3pU wl+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:from:to:cc:subject:in-reply-to:date :message-id:mime-version:content-transfer-encoding; bh=suqdCywA0UYcUJho+yucoWyRqfDl5VIHVJSwojzF7yk=; b=FOHSyvrmy+kv6O+WvyZsCM1vqzs+Bedi4HWy0czi/tSM4BA08fXiMwzXb/Bn9WX1SK kn0Ld1v1fTjzMB1U9Jj8CHua14PBzyl7zL55a+LaqFEJff67JUlDRLHpoiORwDOocweI LAOF7/rnNcVgvrmr6XHdAKAET5cmv/Ntku6Io1gN0Gp1DXe6zOJUQKmulROx6FwskfC6 +1UldYZEV/uzYHWYzRdlTs+rzVByB6MK/vFRM4ciwAECnYE0plvVcHB9n3cdfz5+PQiZ w51IaPWf32ddkZRWpwRwLsskq9tb8qksDpKSj2LDAQtx2xJUkfaYqerdExgKjJfXla1n DSIA== X-Gm-Message-State: AMCzsaWjjycLhBmwS2h7099qiKojESsPLFvXwEmgU5BRaTJnkCeuCZrb WS8K4F+7uhzryLEPOMB4qb7J3g== X-Google-Smtp-Source: AOwi7QAX80LZZTcSI/FzdMjLkoMSbhs3euSTxxhQWRCwFzzaV8qReO+P4CxZcoyBmZkREzyoHogzHg== X-Received: by 10.223.161.8 with SMTP id o8mr15493407wro.260.1507152454446; Wed, 04 Oct 2017 14:27:34 -0700 (PDT) Received: from melibre. ([2001:a61:22a4:2501:2be1:2483:d0c6:cc27]) by smtp.gmail.com with ESMTPSA id u96sm29700708wrc.68.2017.10.04.14.27.33 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 04 Oct 2017 14:27:33 -0700 (PDT) References: <20170906223653.15420-1-dannym@scratchpost.org> <87shfzylum.fsf@gnu.org> <20170920220902.21333ec3@lepiller.eu> <8760cdrtww.fsf@gnu.org> From: Mekeor Melire In-reply-to: <8760cdrtww.fsf@gnu.org> Date: Wed, 04 Oct 2017 23:27:32 +0200 Message-ID: <87mv56txh7.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.8 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.8 (--) Ludovic Courtès writes: > Julien Lepiller skribis: […] >> * gnu/packages/flashing-tools.scm (heimdall): New variable. […] >> + (build-system cmake-build-system) >> + (arguments >> + `(#:configure-flags '("-DCMAKE_BUILD_TYPE=Release") > > Why not keep the default “RelWithDebInfo”? BUMP. This seems to be the only last remark on this nice new package definition. From unknown Mon Jun 23 13:14:31 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#28378] [PATCH] gnu: Add heimdall. Resent-From: Mekeor Melire Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 04 Oct 2017 21:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28378 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 28378@debbugs.gnu.org Received: via spool by 28378-submit@debbugs.gnu.org id=B28378.150715272028773 (code B ref 28378); Wed, 04 Oct 2017 21:32:01 +0000 Received: (at 28378) by debbugs.gnu.org; 4 Oct 2017 21:32:00 +0000 Received: from localhost ([127.0.0.1]:49404 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dzrGp-0007U1-Sq for submit@debbugs.gnu.org; Wed, 04 Oct 2017 17:32:00 -0400 Received: from mail-wm0-f51.google.com ([74.125.82.51]:56036) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dzrGo-0007Tp-Qf for 28378@debbugs.gnu.org; Wed, 04 Oct 2017 17:31:59 -0400 Received: by mail-wm0-f51.google.com with SMTP id u138so25723599wmu.4 for <28378@debbugs.gnu.org>; Wed, 04 Oct 2017 14:31:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:from:to:subject:in-reply-to:date:message-id:mime-version; bh=uTAWLLGx65wAKHyH3y6WgPVnNTCs835oSXs06ycY6pU=; b=sTxgvLx5h9VuBeTS0bYHzhoayKp8v0eGXldWTIik3kAmX7BP97xzI93+KevlYosayy Q4tmWa6gWvvOOZuTza8zVhVz4PHXG9nkNlSckOZkVC8cqla+aM1420DPTcFLj9xq6m+E AFm2pESBN4n5MaFwhtZMO/6tEvtv36WDqzD/oNqbGJ9QCJOwUZnkySD5M9ApbiC5Uuvo ArUGtaS2WSD/G9FoLt72GckEEZjLE6iQVjT/11zXJ+pYDs+q0DdfOnsrjThXQoke1aa3 XpHHJdUhcW3IIUrT57mYHeY3IQUj5pHwj06hjuWULEOCip2wirvauuRWppCUuJw/ScDZ 1Vag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:from:to:subject:in-reply-to:date :message-id:mime-version; bh=uTAWLLGx65wAKHyH3y6WgPVnNTCs835oSXs06ycY6pU=; b=sREjVmBRthAnsJoOFHbkExtesoSG76WMO1a3/RhUvANvzWN5zoYslp2okdMj+DD+FD efyh4bUNx13aZbIYIDJk6BqpsW8Lm3ncSoD50oC932H7xM7CueseYx3JZZW5/ZJ9dAOZ CrE/0i1TcOzs23QE2C7AqjylzStwrqIAPiVU2sZ/+2ohJIuU5K9vd+renN3rinASUhVT voGkDtTAv3kJT5XkURTtk3CKRzBx6flkNDX6kl1faVtMOPVaL55MJF+ZlM/KhKPeUMAS Ad1io16NnJR0ZGMHMK6yUjpCL6GEDQYR2u78RKlJDM1xDGASPd1b0kN9ys21Hnt3kKWF 4GwA== X-Gm-Message-State: AMCzsaVM8ayYeP4o1zh1mW5jUd3qidVGyNucMGDBNbFKMddFzJ0FXDSI /yCsG5s69Y4Df1vha7GXQAMpqg== X-Google-Smtp-Source: AOwi7QCBArQX3U9N8KPknm4JOteETihZbFLwoBSecu+fjySkb8voVDj5U3CCcC1nE7NXT3W+RW9fgA== X-Received: by 10.28.224.87 with SMTP id x84mr5794600wmg.118.1507152712993; Wed, 04 Oct 2017 14:31:52 -0700 (PDT) Received: from melibre. ([2001:a61:22a4:2501:2be1:2483:d0c6:cc27]) by smtp.gmail.com with ESMTPSA id 25sm26036670wrv.8.2017.10.04.14.31.52 for <28378@debbugs.gnu.org> (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 04 Oct 2017 14:31:52 -0700 (PDT) References: <20170906223653.15420-1-dannym@scratchpost.org> <87shfzylum.fsf@gnu.org> <20170920220902.21333ec3@lepiller.eu> <8760cdrtww.fsf@gnu.org> <87mv56txh7.fsf@gmail.com> From: Mekeor Melire In-reply-to: <87mv56txh7.fsf@gmail.com> Date: Wed, 04 Oct 2017 23:31:51 +0200 Message-ID: <87lgkqtxa0.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.5 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.5 (/) Sorry, I just saw that it's already pushed to master now. Thank you very much for your effort!