This is an automated email from the git hooks/post-receive script.
guix_mirror_bot pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new 2e699377e9 gnu: inkscape: Fix copyright year displayed in about dialog.
2e699377e9 is described below
commit 2e699377e9450e39e4744e96660027924e52bd13
Author: Maxim Cournoyer <[email protected]>
AuthorDate: Tue May 27 10:39:14 2025 +0900
gnu: inkscape: Fix copyright year displayed in about dialog.
* gnu/packages/inkscape.scm (%inkscape-release-year): New variable.
(inkscape) [#:phases] <patch-inkscape-build-year>: New phase.
Fixes: #45
Change-Id: I4fced673252f39b1d45ab4345055fe8963e29e24
---
gnu/packages/inkscape.scm | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/gnu/packages/inkscape.scm b/gnu/packages/inkscape.scm
index af2452a217..109e7c9ca4 100644
--- a/gnu/packages/inkscape.scm
+++ b/gnu/packages/inkscape.scm
@@ -337,6 +337,9 @@ as the native format.")
(define-deprecated/public-alias inkscape/stable inkscape/pinned)
+;;; The Inkscape release year used in the about dialog. Please keep it sync
+;;; when updating the package!
+(define %inkscape-release-year 2023)
(define-public inkscape
(package
(inherit inkscape/pinned)
@@ -359,6 +362,12 @@ as the native format.")
#~(delete "-DWITH_IMAGE_MAGICK=OFF" #$flags))
((#:phases phases)
#~(modify-phases #$phases
+ (add-after 'unpack 'patch-inkscape-build-year
+ (lambda _
+ (substitute* "CMakeScripts/inkscape-version.cmake"
+ (("string\\(TIMESTAMP INKSCAPE_BUILD_YEAR.*")
+ (format #f "set(INKSCAPE_BUILD_YEAR ~a)~%"
+ #$%inkscape-release-year)))))
#$@(if (target-x86-32?)
#~() ;XXX: there are remaining failures on i686
#~((replace 'check