Archived
1
0
Fork 0

gnu: libgsf: Update to 1.14.50.

* gnu/packages/gnome.scm (libgsf): Update to 1.14.50.
[arguments]: Use gexps.
[phases]{patch-docbook-xml}: Use search-input-directory and delete trailing
 #t.
[native-inputs]: Remove labels.
This commit is contained in:
Maxim Cournoyer 2022-09-08 20:18:24 -04:00
parent 4d0945b6ec
commit 25c7dd2456
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -3407,7 +3407,7 @@ XML/CSS rendering engine.")
(define-public libgsf (define-public libgsf
(package (package
(name "libgsf") (name "libgsf")
(version "1.14.47") (version "1.14.50")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "mirror://gnome/sources/" name "/" (uri (string-append "mirror://gnome/sources/" name "/"
@ -3415,63 +3415,60 @@ XML/CSS rendering engine.")
name "-" version ".tar.xz")) name "-" version ".tar.xz"))
(sha256 (sha256
(base32 (base32
"0kbpp9ksl7977xiga37sk1gdw1r039v6zviqznl7alvvg39yp26i")))) "0llf5rpg2rg9pdz8j38dl5z82zi9kmsn639wb2fhcfc3fz820v3f"))))
(build-system glib-or-gtk-build-system) (build-system glib-or-gtk-build-system)
(outputs '("out" "bin" "doc")) (outputs '("out" "bin" "doc"))
(arguments (arguments
`(#:configure-flags (list
(list #:configure-flags
"--disable-static" #~(list
"--enable-introspection" "--disable-static"
(string-append "--with-gir-dir=" "--enable-introspection"
(assoc-ref %outputs "out") (string-append "--with-gir-dir=" #$output
"/share/gir-" "/share/gir-"
,(version-major #$(version-major
(package-version gobject-introspection)) (package-version gobject-introspection))
".0") ".0")
(string-append "--with-typelib-dir=" (string-append "--with-typelib-dir=" #$output
(assoc-ref %outputs "out") "/lib/girepository-"
"/lib/girepository-" #$(version-major
,(version-major (package-version gobject-introspection))
(package-version gobject-introspection)) ".0")
".0") (string-append "--with-html-dir=" #$output
(string-append "--with-html-dir=" "/share/gtk-doc/html")
(assoc-ref %outputs "doc") "--with-zlib"
"/share/gtk-doc/html") "--with-bz2")
"--with-zlib" #:phases
"--with-bz2") #~(modify-phases %standard-phases
#:phases (add-after 'unpack 'patch-docbook-xml
(modify-phases %standard-phases (lambda* (#:key native-inputs inputs #:allow-other-keys)
(add-after 'unpack 'patch-docbook-xml (with-directory-excursion "doc"
(lambda* (#:key inputs #:allow-other-keys) (substitute* "gsf-docs.xml"
(with-directory-excursion "doc" (("http://www.oasis-open.org/docbook/xml/4.5/")
(substitute* "gsf-docs.xml" (search-input-directory (or native-inputs inputs)
(("http://www.oasis-open.org/docbook/xml/4.5/") "xml/dtd/docbook")))))))))
(string-append (assoc-ref inputs "docbook-xml")
"/xml/dtd/docbook/"))))
#t)))))
(native-inputs (native-inputs
`(("docbook-xml" ,docbook-xml) (list docbook-xml
("gettext" ,gettext-minimal) gettext-minimal
("gobject-introspection" ,gobject-introspection) gobject-introspection
("perl" ,perl) perl
("perl-xml-parser" ,perl-xml-parser) perl-xml-parser
("pkg-config" ,pkg-config) pkg-config
("python" ,python-wrapper))) python-wrapper))
(inputs (inputs
(list bzip2 gdk-pixbuf zlib)) (list bzip2
gdk-pixbuf
zlib))
(propagated-inputs (propagated-inputs
(list glib libxml2)) (list glib
libxml2))
(synopsis "G Structured File Library") (synopsis "G Structured File Library")
(description "Libgsf aims to provide an efficient extensible I/O abstraction (description "Libgsf aims to provide an efficient extensible I/O abstraction
for dealing with different structured file formats.") for dealing with different structured file formats.")
(home-page "https://gitlab.gnome.org/GNOME/libgsf") (home-page "https://gitlab.gnome.org/GNOME/libgsf")
(license (license
(list (list license:lgpl2.1+ ;library
;; Library license:lgpl2.0+)))) ;others
license:lgpl2.1+
;; Others
license:lgpl2.0+))))
(define-public librsvg (define-public librsvg
(package (package