1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-17 19:21:04 +00:00

Merge staging-next into staging

This commit is contained in:
github-actions[bot] 2024-08-25 06:04:43 +00:00 committed by GitHub
commit eb403bf156
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
45 changed files with 314 additions and 389 deletions

View file

@ -85,5 +85,6 @@ jobs:
echo "Some new/changed Nix files are not properly formatted" echo "Some new/changed Nix files are not properly formatted"
echo "Please go to the Nixpkgs root directory, run \`nix-shell\`, then:" echo "Please go to the Nixpkgs root directory, run \`nix-shell\`, then:"
echo "nixfmt ${unformattedFiles[*]@Q}" echo "nixfmt ${unformattedFiles[*]@Q}"
echo "If you're having trouble, please ping @NixOS/nix-formatting"
exit 1 exit 1
fi fi

View file

@ -10,6 +10,9 @@ import ./make-test-python.nix ({ pkgs, lib, ...} :
{ {
imports = [ ./common/user-account.nix ]; imports = [ ./common/user-account.nix ];
# Workaround ".gala-wrapped invoked oom-killer"
virtualisation.memorySize = 2047;
services.xserver.enable = true; services.xserver.enable = true;
services.xserver.desktopManager.pantheon.enable = true; services.xserver.desktopManager.pantheon.enable = true;
@ -83,10 +86,10 @@ import ./make-test-python.nix ({ pkgs, lib, ...} :
machine.wait_for_window("io.elementary.calendar") machine.wait_for_window("io.elementary.calendar")
with subtest("Open system settings"): with subtest("Open system settings"):
machine.execute("su - ${user.name} -c 'DISPLAY=:0 io.elementary.switchboard >&2 &'") machine.execute("su - ${user.name} -c 'DISPLAY=:0 io.elementary.settings >&2 &'")
# Wait for all plugins to be loaded before we check if the window is still there. # Wait for all plugins to be loaded before we check if the window is still there.
machine.sleep(5) machine.sleep(5)
machine.wait_for_window("io.elementary.switchboard") machine.wait_for_window("io.elementary.settings")
with subtest("Open elementary terminal"): with subtest("Open elementary terminal"):
machine.execute("su - ${user.name} -c 'DISPLAY=:0 io.elementary.terminal >&2 &'") machine.execute("su - ${user.name} -c 'DISPLAY=:0 io.elementary.terminal >&2 &'")

View file

@ -29,13 +29,13 @@ let
in in
melpaBuild { melpaBuild {
pname = "lsp-bridge"; pname = "lsp-bridge";
version = "0-unstable-2024-08-12"; version = "0-unstable-2024-08-17";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "manateelazycat"; owner = "manateelazycat";
repo = "lsp-bridge"; repo = "lsp-bridge";
rev = "658f08ee51c193f52a0e9723b190e5f6eef77ab7"; rev = "fe7a0729f9f46a0713b7049d20b25bb78d93f68f";
hash = "sha256-ksKvekDKYdlJULRmALudfduYe1TkW3aG2uBeKdHOokQ="; hash = "sha256-lbtg1n72xNePs1DNpjy6Hvg4OhACk9vSfVwFffkeb0I=";
}; };
patches = [ patches = [

View file

@ -484,29 +484,12 @@ let
rime = super.rime.overrideAttrs (old: { rime = super.rime.overrideAttrs (old: {
buildInputs = (old.buildInputs or [ ]) ++ [ pkgs.librime ]; buildInputs = (old.buildInputs or [ ]) ++ [ pkgs.librime ];
preBuild = (old.preBuild or "") + preBuild = (old.preBuild or "") + ''
(if pkgs.stdenv.isDarwin then make lib CC=$CC MODULE_FILE_SUFFIX=${pkgs.stdenv.hostPlatform.extensions.sharedLibrary}
'' '';
export MODULE_FILE_SUFFIX=".dylib" postInstall = (old.postInstall or "") + ''
make lib install -m444 -t $out/share/emacs/site-lisp/elpa/rime-* librime-emacs.*
mkdir -p /tmp/build/rime-lib '';
cp *.dylib /tmp/build/rime-lib
''
else
''
make lib
mkdir -p /build/rime-lib
cp *.so /build/rime-lib
'');
postInstall = (old.postInstall or "") +
(if pkgs.stdenv.isDarwin then
''
install -m444 -t $out/share/emacs/site-lisp/elpa/rime-* /tmp/build/rime-lib/*.dylib
''
else
''
install -m444 -t $out/share/emacs/site-lisp/elpa/rime-* /build/rime-lib/*.so
'');
}); });
shm = super.shm.overrideAttrs (attrs: { shm = super.shm.overrideAttrs (attrs: {

View file

@ -3,13 +3,13 @@
, fetchFromGitHub , fetchFromGitHub
, fetchpatch , fetchpatch
, autoreconfHook , meson
, ninja
, go-md2man , go-md2man
, pkg-config , pkg-config
, openssl , openssl
, fuse3 , fuse3
, libcap , libcap
, libseccomp
, python3 , python3
, which , which
, valgrind , valgrind
@ -25,43 +25,28 @@
}: }:
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "composefs"; pname = "composefs";
version = "1.0.4"; version = "1.0.5";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "containers"; owner = "containers";
repo = "composefs"; repo = "composefs";
rev = "v${finalAttrs.version}"; rev = "v${finalAttrs.version}";
hash = "sha256-ekUFLZGWTsiJZFv3nHoxuV057zoOtWBIkt+VdtzlaU4="; hash = "sha256-2h0wwtuhvFz5IExR/Fu0l+/nTAlDpMREVRjgrhbEghw=";
}; };
strictDeps = true; strictDeps = true;
outputs = [ "out" "lib" "dev" ]; outputs = [ "out" "lib" "dev" ];
patches = [
# fixes composefs-info tests, remove in next release
# https://github.com/containers/composefs/pull/291
(fetchpatch {
url = "https://github.com/containers/composefs/commit/f7465b3a57935d96451b392b07aa3a1dafb56e7b.patch";
hash = "sha256-OO3IfqLf3dQGjEgKx3Bo630KALmLAWwgdACuyZm2Ujc=";
})
];
postPatch = lib.optionalString installExperimentalTools '' postPatch = lib.optionalString installExperimentalTools ''
sed -i "s/noinst_PROGRAMS +\?=/bin_PROGRAMS +=/g" tools/Makefile.am sed -i "s/install : false/install : true/g" tools/meson.build
''; '';
configureFlags = [ nativeBuildInputs = [ meson ninja go-md2man pkg-config ];
(lib.enableFeature true "man")
(lib.enableFeature enableValgrindCheck "valgrind-test")
];
nativeBuildInputs = [ autoreconfHook go-md2man pkg-config ];
buildInputs = [ openssl ] buildInputs = [ openssl ]
++ lib.optional fuseSupport fuse3 ++ lib.optional fuseSupport fuse3
++ lib.filter (lib.meta.availableOn stdenv.hostPlatform) ( ++ lib.filter (lib.meta.availableOn stdenv.hostPlatform) (
[ [
libcap libcap
libseccomp
] ]
); );
@ -71,11 +56,10 @@ stdenv.mkDerivation (finalAttrs: {
++ lib.optional fuseSupport fuse3 ++ lib.optional fuseSupport fuse3
++ lib.filter (lib.meta.availableOn stdenv.buildPlatform) [ erofs-utils fsverity-utils ]; ++ lib.filter (lib.meta.availableOn stdenv.buildPlatform) [ erofs-utils fsverity-utils ];
mesonCheckFlags = lib.optionals enableValgrindCheck "--setup=valgrind";
preCheck = '' preCheck = ''
patchShebangs --build tests/*dir tests/*.sh patchShebangs --build ../tests/*dir ../tests/*.sh
substituteInPlace tests/*.sh \
--replace-quiet " /tmp" " $TMPDIR" \
--replace-quiet " /var/tmp" " $TMPDIR"
''; '';
passthru = { passthru = {

View file

@ -7,16 +7,16 @@
buildGoModule rec { buildGoModule rec {
pname = "files-cli"; pname = "files-cli";
version = "2.13.107"; version = "2.13.122";
src = fetchFromGitHub { src = fetchFromGitHub {
repo = "files-cli"; repo = "files-cli";
owner = "files-com"; owner = "files-com";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-fZp27mFnZi10kMHHNxvPL3E30jFCF6SOvuSo1whgmJ4="; hash = "sha256-5F1ETivnflf27nseSTQ4xv1LkJKKC3oa+Ao20jUW1BQ=";
}; };
vendorHash = "sha256-Cz8QP95guBTOWr8Fr9fej/K3WiNCKx5BjPRuwiQWNzM="; vendorHash = "sha256-4uFUo47m1jdKIhPgDE5R4Hb+HQslsDu16QNb4IDTwMg=";
ldflags = [ ldflags = [
"-s" "-s"

View file

@ -9,13 +9,13 @@
buildGoModule rec { buildGoModule rec {
pname = "grype"; pname = "grype";
version = "0.79.6"; version = "0.80.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "anchore"; owner = "anchore";
repo = "grype"; repo = "grype";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-4DvtZDDr1m+2kd0uEEQwW2KrTXa7ShF4jRFjSNMjJiM="; hash = "sha256-28/BR4oKOW7CK4gv4ESVZsvsyd6gKwW2XPvA1vU8/Wc=";
# populate values that require us to use git. By doing this in postFetch we # populate values that require us to use git. By doing this in postFetch we
# can delete .git afterwards and maintain better reproducibility of the src. # can delete .git afterwards and maintain better reproducibility of the src.
leaveDotGit = true; leaveDotGit = true;
@ -30,7 +30,7 @@ buildGoModule rec {
proxyVendor = true; proxyVendor = true;
vendorHash = "sha256-mMZUE82NjZyy6haY9nkY1KCwrpqt81F+o7wdpaq5dxQ="; vendorHash = "sha256-F8r332smhjVRxAQ42CvJDmBl2rjxgwUZpoMDhFsBYSA=";
nativeBuildInputs = [ installShellFiles ]; nativeBuildInputs = [ installShellFiles ];

View file

@ -6,14 +6,14 @@
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "neural-amp-modeler-lv2"; pname = "neural-amp-modeler-lv2";
version = "0.1.3"; version = "0.1.4";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "mikeoliphant"; owner = "mikeoliphant";
repo = "neural-amp-modeler-lv2"; repo = "neural-amp-modeler-lv2";
rev = finalAttrs.version; rev = finalAttrs.version;
fetchSubmodules = true; fetchSubmodules = true;
hash = "sha256-sRZngmivNvSWcjkIqcqjjaIgXFH8aMq+/caNroXmzIk="; hash = "sha256-5BOZOocZWWSWawXJFMAgM0NR0s0CbkzDVr6fnvZMvd0=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View file

@ -1,44 +1,37 @@
{ lib { lib
, stdenv , stdenv
, fetchFromGitHub , fetchFromGitHub
, fetchpatch
, nix-update-script , nix-update-script
, meson , meson
, ninja , ninja
, pkg-config , pkg-config
, vala , vala
, libadwaita
, libgee , libgee
, libgtop , libgtop
, libgudev , libgudev
, libhandy , granite7
, granite , gtk4
, gtk3 , packagekit
, polkit
, switchboard , switchboard
, udisks2 , udisks2
, fwupd , fwupd
, appstream , appstream
, elementary-settings-daemon
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "switchboard-plug-about"; pname = "switchboard-plug-about";
version = "6.2.0"; version = "8.0.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "elementary"; owner = "elementary";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "sha256-MJybc2yAchU6qMqkoRz45QdhR7bj/UFk2nyxcBivsHI="; sha256 = "sha256-6b6nuOp4pEufHEmTraSfKpbtPuO3Z9hQJfvKuuyy7as=";
}; };
patches = [
# Add support for AppStream 1.0
# https://github.com/elementary/switchboard-plug-about/pull/275
(fetchpatch {
url = "https://github.com/elementary/switchboard-plug-about/commit/72d7da13da2824812908276751fd3024db2dd0f8.patch";
hash = "sha256-R7oW3mL77/JNqxuMiqxtdMlHWMJgGRQBBzVeRiqx8PY=";
})
];
nativeBuildInputs = [ nativeBuildInputs = [
meson meson
ninja ninja
@ -48,22 +41,20 @@ stdenv.mkDerivation rec {
buildInputs = [ buildInputs = [
appstream appstream
elementary-settings-daemon # for gsettings schemas
fwupd fwupd
granite granite7
gtk3 gtk4
libadwaita
libgee libgee
libgtop libgtop
libgudev libgudev
libhandy packagekit
polkit
switchboard switchboard
udisks2 udisks2
]; ];
mesonFlags = [
# Does not play nice with the nix-snowflake logo
"-Dwallpaper=false"
];
passthru = { passthru = {
updateScript = nix-update-script { }; updateScript = nix-update-script { };
}; };

View file

@ -6,23 +6,23 @@
, ninja , ninja
, pkg-config , pkg-config
, vala , vala
, libadwaita
, libgee , libgee
, libhandy , granite7
, granite , gtk4
, gtk3
, switchboard , switchboard
, flatpak , flatpak
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "switchboard-plug-applications"; pname = "switchboard-plug-applications";
version = "7.0.1"; version = "8.0.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "elementary"; owner = "elementary";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "sha256-r2JKiTewsLQSZPriC0w72CFevRQXytrFcO2VfA9BKHA="; sha256 = "sha256-dExMuPZJl/l7lRIY8kkmuRcQaPS39VBfE0dRrINLWx8=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -34,10 +34,10 @@ stdenv.mkDerivation rec {
buildInputs = [ buildInputs = [
flatpak flatpak
granite granite7
gtk3 gtk4
libadwaita
libgee libgee
libhandy
switchboard switchboard
]; ];

View file

@ -1,15 +1,15 @@
{ lib { lib
, stdenv , stdenv
, fetchFromGitHub , fetchFromGitHub
, fetchpatch
, nix-update-script , nix-update-script
, meson , meson
, ninja , ninja
, pkg-config , pkg-config
, vala , vala
, libadwaita
, libgee , libgee
, granite , granite7
, gtk3 , gtk4
, bluez , bluez
, switchboard , switchboard
, wingpanel-indicator-bluetooth , wingpanel-indicator-bluetooth
@ -17,24 +17,15 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "switchboard-plug-bluetooth"; pname = "switchboard-plug-bluetooth";
version = "2.3.6"; version = "8.0.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "elementary"; owner = "elementary";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "0n9fhi9g0ww341bjk6lpc5ppnl7qj9b3d63j9a7iqnap57bgks9y"; sha256 = "sha256-A55VCyQi+LBe3hxKp/xsVtXyPHuLPaCOi78Zv6MiwIw=";
}; };
patches = [
# Upstream code not respecting our localedir
# https://github.com/elementary/switchboard-plug-bluetooth/pull/182
(fetchpatch {
url = "https://github.com/elementary/switchboard-plug-bluetooth/commit/031dd5660b4bcb0bb4e82ebe6d8bcdaa1791c385.patch";
sha256 = "1g01ad6md7pqp1fx00avbra8yfnr8ipg8y6zhfg35fgjakj4aags";
})
];
nativeBuildInputs = [ nativeBuildInputs = [
meson meson
ninja ninja
@ -44,8 +35,9 @@ stdenv.mkDerivation rec {
buildInputs = [ buildInputs = [
bluez bluez
granite granite7
gtk3 gtk4
libadwaita
libgee libgee
switchboard switchboard
wingpanel-indicator-bluetooth # settings schema wingpanel-indicator-bluetooth # settings schema

View file

@ -1,16 +1,16 @@
{ lib { lib
, stdenv , stdenv
, fetchFromGitHub , fetchFromGitHub
, fetchpatch
, nix-update-script , nix-update-script
, meson , meson
, ninja , ninja
, substituteAll , substituteAll
, pkg-config , pkg-config
, vala , vala
, libadwaita
, libgee , libgee
, granite , granite7
, gtk3 , gtk4
, libxml2 , libxml2
, switchboard , switchboard
, tzdata , tzdata
@ -18,13 +18,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "switchboard-plug-datetime"; pname = "switchboard-plug-datetime";
version = "2.2.0"; version = "8.0.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "elementary"; owner = "elementary";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "10rqhxsqbl1xnz5n84d7m39c3vb71k153989xvyc55djia1wjx96"; sha256 = "sha256-PE1ig8p9H4MfipIpN3ubXAJNzLwGVW89adn+SF3rEuQ=";
}; };
patches = [ patches = [
@ -32,12 +32,6 @@ stdenv.mkDerivation rec {
src = ./fix-paths.patch; src = ./fix-paths.patch;
tzdata = tzdata; tzdata = tzdata;
}) })
# Upstream code not respecting our localedir
# https://github.com/elementary/switchboard-plug-datetime/pull/100
(fetchpatch {
url = "https://github.com/elementary/switchboard-plug-datetime/commit/a90639ed4f185f50d4ae448cd9503203dc24b3f4.patch";
sha256 = "0dz0s02ccnds62dqil44k652pc5icka2rfhcx0a5bj1wi5sifnp7";
})
]; ];
nativeBuildInputs = [ nativeBuildInputs = [
@ -49,8 +43,9 @@ stdenv.mkDerivation rec {
]; ];
buildInputs = [ buildInputs = [
granite granite7
gtk3 gtk4
libadwaita
libgee libgee
switchboard switchboard
]; ];

View file

@ -6,22 +6,22 @@
, ninja , ninja
, pkg-config , pkg-config
, vala , vala
, libadwaita
, libgee , libgee
, libhandy , granite7
, granite , gtk4
, gtk3
, switchboard , switchboard
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "switchboard-plug-display"; pname = "switchboard-plug-display";
version = "7.0.0"; version = "8.0.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "elementary"; owner = "elementary";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "sha256-NgTpV/hbPttAsDY8Y9AsqdpjRlZqTy2rTu3v1jQZjBo="; sha256 = "sha256-XeBctwLCeDM4AoHbqk6olc6rosBQDQ4uFm1Vv0stFVA=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -32,10 +32,10 @@ stdenv.mkDerivation rec {
]; ];
buildInputs = [ buildInputs = [
granite granite7
gtk3 gtk4
libadwaita
libgee libgee
libhandy
switchboard switchboard
]; ];

View file

@ -7,12 +7,12 @@
, ninja , ninja
, pkg-config , pkg-config
, vala , vala
, libadwaita
, libgee , libgee
, gnome-settings-daemon , gnome-settings-daemon
, granite , granite7
, gsettings-desktop-schemas , gsettings-desktop-schemas
, gtk3 , gtk4
, libhandy
, libxml2 , libxml2
, libgnomekbd , libgnomekbd
, libxklavier , libxklavier
@ -23,13 +23,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "switchboard-plug-keyboard"; pname = "switchboard-plug-keyboard";
version = "3.2.1"; version = "8.0.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "elementary"; owner = "elementary";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "sha256-4LfS2F8pLbZw+HhnEVmZqbEaNCM96q+lqnf4sUBDVJI="; sha256 = "sha256-jOUrotgtSRmSVsxOXEbQfIi92BlpIPye7maCsa+ssT8=";
}; };
patches = [ patches = [
@ -39,7 +39,7 @@ stdenv.mkDerivation rec {
(substituteAll { (substituteAll {
src = ./fix-paths.patch; src = ./fix-paths.patch;
inherit ibus onboard libgnomekbd; inherit onboard libgnomekbd;
}) })
]; ];
@ -53,12 +53,12 @@ stdenv.mkDerivation rec {
buildInputs = [ buildInputs = [
gnome-settings-daemon # media-keys gnome-settings-daemon # media-keys
granite granite7
gsettings-desktop-schemas gsettings-desktop-schemas
gtk3 gtk4
ibus ibus
libadwaita
libgee libgee
libhandy
libxklavier libxklavier
switchboard switchboard
]; ];

View file

@ -1,21 +1,8 @@
diff --git a/src/Views/InputMethod.vala b/src/Views/InputMethod.vala diff --git a/src/Behavior/Behavior.vala b/src/Behavior/Behavior.vala
index ba12d6db..b9263c1d 100644 index bd461685..b6371096 100644
--- a/src/Views/InputMethod.vala --- a/src/Behavior/Behavior.vala
+++ b/src/Views/InputMethod.vala +++ b/src/Behavior/Behavior.vala
@@ -338,7 +338,7 @@ public class Keyboard.InputMethodPage.Page : Gtk.Grid { @@ -252,7 +252,7 @@ public class Keyboard.Behaviour.Page : Gtk.Box {
private void spawn_ibus_daemon () {
bool is_spawn_succeeded = false;
try {
- is_spawn_succeeded = Process.spawn_sync ("/", { "ibus-daemon", "-drx" }, Environ.get (), SpawnFlags.SEARCH_PATH, null);
+ is_spawn_succeeded = Process.spawn_sync ("/", { "@ibus@/bin/ibus-daemon", "-drx" }, Environ.get (), SpawnFlags.SEARCH_PATH, null);
} catch (GLib.SpawnError e) {
warning (e.message);
set_visible_view (e.message);
diff --git a/src/Views/Behavior.vala b/src/Views/Behavior.vala
index 8a89a0a4..a4f98668 100644
--- a/src/Views/Behavior.vala
+++ b/src/Views/Behavior.vala
@@ -270,7 +270,7 @@ public class Keyboard.Behaviour.Page : Gtk.Box {
onscreen_keyboard_settings.clicked.connect (() => { onscreen_keyboard_settings.clicked.connect (() => {
try { try {
@ -24,11 +11,11 @@ index 8a89a0a4..a4f98668 100644
appinfo.launch (null, null); appinfo.launch (null, null);
} catch (Error e) { } catch (Error e) {
critical ("Unable to launch onboard-settings: %s", e.message); critical ("Unable to launch onboard-settings: %s", e.message);
diff --git a/src/Dialogs/AddLayoutDialog.vala b/src/Dialogs/AddLayoutDialog.vala diff --git a/src/Layout/Widgets/AddLayoutDialog.vala b/src/Layout/Widgets/AddLayoutDialog.vala
index aa084295..a486b52a 100644 index 25cc0fe9..b3e350bb 100644
--- a/src/Dialogs/AddLayoutDialog.vala --- a/src/Layout/Widgets/AddLayoutDialog.vala
+++ b/src/Dialogs/AddLayoutDialog.vala +++ b/src/Layout/Widgets/AddLayoutDialog.vala
@@ -197,7 +197,7 @@ public class Keyboard.LayoutPage.AddLayoutDialog : Granite.Dialog { @@ -206,7 +206,7 @@ public class Keyboard.LayoutPage.AddLayoutDialog : Granite.Dialog {
}); });
keyboard_map_button.clicked.connect (() => { keyboard_map_button.clicked.connect (() => {

View file

@ -1,78 +1,13 @@
diff --git a/src/Widgets/InputMethod/AddEnginesPopover.vala b/src/Widgets/InputMethod/AddEnginesPopover.vala diff --git a/src/InputMethod/Widgets/AddEngineDialog.vala b/src/InputMethod/Widgets/AddEngineDialog.vala
index 478e6b02..5b25f2e9 100644 index 0a7f6013..a16904eb 100644
--- a/src/Widgets/InputMethod/AddEnginesPopover.vala --- a/src/InputMethod/Widgets/AddEngineDialog.vala
+++ b/src/Widgets/InputMethod/AddEnginesPopover.vala +++ b/src/InputMethod/Widgets/AddEngineDialog.vala
@@ -43,7 +43,6 @@ public class Keyboard.InputMethodPage.AddEnginesPopover : Gtk.Popover { @@ -70,8 +70,6 @@ public class Keyboard.InputMethodPage.AddEngineDialog : Granite.Dialog {
};
scrolled.add (listbox);
- var install_button = new Gtk.Button.with_label (_("Install Unlisted Engines…")); get_content_area ().append (frame);
var cancel_button = new Gtk.Button.with_label (_("Cancel")); - var install_button = add_button (_("Install Unlisted Engines…"), Gtk.ResponseType.OK);
@@ -55,10 +54,8 @@ public class Keyboard.InputMethodPage.AddEnginesPopover : Gtk.Popover {
margin = 12,
spacing = 6
};
- button_box.add (install_button);
button_box.add (cancel_button);
button_box.add (add_button);
- button_box.set_child_secondary (install_button, true);
var grid = new Gtk.Grid ();
grid.attach (search_entry, 0, 0);
@@ -88,30 +85,6 @@ public class Keyboard.InputMethodPage.AddEnginesPopover : Gtk.Popover {
listbox.invalidate_filter ();
});
- install_button.clicked.connect (() => {
- popdown ();
- -
- var installer = UbuntuInstaller.get_default (); var cancel_button = add_button (_("Cancel"), Gtk.ResponseType.CANCEL);
- var install_dialog = new InstallEngineDialog ((Gtk.Window) get_toplevel ());
- install_dialog.response.connect ((response_id) => {
- if (response_id == Gtk.ResponseType.OK) {
- string engine_to_install = install_dialog.get_selected_engine_name ();
- install_dialog.destroy ();
- installer.install (engine_to_install);
-
- var progress_dialog = new ProgressDialog () {
- transient_for = (Gtk.Window) get_toplevel ()
- };
- installer.progress_changed.connect ((p) => {
- progress_dialog.progress = p;
- });
- progress_dialog.run ();
- } else {
- install_dialog.destroy ();
- }
- });
- install_dialog.run ();
- });
cancel_button.clicked.connect (() => { var add_button = add_button (_("Add Engine"), Gtk.ResponseType.ACCEPT);
popdown ();
diff --git a/src/meson.build b/src/meson.build
index 83cde9f6..63d6a88a 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -19,7 +19,6 @@ plug_files = files(
'Widgets/Layout/Display.vala',
'Widgets/Layout/AdvancedSettingsPanel.vala',
'Widgets/Layout/AdvancedSettingsGrid.vala',
- 'Widgets/InputMethod/LanguagesRow.vala',
'Widgets/InputMethod/EnginesRow.vala',
'Widgets/InputMethod/AddEnginesPopover.vala',
'Views/Shortcuts.vala',
@@ -35,11 +34,6 @@ plug_files = files(
'InputSources/SourceSettings.vala',
'InputSources/InputSource.vala',
'InputMethod/AddEnginesList.vala',
- 'InputMethod/Installer/UbuntuInstaller.vala',
- 'InputMethod/Installer/InstallList.vala',
- 'InputMethod/Installer/aptd-client.vala',
- 'Dialogs/ProgressDialog.vala',
- 'Dialogs/InstallEngineDialog.vala',
'Dialogs/ConflictDialog.vala',
'Dialogs/AddLayoutDialog.vala'
)

View file

@ -9,8 +9,8 @@
, vala , vala
, libgee , libgee
, libxml2 , libxml2
, granite , granite7
, gtk3 , gtk4
, switchboard , switchboard
, gnome-settings-daemon , gnome-settings-daemon
, glib , glib
@ -20,13 +20,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "switchboard-plug-mouse-touchpad"; pname = "switchboard-plug-mouse-touchpad";
version = "7.0.0"; version = "8.0.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "elementary"; owner = "elementary";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "sha256-iXkNdUMHa0IF2FLn34/6G4w3m53GRZun8yzc8dxAg20="; sha256 = "sha256-OXaCftfPPAIxDGOBKM4S7Bv//j0sWy/CsbqvugxSZ70=";
}; };
patches = [ patches = [
@ -46,8 +46,8 @@ stdenv.mkDerivation rec {
buildInputs = [ buildInputs = [
gala gala
glib glib
granite granite7
gtk3 gtk4
libgee libgee
libxml2 libxml2
gnome-settings-daemon gnome-settings-daemon

View file

@ -7,24 +7,25 @@
, pkg-config , pkg-config
, substituteAll , substituteAll
, vala , vala
, libadwaita
, libgee , libgee
, granite , granite7
, gtk3 , gtk4
, networkmanager , networkmanager
, networkmanagerapplet , networkmanagerapplet
, libnma , libnma-gtk4
, switchboard , switchboard
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "switchboard-plug-network"; pname = "switchboard-plug-network";
version = "2.5.0"; version = "8.0.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "elementary"; owner = "elementary";
repo = pname; repo = pname;
rev = version; rev = version;
hash = "sha256-Dd7sZ66iyfuoHeQYrhlx9G9g4ylGq1IBlkTF5zFlVBQ="; hash = "sha256-N/S4oO7wwOMJZhQeqAeLBOMEsJtoKItxmGhsLHMuOoM=";
}; };
patches = [ patches = [
@ -42,11 +43,12 @@ stdenv.mkDerivation rec {
]; ];
buildInputs = [ buildInputs = [
granite granite7
gtk3 gtk4
libadwaita
libgee libgee
networkmanager networkmanager
libnma libnma-gtk4
switchboard switchboard
]; ];

View file

@ -1,8 +1,8 @@
diff --git a/src/Views/VPNPage.vala b/src/Views/VPNPage.vala diff --git a/src/Views/VPNPage.vala b/src/Views/VPNPage.vala
index ba9dc22..a12871a 100644 index 21488d1e..f9915e5d 100644
--- a/src/Views/VPNPage.vala --- a/src/Views/VPNPage.vala
+++ b/src/Views/VPNPage.vala +++ b/src/Views/VPNPage.vala
@@ -264,7 +264,7 @@ public class Network.VPNPage : Network.Widgets.Page { @@ -279,7 +279,7 @@ public class Network.VPNPage : Network.Widgets.Page {
private void try_connection_editor (string args) { private void try_connection_editor (string args) {
try { try {
var appinfo = AppInfo.create_from_commandline ( var appinfo = AppInfo.create_from_commandline (
@ -11,16 +11,38 @@ index ba9dc22..a12871a 100644
null, null,
GLib.AppInfoCreateFlags.NONE GLib.AppInfoCreateFlags.NONE
); );
diff --git a/src/Widgets/SettingsButton.vala b/src/Widgets/SettingsButton.vala diff --git a/src/Widgets/Page.vala b/src/Widgets/Page.vala
index 5849b69..7bbd172 100644 index cbcc8357..c6276d5a 100644
--- a/src/Widgets/SettingsButton.vala --- a/src/Widgets/Page.vala
+++ b/src/Widgets/SettingsButton.vala +++ b/src/Widgets/Page.vala
@@ -55,7 +55,7 @@ public class Network.Widgets.SettingsButton : Gtk.Button { @@ -189,7 +189,7 @@ namespace Network.Widgets {
clicked.connect (() => { protected void edit_connections () {
try { try {
var appinfo = AppInfo.create_from_commandline ( var appinfo = AppInfo.create_from_commandline (
- "nm-connection-editor %s".printf (args), null, AppInfoCreateFlags.NONE - "nm-connection-editor", null, AppInfoCreateFlags.NONE
+ "@networkmanagerapplet@/bin/nm-connection-editor %s".printf (args), null, AppInfoCreateFlags.NONE + "@networkmanagerapplet@/bin/nm-connection-editor", null, AppInfoCreateFlags.NONE
);
appinfo.launch (null, null);
} catch (Error e) {
@@ -200,7 +200,7 @@ namespace Network.Widgets {
protected void open_advanced_settings () {
try {
var appinfo = AppInfo.create_from_commandline (
- "nm-connection-editor --edit=%s".printf (uuid), null, AppInfoCreateFlags.NONE
+ "@networkmanagerapplet@/bin/nm-connection-editor --edit=%s".printf (uuid), null, AppInfoCreateFlags.NONE
); );
appinfo.launch (null, null); appinfo.launch (null, null);
diff --git a/src/Widgets/VPN/VPNInfoDialog.vala b/src/Widgets/VPN/VPNInfoDialog.vala
index e647c43b..44ce61c6 100644
--- a/src/Widgets/VPN/VPNInfoDialog.vala
+++ b/src/Widgets/VPN/VPNInfoDialog.vala
@@ -70,7 +70,7 @@ public class Network.Widgets.VPNInfoDialog : Granite.MessageDialog {
if (response == 1) {
try {
var appinfo = AppInfo.create_from_commandline (
- "nm-connection-editor --edit=%s".printf (connection.get_uuid ()),
+ "@networkmanagerapplet@/bin/nm-connection-editor --edit=%s".printf (connection.get_uuid ()),
null,
GLib.AppInfoCreateFlags.NONE
);

View file

@ -2,38 +2,29 @@
, stdenv , stdenv
, fetchFromGitHub , fetchFromGitHub
, nix-update-script , nix-update-script
, fetchpatch
, meson , meson
, ninja , ninja
, pkg-config , pkg-config
, vala , vala
, libadwaita
, libgee , libgee
, granite , granite7
, gtk3 , gtk4
, switchboard , switchboard
, elementary-notifications , elementary-notifications
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "switchboard-plug-notifications"; pname = "switchboard-plug-notifications";
version = "2.2.0"; version = "8.0.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "elementary"; owner = "elementary";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "0zzhgs8m1y7ab31hbn7v8g8k7rx51gqajl243zmysn86lfqk8iay"; sha256 = "sha256-53rpnp1RWdPofY00XWKiz8WDPC7RNMaGQFHBDzjsIt4=";
}; };
patches = [
# Upstream code not respecting our localedir
# https://github.com/elementary/switchboard-plug-notifications/pull/83
(fetchpatch {
url = "https://github.com/elementary/switchboard-plug-notifications/commit/2e0320aab62b6932e8ef5f941d02e244de381957.patch";
sha256 = "0rcamasq837grck0i2yx6psggzrhv7p7m3mra5l0k9zsjxgar92v";
})
];
nativeBuildInputs = [ nativeBuildInputs = [
meson meson
ninja ninja
@ -43,8 +34,9 @@ stdenv.mkDerivation rec {
buildInputs = [ buildInputs = [
elementary-notifications elementary-notifications
granite granite7
gtk3 gtk4
libadwaita
libgee libgee
switchboard switchboard
]; ];

View file

@ -6,23 +6,23 @@
, ninja , ninja
, pkg-config , pkg-config
, vala , vala
, evolution-data-server , evolution-data-server-gtk4
, glib , glib
, granite , granite7
, gtk3 , gtk4
, libhandy , libadwaita
, switchboard , switchboard
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "switchboard-plug-onlineaccounts"; pname = "switchboard-plug-onlineaccounts";
version = "6.5.3"; version = "8.0.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "elementary"; owner = "elementary";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "sha256-qERXF7aymI2xbyqrD6rwUBiFNRnIiVllavSPgW0F8yk="; sha256 = "sha256-OlivtKz3kE81CZ6KJgvVvqf0BSVJbh6C0F7O+/+4xZU=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -33,11 +33,11 @@ stdenv.mkDerivation rec {
]; ];
buildInputs = [ buildInputs = [
evolution-data-server evolution-data-server-gtk4
glib glib
granite granite7
gtk3 gtk4
libhandy libadwaita
switchboard switchboard
]; ];

View file

@ -7,31 +7,30 @@
, pkg-config , pkg-config
, vala , vala
, glib , glib
, libadwaita
, libgee , libgee
, libhandy , granite7
, granite
, gexiv2 , gexiv2
, gnome-settings-daemon , gnome-settings-daemon
, elementary-settings-daemon , elementary-settings-daemon
, gtk3 , gtk4
, gnome-desktop
, gala , gala
, wingpanel , wingpanel
, elementary-dock , wingpanel-indicator-keyboard
, wingpanel-quick-settings
, switchboard , switchboard
, gettext , gettext
, bamf
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "switchboard-plug-pantheon-shell"; pname = "switchboard-plug-pantheon-shell";
version = "6.5.0"; version = "8.0.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "elementary"; owner = "elementary";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "sha256-iq1QXC6eQ2w5j9RCxhTc0dApMfiDGcVuj8nocEFLFNk="; sha256 = "sha256-Cv1Ldvk0+VzNsKnDFwDtLZ5ixUOGV+PWYAqN9KV9g/s=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -43,22 +42,28 @@ stdenv.mkDerivation rec {
]; ];
buildInputs = [ buildInputs = [
bamf
elementary-dock
elementary-settings-daemon elementary-settings-daemon
gnome-settings-daemon gnome-settings-daemon
gala gala
gexiv2 gexiv2
glib glib
gnome-desktop granite7
granite gtk4
gtk3 libadwaita
libgee libgee
libhandy
switchboard switchboard
wingpanel wingpanel
wingpanel-indicator-keyboard # gsettings schemas
wingpanel-quick-settings # gsettings schemas
]; ];
postPatch = ''
# Hide these before we land the new dock
substituteInPlace src/Views/Dock.vala \
--replace-fail "box.append (icon_box);" "" \
--replace-fail "box.append (hide_box);" ""
'';
passthru = { passthru = {
updateScript = nix-update-script { }; updateScript = nix-update-script { };
}; };

View file

@ -6,10 +6,11 @@
, ninja , ninja
, pkg-config , pkg-config
, vala , vala
, libadwaita
, libgee , libgee
, gnome-settings-daemon , gnome-settings-daemon
, granite , granite7
, gtk3 , gtk4
, glib , glib
, dbus , dbus
, polkit , polkit
@ -19,13 +20,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "switchboard-plug-power"; pname = "switchboard-plug-power";
version = "2.7.0"; version = "8.0.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "elementary"; owner = "elementary";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "sha256-8Hu2RIgA0gSc+tLNjDqGS+b/HpbsOdR4otpY4UqNzKs="; sha256 = "sha256-TNwq3APXXnKlYuJ8K/5KRREbGWTC25r1i+vqPJzf0v8=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -39,8 +40,9 @@ stdenv.mkDerivation rec {
dbus dbus
gnome-settings-daemon gnome-settings-daemon
glib glib
granite granite7
gtk3 gtk4
libadwaita
libgee libgee
polkit polkit
switchboard switchboard

View file

@ -6,22 +6,23 @@
, ninja , ninja
, pkg-config , pkg-config
, vala , vala
, libadwaita
, libgee , libgee
, granite , granite7
, gtk3 , gtk4
, cups , cups
, switchboard , switchboard
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "switchboard-plug-printers"; pname = "switchboard-plug-printers";
version = "2.2.1"; version = "8.0.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "elementary"; owner = "elementary";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "sha256-RJYyCKTcTiHNhwZBrgyMacoKREg5+sfZ0oB4H+lL76Y="; sha256 = "sha256-cPoqpx9G/wwzr4LbCg7+Law4Z1od2+R+uyCT5Jsnqs4=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -33,8 +34,9 @@ stdenv.mkDerivation rec {
buildInputs = [ buildInputs = [
cups cups
granite granite7
gtk3 gtk4
libadwaita
libgee libgee
switchboard switchboard
]; ];

View file

@ -8,10 +8,10 @@
, vala , vala
, elementary-settings-daemon , elementary-settings-daemon
, libgee , libgee
, granite , granite7
, gsettings-desktop-schemas , gsettings-desktop-schemas
, gala , gala
, gtk3 , gtk4
, glib , glib
, polkit , polkit
, zeitgeist , zeitgeist
@ -20,13 +20,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "switchboard-plug-security-privacy"; pname = "switchboard-plug-security-privacy";
version = "7.1.0"; version = "8.0.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "elementary"; owner = "elementary";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "sha256-2eQ89FpEMF85UmqVu9FJUvSlaVGmsrRBnhAW7oUiUqg="; sha256 = "sha256-cL0kjG7IOlMOvqZj1Yx8E3xHWATnuDm08onpz091wmo=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -40,9 +40,9 @@ stdenv.mkDerivation rec {
elementary-settings-daemon # settings schema elementary-settings-daemon # settings schema
gala gala
glib glib
granite granite7
gsettings-desktop-schemas gsettings-desktop-schemas
gtk3 gtk4
libgee libgee
polkit polkit
switchboard switchboard

View file

@ -6,21 +6,22 @@
, ninja , ninja
, pkg-config , pkg-config
, vala , vala
, elementary-bluetooth-daemon
, libgee , libgee
, granite , granite7
, gtk3 , gtk4
, switchboard , switchboard
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "switchboard-plug-sharing"; pname = "switchboard-plug-sharing";
version = "2.1.6"; version = "8.0.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "elementary"; owner = "elementary";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "sha256-izo30JjPkZtR6A/bfvZNmIE4Hq5hofWmxdUwBJYoSm8="; sha256 = "sha256-0XfXxN1hI1Qak0J43lnNA/D0suqeKbYLjo+a+Peu6Us=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -31,8 +32,9 @@ stdenv.mkDerivation rec {
]; ];
buildInputs = [ buildInputs = [
granite elementary-bluetooth-daemon
gtk3 granite7
gtk4
libgee libgee
switchboard switchboard
]; ];

View file

@ -6,24 +6,24 @@
, ninja , ninja
, pkg-config , pkg-config
, vala , vala
, libadwaita
, libcanberra
, libgee , libgee
, libhandy , granite7
, granite , gtk4
, gtk3
, pulseaudio , pulseaudio
, libcanberra-gtk3
, switchboard , switchboard
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "switchboard-plug-sound"; pname = "switchboard-plug-sound";
version = "2.3.3"; version = "8.0.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "elementary"; owner = "elementary";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "sha256-JXt/S+vNzuRaRC0DMX13Lxv+OoAPRQmSLv9fsvnkWY4="; sha256 = "sha256-e7XjiqOxa0UtqUOfbsUiF497sOPgQd+lc93ARearXTw=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -34,11 +34,11 @@ stdenv.mkDerivation rec {
]; ];
buildInputs = [ buildInputs = [
granite granite7
gtk3 gtk4
libcanberra-gtk3 libadwaita
libcanberra
libgee libgee
libhandy
pulseaudio pulseaudio
switchboard switchboard
]; ];

View file

@ -7,8 +7,9 @@
, pkg-config , pkg-config
, vala , vala
, glib , glib
, granite , granite7
, gtk3 , gtk4
, libadwaita
, libgee , libgee
, libgudev , libgudev
, libwacom , libwacom
@ -18,13 +19,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "switchboard-plug-wacom"; pname = "switchboard-plug-wacom";
version = "1.0.1"; version = "8.0.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "elementary"; owner = "elementary";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "sha256-+E+MTIi2Dvv7TvzYEzudeIqlDcP8VP61eBh/PQz9SWI="; sha256 = "sha256-Ct+1n/GmrS9xi8QIJDWKfwNL1kvNz3o+0tsxLZtwjmI=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -36,8 +37,9 @@ stdenv.mkDerivation rec {
buildInputs = [ buildInputs = [
glib glib
granite granite7
gtk3 gtk4
libadwaita
libgee libgee
libgudev libgudev
libwacom libwacom

View file

@ -6,23 +6,25 @@
, meson , meson
, python3 , python3
, ninja , ninja
, sassc
, vala , vala
, gtk3 , glib
, gtk4
, libadwaita
, libgee , libgee
, libhandy , granite7
, granite , wrapGAppsHook4
, wrapGAppsHook3
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "switchboard"; pname = "switchboard";
version = "6.0.2"; version = "8.0.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "elementary"; owner = "elementary";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "sha256-2c+anQ17lrdFy+cbjoYY94EFxYUcS+4mZrwbrLohfUg="; sha256 = "sha256-qSqZQcE/g9oOHI8OAxMACSIFXrJMgSFLraAbTHjggLY=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -30,15 +32,18 @@ stdenv.mkDerivation rec {
ninja ninja
pkg-config pkg-config
python3 python3
sassc
vala vala
wrapGAppsHook3 wrapGAppsHook4
]; ];
buildInputs = [ propagatedBuildInputs = [
granite # Required by switchboard-3.pc.
gtk3 glib
granite7
gtk4
libadwaita
libgee libgee
libhandy
]; ];
patches = [ patches = [
@ -60,6 +65,6 @@ stdenv.mkDerivation rec {
license = licenses.lgpl21Plus; license = licenses.lgpl21Plus;
platforms = platforms.linux; platforms = platforms.linux;
maintainers = teams.pantheon.members; maintainers = teams.pantheon.members;
mainProgram = "io.elementary.switchboard"; mainProgram = "io.elementary.settings";
}; };
} }

View file

@ -1,4 +1,4 @@
{ wrapGAppsHook3 { wrapGAppsHook4
, glib , glib
, lib , lib
, stdenv , stdenv
@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ nativeBuildInputs = [
glib glib
wrapGAppsHook3 wrapGAppsHook4
]; ];
buildInputs = lib.forEach selectedPlugs (x: x.buildInputs) buildInputs = lib.forEach selectedPlugs (x: x.buildInputs)
@ -54,7 +54,7 @@ stdenv.mkDerivation rec {
preFixup = '' preFixup = ''
gappsWrapperArgs+=( gappsWrapperArgs+=(
--set SWITCHBOARD_PLUGS_PATH "$out/lib/switchboard" --set SWITCHBOARD_PLUGS_PATH "$out/lib/switchboard-3"
) )
''; '';

View file

@ -1,2 +1,2 @@
[PlankDockItemPreferences] [PlankDockItemPreferences]
Launcher=file:///run/current-system/sw/share/applications/io.elementary.switchboard.desktop Launcher=file:///run/current-system/sw/share/applications/io.elementary.settings.desktop

View file

@ -1,2 +1,2 @@
[net.launchpad.plank.dock.settings] [net.launchpad.plank.dock.settings]
dock-items=['gala-multitaskingview.dockitem','io.elementary.files.dockitem','org.gnome.Epiphany.dockitem','io.elementary.mail.dockitem','io.elementary.tasks.dockitem','io.elementary.calendar.dockitem','io.elementary.music.dockitem','io.elementary.videos.dockitem','io.elementary.photos.dockitem','io.elementary.switchboard.dockitem','io.elementary.appcenter.dockitem'] dock-items=['gala-multitaskingview.dockitem','io.elementary.files.dockitem','org.gnome.Epiphany.dockitem','io.elementary.mail.dockitem','io.elementary.tasks.dockitem','io.elementary.calendar.dockitem','io.elementary.music.dockitem','io.elementary.videos.dockitem','io.elementary.photos.dockitem','io.elementary.settings.dockitem','io.elementary.appcenter.dockitem']

View file

@ -1,6 +1,7 @@
{ lib { lib
, stdenv , stdenv
, fetchFromGitHub , fetchFromGitHub
, fetchpatch
, nix-update-script , nix-update-script
, substituteAll , substituteAll
, meson , meson
@ -40,6 +41,14 @@ stdenv.mkDerivation rec {
src = ./fix-paths.patch; src = ./fix-paths.patch;
bc = "${bc}/bin/bc"; bc = "${bc}/bin/bc";
}) })
# Build against switchboard-3
# https://github.com/elementary/applications-menu/pull/580
(fetchpatch {
url = "https://github.com/elementary/applications-menu/commit/9191ee5a2ee33477515d331b96945d51a13074a9.patch";
excludes = [ ".github/workflows/githubci.yml" ];
hash = "sha256-/LOIEOg9fVfKv/BWFsP1VyuUOIFYem9Gk+3e49M2b9E=";
})
]; ];
nativeBuildInputs = [ nativeBuildInputs = [

View file

@ -53,7 +53,7 @@ stdenv.mkDerivation rec {
preFixup = '' preFixup = ''
gappsWrapperArgs+=( gappsWrapperArgs+=(
--set WINGPANEL_INDICATORS_PATH "$out/lib/wingpanel" --set WINGPANEL_INDICATORS_PATH "$out/lib/wingpanel"
--set SWITCHBOARD_PLUGS_PATH "${switchboard-with-plugs}/lib/switchboard" --set SWITCHBOARD_PLUGS_PATH "${switchboard-with-plugs}/lib/switchboard-3"
) )
''; '';

View file

@ -260,6 +260,7 @@ let
"openmp/fix-find-tool.patch" = [ "openmp/fix-find-tool.patch" = [
{ {
after = "17"; after = "17";
before = "19";
path = ../17; path = ../17;
} }
]; ];
@ -1059,9 +1060,9 @@ let
openmp = callPackage ./openmp { openmp = callPackage ./openmp {
patches = patches =
lib.optional (lib.versionAtLeast metadata.release_version "15") ( lib.optional (
metadata.getVersionFile "openmp/fix-find-tool.patch" lib.versionAtLeast metadata.release_version "15" && lib.versionOlder metadata.release_version "19"
) ) (metadata.getVersionFile "openmp/fix-find-tool.patch")
++ lib.optional ( ++ lib.optional (
lib.versionAtLeast metadata.release_version "14" && lib.versionOlder metadata.release_version "18" lib.versionAtLeast metadata.release_version "14" && lib.versionOlder metadata.release_version "18"
) (metadata.getVersionFile "openmp/gnu-install-dirs.patch") ) (metadata.getVersionFile "openmp/gnu-install-dirs.patch")

View file

@ -30,11 +30,14 @@
let let
src' = src' =
if monorepoSrc != null then if monorepoSrc != null then
runCommand "lldb-src-${version}" { } '' runCommand "lldb-src-${version}" { } (''
mkdir -p "$out" mkdir -p "$out"
cp -r ${monorepoSrc}/cmake "$out" cp -r ${monorepoSrc}/cmake "$out"
cp -r ${monorepoSrc}/lldb "$out" cp -r ${monorepoSrc}/lldb "$out"
'' else src; '' + lib.optionalString (lib.versionAtLeast release_version "19" && enableManpages) ''
mkdir -p "$out/llvm"
cp -r ${monorepoSrc}/llvm/docs "$out/llvm/docs"
'') else src;
vscodeExt = { vscodeExt = {
name = if lib.versionAtLeast release_version "18" then "lldb-dap" else "lldb-vscode"; name = if lib.versionAtLeast release_version "18" then "lldb-dap" else "lldb-vscode";
version = if lib.versionAtLeast release_version "18" then "0.2.0" else "0.1.0"; version = if lib.versionAtLeast release_version "18" then "0.2.0" else "0.1.0";

View file

@ -23,7 +23,7 @@ let
"16.0.6".officialRelease.sha256 = "sha256-fspqSReX+VD+Nl/Cfq+tDcdPtnQPV1IRopNDfd5VtUs="; "16.0.6".officialRelease.sha256 = "sha256-fspqSReX+VD+Nl/Cfq+tDcdPtnQPV1IRopNDfd5VtUs=";
"17.0.6".officialRelease.sha256 = "sha256-8MEDLLhocshmxoEBRSKlJ/GzJ8nfuzQ8qn0X/vLA+ag="; "17.0.6".officialRelease.sha256 = "sha256-8MEDLLhocshmxoEBRSKlJ/GzJ8nfuzQ8qn0X/vLA+ag=";
"18.1.8".officialRelease.sha256 = "sha256-iiZKMRo/WxJaBXct9GdAcAT3cz9d9pnAcO1mmR6oPNE="; "18.1.8".officialRelease.sha256 = "sha256-iiZKMRo/WxJaBXct9GdAcAT3cz9d9pnAcO1mmR6oPNE=";
"19.1.0-rc2".officialRelease.sha256 = "sha256-/WiT3Tp5HsmfOgscvFF4NLHx4tqYroSUC335sm49vs8="; "19.1.0-rc3".officialRelease.sha256 = "sha256-SRonSpXt1pH6Xk+rQZk9mrfMdvYIvOImwUfMUu3sBgs=";
"20.0.0-git".gitRelease = { "20.0.0-git".gitRelease = {
rev = "4f5d866af7fed0de1671a68530d3023e9762b71e"; rev = "4f5d866af7fed0de1671a68530d3023e9762b71e";
rev-version = "20.0.0-unstable-2024-08-13"; rev-version = "20.0.0-unstable-2024-08-13";

View file

@ -14,7 +14,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "aioopenexchangerates"; pname = "aioopenexchangerates";
version = "0.6.1"; version = "0.6.2";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.11"; disabled = pythonOlder "3.11";
@ -23,7 +23,7 @@ buildPythonPackage rec {
owner = "MartinHjelmare"; owner = "MartinHjelmare";
repo = "aioopenexchangerates"; repo = "aioopenexchangerates";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-4MKx2wbveuT8YwQKo4HsFUaTpt2KInLtIvMWFxZCFmE="; hash = "sha256-XsNeIUgHFPatGAhxcwtfSXUi+0sCQf9E6GH5C8OrpJg=";
}; };
pythonRelaxDeps = [ "pydantic" ]; pythonRelaxDeps = [ "pydantic" ];

View file

@ -12,21 +12,21 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "scikit-hep-testdata"; pname = "scikit-hep-testdata";
version = "0.4.46"; version = "0.4.47";
format = "pyproject"; pyproject = true;
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.8";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "scikit-hep"; owner = "scikit-hep";
repo = pname; repo = "scikit-hep-testdata";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-lihStYseIthw74kMSDHYpYaLCJGIKlx4gb0VqQu8tc4="; hash = "sha256-YCzqAe+TVNbPrHPxD/OjxkjmYCb5pZO0+l68xUJp72w=";
}; };
nativeBuildInputs = [ setuptools-scm ]; build-system = [ setuptools-scm ];
propagatedBuildInputs = [ dependencies = [
pyyaml pyyaml
requests requests
] ++ lib.optionals (!pythonAtLeast "3.9") [ importlib-resources ]; ] ++ lib.optionals (!pythonAtLeast "3.9") [ importlib-resources ];

View file

@ -1,15 +1,21 @@
{ {
lib, lib,
buildPythonPackage, buildPythonPackage,
fetchFromGitHub,
pythonOlder, pythonOlder,
awkward, fetchFromGitHub,
cramjam,
# build-system
hatch-vcs, hatch-vcs,
hatchling, hatchling,
# dependencies
awkward,
cramjam,
numpy, numpy,
fsspec, fsspec,
packaging, packaging,
# checks
pandas, pandas,
pytestCheckHook, pytestCheckHook,
pytest-timeout, pytest-timeout,
@ -20,7 +26,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "uproot"; pname = "uproot";
version = "5.3.10"; version = "5.3.11";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
@ -29,7 +35,7 @@ buildPythonPackage rec {
owner = "scikit-hep"; owner = "scikit-hep";
repo = "uproot5"; repo = "uproot5";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-2cTa6AaN4BMJuzLhU9G4e0yl1kqyxblLWsSaIOHYS+o="; hash = "sha256-MQdSUB9m1BNg+/ybdNrho0V+LlNKavmFdBdBKLhHt2w=";
}; };
build-system = [ build-system = [
@ -87,6 +93,7 @@ buildPythonPackage rec {
# Cyclic dependency with dask-awkward # Cyclic dependency with dask-awkward
"test_dask_duplicated_keys" "test_dask_duplicated_keys"
"test_decompression_executor_for_dask" "test_decompression_executor_for_dask"
"test_decompression_threadpool_executor_for_dask"
]; ];
disabledTestPaths = [ disabledTestPaths = [

View file

@ -2,13 +2,13 @@
buildGoModule rec { buildGoModule rec {
pname = "go-mockery"; pname = "go-mockery";
version = "2.44.2"; version = "2.45.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "vektra"; owner = "vektra";
repo = "mockery"; repo = "mockery";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-zVzCAX52kzugj9LRqnrUZ881sE8EyhLM1QPnJK5O2ak="; sha256 = "sha256-k7mR5UJ9kk/jkjzqpS43/CrbNYPUCz4wJR2j/8HUd5c=";
}; };
preCheck = '' preCheck = ''

View file

@ -13,14 +13,14 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "rust-analyzer-unwrapped"; pname = "rust-analyzer-unwrapped";
version = "2024-08-12"; version = "2024-08-19";
cargoHash = "sha256-F1DuuBjHCPY3NIwnS1jFMTxcMnc1TGv2KaKttF6FIKs="; cargoHash = "sha256-+zwjyTzcfUu5V6+j9r+tu7pcf40OzQ4mlE8VlZielVI=";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "rust-lang"; owner = "rust-lang";
repo = "rust-analyzer"; repo = "rust-analyzer";
rev = version; rev = version;
sha256 = "sha256-xAxVDxuvCs8WWkrxVWjCiqxTkHhGj7sSppr1YMuEdT8="; hash = "sha256-x/RXN/ougJ1IEoBKrY0UijB530OfOfICK4KPa3Kj9Bk=";
}; };
cargoBuildFlags = [ "--bin" "rust-analyzer" "--bin" "rust-analyzer-proc-macro-srv" ]; cargoBuildFlags = [ "--bin" "rust-analyzer" "--bin" "rust-analyzer-proc-macro-srv" ];

View file

@ -1,11 +1,11 @@
{ fetchFromGitHub }: { fetchFromGitHub }:
rec { rec {
version = "4.1.12"; version = "4.1.13";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "NICMx"; owner = "NICMx";
repo = "Jool"; repo = "Jool";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-NJitXmWWEEglg4jag0mRZlmbf5+0sT08/pCssry5zD0="; hash = "sha256-Uls3S53jdoGyJ5xUEipQ0Ev5LAp5wzF2DsaLZCy+6Gc=";
}; };
} }

View file

@ -2,12 +2,12 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "grpc_cli"; pname = "grpc_cli";
version = "1.65.5"; version = "1.66.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "grpc"; owner = "grpc";
repo = "grpc"; repo = "grpc";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-3dMLv4qhZ+X+Now++G8mvp/WIgAIDnMwcZ6rXdVhBjE="; hash = "sha256-KQKAkjLib0HAJEti8wrDOwtTzFV5Tir72P5RxwTmhNI=";
fetchSubmodules = true; fetchSubmodules = true;
}; };
nativeBuildInputs = [ automake cmake autoconf ]; nativeBuildInputs = [ automake cmake autoconf ];

View file

@ -5,14 +5,14 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "pulldown-cmark"; pname = "pulldown-cmark";
version = "0.11.2"; version = "0.12.0";
src = fetchCrate { src = fetchCrate {
inherit pname version; inherit pname version;
hash = "sha256-Ox/5xp46/RjfJkn74dPcQQSBMa5Mtx98wbVSnpbViks="; hash = "sha256-LBaWfcTA5qxhrEUG0FeusGZBgvRjuQS0/1pqeKQQWbk=";
}; };
cargoHash = "sha256-+bbd/SjHM/hbxaOP2CbzZ7wI5ZzVTIHw9she8wm+M3w="; cargoHash = "sha256-UPv7F/itmISaUikR6jdAj3FvTF56VqwdMvD3L3WruA4=";
meta = { meta = {
description = "Pull parser for CommonMark written in Rust"; description = "Pull parser for CommonMark written in Rust";