From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id iDiDOWnCmGDMVgEAgWs5BA (envelope-from ) for ; Mon, 10 May 2021 07:19:37 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id eAYLNWnCmGABQAAAbx9fmQ (envelope-from ) for ; Mon, 10 May 2021 05:19:37 +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 A6374BE68 for ; Mon, 10 May 2021 07:19:37 +0200 (CEST) Received: from localhost ([::1]:41954 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lfyKO-0004xd-Ss for larch@yhetil.org; Mon, 10 May 2021 01:19:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46986) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lfyJA-0000Hk-Vo for guix-patches@gnu.org; Mon, 10 May 2021 01:18:21 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45560) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lfyJA-0003hD-IS for guix-patches@gnu.org; Mon, 10 May 2021 01:18:20 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lfyJA-0000X1-El for guix-patches@gnu.org; Mon, 10 May 2021 01:18:20 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47768] [PATCH v2 38/43] gnu: Add ocaml-graphics. Resent-From: pukkamustard Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 10 May 2021 05:18:20 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47768 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 47768@debbugs.gnu.org Cc: pukkamustard , divoplade , Maxime Devos Received: via spool by 47768-submit@debbugs.gnu.org id=B47768.16206238861771 (code B ref 47768); Mon, 10 May 2021 05:18:20 +0000 Received: (at 47768) by debbugs.gnu.org; 10 May 2021 05:18:06 +0000 Received: from localhost ([127.0.0.1]:57062 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lfyIv-0000SL-UN for submit@debbugs.gnu.org; Mon, 10 May 2021 01:18:06 -0400 Received: from mout02.posteo.de ([185.67.36.66]:35669) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lfyIU-0000Jx-Fw for 47768@debbugs.gnu.org; Mon, 10 May 2021 01:17:39 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 1D0D62400FC for <47768@debbugs.gnu.org>; Mon, 10 May 2021 07:17:38 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1620623858; bh=DgXZAK57XHQaVBUT/AhbCJh21ugtMmNS5Gel8ottpec=; h=From:To:Cc:Subject:Date:From; b=ogWJ55SNPI6Ex+0+KP9Tdo5IMZRPLLsKu3T9HWMHUE3yc/xL8B9W6ij1rB1RzZl+h 0SUHPcQvcDzPZUGgRySKwmR9DVqDuj3Egj2howWKzcFTE+ub3crpxPRdYeRa9HZlFZ 9NK+F/ARLD1LyqKbMCNjQVu63gYrw/Clp12mvYfYEq7h2TcY6Sv8zmXo5GCOfgyNLo ylXCAkubZ6EUWMkv0kZYXrfghjFoZuqVCmjkC08xoesHicsPdGoXNL+LJFbSuWAWWT +loQiOOcCZ3CDl0fi34aTRDKM6nEyEyrAo5XrdS/10oG78ijjMw+ZEzCuMOJo1ZnzM FyLryU6k101Vw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Fdq7P3Lrjz9rxf; Mon, 10 May 2021 07:17:37 +0200 (CEST) From: pukkamustard Date: Mon, 10 May 2021 05:16:23 +0000 Message-Id: <20210510051628.15359-39-pukkamustard@posteo.net> In-Reply-To: <20210510051628.15359-1-pukkamustard@posteo.net> References: <20210414090800.6458-1-pukkamustard@posteo.net> <20210510051628.15359-1-pukkamustard@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1620623977; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: 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=0PgBPYbiOeBmQcKvZbt/k+4LeGeAQA87H4ckwnKAcK8=; b=IwgI0YgGK4Jr9NZ/DSBVso6F8LS4NKqnGUnOL+AtHbpzKRivbn3TJTHeA4EY0jSok7p4xo gEHl2lxjMPjDPZ73kGl/ohsCdaZjV1ENFUQebgLjeDTk8UcRRIsiszirF6H0mpE4PrGO2m tyQ+T34gpI/TmqWnvP8y/+mKmUQSQ4jgaaOMpLCPpqcjEaXdpshoQio1JuPWZ+06pbM9w4 DujY560QJkPFAYKg7E9C6UAY03+MPC2YeitAWjY4hR63DMHI6ettsgc5AflqUFDy94Bppb 9ZfI4s5QNyK0HD2febZdxWQRlM1pMgkhn2iZ/4S2dZHL3Bd9+eZZym/IUpm2wA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1620623977; a=rsa-sha256; cv=none; b=DrQ5D6A2NeEoZjk+CRiVqBk7o/LGSPCuabbKVoGxy9uZtsL+/DXoi1F2vT1RYiIHuWyaSu 8cfScP6Nqh9fSHYo1SjvEyNK6UlVC3rf2hz6rK3xorgj3eO5dflwse6+XKp0UBQ229YEsa qi/uWUui8OVjZNDPwoCS9aVsTF5fqSGOkmmEuNK/WeDMtQAju/N+tnx9dgrB6NCYb0eQ+N plsuLMASr4phk0GBTbDI5GuH9TFV6sCmRyT4T+hMwdFc/J91XYMw4idaUFPmG3XthQ24Hy v0YQbsWT+VetREIRh4QAf49dT1jWeZ9amQnJX2cdXWquLCkpjlEH7GvbQaIEww== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=ogWJ55SN; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); 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: 3.65 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=ogWJ55SN; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); 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: A6374BE68 X-Spam-Score: 3.65 X-Migadu-Scanner: scn0.migadu.com X-TUID: kDxlvHxV1wcj From: divoplade * gnu/packages/ocaml.scm (ocaml-graphics): New variable. Co-Authored-By: pukkamustard --- gnu/packages/ocaml.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index c390a8bce9..4727b294d9 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -6900,3 +6900,29 @@ Both interfaces give the user total control over the blocking behavior of their application, with the unbuffered interface enabling zero-copy IO. Parsers are backtracking by default and support unbounded lookahead.") (license license:bsd-3))) + +(define-public ocaml-graphics + (package + (name "ocaml-graphics") + (version "5.1.1") + (home-page "https://github.com/ocaml/graphics") + (source + (origin + (method git-fetch) + (uri (git-reference + (url home-page) + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "14w07ydji2nbdk366nfp2pzs9484xp9vqv63n345id13v48z8bfi")))) + (build-system dune-build-system) + (propagated-inputs + `(("libx11" ,libx11))) + (synopsis "The OCaml graphics library") + (description + "The graphics library provides a set of portable drawing primitives. +Drawing takes place in a separate window that is created when +Graphics.open_graph is called. This library used to be distributed with OCaml +up to OCaml 4.08.") + (license license:lgpl2.1+))) -- 2.31.1