From patchwork Thu Oct 24 23:33:32 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Aaron Covrig X-Patchwork-Id: 69430 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 DCD4B27BBE9; Fri, 25 Oct 2024 00:37:48 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,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=unavailable 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 DD68527BBE2 for ; Fri, 25 Oct 2024 00:37:46 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t47Nx-0001FY-CC; Thu, 24 Oct 2024 19:36:58 -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 1t47NX-0000xu-UE for guix-patches@gnu.org; Thu, 24 Oct 2024 19:36:34 -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 1t47NX-0002xS-LP for guix-patches@gnu.org; Thu, 24 Oct 2024 19:36:31 -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=jqb9y18y+Pt03CEZwZ1jdZqfSbZPT7XFS+o+HcMMa5Y=; b=XiDFbQrqRygilfzTuFrQDCnepx+WrnwuFRjekHEw5FdTbLcTtDSz07uc2cntgEHkiDeb8U2Bv6+8pvgJhXT91LT4ZQh+vmhI+7jIvDncTZSBPSD5ynL6V4tdTzNcB0okAV9HiiCImt8hyild4AU/dchHtYkUKeDGrtR3rZ74hD6tdyz7SKXvL46ZTWwiVYWYeCmjQsL5ATY5/LhKMiZHODSHyFeCvkJBszS3Krxld+m/NgqcV0pbp/3aM72dHw86jAfiWestxKe137ef7onejPCc3lyZEjnQHlBSTjPzAuVgEaNK8GpHU6OUqSQOYPaEChBinxgO7Fa8SqfnnqVR5A==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t47O2-0007cG-Pt for guix-patches@gnu.org; Thu, 24 Oct 2024 19:37:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73339] [PATCH v3 2/2] gnu: impressive: Update to 13.2 and fix build Resent-From: Aaron Covrig Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 24 Oct 2024 23:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73339 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73339@debbugs.gnu.org Cc: Aaron Covrig Received: via spool by 73339-submit@debbugs.gnu.org id=B73339.172981298829205 (code B ref 73339); Thu, 24 Oct 2024 23:37:02 +0000 Received: (at 73339) by debbugs.gnu.org; 24 Oct 2024 23:36:28 +0000 Received: from localhost ([127.0.0.1]:36538 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t47NT-0007ay-Gr for submit@debbugs.gnu.org; Thu, 24 Oct 2024 19:36:28 -0400 Received: from mail-qk1-f178.google.com ([209.85.222.178]:48316) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t47NP-0007ap-Ko for 73339@debbugs.gnu.org; Thu, 24 Oct 2024 19:36:25 -0400 Received: by mail-qk1-f178.google.com with SMTP id af79cd13be357-7b13fe8f4d0so99975985a.0 for <73339@debbugs.gnu.org>; Thu, 24 Oct 2024 16:35:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ieee.org; s=google; t=1729812891; x=1730417691; 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=jqb9y18y+Pt03CEZwZ1jdZqfSbZPT7XFS+o+HcMMa5Y=; b=D+aFPC7TcZH10D8mwxJyVf+TYo/gD6Ce0p5XlWF+1MwCDeKamPeAYEEZwzsBKw2RRX e9pNLOlKnSM1wGJkr311LsmP7Mh9YajZP+/5o4hAvXyykWUk90vfz4cx7/GYP76kNAOL JWKnQ5bTTQ7/bEHfkWdp7hroWLpzVd1vHT63o= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729812891; x=1730417691; 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=jqb9y18y+Pt03CEZwZ1jdZqfSbZPT7XFS+o+HcMMa5Y=; b=jByeRJyUBI+OITXPAycN1Ib10gpFOKYu7IHYf8r1ZU09mGODhA6fUZZ8SFHxR7LHxD 2Rh6Vx4A1DQf0PB9DMZQQTj25w7SjepNWPZI8bF9oA2fEQsCw/aROLvCmkk6AjgFVYKt yMdUWedr/rmlW6ue7hNeoB/07aZ+cd9aH/0yZNcK7Njuemp8/YDl2sNriQJcgFpPed8R J/74AbKC7v4mr+sFVgaAFa3LflHY8crEEu+XOSHu/UOXR6x3ywSdleSLkW/rAoWF86Me nXDmVCGVfPgy67SCmr3jTUDuLP7nY23PwvDNRTGc/V+8aHVd+U7NnVVP2Q3cd/m22Vhw VCDw== X-Gm-Message-State: AOJu0Yw1IqSjfCE+QoLPgXDk08hPglGWR9ePvZ3FbudFwDCsVTrvCSir fgnQ5mosZCH4tqwfqgX+TrXjh78Cd0t7MIzdvdr2aCY+JZIH1/FKvs9/FXp45uZ3r1T/QrVpH4S hfis/wW66H9AbUPFy2yJRsE197KkysmYFXjcbY6ewOJ7+6PQlQL/K6+lBHjGJ+ZlwogCdGThh1Z pOPTX9cL/TMOArFcJi/hlbClyg96X5s5f79uBzKyI= X-Google-Smtp-Source: AGHT+IGL76Vt+i/qsiyHWzDiMOHyhohn2/3XOyA7wXty/Qy4dkvOxPW/DAvE/PRVR4tfU52TdAbBfg== X-Received: by 2002:a05:620a:46a1:b0:7af:ceed:1a38 with SMTP id af79cd13be357-7b17e57a31amr1151314785a.39.1729812891358; Thu, 24 Oct 2024 16:34:51 -0700 (PDT) Received: from mobile-dev.lan ([73.172.106.204]) by smtp.gmail.com with ESMTPSA id af79cd13be357-7b18d343afdsm2200485a.111.2024.10.24.16.34.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Oct 2024 16:34:50 -0700 (PDT) Date: Thu, 24 Oct 2024 19:33:32 -0400 Message-ID: <20241024233426.992569-2-aaron.covrig.us@ieee.org> X-Mailer: git-send-email 2.47.0 In-Reply-To: <20241024233426.992569-1-aaron.covrig.us@ieee.org> References: <20241024233426.992569-1-aaron.covrig.us@ieee.org> 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: , Reply-to: Aaron Covrig X-ACL-Warn: , Aaron Covrig via Guix-patches X-Patchwork-Original-From: Aaron Covrig via Guix-patches via From: Aaron Covrig 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 * gnu/packages/pdf.scm (impressive): Update to 13.2 --- gnu/packages/pdf.scm | 59 ++++++++++++++++++++++---------------------- 1 file changed, 29 insertions(+), 30 deletions(-) diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm index 72aae8b002..24afadbe80 100644 --- a/gnu/packages/pdf.scm +++ b/gnu/packages/pdf.scm @@ -28,6 +28,7 @@ ;;; Copyright © 2024 dan ;;; Copyright © 2023 Benjamin Slade ;;; Copyright © 2024 Artyom V. Poptsov +;;; Copyright © 2024 Aaron Covrig ;;; ;;; This file is part of GNU Guix. ;;; @@ -1171,39 +1172,37 @@ (define-public python-reportlab (define-public impressive (package (name "impressive") - (version "0.13.1") - (source (origin - (method url-fetch) - (uri (string-append - "mirror://sourceforge/impressive/Impressive/" - version "/Impressive-" version ".tar.gz")) - (sha256 - (base32 - "0d1d2jxfl9vmy4swcdz660xd4wx91w1i3n07k522pccapwxig294")))) + ;; (version "0.13.1") + (version "0.13.2") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://sourceforge/impressive/Impressive/" + version "/Impressive-" version ".tar.gz")) + (sha256 + (base32 + ;; "0d1d2jxfl9vmy4swcdz660xd4wx91w1i3n07k522pccapwxig294")))) + "0g15q67f992prkjndrk75hhd601iypfmkafhdx7hijs2byr26c83")))) (build-system python-build-system) (arguments (list - #:phases - #~(modify-phases %standard-phases - (delete 'build) - (delete 'configure) - (delete 'check) - (replace 'install - (lambda* (#:key inputs #:allow-other-keys) - ;; There's no 'setup.py' so install things manually. - (let* ((bin (string-append #$output "/bin")) - (impressive (string-append bin "/impressive")) - (man1 (string-append #$output "/share/man/man1"))) - (mkdir-p bin) - (copy-file "impressive.py" impressive) - (chmod impressive #o755) - (wrap-program (string-append bin "/impressive") - `("LIBRARY_PATH" ":" prefix ;for ctypes - (,(string-append #$(this-package-input "sdl") - "/lib"))) - `("PATH" ":" prefix ;for pdftoppm - (,(search-input-file inputs "bin/xpdf")))) - (install-file "impressive.1" man1))))))) + #:phases #~(modify-phases %standard-phases + (delete 'build) + (delete 'configure) + (delete 'check) + (replace 'install + (lambda* (#:key inputs #:allow-other-keys) + ;; There's no 'setup.py' so install things manually. + (let* ((bin (string-append #$output "/bin")) + (impressive (string-append bin "/impressive")) + (man1 (string-append #$output "/share/man/man1"))) + (mkdir-p bin) + (copy-file "impressive.py" impressive) + (chmod impressive #o755) + (wrap-program (string-append bin "/impressive") + `("PATH" ":" prefix ;for pdftoppm + (,(search-input-file inputs "bin/xpdf")))) + (install-file "impressive.1" man1))))))) ;; TODO: Add dependency on pdftk. (inputs (list bash-minimal python-pygame python-pillow sdl xpdf)) (home-page "https://impressive.sourceforge.net")