From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 02 12:29:41 2018 Received: (at submit) by debbugs.gnu.org; 2 Oct 2018 16:29:41 +0000 Received: from localhost ([127.0.0.1]:34466 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g7NYL-0004CP-5J for submit@debbugs.gnu.org; Tue, 02 Oct 2018 12:29:41 -0400 Received: from eggs.gnu.org ([208.118.235.92]:50400) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g7NYI-0004BZ-Oo for submit@debbugs.gnu.org; Tue, 02 Oct 2018 12:29:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g7NYC-0001dv-4C for submit@debbugs.gnu.org; Tue, 02 Oct 2018 12:29:33 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:54468) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1g7NYB-0001dY-Cq for submit@debbugs.gnu.org; Tue, 02 Oct 2018 12:29:32 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59979) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g7NYA-000341-9c for guix-patches@gnu.org; Tue, 02 Oct 2018 12:29:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g7NY8-0001ca-Li for guix-patches@gnu.org; Tue, 02 Oct 2018 12:29:30 -0400 Received: from pegasus.bbbm.mdc-berlin.de ([141.80.25.20]:51076) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1g7NY8-0001bx-7j for guix-patches@gnu.org; Tue, 02 Oct 2018 12:29:28 -0400 Received: from localhost (localhost [127.0.0.1]) by pegasus.bbbm.mdc-berlin.de (Postfix) with ESMTP id 3D2D0B3CF84; Tue, 2 Oct 2018 18:29:27 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mdc-berlin.de; h= content-type:content-type:content-transfer-encoding:mime-version :references:in-reply-to:x-mailer:message-id:date:date:subject :subject:from:from:received:received:received; s=mdc; t= 1538497761; x=1540312162; bh=d3BiDnwzOJtX/nDkzOathDPOokTV7z3EO/L UnS15+PE=; b=jD4ytT4OukufVtbYfLtR9k/6pPGGe/4r/96R4JK8WmhzuM1ec5v pbuzWlr5mJzJSqDQWA4hw5sxXAK4Cy4J1eDxV64/frc53lS+GLtH4+Vs9/6K/3Fn 1R5wnMyfL/SZWvxYMzOjZR2CSLSHluxAwqW7bBGSTIhlSx76ZVYG+sNo= X-Virus-Scanned: amavisd-new at mdc-berlin.de Received: from pegasus.bbbm.mdc-berlin.de ([127.0.0.1]) by localhost (pegasus.bbbm.mdc-berlin.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xo2kSEpS1B4V; Tue, 2 Oct 2018 18:29:21 +0200 (CEST) Received: from SW-IT-P-CAS4.mdc-berlin.net (puck.citx.mdc-berlin.de [141.80.36.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by pegasus.bbbm.mdc-berlin.de (Postfix) with ESMTPS; Tue, 2 Oct 2018 18:29:21 +0200 (CEST) Received: from localhost (141.80.113.103) by SW-IT-P-CAS4.mdc-berlin.net (141.80.113.59) with Microsoft SMTP Server (TLS) id 14.3.408.0; Tue, 2 Oct 2018 18:29:21 +0200 From: Ricardo Wurmus To: <32908@debbugs.gnu.org>, Subject: [PATCH 03/24] gnu: Add ghc-cairo. Date: Tue, 2 Oct 2018 18:28:51 +0200 Message-ID: <20181002162912.5037-3-ricardo.wurmus@mdc-berlin.de> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20181002162912.5037-1-ricardo.wurmus@mdc-berlin.de> References: <20181002162912.5037-1-ricardo.wurmus@mdc-berlin.de> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [141.80.113.103] X-TM-AS-Product-Ver: SMEX-12.5.0.1300-8.5.1010-24132.001 X-TM-AS-Result: No-1.344100-8.000000-10 X-TMASE-MatchedRID: bYH4cnTg5Bh7qToVEfwBPAPZZctd3P4BUAjrAJWsTe9EnPVDTqslHJXt W55mbY7su549XTiksP2X7DxEayvPbUhrEQpQtQpn/jkwiY2tJnKeW/QqOEIboxHfiujuTbedD2u GzNMsEutMQlcs6U5bKsNquz4hYNlUwzy65XFSg4Od4hCa7xSZoUvE+2pLwGbnIFBEE5CFomK7Uo HJ+9TgGxuGD25x8oXaIrP+F+q/orcyny4QqxzvlaEtILqFekmXzV4D+5YmeSIGDX36N3U6oJL56 Y6Sl6pu7AND6D09cQrr10sFO6j2gxGRuqAmkM32sJN7JpKehD9z9UUpSXYjWu6atCsSvs/Xo8WM kQWv6iVfx6Zf83Do5eTCMddcL/gjymsk/wUE4hpgjAF3/QZDVVSRPS2PMnIFMxVncPFzz8wDGoR GvByGfaVP4QzAgPUh/FMydF8ZfkGzOyEfnt+W0Yt/hJWye13viRNPFNbO6QMd5O3MqtAYn18meq Zf6A0NfgM9KzVmYdaCt8R8B7o3j5zq1FopdWJ5QwymtxuJ6y0= X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10-1.344100-8.000000 X-TMASE-Version: SMEX-12.5.0.1300-8.5.1010-24132.001 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.3 (----) X-Debbugs-Envelope-To: submit Cc: Ricardo Wurmus X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.3 (-----) * gnu/packages/haskell.scm (ghc-cairo): New variable. --- gnu/packages/haskell.scm | 77 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index c8e4523eb..964b14749 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -43,6 +43,7 @@ #:use-module (gnu packages ghostscript) #:use-module (gnu packages gl) #:use-module (gnu packages graphviz) + #:use-module (gnu packages gtk) #:use-module (gnu packages haskell-check) #:use-module (gnu packages haskell-crypto) #:use-module (gnu packages haskell-web) @@ -10587,6 +10588,82 @@ expose it from another module in the hierarchy. @end itemize") (license license:expat))) =20 +(define-public ghc-cairo + (package + (name "ghc-cairo") + (version "0.13.5.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/cairo/" + "cairo-" version ".tar.gz")) + (sha256 + (base32 + "1wxylv4d8120ri0vgar168ikqa9m6533ipdwi38qlmxmw20ws2j2")))) + (build-system haskell-build-system) + (arguments + `(#:modules ((guix build haskell-build-system) + (guix build utils) + (ice-9 match) + (srfi srfi-26)) + #:phases + (modify-phases %standard-phases + ;; FIXME: This is a copy of the standard configure phase with a= tiny + ;; difference: this package needs the -package-db flag to be pa= ssed + ;; to "runhaskell" in addition to the "configure" action, becau= se it + ;; depends on gtk2hs-buildtools, which provide setup hooks. Wi= thout + ;; this option the Setup.hs file cannot be evaluated. The + ;; haskell-build-system should be changed to pass "-package-db"= to + ;; "runhaskell" in any case. + (replace 'configure + (lambda* (#:key outputs inputs tests? (configure-flags '()) + #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (input-dirs (match inputs + (((_ . dir) ...) + dir) + (_ '()))) + (ghc-path (getenv "GHC_PACKAGE_PATH")) + (params (append `(,(string-append "--prefix=3D" out)= ) + `(,(string-append "--libdir=3D" out = "/lib")) + `(,(string-append "--bindir=3D" out = "/bin")) + `(,(string-append + "--docdir=3D" out + "/share/doc/" ((@@ (guix build h= askell-build-system) + package-name-= version) out))) + '("--libsubdir=3D$compiler/$pkg-$ver= sion") + '("--package-db=3D../package.conf.d"= ) + '("--global") + `(,@(map + (cut string-append "--extra-inc= lude-dirs=3D" <>) + (search-path-as-list '("include= ") input-dirs))) + `(,@(map + (cut string-append "--extra-lib= -dirs=3D" <>) + (search-path-as-list '("lib") i= nput-dirs))) + (if tests? + '("--enable-tests") + '()) + configure-flags))) + (unsetenv "GHC_PACKAGE_PATH") + (apply invoke "runhaskell" "-package-db=3D../package.conf= .d" + "Setup.hs" "configure" params) + (setenv "GHC_PACKAGE_PATH" ghc-path) + #t)))))) + (inputs + `(("ghc-utf8-string" ,ghc-utf8-string) + ("ghc-text" ,ghc-text) + ("cairo" ,cairo))) + (native-inputs + `(("ghc-gtk2hs-buildtools" ,ghc-gtk2hs-buildtools) + ("pkg-config" ,pkg-config))) + (home-page "http://projects.haskell.org/gtk2hs/") + (synopsis "Haskell bindings to the Cairo vector graphics library") + (description + "Cairo is a library to render high quality vector graphics. There = exist +various backends that allows rendering to Gtk windows, PDF, PS, PNG and = SVG +documents, amongst others.") + (license license:bsd-3))) + (define-public ghc-weigh (package (name "ghc-weigh") --=20 2.19.0 From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 02 12:37:43 2018 Received: (at 32910-done) by debbugs.gnu.org; 2 Oct 2018 16:37:43 +0000 Received: from localhost ([127.0.0.1]:34538 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g7Ng6-0004V1-PW for submit@debbugs.gnu.org; Tue, 02 Oct 2018 12:37:42 -0400 Received: from venus.bbbm.mdc-berlin.de ([141.80.25.30]:52032) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g7Ng4-0004Ue-Vh; Tue, 02 Oct 2018 12:37:41 -0400 Received: from localhost (localhost [127.0.0.1]) by venus.bbbm.mdc-berlin.de (Postfix) with ESMTP id 2498138086D; Tue, 2 Oct 2018 18:37:40 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mdc-berlin.de; h= content-type:content-type:mime-version:message-id:date:date :subject:subject:from:from:user-agent:received:received :received; s=mdc; t=1538498259; x=1540312660; bh=qRF6kJfp/sI49Wk 3urKAf1Z5KYsYa4Y3+1pvnGVfc60=; b=e6I7ZFO1AmBqprShS4VtM4LZ4JatDsx l/zuoDVbYZdbNJXlcuRKR6gr6naWvUpPszTk38XIZ/i0W7BoCqzXx/X7yEvJWOuU A3oZtPqwnxAdfKyp3Kdn7/tjABhbUiFlAbbbb2nDYN4efGk2T/aNEM02e+zDQdYP GdBN9JqPjA3U= X-Virus-Scanned: amavisd-new at mdc-berlin.de Received: from venus.bbbm.mdc-berlin.de ([127.0.0.1]) by localhost (venus.bbbm.mdc-berlin.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4W5Ew5OVPb8H; Tue, 2 Oct 2018 18:37:39 +0200 (CEST) Received: from SW-IT-P-CAS4.mdc-berlin.net (puck.citx.mdc-berlin.de [141.80.36.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by venus.bbbm.mdc-berlin.de (Postfix) with ESMTPS; Tue, 2 Oct 2018 18:37:39 +0200 (CEST) Received: from localhost (141.80.113.103) by SW-IT-P-CAS4.mdc-berlin.net (141.80.113.59) with Microsoft SMTP Server (TLS) id 14.3.408.0; Tue, 2 Oct 2018 18:37:39 +0200 User-agent: mu4e 1.0; emacs 26.1 From: Ricardo Wurmus To: <32909-done@debbugs.gnu.org>, <32910-done@debbugs.gnu.org>, <32911-done@debbugs.gnu.org>, <32912-done@debbugs.gnu.org>, <32913-done@debbugs.gnu.org> Subject: submitted by accident X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Tue, 2 Oct 2018 18:37:39 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [141.80.113.103] X-TM-AS-Product-Ver: SMEX-12.5.0.1300-8.5.1010-24132.001 X-TM-AS-Result: No-1.053100-8.000000-10 X-TMASE-MatchedRID: EMtSgQhBfTueAiCmPx4NwGmRqNBHmBve5ti2zXtiy6imCM4gu6EZMwtu KBGekqUpOlxBO2IcOBbfONGZ6iBvQnVjuJk9i49EVzy/ADDANSS64qSHUq/E3pEYkQtHQOfGyGX w9ilbrtdAfGe4Oygpy9BeLNDoFfyyUJcN85AGg1M2RRIMOrvjaQ== X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--1.053100-8.000000 X-TMASE-Version: SMEX-12.5.0.1300-8.5.1010-24132.001 X-Spam-Score: -1.8 (-) X-Debbugs-Envelope-To: 32910-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.8 (--) Sorry. From unknown Thu Sep 11 10:04:28 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 31 Oct 2018 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator