gnu: inkscape/stable: Rename variable to inkscape/pinned.

This is to match recently established conventions.  Add a deprecated public
alias to avoid breaking channels using inkscape/stable.

Automated via:

   git grep -l inkscape/stable  |
   xargs sed -i 's,inkscape/stable,inkscape/pinned,'

Change-Id: If74bf91b1da0d2ca8cf25c6038b4c2100262873e
This commit is contained in:
Maxim Cournoyer 2025-03-24 00:17:11 +09:00 committed by Christopher Baines
parent 744e973de3
commit 427264a130
No known key found for this signature in database
GPG key ID: 5E28A33B0B84F577
7 changed files with 19 additions and 16 deletions

View file

@ -2593,7 +2593,7 @@ command.")
;; For icons.
(modify-inputs (package-native-inputs wpa-supplicant)
(prepend imagemagick/stable
inkscape/stable)))
inkscape/pinned)))
(build-system qt-build-system)
(arguments
(list

View file

@ -797,7 +797,7 @@ DB2LaTeX.")
(package/inherit dblatex
(inputs (modify-inputs (package-inputs dblatex)
(replace "imagemagick" imagemagick/stable)
(replace "inkscape" inkscape/stable))))))
(replace "inkscape" inkscape/pinned))))))
(define-public docbook-utils
(package

View file

@ -1336,7 +1336,7 @@ bar of the GNOME Shell.")
(list `(,glib "bin") ; for glib-compile-resources
gnome-shell
gtk+
inkscape/stable
inkscape/pinned
optipng
pkg-config
python

View file

@ -30,6 +30,7 @@
#:use-module (guix download)
#:use-module (guix gexp)
#:use-module (guix utils)
#:use-module (guix deprecation)
#:use-module (guix build-system cmake)
#:use-module (gnu packages)
#:use-module (gnu packages algebra)
@ -62,7 +63,7 @@
;;; A variant of Inkscape intended to be bumped only on core-updates, to avoid
;;; rebuilding 2k+ packages through dblatex. It should only be used as a
;;; native-input since it might not receive timely security updates.
(define-public inkscape/stable
(define-public inkscape/pinned
(hidden-package
(package
(name "inkscape")
@ -334,14 +335,16 @@ 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-deprecated/public-alias inkscape/stable inkscape/pinned)
(define-public inkscape
(package
(inherit inkscape/stable)
(inherit inkscape/pinned)
(name "inkscape")
(version "1.3.2")
(source
(origin
(inherit (package-source inkscape/stable))
(inherit (package-source inkscape/pinned))
(method url-fetch)
(uri (string-append "https://media.inkscape.org/dl/"
"resources/file/"
@ -350,7 +353,7 @@ as the native format.")
(base32 "0sq81smxwypgnp7r3wgza8w25dsz9qa8ga79sc85xzj3qi6q9lfv"))))
(build-system cmake-build-system)
(arguments
(substitute-keyword-arguments (package-arguments inkscape/stable)
(substitute-keyword-arguments (package-arguments inkscape/pinned)
((#:configure-flags flags ''())
;; Enable ImageMagick support.
#~(delete "-DWITH_IMAGE_MAGICK=OFF" #$flags))
@ -359,7 +362,7 @@ as the native format.")
#$@(if (target-x86-32?)
#~() ;XXX: there are remaining failures on i686
#~((replace 'check
;; Re-instate the tests disabled in inkscape/stable, now that
;; Re-instate the tests disabled in inkscape/pinned, now that
;; their ImageMagick requirement is satisfied.
(assoc-ref %standard-phases 'check))))
@ -373,10 +376,10 @@ as the native format.")
;; its own icons in pure environments.
`("GDK_PIXBUF_MODULE_FILE" =
(,(getenv "GDK_PIXBUF_MODULE_FILE"))))))))))
(inputs (modify-inputs (package-inputs inkscape/stable)
(inputs (modify-inputs (package-inputs inkscape/pinned)
(append imagemagick))) ;for libMagickCore and libMagickWand
(native-inputs
(modify-inputs (package-native-inputs inkscape/stable)
(modify-inputs (package-native-inputs inkscape/pinned)
;; Only use 1 imagemagick across the package build.
(replace "imagemagick" imagemagick)))
(properties (alist-delete 'hidden? (package-properties inkscape/stable)))))
(properties (alist-delete 'hidden? (package-properties inkscape/pinned)))))

View file

@ -10885,7 +10885,7 @@ toolkits.")
(string-append info "/matplotlib-figures"))))))))
(native-inputs
(list graphviz
inkscape/stable
inkscape/pinned
python-colorspacious
python-ipython
python-ipywidgets
@ -19297,7 +19297,7 @@ time.")
;; Tests need a writable HOME.
(setenv "HOME" "/tmp"))))))
(inputs
(list inkscape/stable pandoc))
(list inkscape/pinned pandoc))
(native-inputs
(list python-flaky
python-hatchling

View file

@ -1158,11 +1158,11 @@ window manager.")
"backgrounds/xfce-verticals.svg"))
#t)))
#:disallowed-references (,inkscape/stable ,imagemagick)))
#:disallowed-references (,inkscape/pinned ,imagemagick)))
(native-inputs
(list xfce4-dev-tools
;; For our own prepare-background-image phase.
inkscape/stable imagemagick))
inkscape/pinned imagemagick))
(inputs
(list exo
garcon

View file

@ -2345,7 +2345,7 @@ X server: @code{handhelds}, @code{redglass} and @code{whiteglass}.")
(lambda* (#:key make-flags #:allow-other-keys)
(apply invoke `("make" "install" ,@make-flags
"THEME_NAME=Hackneyed-Dark")))))))
(native-inputs (list imagemagick inkscape/stable xcursorgen))
(native-inputs (list imagemagick inkscape/pinned xcursorgen))
(home-page "https://gitlab.com/Enthymeme/hackneyed-x11-cursors")
(synopsis "Classic cursor theme for X11")
(description "Hackneyed is a scalable cursor theme mildly resembling old