Archived
1
0
Fork 0

gnu: librsvg: Simplify inputs.

Obtained by running "guix style --input-simplification=always".

* gnu/packages/gnome.scm (librsvg, librsvg-2.40): Simplify inputs.
This commit is contained in:
Ludovic Courtès 2021-12-05 23:39:29 +01:00
parent dcf308a8bf
commit 0dc42f5bbf
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -3606,26 +3606,24 @@ for dealing with different structured file formats.")
(replace 'install (replace 'install
(assoc-ref gnu:%standard-phases 'install))))) (assoc-ref gnu:%standard-phases 'install)))))
(native-inputs (native-inputs
`(("docbook-xml" ,docbook-xml-4.3) (list docbook-xml-4.3
("glib" ,glib "bin") `(,glib "bin")
("gobject-introspection" ,gobject-introspection) gobject-introspection
("pkg-config" ,pkg-config) pkg-config
("python" ,python-wrapper) python-wrapper
("ruby" ,ruby) ruby
("vala" ,vala))) vala))
(inputs (inputs
`(("bzip2" ,bzip2) (list bzip2
("fontconfig" ,fontconfig) fontconfig
("freetype" ,freetype) freetype
("harfbuzz" ,harfbuzz) harfbuzz
("libcroco" ,libcroco) libcroco
("libgsf" ,libgsf) libgsf
("libxml2" ,libxml2) libxml2
("pango" ,pango))) pango))
(propagated-inputs (propagated-inputs
`(("cairo" ,cairo) (list cairo gdk-pixbuf glib))
("gdk-pixbuf" ,gdk-pixbuf)
("glib" ,glib)))
(synopsis "SVG rendering library") (synopsis "SVG rendering library")
(description "Librsvg is a library to render SVG images to Cairo surfaces. (description "Librsvg is a library to render SVG images to Cairo surfaces.
GNOME uses this to render SVG icons. Outside of GNOME, other desktop GNOME uses this to render SVG icons. Outside of GNOME, other desktop
@ -3682,20 +3680,14 @@ diagrams.")
"bugs/340047.svg" "bugs/340047.svg"
"bugs/749415.svg")))))))) "bugs/749415.svg"))))))))
(native-inputs (native-inputs
`(("pkg-config" ,pkg-config) (list pkg-config
("glib" ,glib "bin") ; glib-mkenums, etc. `(,glib "bin") ; glib-mkenums, etc.
("gobject-introspection" ,gobject-introspection))) ; g-ir-compiler, etc. gobject-introspection)) ; g-ir-compiler, etc.
(inputs (inputs
`(("pango" ,pango) (list pango libcroco bzip2 libgsf libxml2))
("libcroco" ,libcroco)
("bzip2" ,bzip2)
("libgsf" ,libgsf)
("libxml2" ,libxml2)))
(propagated-inputs (propagated-inputs
;; librsvg-2.0.pc refers to all of that. ;; librsvg-2.0.pc refers to all of that.
`(("cairo" ,cairo) (list cairo gdk-pixbuf glib))
("gdk-pixbuf" ,gdk-pixbuf)
("glib" ,glib)))
(synopsis "Render SVG files using Cairo (ancient C version)") (synopsis "Render SVG files using Cairo (ancient C version)")
(properties '((hidden? . #t))))) (properties '((hidden? . #t)))))