mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-13 06:36:37 -05:00
gnu: inkscape: Update to version 1.1.
* gnu/packages/patches/inkscape-1.1-fix-build-witch-gcc7.5.patch: New file. * gnu/local.mk (dist_patch_DATA): Adjust accordingly. * gnu/packages/inkscape.scm (inkscape-1.0) Rename to inkscape-1.1. * gnu/packages/inkscape.scm (inkscape-1.1) Update to version 1.1. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
parent
4985a42724
commit
624a6b60b5
3 changed files with 30 additions and 4 deletions
|
@ -1245,6 +1245,7 @@ dist_patch_DATA = \
|
|||
%D%/packages/patches/imagemagick-WriteTHUMBNAILImage-fix.patch \
|
||||
%D%/packages/patches/inetutils-hurd.patch \
|
||||
%D%/packages/patches/inkscape-poppler-0.76.patch \
|
||||
%D%/packages/patches/inkscape-1.1-fix-build-witch-gcc7.5.patch \
|
||||
%D%/packages/patches/intel-xed-fix-nondeterminism.patch \
|
||||
%D%/packages/patches/intltool-perl-compatibility.patch \
|
||||
%D%/packages/patches/iputils-libcap-compat.patch \
|
||||
|
|
|
@ -117,19 +117,20 @@ (define-public inkscape
|
|||
as the native format.")
|
||||
(license license:gpl2+)))
|
||||
|
||||
(define-public inkscape-1.0
|
||||
(define-public inkscape-1.1
|
||||
(package
|
||||
(name "inkscape")
|
||||
(version "1.0.2")
|
||||
(version "1.1")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "https://media.inkscape.org/dl/"
|
||||
"resources/file/"
|
||||
"inkscape-" version ".tar.xz"))
|
||||
(patches (search-patches "inkscape-1.1-fix-build-witch-gcc7.5.patch"))
|
||||
(sha256
|
||||
(base32
|
||||
"12krl97a00gdcxxibsb7g2lgx5458mhx2437x0hvz350242j6gns"))
|
||||
"1rlm2wqg8bgdxkdvnadh49wfp0mrbrk7d8n4vdcjyw6z7z7firki"))
|
||||
(modules '((guix build utils)
|
||||
(ice-9 format)))
|
||||
(snippet
|
||||
|
@ -188,7 +189,7 @@ (define-public inkscape-1.0
|
|||
(string-append "#include " quote
|
||||
(basename source-dir)))
|
||||
...))))))
|
||||
(unbundle ("2geom" "src/2geom" #t)
|
||||
(unbundle ("2geom" "src/3rdparty/2geom" #t)
|
||||
;; libcroco cannot be unbundled as it is heavily
|
||||
;; modified (see:
|
||||
;; https://gitlab.com/inkscape/inkscape/issues/876#note_276114904).
|
||||
|
|
|
@ -0,0 +1,24 @@
|
|||
From 0ae15d7e89b984f72780ff7afa8e57dd6ae7765a Mon Sep 17 00:00:00 2001
|
||||
From: "Boris A. Dekshteyn" <boris.dekshteyn@gmail.com>
|
||||
Date: Mon, 14 Jun 2021 23:52:16 +1200
|
||||
Subject: [PATCH] Fix build witch GCC@7.5.
|
||||
|
||||
---
|
||||
src/object/sp-use-reference.h | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/src/object/sp-use-reference.h b/src/object/sp-use-reference.h
|
||||
index 5958632059..f07c2a3721 100644
|
||||
--- a/src/object/sp-use-reference.h
|
||||
+++ b/src/object/sp-use-reference.h
|
||||
@@ -14,6 +14,7 @@
|
||||
|
||||
#include "sp-item.h"
|
||||
#include "uri-references.h"
|
||||
+#include "display/curve.h"
|
||||
|
||||
#include <memory>
|
||||
|
||||
--
|
||||
2.32.0
|
||||
|
Loading…
Reference in a new issue