From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:41653) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ioNi7-0000uA-Dh for guix-patches@gnu.org; Mon, 06 Jan 2020 03:26:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ioNi6-00029i-B9 for guix-patches@gnu.org; Mon, 06 Jan 2020 03:26:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:38965) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ioNi6-00029Y-8G for guix-patches@gnu.org; Mon, 06 Jan 2020 03:26:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ioNi6-0002xv-2F for guix-patches@gnu.org; Mon, 06 Jan 2020 03:26:02 -0500 Subject: [bug#38965] [PATCH 01/12] gnu: Add ocaml-cairo2. References: <874kx9xa9u.fsf@gnu.org> In-Reply-To: <874kx9xa9u.fsf@gnu.org> Resent-Message-ID: From: Brett Gilio Date: Mon, 06 Jan 2020 02:25:52 -0600 Message-ID: <871rsdxa7j.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/x-patch Content-Disposition: inline; filename=0001-gnu-Add-ocaml-cairo2.patch Content-Description: [PATCH 01/12] gnu: Add ocaml-cairo2. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 38965@debbugs.gnu.org >From ce11c3d54c42f55a906a1457436f9486764f443e Mon Sep 17 00:00:00 2001 From: Brett Gilio Date: Mon, 6 Jan 2020 01:26:33 -0600 Subject: [PATCH 01/12] gnu: Add ocaml-cairo2. To: guix-patches@gnu.org * gnu/packages/ocaml.scm (ocaml-cairo2): New variable. --- gnu/packages/ocaml.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index a9e421a17c..198ff55078 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -5243,3 +5243,33 @@ library FFTW.") LAPACK-library (Linear Algebra routines). It also contains many additional convenience functions for vectors and matrices.") (license license:lgpl2.1))) + +(define-public ocaml-cairo2 + (package + (name "ocaml-cairo2") + (version "0.6.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/Chris00/ocaml-cairo") + (commit version))) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0wzysis9fa850s68qh8vrvqc6svgllhwra3kzll2ibv0wmdqrich")))) + (build-system dune-build-system) + (arguments + `(#:test-target "tests")) + (inputs + `(("cairo" ,cairo) + ("gtk+-2" ,gtk+-2) + ("lablgtk" ,lablgtk))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (home-page "https://github.com/Chris00/ocaml-cairo") + (synopsis "Binding to Cairo, a 2D Vector Graphics Library") + (description "Ocaml-cairo2 is a binding to Cairo, a 2D graphics library +with support for multiple output devices. Currently supported output targets +include the X Window System, Quartz, Win32, image buffers, PostScript, PDF, +and SVG file output.") + (license license:lgpl3+))) -- 2.24.1