2017-04-15 16:17:27 +00:00
|
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
|
|
|
|
;;; Copyright © 2012 Stefan Handschuh <handschuh.stefan@googlemail.com>
|
|
|
|
|
;;; Copyright © 2015 Kai-Chung Yan <seamlikok@gmail.com>
|
2020-05-07 14:05:57 +00:00
|
|
|
|
;;; Copyright © 2016, 2020 Marius Bakke <mbakke@fastmail.com>
|
2017-04-15 16:17:27 +00:00
|
|
|
|
;;; Copyright © 2017 Julien Lepiller <julien@lepiller.eu>
|
2017-05-07 21:40:43 +00:00
|
|
|
|
;;; Copyright © 2017 Hartmut Goebel <h.goebel@crazy-compilers.com>
|
2022-04-20 01:52:21 +00:00
|
|
|
|
;;; Copyright © 2017, 2020, 2021, 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
2021-10-04 11:21:32 +00:00
|
|
|
|
;;; Copyright © 2018–2021 Tobias Geerinckx-Rice <me@tobias.gr>
|
2018-07-24 14:32:45 +00:00
|
|
|
|
;;; Copyright © 2018 Efraim Flashner <efraim@flashner.co.il>
|
2020-08-28 15:45:54 +00:00
|
|
|
|
;;; Copyright © 2019, 2020 Andreas Enge <andreas@enge.fr>
|
2019-06-25 15:19:10 +00:00
|
|
|
|
;;; Copyright © 2019 Ricardo Wurmus <rekado@elephly.net>
|
2020-04-07 04:57:13 +00:00
|
|
|
|
;;; Copyright © 2020 Sergey Trofimov <sarg@sarg.org.ru>
|
2021-08-31 13:06:36 +00:00
|
|
|
|
;;; Copyright © 2021 Guillaume Le Vaillant <glv@posteo.net>
|
2022-01-12 22:58:44 +00:00
|
|
|
|
;;; Copyright © 2021 Petr Hodina <phodina@protonmail.com>
|
2017-04-15 16:17:27 +00:00
|
|
|
|
;;;
|
|
|
|
|
;;; This file is part of GNU Guix.
|
|
|
|
|
;;;
|
|
|
|
|
;;; GNU Guix is free software; you can redistribute it and/or modify it
|
|
|
|
|
;;; under the terms of the GNU General Public License as published by
|
|
|
|
|
;;; the Free Software Foundation; either version 3 of the License, or (at
|
|
|
|
|
;;; your option) any later version.
|
|
|
|
|
;;;
|
|
|
|
|
;;; GNU Guix is distributed in the hope that it will be useful, but
|
|
|
|
|
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
;;; GNU General Public License for more details.
|
|
|
|
|
;;;
|
|
|
|
|
;;; You should have received a copy of the GNU General Public License
|
|
|
|
|
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
|
|
(define-module (gnu packages android)
|
|
|
|
|
#:use-module (guix packages)
|
2018-01-20 21:45:08 +00:00
|
|
|
|
#:use-module (guix download)
|
2021-08-31 13:06:36 +00:00
|
|
|
|
#:use-module (guix gexp)
|
2017-04-15 16:17:27 +00:00
|
|
|
|
#:use-module (guix git-download)
|
2018-04-26 00:15:57 +00:00
|
|
|
|
#:use-module (guix build-system android-ndk)
|
2022-07-15 17:37:29 +00:00
|
|
|
|
#:use-module (guix build-system cmake)
|
2020-04-07 04:57:13 +00:00
|
|
|
|
#:use-module (guix build-system gnu)
|
|
|
|
|
#:use-module (guix build-system go)
|
2017-05-07 21:40:43 +00:00
|
|
|
|
#:use-module (guix build-system python)
|
2017-09-29 13:17:03 +00:00
|
|
|
|
#:use-module (guix build-system trivial)
|
2017-04-15 16:17:27 +00:00
|
|
|
|
#:use-module ((guix licenses) #:prefix license:)
|
|
|
|
|
#:use-module (gnu packages)
|
gnu: Move testing packages from python.scm to check.scm.
* gnu/packages/python.scm (python-behave-web-api, python2-behave-web-api,
python-mock, python2-mock, python-mock-2, python-nose, python2-nose,
python-nose2, python2-nose2, python-unittest2, python2-unittest2,
python-pytest, python2-pytest, python-pytest-3.0, python2-pytest-3.0,
python-pytest-cov, python2-pytest-cov, python-pytest-runner,
python2-pytest-runner, python-pytest-mock, python2-pytest-mock,
python-pytest-xdist, python2-pytest-xdist, python-scripttest,
python2-scripttest, python-testtools, python2-testtools, python-testscenarios,
python2-testscenarios, python-testresources, python2-testresources,
python-subunit, python2-subunit, python-fixtures, python2-fixtures,
python-testrepository, python2-testrepository, python-coverage,
python2-coverage, python-cov-core, python2-cov-core, python-testpath,
python2-testpath, python-testlib, python2-testlib, python-pytest-cache,
python2-pytest-cache, python-pytest-localserver, python-pytest-xprocess,
python-pytest-subtesthack, python2-pytest-subtesthack, python-hypothesis,
python2-hypothesis, python-lit, python2-lit, python-pytest-pep8,
python2-pytest-pep8, python-pytest-flakes, python2-pytest-flakes,
python2-coverage-test-runner, python-pylint, python2-pylint,
python-paramunittest, python2-python-paramunittest, python-pytest-warnings,
python2-pytest-warnings, python-pytest-capturelog, python2-pytest-capturelog,
python-pytest-catchlog, python2-pytest-catchlog, python-nosexcover,
python2-nosexcover, python-discover, python2-discover, behave, python-rednose,
python2-rednose, python-nose-randomly, python2-nose-randomly,
python-nose-timer, python2-nose-timer): Move from here...
* gnu/packages/check.scm: ...to here.
* gnu/packages/admin.scm,
gnu/packages/android.scm,
gnu/packages/backup.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/calendar.scm,
gnu/packages/dav.scm,
gnu/packages/django.scm,
gnu/packages/freedesktop.scm,
gnu/packages/haskell.scm,
gnu/packages/image.scm,
gnu/packages/irc.scm,
gnu/packages/jrnl.scm,
gnu/packages/ldc.scm,
gnu/packages/libffi.scm,
gnu/packages/mail.scm,
gnu/packages/mpd.scm,
gnu/packages/openstack.scm,
gnu/packages/package-management.scm,
gnu/packages/password-utils.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/rdf.scm,
gnu/packages/statistics.scm,
gnu/packages/storage.scm,
gnu/packages/time.scm,
gnu/packages/tls.scm,
gnu/packages/tor.scm,
gnu/packages/tryton.scm: Adjust accordingly.
2017-11-17 20:42:23 +00:00
|
|
|
|
#:use-module (gnu packages check)
|
2018-04-26 00:23:29 +00:00
|
|
|
|
#:use-module (gnu packages compression)
|
2018-07-24 14:49:22 +00:00
|
|
|
|
#:use-module (gnu packages docker)
|
2019-09-19 10:56:54 +00:00
|
|
|
|
#:use-module (gnu packages gcc)
|
2017-05-07 21:40:43 +00:00
|
|
|
|
#:use-module (gnu packages gnupg)
|
2020-04-07 04:57:13 +00:00
|
|
|
|
#:use-module (gnu packages golang)
|
2021-12-27 18:33:12 +00:00
|
|
|
|
#:use-module (gnu packages image)
|
2019-09-19 23:43:47 +00:00
|
|
|
|
#:use-module (gnu packages java)
|
2019-02-05 14:55:58 +00:00
|
|
|
|
#:use-module (gnu packages linux)
|
2018-05-09 17:58:51 +00:00
|
|
|
|
#:use-module (gnu packages pcre)
|
2017-05-07 21:40:43 +00:00
|
|
|
|
#:use-module (gnu packages python)
|
2018-07-24 14:32:45 +00:00
|
|
|
|
#:use-module (gnu packages python-crypto)
|
2018-07-24 14:49:22 +00:00
|
|
|
|
#:use-module (gnu packages python-web)
|
gnu: Separate Python core packages from the rest.
* gnu/packages/python.scm: Move hundreds of package definitions from here...
* gnu/packages/python-xyz.scm: ...to this new module.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/android.scm,
gnu/packages/audio.scm,
gnu/packages/backup.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/calendar.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/cluster.scm,
gnu/packages/compression.scm,
gnu/packages/connman.scm,
gnu/packages/crypto.scm,
gnu/packages/cups.scm,
gnu/packages/databases.scm,
gnu/packages/dav.scm,
gnu/packages/direct-connect.scm,
gnu/packages/disk.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/docker.scm,
gnu/packages/ebook.scm,
gnu/packages/elf.scm,
gnu/packages/emacs.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/enlightenment.scm,
gnu/packages/finance.scm,
gnu/packages/fltk.scm,
gnu/packages/fontutils.scm,
gnu/packages/freedesktop.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/geo.scm,
gnu/packages/gl.scm,
gnu/packages/glib.scm,
gnu/packages/gnome.scm,
gnu/packages/gnupg.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/gtk.scm,
gnu/packages/ham-radio.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/irc.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/kde-frameworks.scm,
gnu/packages/key-mon.scm,
gnu/packages/libffi.scm,
gnu/packages/libreoffice.scm,
gnu/packages/libusb.scm,
gnu/packages/lirc.scm,
gnu/packages/logging.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/mate.scm,
gnu/packages/maths.scm,
gnu/packages/medical.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mp3.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/nutrition.scm,
gnu/packages/openldap.scm,
gnu/packages/openstack.scm,
gnu/packages/package-management.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/photo.scm,
gnu/packages/polkit.scm,
gnu/packages/protobuf.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/qt.scm,
gnu/packages/rdf.scm,
gnu/packages/ruby.scm,
gnu/packages/search.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/simulation.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/storage.scm,
gnu/packages/sync.scm,
gnu/packages/terminals.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tls.scm,
gnu/packages/tor.scm,
gnu/packages/tryton.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/virtualization.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wicd.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xorg.scm: Update module references.
2019-01-15 13:21:30 +00:00
|
|
|
|
#:use-module (gnu packages python-xyz)
|
2022-07-15 17:37:29 +00:00
|
|
|
|
#:use-module (gnu packages qt)
|
|
|
|
|
#:use-module (gnu packages readline)
|
2018-05-09 17:58:51 +00:00
|
|
|
|
#:use-module (gnu packages selinux)
|
2018-07-24 14:49:22 +00:00
|
|
|
|
#:use-module (gnu packages serialization)
|
2022-01-12 23:01:46 +00:00
|
|
|
|
#:use-module (gnu packages sphinx)
|
2017-05-07 21:40:43 +00:00
|
|
|
|
#:use-module (gnu packages ssh)
|
2022-01-12 23:01:46 +00:00
|
|
|
|
#:use-module (gnu packages time)
|
2018-01-20 21:45:08 +00:00
|
|
|
|
#:use-module (gnu packages tls)
|
2018-07-24 14:32:45 +00:00
|
|
|
|
#:use-module (gnu packages version-control)
|
2018-07-24 14:49:22 +00:00
|
|
|
|
#:use-module (gnu packages virtualization)
|
2018-07-24 14:32:45 +00:00
|
|
|
|
#:use-module (gnu packages xdisorg)
|
2019-02-05 14:55:58 +00:00
|
|
|
|
#:use-module (gnu packages xml))
|
2017-04-15 16:17:27 +00:00
|
|
|
|
|
2018-05-09 17:14:21 +00:00
|
|
|
|
(define-public android-make-stub
|
|
|
|
|
(package
|
|
|
|
|
(name "android-make-stub")
|
2018-05-10 13:31:43 +00:00
|
|
|
|
(version "0.6.0")
|
2018-05-09 17:14:21 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 20:53:28 +00:00
|
|
|
|
(url "https://github.com/daym/android-make-stub")
|
2018-05-09 19:43:32 +00:00
|
|
|
|
(commit (string-append "v" version))))
|
2018-05-09 17:14:21 +00:00
|
|
|
|
(file-name (string-append "android-make-stub-"
|
|
|
|
|
version "-checkout"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-05-10 13:31:43 +00:00
|
|
|
|
"0y1b2x96d37n6f1bp6dcx08bn08zac0cylmbfsx6mf2nahc02fhc"))))
|
2018-05-09 17:14:21 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; None exist.
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
(delete 'build)
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out")))
|
|
|
|
|
(invoke "make" (string-append "prefix=" out) "install")
|
|
|
|
|
#t))))))
|
|
|
|
|
(home-page "https://github.com/daym/android-make-stub")
|
|
|
|
|
(synopsis "Stubs for the @command{make} system of the Android platform")
|
|
|
|
|
(description "@code{android-make-stub} provides stubs for the
|
|
|
|
|
@command{make} system of the Android platform. This allows us to
|
|
|
|
|
use their packages mostly unmodified in our Android NDK build system.")
|
2018-05-09 19:43:32 +00:00
|
|
|
|
(license license:asl2.0)))
|
2018-05-09 17:14:21 +00:00
|
|
|
|
|
2018-05-09 23:51:08 +00:00
|
|
|
|
(define-public android-googletest
|
|
|
|
|
(package (inherit googletest)
|
|
|
|
|
(name "android-googletest")
|
2019-06-25 15:19:10 +00:00
|
|
|
|
(version "1.8.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 20:53:28 +00:00
|
|
|
|
(url "https://github.com/google/googletest")
|
2019-06-25 15:19:10 +00:00
|
|
|
|
(commit (string-append "release-" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0bjlljmbf8glnd9qjabx73w6pd7ibv43yiyngqvmvgxsabzr8399"))))
|
2018-05-09 23:51:08 +00:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags '("-DBUILD_SHARED_LIBS=ON")
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'install 'install-host-libraries
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(lib (string-append out "/lib")))
|
|
|
|
|
(symlink "libgtest.so"
|
|
|
|
|
(string-append lib "/libgtest_host.so"))
|
|
|
|
|
(symlink "libgmock.so"
|
|
|
|
|
(string-append lib "/libgmock_host.so"))
|
|
|
|
|
#t))))))))
|
|
|
|
|
|
2017-04-15 16:17:27 +00:00
|
|
|
|
;; The Makefiles that we add are largely based on the Debian
|
|
|
|
|
;; packages. They are licensed under GPL-2 and have copyright:
|
|
|
|
|
;; 2012, Stefan Handschuh <handschuh.stefan@googlemail.com>
|
|
|
|
|
;; 2015, Kai-Chung Yan <seamlikok@gmail.com>
|
|
|
|
|
;; Big thanks to them for laying the groundwork.
|
|
|
|
|
|
|
|
|
|
;; The version tag is consistent between all repositories.
|
2020-08-07 02:10:26 +00:00
|
|
|
|
(define-public (android-platform-version) "7.1.2_r36")
|
2017-04-15 16:17:27 +00:00
|
|
|
|
|
2020-08-07 02:10:27 +00:00
|
|
|
|
(define-public (android-platform-system-core version)
|
2017-04-15 16:17:27 +00:00
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://android.googlesource.com/platform/system/core")
|
|
|
|
|
(commit (string-append "android-" version))))
|
|
|
|
|
(file-name (string-append "android-platform-system-core-"
|
|
|
|
|
version "-checkout"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-11-26 19:35:35 +00:00
|
|
|
|
"1krnc2b9zfkzpdgs1dcbji59nszlx2qr723pg89m52622czc06hg"))
|
2018-04-26 00:17:58 +00:00
|
|
|
|
(patches
|
|
|
|
|
(search-patches "libbase-use-own-logging.patch"
|
|
|
|
|
"libbase-fix-includes.patch"
|
2018-05-09 18:11:30 +00:00
|
|
|
|
"libutils-remove-damaging-includes.patch"
|
|
|
|
|
"libutils-add-includes.patch"
|
2018-04-26 00:23:29 +00:00
|
|
|
|
"adb-add-libraries.patch"
|
2021-08-12 16:09:02 +00:00
|
|
|
|
"adb-libssl_11-compatibility.patch"
|
2018-04-26 00:23:29 +00:00
|
|
|
|
"libziparchive-add-includes.patch"))))
|
2017-04-15 16:17:27 +00:00
|
|
|
|
|
2018-05-09 20:32:04 +00:00
|
|
|
|
(define (android-platform-system-extras version)
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://android.googlesource.com/platform/system/extras")
|
|
|
|
|
(commit (string-append "android-" version))))
|
|
|
|
|
(file-name (string-append "android-platform-system-extras-"
|
|
|
|
|
version "-checkout"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"18130c23ybqcpgjc5v6f8kdbv2xn39hyiaj17dzldjb9rlwzcyy9"))))
|
|
|
|
|
|
2018-04-26 00:45:10 +00:00
|
|
|
|
(define (android-platform-bionic version)
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://android.googlesource.com/platform/bionic")
|
|
|
|
|
(commit (string-append "android-" version))))
|
|
|
|
|
(file-name (string-append "android-platform-bionic-"
|
|
|
|
|
version "-checkout"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-11-26 19:35:35 +00:00
|
|
|
|
"15r4s20d7vw022f8vrc3jbghmqwdcqzprl7i2bfvdkz8z76wc1ps"))))
|
2017-04-15 16:17:27 +00:00
|
|
|
|
|
2018-04-26 00:35:41 +00:00
|
|
|
|
(define (android-platform-external version subdirectory checksum)
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url
|
|
|
|
|
(string-append "https://android.googlesource.com/platform/external/"
|
|
|
|
|
subdirectory))
|
|
|
|
|
(commit (string-append "android-" version))))
|
|
|
|
|
(file-name (string-append "android-platform-system-external-" subdirectory "-"
|
|
|
|
|
version "-checkout"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
checksum))))
|
|
|
|
|
|
2021-12-27 18:33:12 +00:00
|
|
|
|
(define (android-platform-development version)
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://android.googlesource.com/platform/development")
|
|
|
|
|
(commit (string-append "android-" version))))
|
|
|
|
|
(file-name (string-append "android-platform-development-"
|
|
|
|
|
version "-checkout"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0s92961yycg8wsga40i7fvbfmf1a5i6j2gk64j2jiy7s0hfd4rc3"))))
|
|
|
|
|
|
2017-05-08 13:57:23 +00:00
|
|
|
|
(define (android-platform-frameworks-native version)
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://android.googlesource.com/platform/frameworks/native")
|
|
|
|
|
(commit (string-append "android-" version))))
|
|
|
|
|
(file-name (string-append "android-platform-frameworks-native-"
|
|
|
|
|
version "-checkout"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "00dgx27wma7wzivniy8zyw2443fi2xx8gyxii081m0fwamqd3jrm"))))
|
|
|
|
|
|
2020-08-01 20:16:25 +00:00
|
|
|
|
(define-public android-liblog
|
2017-04-15 16:17:27 +00:00
|
|
|
|
(package
|
2018-05-09 20:25:10 +00:00
|
|
|
|
(name "android-liblog")
|
2017-04-15 16:17:27 +00:00
|
|
|
|
(version (android-platform-version))
|
|
|
|
|
(source (android-platform-system-core version))
|
2018-04-26 00:15:57 +00:00
|
|
|
|
(build-system android-ndk-build-system)
|
2017-04-15 16:17:27 +00:00
|
|
|
|
(arguments
|
2018-05-09 23:08:49 +00:00
|
|
|
|
`(#:make-flags '("LDLIBS=-lpthread")
|
2017-04-15 16:17:27 +00:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'enter-source
|
|
|
|
|
(lambda _ (chdir "liblog") #t))
|
2018-05-09 19:45:13 +00:00
|
|
|
|
(add-after 'install 'ldconfig
|
2017-04-15 16:17:27 +00:00
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
2018-05-09 19:45:13 +00:00
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
(symlink "liblog.so.0" (string-append out "/lib/liblog.so"))
|
2020-08-11 11:12:28 +00:00
|
|
|
|
#t)))
|
|
|
|
|
(add-after 'install 'install-headers
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
(copy-recursively
|
|
|
|
|
"../include/log" (string-append out "/include/log"))
|
|
|
|
|
;; For android/log.h, the only header in the android directory.
|
|
|
|
|
(copy-recursively
|
|
|
|
|
"../include/android" (string-append out "/include/android")))
|
|
|
|
|
#t)))))
|
2017-04-15 16:17:27 +00:00
|
|
|
|
(home-page "https://developer.android.com/")
|
gnu: Remove trailing period from synopsis.
* gnu/packages/anddroid.scm (android-liblog, git-repo)[synopsis]: Remove
trailing period.
* gnu/packages/audio.scm (audio-to-midi)[synopsis]: Likewise.
* gnu/packages/bioinformatics.scm (python-mygene, python-scanpy,
nanosv)[synopsis]: Likewise.
* gnu/packages/cran.scm (r-gsubfn)[synopsis]: Likewise.
* gnu/packages/crates-io.scm (rust-ascii-1, rust-bindgen-0.59,
rust-byte-unit-4, rust-clircle-0.3, rust-dashmap-4, rust-dhcp4r-0.2,
rust-fast-float-0.2, rust-fst-0.4, rust-futures-core-preview-0.3,
rust-http-types-2, rust-hyper-0.14, rust-indexmap-1,
rust-minimal-lexical-0.1, rust-oorandom-11.1, rust-runtime-raw-0.3,
rust-sharded-slab-0.1, rust-takeable-option-0.4, rust-tower-service-0.3,
rust-ttf-parser-0.12)[synopsis]: Likewise.
* gnu/packages/disk.scm (f3)[synopsis]: Likewise.
* gnu/packages/emacs-xyz.scm (emacs-scribble-mode, emacs-psession)[synopsis]:
Likewise.
* gnu/packages/golang.scm (go-github-com-kylelemons-godebug)[synopsis]:
Likewise.
* gnu/packages/haskell-xyz.scm (ghc-fsnotify, ghc-libyaml, ghc-emojis,
ghc-regex-tdfa, ghc-th-lift-instances, ghc-commonmark-pandoc)[synopsis]:
Likewise.
* gnu/packages/java.scm (java-commons-jxpath, java-jakarta-regexp)[synopsis]:
Likewise.
* gnu/packages/lisp-xyz.scm (sbcl-cl-annot, sbcl-envy)[synopsis]: Likewise.
* gnu/packages/mail.scm (go-gitlab.com-shackra-goimapnotify)[synopsis]:
Likewise.
* gnu/packages/maven.scm (maven-wagon-http-shared,
maven-surefire-plugin)[synopsis]: Likewise.
* gnu/packages/perl.scm (perl-text-soundex)[synopsis]: Likewise.
* gnu/packages/python-check.scm (python-httmock)[synopsis]: Likewise.
* gnu/packages/python-web.scm (python-bottle)[synopsis]: Likewise.
* gnu/packages/python-xyz.scm (python-olefile, python-tokenize-rt,
python-pylzma)[synopsis]: Likewise.
* gnu/packages/tex.scm (texlive-docstrip)[synopsis]: Likewise.
2021-12-31 02:39:42 +00:00
|
|
|
|
(synopsis "Logging library from the Android platform")
|
2017-04-15 16:17:27 +00:00
|
|
|
|
(description "@code{liblog} represents an interface to the volatile Android
|
|
|
|
|
Logging system for NDK (Native) applications and libraries and contain
|
|
|
|
|
interfaces for either writing or reading logs. The log buffers are divided up
|
|
|
|
|
in Main, System, Radio and Events sub-logs.")
|
|
|
|
|
(license license:asl2.0)))
|
|
|
|
|
|
2018-05-09 20:26:06 +00:00
|
|
|
|
(define android-libbase
|
2017-04-15 16:17:27 +00:00
|
|
|
|
(package
|
2018-05-09 20:26:06 +00:00
|
|
|
|
(name "android-libbase")
|
2017-04-15 16:17:27 +00:00
|
|
|
|
(version (android-platform-version))
|
2018-04-26 00:17:58 +00:00
|
|
|
|
(source (android-platform-system-core version))
|
2018-04-26 00:15:58 +00:00
|
|
|
|
(build-system android-ndk-build-system)
|
2017-04-15 16:17:27 +00:00
|
|
|
|
(arguments
|
2018-05-09 23:10:33 +00:00
|
|
|
|
`(#:tests? #f ; Test failure: logging.UNIMPLEMENTED
|
2017-04-15 16:17:27 +00:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'enter-source
|
2018-04-26 00:15:58 +00:00
|
|
|
|
(lambda _ (chdir "base") #t)))))
|
2018-05-09 20:25:10 +00:00
|
|
|
|
(inputs `(("android-liblog" ,android-liblog)))
|
2017-04-15 16:17:27 +00:00
|
|
|
|
(home-page "https://developer.android.com/")
|
|
|
|
|
(synopsis "Android platform base library")
|
|
|
|
|
(description "@code{libbase} is a library in common use by the
|
|
|
|
|
various Android core host applications.")
|
|
|
|
|
(license license:asl2.0)))
|
|
|
|
|
|
2020-08-01 20:16:24 +00:00
|
|
|
|
(define-public android-libcutils
|
2017-04-15 16:17:27 +00:00
|
|
|
|
(package
|
2018-05-09 20:27:34 +00:00
|
|
|
|
(name "android-libcutils")
|
2017-04-15 16:17:27 +00:00
|
|
|
|
(version (android-platform-version))
|
|
|
|
|
(source (android-platform-system-core version))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; TODO.
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'enter-source
|
|
|
|
|
(lambda _ (chdir "libcutils") #t))
|
|
|
|
|
(add-after 'enter-source 'create-Makefile
|
|
|
|
|
(lambda _
|
|
|
|
|
;; No useful makefile is shipped, so we create one.
|
|
|
|
|
(with-output-to-file "Makefile"
|
|
|
|
|
(lambda _
|
|
|
|
|
(display
|
|
|
|
|
(string-append
|
|
|
|
|
"NAME = libcutils\n"
|
|
|
|
|
"SOURCES = load_file.o socket_local_client_unix.o"
|
|
|
|
|
" socket_loopback_client_unix.o socket_network_client_unix.o"
|
|
|
|
|
" socket_loopback_server_unix.o socket_local_server_unix.o"
|
|
|
|
|
" sockets_unix.o socket_inaddr_any_server_unix.o"
|
|
|
|
|
" sockets.o\n"
|
|
|
|
|
"CC = gcc\n"
|
|
|
|
|
|
|
|
|
|
"CFLAGS += -fPIC\n"
|
gnu: Remove more GCC < 7 workarounds.
* gnu/packages/abiword.scm (abiword)[arguments]: Do not pass "-std=c++11" to
the GCC command line.
* gnu/packages/aidc.scm (zbar)[arguments]: Likewise.
* gnu/packages/android.scm (android-libbase, android-libcutils,
android-libziparchive, fastboot)[arguments]: Likewise.
* gnu/packages/audio.scm (azr3, guitarix, suil)[arguments]: Likewise.
* gnu/packages/bioinformatics.scm (bless)[arguments]: Likewise.
* gnu/packages/bittorrent.scm (libtorrent-rasterbar)[arguments]: Likewise.
* gnu/packages/code.scm (rtags)[arguments]: Likewise.
* gnu/packages/coq.scm (coq-gappa)[arguments]: Likewise.
* gnu/packages/emulators.scm (dolphin-emu)[arguments]: Likewise.
* gnu/packages/engineering.scm (xyce-serial, xyce-parallel)[arguments]: Likewise.
* gnu/packages/gnupg.scm (pinentry-qt)[arguments]: Likewise.
* gnu/packages/gobby.scm (libnet6, obby)[arguments]: Likewise.
* gnu/packages/graph.scm (python-faiss)[arguments]: Likewise.
* gnu/packages/graphics.scm (povray)[arguments]: Likewise.
* gnu/packages/image-processing.scm (opencv, itk-snap)[arguments]: Likewise.
* gnu/packages/image.scm (freeimage)[arguments]: Likewise.
* gnu/packages/kodi.scm (crossguid)[arguments]: Likewise.
* gnu/packages/music.scm (amsynth, qmidiarp, qmidiroute, seq24)[arguments]: Likewise.
* gnu/packages/pdf.scm (python-poppler-qt5)[arguments]: Likewise.
* gnu/packages/sagemath.scm (lcalc)[arguments]: Likewise.
* gnu/packages/video.scm (vlc, mlt, v4l-utils)[arguments]: Likewise.
2019-10-20 11:31:19 +00:00
|
|
|
|
"CXXFLAGS += -fPIC\n"
|
2017-04-15 16:17:27 +00:00
|
|
|
|
"CPPFLAGS += -Iinclude -I../include\n"
|
|
|
|
|
"LDFLAGS += -shared -Wl,-soname,$(NAME).so.0\n"
|
|
|
|
|
|
|
|
|
|
"build: $(SOURCES)\n"
|
|
|
|
|
" $(CXX) $^ -o $(NAME).so.0 $(CXXFLAGS) $(CPPFLAGS)"
|
|
|
|
|
" $(LDFLAGS)\n"))
|
|
|
|
|
#t))))
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
2018-04-26 00:52:18 +00:00
|
|
|
|
(lib (string-append out "/lib"))
|
|
|
|
|
(include (string-append out "/include")))
|
2017-04-15 16:17:27 +00:00
|
|
|
|
(install-file "libcutils.so.0" lib)
|
|
|
|
|
(with-directory-excursion lib
|
|
|
|
|
(symlink "libcutils.so.0" "libcutils.so"))
|
2018-04-26 00:52:18 +00:00
|
|
|
|
(copy-recursively "../include/cutils"
|
|
|
|
|
(string-append include "/cutils"))
|
2017-04-15 16:17:27 +00:00
|
|
|
|
#t))))))
|
|
|
|
|
(home-page "https://developer.android.com/")
|
|
|
|
|
(synopsis "Android platform c utils library")
|
|
|
|
|
(description "@code{libcutils} is a library in common use by the
|
|
|
|
|
various Android core host applications.")
|
|
|
|
|
(license license:asl2.0)))
|
|
|
|
|
|
2018-04-26 00:26:53 +00:00
|
|
|
|
(define-public android-libsparse
|
|
|
|
|
(package
|
|
|
|
|
(name "android-libsparse")
|
|
|
|
|
(version (android-platform-version))
|
|
|
|
|
(source (android-platform-system-core version))
|
|
|
|
|
(build-system android-ndk-build-system)
|
|
|
|
|
(arguments
|
2018-05-09 23:11:30 +00:00
|
|
|
|
`(#:make-flags '("CFLAGS=-Wno-error"
|
2018-04-26 00:26:53 +00:00
|
|
|
|
"CXXFLAGS=-fpermissive -Wno-error")
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'enter-source
|
|
|
|
|
(lambda _ (chdir "libsparse") #t)))))
|
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list zlib))
|
2018-04-26 00:26:53 +00:00
|
|
|
|
(home-page "https://developer.android.com/")
|
|
|
|
|
(synopsis "Android platform sparse library")
|
|
|
|
|
(description "@code{android-libsparse} is a library in common use by the
|
|
|
|
|
various Android core host applications.")
|
|
|
|
|
(license license:asl2.0)))
|
|
|
|
|
|
2018-04-26 00:23:29 +00:00
|
|
|
|
(define-public android-libziparchive
|
|
|
|
|
(package
|
|
|
|
|
(name "android-libziparchive")
|
|
|
|
|
(version (android-platform-version))
|
|
|
|
|
(source (android-platform-system-core version))
|
|
|
|
|
(build-system android-ndk-build-system)
|
|
|
|
|
(arguments
|
2018-05-09 23:27:01 +00:00
|
|
|
|
`(#:make-flags '("CFLAGS=-Wno-error"
|
gnu: Remove more GCC < 7 workarounds.
* gnu/packages/abiword.scm (abiword)[arguments]: Do not pass "-std=c++11" to
the GCC command line.
* gnu/packages/aidc.scm (zbar)[arguments]: Likewise.
* gnu/packages/android.scm (android-libbase, android-libcutils,
android-libziparchive, fastboot)[arguments]: Likewise.
* gnu/packages/audio.scm (azr3, guitarix, suil)[arguments]: Likewise.
* gnu/packages/bioinformatics.scm (bless)[arguments]: Likewise.
* gnu/packages/bittorrent.scm (libtorrent-rasterbar)[arguments]: Likewise.
* gnu/packages/code.scm (rtags)[arguments]: Likewise.
* gnu/packages/coq.scm (coq-gappa)[arguments]: Likewise.
* gnu/packages/emulators.scm (dolphin-emu)[arguments]: Likewise.
* gnu/packages/engineering.scm (xyce-serial, xyce-parallel)[arguments]: Likewise.
* gnu/packages/gnupg.scm (pinentry-qt)[arguments]: Likewise.
* gnu/packages/gobby.scm (libnet6, obby)[arguments]: Likewise.
* gnu/packages/graph.scm (python-faiss)[arguments]: Likewise.
* gnu/packages/graphics.scm (povray)[arguments]: Likewise.
* gnu/packages/image-processing.scm (opencv, itk-snap)[arguments]: Likewise.
* gnu/packages/image.scm (freeimage)[arguments]: Likewise.
* gnu/packages/kodi.scm (crossguid)[arguments]: Likewise.
* gnu/packages/music.scm (amsynth, qmidiarp, qmidiroute, seq24)[arguments]: Likewise.
* gnu/packages/pdf.scm (python-poppler-qt5)[arguments]: Likewise.
* gnu/packages/sagemath.scm (lcalc)[arguments]: Likewise.
* gnu/packages/video.scm (vlc, mlt, v4l-utils)[arguments]: Likewise.
2019-10-20 11:31:19 +00:00
|
|
|
|
"CXXFLAGS=-fpermissive -Wno-error")
|
2018-04-26 00:23:29 +00:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'enter-source
|
|
|
|
|
(lambda _ (chdir "libziparchive") #t))
|
2018-05-09 23:27:01 +00:00
|
|
|
|
(add-before 'check 'setenv
|
|
|
|
|
(lambda _
|
|
|
|
|
(setenv "ziparchive_tests_host_PARAMS" "--test_data_dir=testdata")
|
|
|
|
|
#t))
|
2018-04-26 00:23:29 +00:00
|
|
|
|
(add-after 'install 'install-headers
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
(copy-recursively "../include/ziparchive"
|
|
|
|
|
(string-append out "/include/ziparchive"))
|
|
|
|
|
#t))))))
|
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list zlib))
|
2018-05-09 23:27:01 +00:00
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list android-libbase android-libutils android-liblog))
|
2018-04-26 00:23:29 +00:00
|
|
|
|
(home-page "https://developer.android.com/")
|
|
|
|
|
(synopsis "Android platform ZIP library")
|
|
|
|
|
(description "@code{android-libziparchive} is a library in common use by the
|
|
|
|
|
various Android core host applications.")
|
|
|
|
|
(license license:asl2.0)))
|
|
|
|
|
|
2017-04-15 16:17:27 +00:00
|
|
|
|
(define-public adb
|
|
|
|
|
(package
|
|
|
|
|
(name "adb")
|
|
|
|
|
(version (android-platform-version))
|
2018-04-26 00:17:58 +00:00
|
|
|
|
(source (android-platform-system-core version))
|
2018-04-26 00:15:59 +00:00
|
|
|
|
(build-system android-ndk-build-system)
|
2017-04-15 16:17:27 +00:00
|
|
|
|
(arguments
|
2018-05-10 00:44:34 +00:00
|
|
|
|
`(#:tests? #f ; Test failure: sysdeps_poll.fd_count
|
2018-04-26 00:15:59 +00:00
|
|
|
|
#:make-flags
|
2021-09-05 11:56:25 +00:00
|
|
|
|
,#~(list
|
|
|
|
|
"CFLAGS=-Wno-error"
|
|
|
|
|
"CXXFLAGS=-fpermissive -Wno-error -std=gnu++14 -D_Nonnull= -D_Nullable= -I ."
|
|
|
|
|
(string-append
|
|
|
|
|
"LDFLAGS=-Wl,-rpath=" #$output "/lib "
|
|
|
|
|
"-Wl,-rpath=" #$(this-package-input "openssl") "/lib -L ."))
|
2018-04-26 00:15:59 +00:00
|
|
|
|
#:phases
|
2017-04-15 16:17:27 +00:00
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'enter-source
|
|
|
|
|
(lambda _ (chdir "adb") #t))
|
2018-11-24 18:26:01 +00:00
|
|
|
|
(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))
|
2018-04-26 00:15:59 +00:00
|
|
|
|
(add-after 'enter-source 'make-libs-available
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(substitute* "Android.mk"
|
|
|
|
|
(("libcrypto_static") "libcrypto"))
|
2017-04-15 16:17:27 +00:00
|
|
|
|
#t))
|
2018-04-26 00:15:59 +00:00
|
|
|
|
(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)))))
|
2017-04-15 16:17:27 +00:00
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list android-libbase android-libcutils android-liblog openssl))
|
2017-04-15 16:17:27 +00:00
|
|
|
|
(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)))
|
2017-05-07 21:40:43 +00:00
|
|
|
|
|
2018-01-20 22:07:20 +00:00
|
|
|
|
(define-public mkbootimg
|
|
|
|
|
(package
|
|
|
|
|
(name "mkbootimg")
|
|
|
|
|
(version (android-platform-version))
|
|
|
|
|
(source (origin
|
|
|
|
|
(inherit (android-platform-system-core version))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'enter-source
|
|
|
|
|
(lambda _ (chdir "mkbootimg") #t))
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
(delete 'build)
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
2018-04-26 00:16:00 +00:00
|
|
|
|
(bin (string-append out "/bin"))
|
|
|
|
|
(include (string-append out "/include")))
|
2018-01-20 22:07:20 +00:00
|
|
|
|
(install-file "mkbootimg" bin)
|
2018-04-26 00:16:00 +00:00
|
|
|
|
(install-file "bootimg.h" include)
|
2018-01-20 22:07:20 +00:00
|
|
|
|
#t))))))
|
|
|
|
|
(home-page "https://developer.android.com/studio/command-line/adb.html")
|
|
|
|
|
(synopsis "Tool to create Android boot images")
|
|
|
|
|
(description "This package provides a tool to create Android Boot
|
|
|
|
|
Images.")
|
|
|
|
|
(license license:asl2.0)))
|
|
|
|
|
|
2018-04-26 00:35:41 +00:00
|
|
|
|
(define-public android-safe-iop
|
|
|
|
|
(package
|
|
|
|
|
(name "android-safe-iop")
|
|
|
|
|
(version (android-platform-version))
|
|
|
|
|
(source (android-platform-external version "safe-iop"
|
|
|
|
|
"1nyyrs463advjhlq8xx1lm37m4g5afv7gy0csxrj7biwwl0v13qw"))
|
|
|
|
|
(build-system android-ndk-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:make-flags '("CXXFLAGS=-fpermissive -Wno-error")
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'build 'patch-host
|
|
|
|
|
(lambda _
|
|
|
|
|
;; TODO: Cross-compile.
|
|
|
|
|
(substitute* "Android.mk"
|
|
|
|
|
(("BUILD_STATIC_LIBRARY") "BUILD_HOST_STATIC_LIBRARY"))
|
|
|
|
|
#t)))))
|
|
|
|
|
(home-page "https://developer.android.com/")
|
|
|
|
|
(synopsis "Safe integers in C")
|
|
|
|
|
(description "@code{android-safe-iop} provides a set of functions for
|
|
|
|
|
performing and checking safe integer operations. Ensure that integer
|
|
|
|
|
operations do not result in silent overflow.")
|
|
|
|
|
(license license:bsd-2)))
|
|
|
|
|
|
2018-04-26 00:45:10 +00:00
|
|
|
|
(define-public android-bionic-uapi
|
|
|
|
|
(package
|
|
|
|
|
(name "android-bionic-uapi")
|
|
|
|
|
(version (android-platform-version))
|
|
|
|
|
(source (android-platform-bionic version))
|
|
|
|
|
(build-system android-ndk-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'enter-source
|
|
|
|
|
(lambda _ (chdir "libc") #t))
|
|
|
|
|
(replace 'check
|
|
|
|
|
(const #t))
|
|
|
|
|
(replace 'build
|
|
|
|
|
(const #t))
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(out-sys (string-append out "/include/sys")))
|
|
|
|
|
(mkdir-p out-sys)
|
|
|
|
|
(install-file "include/sys/system_properties.h" out-sys)
|
|
|
|
|
(install-file "include/sys/_system_properties.h" out-sys)
|
|
|
|
|
(copy-recursively "kernel/uapi" (string-append out "/include"))
|
|
|
|
|
#t))))))
|
|
|
|
|
(home-page "https://developer.android.com/")
|
|
|
|
|
(synopsis "Android Linux API that is safe for user space")
|
|
|
|
|
(description "@code{android-bionic-uapi} provides the part of the Linux API
|
|
|
|
|
that is safe to use for user space. It also includes
|
|
|
|
|
@code{system_properties.h} and @code{_system_properties.h}.")
|
|
|
|
|
(license license:asl2.0)))
|
|
|
|
|
|
2018-05-09 17:58:51 +00:00
|
|
|
|
(define-public android-libselinux
|
|
|
|
|
(package
|
|
|
|
|
(name "android-libselinux")
|
|
|
|
|
(version (android-platform-version))
|
|
|
|
|
(source
|
|
|
|
|
(android-platform-external version "libselinux"
|
|
|
|
|
"13m2q32gzdcs5d0zj1nwasjy1j8vsxsgbjg7m5sa9lfcjaj7nkm7"))
|
|
|
|
|
(build-system android-ndk-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
;; See logd/Android.mk for the *_LOG_TAG values.
|
|
|
|
|
`(#:make-flags (list (string-append "CFLAGS=-Wno-error "
|
|
|
|
|
"-I core/include "
|
|
|
|
|
"-I core/libpackagelistparser/include "
|
|
|
|
|
"-DAUDITD_LOG_TAG=1003 "
|
|
|
|
|
"-DLOGD_LOG_TAG=1004 -D_GNU_SOURCE")
|
|
|
|
|
"LDFLAGS=-L . -lpcre")
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack-core 'patch-HOST
|
|
|
|
|
(lambda _
|
|
|
|
|
;; gettid duplicates otherwise.
|
|
|
|
|
(substitute* "src/procattr.c"
|
|
|
|
|
(("#ifdef HOST") "#ifdef XXX"))
|
|
|
|
|
#t)))))
|
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list openssl))
|
2018-05-09 17:58:51 +00:00
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list android-bionic-uapi
|
|
|
|
|
;; pcre is inlined by our package.
|
|
|
|
|
pcre))
|
2018-05-09 17:58:51 +00:00
|
|
|
|
(home-page "https://developer.android.com/")
|
2019-12-02 10:32:17 +00:00
|
|
|
|
(synopsis "Android version of the SELinux libraries and utilities")
|
|
|
|
|
(description
|
|
|
|
|
"The libselinux library provides an API for SELinux applications to get
|
|
|
|
|
and set process and file security contexts, and to obtain security policy
|
|
|
|
|
decisions. It is required for any applications that use the SELinux API, and
|
|
|
|
|
used by all applications that are SELinux-aware. This package also includes
|
|
|
|
|
the core SELinux management utilities.")
|
|
|
|
|
(license license:public-domain)))
|
2018-05-09 17:58:51 +00:00
|
|
|
|
|
2018-05-09 20:32:04 +00:00
|
|
|
|
(define-public android-ext4-utils
|
|
|
|
|
(package
|
|
|
|
|
(name "android-ext4-utils")
|
|
|
|
|
(version (android-platform-version))
|
|
|
|
|
(source (android-platform-system-extras version))
|
|
|
|
|
(build-system android-ndk-build-system)
|
|
|
|
|
(arguments
|
2018-05-09 23:35:33 +00:00
|
|
|
|
`(#:make-flags
|
2021-09-05 11:56:25 +00:00
|
|
|
|
,#~(list
|
|
|
|
|
(string-append
|
|
|
|
|
"CPPFLAGS="
|
|
|
|
|
;"-Wno-error "
|
|
|
|
|
"-I " #$(this-package-input "android-libselinux") "/include "
|
|
|
|
|
"-I " #$(this-package-input "android-libsparse") "/include "
|
|
|
|
|
"-I " #$(this-package-input "android-libcutils") "/include "
|
|
|
|
|
"-I " #$(this-package-input "android-liblog") "/include "
|
|
|
|
|
"-I ../core/include")
|
|
|
|
|
"CFLAGS=-Wno-error"
|
|
|
|
|
"install-libext4_utils_host.a"
|
|
|
|
|
(string-append "prefix=" #$output))
|
2018-05-09 20:32:04 +00:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'unpack-core
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(mkdir-p "core")
|
2021-08-31 13:20:13 +00:00
|
|
|
|
(copy-recursively (assoc-ref inputs "android-core")
|
|
|
|
|
"core")))
|
2018-05-09 20:32:04 +00:00
|
|
|
|
(add-after 'unpack-core 'enter-source
|
|
|
|
|
(lambda _ (chdir "ext4_utils") #t))
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
(copy-recursively "." (string-append out "/include")))
|
|
|
|
|
#t)))))
|
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list android-libcutils android-liblog android-libselinux
|
|
|
|
|
android-libsparse zlib))
|
2018-05-09 20:32:04 +00:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("android-core" ,(android-platform-system-core version))))
|
|
|
|
|
(home-page "https://developer.android.com/")
|
2019-04-24 17:31:39 +00:00
|
|
|
|
(synopsis "Android ext4 file system utilities")
|
2018-05-09 20:32:04 +00:00
|
|
|
|
(description "@code{android-ext4-utils} is a library in common use by the
|
|
|
|
|
Android core.")
|
|
|
|
|
(license license:asl2.0)))
|
|
|
|
|
|
2018-05-09 18:04:33 +00:00
|
|
|
|
(define-public android-f2fs-utils
|
|
|
|
|
(package
|
|
|
|
|
(name "android-f2fs-utils")
|
|
|
|
|
(version (android-platform-version))
|
|
|
|
|
(source (android-platform-system-extras version))
|
|
|
|
|
(build-system android-ndk-build-system)
|
|
|
|
|
(arguments
|
2018-05-09 23:36:53 +00:00
|
|
|
|
`(#:phases
|
2018-05-09 18:04:33 +00:00
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'enter-source
|
|
|
|
|
(lambda _ (chdir "f2fs_utils") #t))
|
2021-08-31 13:31:40 +00:00
|
|
|
|
(add-before 'build 'set-compilation-flags
|
|
|
|
|
(lambda _
|
|
|
|
|
(setenv "CFLAGS" "-fcommon")))
|
2018-05-09 18:04:33 +00:00
|
|
|
|
(add-after 'install 'install-headers
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(copy-recursively "." (string-append (assoc-ref outputs "out")
|
|
|
|
|
"/include"))
|
2018-05-10 09:24:18 +00:00
|
|
|
|
#t))
|
|
|
|
|
(add-after 'install 'install-shell-scripts
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(bin (string-append out "/bin")))
|
|
|
|
|
(patch-shebang "mkf2fsuserimg.sh")
|
|
|
|
|
(substitute* "mkf2fsuserimg.sh"
|
|
|
|
|
(("make_f2fs") (string-append bin "/make_f2fs")))
|
|
|
|
|
(install-file "mkf2fsuserimg.sh" bin)
|
|
|
|
|
#t))))))
|
2018-05-09 18:04:33 +00:00
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list f2fs-tools-1.7 android-libselinux android-libsparse
|
|
|
|
|
android-libcutils zlib))
|
2018-05-09 18:04:33 +00:00
|
|
|
|
(home-page "https://developer.android.com/")
|
2018-05-10 09:12:50 +00:00
|
|
|
|
(synopsis "Android f2fs utils")
|
|
|
|
|
(description "@code{android-f2fs-utils} is a library in common use by the
|
|
|
|
|
Android core. It allows the user to create images for the @code{f2fs} Flash
|
|
|
|
|
file system.")
|
2018-05-09 18:04:33 +00:00
|
|
|
|
(license license:asl2.0)))
|
|
|
|
|
|
2018-05-09 18:11:30 +00:00
|
|
|
|
(define-public android-libutils
|
|
|
|
|
(package
|
|
|
|
|
(name "android-libutils")
|
|
|
|
|
(version (android-platform-version))
|
|
|
|
|
(source (android-platform-system-core version))
|
|
|
|
|
(build-system android-ndk-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; TODO
|
|
|
|
|
#:make-flags '("CXXFLAGS=-std=gnu++11 -Wno-error")
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2020-05-07 14:05:57 +00:00
|
|
|
|
(add-after 'set-paths 'augment-CPLUS_INCLUDE_PATH
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
;; Hide the default GCC from CPLUS_INCLUDE_PATH to prevent it from
|
|
|
|
|
;; shadowing the version of GCC provided in native-inputs.
|
|
|
|
|
(let ((gcc (assoc-ref inputs "gcc")))
|
|
|
|
|
(setenv "CPLUS_INCLUDE_PATH"
|
|
|
|
|
(string-join
|
|
|
|
|
(delete (string-append gcc "/include/c++")
|
|
|
|
|
(string-split (getenv "CPLUS_INCLUDE_PATH")
|
|
|
|
|
#\:))
|
|
|
|
|
":"))
|
|
|
|
|
#t)))
|
2018-05-09 18:11:30 +00:00
|
|
|
|
(add-after 'unpack 'enter-source
|
|
|
|
|
(lambda _ (chdir "libutils") #t))
|
|
|
|
|
(add-after 'install 'install-headers
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(copy-recursively "../include/utils" (string-append (assoc-ref outputs "out") "/include/utils")))))))
|
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list android-safe-iop android-libcutils))
|
2018-05-09 18:11:30 +00:00
|
|
|
|
(native-inputs
|
2018-05-10 00:34:30 +00:00
|
|
|
|
`(("android-bionic-uapi" ,android-bionic-uapi)
|
2019-09-19 10:56:54 +00:00
|
|
|
|
("android-liblog" ,android-liblog)
|
2020-05-07 14:05:57 +00:00
|
|
|
|
("gcc@5" ,gcc-5))) ; XXX: fails to build with GCC 7
|
2018-05-09 18:11:30 +00:00
|
|
|
|
(home-page "https://developer.android.com/")
|
|
|
|
|
(synopsis "Android utility library")
|
|
|
|
|
(description "@code{android-libutils} provides utilities for Android NDK developers.")
|
|
|
|
|
(license license:asl2.0)))
|
|
|
|
|
|
2018-05-09 19:48:35 +00:00
|
|
|
|
(define-public fastboot
|
|
|
|
|
(package
|
|
|
|
|
(name "fastboot")
|
|
|
|
|
(version (android-platform-version))
|
2018-05-10 02:13:00 +00:00
|
|
|
|
(source (android-platform-system-core version))
|
2018-05-09 19:48:35 +00:00
|
|
|
|
(build-system android-ndk-build-system)
|
|
|
|
|
(arguments
|
gnu: Remove more GCC < 7 workarounds.
* gnu/packages/abiword.scm (abiword)[arguments]: Do not pass "-std=c++11" to
the GCC command line.
* gnu/packages/aidc.scm (zbar)[arguments]: Likewise.
* gnu/packages/android.scm (android-libbase, android-libcutils,
android-libziparchive, fastboot)[arguments]: Likewise.
* gnu/packages/audio.scm (azr3, guitarix, suil)[arguments]: Likewise.
* gnu/packages/bioinformatics.scm (bless)[arguments]: Likewise.
* gnu/packages/bittorrent.scm (libtorrent-rasterbar)[arguments]: Likewise.
* gnu/packages/code.scm (rtags)[arguments]: Likewise.
* gnu/packages/coq.scm (coq-gappa)[arguments]: Likewise.
* gnu/packages/emulators.scm (dolphin-emu)[arguments]: Likewise.
* gnu/packages/engineering.scm (xyce-serial, xyce-parallel)[arguments]: Likewise.
* gnu/packages/gnupg.scm (pinentry-qt)[arguments]: Likewise.
* gnu/packages/gobby.scm (libnet6, obby)[arguments]: Likewise.
* gnu/packages/graph.scm (python-faiss)[arguments]: Likewise.
* gnu/packages/graphics.scm (povray)[arguments]: Likewise.
* gnu/packages/image-processing.scm (opencv, itk-snap)[arguments]: Likewise.
* gnu/packages/image.scm (freeimage)[arguments]: Likewise.
* gnu/packages/kodi.scm (crossguid)[arguments]: Likewise.
* gnu/packages/music.scm (amsynth, qmidiarp, qmidiroute, seq24)[arguments]: Likewise.
* gnu/packages/pdf.scm (python-poppler-qt5)[arguments]: Likewise.
* gnu/packages/sagemath.scm (lcalc)[arguments]: Likewise.
* gnu/packages/video.scm (vlc, mlt, v4l-utils)[arguments]: Likewise.
2019-10-20 11:31:19 +00:00
|
|
|
|
`(#:phases
|
2018-05-09 19:48:35 +00:00
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'enter-source
|
|
|
|
|
(lambda _
|
2018-05-10 02:13:00 +00:00
|
|
|
|
(chdir "fastboot")
|
|
|
|
|
#t))
|
|
|
|
|
(add-after 'enter-source 'patch-source
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "Android.mk"
|
2021-12-08 14:38:29 +00:00
|
|
|
|
(("libext4_utils_host") "libext4_utils_host libselinux libpcre")
|
|
|
|
|
(("\\$\\(shell git .*\\)") ,version))
|
2018-05-09 19:48:35 +00:00
|
|
|
|
#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)
|
2018-05-10 00:41:20 +00:00
|
|
|
|
#t))))))
|
2018-05-09 19:48:35 +00:00
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list adb
|
|
|
|
|
android-safe-iop
|
|
|
|
|
android-ext4-utils
|
|
|
|
|
android-f2fs-utils
|
|
|
|
|
android-libbase
|
|
|
|
|
android-libcutils
|
|
|
|
|
android-liblog
|
|
|
|
|
android-libutils
|
|
|
|
|
android-libsparse
|
|
|
|
|
android-libziparchive
|
|
|
|
|
android-libselinux
|
|
|
|
|
pcre
|
|
|
|
|
mkbootimg
|
|
|
|
|
zlib))
|
2018-05-09 19:48:35 +00:00
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list xz))
|
2018-05-09 19:48:35 +00:00
|
|
|
|
(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)))
|
|
|
|
|
|
2017-09-29 13:17:03 +00:00
|
|
|
|
(define-public android-udev-rules
|
|
|
|
|
(package
|
|
|
|
|
(name "android-udev-rules")
|
2021-10-04 11:21:32 +00:00
|
|
|
|
(version "20210501")
|
2017-09-29 13:17:03 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/M0Rf30/android-udev-rules")
|
|
|
|
|
(commit version)))
|
2019-11-03 17:55:24 +00:00
|
|
|
|
(file-name (git-file-name name version))
|
2017-09-29 13:17:03 +00:00
|
|
|
|
(sha256
|
2021-10-04 11:21:32 +00:00
|
|
|
|
(base32 "0pl1wfd7k9vz8mvy2jb2icc5f11c5p07aixpyhjs6gi5cyaywm5f"))))
|
2017-09-29 13:17:03 +00:00
|
|
|
|
(build-system trivial-build-system)
|
|
|
|
|
(native-inputs `(("source" ,source)))
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:modules ((guix build utils))
|
|
|
|
|
#:builder
|
|
|
|
|
(begin
|
|
|
|
|
(use-modules (guix build utils))
|
|
|
|
|
(let ((source (assoc-ref %build-inputs "source")))
|
|
|
|
|
(install-file (string-append source "/51-android.rules")
|
2021-10-04 11:21:32 +00:00
|
|
|
|
(string-append %output "/lib/udev/rules.d"))))))
|
2017-09-29 13:17:03 +00:00
|
|
|
|
(home-page "https://github.com/M0Rf30/android-udev-rules")
|
|
|
|
|
(synopsis "udev rules for Android devices")
|
|
|
|
|
(description "Provides a set of udev rules to allow using Android devices
|
|
|
|
|
with tools such as @command{adb} and @command{fastboot} without root
|
|
|
|
|
privileges. This package is intended to be added as a rule to the
|
|
|
|
|
@code{udev-service-type} in your @code{operating-system} configuration.
|
|
|
|
|
Additionally, an @code{adbusers} group must be defined and your user added to
|
|
|
|
|
it.
|
|
|
|
|
|
|
|
|
|
@emph{Simply installing this package will not have any effect.} It is meant
|
|
|
|
|
to be passed to the @code{udev} service.")
|
|
|
|
|
(license license:gpl3+)))
|
|
|
|
|
|
2017-05-08 13:57:23 +00:00
|
|
|
|
(define-public android-platform-frameworks-native-headers
|
|
|
|
|
(package
|
|
|
|
|
(name "android-platform-frameworks-native-headers")
|
|
|
|
|
(version (android-platform-version))
|
|
|
|
|
(source (android-platform-frameworks-native version))
|
|
|
|
|
(build-system trivial-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:modules ((guix build utils))
|
|
|
|
|
#:builder
|
|
|
|
|
(begin
|
|
|
|
|
(use-modules (guix build utils))
|
|
|
|
|
(let ((source (assoc-ref %build-inputs "source"))
|
|
|
|
|
(include (string-append %output "/include/android")))
|
|
|
|
|
(mkdir-p include)
|
|
|
|
|
(copy-recursively (string-append source "/include/android")
|
|
|
|
|
(string-append include)) ; "/android"))
|
|
|
|
|
))))
|
|
|
|
|
(home-page "https://android.googlesource.com/platform/frameworks/native/")
|
|
|
|
|
(synopsis "Headers for Android development from
|
|
|
|
|
android-platform-frameworks-native")
|
|
|
|
|
(description "This package contains headers used for developing software
|
|
|
|
|
for Android. More precicely the headers from include/android in
|
|
|
|
|
platform/frameworks/native.")
|
|
|
|
|
(license license:asl2.0)))
|
|
|
|
|
|
2017-05-08 14:09:23 +00:00
|
|
|
|
(define-public libetc1
|
|
|
|
|
(package
|
|
|
|
|
(name "libetc1")
|
|
|
|
|
(version (android-platform-version))
|
|
|
|
|
(source (android-platform-frameworks-native version))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; no tests
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'create-Makefile
|
|
|
|
|
(lambda _
|
|
|
|
|
;; No useful makefile is shipped, so we create one.
|
|
|
|
|
(with-output-to-file "Makefile"
|
|
|
|
|
(lambda _
|
|
|
|
|
(display
|
|
|
|
|
(string-append
|
|
|
|
|
"NAME = libETC1\n"
|
|
|
|
|
"SOURCES = opengl/libs/ETC1/etc1.cpp\n"
|
|
|
|
|
"CXXFLAGS += -fPIC\n"
|
|
|
|
|
"CPPFLAGS += -Iopengl/include\n"
|
|
|
|
|
"LDFLAGS += -shared -Wl,-soname,$(NAME).so.0\n"
|
|
|
|
|
"$(NAME).so.0: $(SOURCES)\n"
|
|
|
|
|
" $(CXX) $^ -o $@ $(CXXFLAGS) $(CPPFLAGS) $(LDFLAGS)\n"
|
|
|
|
|
"build: $(NAME).so.0"))
|
|
|
|
|
#t))))
|
|
|
|
|
(add-after 'unpack 'remove-unused-stuff-to-reduce-warnings
|
|
|
|
|
(lambda _
|
|
|
|
|
(delete-file-recursively "opengl/libs/tools")))
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(lib (string-append out "/lib"))
|
|
|
|
|
(include (string-append out "/include")))
|
|
|
|
|
(install-file "libETC1.so.0" lib)
|
|
|
|
|
(with-directory-excursion lib
|
|
|
|
|
(symlink "libETC1.so.0" "libETC1.so"))
|
|
|
|
|
(copy-recursively "opengl/include/ETC1"
|
|
|
|
|
(string-append include "/ETC1"))))))))
|
|
|
|
|
(home-page "https://android.googlesource.com/platform/frameworks/native/")
|
|
|
|
|
(synopsis "ETC1 compression library")
|
|
|
|
|
(description "Ericsson Texture Compression (ETC) is a lossy texture
|
|
|
|
|
compression technique developed in collaboration with Ericsson Research in
|
|
|
|
|
early 2005. libETC1 provides the encoding and decoding of ETC1 compression
|
|
|
|
|
algorithm.")
|
|
|
|
|
(license license:asl2.0)))
|
|
|
|
|
|
2021-12-27 18:33:12 +00:00
|
|
|
|
(define-public etc1tool
|
|
|
|
|
(package
|
|
|
|
|
(name "etc1tool")
|
|
|
|
|
(version (android-platform-version))
|
|
|
|
|
(source (android-platform-development version))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'create-Makefile
|
|
|
|
|
(lambda _
|
|
|
|
|
;; No useful makefile is shipped, so we create one.
|
|
|
|
|
(with-output-to-file "Makefile"
|
|
|
|
|
(lambda _
|
|
|
|
|
(display
|
|
|
|
|
(string-append
|
|
|
|
|
"NAME = etc1tool\n"
|
|
|
|
|
"SOURCES = tools/etc1tool/etc1tool.cpp\n"
|
|
|
|
|
"CPPFLAGS += -Iinclude\n"
|
|
|
|
|
"LDFLAGS += -lpng -lETC1\n"
|
|
|
|
|
"$(NAME): $(SOURCES)\n"
|
|
|
|
|
" $(CXX) $^ -o $@ $(CXXFLAGS) $(CPPFLAGS) $(LDFLAGS)\n"
|
|
|
|
|
"build: $(NAME)"))
|
|
|
|
|
#t))))
|
|
|
|
|
(add-before 'build 'fix-typos-in-help
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "tools/etc1tool/etc1tool.cpp"
|
|
|
|
|
((" apropriate ") " appropriate "))
|
|
|
|
|
#t))
|
|
|
|
|
;; TODO: Add man-page from Debian
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(bin (string-append out "/bin")))
|
|
|
|
|
(install-file "etc1tool" bin)))))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("libetc1" ,libetc1)
|
|
|
|
|
("libpng" ,libpng)))
|
|
|
|
|
(home-page "https://developer.android.com/studio/command-line/etc1tool.html")
|
|
|
|
|
(synopsis "Encode and decode PNG images to resp. from the ETC1 compression
|
2022-11-01 00:08:32 +00:00
|
|
|
|
standard")
|
2021-12-27 18:33:12 +00:00
|
|
|
|
(description
|
|
|
|
|
"@command{etc1} is a command line utility that lets you encode PNG images
|
|
|
|
|
to the ETC1 compression standard and decode ETC1 compressed images back to
|
|
|
|
|
PNG. This tool is part of the Android SDK for working with media files for
|
|
|
|
|
game apps.
|
|
|
|
|
|
|
|
|
|
The standard for the ETC1 texture format can be found at
|
|
|
|
|
@uref{http://www.khronos.org/registry/gles/extensions/OES/OES_compressed_ETC1_RGB8_texture.txt}.")
|
|
|
|
|
(license license:asl2.0)))
|
|
|
|
|
|
2017-05-07 21:40:43 +00:00
|
|
|
|
(define-public git-repo
|
|
|
|
|
(package
|
|
|
|
|
(name "git-repo")
|
2020-02-26 14:13:03 +00:00
|
|
|
|
(version "2.4.1")
|
2017-05-07 21:40:43 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://gerrit.googlesource.com/git-repo")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (string-append "git-repo-" version "-checkout"))
|
|
|
|
|
(sha256
|
2020-02-26 14:13:03 +00:00
|
|
|
|
(base32 "0khg1731927gvin73dcbw1657kbfq4k7agla5rpzqcnwkk5agzg3"))))
|
2017-05-07 21:40:43 +00:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
2020-02-24 14:31:12 +00:00
|
|
|
|
`(#:phases
|
2017-05-07 21:40:43 +00:00
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'build 'set-executable-paths
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(git (assoc-ref inputs "git"))
|
|
|
|
|
(ssh (assoc-ref inputs "ssh")))
|
|
|
|
|
(substitute* '("repo" "git_command.py")
|
2020-02-24 14:31:12 +00:00
|
|
|
|
(("^GIT = 'git'")
|
|
|
|
|
(string-append "GIT = '" git "/bin/git'")))
|
2017-05-07 21:40:43 +00:00
|
|
|
|
(substitute* "git_config.py"
|
|
|
|
|
((" command_base = \\['ssh',")
|
|
|
|
|
(string-append " command_base = ['" ssh "/bin/ssh',")))
|
|
|
|
|
#t)))
|
2020-02-26 16:20:54 +00:00
|
|
|
|
(add-before 'build 'do-not-self-update
|
2017-05-07 21:40:43 +00:00
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
2020-02-26 16:20:54 +00:00
|
|
|
|
;; Setting the REPO_MAIN variable to an absolute file name is
|
|
|
|
|
;; enough to have _FindRepo return the store main.py file. The
|
|
|
|
|
;; self update mechanism is activated with the call to _Init() in
|
|
|
|
|
;; main(), so we bypass it.
|
|
|
|
|
|
|
|
|
|
;; Ticket requesting upstream to provide a mean to disable the
|
|
|
|
|
;; self update mechanism:
|
|
|
|
|
;; https://bugs.chromium.org/p/gerrit/issues/detail?id=12407.
|
2017-05-07 21:40:43 +00:00
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
2020-02-26 16:20:54 +00:00
|
|
|
|
(repo-main (string-append out "/share/git-repo/main.py")))
|
2017-05-07 21:40:43 +00:00
|
|
|
|
(substitute* "repo"
|
2020-02-26 16:20:54 +00:00
|
|
|
|
(("^REPO_MAIN = .*")
|
|
|
|
|
(format #f "REPO_MAIN = ~s~%" repo-main))
|
|
|
|
|
((" _Init\\(args, gitc_init=\\(cmd ==.*" all)
|
|
|
|
|
(string-append "True #" all)))
|
|
|
|
|
;; Prevent repo from trying to git describe its version from
|
|
|
|
|
;; the (disabled) self updated copy.
|
|
|
|
|
(substitute* "git_command.py"
|
|
|
|
|
(("ver = getattr\\(RepoSourceVersion.*")
|
|
|
|
|
(format #f "ver = ~s~%" ,version)))
|
|
|
|
|
(substitute* "subcmds/version.py"
|
|
|
|
|
(("rp_ver = .*")
|
|
|
|
|
(format #f "rp_ver = ~s~%" ,version)))
|
|
|
|
|
;; Prevent repo from adding its (disabled) self update copy to
|
|
|
|
|
;; the list of projects to fetch when using 'repo sync'.
|
|
|
|
|
(substitute* "subcmds/sync.py"
|
|
|
|
|
(("to_fetch\\.extend\\(all_projects\\).*" all)
|
|
|
|
|
(string-append "#" all))
|
|
|
|
|
(("self\\._Fetch\\(to_fetch")
|
|
|
|
|
"self._Fetch(all_projects")
|
|
|
|
|
(("_PostRepoFetch\\(rp, opt\\.repo_verify).*" all)
|
|
|
|
|
(string-append "#" all))))))
|
2017-05-07 21:40:43 +00:00
|
|
|
|
(delete 'build) ; nothing to build
|
2020-02-24 14:31:12 +00:00
|
|
|
|
(add-before 'check 'configure-git
|
|
|
|
|
(lambda _
|
|
|
|
|
(setenv "HOME" (getcwd))
|
|
|
|
|
(invoke "git" "config" "--global" "user.email" "you@example.com")
|
|
|
|
|
(invoke "git" "config" "--global" "user.name" "Your Name")))
|
2017-05-07 21:40:43 +00:00
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda _
|
2020-02-24 14:31:12 +00:00
|
|
|
|
(invoke "./run_tests")))
|
2017-05-07 21:40:43 +00:00
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(bin-dir (string-append out "/bin"))
|
|
|
|
|
(repo-dir (string-append out "/share/" ,name)))
|
|
|
|
|
(mkdir-p bin-dir)
|
|
|
|
|
(mkdir-p repo-dir)
|
|
|
|
|
(copy-recursively "." repo-dir)
|
|
|
|
|
(delete-file-recursively (string-append repo-dir "/tests"))
|
|
|
|
|
(symlink (string-append repo-dir "/repo")
|
|
|
|
|
(string-append bin-dir "/repo"))
|
|
|
|
|
#t))))))
|
|
|
|
|
(inputs
|
|
|
|
|
;; TODO: Add git-remote-persistent-https once it is available in guix
|
|
|
|
|
`(("git" ,git)
|
2018-03-16 15:50:14 +00:00
|
|
|
|
("ssh" ,openssh)))
|
2017-05-07 21:40:43 +00:00
|
|
|
|
(native-inputs
|
2020-02-24 14:31:12 +00:00
|
|
|
|
`(("pytest" ,python-pytest)))
|
2017-05-07 21:40:43 +00:00
|
|
|
|
(home-page "https://code.google.com/p/git-repo/")
|
gnu: Remove trailing period from synopsis.
* gnu/packages/anddroid.scm (android-liblog, git-repo)[synopsis]: Remove
trailing period.
* gnu/packages/audio.scm (audio-to-midi)[synopsis]: Likewise.
* gnu/packages/bioinformatics.scm (python-mygene, python-scanpy,
nanosv)[synopsis]: Likewise.
* gnu/packages/cran.scm (r-gsubfn)[synopsis]: Likewise.
* gnu/packages/crates-io.scm (rust-ascii-1, rust-bindgen-0.59,
rust-byte-unit-4, rust-clircle-0.3, rust-dashmap-4, rust-dhcp4r-0.2,
rust-fast-float-0.2, rust-fst-0.4, rust-futures-core-preview-0.3,
rust-http-types-2, rust-hyper-0.14, rust-indexmap-1,
rust-minimal-lexical-0.1, rust-oorandom-11.1, rust-runtime-raw-0.3,
rust-sharded-slab-0.1, rust-takeable-option-0.4, rust-tower-service-0.3,
rust-ttf-parser-0.12)[synopsis]: Likewise.
* gnu/packages/disk.scm (f3)[synopsis]: Likewise.
* gnu/packages/emacs-xyz.scm (emacs-scribble-mode, emacs-psession)[synopsis]:
Likewise.
* gnu/packages/golang.scm (go-github-com-kylelemons-godebug)[synopsis]:
Likewise.
* gnu/packages/haskell-xyz.scm (ghc-fsnotify, ghc-libyaml, ghc-emojis,
ghc-regex-tdfa, ghc-th-lift-instances, ghc-commonmark-pandoc)[synopsis]:
Likewise.
* gnu/packages/java.scm (java-commons-jxpath, java-jakarta-regexp)[synopsis]:
Likewise.
* gnu/packages/lisp-xyz.scm (sbcl-cl-annot, sbcl-envy)[synopsis]: Likewise.
* gnu/packages/mail.scm (go-gitlab.com-shackra-goimapnotify)[synopsis]:
Likewise.
* gnu/packages/maven.scm (maven-wagon-http-shared,
maven-surefire-plugin)[synopsis]: Likewise.
* gnu/packages/perl.scm (perl-text-soundex)[synopsis]: Likewise.
* gnu/packages/python-check.scm (python-httmock)[synopsis]: Likewise.
* gnu/packages/python-web.scm (python-bottle)[synopsis]: Likewise.
* gnu/packages/python-xyz.scm (python-olefile, python-tokenize-rt,
python-pylzma)[synopsis]: Likewise.
* gnu/packages/tex.scm (texlive-docstrip)[synopsis]: Likewise.
2021-12-31 02:39:42 +00:00
|
|
|
|
(synopsis "Helps to manage many Git repositories")
|
2017-05-07 21:40:43 +00:00
|
|
|
|
(description "Repo is a tool built on top of Git. Repo helps manage many
|
|
|
|
|
Git repositories, does the uploads to revision control systems, and automates
|
|
|
|
|
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)))
|
2018-01-20 21:45:08 +00:00
|
|
|
|
|
|
|
|
|
(define-public abootimg
|
|
|
|
|
(package
|
|
|
|
|
(name "abootimg")
|
|
|
|
|
(version "0.6")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://http.debian.net/debian/pool/main/a/abootimg/"
|
|
|
|
|
"abootimg_" version ".orig.tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0sfc2k011l1ymv97821w89391gnqdh8pp0haz4sdcm5hx0axv2ba"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda _
|
|
|
|
|
(setenv "CC" "gcc")
|
|
|
|
|
#t))
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(bin (string-append out "/bin")))
|
|
|
|
|
(install-file "abootimg" bin)
|
|
|
|
|
#t))))))
|
|
|
|
|
(inputs
|
gnu: util-linux: Move libraries to separate output.
Fixes <https://bugs.gnu.org/37732>.
Reported by Diego Nicola Barbato <dnbarbato@posteo.de>.
* gnu/packages/linux.scm (util-linux)[outputs]: Add "lib".
[arguments]: Update #:configure-flags and the "move-static-libraries" phase
accordingly. Add phases "patch-build-scripts" and "adjust-pkg-config-files".
(e2fsprogs, psm, mtd-utils, f2fs-tools, f2fs-tools-1.7, eudev,
xfsprogs)[inputs]: Change to the "lib" output of UTIL-LINUX.
(btrfs-progs)[inputs]: Remove duplicate UTIL-LINUX inputs and change to use
the "lib" output.
* gnu/packages/admin.scm (pam-mount)[inputs]: Add UTIL-LINUX:LIB.
(testdisk)[inputs]: Change to the "lib" output of UTIL-LINUX.
* gnu/packages/android.scm (abootimg)[inputs]: Likewise.
* gnu/packages/audio.scm (jack-1)[propagated-inputs]: Likewise.
* gnu/packages/bootloaders.scm (syslinux, vboot-utils)[inputs]: Likewise.
* gnu/packages/chez.scm (chez-scheme)[inputs]: Likewise.
* gnu/packages/cryptsetup.scm (cryptsetup, cryptsetup-static)[inputs]: Likewise.
* gnu/packages/databases.scm (postgresql, 4store)[inputs]: Likewise.
* gnu/packages/disk.scm (ndctl, gptfdisk, fdisk, gparted, rmlint,
volume-key)[inputs]: Likewise.
(parted)[inputs]: Likewise.
[native-inputs]: Add UTIL-LINUX.
* gnu/packages/efi.scm (sbsigntools)[inputs]: Add UTIL-LINUX:LIB.
* gnu/packages/engineering.scm (lib3mf)[inputs]: Change to the "lib" output of
UTIL-LINUX.
* gnu/packages/enlightenment.scm (efl)[propagated-inputs]: Likewise.
* gnu/packages/file-systems.scm (glusterfs, jfsutils, zfs)[inputs]: Likewise.
* gnu/packages/firmware.scm (ovmf)[inputs]: Likewise.
* gnu/packages/fontutils.scm (fontconfig)[propagated-inputs]: Likewise.
* gnu/packages/freedesktop.scm (localed)[inputs]: Likewise.
* gnu/packages/glib.scm (glib, appstream-glib)[propagated-inputs]: Likewise.
* gnu/packages/gnome.scm (tracker, gnome-terminal)[inputs]: Likewise.
* gnu/packages/jupyter.scm (xeus)[inputs]: Likewise.
* gnu/packages/kde.scm (kpmcore)[inputs]: Likewise.
* gnu/packages/kodi.scm (crossguid)[inputs]: Likewise.
* gnu/packages/lighting.scm (ola)[inputs]: Likewise.
* gnu/packages/music.scm (libgig)[inputs]: Likewise.
* gnu/packages/nfs.scm (nfs-utils)[inputs]: Likewise.
* gnu/packages/opencog.scm (opencog)[inputs]: Likewise.
* gnu/packages/package-management.scm (msitools)[inputs]: Change to the "lib"
output of UTIL-LINUX.
* gnu/packages/password-utils.scm (pwsafe)[inputs]: Likewise.
* gnu/packages/telephony.scm (pjproject)[propagated-inputs]: Likewise.
* gnu/packages/rdf.scm (rasqal)[inputs]: Likewise.
* gnu/packages/search.scm (xapian)[inputs]: Likewise.
* gnu/packages/sssd.scm (sssd)[native-inputs]: Likewise.
* gnu/packages/storage.scm (ceph)[inputs]: Add UTIL-LINUX:LIB.
* gnu/packages/task-management.scm (taskwarrior)[inputs]: Change to the "lib"
output of UTIL-LINUX.
* gnu/packages/virtualization.scm (libvirt, xen)[inputs]: Likewise.
* gnu/packages/xorg.scm (libsm)[inputs]: Likewise.
2020-01-14 23:24:28 +00:00
|
|
|
|
`(("libblkid" ,util-linux "lib")))
|
2018-01-20 21:45:08 +00:00
|
|
|
|
(home-page "https://ac100.grandou.net/abootimg")
|
|
|
|
|
(synopsis "Tool for manipulating Android Boot Images")
|
|
|
|
|
(description "This package provides a tool for manipulating old Android
|
|
|
|
|
Boot Images. @code{abootimg} can work directly on block devices, or, the
|
|
|
|
|
safest way, on a file image.")
|
|
|
|
|
(license license:gpl2+)))
|
2018-07-24 14:32:45 +00:00
|
|
|
|
|
|
|
|
|
(define-public python-androguard
|
|
|
|
|
(package
|
|
|
|
|
(name "python-androguard")
|
|
|
|
|
(version "3.2.1")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
;; The pypi release doesn't have the tests, but the tests use
|
|
|
|
|
;; packaged binaries, so we skip them.
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "androguard" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0ndsw00pkyda4i2s3wi5ap8gbk6a9d23xhhxpdbk02padv8sxkfv"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'check
|
|
|
|
|
;; Adapted from .travis.yml
|
|
|
|
|
(lambda _
|
|
|
|
|
(invoke "nosetests" "--with-coverage" "--with-timer"
|
|
|
|
|
"--timer-top-n" "50"))))))
|
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list python-codecov python-coverage python-mock python-nose
|
|
|
|
|
python-nose-timer))
|
2018-07-24 14:32:45 +00:00
|
|
|
|
(propagated-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list python-asn1crypto
|
|
|
|
|
python-colorama
|
|
|
|
|
python-future
|
|
|
|
|
python-ipython
|
|
|
|
|
python-lxml
|
|
|
|
|
python-matplotlib
|
|
|
|
|
python-networkx
|
|
|
|
|
python-pygments
|
|
|
|
|
python-pyperclip))
|
2018-07-24 14:32:45 +00:00
|
|
|
|
(home-page "https://github.com/androguard/androguard")
|
|
|
|
|
(synopsis "Python tool to play with Android files")
|
|
|
|
|
(description
|
|
|
|
|
"Androguard is a full Python tool to manipulate Android files. It is
|
|
|
|
|
useful for reverse engineering, analysis of Android applications and more.")
|
|
|
|
|
(license license:asl2.0)))
|
2018-07-24 14:49:22 +00:00
|
|
|
|
|
2022-01-12 22:58:44 +00:00
|
|
|
|
(define-public python-android-backup
|
|
|
|
|
(package
|
|
|
|
|
(name "python-android-backup")
|
|
|
|
|
(version "0.2.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "android_backup" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"15wb2lyjj2fpf7bhvmgpqn0mglsjj11zfvbjycx7mnidisgnljw6"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(propagated-inputs (list python-pycrypto))
|
|
|
|
|
(home-page "https://github.com/bluec0re/android-backup-tools")
|
|
|
|
|
(synopsis "Unpack and repack android backups")
|
|
|
|
|
(description "This package allows you to unpack and repack Android
|
|
|
|
|
backups. It supports encrypted archives.")
|
|
|
|
|
(license license:asl2.0)))
|
|
|
|
|
|
2022-01-12 23:01:46 +00:00
|
|
|
|
(define-public python-miio
|
|
|
|
|
(package
|
|
|
|
|
(name "python-miio")
|
2022-04-20 01:52:21 +00:00
|
|
|
|
(version "0.5.11")
|
2022-01-12 23:01:46 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "python-miio" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2022-04-20 01:52:21 +00:00
|
|
|
|
"1dyzzywfa5h6q8clmzxsqmszlby8757ajmvkhdyvq6719z4bn46n"))))
|
2022-01-12 23:01:46 +00:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2022-04-20 01:52:21 +00:00
|
|
|
|
(add-after 'unpack 'relax-requirements
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "setup.py"
|
|
|
|
|
(("cryptography>=35")
|
|
|
|
|
"cryptography"))))
|
|
|
|
|
(add-after 'unpack 'adjust-for-click-8
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* '("miio/integrations/vacuum/roborock/vacuum.py"
|
|
|
|
|
"miio/integrations/vacuum/roborock/vacuum_cli.py")
|
|
|
|
|
(("resultcallback")
|
|
|
|
|
"result_callback"))))
|
2022-01-12 23:01:46 +00:00
|
|
|
|
(replace 'check
|
2022-04-20 01:52:21 +00:00
|
|
|
|
(lambda* (#:key tests? #:allow-other-keys)
|
2022-01-12 23:01:46 +00:00
|
|
|
|
(when tests?
|
2022-04-20 01:52:21 +00:00
|
|
|
|
(invoke "pytest" "-vv" "miio")))))))
|
2022-01-12 23:01:46 +00:00
|
|
|
|
(native-inputs
|
|
|
|
|
(list python-pytest
|
|
|
|
|
python-pytest-mock
|
|
|
|
|
python-sphinx
|
|
|
|
|
python-sphinx-click
|
|
|
|
|
python-sphinx-rtd-theme
|
|
|
|
|
python-sphinxcontrib-apidoc))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
(list python-android-backup
|
|
|
|
|
python-appdirs
|
|
|
|
|
python-attrs
|
|
|
|
|
python-click
|
|
|
|
|
python-construct
|
|
|
|
|
python-croniter
|
|
|
|
|
python-cryptography
|
|
|
|
|
python-defusedxml
|
|
|
|
|
python-importlib-metadata
|
|
|
|
|
python-netifaces
|
|
|
|
|
python-pytz
|
|
|
|
|
python-pyyaml
|
|
|
|
|
python-tqdm
|
|
|
|
|
python-zeroconf))
|
|
|
|
|
(home-page "https://github.com/rytilahti/python-miio")
|
|
|
|
|
(synopsis "Control Xiaomi smart appliances")
|
|
|
|
|
(description "This package provides library and command line interface
|
|
|
|
|
for communicating with Xiaomi smart appliances over miIO and MIoT protocols.")
|
|
|
|
|
(license license:gpl3+)))
|
|
|
|
|
|
2018-07-24 14:49:22 +00:00
|
|
|
|
(define-public fdroidserver
|
|
|
|
|
(package
|
|
|
|
|
(name "fdroidserver")
|
2020-08-28 15:51:19 +00:00
|
|
|
|
(version "1.1.9")
|
2018-07-24 14:49:22 +00:00
|
|
|
|
(source
|
2022-01-12 22:58:44 +00:00
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "fdroidserver" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0m07f791z45w7r2dzx4yb6s54b3c3wykm3w9hn25p2jcyax082a2"))))
|
2018-07-24 14:49:22 +00:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'fix-versioning
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "setup.py"
|
2020-08-28 15:45:54 +00:00
|
|
|
|
(("0.2.1") ,(package-version python-pyasn1-modules))
|
|
|
|
|
;; The dependency on docker has been removed upstream by
|
|
|
|
|
;; a fairly large patch:
|
|
|
|
|
;; https://gitlab.com/fdroid/fdroidserver/-/commit/89614851250c79a05db84070feca6dea033af334
|
|
|
|
|
;; that is not in a release yet. It appears we can compile with
|
|
|
|
|
;; a newer version.
|
|
|
|
|
(("docker-py >= 1.9, < 2.0") "docker >= 1.9"))
|
2018-07-24 14:49:22 +00:00
|
|
|
|
#t)))))
|
|
|
|
|
(propagated-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list python-androguard
|
|
|
|
|
python-apache-libcloud
|
|
|
|
|
python-clint
|
|
|
|
|
python-defusedxml
|
|
|
|
|
python-docker
|
|
|
|
|
python-gitpython
|
|
|
|
|
python-mwclient
|
|
|
|
|
python-paramiko
|
|
|
|
|
python-pillow
|
|
|
|
|
python-pyasn1
|
|
|
|
|
python-pyasn1-modules
|
|
|
|
|
python-pyyaml
|
|
|
|
|
python-qrcode
|
|
|
|
|
python-ruamel.yaml
|
|
|
|
|
python-requests
|
|
|
|
|
python-vagrant))
|
2018-07-24 14:49:22 +00:00
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list python-babel python-bcrypt python-docker-pycreds python-pynacl
|
|
|
|
|
python-websocket-client))
|
2018-07-24 14:49:22 +00:00
|
|
|
|
(home-page "https://f-droid.org")
|
|
|
|
|
(synopsis "F-Droid server tools")
|
|
|
|
|
(description
|
|
|
|
|
"The F-Droid server tools provide various scripts and tools that are used
|
|
|
|
|
to maintain F-Droid, the repository of free Android applications. You can use
|
|
|
|
|
these same tools to create your own additional or alternative repository for
|
|
|
|
|
publishing, or to assist in creating, testing and submitting metadata to the
|
|
|
|
|
main repository.")
|
|
|
|
|
(license license:agpl3+)))
|
2019-09-19 23:43:47 +00:00
|
|
|
|
|
2020-04-07 04:57:13 +00:00
|
|
|
|
(define-public fdroidcl
|
|
|
|
|
(package
|
|
|
|
|
(name "fdroidcl")
|
2023-03-21 08:16:39 +00:00
|
|
|
|
(version "0.7.0")
|
2020-04-07 04:57:13 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
2023-03-21 08:16:39 +00:00
|
|
|
|
(url "https://github.com/mvdan/fdroidcl")
|
|
|
|
|
(commit (string-append "v" version))))
|
2020-04-07 04:57:13 +00:00
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2023-03-21 08:16:39 +00:00
|
|
|
|
(base32
|
|
|
|
|
"1s3fszlyyab9gbdrg52zcbafsb1mgb770skg7b3gj7f3pzfnra5n"))))
|
2020-04-07 04:57:13 +00:00
|
|
|
|
(build-system go-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:import-path "mvdan.cc/fdroidcl"
|
2023-03-21 08:16:39 +00:00
|
|
|
|
#:tests? #f ;requires internet access
|
2020-04-07 04:57:13 +00:00
|
|
|
|
#:install-source? #f))
|
2023-03-21 08:16:39 +00:00
|
|
|
|
(inputs (list go-github-com-kr-pretty go-github-com-schollz-progressbar-v3))
|
2020-04-07 04:57:13 +00:00
|
|
|
|
(synopsis "F-Droid desktop client")
|
|
|
|
|
(description
|
|
|
|
|
"While the Android client integrates with the system with regular update
|
|
|
|
|
checks and notifications, this is a simple command line client that talks to
|
|
|
|
|
connected devices via ADB.")
|
|
|
|
|
(home-page "https://github.com/mvdan/fdroidcl")
|
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
|
2019-09-19 23:43:47 +00:00
|
|
|
|
(define-public enjarify
|
|
|
|
|
(package
|
|
|
|
|
(name "enjarify")
|
|
|
|
|
(version "1.0.3")
|
|
|
|
|
(home-page "https://github.com/Storyyeller/enjarify")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url home-page)
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(patches
|
|
|
|
|
(search-patches "enjarify-setup-py.patch"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1nam7h1g4f1h6jla4qcjjagnyvd24dv6d5445w04q8hx07nxdapk"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'check 'fixup-expected-test-results
|
|
|
|
|
;; Upstream adjusted this test in commit:
|
|
|
|
|
;; 3ae884a6485af82d300515813f537685b08dd800
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "tests/test2/expected.txt"
|
|
|
|
|
(("^20") "0"))
|
|
|
|
|
#t))
|
|
|
|
|
(add-before 'check 'drop-java-xss-argument
|
|
|
|
|
;; Upstream removed this argument in order to support 32-bit
|
|
|
|
|
;; architectures. commit: 4be0111d879aa95fdc0d9f24fe529f8c664d4093
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "enjarify/runtests.py"
|
|
|
|
|
(("java -Xss515m") "java "))
|
|
|
|
|
#t))
|
|
|
|
|
(add-after 'install 'install-enjarify-wrapper
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out")))
|
|
|
|
|
(mkdir-p (string-append out "/bin/"))
|
|
|
|
|
(copy-file "enjarify.sh" (string-append out "/bin/enjarify"))
|
|
|
|
|
#t))))))
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(native-inputs (list openjdk12))
|
2019-09-19 23:43:47 +00:00
|
|
|
|
(synopsis "Translate Dalvik bytecode to equivalent Java bytecode")
|
|
|
|
|
(description "Android applications are Java programs that run on a
|
|
|
|
|
customized virtual machine, which is part of the Android operating system, the
|
|
|
|
|
Dalvik VM. Their bytecode differs from the bytecode of normal Java
|
|
|
|
|
applications. Enjarify can translate the Dalvik bytecode back to equivalent
|
|
|
|
|
Java bytecode, which simplifies the analysis of Android applications.")
|
|
|
|
|
(license license:asl2.0)))
|
2022-07-15 17:37:29 +00:00
|
|
|
|
|
|
|
|
|
(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-5 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 transferring files
|
|
|
|
|
with Android devices using MTP. It also allows the Android device to be
|
|
|
|
|
mounted via FUSE.")
|
|
|
|
|
(license license:lgpl2.1+)))
|