From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 6E8VKx6YtmBWBwEAgWs5BA (envelope-from ) for ; Tue, 01 Jun 2021 22:27:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id oGpvJh6YtmARdgAAbx9fmQ (envelope-from ) for ; Tue, 01 Jun 2021 20:27:10 +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 694E224B63 for ; Tue, 1 Jun 2021 22:27:10 +0200 (CEST) Received: from localhost ([::1]:34502 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1loAyj-0004oG-EN for larch@yhetil.org; Tue, 01 Jun 2021 16:27:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43350) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1loAxk-0002gf-OF for guix-patches@gnu.org; Tue, 01 Jun 2021 16:26:08 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54662) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1loAxk-0001Cy-FH for guix-patches@gnu.org; Tue, 01 Jun 2021 16:26:08 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1loAxk-000738-C4 for guix-patches@gnu.org; Tue, 01 Jun 2021 16:26:08 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47768] [PATCH v3 37/42] gnu: Add ocaml-graphics. Resent-From: pukkamustard Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 01 Jun 2021 20:26:08 +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: Xinglu Chen Cc: pukkamustard , 47768@debbugs.gnu.org, divoplade Received: via spool by 47768-submit@debbugs.gnu.org id=B47768.162257915426894 (code B ref 47768); Tue, 01 Jun 2021 20:26:08 +0000 Received: (at 47768) by debbugs.gnu.org; 1 Jun 2021 20:25:54 +0000 Received: from localhost ([127.0.0.1]:37938 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1loAxV-0006zi-Mf for submit@debbugs.gnu.org; Tue, 01 Jun 2021 16:25:53 -0400 Received: from mout01.posteo.de ([185.67.36.65]:45279) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1loAxT-0006z9-KG for 47768@debbugs.gnu.org; Tue, 01 Jun 2021 16:25:52 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 13F1C24002A for <47768@debbugs.gnu.org>; Tue, 1 Jun 2021 22:25:46 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1622579146; bh=T5iuTi302dyE/+eyyxOl2ymCVops9g7b26VU4FSzfVo=; h=From:To:Cc:Subject:Date:From; b=mQc2KYOBNzhUzQWHbuxuCI8LZjz80Kx9cdGnEfEbUejhzpwPNpCk/RKUru6439YcI jb8I4LA8oPtZ5LabxkM8oxrhNLImKamR3rvMaT4C/g/rnveLhVBgDj54oxRgqW8J6J FmjqAXK7wJi0BZtjhewWCbpCRgvgWylT6A6GwwLmbe8G7Vm1mJm7mRC2rJxmCyAsFL BAdrfK8CDBuxqLimWtNTGMPPYQgs9WlNEYeImRX2sQXRvBPgJFri/P1wskXHNcmvD3 e9Sz0UD7//jFhvK86Sex6OM0v7GffZOmnng6VFcKF+Fqpk/AlYybnltm41N7E0di+N O8MNr8EhvjVsw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4FvkF36X7pz9rxK; Tue, 1 Jun 2021 22:25:43 +0200 (CEST) From: pukkamustard Date: Tue, 1 Jun 2021 20:23:20 +0000 Message-Id: <20210601202325.8777-38-pukkamustard@posteo.net> In-Reply-To: <87lf82hasx.fsf@yoctocell.xyz> References: <87lf82hasx.fsf@yoctocell.xyz> 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=1622579230; 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=ShWq9llNppdKBea6Vt6RcDirHRX4kve12ZGHDXOH95E=; b=YkCgopEwBnmq5J2gjqFgA3lWZBhTsNeHshYsIpLAJ11AOkN9qsEo4gcEjDz0FVGDwbZdoJ CfGAh79bYVIvxV5K2PxicRQicvy4qAtsY3JLosUMgp1IvxyJ/6t2Wh7TjKKq7bkgNR8ihR lFE1MuB9MLVBTjRgrO2eR/kEov4rHB0tvuwIZQBExJ82NABMiFofM32Y6ODi0ZlCl/wvV0 UT7/ET/HgGmZnchr1etmFcVrxOb5FKmYBCOKhwd42DR3PBSNZ0TU5gfawCDOEQ3LRoaCke OaYkND8R6cJKu0NcE8vrc+qGO/zAhQbLR+FQ05kXWWkevgO0zWJsgXq4jsgdtQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1622579230; a=rsa-sha256; cv=none; b=jVgq/0Str/tzUauVh4/ykRKfk52gyWe99ASThY4cSPCTi/TFJ1XI7tXuVMBbN49gysikkA vA4KBq8ZRX/WOhJDiKz0tZyN6qMnkfOXln2ckCiAFwaY4Wb8uTv5gJUvon+287nW0GjcEw +pADorgEOM3HXc3OgIH10AhrBSFxXbvctkSu7T0WoxwBoAUsuZpPo0DbfhkiWKzve8NtQt jPT03HDNRyRHxLBXmy/V2PPZdb8/G/hSCgNSKE52gMrA5cfleVNMkaFpn7PxhXlLVdF9IG iCT8DV5gD2CHsSYtRlAe+8D1qZVDJkHCz1q34dMsM1PgOPN2RtcCvs3RfXCaEg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=mQc2KYOB; 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.67 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=mQc2KYOB; 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: 694E224B63 X-Spam-Score: 3.67 X-Migadu-Scanner: scn0.migadu.com X-TUID: j5tlB2R+GE3V 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 e1055cb43c..d2db62ebfe 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -6913,3 +6913,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