[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/10: gnu: fritzing: Update to 0.9.6.
From: |
guix-commits |
Subject: |
02/10: gnu: fritzing: Update to 0.9.6. |
Date: |
Tue, 29 Nov 2022 06:24:02 -0500 (EST) |
nckx pushed a commit to branch master
in repository guix.
commit b39d77e7f792113176b406c736859bed8ab38b3d
Author: Gabriel Wicki <gabriel@erlikon.ch>
AuthorDate: Thu Nov 10 02:27:21 2022 +0100
gnu: fritzing: Update to 0.9.6.
* gnu/packages/engineering.scm (fritzing): Update to 0.9.6.
[arguments]: Update libgit2 substitutions.
---
gnu/packages/engineering.scm | 34 ++++++++++++++--------------------
1 file changed, 14 insertions(+), 20 deletions(-)
diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index 43e23e30a8..768980035c 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -669,7 +669,7 @@ multipole-accelerated algorithm.")
(define-public fritzing
(package
(name "fritzing")
- (version "0.9.3b")
+ (version "0.9.6")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -678,7 +678,7 @@ multipole-accelerated algorithm.")
(file-name (git-file-name name version))
(sha256
(base32
- "0hpyc550xfhr6gmnc85nq60w00rm0ljm0y744dp0z88ikl04f4s3"))))
+ "083nz7vj7a334575smjry6257535h68gglh8a381xxa36dw96aqs"))))
(build-system gnu-build-system)
(arguments
`(#:phases
@@ -687,24 +687,18 @@ multipole-accelerated algorithm.")
(lambda* (#:key inputs outputs #:allow-other-keys)
(copy-recursively (assoc-ref inputs "fritzing-parts-db")
"parts")
- ;; Make compatible with libgit2 > 0.24
- (substitute* "src/version/partschecker.cpp"
- (("error = git_remote_connect\\(remote, GIT_DIRECTION_FETCH,
&callbacks\\)")
- "error = git_remote_connect(remote, GIT_DIRECTION_FETCH,
&callbacks, NULL, NULL)"))
-
;; Use system libgit2 and boost.
(substitute* "phoenix.pro"
- (("^LIBGIT2INCLUDE =.*")
- (string-append "LIBGIT2INCLUDE="
- (assoc-ref inputs "libgit2") "/include\n"))
- (("^ LIBGIT2LIB =.*")
- (string-append " LIBGIT2LIB="
- (assoc-ref inputs "libgit2") "/lib\n")))
- ;; This file checks for old versions of Boost, insisting on
- ;; having us download the boost sources and placing them in the
- ;; build directory.
- (substitute* "pri/utils.pri"
- (("error\\(") "message("))
+ (("^LIBGIT_STATIC.*")
+ (string-append "LIBGIT2INCLUDE=" (assoc-ref inputs "libgit2")
"/include\n"
+ "LIBGIT2LIB=" (assoc-ref inputs "libgit2")
"/lib\n"
+ "INCLUDEPATH += $$LIBGIT2INCLUDE\n"
+ "LIBS += -L$$LIBGIT2LIB -lgit2\n"))
+ (("^.*pri/libgit2detect.pri.") ""))
+ ;; Trick the internal mechanism to load the parts
+ (substitute* "src/version/partschecker.cpp"
+ ((".*git_libgit2_init.*")
+ "return
\"083nz7vj7a334575smjry6257535h68gglh8a381xxa36dw96aqs\";"))
(let ((out (assoc-ref outputs "out")))
(invoke "qmake"
@@ -723,11 +717,11 @@ multipole-accelerated algorithm.")
(method git-fetch)
(uri (git-reference
(url "https://github.com/fritzing/fritzing-parts")
- (commit version)))
+ (commit (string-append "release_" version))))
(file-name (git-file-name "fritzing-parts" version))
(sha256
(base32
- "1d2v8k7p176j0lczx4vx9n9gbg3vw09n2c4b6w0wj5wqmifywhc1"))))))
+ "0wsvn57v6n0ygnhk2my94rrfzb962z1cj4d1xmp1farwck3811h6"))))))
(home-page "https://fritzing.org")
(synopsis "Electronic circuit design")
(description
- branch master updated (510e4583e0 -> b0801110cc), guix-commits, 2022/11/29
- 05/10: gnu: libwps: Update to 0.4.13., guix-commits, 2022/11/29
- 01/10: gnu: lightning: Omit static library., guix-commits, 2022/11/29
- 06/10: gnu: mythes: Update to 1.2.5., guix-commits, 2022/11/29
- 07/10: gnu: knot: Update to 3.2.3., guix-commits, 2022/11/29
- 10/10: gnu: lf: Fix build., guix-commits, 2022/11/29
- 03/10: gnu: netcat-openbsd: Update to 1.219-1., guix-commits, 2022/11/29
- 04/10: gnu: liblangtag: Update to 0.6.4., guix-commits, 2022/11/29
- 02/10: gnu: fritzing: Update to 0.9.6.,
guix-commits <=
- 08/10: gnu: btrbk: Update to 0.32.5., guix-commits, 2022/11/29
- 09/10: gnu: libdeflate: Update to 1.14., guix-commits, 2022/11/29