From: phodina via Guix-patches via <guix-patches@gnu.org>
To: "51737@debbugs.gnu.org" <51737@debbugs.gnu.org>
Subject: [bug#51737] [PATCH 2/4] gnu: Add libgbinder.
Date: Wed, 10 Nov 2021 01:38:14 +0000 [thread overview]
Message-ID: <f0X-fmjm6HpduBHb9LOM6szjKRf30FPp9PkW4LfeCuokGHn0dwF36saOvMdaodwMl0Bo0sncib1Etr7ZZANwLu6-sV6c7SWCzlEH8wGaBOc=@protonmail.com> (raw)
In-Reply-To: <iYmPmvusAplbe5X4cU55Ujwo5l9cWEZ8e6PRtK6Md65HdM-bvo-sGnvm_ZkmbBfsRk6LLJLvaRe4VxgqiEOxnd0VzqKMiua4DfkhuQYNLMo=@protonmail.com>
* gnu/packages/glib.scm (libgbinder): New variable.
diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm
index 6d8a6801da..4f3e026d1b 100644
--- a/gnu/packages/glib.scm
+++ b/gnu/packages/glib.scm
@@ -751,6 +751,59 @@ (define-public glibmm-2.64
`(("libsigc++" ,libsigc++)
("glib" ,glib)))))
+(define-public libgbinder
+ (package
+ (name "libgbinder")
+ (version "1.1.13")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/mer-hybris/libgbinder")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "054kghsyyxk7lbsgwis1fczbgjlh0g0x6smwvcczd8dqacfclvpy"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:make-flags (list (string-append "CC=" ,(cc-for-target))
+ (string-append "DESTDIR=" %output))
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'configure)
+ (add-after 'unpack 'fix-pkg-config-in
+ (lambda* _
+ (substitute* "Makefile"
+ (("usr/") ""))
+ (substitute* "libgbinder.pc.in"
+ (("@libdir@") (string-append (assoc-ref %outputs "out") "/lib"))
+ (("/usr/include") (string-append %output "/include")))))
+ (add-after 'install 'install-dev
+ (lambda* _
+ (invoke "make" "install-dev" (string-append "DESTDIR=" %output))))
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (chdir "test")
+ (invoke "make" (string-append "CC=" ,(cc-for-target)))
+ (chdir "..") #t))))))
+ (native-inputs `(("bison" ,bison)
+ ("flex" ,flex)
+ ("pkg-config" ,pkg-config)))
+ (inputs `(("glib" ,glib)
+ ("libglibutil" ,libglibutil)))
+ (home-page "https://github.com/mer-hybris/libgbinder")
+ (synopsis "GLib-style interface to binder")
+ (description "This package provides GLib-style interface to binder:
+@enumerate
+@item Integration with GLib event loop
+@item Detection of 32 vs 64 bit kernel at runtime
+@item Asynchronous transactions that don't block the event thread
+@item Stable service manager and low-level transation APIs
+@end enumerate")
+ (license license:bsd-3)))
+
(define-public libglibutil
(package
(name "libglibutil")
--
2.33.1
next prev parent reply other threads:[~2021-11-10 1:39 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-10 1:33 [bug#51737] Add Waydroid phodina via Guix-patches via
2021-11-10 1:37 ` [bug#51737] [PATCH 1/4] gnu: Add libglibutil phodina via Guix-patches via
2021-11-10 1:38 ` phodina via Guix-patches via [this message]
2021-11-10 1:38 ` [bug#51737] [PATCH 3/4] gnu: Add python-gbinder phodina via Guix-patches via
2021-11-10 1:39 ` [bug#51737] [PATCH 4/4] gnu: Add waydroid phodina via Guix-patches via
2021-11-15 20:03 ` Liliana Marie Prikler
2021-11-15 22:30 ` phodina via Guix-patches via
2021-12-03 15:00 ` phodina via Guix-patches via
2022-06-25 13:08 ` [bug#51737] [PATCH v2 1/7] gnu: Add linux-libre-waydroid phodina via Guix-patches via
2022-06-25 16:46 ` Maxime Devos
2022-06-27 7:07 ` phodina via Guix-patches via
2022-07-19 14:56 ` Maxime Devos
2022-07-19 14:57 ` Maxime Devos
2022-10-29 19:28 ` [bug#51737] [PATCH v3 1/8] " phodina via Guix-patches via
2022-10-31 19:30 ` phodina via Guix-patches via
2022-11-01 6:51 ` Liliana Marie Prikler
2022-11-01 7:04 ` Julien Lepiller
2022-11-04 3:03 ` Denis 'GNUtoo' Carikli
2022-11-04 11:38 ` Denis 'GNUtoo' Carikli
2022-11-04 11:51 ` Denis 'GNUtoo' Carikli
2022-11-04 12:26 ` Denis 'GNUtoo' Carikli
2022-11-12 15:54 ` Denis 'GNUtoo' Carikli
2022-12-13 17:48 ` phodina via Guix-patches via
2022-12-15 17:02 ` Denis 'GNUtoo' Carikli
2022-12-13 17:10 ` phodina via Guix-patches via
2022-12-13 18:23 ` Julien Lepiller
2022-12-15 16:38 ` Denis 'GNUtoo' Carikli
2022-12-13 16:49 ` phodina via Guix-patches via
2022-12-15 16:44 ` Denis 'GNUtoo' Carikli
2022-10-18 9:32 ` [bug#51737] Add Waydroid dan
2024-03-20 13:56 ` outlook user
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='f0X-fmjm6HpduBHb9LOM6szjKRf30FPp9PkW4LfeCuokGHn0dwF36saOvMdaodwMl0Bo0sncib1Etr7ZZANwLu6-sV6c7SWCzlEH8wGaBOc=@protonmail.com' \
--to=guix-patches@gnu.org \
--cc=51737@debbugs.gnu.org \
--cc=phodina@protonmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.