[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
163/169: gnu: zxing-cpp: Update to 1.2.0-0.00783db.
From: |
guix-commits |
Subject: |
163/169: gnu: zxing-cpp: Update to 1.2.0-0.00783db. |
Date: |
Thu, 28 Oct 2021 02:09:12 -0400 (EDT) |
apteryx pushed a commit to branch core-updates-frozen-batched-changes
in repository guix.
commit 91d0798164e462a4ad46d4468243a61585f74137
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Wed Oct 27 22:44:58 2021 -0400
gnu: zxing-cpp: Update to 1.2.0-0.00783db.
* gnu/packages/aidc.scm (zxing-cpp): Update to 1.2.0-0.00783db.
[version]: Use git-version.
[source]: Adjust accordingly.
[native-inputs]: Replace googletest-source by the regular googletest
package.
Add fmt.
[arguments]: Remove field.
---
gnu/packages/aidc.scm | 68 ++++++++++++++++++++-------------------------------
1 file changed, 26 insertions(+), 42 deletions(-)
diff --git a/gnu/packages/aidc.scm b/gnu/packages/aidc.scm
index 21fc195..2de4cb8 100644
--- a/gnu/packages/aidc.scm
+++ b/gnu/packages/aidc.scm
@@ -38,54 +38,38 @@
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages python)
#:use-module (gnu packages python-xyz)
+ #:use-module (gnu packages pretty-print)
#:use-module (gnu packages qt)
#:use-module (gnu packages video)
#:use-module (guix build-system cmake)
#:use-module (guix build-system gnu))
(define-public zxing-cpp
- (package
- (name "zxing-cpp")
- (version "1.0.8")
- (source
- (origin
- (method git-fetch)
- (uri
- (git-reference
- (url "https://github.com/nu-book/zxing-cpp")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32 "011sq8wcjfxbnd8sj6bf2fgkamlp8gj6q835g61c952npvwsnl71"))))
- (native-inputs
- `(("googletest-source" ,(package-source googletest))))
- (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)))))
- (synopsis "C++ port of ZXing")
- (description "ZXing-CPP is a barcode scanning library.")
- (home-page "https://github.com/nu-book/zxing-cpp")
- (license license:asl2.0)))
+ ;; Use the master branch as it includes unreleased build system improvements
+ ;; allowing to use system libraries (instead of attempting to fetch them
+ ;; from the Internet).
+ (let ((revision "0")
+ (commit "00783db7aa3bcf8620a301854ac71c0ceaaca0c1"))
+ (package
+ (name "zxing-cpp")
+ (version (git-version "1.2.0" revision commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/nu-book/zxing-cpp")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1yl2cpaqiv1g4nq9v0xfj1vd5faz55k4541vz6hsffvcxgn9nmc5"))))
+ (build-system cmake-build-system)
+ (native-inputs
+ `(("fmt" ,fmt)
+ ("googletest" ,googletest)))
+ (synopsis "C++ port of ZXing")
+ (description "ZXing-CPP is a barcode scanning library.")
+ (home-page "https://github.com/nu-book/zxing-cpp")
+ (license license:asl2.0))))
(define-public barcode
(package
- 146/169: gnu: nspr: Normalize inputs., (continued)
- 146/169: gnu: nspr: Normalize inputs., guix-commits, 2021/10/28
- 138/169: profiles: Add a gdk-pixbuf-loaders-cache-file hook., guix-commits, 2021/10/28
- 143/169: gnu: elogind: Update to 246.10., guix-commits, 2021/10/28
- 153/169: gnu: python-dbus: Update to 1.2.18., guix-commits, 2021/10/28
- 158/169: gnu: python-dateutil: Update to 2.8.2., guix-commits, 2021/10/28
- 161/169: gnu: mesa: Replace obsolete vulkan-overlay-layer build option., guix-commits, 2021/10/28
- 159/169: gnu: gdk-pixbuf: Remove obsolete jasper support., guix-commits, 2021/10/28
- 132/169: gnu: webkitgtk: Add a debug output., guix-commits, 2021/10/28
- 145/169: gnu: mariadb: Only run the main test suite to avoid flaky tests., guix-commits, 2021/10/28
- 156/169: gnu: python-pytest: Update to 6.2.5., guix-commits, 2021/10/28
- 163/169: gnu: zxing-cpp: Update to 1.2.0-0.00783db.,
guix-commits <=
- 151/169: gnu: curl: Update to 7.79.1., guix-commits, 2021/10/28
- 157/169: gnu: python-six-bootstrap: Update to 1.16.0., guix-commits, 2021/10/28
- 147/169: gnu: nss: Update to 3.71., guix-commits, 2021/10/28
- 148/169: gnu: jsoncpp: Apply patch to regular package., guix-commits, 2021/10/28
- 150/169: gnu: gtk: Update to 4.4.0., guix-commits, 2021/10/28
- 152/169: gnu: python-hypothesis: Update to 6.23.4., guix-commits, 2021/10/28
- 154/169: gnu: boost: Update to 1.77.0., guix-commits, 2021/10/28
- 149/169: gnu: meson: Update to 0.60.0., guix-commits, 2021/10/28
- 155/169: gnu: python-dbusmock: Update to 0.24.0., guix-commits, 2021/10/28
- 160/169: gnu: gstreamer: Disable the pipelines-seek test., guix-commits, 2021/10/28