mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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
This commit is contained in:
parent
6c1cc9e360
commit
2e699377e9
1 changed files with 9 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue