Pantheon updates 2025-11-15 (#461908)
This commit is contained in:
@@ -226,7 +226,6 @@ in
|
|||||||
gnome-menus
|
gnome-menus
|
||||||
adwaita-icon-theme
|
adwaita-icon-theme
|
||||||
gtk3.out # for gtk-launch program
|
gtk3.out # for gtk-launch program
|
||||||
onboard
|
|
||||||
sound-theme-freedesktop
|
sound-theme-freedesktop
|
||||||
xdg-user-dirs # Update user dirs as described in https://freedesktop.org/wiki/Software/xdg-user-dirs/
|
xdg-user-dirs # Update user dirs as described in https://freedesktop.org/wiki/Software/xdg-user-dirs/
|
||||||
])
|
])
|
||||||
|
|||||||
@@ -20,7 +20,6 @@
|
|||||||
libgnomekbd,
|
libgnomekbd,
|
||||||
libxklavier,
|
libxklavier,
|
||||||
ibus,
|
ibus,
|
||||||
onboard,
|
|
||||||
switchboard,
|
switchboard,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@@ -40,8 +39,13 @@ stdenv.mkDerivation rec {
|
|||||||
# https://github.com/elementary/settings-keyboard/issues/324
|
# https://github.com/elementary/settings-keyboard/issues/324
|
||||||
./hide-install-unlisted-engines-button.patch
|
./hide-install-unlisted-engines-button.patch
|
||||||
|
|
||||||
|
# We no longer ship Pantheon X11 session in NixOS.
|
||||||
|
# https://github.com/elementary/session-settings/issues/91
|
||||||
|
# https://github.com/elementary/session-settings/issues/82
|
||||||
|
./hide-onscreen-keyboard-settings.patch
|
||||||
|
|
||||||
(replaceVars ./fix-paths.patch {
|
(replaceVars ./fix-paths.patch {
|
||||||
inherit onboard libgnomekbd;
|
inherit libgnomekbd;
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
@@ -1,16 +1,3 @@
|
|||||||
diff --git a/src/Behavior/Behavior.vala b/src/Behavior/Behavior.vala
|
|
||||||
index bd461685..b6371096 100644
|
|
||||||
--- a/src/Behavior/Behavior.vala
|
|
||||||
+++ b/src/Behavior/Behavior.vala
|
|
||||||
@@ -252,7 +252,7 @@ public class Keyboard.Behaviour.Page : Gtk.Box {
|
|
||||||
|
|
||||||
onscreen_keyboard_settings.clicked.connect (() => {
|
|
||||||
try {
|
|
||||||
- var appinfo = GLib.AppInfo.create_from_commandline ("onboard-settings", null, NONE);
|
|
||||||
+ var appinfo = GLib.AppInfo.create_from_commandline ("@onboard@/bin/onboard-settings", null, NONE);
|
|
||||||
appinfo.launch (null, null);
|
|
||||||
} catch (Error e) {
|
|
||||||
critical ("Unable to launch onboard-settings: %s", e.message);
|
|
||||||
diff --git a/src/Layout/Widgets/AddLayoutDialog.vala b/src/Layout/Widgets/AddLayoutDialog.vala
|
diff --git a/src/Layout/Widgets/AddLayoutDialog.vala b/src/Layout/Widgets/AddLayoutDialog.vala
|
||||||
index 25cc0fe9..b3e350bb 100644
|
index 25cc0fe9..b3e350bb 100644
|
||||||
--- a/src/Layout/Widgets/AddLayoutDialog.vala
|
--- a/src/Layout/Widgets/AddLayoutDialog.vala
|
||||||
|
|||||||
@@ -0,0 +1,12 @@
|
|||||||
|
diff --git a/src/Behavior/Behavior.vala b/src/Behavior/Behavior.vala
|
||||||
|
index a1929fe4..2f332694 100644
|
||||||
|
--- a/src/Behavior/Behavior.vala
|
||||||
|
+++ b/src/Behavior/Behavior.vala
|
||||||
|
@@ -227,7 +227,6 @@ public class Keyboard.Behaviour.Page : Gtk.Box {
|
||||||
|
blink_grid.attach (scale_blink_time, 1, 2);
|
||||||
|
|
||||||
|
var box = new Gtk.Box (VERTICAL, 18);
|
||||||
|
- box.append (onscreen_keyboard_grid);
|
||||||
|
box.append (blink_grid);
|
||||||
|
box.append (repeat_grid);
|
||||||
|
box.append (stickykeys_grid);
|
||||||
@@ -31,13 +31,11 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
hash = "sha256-mdfmCzR9ikXDlDc7FeOITsdbPbz+G66jUrl1BobY+g8=";
|
hash = "sha256-mdfmCzR9ikXDlDc7FeOITsdbPbz+G66jUrl1BobY+g8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
patches = [
|
||||||
This allows `elementary-session-settings` to not use gnome-keyring's ssh capabilities anymore, as they have been
|
# See https://github.com/elementary/session-settings/issues/88 for gnome-keyring.
|
||||||
moved to gcr upstream, in an effort to modularize gnome-keyring.
|
# See https://github.com/elementary/session-settings/issues/82 for onboard.
|
||||||
|
./no-autostart.patch
|
||||||
More info can be found here: https://gitlab.gnome.org/GNOME/gnome-keyring/-/merge_requests/60
|
];
|
||||||
*/
|
|
||||||
patches = [ ./no-gnome-keyring-ssh-autostart.patch ];
|
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
desktop-file-utils
|
desktop-file-utils
|
||||||
|
|||||||
@@ -1,12 +1,13 @@
|
|||||||
diff --git a/session/meson.build b/session/meson.build
|
diff --git a/session/meson.build b/session/meson.build
|
||||||
index 501e836..3254658 100644
|
index 3e23650..e1f9792 100644
|
||||||
--- a/session/meson.build
|
--- a/session/meson.build
|
||||||
+++ b/session/meson.build
|
+++ b/session/meson.build
|
||||||
@@ -79,7 +79,6 @@ if get_option('detect-program-prefixes') == true
|
@@ -79,8 +79,6 @@ if get_option('detect-program-prefixes') == true
|
||||||
autostarts = {
|
autostarts = {
|
||||||
'gnome-keyring-pkcs11': join_paths(gnome_keyring_prefix, 'etc/xdg/autostart', 'gnome-keyring-pkcs11.desktop'),
|
'gnome-keyring-pkcs11': join_paths(gnome_keyring_prefix, 'etc/xdg/autostart', 'gnome-keyring-pkcs11.desktop'),
|
||||||
'gnome-keyring-secrets': join_paths(gnome_keyring_prefix, 'etc/xdg/autostart', 'gnome-keyring-secrets.desktop'),
|
'gnome-keyring-secrets': join_paths(gnome_keyring_prefix, 'etc/xdg/autostart', 'gnome-keyring-secrets.desktop'),
|
||||||
- 'gnome-keyring-ssh': join_paths(gnome_keyring_prefix, 'etc/xdg/autostart', 'gnome-keyring-ssh.desktop'),
|
- 'gnome-keyring-ssh': join_paths(gnome_keyring_prefix, 'etc/xdg/autostart', 'gnome-keyring-ssh.desktop'),
|
||||||
'onboard-autostart': join_paths(onboard_prefix, 'etc/xdg/autostart', 'onboard-autostart.desktop'),
|
- 'onboard-autostart': join_paths(onboard_prefix, 'etc/xdg/autostart', 'onboard-autostart.desktop'),
|
||||||
'orca-autostart': join_paths(orca_prefix, 'etc/xdg/autostart', 'orca-autostart.desktop'),
|
'orca-autostart': join_paths(orca_prefix, 'etc/xdg/autostart', 'orca-autostart.desktop'),
|
||||||
}
|
}
|
||||||
|
else
|
||||||
@@ -2,7 +2,6 @@
|
|||||||
stdenv,
|
stdenv,
|
||||||
lib,
|
lib,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
fetchpatch,
|
|
||||||
desktop-file-utils,
|
desktop-file-utils,
|
||||||
gettext,
|
gettext,
|
||||||
libxml2,
|
libxml2,
|
||||||
@@ -11,7 +10,7 @@
|
|||||||
pkg-config,
|
pkg-config,
|
||||||
vala,
|
vala,
|
||||||
wayland-scanner,
|
wayland-scanner,
|
||||||
wrapGAppsHook3,
|
wrapGAppsHook4,
|
||||||
at-spi2-core,
|
at-spi2-core,
|
||||||
gnome-settings-daemon,
|
gnome-settings-daemon,
|
||||||
gnome-desktop,
|
gnome-desktop,
|
||||||
@@ -19,7 +18,6 @@
|
|||||||
granite7,
|
granite7,
|
||||||
gtk3,
|
gtk3,
|
||||||
gtk4,
|
gtk4,
|
||||||
libcanberra,
|
|
||||||
libgee,
|
libgee,
|
||||||
libhandy,
|
libhandy,
|
||||||
mutter,
|
mutter,
|
||||||
@@ -30,28 +28,15 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "gala";
|
pname = "gala";
|
||||||
version = "8.2.5";
|
version = "8.3.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "elementary";
|
owner = "elementary";
|
||||||
repo = "gala";
|
repo = "gala";
|
||||||
rev = version;
|
tag = version;
|
||||||
hash = "sha256-uupFeQ73hr6ziLEtzgVJWASUxhspXJX54/U+3PLSCFY=";
|
hash = "sha256-omsAOOZCQINLTZQg3Sew+p84jv8+R2cHSVtcHFIeUBI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
|
||||||
# We look for plugins in `/run/current-system/sw/lib/` because
|
|
||||||
# there are multiple plugin providers (e.g. gala and wingpanel).
|
|
||||||
./plugins-dir.patch
|
|
||||||
|
|
||||||
# Fix gtk3 daemon menu location with x2 scaling
|
|
||||||
# https://github.com/elementary/gala/pull/2493
|
|
||||||
(fetchpatch {
|
|
||||||
url = "https://github.com/elementary/gala/commit/33bc3ebe7f175c61845feaf2d06083f1e3b64ddc.patch";
|
|
||||||
hash = "sha256-hjjiKcO5o/OABKD8vUsVyqtNKN4ffEOGZntLceLr2+k=";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
depsBuildBuild = [ pkg-config ];
|
depsBuildBuild = [ pkg-config ];
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
@@ -63,7 +48,7 @@ stdenv.mkDerivation rec {
|
|||||||
pkg-config
|
pkg-config
|
||||||
vala
|
vala
|
||||||
wayland-scanner
|
wayland-scanner
|
||||||
wrapGAppsHook3
|
wrapGAppsHook4
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
@@ -72,9 +57,8 @@ stdenv.mkDerivation rec {
|
|||||||
gnome-desktop
|
gnome-desktop
|
||||||
granite
|
granite
|
||||||
granite7
|
granite7
|
||||||
gtk3
|
gtk3 # daemon-gtk3
|
||||||
gtk4 # gala-daemon
|
gtk4
|
||||||
libcanberra
|
|
||||||
libgee
|
libgee
|
||||||
libhandy
|
libhandy
|
||||||
mutter
|
mutter
|
||||||
@@ -82,6 +66,16 @@ stdenv.mkDerivation rec {
|
|||||||
systemd
|
systemd
|
||||||
];
|
];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace meson.build \
|
||||||
|
--replace-fail "conf.set('PLUGINDIR', plugins_dir)" "conf.set('PLUGINDIR','/run/current-system/sw/lib/gala/plugins')"
|
||||||
|
'';
|
||||||
|
|
||||||
|
mesonFlags = [
|
||||||
|
# https://github.com/elementary/gala/commit/1e75d2a4b42e0d853fd474e90f1a52b0bcd0f690
|
||||||
|
"-Dold-icon-groups=true"
|
||||||
|
];
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
updateScript = nix-update-script { };
|
updateScript = nix-update-script { };
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1,21 +0,0 @@
|
|||||||
diff --git a/meson.build b/meson.build
|
|
||||||
index d0f00e5..977d2e2 100644
|
|
||||||
--- a/meson.build
|
|
||||||
+++ b/meson.build
|
|
||||||
@@ -25,6 +25,7 @@ vapi_dir = meson.current_source_dir() / 'vapi'
|
|
||||||
locale_dir = join_paths(get_option('prefix'), get_option('localedir'))
|
|
||||||
data_dir = join_paths(get_option('prefix'), get_option('datadir'))
|
|
||||||
plugins_dir = join_paths(get_option('prefix'), get_option('libdir'), meson.project_name(), 'plugins')
|
|
||||||
+plugins_dir_for_build = join_paths('/run/current-system/sw/lib/', meson.project_name(), 'plugins')
|
|
||||||
pkgdata_dir = join_paths(get_option('prefix'), get_option('datadir'), meson.project_name())
|
|
||||||
pkglib_dir = join_paths(get_option('prefix'), get_option('libdir'), meson.project_name())
|
|
||||||
|
|
||||||
@@ -33,7 +34,7 @@ conf.set_quoted('GETTEXT_PACKAGE', meson.project_name())
|
|
||||||
conf.set_quoted('LOCALEDIR', locale_dir)
|
|
||||||
conf.set_quoted('DATADIR', data_dir)
|
|
||||||
conf.set_quoted('PKGDATADIR', pkgdata_dir)
|
|
||||||
-conf.set_quoted('PLUGINDIR', plugins_dir)
|
|
||||||
+conf.set_quoted('PLUGINDIR', plugins_dir_for_build)
|
|
||||||
conf.set_quoted('RESOURCEPATH', '/org/pantheon/desktop/gala')
|
|
||||||
conf.set_quoted('VERSION', gala_version)
|
|
||||||
conf.set_quoted('SCHEMA', 'org.pantheon.desktop.gala')
|
|
||||||
@@ -32,6 +32,13 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
hash = "sha256-82XlZDnXuUB0PPmInrSQh1vrwnOYt9RplKWwYxIirVo=";
|
hash = "sha256-82XlZDnXuUB0PPmInrSQh1vrwnOYt9RplKWwYxIirVo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# We no longer ship Pantheon X11 session in NixOS.
|
||||||
|
# https://github.com/elementary/session-settings/issues/91
|
||||||
|
# https://github.com/elementary/session-settings/issues/82
|
||||||
|
./hide-onscreen-keyboard-settings.patch
|
||||||
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
glib # glib-compile-resources
|
glib # glib-compile-resources
|
||||||
meson
|
meson
|
||||||
|
|||||||
@@ -0,0 +1,25 @@
|
|||||||
|
diff --git a/src/PopoverWidget.vala b/src/PopoverWidget.vala
|
||||||
|
index 9dd331c..438fbe0 100644
|
||||||
|
--- a/src/PopoverWidget.vala
|
||||||
|
+++ b/src/PopoverWidget.vala
|
||||||
|
@@ -123,7 +123,6 @@ public class QuickSettings.PopoverWidget : Gtk.Box {
|
||||||
|
|
||||||
|
if (server_type == GREETER || glib_settings.get_boolean ("show-a11y")) {
|
||||||
|
toggle_box.add (screen_reader);
|
||||||
|
- toggle_box.add (onscreen_keyboard);
|
||||||
|
|
||||||
|
scale_box.add (text_scale);
|
||||||
|
}
|
||||||
|
@@ -131,12 +130,10 @@ public class QuickSettings.PopoverWidget : Gtk.Box {
|
||||||
|
glib_settings.changed["show-a11y"].connect (() => {
|
||||||
|
if (glib_settings.get_boolean ("show-a11y") && screen_reader.parent == null) {
|
||||||
|
toggle_box.add (screen_reader);
|
||||||
|
- toggle_box.add (onscreen_keyboard);
|
||||||
|
|
||||||
|
scale_box.add (text_scale);
|
||||||
|
} else {
|
||||||
|
toggle_box.remove (screen_reader);
|
||||||
|
- toggle_box.remove (onscreen_keyboard);
|
||||||
|
|
||||||
|
scale_box.remove (text_scale);
|
||||||
|
}
|
||||||
@@ -2,6 +2,7 @@
|
|||||||
lib,
|
lib,
|
||||||
stdenv,
|
stdenv,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
|
fetchpatch,
|
||||||
nix-update-script,
|
nix-update-script,
|
||||||
wayland-scanner,
|
wayland-scanner,
|
||||||
wrapGAppsHook3,
|
wrapGAppsHook3,
|
||||||
@@ -35,6 +36,13 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
./indicators.patch
|
./indicators.patch
|
||||||
|
|
||||||
|
# Fix build with gala 8.3.0
|
||||||
|
# https://github.com/elementary/wingpanel/pull/642
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://github.com/elementary/wingpanel/commit/4476df2573797310e254695a66c099b32afe9736.patch";
|
||||||
|
hash = "sha256-99zzXbaeW/ijqPXN7tQexMPWsUW4pX7e0tcxASBVbvI=";
|
||||||
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
depsBuildBuild = [
|
depsBuildBuild = [
|
||||||
|
|||||||
@@ -7,42 +7,48 @@
|
|||||||
ninja,
|
ninja,
|
||||||
pkg-config,
|
pkg-config,
|
||||||
vala,
|
vala,
|
||||||
gtk3,
|
gtk4,
|
||||||
glib,
|
glib,
|
||||||
granite,
|
granite7,
|
||||||
libgee,
|
libadwaita,
|
||||||
libhandy,
|
libcanberra,
|
||||||
libcanberra-gtk3,
|
wayland-scanner,
|
||||||
wrapGAppsHook3,
|
wrapGAppsHook4,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "elementary-notifications";
|
pname = "elementary-notifications";
|
||||||
version = "8.1.0";
|
version = "8.1.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "elementary";
|
owner = "elementary";
|
||||||
repo = "notifications";
|
repo = "notifications";
|
||||||
rev = version;
|
tag = version;
|
||||||
sha256 = "sha256-2+LV3O2V42gI+ysVoeO9KpLqmAj/Zk5F8LzO2RNZ1ZY=";
|
hash = "sha256-V884jv7bleDMsuZDkodyeNBhStIoNPNxfT6mz1YjHXE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
strictDeps = true;
|
||||||
|
|
||||||
|
depsBuildBuild = [
|
||||||
|
pkg-config
|
||||||
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
glib # for glib-compile-schemas
|
glib # for glib-compile-schemas
|
||||||
meson
|
meson
|
||||||
ninja
|
ninja
|
||||||
pkg-config
|
pkg-config
|
||||||
vala
|
vala
|
||||||
wrapGAppsHook3
|
wayland-scanner
|
||||||
|
wrapGAppsHook4
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
glib
|
glib
|
||||||
granite
|
granite7
|
||||||
gtk3
|
gtk4
|
||||||
libcanberra-gtk3
|
libadwaita
|
||||||
libgee
|
libcanberra
|
||||||
libhandy
|
|
||||||
];
|
];
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
|
|||||||
Reference in New Issue
Block a user