[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
43/169: gnu: zxing-cpp: Update to 1.2.0.
From: |
guix-commits |
Subject: |
43/169: gnu: zxing-cpp: Update to 1.2.0. |
Date: |
Thu, 28 Oct 2021 02:08:22 -0400 (EDT) |
apteryx pushed a commit to branch core-updates-frozen-batched-changes
in repository guix.
commit fd0775363073c969561d54a51e43502ae3679501
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Fri Oct 1 23:34:47 2021 -0400
gnu: zxing-cpp: Update to 1.2.0.
* gnu/packages/aidc.scm (zxing-cpp): Update to 1.2.0. Remove trailing #t.
[native-inputs]: Remove field.
[out-of-source?]: Remove argument.
[tests?]: Set to #f.
[configure-flags]: New argument.
[phases]: Remove argument.
---
gnu/packages/aidc.scm | 33 ++++++++-------------------------
1 file changed, 8 insertions(+), 25 deletions(-)
diff --git a/gnu/packages/aidc.scm b/gnu/packages/aidc.scm
index 21fc195..0c89f1d 100644
--- a/gnu/packages/aidc.scm
+++ b/gnu/packages/aidc.scm
@@ -5,6 +5,7 @@
;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2019 Guillaume Le Vaillant <glv@posteo.net>
;;; Copyright © 2020 Leo Famulari <leo@famulari.name>
+;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -46,7 +47,7 @@
(define-public zxing-cpp
(package
(name "zxing-cpp")
- (version "1.0.8")
+ (version "1.2.0")
(source
(origin
(method git-fetch)
@@ -56,32 +57,14 @@
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "011sq8wcjfxbnd8sj6bf2fgkamlp8gj6q835g61c952npvwsnl71"))))
- (native-inputs
- `(("googletest-source" ,(package-source googletest))))
+ (base32 "1gjj9c7h634rrmmgzbc7cxjqsxdq0paj6113k02ncjm1s9abk7ik"))))
(build-system cmake-build-system)
(arguments
- `(#:out-of-source? #f
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'unpack-googletest
- ;; Copy the googletest sources to where the CMake build expects
them.
- (lambda* (#:key inputs #:allow-other-keys)
- (let ((source (assoc-ref inputs "googletest-source"))
- (target "test/unit/googletest-src"))
- (mkdir-p target)
- (copy-recursively source target)
- ;; Disable downloading via ExternalProject.
- (substitute* "test/unit/CMakeLists.txt.in"
- (("ExternalProject_Add\\(") "message("))
- #t)))
- (replace 'check
- (lambda _
- (with-directory-excursion "test/unit"
- (invoke "cmake" ".")
- (invoke "make")
- (invoke "./ZXingUnitTest"))
- #t)))))
+ ;; The test suite build system is written in a way that required external
+ ;; libraries such as googletest, fmt and others are to be fetched from
+ ;; the network (see: https://github.com/nu-book/zxing-cpp/issues/260).
+ `(#:tests? #f
+ #:configure-flags '("-DBUILD_BLACKBOX_TESTS=OFF")))
(synopsis "C++ port of ZXing")
(description "ZXing-CPP is a barcode scanning library.")
(home-page "https://github.com/nu-book/zxing-cpp")
- 80/169: gnu: diffutils: Update to 3.8., (continued)
- 80/169: gnu: diffutils: Update to 3.8., guix-commits, 2021/10/28
- 82/169: gnu: curl: Honor #:tests?., guix-commits, 2021/10/28
- 81/169: build: qt-utils: Don't wrap .X-real files., guix-commits, 2021/10/28
- 83/169: gnu: gcc-5: Fix powerpc64le-linux build, guix-commits, 2021/10/28
- 84/169: gnu: make-ld-wrapper: Add a LINKER argument., guix-commits, 2021/10/28
- 87/169: gnu: gdb: Normalize indentation., guix-commits, 2021/10/28
- 92/169: gnu: rust: Add rust 1.54 and move all non-bootstrapping logic to it., guix-commits, 2021/10/28
- 30/169: gnu: farstream: Enable tests., guix-commits, 2021/10/28
- 45/169: gnu: gst-plugins-ugly: Update to 1.19.2., guix-commits, 2021/10/28
- 41/169: gnu: gst-plugins-base: Update to 1.19.2., guix-commits, 2021/10/28
- 43/169: gnu: zxing-cpp: Update to 1.2.0.,
guix-commits <=
- 48/169: gnu: python-gst: Update to 1.19.2., guix-commits, 2021/10/28
- 64/169: gnu: gst-plugins-ugly: Update to 1.18.5., guix-commits, 2021/10/28
- 63/169: gnu: gst-plugins-bad: Update to 1.18.5., guix-commits, 2021/10/28
- 67/169: gnu: python-gst: Update to 1.18.5., guix-commits, 2021/10/28
- 68/169: gnu: gstreamer-docs: Update to 1.18.5., guix-commits, 2021/10/28
- 86/169: gnu: gdb: Patch references to /bin/sh and add debug output., guix-commits, 2021/10/28
- 90/169: gnu: glade3: Remove sitecustomize.py workaround., guix-commits, 2021/10/28
- 88/169: guix: packages: Fix repacking of plain tarballs., guix-commits, 2021/10/28
- 95/169: gnu: Move a few Python packages to (gnu packages python-build)., guix-commits, 2021/10/28
- 100/169: gnu: python-pytest-6: Fix version via setuptools-scm., guix-commits, 2021/10/28