From patchwork Sun Feb 7 11:38:47 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vincent Legoll X-Patchwork-Id: 26942 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 7F27F27BC21; Sun, 7 Feb 2021 11:40:08 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 0F18027BC1E for ; Sun, 7 Feb 2021 11:40:08 +0000 (GMT) Received: from localhost ([::1]:50338 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l8iQB-0008Cz-7U for patchwork@mira.cbaines.net; Sun, 07 Feb 2021 06:40:07 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:45708) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l8iQ6-0008Ct-EU for guix-patches@gnu.org; Sun, 07 Feb 2021 06:40:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:35401) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l8iQ6-0003e1-7B for guix-patches@gnu.org; Sun, 07 Feb 2021 06:40:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l8iQ6-0005xf-3B for guix-patches@gnu.org; Sun, 07 Feb 2021 06:40:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#46357] [PATCH] gnu: xpdf: Update to 4.03. Resent-From: Vincent Legoll Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 07 Feb 2021 11:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 46357 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 46357@debbugs.gnu.org Cc: Vincent Legoll X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.161269794422840 (code B ref -1); Sun, 07 Feb 2021 11:40:02 +0000 Received: (at submit) by debbugs.gnu.org; 7 Feb 2021 11:39:04 +0000 Received: from localhost ([127.0.0.1]:46947 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l8iP9-0005wK-M4 for submit@debbugs.gnu.org; Sun, 07 Feb 2021 06:39:03 -0500 Received: from lists.gnu.org ([209.51.188.17]:44464) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l8iP8-0005wD-Al for submit@debbugs.gnu.org; Sun, 07 Feb 2021 06:39:02 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:45540) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l8iP8-0008A2-3P for guix-patches@gnu.org; Sun, 07 Feb 2021 06:39:02 -0500 Received: from mail-wm1-x336.google.com ([2a00:1450:4864:20::336]:53366) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l8iP6-0003A8-45 for guix-patches@gnu.org; Sun, 07 Feb 2021 06:39:01 -0500 Received: by mail-wm1-x336.google.com with SMTP id j11so10070234wmi.3 for ; Sun, 07 Feb 2021 03:38:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Ca2J+G/Hl3MWoihZzOWnK6KhWHubcOUgYqhlQxFt34A=; b=vC3pGC+0ddObyjriC2H9O4YygmhBI9+poRK8rvqrkQ3lWg1Gd377PM+mI9bnRJa6R5 7Pp1OqR8LM5wlAjkv3UZJ6nhJxKfrWHxoUjCSOwY3mqWtn3rIE2GiP2okxOkjtlWvW95 AWeE87FjElyaBisg02Ia5vJB9ueD/yT/4AJFXWeWuBsmZrlTFkSpDEtf1sxQef61j31r KL8e38DFdOSzmnf71zpQQMMfOWZ9rfl42a58fILKoNm54X6QRqORszLWOCkPAoaXx9TQ gTr9NJG3ZR6ZmqNN/Do2L8nG3icKGp9HcpaZ1SKfvu4ySrfWz18LPYFyLAbUIRLbmZnd aOWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Ca2J+G/Hl3MWoihZzOWnK6KhWHubcOUgYqhlQxFt34A=; b=ZUm07ebxJim7dRgd3ZwABqfe3mmLUk6QwxoBow7+xEoZteB8tDmrIBlYR/v0S/Ckeu xD3LF36GOyNoUVugi6pVFd0Rd7KD+APc7dfwbhZqP9kVTm0Kvr7o6jK9uwNT0dYPbXyC oYyjYMWVtNw7hk8aKgdF+vGCHGbGKJ+hjZTFx+gDofqzRp9cK78/4OSG8LGRaeVGZt/A 9KFRJGrEvXithWZJvwBZajdMAM8Yy1PaTocN9qrWaO2cIicXxP2MGF6tmHhTieM82YfK Np26OBwvTcTLKWeoA7Hx/7tGVfSe8PxWnvU0KXQ8pRjGARd1P3qWXzpCzm00ZGklsTxh IBgQ== X-Gm-Message-State: AOAM531rHvHYUY52n/3xVJYp83zf/zQXNi8ewe5HhHaQjY0d+9MFUNYt p99rupboC19yWwVEYFNL0b8KoOwepPw= X-Google-Smtp-Source: ABdhPJwKIfjpO/dCLewehrh3RYP5Tmsb9Ig/sVJnM3t/EQ7HL9Y3NntYV91TzVAG3+eSwTItIgQGwg== X-Received: by 2002:a7b:c4ce:: with SMTP id g14mr9008075wmk.73.1612697937824; Sun, 07 Feb 2021 03:38:57 -0800 (PST) Received: from localhost.localdomain ([88.163.74.64]) by smtp.gmail.com with ESMTPSA id p5sm13757564wmq.3.2021.02.07.03.38.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 Feb 2021 03:38:56 -0800 (PST) From: Vincent Legoll Date: Sun, 7 Feb 2021 12:38:47 +0100 Message-Id: <20210207113847.16495-1-vincent.legoll@gmail.com> X-Mailer: git-send-email 2.30.0 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::336; envelope-from=vincent.legoll@gmail.com; helo=mail-wm1-x336.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/pdf.scm (xpdf): Update to 4.03. (source): Use a "dl.xpdfreader.com" URL. (build-system): Use cmake-build-system. (arguments): Remove #:parallel-build?, #:configure-flags and #:phases (inputs): Add cups, freetype & qtbase, remove gs-fonts, lesstif, libpaper libx11, libxext, libxp, libxpm & libxt. --- gnu/packages/pdf.scm | 30 +++++------------------------- 1 file changed, 5 insertions(+), 25 deletions(-) diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm index 66e920a7bb..b69f8d6536 100644 --- a/gnu/packages/pdf.scm +++ b/gnu/packages/pdf.scm @@ -396,15 +396,14 @@ reading and editing of existing PDF files.") (define-public xpdf (package (name "xpdf") - (version "4.02") + (version "4.03") (source (origin (method url-fetch) - (uri (string-append "https://xpdfreader-dl.s3.amazonaws.com/xpdf-" - version "4.02.tar.gz")) + (uri (string-append "https://dl.xpdfreader.com/xpdf-" version ".tar.gz")) (sha256 - (base32 "1rbp54mr3z2x3a3a1qmz8byzygzi223vckfam9ib5g1sfds0qf8i")))) - (build-system gnu-build-system) + (base32 "0ip81c9vy0igjnasl9iv2lz214fb01vvvdzbvjmgwc63fi1jgr0g")))) + (build-system cmake-build-system) (inputs `(("freetype" ,freetype) ("gs-fonts" ,gs-fonts) ("lesstif" ,lesstif) @@ -417,26 +416,7 @@ reading and editing of existing PDF files.") ("libpng" ,libpng) ("zlib" ,zlib))) (arguments - `(#:tests? #f ; there is no check target - #:parallel-build? #f ; build fails randomly on 8-way machines - #:configure-flags - (list (string-append "--with-freetype2-includes=" - (assoc-ref %build-inputs "freetype") - "/include/freetype2")) - #:phases - (modify-phases %standard-phases - (replace 'install - (lambda* (#:key outputs inputs #:allow-other-keys #:rest args) - (let* ((install (assoc-ref %standard-phases 'install)) - (out (assoc-ref outputs "out")) - (xpdfrc (string-append out "/etc/xpdfrc")) - (gs-fonts (assoc-ref inputs "gs-fonts"))) - (apply install args) - (substitute* xpdfrc - (("/usr/local/share/ghostscript/fonts") - (string-append gs-fonts "/share/fonts/type1/ghostscript")) - (("#fontFile") "fontFile"))) - #t))))) + `(#:tests? #f)) ; there is no check target (synopsis "Viewer for PDF files based on the Motif toolkit") (description "Xpdf is a viewer for Portable Document Format (PDF) files.")