From patchwork Sun Feb 7 11:40:33 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vincent Legoll X-Patchwork-Id: 26943 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 0E38627BC21; Sun, 7 Feb 2021 11:41:10 +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 8BF2427BC1E for ; Sun, 7 Feb 2021 11:41:09 +0000 (GMT) Received: from localhost ([::1]:51632 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l8iRA-0000Pk-OF for patchwork@mira.cbaines.net; Sun, 07 Feb 2021 06:41:08 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:45828) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l8iR4-0000Oz-9a for guix-patches@gnu.org; Sun, 07 Feb 2021 06:41:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:35410) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l8iR4-0004Ea-31 for guix-patches@gnu.org; Sun, 07 Feb 2021 06:41:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l8iR4-000602-0F for guix-patches@gnu.org; Sun, 07 Feb 2021 06:41:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#46357] [PATCH] gnu: xpdf: Update to 4.03. References: <20210207113847.16495-1-vincent.legoll@gmail.com> In-Reply-To: <20210207113847.16495-1-vincent.legoll@gmail.com> Resent-From: Vincent Legoll Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 07 Feb 2021 11:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46357 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 46357@debbugs.gnu.org Cc: Vincent Legoll Received: via spool by 46357-submit@debbugs.gnu.org id=B46357.161269805023029 (code B ref 46357); Sun, 07 Feb 2021 11:41:01 +0000 Received: (at 46357) by debbugs.gnu.org; 7 Feb 2021 11:40:50 +0000 Received: from localhost ([127.0.0.1]:46955 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l8iQs-0005zN-AV for submit@debbugs.gnu.org; Sun, 07 Feb 2021 06:40:50 -0500 Received: from mail-wm1-f54.google.com ([209.85.128.54]:38640) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l8iQq-0005zB-Rz for 46357@debbugs.gnu.org; Sun, 07 Feb 2021 06:40:49 -0500 Received: by mail-wm1-f54.google.com with SMTP id y134so2156164wmd.3 for <46357@debbugs.gnu.org>; Sun, 07 Feb 2021 03:40:48 -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=U312kdGimueH+DVqP2zEE37aqLdY5HAwvXpk4MUc5qc=; b=KqWZVjpQNPRfY1Vx9fpY/PQRMEg48ELPXwwT7jaEU570PwwvpJPPTlGYBgssQ81aI8 hVcESrHodPuWuKt0xoEuKPWTlBLi/Q33nSZLgesYrA3cjwo9Iz4S8XCPkq/EyRXDnk2y jwvzXjafjBUsj5EpUCT+AMv45QGd0wQtbptrGWz8OsnoHv1Z75gcMGVMpgEXHTXKSOUH E/T88Jlu4F0bKYtYDwSn9cKwVEriDGB9sYDwOFbKjXMtbW7/o0Uc/OQ7hkCJAuMZtgFU GWGSntCTNlR8LcuI13/6AIC0grt4H/AzCeo7BAB5ZaNQ97odAvoofWX9+t+lugkNfAZQ Fz9g== 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=U312kdGimueH+DVqP2zEE37aqLdY5HAwvXpk4MUc5qc=; b=I2Nq6JccgNm9jokLikO39uooyCZbXHnMOfVC2FKMbnTCvong8lOiVYJaOzNbp+Keyh hPaGbLzvcUYz67LsJPSTEm47SHUkfOLIosoRoGDMZ13WLxVpc3MVIOwupwvY/vMk1dHk sYdBmBO9oxJXzIgkNt6pPmvCcoLP5kD+jWYyYA3J42jwU5L92510oli/b96OkLhAPPa6 liWpr6Sx1pfGWyZBRPMqLDXVLQ0y1H5MYzgn0ccYDmqhuZZBZijgirnWkjj9dcXMz/Vm 3DyBhOUF4rWsLpu78mxPBvVjAYnalvqSMbUZYHNrqU55Mcw4YN7gZZsA3sBoLI7lxRbz xNjg== X-Gm-Message-State: AOAM530+RJdBGDn8VACnounIqDCNK/3XkJNyLUg85W6bT4TjxbzYfXC5 ud6kpPwrKFtRk4fR8sXCWk6dvki9D4w= X-Google-Smtp-Source: ABdhPJylvVofS0CHlH9HcBOwT/Sa60kQGMnyB7hPyrn0ssYdvkOVTzvdkv2FPYuL9z3+56I8s7KR8A== X-Received: by 2002:a1c:ba44:: with SMTP id k65mr10373338wmf.25.1612698042847; Sun, 07 Feb 2021 03:40:42 -0800 (PST) Received: from localhost.localdomain ([88.163.74.64]) by smtp.gmail.com with ESMTPSA id a27sm21291584wrc.94.2021.02.07.03.40.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 Feb 2021 03:40:42 -0800 (PST) From: Vincent Legoll Date: Sun, 7 Feb 2021 12:40:33 +0100 Message-Id: <20210207114033.16634-1-vincent.legoll@gmail.com> X-Mailer: git-send-email 2.30.0 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" 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 | 42 ++++++++---------------------------------- 1 file changed, 8 insertions(+), 34 deletions(-) diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm index 66e920a7bb..dc7df3fa28 100644 --- a/gnu/packages/pdf.scm +++ b/gnu/packages/pdf.scm @@ -396,47 +396,21 @@ 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) - (inputs `(("freetype" ,freetype) - ("gs-fonts" ,gs-fonts) - ("lesstif" ,lesstif) - ("libpaper" ,libpaper) - ("libx11" ,libx11) - ("libxext" ,libxext) - ("libxp" ,libxp) - ("libxpm" ,libxpm) - ("libxt" ,libxt) + (base32 "0ip81c9vy0igjnasl9iv2lz214fb01vvvdzbvjmgwc63fi1jgr0g")))) + (build-system cmake-build-system) + (inputs `(("cups" ,cups) + ("freetype" ,freetype) ("libpng" ,libpng) + ("qtbase" ,qtbase) ("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.")