[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
43/115: gnu: zxing-cpp: Update to 1.2.0.
From: |
guix-commits |
Subject: |
43/115: gnu: zxing-cpp: Update to 1.2.0. |
Date: |
Fri, 15 Oct 2021 09:49:00 -0400 (EDT) |
apteryx pushed a commit to branch core-updates-frozen-batched-changes
in repository guix.
commit 8f0bbb7fac368818de52b01a0d2b9b2ea5e8d26f
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")
- 22/115: gnu: gst-plugins-good: Update to 1.18.4., (continued)
- 22/115: gnu: gst-plugins-good: Update to 1.18.4., guix-commits, 2021/10/15
- 25/115: gnu: gst-plugins-bad: Update to 1.18.4., guix-commits, 2021/10/15
- 30/115: gnu: farstream: Enable tests., guix-commits, 2021/10/15
- 32/115: gnu: python-docutils: Update to 0.17.1., guix-commits, 2021/10/15
- 34/115: gnu: gnupg: Don't explicitly return #t from phases., guix-commits, 2021/10/15
- 23/115: gnu: gst-plugins-ugly: Update to 1.18.4., guix-commits, 2021/10/15
- 28/115: gnu: python-pygobject: Update to 3.40.1., guix-commits, 2021/10/15
- 38/115: gnu: python-sphinx: Update to 4.2.0., guix-commits, 2021/10/15
- 39/115: gnu: gstreamer-docs: Update to 1.19.2., guix-commits, 2021/10/15
- 40/115: gnu: gstreamer: Update to 1.19.2., guix-commits, 2021/10/15
- 43/115: gnu: zxing-cpp: Update to 1.2.0.,
guix-commits <=
- 41/115: gnu: gst-plugins-base: Update to 1.19.2., guix-commits, 2021/10/15
- 47/115: gnu: gst-editing-services: Update to 1.19.2., guix-commits, 2021/10/15
- 49/115: gnu: e2fsprogs: Update to 1.46.4., guix-commits, 2021/10/15
- 24/115: gnu: gst-libav: Update to 1.18.4., guix-commits, 2021/10/15
- 26/115: gnu: gst-plugins-bad: Add missing inputs to enable more features., guix-commits, 2021/10/15
- 33/115: gnu: bluez: Update to 5.59., guix-commits, 2021/10/15
- 29/115: gnu: e2fsprogs: Update to 1.46.2., guix-commits, 2021/10/15
- 31/115: gnu: libevdev: Update to 1.11.0., guix-commits, 2021/10/15
- 35/115: gnu: gnupg: Update to 2.2.30., guix-commits, 2021/10/15
- 36/115: gnu: python-sphinxcontrib-htmlhelp: Update to 2.0.0., guix-commits, 2021/10/15