gnome.mutter: 43.3 → 44.beta
https://gitlab.gnome.org/GNOME/mutter/-/compare/43.3...44.beta GTK 4 used for drawing window frames: https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2175 fribidi, and ATK still used by Clutter; GTK 3 and libICE still used by libmutter. Co-authored-by: Bobby Rong <rjl931189261@126.com> Changelog-Reviewed-By: Jan Tojnar <jtojnar@gmail.com>
This commit is contained in:
parent
d004cccbc8
commit
448e437295
@ -1,7 +1,6 @@
|
|||||||
{ fetchurl
|
{ fetchurl
|
||||||
, runCommand
|
, runCommand
|
||||||
, lib
|
, lib
|
||||||
, fetchpatch
|
|
||||||
, stdenv
|
, stdenv
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, gnome
|
, gnome
|
||||||
@ -19,6 +18,7 @@
|
|||||||
, xkeyboard_config
|
, xkeyboard_config
|
||||||
, libxcvt
|
, libxcvt
|
||||||
, libxkbfile
|
, libxkbfile
|
||||||
|
, libICE
|
||||||
, libXdamage
|
, libXdamage
|
||||||
, libxkbcommon
|
, libxkbcommon
|
||||||
, libXtst
|
, libXtst
|
||||||
@ -26,7 +26,11 @@
|
|||||||
, libdrm
|
, libdrm
|
||||||
, gsettings-desktop-schemas
|
, gsettings-desktop-schemas
|
||||||
, glib
|
, glib
|
||||||
|
, atk
|
||||||
, gtk3
|
, gtk3
|
||||||
|
, gtk4
|
||||||
|
, fribidi
|
||||||
|
, harfbuzz
|
||||||
, gnome-desktop
|
, gnome-desktop
|
||||||
, pipewire
|
, pipewire
|
||||||
, libgudev
|
, libgudev
|
||||||
@ -37,7 +41,7 @@
|
|||||||
, gnome-settings-daemon
|
, gnome-settings-daemon
|
||||||
, xorgserver
|
, xorgserver
|
||||||
, python3
|
, python3
|
||||||
, wrapGAppsHook
|
, wrapGAppsHook4
|
||||||
, gi-docgen
|
, gi-docgen
|
||||||
, sysprof
|
, sysprof
|
||||||
, libsysprof-capture
|
, libsysprof-capture
|
||||||
@ -50,31 +54,15 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "mutter";
|
pname = "mutter";
|
||||||
version = "43.3";
|
version = "44.beta";
|
||||||
|
|
||||||
outputs = [ "out" "dev" "man" "devdoc" ];
|
outputs = [ "out" "dev" "man" "devdoc" ];
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/mutter/${lib.versions.major finalAttrs.version}/mutter-${finalAttrs.version}.tar.xz";
|
url = "mirror://gnome/sources/mutter/${lib.versions.major finalAttrs.version}/mutter-${finalAttrs.version}.tar.xz";
|
||||||
sha256 = "Z75IINmycMnDxl44lHvwUtLC/xiunnBCHUklnvrACn0=";
|
sha256 = "+Lgh89e9o9o5yzygwDg84sn/HCqzFNyJXoRyKBVxKkc=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
|
||||||
# Fix build with separate sysprof.
|
|
||||||
# https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2572
|
|
||||||
(fetchpatch {
|
|
||||||
url = "https://gitlab.gnome.org/GNOME/mutter/-/commit/285a5a4d54ca83b136b787ce5ebf1d774f9499d5.patch";
|
|
||||||
sha256 = "/npUE3idMSTVlFptsDpZmGWjZ/d2gqruVlJKq4eF4xU=";
|
|
||||||
})
|
|
||||||
|
|
||||||
# Fix focus regression.
|
|
||||||
# https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2848
|
|
||||||
(fetchpatch {
|
|
||||||
url = "https://gitlab.gnome.org/GNOME/mutter/-/commit/12ce58dba4f96f6a948c1d166646d263253e3ee0.patch";
|
|
||||||
sha256 = "CGu11aLFs8VEt8NiIkih+cXZzU82oxY6Ko9QRKOkM98=";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
mesonFlags = [
|
mesonFlags = [
|
||||||
"-Degl_device=true"
|
"-Degl_device=true"
|
||||||
"-Dinstalled_tests=false" # TODO: enable these
|
"-Dinstalled_tests=false" # TODO: enable these
|
||||||
@ -105,7 +93,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
xvfb-run
|
xvfb-run
|
||||||
pkg-config
|
pkg-config
|
||||||
python3
|
python3
|
||||||
wrapGAppsHook
|
wrapGAppsHook4
|
||||||
gi-docgen
|
gi-docgen
|
||||||
xorgserver
|
xorgserver
|
||||||
];
|
];
|
||||||
@ -118,7 +106,11 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
gnome-settings-daemon
|
gnome-settings-daemon
|
||||||
gobject-introspection
|
gobject-introspection
|
||||||
gsettings-desktop-schemas
|
gsettings-desktop-schemas
|
||||||
|
atk
|
||||||
gtk3
|
gtk3
|
||||||
|
gtk4
|
||||||
|
fribidi
|
||||||
|
harfbuzz
|
||||||
libcanberra
|
libcanberra
|
||||||
libdrm
|
libdrm
|
||||||
libgudev
|
libgudev
|
||||||
@ -127,6 +119,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
libwacom
|
libwacom
|
||||||
libxkbcommon
|
libxkbcommon
|
||||||
libxkbfile
|
libxkbfile
|
||||||
|
libICE
|
||||||
libXdamage
|
libXdamage
|
||||||
colord
|
colord
|
||||||
lcms2
|
lcms2
|
||||||
@ -150,7 +143,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
postFixup = ''
|
postFixup = ''
|
||||||
# Cannot be in postInstall, otherwise _multioutDocs hook in preFixup will move right back.
|
# Cannot be in postInstall, otherwise _multioutDocs hook in preFixup will move right back.
|
||||||
# TODO: Move this into a directory devhelp can find.
|
# TODO: Move this into a directory devhelp can find.
|
||||||
moveToOutput "share/mutter-11/doc" "$devdoc"
|
moveToOutput "share/mutter-12/doc" "$devdoc"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# Install udev files into our own tree.
|
# Install udev files into our own tree.
|
||||||
@ -159,7 +152,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
separateDebugInfo = true;
|
separateDebugInfo = true;
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
libdir = "${finalAttrs.finalPackage}/lib/mutter-11";
|
libdir = "${finalAttrs.finalPackage}/lib/mutter-12";
|
||||||
|
|
||||||
tests = {
|
tests = {
|
||||||
libdirExists = runCommand "mutter-libdir-exists" {} ''
|
libdirExists = runCommand "mutter-libdir-exists" {} ''
|
||||||
|
Loading…
Reference in New Issue
Block a user