[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
11/17: gnu: inkscape: Reintroduce variable, updated to 1.2.
From: |
guix-commits |
Subject: |
11/17: gnu: inkscape: Reintroduce variable, updated to 1.2. |
Date: |
Tue, 12 Jul 2022 23:26:36 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit 7dcba233a3745cfdcc291adf46261548eb2f3d76
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Tue Jul 12 13:48:00 2022 -0400
gnu: inkscape: Reintroduce variable, updated to 1.2.
* gnu/packages/inkscape.scm (inkscape): Update to 1.2.
[phases]{disable-problematic-tests}: New phase.
---
gnu/packages/inkscape.scm | 36 ++++++++++++++++++++++++++++++++++--
1 file changed, 34 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/inkscape.scm b/gnu/packages/inkscape.scm
index 5a06962368..0a2118576b 100644
--- a/gnu/packages/inkscape.scm
+++ b/gnu/packages/inkscape.scm
@@ -4,7 +4,7 @@
;;; Copyright © 2016, 2018 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2017, 2020 Marius Bakke <mbakke@fastmail.com>
;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
-;;; Copyright © 2020, 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
+;;; Copyright © 2020, 2021, 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2020 Boris A. Dekshteyn <boris.dekshteyn@gmail.com>
;;; Copyright © 2020 Ekaitz Zarraga <ekaitz@elenq.tech>
;;;
@@ -50,7 +50,8 @@
#:use-module (gnu packages ghostscript)
#:use-module (gnu packages fontutils)
#:use-module (gnu packages image)
- #:use-module (gnu packages pkg-config))
+ #:use-module (gnu packages pkg-config)
+ #:use-module (srfi srfi-1))
;;; A variant of Inkscape intended to be bumped only on core-updates, to avoid
;;; rebuilding 2k+ packages through dblatex.
@@ -237,3 +238,34 @@ endif()~%~%"
apart is its use of Scalable Vector Graphics (SVG), an XML-based W3C standard,
as the native format.")
(license license:gpl3+)))) ;see the file COPYING
+
+(define-public inkscape
+ (package
+ (inherit inkscape/stable)
+ (name "inkscape")
+ (version "1.2")
+ (source
+ (origin
+ (inherit (package-source inkscape/stable))
+ (method url-fetch)
+ (uri (string-append "https://media.inkscape.org/dl/"
+ "resources/file/"
+ "inkscape-" version ".tar.xz"))
+ (sha256
+ (base32 "1bg6rlflzhq726kpcwazfscm02liammjvzpyxmj5d52l4la336wd"))))
+ (build-system cmake-build-system)
+ (arguments
+ (substitute-keyword-arguments (package-arguments inkscape/stable)
+ ((#:phases phases)
+ `(modify-phases ,phases
+ (add-after 'unpack 'disable-problematic-tests
+ ;; The UnionOutside and UnionOutsideSwap tests fail, comparing
+ ;; e.g. the result "M 0 1.5 V 0 H 2 V 2 H 0.5 V 2.5 H 0 V 2 V 1.5
H
+ ;; 0.5 V 2 z" to the expected string "M 0 0 V 1.5 V 2 V 2.5 H 0.5
V
+ ;; 2 H 2 V 0 z" (see:
+ ;; https://gitlab.com/inkscape/inkscape/-/issues/3689).
+ (lambda _
+ (substitute* "testfiles/src/path-boolop-test.cpp"
+ (("PathBoolopTest, UnionOutside(Swap)?.*" all)
+ (string-append all " GTEST_SKIP();\n")))))))))
+ (properties (alist-delete 'hidden? (package-properties inkscape/stable)))))
- branch master updated (6cd6753218 -> c8f32406e8), guix-commits, 2022/07/12
- 01/17: gnu: sushi: Update to 42.0., guix-commits, 2022/07/12
- 04/17: gnu: libadwaita: Propagate gtk., guix-commits, 2022/07/12
- 02/17: gnu: sushi: Use new style inputs., guix-commits, 2022/07/12
- 09/17: gnu: tracker-miners: Use new style inputs., guix-commits, 2022/07/12
- 10/17: gnu: inkscape: Rename variable to inkscape/stable and hide package., guix-commits, 2022/07/12
- 11/17: gnu: inkscape: Reintroduce variable, updated to 1.2.,
guix-commits <=
- 13/17: gnu: inkscape: Add bash-minimal to inputs., guix-commits, 2022/07/12
- 05/17: gnu: tracker: Update to 3.3.1., guix-commits, 2022/07/12
- 06/17: gnu: tracker: Propagate libraries 'required' by pkg-config., guix-commits, 2022/07/12
- 07/17: gnu: tracker: Use new style inputs., guix-commits, 2022/07/12
- 12/17: gnu: inkscape: Wrap GDK_PIXBUF_MODULE_FILE., guix-commits, 2022/07/12
- 16/17: gnu: deja-dup: Update to 43.4., guix-commits, 2022/07/12
- 17/17: gnu: deja-dup: Use new style inputs., guix-commits, 2022/07/12
- 03/17: gnu: sushi: Add bash-minimal to inputs., guix-commits, 2022/07/12
- 08/17: gnu: tracker-miners: Update to 3.3.1., guix-commits, 2022/07/12
- 14/17: gnu: gtk: Update to 4.6.6., guix-commits, 2022/07/12