Archived
1
0
Fork 0

gnu: glibmm: Update to 2.68.0.

* gnu/packages/glib.scm (glibmm)[version]: Update to 2.68.0.
[arguments]<#:phases>['pre-build]: Remove phase.
['disable-failing-tests]: New phase.
[native-inputs]: Add m4, mm-common, perl and libxslt.

Signed-off-by: Léo Le Bouter <lle-bout@zaclys.net>
This commit is contained in:
Raghav Gururajan 2021-03-25 01:56:45 -04:00
parent de69390d5e
commit 4a69d20a53
No known key found for this signature in database
GPG key ID: 45A8B1E86BCD10A6

View file

@ -634,7 +634,7 @@ by GDBus included in Glib.")
(define glibmm (define glibmm
(package (package
(name "glibmm") (name "glibmm")
(version "2.62.0") (version "2.68.0")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "mirror://gnome/sources/glibmm/" (uri (string-append "mirror://gnome/sources/glibmm/"
@ -642,28 +642,28 @@ by GDBus included in Glib.")
"/glibmm-" version ".tar.xz")) "/glibmm-" version ".tar.xz"))
(sha256 (sha256
(base32 (base32
"1ziwx6r7k7wbvg4qq1rgrv8zninapgrmhn1hs6926a3krh9ryr9n")))) "0xgkyhb2876mcyyib5rk3ya9aingyj68h02nl22yvkhx35rqbwy1"))))
(build-system gnu-build-system) (build-system meson-build-system)
(arguments (arguments
`(#:phases `(#:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-before 'build 'pre-build (add-after 'unpack 'disable-failing-tests
(lambda _ (lambda _
(substitute* "tests/meson.build"
;; This test uses /etc/fstab as an example file to read ;; This test uses /etc/fstab as an example file to read
;; from; choose a better example. ;; from; disable it.
(substitute* "tests/giomm_simple/main.cc" (("[ \t]*.*giomm_simple.*$") "")
(("/etc/fstab")
(string-append (getcwd)
"/tests/giomm_simple/main.cc")))
;; This test does a DNS lookup, and then expects to be able ;; This test does a DNS lookup, and then expects to be able
;; to open a TLS session; just skip it. ;; to open a TLS session; just skip it.
(substitute* "tests/giomm_tls_client/main.cc" (("[ \t]*.*giomm_tls_client.*$") ""))
(("Gio::init.*$")
"return 77 ;\n"))
#t))))) #t)))))
(native-inputs `(("pkg-config" ,pkg-config) (native-inputs
("glib" ,glib "bin"))) `(("glib:bin" ,glib "bin")
("m4" ,m4)
("mm-common" ,mm-common)
("perl" ,perl)
("pkg-config" ,pkg-config)
("xsltproc" ,libxslt)))
(propagated-inputs (propagated-inputs
`(("libsigc++" ,libsigc++) `(("libsigc++" ,libsigc++)
("glib" ,glib))) ("glib" ,glib)))