unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Alexandros Theodotou <alex@zrythm.org>
To: 40438@debbugs.gnu.org
Subject: [bug#40438] [PATCH] gnu: Add jsonrpc-glib.
Date: Sat, 04 Apr 2020 21:47:43 +0100	[thread overview]
Message-ID: <e4f85156b306ed70bfa07b8f3764f841e6f8aad3.camel@zrythm.org> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 180 bytes --]

Hi,

I was trying to build GNOME builder but it was failing. Anyway, here is
one of its dependencies, would be useful when someone tries to package
it again.

Thanks,
Alex

[-- Attachment #1.2: 0001-gnu-Add-jsonrpc-glib.patch --]
[-- Type: text/x-patch, Size: 2304 bytes --]

From 85f9832d560fbb4ea032c291bf98f73e3ac74b1f Mon Sep 17 00:00:00 2001
From: Alexandros Theodotou <alex@zrythm.org>
Date: Sat, 4 Apr 2020 21:45:50 +0100
Subject: [PATCH] gnu: Add jsonrpc-glib.

* gnu/packages/gnome.scm (jsonrpc-glib): New variable.
---
 gnu/packages/gnome.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index f93dd2649c..edd7caa4ad 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -50,6 +50,7 @@
 ;;; Copyright © 2020 raingloom <raingloom@riseup.net>
 ;;; Copyright © 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr>
 ;;; Copyright © 2020 Naga Malleswari <nagamalli@riseup.net>
+;;; Copyright © 2020 Alexandros Theodotou <alex@zrythm.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -3402,6 +3403,36 @@ various wrappers for the complex data types employed by JSON, such as arrays
 and objects.")
     (license license:lgpl2.1+)))
 
+(define-public jsonrpc-glib
+  (package
+    (name "jsonrpc-glib")
+    (version "3.32.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                     (url "https://gitlab.gnome.org/GNOME/jsonrpc-glib.git")
+                     (commit version)))
+              (file-name (string-append name "-" version "-checkout"))
+              (sha256
+                (base32
+                  "0mjr4g6jm3nwsjw0mnwnxr7ndnzaq2b2pr92xk1dmnca5znmal34"))))
+    (build-system meson-build-system)
+    (inputs
+     `(("glib" ,glib)
+       ("json-glib" ,json-glib)
+       ("gobject-introspection" ,gobject-introspection)
+       ("vala" ,vala)))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)))
+    (home-page "https://gitlab.gnome.org/GNOME/jsonrpc-glib")
+    (synopsis "JSON-RPC library for GLib")
+    (description "Jsonrpc-GLib is a library to communicate with JSON-RPC
+based peers in either a synchronous or asynchronous fashion.  It also
+allows communicating using the GVariant serialization format instead of
+JSON when both peers support it.  You might want that when communicating
+on a single host to avoid parser overhead and memory-allocator fragmentation.")
+    (license license:lgpl2.1+)))
+
 (define-public libxklavier
   (package
     (name "libxklavier")
-- 
2.26.0


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

             reply	other threads:[~2020-04-04 20:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-04 20:47 Alexandros Theodotou [this message]
2020-04-05  9:04 ` bug#40438: [PATCH] gnu: Add jsonrpc-glib Mathieu Othacehe

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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e4f85156b306ed70bfa07b8f3764f841e6f8aad3.camel@zrythm.org \
    --to=alex@zrythm.org \
    --cc=40438@debbugs.gnu.org \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).