From patchwork Wed Feb 12 12:55:54 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Alexandros Theodotou X-Patchwork-Id: 20226 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 5087127BBE4; Wed, 12 Feb 2020 13:00:08 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id BBD9917B9D for ; Wed, 12 Feb 2020 13:00:07 +0000 (GMT) Received: from localhost ([::1]:37002 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j1rcd-0002gK-59 for patchwork@mira.cbaines.net; Wed, 12 Feb 2020 08:00:07 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60918) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j1raw-0007au-2Y for guix-patches@gnu.org; Wed, 12 Feb 2020 07:58:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j1rac-00041z-1J for guix-patches@gnu.org; Wed, 12 Feb 2020 07:58:22 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:51954) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j1rab-00041g-UE for guix-patches@gnu.org; Wed, 12 Feb 2020 07:58:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j1rab-0007q1-Nj for guix-patches@gnu.org; Wed, 12 Feb 2020 07:58:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#39574] [PATCH] gnu: Add libcyaml. Resent-From: Alexandros Theodotou Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 12 Feb 2020 12:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 39574 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 39574@debbugs.gnu.org X-Debbugs-Original-To: Guix patches Received: via spool by submit@debbugs.gnu.org id=B.158151226430102 (code B ref -1); Wed, 12 Feb 2020 12:58:01 +0000 Received: (at submit) by debbugs.gnu.org; 12 Feb 2020 12:57:44 +0000 Received: from localhost ([127.0.0.1]:57927 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j1raJ-0007pR-R1 for submit@debbugs.gnu.org; Wed, 12 Feb 2020 07:57:44 -0500 Received: from lists.gnu.org ([209.51.188.17]:60704) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j1raH-0007pJ-Ju for submit@debbugs.gnu.org; Wed, 12 Feb 2020 07:57:42 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60843) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j1rZz-0007SZ-AA for guix-patches@gnu.org; Wed, 12 Feb 2020 07:57:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j1rZe-0003EN-SK for guix-patches@gnu.org; Wed, 12 Feb 2020 07:57:22 -0500 Received: from mout02.posteo.de ([185.67.36.142]:45273) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1j1rZe-00028O-Hq for guix-patches@gnu.org; Wed, 12 Feb 2020 07:57:02 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 5E3BC2400FB for ; Wed, 12 Feb 2020 13:55:59 +0100 (CET) Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 48HflK6mf8z9rxR for ; Wed, 12 Feb 2020 13:55:57 +0100 (CET) Message-ID: <5794eac4fb9ef5e9215527c24cecfb7fc362d6a7.camel@zrythm.org> From: Alexandros Theodotou Date: Wed, 12 Feb 2020 12:55:54 +0000 User-Agent: Evolution 3.32.4 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Hi, This patch adds libcyaml, a C library for parsing YAML into/from C structs. It will be required as a dependency to the zrythm package in its next release. Thanks, Alex From 968b188c9de49a6ad4cbcecfc4a6cde1e37f3411 Mon Sep 17 00:00:00 2001 From: Alexandros Theodotou Date: Wed, 12 Feb 2020 12:51:37 +0000 Subject: [PATCH] gnu: Add libcyaml. * gnu/packages/web.scm (libcyaml): New variable. --- gnu/packages/web.scm | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index 0f20cf205c..19051b5f85 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -37,6 +37,7 @@ ;;; Copyright © 2019 Jakob L. Kreuze ;;; Copyright © 2019 Florian Pelz ;;; Copyright © 2020 Timotej Lazar +;;; Copyright © 2020 Alexandros Theodotou ;;; ;;; This file is part of GNU Guix. ;;; @@ -1435,6 +1436,48 @@ hash/signatures.") (base32 "1karpcfgacgppa82wm2drcfn2kb6q2wqfykf5nrhy20sci2i2a3q")))))) +(define-public libcyaml + (package + (name "libcyaml") + (version "1.0.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/tlsa/libcyaml.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0h5ydyqdl8kzh526np3jsi0pm7ks16nh1hjkdsjcd6pacw7y6i6z")))) + (build-system gnu-build-system) + (arguments + `(#:make-flags + (list (string-append "PREFIX=" (assoc-ref %outputs "out")) + (string-append "CC=gcc")) + #:phases + (modify-phases %standard-phases + ;; no configure script + (delete 'configure) + (replace 'check + (lambda _ + (setenv "CC" "gcc") + (invoke "make" "test")))))) + (inputs + `(("libyaml" ,libyaml))) + (native-inputs + `(("pkg-config", pkg-config) + ("git", git))) + (synopsis "C library for reading and writing YAML") + (description + "LibCYAML is a C library written in ISO C11 for reading and writing +structured YAML documents. The fundamental idea behind CYAML is to allow +applications to construct schemas which describe both the permissible +structure of the YAML documents to read/write, and the C data structure(s) +in which the loaded data is arranged in memory.") + (home-page "https://github.com/tlsa/libcyaml") + (license license:isc))) + (define-public libquvi-scripts (package (name "libquvi-scripts") -- 2.25.0