From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id O1A7Jvv+CWG2JQAAgWs5BA (envelope-from ) for ; Wed, 04 Aug 2021 04:44:11 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id CDJjIfv+CWG+SgAA1q6Kng (envelope-from ) for ; Wed, 04 Aug 2021 02:44:11 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 5B9277CE2 for ; Wed, 4 Aug 2021 04:44:10 +0200 (CEST) Received: from localhost ([::1]:35980 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mB6t7-0007yI-DC for larch@yhetil.org; Tue, 03 Aug 2021 22:44:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38192) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mB6t1-0007w1-Lc for guix-patches@gnu.org; Tue, 03 Aug 2021 22:44:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58708) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mB6t0-0004yB-2m for guix-patches@gnu.org; Tue, 03 Aug 2021 22:44:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mB6sz-000634-R6 for guix-patches@gnu.org; Tue, 03 Aug 2021 22:44:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49859] [PATCH 3/6] gnu: Remove adb and fastboot. Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 04 Aug 2021 02:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49859 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Leo Famulari , 49859@debbugs.gnu.org Received: via spool by 49859-submit@debbugs.gnu.org id=B49859.162804498323180 (code B ref 49859); Wed, 04 Aug 2021 02:44:01 +0000 Received: (at 49859) by debbugs.gnu.org; 4 Aug 2021 02:43:03 +0000 Received: from localhost ([127.0.0.1]:42021 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mB6s2-00061n-VK for submit@debbugs.gnu.org; Tue, 03 Aug 2021 22:43:03 -0400 Received: from lepiller.eu ([89.234.186.109]:54084) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mB6s0-00061N-PD for 49859@debbugs.gnu.org; Tue, 03 Aug 2021 22:43:01 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id ec9d1c34; Wed, 4 Aug 2021 02:42:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date:from :to:subject:in-reply-to:references:message-id:mime-version :content-type:content-transfer-encoding; s=dkim; bh=JkkzLrejx5sY ybYXynKuM+XKFhGVpDiRQWhZrv9mu+0=; b=QHlCQMs54TZVyL1l3YL8bmXBeaZf RGIE77WCRUAxMsN/53i2K0J554wq6m3oEWkNv1LZL1eH2vOsZ1R3n14EWu5uiixq kVaU4YTzc9UzgdmpUd3Ao6OyOWAbeT67jtSjSfBWtjtE8zar56pnBUX1tjW8QEzl CMz1EBcvpJ5/Rcp0y/fvDqvuhfMZ1jGVDur1+CwNrjbo1Lew70k7/ckB2K4tG6en ImhGLRvLZXNL9kWkH7iz2+C4yM+3OpeDMWEwjmBIUzw2dZawtd+wy6NRFjgBMtjf SLyfBSglViqmW8/I2Ot2ZxpWpklpyyzV5nl38V65JzYTTJsIHDkMmXIdTA== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 94e3023a (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Wed, 4 Aug 2021 02:42:58 +0000 (UTC) Date: Tue, 03 Aug 2021 22:42:50 -0400 From: Julien Lepiller User-Agent: K-9 Mail for Android In-Reply-To: <98b6d8eee70e27683b6617ba92afd7a353514e45.1628040049.git.leo@famulari.name> References: <98b6d8eee70e27683b6617ba92afd7a353514e45.1628040049.git.leo@famulari.name> Message-ID: <83DA07E5-55F3-4F1C-9C57-8957526A53B6@lepiller.eu> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary=----H0031DKNQSX6P7QMCY9F21EK2ZEOW9 Content-Transfer-Encoding: 7bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1628045051; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=IoDODaM+ZhP12fQjRJzLL8RPU3CLsBnAYdbea9v9P50=; b=VAjbsXHKwE3HtqbmBgTLzRQG/BIWnYy5RhFo5YM6IEplJMVGstgHAw/enQ9IrcyDXUKt+W tiw7Hz3WrcC62hWNugNnlx53wr8KCsDY86bWYWLNr9cdIbyGLGE93fvInDCyqF4o+sJtjp pvSCszwO2nbGVv7AJQFURikDKuAert3D136ppMc6v4Xlw0uGays8nWCxpGVoju7Obrnfdg tuu664bZ3pHq89bNdX/1bbDEnx8D6aOhRTaSYslfzkFTXnuMtWOXH26m+05L5x+6KQ6x0D 5nGtqm76d0OuCXBB5V8hWOkwBF1MOrpBxH4KObTI63oAvDAoV5hAe4LCL9I6vg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1628045051; a=rsa-sha256; cv=none; b=eh80d+V7v1RtwC+VPzB7aj2wU6PoHjvutMeA+kirJyxmPbNUXM9EMxsqEkIwRIAN9/+qS9 YM5wXPoXSZQ+QNZKktVxokWvZQ4Cf9FfydXr46D1Sm+wvbEx/rRGH/Mb2coCHPMdtZZC1r 0wh3ycyy1kNmMXiRldsSchijOWsWVkM6PbcTJrQ208hry+SV4uZ0tH0+PGs7bY1tCHMYhU pfRy/5GolIqj9O7BWnjVBlQx+pAk0YixrEvFOrQ2LNGguZamXn8acgVwbB6TKvLDC8oQ6h 7+IyFT/gS2K8zD30HmMDNvxITIWdiMV0pKc4ydY9raYXewnsEcJzD5WQH8lCzQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lepiller.eu header.s=dkim header.b=QHlCQMs5; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -1.32 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lepiller.eu header.s=dkim header.b=QHlCQMs5; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 5B9277CE2 X-Spam-Score: -1.32 X-Migadu-Scanner: scn0.migadu.com X-TUID: QlMKR3G2YJt9 ------H0031DKNQSX6P7QMCY9F21EK2ZEOW9 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Gasp=E2=80=A6 do we have no other choice? Adb and fastboot are really usefu= l to me=2E Le 3 ao=C3=BBt 2021 21:20:46 GMT-04:00, Leo Famulari = a =C3=A9crit=C2=A0: >As discussed in , this version of adb doe= s >not support a current release of OpenSSL=2E > >* gnu/packages/android=2Escm (adb, fastboot): Remove variables=2E >--- > gnu/packages/android=2Escm | 95 ---------------------------------------- > 1 file changed, 95 deletions(-) > >diff --git a/gnu/packages/android=2Escm b/gnu/packages/android=2Escm >index eb538f6540=2E=2E746a104d43 100644 >--- a/gnu/packages/android=2Escm >+++ b/gnu/packages/android=2Escm >@@ -351,53 +351,6 @@ various Android core host applications=2E") > various Android core host applications=2E") > (license license:asl2=2E0))) >=20 >-(define-public adb >- (package >- (name "adb") >- (version (android-platform-version)) >- (source (android-platform-system-core version)) >- (build-system android-ndk-build-system) >- (arguments >- `(#:tests? #f ; Test failure: sysdeps_poll=2Efd_count >- #:make-flags >- (list "CFLAGS=3D-Wno-error" >- "CXXFLAGS=3D-fpermissive -Wno-error -std=3Dgnu++14 -D_Nonnu= ll=3D -D_Nullable=3D -I =2E" >- (string-append "LDFLAGS=3D-Wl,-rpath=3D" (assoc-ref %output= s "out") "/lib " >- "-Wl,-rpath=3D" (assoc-ref %build-inputs "op= enssl") "/lib -L =2E")) >- #:phases >- (modify-phases %standard-phases >- (add-after 'unpack 'enter-source >- (lambda _ (chdir "adb") #t)) >- (add-after 'enter-source 'glibc-compat >- (lambda _ >- ;; Include sysmacros=2Eh for "major" and "minor" in Glibc 2= =2E28=2E >- (substitute* "usb_linux=2Ecpp" >- (("#include " all) >- (string-append all "\n#include \n"))) >- #t)) >- (add-after 'enter-source 'make-libs-available >- (lambda* (#:key inputs outputs #:allow-other-keys) >- (substitute* "Android=2Emk" >- (("libcrypto_static") "libcrypto")) >- #t)) >- (add-after 'install 'install-headers >- (lambda* (#:key inputs outputs #:allow-other-keys) >- (install-file "diagnose_usb=2Eh" (string-append (assoc-ref = outputs "out") "/include")) >- #t))))) >- (inputs >- `(("android-libbase" ,android-libbase) >- ("android-libcutils" ,android-libcutils) >- ("android-liblog" ,android-liblog) >- ("openssl" ,openssl-1=2E0))) >- (home-page "https://developer=2Eandroid=2Ecom/studio/command-line/ad= b=2Ehtml") >- (synopsis "Android Debug Bridge") >- (description >- "@command{adb} is a versatile command line tool that lets you commu= nicate >-with an emulator instance or connected Android device=2E It facilitates= a variety >-of device actions, such as installing and debugging apps, and it provide= s access >-to a Unix shell that can run commands on the connected device or emulato= r=2E") >- (license license:asl2=2E0))) >- > (define-public mkbootimg > (package > (name "mkbootimg") >@@ -652,54 +605,6 @@ file system=2E") > (description "@code{android-libutils} provides utilities for Android= NDK developers=2E") > (license license:asl2=2E0))) >=20 >-(define-public fastboot >- (package >- (name "fastboot") >- (version (android-platform-version)) >- (source (android-platform-system-core version)) >- (build-system android-ndk-build-system) >- (arguments >- `(#:phases >- (modify-phases %standard-phases >- (add-after 'unpack 'enter-source >- (lambda _ >- (chdir "fastboot") >- #t)) >- (add-after 'enter-source 'patch-source >- (lambda _ >- (substitute* "Android=2Emk" >- (("libext4_utils_host") "libext4_utils_host libselinux lib= pcre")) >- #t)) >- (replace 'install >- (lambda* (#:key outputs #:allow-other-keys) >- (let* ((out (assoc-ref outputs "out")) >- (lib (string-append out "/lib")) >- (bin (string-append out "/bin"))) >- (install-file "fastboot" bin) >- #t)))))) >- (inputs >- `(("adb" ,adb) >- ("android-safe-iop" ,android-safe-iop) >- ("android-ext4-utils" ,android-ext4-utils) >- ("android-f2fs-utils" ,android-f2fs-utils) >- ("android-libbase" ,android-libbase) >- ("android-libcutils" ,android-libcutils) >- ("android-liblog" ,android-liblog) >- ("android-libutils" ,android-libutils) >- ("android-libsparse" ,android-libsparse) >- ("android-libziparchive" ,android-libziparchive) >- ("android-libselinux" ,android-libselinux) >- ("pcre" ,pcre) >- ("mkbootimg" ,mkbootimg) >- ("zlib" ,zlib))) >- (native-inputs >- `(("xz" ,xz))) >- (home-page "https://developer=2Eandroid=2Ecom/studio/command-line/") >- (synopsis "Android image flasher") >- (description >- "This package provides @command{fastboot}, a tool to upload file sy= stem images to Android devices=2E") >- (license license:asl2=2E0))) >- > (define-public android-udev-rules > (package > (name "android-udev-rules") >--=20 >2=2E32=2E0 > > > > ------H0031DKNQSX6P7QMCY9F21EK2ZEOW9 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable Gasp=E2=80=A6 do we have no other choice? Adb and = fastboot are really useful to me=2E

Le 3 = ao=C3=BBt 2021 21:20:46 GMT-04:00, Leo Famulari <leo@famulari=2Ename>= a =C3=A9crit=C2=A0:
As discussed in <https://bugs=2Egnu=2Eorg/46602>, this versio=
n of adb does
not support a current release of OpenSSL=2E

* gnu/p= ackages/android=2Escm (adb, fastboot): Remove variables=2E
gnu/packages= /android=2Escm | 95 ----------------------------------------
1 file cha= nged, 95 deletions(-)

diff --git a/gnu/packages/android=2Escm b/gnu/= packages/android=2Escm
index eb538f6540=2E=2E746a104d43 100644
--- a/= gnu/packages/android=2Escm
+++ b/gnu/packages/android=2Escm
@@ -351,5= 3 +351,6 @@ various Android core host applications=2E")
various Android= core host applications=2E")
(license license:asl2=2E0)))

-= (define-public adb
- (package
- (name "adb")
- (version (an= droid-platform-version))
- (source (android-platform-system-core vers= ion))
- (build-system android-ndk-build-system)
- (arguments- `(#:tests? #f ; Test failure: sysdeps_poll=2Efd_count
- #:m= ake-flags
- (list "CFLAGS=3D-Wno-error"
- "CXXFLAGS= =3D-fpermissive -Wno-error -std=3Dgnu++14 -D_Nonnull=3D -D_Nullable=3D -I = =2E"
- (string-append "LDFLAGS=3D-Wl,-rpath=3D" (assoc-ref %= outputs "out") "/lib "
- "-Wl,-rpath=3D" (ass= oc-ref %build-inputs "openssl") "/lib -L =2E"))
- #:phases
- = (modify-phases %standard-phases
- (add-after 'unpack 'enter-= source
- (lambda _ (chdir "adb") #t))
- (add-after = 'enter-source 'glibc-compat
- (lambda _
- ;; In= clude sysmacros=2Eh for "major" and "minor" in Glibc 2=2E28=2E
- = (substitute* "usb_linux=2Ecpp"
- (("#include <sys/= types=2Eh>" all)
- (string-append all "\n#include <= sys/sysmacros=2Eh>\n")))
- #t))
- (add-after '= enter-source 'make-libs-available
- (lambda* (#:key inputs out= puts #:allow-other-keys)
- (substitute* "Android=2Emk"
- = (("libcrypto_static") "libcrypto"))
- #t))
-= (add-after 'install 'install-headers
- (lambda* (#:ke= y inputs outputs #:allow-other-keys)
- (install-file "diagno= se_usb=2Eh" (string-append (assoc-ref outputs "out") "/include"))
- = #t)))))
- (inputs
- `(("android-libbase" ,android-libb= ase)
- ("android-libcutils" ,android-libcutils)
- ("andro= id-liblog" ,android-liblog)
- ("openssl" ,openssl-1=2E0)))
- = (home-page "https://developer=2Eandroid=2Ecom/studio/command-line/adb=2Eht= ml")
- (synopsis "Android Debug Bridge")
- (description
- = "@command{adb} is a versatile command line tool that lets you communicate=
-with an emulator instance or connected Android device=2E It facilitat= es a variety
-of device actions, such as installing and debugging apps, = and it provides access
-to a Unix shell that can run commands on the con= nected device or emulator=2E")
- (license license:asl2=2E0)))
- (define-public mkbootimg
(package
(name "mkbootimg")
@@ = -652,54 +605,6 @@ file system=2E")
(description "@code{android-libu= tils} provides utilities for Android NDK developers=2E")
(license l= icense:asl2=2E0)))

-(define-public fastboot
- (package
- = (name "fastboot")
- (version (android-platform-version))
- (sou= rce (android-platform-system-core version))
- (build-system android-n= dk-build-system)
- (arguments
- `(#:phases
- (modify-= phases %standard-phases
- (add-after 'unpack 'enter-source
- = (lambda _
- (chdir "fastboot")
- #t= ))
- (add-after 'enter-source 'patch-source
- (lamb= da _
- (substitute* "Android=2Emk"
- (("libe= xt4_utils_host") "libext4_utils_host libselinux libpcre"))
- = #t))
- (replace 'install
- (lambda* (#:key outputs= #:allow-other-keys)
- (let* ((out (assoc-ref outputs "out")= )
- (lib (string-append out "/lib"))
- = (bin (string-append out "/bin")))
- (install-file = "fastboot" bin)
- #t))))))
- (inputs
- `(("ad= b" ,adb)
- ("android-safe-iop" ,android-safe-iop)
- ("and= roid-ext4-utils" ,android-ext4-utils)
- ("android-f2fs-utils" ,and= roid-f2fs-utils)
- ("android-libbase" ,android-libbase)
- = ("android-libcutils" ,android-libcutils)
- ("android-liblog" ,and= roid-liblog)
- ("android-libutils" ,android-libutils)
- (= "android-libsparse" ,android-libsparse)
- ("android-libziparchive"= ,android-libziparchive)
- ("android-libselinux" ,android-libselin= ux)
- ("pcre" ,pcre)
- ("mkbootimg" ,mkbootimg)
- = ("zlib" ,zlib)))
- (native-inputs
- `(("xz" ,xz)))
- (= home-page "https://developer=2Eandroid=2Ecom/studio/command-line/")
- = (synopsis "Android image flasher")
- (description
- "This pac= kage provides @command{fastboot}, a tool to upload file system images to An= droid devices=2E")
- (license license:asl2=2E0)))
-
(define-pu= blic android-udev-rules
(package
(name "android-udev-rules")<= br>
--
2=2E32=2E0




------H0031DKNQSX6P7QMCY9F21EK2ZEOW9--