From patchwork Mon Oct 28 21:28:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sharlatan Hellseher X-Patchwork-Id: 69603 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 64E7227BBEA; Mon, 28 Oct 2024 21:31:40 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.6 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL, RCVD_IN_VALIDITY_SAFE,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 6E1D227BBE2 for ; Mon, 28 Oct 2024 21:31:39 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t5XKT-0007cf-Vy; Mon, 28 Oct 2024 17:31:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t5XKN-0007bH-U9 for guix-patches@gnu.org; Mon, 28 Oct 2024 17:31:11 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t5XKN-0005vY-LJ for guix-patches@gnu.org; Mon, 28 Oct 2024 17:31:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=clyvOWPh3lhcPN5yj/FrX7kifogbkBbURfzaAlOgCPM=; b=Oe6Tx7z9reik8KW/qWUi6C+o+Wn0teLfKJpI2Uokk5IvWytnho9U9TtIO2u/frbMZV6qh3fgeCTRmxepBnSINpK49J2RmtT7+N1DFsZLF1XnJG8N7WFmnZrQfndNRiyWsyu7+YeDTOhI4qY8gYppAeITUEAs2RM6BB3nC+PFUE6YDbSW4TpoQsHvj8V0la19KKSlc4t+PjHgwB2tdTzUymf5OIm9hDKJWD6pRJhe3X9zIgoUZBQaRAmVS7bjyOTvIJHsFwwqAIWdI2jfMP6twMUXVxkQLe22nApmyPZ/QRuXso6tfONYC/8BA91g3bK3Paxz47m8ajqR27hDPpMqEA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t5XKJ-0005xo-HC; Mon, 28 Oct 2024 17:31:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73839] [PATCH v3 3/5] gnu: Add cl-pango. Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: glv@posteo.net, cox.katherine.e+guix@gmail.com, me@bonfacemunyoki.com, sharlatanus@gmail.com, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Mon, 28 Oct 2024 21:31:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73839 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73839@debbugs.gnu.org Cc: Sharlatan Hellseher , Grigory Shepelev , Guillaume Le Vaillant , Katherine Cox-Buday , Munyoki Kilyungi , Sharlatan Hellseher , jgart X-Debbugs-Original-Xcc: Guillaume Le Vaillant , Katherine Cox-Buday , Munyoki Kilyungi , Sharlatan Hellseher , jgart Received: via spool by 73839-submit@debbugs.gnu.org id=B73839.173015101222403 (code B ref 73839); Mon, 28 Oct 2024 21:31:03 +0000 Received: (at 73839) by debbugs.gnu.org; 28 Oct 2024 21:30:12 +0000 Received: from localhost ([127.0.0.1]:54901 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t5XJT-0005p3-EK for submit@debbugs.gnu.org; Mon, 28 Oct 2024 17:30:11 -0400 Received: from mail-wm1-f47.google.com ([209.85.128.47]:56527) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t5XJM-0005nx-Tx for 73839@debbugs.gnu.org; Mon, 28 Oct 2024 17:30:06 -0400 Received: by mail-wm1-f47.google.com with SMTP id 5b1f17b1804b1-43193678216so35093425e9.0 for <73839@debbugs.gnu.org>; Mon, 28 Oct 2024 14:30:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1730150944; x=1730755744; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=clyvOWPh3lhcPN5yj/FrX7kifogbkBbURfzaAlOgCPM=; b=b+tQCf+HYfDKL2s7l6CLDc5bzB+kmGow1/VbfH0NXSgZ4WyKFCZMLtfs+5Ay1rZV81 n88VVnJ1ID/sPrqbMbj+ABoXYgXqkOYKkyh2OpzPcE1jmW7E20WrTEjg0Rwp4eBZURQo Jp+4RGgEZSQfgAEuighuZnAW7kI5J4mwkTDXlHo4i6wbN0jB8N4QHGN0Tf2NXKXsgo2p CmvONGuH7A5xw+tAcT10I5t/Y9vHIeZ37si62qt5Vm7/GbIv+p3tofPRdXs/dxMAN1m2 /l+gOgoS6GRvfM3diT3M9uGQ+TY5S5ywYnRTuHl7+WXp9R8ye64Y5OeiDq3wrUcf1J61 l9kg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730150944; x=1730755744; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=clyvOWPh3lhcPN5yj/FrX7kifogbkBbURfzaAlOgCPM=; b=EHa7fzLKJsUQRMU/9VJg4Gburuy42oFCI3ak9g4M3XTTQpeW8vTvktQsTKIAgiRP2N j5ZC2r6ldK/s7q/7BVvkDvmSD1s51FQvfmPeWgRdnh6YH7q/8tadbhujmjDsI9dZwRCY BYujwKT/YNrKy6GmZS9Voy+aPb39AzxaL4E1/9q/u/h+IucSwzdWI+mvJ+iRk1tEaBUN z3VP/ODPvTn+Uuuo0XD/NneiDchHkMzTaJY5GAnSOjdibvbuKM8VP9dG/aCilXzbklEr P1mwgsxhze8ULParq32UFpsX6Hr0fiPfB12BbHfPl12ViDnIYuwQNyJFXUDInTvsxFJq Y8MQ== X-Gm-Message-State: AOJu0YxVdA6oUJjvGQhC064eCs65XHsA/Xpc+AB43xmR6HoWZgEXKjoE KD3GSFY5gneYCW3gYSJbFCbQ7r+qgtNGvfsMkJv81GPKMvjPXIsYgDg11bvc X-Google-Smtp-Source: AGHT+IGCYjS5q33tdFc0tS3xGshz3Hv5SXWJrXiNQJAFzgp2j2VboAvpC3L3pCR7YCqilrpqt3TxNg== X-Received: by 2002:a05:600c:4510:b0:431:3927:d1bc with SMTP id 5b1f17b1804b1-4319ac70767mr86774115e9.2.1730150944004; Mon, 28 Oct 2024 14:29:04 -0700 (PDT) Received: from guxtil.incerto.xyz (cpc100684-bagu15-2-0-cust967.1-3.cable.virginm.net. [86.8.111.200]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38058b13246sm10583480f8f.11.2024.10.28.14.29.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Oct 2024 14:29:03 -0700 (PDT) From: Sharlatan Hellseher Date: Mon, 28 Oct 2024 21:28:57 +0000 Message-ID: <3fa9387ba3f1415585338662ecbdd73f462e88da.1730150632.git.sharlatanus@gmail.com> X-Mailer: git-send-email 2.46.0 In-Reply-To: References: MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches From: Grigory Shepelev * gnu/packages/lisp-xyz.scm (cl-pango, ecl-cl-pango, sbcl-cl-pango): New variables. Change-Id: I3615ef64197e8bee5cbb733bc427a54607bae4b2 Co-authored-by: Sharlatan Hellseher --- gnu/packages/lisp-xyz.scm | 59 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index e6dfefc79b..ab15e3b901 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -4496,6 +4496,65 @@ (define-public cl-cairo2 (define-public ecl-cl-cairo2 (sbcl-package->ecl-package sbcl-cl-cairo2)) +(define-public sbcl-cl-pango + (let ((commit "ee4904d19ce22d00eb2fe17a4fe42e5df8ac8701") + (revision "0")) + (package + (name "sbcl-cl-pango") + (version (git-version "0.5" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/BradWBeer/cl-pango") + (commit commit))) + (file-name (git-file-name "cl-pango" version)) + (sha256 + (base32 "0zkn4yn8nkkjr0x1vcy856cvbmnyhdidqz0in8xvd2i93jvw5w0i")))) + (build-system asdf-build-system/sbcl) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'fix-paths + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "library.lisp" + (("libpango-1.0.so") + (search-input-file inputs "/lib/libpango-1.0.so")) + (("libpangocairo-1.0.so") + (search-input-file inputs "/lib/libpangocairo-1.0.so.0")))))))) + (inputs + (list pango + sbcl-cffi + sbcl-cl-cairo2 + sbcl-xmls)) + (home-page "https://github.com/BradWBeer/cl-pango") + (synopsis "Pango bindings for Common Lisp") + (description "Bindings to the pango text layout library") + (license license:expat)))) + +(define-public cl-pango + (sbcl-package->cl-source-package sbcl-cl-pango)) + +(define-public ecl-cl-pango + (let ((pkg (sbcl-package->ecl-package sbcl-cl-pango))) + (package + (inherit pkg) + (inputs + (list pango + sbcl-alexandria + sbcl-cffi + sbcl-cl-cairo2 + sbcl-xmls)) + ;; XXX: It tries to recompile sbcl-cl-colours for some reasone and + ;; failes: C library error: Permission denied. + (arguments + (substitute-keyword-arguments (package-arguments pkg) + ((#:phases phases) + `(modify-phases ,phases + (delete 'build) + (delete 'check)))))))) + (define-public sbcl-cl-cffi-gtk (let ((commit "1700fe672c65455c1fc33061ec92a3df84287ec7") (revision "3"))