gnu: Explicitly use meson@0.60 in packages that don't support 0.63.

This to reduce merge conflicts in an upcoming switch.

* gnu/packages/gnome.scm (gnome-photos, gnome-music, gnome-user-share,
gnome-characters, gnome-font-viewer, gcr, evince, glade3,
gnome-settings-daemon, eog, simple-scan, gnome-session, gedit,
gnome-bluetooth, gtk-vnc, gnome-weather, gnome-calendar, cheese,
gnome-boxes)[arguments]: Add #:meson.
This commit is contained in:
Marius Bakke 2022-09-01 22:08:17 +02:00
parent f9551e9df3
commit 6197d977d7
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -886,6 +886,7 @@ (define-public gnome-photos
(build-system meson-build-system)
(arguments
`(#:glib-or-gtk? #t
#:meson ,meson-0.60
#:configure-flags
(list "-Ddogtail=false" ; Not available
;; Required for RUNPATH validation.
@ -957,6 +958,7 @@ (define-public gnome-music
(build-system meson-build-system)
(arguments
`(#:glib-or-gtk? #t
#:meson ,meson-0.60
#:phases
(modify-phases %standard-phases
(add-after 'install 'wrap-gnome-music
@ -1556,6 +1558,7 @@ (define-public gnome-user-share
(build-system meson-build-system)
(arguments
`(#:glib-or-gtk? #t
#:meson ,meson-0.60
#:configure-flags
`("-Dsystemduserunitdir=/tmp/empty"
;; Enable nautilus extension for file sharing.
@ -2033,6 +2036,7 @@ (define-public gnome-characters
(build-system meson-build-system)
(arguments
`(#:glib-or-gtk? #t
#:meson ,meson-0.60
#:phases (modify-phases %standard-phases
(add-after 'install 'wrap
(lambda* (#:key outputs #:allow-other-keys)
@ -2286,7 +2290,8 @@ (define-public gnome-font-viewer
"0hpyi0sz3gcqqs9lkwyk8b6hr39m3n27432x98kxr436jj37dk6j"))))
(build-system meson-build-system)
(arguments
`(#:phases
`(#:meson ,meson-0.60
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'patch-post-install-script
(lambda _
@ -2330,7 +2335,8 @@ (define-public gcr
"00fsf82ycac8qi0kkiq759p6jrn63pyz4ksn4wnq7m4ax94zq289"))))
(build-system meson-build-system)
(arguments
'(#:phases
`(#:meson ,meson-0.60
#:phases
(modify-phases %standard-phases
;; These fail because /var/lib/dbus/machine-id is not present in the
;; build environment.
@ -2539,6 +2545,7 @@ (define-public evince
(build-system meson-build-system)
(arguments
`(#:glib-or-gtk? #t
#:meson ,meson-0.60
#:build-type "release"
#:configure-flags
'("-Dnautilus=false"
@ -3133,6 +3140,7 @@ (define-public glade3
(build-system meson-build-system)
(arguments
(list
#:meson meson-0.60
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'skip-gtk-update-icon-cache
@ -5625,6 +5633,7 @@ (define-public gnome-settings-daemon
(build-system meson-build-system)
(arguments
`(#:glib-or-gtk? #t
#:meson ,meson-0.60
#:configure-flags
(list (string-append "-Dudev_dir="
(assoc-ref %outputs "out") "/lib/udev")
@ -6473,6 +6482,7 @@ (define-public eog
(build-system meson-build-system)
(arguments
`(#:glib-or-gtk? #t
#:meson ,meson-0.60
#:configure-flags
;; Otherwise, the RUNPATH will lack the final 'eog' path component.
(list (string-append "-Dc_link_args=-Wl,-rpath="
@ -6734,7 +6744,8 @@ (define-public simple-scan
(build-system meson-build-system)
;; TODO: Fix icons in home screen, About dialogue, and scan menu.
(arguments
`(#:glib-or-gtk? #t))
`(#:glib-or-gtk? #t
#:meson ,meson-0.60))
(native-inputs
(list gettext-minimal
itstool
@ -7235,7 +7246,8 @@ (define-public gnome-session
(base32
"02z0xr6sv9ibl7awbw9j4y05hf4jk1zgvsbbmh7n27hhjvsvc8pl"))))
(arguments
`(#:glib-or-gtk? #t
`(#:meson ,meson-0.60
#:glib-or-gtk? #t
#:phases
(modify-phases %standard-phases
(add-after 'install 'wrap-gnome-session
@ -7352,6 +7364,7 @@ (define-public gedit
(build-system meson-build-system)
(arguments
`(#:glib-or-gtk? #t
#:meson ,meson-0.60
#:configure-flags
;; Otherwise, the RUNPATH will lack the final path component.
(list (string-append "-Dc_link_args=-Wl,-rpath="
@ -8564,6 +8577,8 @@ (define-public gnome-bluetooth
(base32
"1a9ynlwwkb3wpg293ym517vmrkk63y809mmcv9a21k5yr199x53c"))))
(build-system meson-build-system)
(arguments
(list #:meson meson-0.60))
(native-inputs
`(("glib:bin" ,glib "bin") ; for gdbus-codegen, etc.
("gtk+" ,gtk+ "bin") ; gtk-update-icon-cache
@ -8884,7 +8899,8 @@ (define-public gtk-vnc
(base32 "0jmr6igyzcj2wmx5v5ywaazvdz3hx6a6rys26yb4l4s71l281bvs"))))
(build-system meson-build-system)
(arguments
`(#:glib-or-gtk? #t)) ; To wrap binaries and/or compile schemas
`(#:meson ,meson-0.60
#:glib-or-gtk? #t)) ; To wrap binaries and/or compile schemas
(native-inputs
(append
;; GJS depends on Rust, which is x86_64-only so far, so remove the GJS
@ -9476,6 +9492,7 @@ (define-public gnome-weather
libhandy))
(arguments
`(#:glib-or-gtk? #t
#:meson ,meson-0.60
#:phases
,#~(modify-phases %standard-phases
(add-after 'unpack 'fix-service-file
@ -9836,6 +9853,7 @@ (define-public gnome-calendar
(build-system meson-build-system)
(arguments
`(#:glib-or-gtk? #t
#:meson ,meson-0.60
;; gnome-calendar has to be installed before the tests can be run
;; https://bugzilla.gnome.org/show_bug.cgi?id=788224
#:tests? #f
@ -10759,6 +10777,7 @@ (define-public cheese
"1y92glc0d6w323x2bdbc0gdh1jdffvkbv6cwlwm1rx0wgvv1svqh"))))
(arguments
`(#:glib-or-gtk? #t
#:meson ,meson-0.60
;; Tests require GDK.
#:tests? #f
#:phases
@ -11718,6 +11737,7 @@ (define-public gnome-boxes
(build-system meson-build-system)
(arguments
`(#:glib-or-gtk? #t
#:meson ,meson-0.60
#:configure-flags (list "-Drdp=false"
(string-append "-Dc_link_args=-Wl,-rpath="
(assoc-ref %outputs "out")