From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id gFddFsQii2G90gAAgWs5BA (envelope-from ) for ; Wed, 10 Nov 2021 02:39:16 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id iJYQEsQii2HBeAAAB5/wlQ (envelope-from ) for ; Wed, 10 Nov 2021 01:39:16 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C72C62C350 for ; Wed, 10 Nov 2021 02:39:15 +0100 (CET) Received: from localhost ([::1]:40590 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mkca3-0002D3-0Q for larch@yhetil.org; Tue, 09 Nov 2021 20:39:15 -0500 Received: from eggs.gnu.org ([209.51.188.92]:60918) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mkcZu-0002Ce-Fu for guix-patches@gnu.org; Tue, 09 Nov 2021 20:39:06 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:53075) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mkcZq-0005Cj-4g for guix-patches@gnu.org; Tue, 09 Nov 2021 20:39:06 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mkcZq-0000vW-3b for guix-patches@gnu.org; Tue, 09 Nov 2021 20:39:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51737] [PATCH 2/4] gnu: Add libgbinder. References: In-Reply-To: Resent-From: phodina Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 10 Nov 2021 01:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51737 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: "51737@debbugs.gnu.org" <51737@debbugs.gnu.org> Received: via spool by 51737-submit@debbugs.gnu.org id=B51737.16365083053506 (code B ref 51737); Wed, 10 Nov 2021 01:39:02 +0000 Received: (at 51737) by debbugs.gnu.org; 10 Nov 2021 01:38:25 +0000 Received: from localhost ([127.0.0.1]:36385 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mkcZE-0000uU-QJ for submit@debbugs.gnu.org; Tue, 09 Nov 2021 20:38:25 -0500 Received: from mail-4322.protonmail.ch ([185.70.43.22]:39685) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mkcZC-0000uG-Fw for 51737@debbugs.gnu.org; Tue, 09 Nov 2021 20:38:23 -0500 Date: Wed, 10 Nov 2021 01:38:14 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1636508296; bh=U8X7bmXcW8U+okhMm84K56cEcKgzfLIS3Ufrybp8Sy4=; h=Date:To:From:Reply-To:Subject:From; b=Jvl9K4ANvHivB9/9dak0PeuneFz2X/i098efS/ZS/3J7dxfj32H32GHMTDGTS6rtP 6c2j9yPiIZy3/jCY3IRS/lYDw+xZ5u8CZV4UuKJlhx2ECZVZ9NPlq7JEqvzQQ6fMeW P69mbOkXukUQvn+IVGdC/l66P7KxqeQIiX6s2jmw= Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: phodina X-ACL-Warn: , phodina via Guix-patches From: phodina via Guix-patches via X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1636508355; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=U8X7bmXcW8U+okhMm84K56cEcKgzfLIS3Ufrybp8Sy4=; b=e78c5giZ2EbIbo9cvidqQVqjv4+K07sg33m8JO+82FW1OsTm9KOiIEa6+Eb66c6Bxmg34h 6oLoxoBbfDrhFV336NbwnjtEIT1ubgjZAY2bdYYFCgNyNmrMsOAPBAJp+CrRS2j73CCdGO SOcH39lYsElhLouL8v/wugB0uSZJJxGDQxlt+1gKsPbUPasR5FTTWCHb5tdywCWGfHK5DA Ok1EkX0J8cAKALV6CCSF5eTAtZQEaa+tATFWvlxLBf98CdBRF7vy4CNrCjKeQjYoNsSE1l 5Rh13iHOsOelre/Qr5k+Zvv8jD1HvvYlAkuxSQvOfJsyHnWg62JgqNhUMdJu9A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1636508355; a=rsa-sha256; cv=none; b=OrzQxXO5kos6gSPYUkGxzVA0k+4kTnbIdjFmkULoiUQzBHfYuDJ5LM77fGZK9tpA0n1SR0 QTimFElWfbi9QbJHUM+ZqYmYUBGu1LEumbmIQlvCuIQXhVV3i46oZvBHtXdciO071woSjl c7lXQDUBJEeG+CsoQ1fo3fEhxFIv8kMGusViCb+txBErr0V1PhQqqdkni1wSx4dzZANZE9 yjJJ5/3rTXc7g98VosuYkxVZHgfCpWP/pRTYOCv1KaKw0CzwbY8aW+iVlvL+wk5XdS+iUg UJqgvDfRzA6nUMhg5RVNWbuKoSpmoI8qamYvQxU17vvgTw+It1p+mT2L4uxcKQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail header.b=Jvl9K4AN; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -2.92 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail header.b=Jvl9K4AN; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: C72C62C350 X-Spam-Score: -2.92 X-Migadu-Scanner: scn0.migadu.com X-TUID: vtnBkTt2Hrzd * 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=3D" ,(cc-for-target)) + (string-append "DESTDIR=3D" %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") "/l= ib")) + (("/usr/include") (string-append %output "/include"))))) + (add-after 'install 'install-dev + (lambda* _ + (invoke "make" "install-dev" (string-append "DESTDIR=3D" %out= put)))) + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (chdir "test") + (invoke "make" (string-append "CC=3D" ,(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