all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Julien Lepiller <julien@lepiller.eu>
To: Leo Famulari <leo@famulari.name>, 49859@debbugs.gnu.org
Subject: [bug#49859] [PATCH 3/6] gnu: Remove adb and fastboot.
Date: Tue, 03 Aug 2021 22:42:50 -0400	[thread overview]
Message-ID: <83DA07E5-55F3-4F1C-9C57-8957526A53B6@lepiller.eu> (raw)
In-Reply-To: <98b6d8eee70e27683b6617ba92afd7a353514e45.1628040049.git.leo@famulari.name>

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

Gasp… do we have no other choice? Adb and fastboot are really useful to me.

Le 3 août 2021 21:20:46 GMT-04:00, Leo Famulari <leo@famulari.name> a écrit :
>As discussed in <https://bugs.gnu.org/46602>, this version of adb does
>not support a current release of OpenSSL.
>
>* gnu/packages/android.scm (adb, fastboot): Remove variables.
>---
> gnu/packages/android.scm | 95 ----------------------------------------
> 1 file changed, 95 deletions(-)
>
>diff --git a/gnu/packages/android.scm b/gnu/packages/android.scm
>index eb538f6540..746a104d43 100644
>--- a/gnu/packages/android.scm
>+++ b/gnu/packages/android.scm
>@@ -351,53 +351,6 @@ various Android core host applications.")
> various Android core host applications.")
>     (license license:asl2.0)))
> 
>-(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.fd_count
>-       #:make-flags
>-       (list "CFLAGS=-Wno-error"
>-             "CXXFLAGS=-fpermissive -Wno-error -std=gnu++14 -D_Nonnull= -D_Nullable= -I ."
>-             (string-append "LDFLAGS=-Wl,-rpath=" (assoc-ref %outputs "out") "/lib "
>-                            "-Wl,-rpath=" (assoc-ref %build-inputs "openssl") "/lib -L ."))
>-       #:phases
>-       (modify-phases %standard-phases
>-         (add-after 'unpack 'enter-source
>-           (lambda _ (chdir "adb") #t))
>-         (add-after 'enter-source 'glibc-compat
>-           (lambda _
>-             ;; Include sysmacros.h for "major" and "minor" in Glibc 2.28.
>-             (substitute* "usb_linux.cpp"
>-               (("#include <sys/types.h>" all)
>-                (string-append all "\n#include <sys/sysmacros.h>\n")))
>-             #t))
>-         (add-after 'enter-source 'make-libs-available
>-           (lambda* (#:key inputs outputs #:allow-other-keys)
>-             (substitute* "Android.mk"
>-              (("libcrypto_static") "libcrypto"))
>-             #t))
>-         (add-after 'install 'install-headers
>-           (lambda* (#:key inputs outputs #:allow-other-keys)
>-             (install-file "diagnose_usb.h" (string-append (assoc-ref outputs "out") "/include"))
>-             #t)))))
>-    (inputs
>-     `(("android-libbase" ,android-libbase)
>-       ("android-libcutils" ,android-libcutils)
>-       ("android-liblog" ,android-liblog)
>-       ("openssl" ,openssl-1.0)))
>-    (home-page "https://developer.android.com/studio/command-line/adb.html")
>-    (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.  It facilitates 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 connected device or emulator.")
>-    (license license:asl2.0)))
>-
> (define-public mkbootimg
>   (package
>     (name "mkbootimg")
>@@ -652,54 +605,6 @@ file system.")
>     (description "@code{android-libutils} provides utilities for Android NDK developers.")
>     (license license:asl2.0)))
> 
>-(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.mk"
>-              (("libext4_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
>-     `(("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.android.com/studio/command-line/")
>-    (synopsis "Android image flasher")
>-    (description
>-     "This package provides @command{fastboot}, a tool to upload file system images to Android devices.")
>-    (license license:asl2.0)))
>-
> (define-public android-udev-rules
>   (package
>     (name "android-udev-rules")
>-- 
>2.32.0
>
>
>
>

[-- Attachment #2: Type: text/html, Size: 5828 bytes --]

  reply	other threads:[~2021-08-04  2:44 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-04  1:08 [bug#49859] [PATCH] gnu: Remove dillo Leo Famulari
2021-08-04  1:20 ` [bug#49859] [PATCH 1/6] gnu: Remove pidentd Leo Famulari
2021-08-04  1:20   ` [bug#49859] [PATCH 2/6] gnu: Remove cadaver Leo Famulari
2021-08-04  1:20   ` [bug#49859] [PATCH 3/6] gnu: Remove adb and fastboot Leo Famulari
2021-08-04  2:42     ` Julien Lepiller [this message]
2021-08-04  2:53       ` Leo Famulari
2021-08-04  2:58         ` Julien Lepiller
2021-08-04  3:21           ` Leo Famulari
2021-08-04 16:29             ` Leo Famulari
2021-08-05  8:11               ` Efraim Flashner
2021-08-11 14:08                 ` [bug#49859] Remove packages that depend on unsupported old OpenSSL releases Ludovic Courtès
2021-08-11 15:18                   ` Giovanni Biscuolo
2021-08-11 17:52                     ` Leo Famulari
2021-08-12 17:24                       ` Giovanni Biscuolo
2021-08-15 22:10                       ` bug#49859: " Leo Famulari
2021-08-11 18:13           ` [bug#49859] [PATCH 3/6] gnu: Remove adb and fastboot Pierre Langlois
2021-08-04  3:01         ` Leo Famulari
2021-08-04  1:20   ` [bug#49859] [PATCH 4/6] gnu: Remove eschalot Leo Famulari
2021-08-04  1:20   ` [bug#49859] [PATCH 5/6] gnu: Remove psyclpc Leo Famulari
2021-08-04  1:20   ` [bug#49859] [PATCH 6/6] gnu: Remove tlsdate Leo Famulari
2021-08-04  1:29 ` [bug#49859] Remove packages that depend on unsupported old OpenSSL releases Leo Famulari

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=83DA07E5-55F3-4F1C-9C57-8957526A53B6@lepiller.eu \
    --to=julien@lepiller.eu \
    --cc=49859@debbugs.gnu.org \
    --cc=leo@famulari.name \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.