emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#52832: closed ([PATCH 1/3] gnu: Add android-platform-frameworks-nati


From: GNU bug Tracking System
Subject: bug#52832: closed ([PATCH 1/3] gnu: Add android-platform-frameworks-native-headers.)
Date: Sat, 15 Jan 2022 20:23:02 +0000

Your message dated Sat, 15 Jan 2022 21:22:09 +0100
with message-id <1094c641-3cd1-e48d-4cd0-9bc577d80416@crazy-compilers.com>
and subject line Re: [PATCH 3/3] gnu: Add etc1tool.
has caused the debbugs.gnu.org bug report #52832,
regarding [PATCH 1/3] gnu: Add android-platform-frameworks-native-headers.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
52832: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=52832
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH 1/3] gnu: Add android-platform-frameworks-native-headers. Date: Mon, 27 Dec 2021 21:11:39 +0100
* gnu/package/android.scm (android-platform-frameworks-native): New
  function.  (android-platform-frameworks-native-headers): New variables.
---
 gnu/packages/android.scm | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/gnu/packages/android.scm b/gnu/packages/android.scm
index 5fa4e6c8e9..226d8259ff 100644
--- a/gnu/packages/android.scm
+++ b/gnu/packages/android.scm
@@ -190,6 +190,17 @@ use their packages mostly unmodified in our Android NDK 
build system.")
      (base32
       checksum))))
 
+(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"))))
+
 (define-public android-liblog
   (package
     (name "android-liblog")
@@ -728,6 +739,31 @@ it.
 to be passed to the @code{udev} service.")
     (license license:gpl3+)))
 
+(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)))
+
 (define-public git-repo
   (package
     (name "git-repo")
-- 
2.30.2




--- End Message ---
--- Begin Message --- Subject: Re: [PATCH 3/3] gnu: Add etc1tool. Date: Sat, 15 Jan 2022 21:22:09 +0100 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.4.1
Pushed as 131e243546967d48b198fea359ded2fa7caf0c19

--
Regards
Hartmut Goebel

| Hartmut Goebel          | h.goebel@crazy-compilers.com               |
| www.crazy-compilers.com | compilers which you thought are impossible |



--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]