[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/15: gnu: Poppler: Disable tests.
From: |
guix-commits |
Subject: |
05/15: gnu: Poppler: Disable tests. |
Date: |
Tue, 5 Jul 2022 18:38:45 -0400 (EDT) |
mbakke pushed a commit to branch core-updates
in repository guix.
commit 72cb5a3a648a3853a772b8b1a2cd26206627fb0d
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Fri Jul 1 22:14:48 2022 +0200
gnu: Poppler: Disable tests.
* gnu/packages/pdf.scm (poppler-tests): Remove variable.
(poppler)[arguments]: Set #:tests? #false. Don't pass TESTDATADIR.
---
gnu/packages/pdf.scm | 24 ++++++------------------
1 file changed, 6 insertions(+), 18 deletions(-)
diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm
index 5645457411..3f6380a93f 100644
--- a/gnu/packages/pdf.scm
+++ b/gnu/packages/pdf.scm
@@ -6,7 +6,7 @@
;;; Copyright © 2016 Roel Janssen <roel@gnu.org>
;;; Copyright © 2016 Nikita <nikita@n0.is>
;;; Copyright © 2016, 2017, 2018, 2019, 2020, 2022 Efraim Flashner
<efraim@flashner.co.il>
-;;; Copyright © 2016, 2017 Marius Bakke <mbakke@fastmail.com>
+;;; Copyright © 2016, 2017, 2022 Marius Bakke <marius@gnu.org>
;;; Copyright © 2016, 2017, 2019 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2016 Julien Lepiller <julien@lepiller.eu>
;;; Copyright © 2016, 2019 Arun Isaac <arunisaac@systemreboot.net>
@@ -223,21 +223,6 @@ times. If you have a second page, Flyer Composer can
arrange it the same way
This package contains only the command line tool. If you like to use the gui,
please install the @code{flyer-composer-gui} package.")))
-(define poppler-tests
- (let ((poppler-version "22.01.0") ; bump when bumping poppler version
- (revision "0")
- (commit "0762e0144143e680e24ec8d4c34c46c3716b8713"))
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://gitlab.freedesktop.org/poppler/test.git")
- (commit commit)))
- (file-name (git-file-name "poppler-tests"
- (git-version poppler-version revision commit)))
- (sha256
- (base32
- "1nwgwcddj5fiq200p4f07fl0i5f885c1nfzmvpc6q9p55qxp6brv")))))
-
(define-public poppler
(package
(name "poppler")
@@ -276,13 +261,16 @@ please install the @code{flyer-composer-gui} package.")))
gobject-introspection))
(arguments
(list
+ ;; The Poppler test suite needs to be downloaded separately and contains
+ ;; non-free (and non-auditable) files, so we skip them. See
+ ;; <https://lists.gnu.org/archive/html/guix-devel/2022-06/msg00394.html>.
+ #:tests? #f
#:configure-flags
#~(list "-DENABLE_UNSTABLE_API_ABI_HEADERS=ON" ;to install header files
"-DENABLE_ZLIB=ON"
"-DENABLE_BOOST=OFF" ;disable Boost to save size
(string-append "-DCMAKE_INSTALL_LIBDIR=" #$output "/lib")
- (string-append "-DCMAKE_INSTALL_RPATH=" #$output "/lib")
- (string-append "-DTESTDATADIR=" #+poppler-tests))
+ (string-append "-DCMAKE_INSTALL_RPATH=" #$output "/lib"))
#:phases
(if (%current-target-system) #~%standard-phases
#~(modify-phases %standard-phases
- branch core-updates updated (2a023a7bd8 -> eb32bcea32), guix-commits, 2022/07/05
- 02/15: gnu: pango: Remove input labels., guix-commits, 2022/07/05
- 06/15: gnu: Poppler: Update to 22.07.0., guix-commits, 2022/07/05
- 03/15: gnu: dbus: Update to 1.14.0., guix-commits, 2022/07/05
- 01/15: gnu: pango: Update to 1.50.7., guix-commits, 2022/07/05
- 11/15: gnu: boost, boost-static: Consolidate libboost_python phases., guix-commits, 2022/07/05
- 08/15: gnu: gd: Add release-monitoring-url., guix-commits, 2022/07/05
- 12/15: gnu: Boost: Python input is not native., guix-commits, 2022/07/05
- 04/15: gnu: harfbuzz: Update to 4.4.1., guix-commits, 2022/07/05
- 05/15: gnu: Poppler: Disable tests.,
guix-commits <=
- 07/15: gnu: libvdpau: Update to 1.5., guix-commits, 2022/07/05
- 09/15: gnu: gd: Remove input labels., guix-commits, 2022/07/05
- 10/15: gnu: boost-mpi: Remove input labels., guix-commits, 2022/07/05
- 13/15: gnu: boost-mpi: OpenMPI is not native., guix-commits, 2022/07/05
- 15/15: gnu: Boost: Use #:configure-flags., guix-commits, 2022/07/05
- 14/15: gnu: Boost: Avoid usage of 'this-package-input'., guix-commits, 2022/07/05