From patchwork Wed Jul 20 15:38:22 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: kiasoc5 X-Patchwork-Id: 40796 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 6578B27BBEB; Wed, 20 Jul 2022 16:39:25 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id A099827BBEA for ; Wed, 20 Jul 2022 16:39:24 +0100 (BST) Received: from localhost ([::1]:54968 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oEBnH-00037i-RZ for patchwork@mira.cbaines.net; Wed, 20 Jul 2022 11:39:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40902) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oEBmw-00031n-G7 for guix-patches@gnu.org; Wed, 20 Jul 2022 11:39:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60919) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oEBmw-0007uS-02 for guix-patches@gnu.org; Wed, 20 Jul 2022 11:39:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oEBmv-0005H1-KT for guix-patches@gnu.org; Wed, 20 Jul 2022 11:39:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56578] [PATCH V2] gnu: Add android-file-transfer. Resent-From: kiasoc5 Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 20 Jul 2022 15:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56578 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 56578@debbugs.gnu.org Received: via spool by 56578-submit@debbugs.gnu.org id=B56578.165833151820229 (code B ref 56578); Wed, 20 Jul 2022 15:39:01 +0000 Received: (at 56578) by debbugs.gnu.org; 20 Jul 2022 15:38:38 +0000 Received: from localhost ([127.0.0.1]:58678 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oEBmX-0005GD-ME for submit@debbugs.gnu.org; Wed, 20 Jul 2022 11:38:38 -0400 Received: from knopi.disroot.org ([178.21.23.139]:48900) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oEBmS-0005Fy-7j for 56578@debbugs.gnu.org; Wed, 20 Jul 2022 11:38:36 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id D7EA740DCA for <56578@debbugs.gnu.org>; Wed, 20 Jul 2022 17:38:30 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with UTF8SMTP id 6wHHxE9mnv7z for <56578@debbugs.gnu.org>; Wed, 20 Jul 2022 17:38:29 +0200 (CEST) Date: Wed, 20 Jul 2022 15:38:22 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1658331505; bh=L5zZCg5mKlgxe+OfKHc+jgtoZDZ45uev6B694yHMkZY=; h=Date:From:To:Subject:In-Reply-To:References; b=Xj6d7ksJbnxv1rtHv/DgIFnmgKvkWpM790rCc2KfzSbkthSMR047hIPlq2L6pEq/M 80LjrPpNNFy8aa/2rTWvxp76iGXgd9+mKrWMhlA38sW6VrMNpNg/m4vFk7gPHrryC2 D6eftSw4Aseew0V/ltqe5lJmMPOjqcyzwWsgmtd2I1kdLRLhYExl4LJlYGBF13sIEI QIBlmNEYmjonsP8EIwEjwdt3tLXU6gsNwoDMo97p3+5RrktKBScCKnQirzFCawlkWs q3BsubALy7sqMEoSs6xTT95dBC48lQpzv/MwnZl2a6gEwGbX0KaJuKiA/6hZZSp0VT cS6iBrPIXNmFg== Message-ID: <20220720153822.61d425c8@aria> In-Reply-To: References: <20220715174140.4048a2af@aria> Mime-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: kiasoc5 X-ACL-Warn: , kiasoc5 via Guix-patches X-Patchwork-Original-From: kiasoc5 via Guix-patches via From: kiasoc5 X-getmail-retrieved-from-mailbox: Patches Update to use fuse-3 instead of fuse. From 45372cd82e79e116d8f80abbfec0e7e1f53200e1 Mon Sep 17 00:00:00 2001 From: kiasoc5 Date: Fri, 15 Jul 2022 13:37:29 -0400 Subject: [PATCH V2] gnu: Add android-file-transfer. * gnu/packages/android.scm (android-file-transfer): New variable. --- gnu/packages/android.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) base-commit: be7b314f3fe22273e935accac22f313e44d3d970 diff --git a/gnu/packages/android.scm b/gnu/packages/android.scm index 04dc4b6499..dafd9b52f3 100644 --- a/gnu/packages/android.scm +++ b/gnu/packages/android.scm @@ -34,6 +34,7 @@ (define-module (gnu packages android) #:use-module (guix gexp) #:use-module (guix git-download) #:use-module (guix build-system android-ndk) + #:use-module (guix build-system cmake) #:use-module (guix build-system gnu) #:use-module (guix build-system go) #:use-module (guix build-system python) @@ -54,6 +55,8 @@ (define-module (gnu packages android) #:use-module (gnu packages python-crypto) #:use-module (gnu packages python-web) #:use-module (gnu packages python-xyz) + #:use-module (gnu packages qt) + #:use-module (gnu packages readline) #:use-module (gnu packages selinux) #:use-module (gnu packages serialization) #:use-module (gnu packages sphinx) @@ -1268,3 +1271,30 @@ (define-public enjarify applications. Enjarify can translate the Dalvik bytecode back to equivalent Java bytecode, which simplifies the analysis of Android applications.") (license license:asl2.0))) + +(define-public android-file-transfer + (package + (name "android-file-transfer") + (version "4.2") + (source (origin + (method git-fetch) + (uri (git-reference + (url + "https://github.com/whoozle/android-file-transfer-linux/") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "125rq8ji83nw6chfw43i0h9c38hjqh1qjibb0gnf9wrigar9zc8b")))) + (build-system cmake-build-system) + (arguments + (list #:tests? #f)) ;there are no tests + (inputs (list qtbase-5 fuse-3 libxkbcommon)) + (native-inputs (list qttools openssl readline)) + (home-page "https://whoozle.github.io/android-file-transfer-linux") + (synopsis "MTP client for Android devices") + (description + "This package provides a QT graphical interface for transfering +files with Android devices using MTP. It also allows the Android device to be +mounted via FUSE.") + (license license:lgpl2.1+)))