aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2022-09-10 02:04:15 +0200
committerMarius Bakke <marius@gnu.org>2022-09-10 13:42:32 +0200
commit6af5818262d4fa898293d053793f820c0b3c413a (patch)
tree92a98b88ea710dbb2b66e4949fbcf46c9d78c029 /gnu/packages
parente9a32184fdbf685570a0309cf5b08c56f3ad0904 (diff)
downloadguix-6af5818262d4fa898293d053793f820c0b3c413a.tar
guix-6af5818262d4fa898293d053793f820c0b3c413a.tar.gz
gnu: mutter: Remove input labels.
* gnu/packages/gnome.scm (mutter)[native-inputs, inputs, propagated-inputs]: Remove labels. [arguments]: Use SEARCH-INPUT-FILE instead of labels.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/gnome.scm147
1 files changed, 72 insertions, 75 deletions
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 912091e25b..37c1f3957b 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -7504,17 +7504,14 @@ to display dialog boxes from the commandline and shell scripts.")
"-Dsystemd=false"
;; The following flags are needed for the bundled clutter
(string-append "-Dxwayland_path="
- (assoc-ref %build-inputs "xorg-server-xwayland")
- "/bin/Xwayland")
+ (search-input-file %build-inputs "/bin/Xwayland"))
;; the remaining flags are needed for the bundled cogl
(string-append "-Dopengl_libname="
- (assoc-ref %build-inputs "mesa")
- "/lib/libGL.so")
+ (search-input-file %build-inputs "/lib/libGL.so"))
(string-append "-Dgles2_libname="
- (assoc-ref %build-inputs "mesa")
- "/lib/libGLESv2.so")
- "-Degl_device=true" ;false by default
- "-Dwayland_eglstream=true") ;false by default
+ (search-input-file %build-inputs "/lib/libGLESv2.so"))
+ "-Degl_device=true" ;false by default
+ "-Dwayland_eglstream=true") ;false by default
#:test-options
(list "--verbose")
#:phases
@@ -7523,10 +7520,10 @@ to display dialog boxes from the commandline and shell scripts.")
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "src/wayland/meta-wayland-egl-stream.c"
(("libnvidia-egl-wayland.so.1")
- (string-append (assoc-ref inputs "egl-wayland")
- "/lib/libnvidia-egl-wayland.so.1")))))
+ (search-input-file inputs
+ "/lib/libnvidia-egl-wayland.so.1")))))
(add-before 'configure 'set-udev-dir
- (lambda* (#:key inputs outputs #:allow-other-keys)
+ (lambda* (#:key outputs #:allow-other-keys)
(setenv "PKG_CONFIG_UDEV_UDEVDIR"
(string-append (assoc-ref outputs "out")
"/lib/udev"))))
@@ -7593,71 +7590,71 @@ to display dialog boxes from the commandline and shell scripts.")
(error "`meson test' exited with status"
status))))))))))))
(native-inputs
- `(("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
- ("glib:bin" ,glib "bin") ; for glib-compile-schemas, etc.
- ("gobject-introspection" ,gobject-introspection)
- ("intltool" ,intltool)
- ("pkg-config" ,pkg-config)
- ("xvfb-run" ,xvfb-run)
- ;; For git build
- ("autoconf" ,autoconf)
- ("automake" ,automake)
- ("libtool" ,libtool)
- ;; For tests.
- ;; Warnings are configured to be fatal during the tests; add an icon
- ;; theme to please libxcursor.
- ("adwaita-icon-theme" ,adwaita-icon-theme)
- ("libxcursor" ,libxcursor) ;for XCURSOR_PATH
- ("pipewire" ,pipewire-0.3)
- ("python" ,python)
- ("python-dbus" ,python-dbus)
- ("python-dbusmock" ,python-dbusmock)
- ("tini" ,tini))) ;acting as init (zombie reaper)
+ (list desktop-file-utils ; for update-desktop-database
+ `(,glib "bin") ; for glib-compile-schemas, etc.
+ gobject-introspection
+ intltool
+ pkg-config
+ xvfb-run
+ ;; For git build
+ autoconf
+ automake
+ libtool
+ ;; For tests.
+ ;; Warnings are configured to be fatal during the tests; add an icon
+ ;; theme to please libxcursor.
+ adwaita-icon-theme
+ libxcursor ;for XCURSOR_PATH
+ pipewire-0.3
+ python
+ python-dbus
+ python-dbusmock
+ tini)) ;acting as init (zombie reaper)
(propagated-inputs
- `( ;; libmutter.pc refers to these:
- ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
- ("gtk+" ,gtk+)
- ;; mutter-clutter-1.0.pc and mutter-cogl-1.0.pc refer to these:
- ("atk" ,atk)
- ("cairo" ,cairo)
- ("gdk-pixbuf" ,gdk-pixbuf)
- ("glib" ,glib)
- ("json-glib" ,json-glib)
- ("libinput" ,libinput)
- ("libx11" ,libx11)
- ("libxcomposite" ,libxcomposite)
- ("libxcvt" ,libxcvt)
- ("libxdamage" ,libxdamage)
- ("libxext" ,libxext)
- ("libxfixes" ,libxfixes)
- ("libxkbcommon" ,libxkbcommon)
- ("libxml2" ,libxml2)
- ("libxrandr" ,libxrandr)
- ("mesa" ,mesa)
- ("pango" ,pango)
- ("udev" ,eudev)
- ("xinput" ,xinput)))
- (inputs
- `(("egl-wayland" ,egl-wayland) ;for wayland-eglstream-protocols
- ("elogind" ,elogind)
- ("gnome-desktop" ,gnome-desktop)
- ("gnome-settings-daemon" ,gnome-settings-daemon)
- ("graphene" ,graphene)
- ("libcanberra-gtk" ,libcanberra)
- ("libgudev" ,libgudev)
- ("libice" ,libice)
- ("libsm" ,libsm)
- ("libwacom" ,libwacom)
- ("libxkbfile" ,libxkbfile)
- ("libxrandr" ,libxrandr)
- ("libxtst" ,libxtst)
- ("pipewire" ,pipewire-0.3)
- ("startup-notification" ,startup-notification)
- ("sysprof" ,sysprof)
- ("upower-glib" ,upower)
- ("xkeyboard-config" ,xkeyboard-config)
- ("xorg-server-xwayland" ,xorg-server-xwayland)
- ("zenity" ,zenity)))
+ (list ;; libmutter.pc refers to these:
+ gsettings-desktop-schemas
+ gtk+
+ ;; mutter-clutter-1.0.pc and mutter-cogl-1.0.pc refer to these:
+ atk
+ cairo
+ gdk-pixbuf
+ glib
+ json-glib
+ libinput
+ libx11
+ libxcomposite
+ libxcvt
+ libxdamage
+ libxext
+ libxfixes
+ libxkbcommon
+ libxml2
+ libxrandr
+ mesa
+ pango
+ eudev
+ xinput))
+ (inputs
+ (list egl-wayland ;for wayland-eglstream-protocols
+ elogind
+ gnome-desktop
+ gnome-settings-daemon
+ graphene
+ libcanberra
+ libgudev
+ libice
+ libsm
+ libwacom
+ libxkbfile
+ libxrandr
+ libxtst
+ pipewire-0.3
+ startup-notification
+ sysprof
+ upower
+ xkeyboard-config
+ xorg-server-xwayland
+ zenity))
(synopsis "Window and compositing manager")
(home-page "https://www.gnome.org")
(description