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:
commit
eb403bf156
1
.github/workflows/check-nix-format.yml
vendored
1
.github/workflows/check-nix-format.yml
vendored
|
@ -85,5 +85,6 @@ jobs:
|
|||
echo "Some new/changed Nix files are not properly formatted"
|
||||
echo "Please go to the Nixpkgs root directory, run \`nix-shell\`, then:"
|
||||
echo "nixfmt ${unformattedFiles[*]@Q}"
|
||||
echo "If you're having trouble, please ping @NixOS/nix-formatting"
|
||||
exit 1
|
||||
fi
|
||||
|
|
|
@ -10,6 +10,9 @@ import ./make-test-python.nix ({ pkgs, lib, ...} :
|
|||
{
|
||||
imports = [ ./common/user-account.nix ];
|
||||
|
||||
# Workaround ".gala-wrapped invoked oom-killer"
|
||||
virtualisation.memorySize = 2047;
|
||||
|
||||
services.xserver.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")
|
||||
|
||||
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.
|
||||
machine.sleep(5)
|
||||
machine.wait_for_window("io.elementary.switchboard")
|
||||
machine.wait_for_window("io.elementary.settings")
|
||||
|
||||
with subtest("Open elementary terminal"):
|
||||
machine.execute("su - ${user.name} -c 'DISPLAY=:0 io.elementary.terminal >&2 &'")
|
||||
|
|
|
@ -29,13 +29,13 @@ let
|
|||
in
|
||||
melpaBuild {
|
||||
pname = "lsp-bridge";
|
||||
version = "0-unstable-2024-08-12";
|
||||
version = "0-unstable-2024-08-17";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "manateelazycat";
|
||||
repo = "lsp-bridge";
|
||||
rev = "658f08ee51c193f52a0e9723b190e5f6eef77ab7";
|
||||
hash = "sha256-ksKvekDKYdlJULRmALudfduYe1TkW3aG2uBeKdHOokQ=";
|
||||
rev = "fe7a0729f9f46a0713b7049d20b25bb78d93f68f";
|
||||
hash = "sha256-lbtg1n72xNePs1DNpjy6Hvg4OhACk9vSfVwFffkeb0I=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
|
|
@ -484,29 +484,12 @@ let
|
|||
|
||||
rime = super.rime.overrideAttrs (old: {
|
||||
buildInputs = (old.buildInputs or [ ]) ++ [ pkgs.librime ];
|
||||
preBuild = (old.preBuild or "") +
|
||||
(if pkgs.stdenv.isDarwin then
|
||||
''
|
||||
export MODULE_FILE_SUFFIX=".dylib"
|
||||
make lib
|
||||
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
|
||||
'');
|
||||
preBuild = (old.preBuild or "") + ''
|
||||
make lib CC=$CC MODULE_FILE_SUFFIX=${pkgs.stdenv.hostPlatform.extensions.sharedLibrary}
|
||||
'';
|
||||
postInstall = (old.postInstall or "") + ''
|
||||
install -m444 -t $out/share/emacs/site-lisp/elpa/rime-* librime-emacs.*
|
||||
'';
|
||||
});
|
||||
|
||||
shm = super.shm.overrideAttrs (attrs: {
|
||||
|
|
|
@ -3,13 +3,13 @@
|
|||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
|
||||
, autoreconfHook
|
||||
, meson
|
||||
, ninja
|
||||
, go-md2man
|
||||
, pkg-config
|
||||
, openssl
|
||||
, fuse3
|
||||
, libcap
|
||||
, libseccomp
|
||||
, python3
|
||||
, which
|
||||
, valgrind
|
||||
|
@ -25,43 +25,28 @@
|
|||
}:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "composefs";
|
||||
version = "1.0.4";
|
||||
version = "1.0.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "containers";
|
||||
repo = "composefs";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-ekUFLZGWTsiJZFv3nHoxuV057zoOtWBIkt+VdtzlaU4=";
|
||||
hash = "sha256-2h0wwtuhvFz5IExR/Fu0l+/nTAlDpMREVRjgrhbEghw=";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
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 ''
|
||||
sed -i "s/noinst_PROGRAMS +\?=/bin_PROGRAMS +=/g" tools/Makefile.am
|
||||
sed -i "s/install : false/install : true/g" tools/meson.build
|
||||
'';
|
||||
|
||||
configureFlags = [
|
||||
(lib.enableFeature true "man")
|
||||
(lib.enableFeature enableValgrindCheck "valgrind-test")
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook go-md2man pkg-config ];
|
||||
nativeBuildInputs = [ meson ninja go-md2man pkg-config ];
|
||||
buildInputs = [ openssl ]
|
||||
++ lib.optional fuseSupport fuse3
|
||||
++ lib.filter (lib.meta.availableOn stdenv.hostPlatform) (
|
||||
[
|
||||
libcap
|
||||
libseccomp
|
||||
]
|
||||
);
|
||||
|
||||
|
@ -71,11 +56,10 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
++ lib.optional fuseSupport fuse3
|
||||
++ lib.filter (lib.meta.availableOn stdenv.buildPlatform) [ erofs-utils fsverity-utils ];
|
||||
|
||||
mesonCheckFlags = lib.optionals enableValgrindCheck "--setup=valgrind";
|
||||
|
||||
preCheck = ''
|
||||
patchShebangs --build tests/*dir tests/*.sh
|
||||
substituteInPlace tests/*.sh \
|
||||
--replace-quiet " /tmp" " $TMPDIR" \
|
||||
--replace-quiet " /var/tmp" " $TMPDIR"
|
||||
patchShebangs --build ../tests/*dir ../tests/*.sh
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
|
|
|
@ -7,16 +7,16 @@
|
|||
|
||||
buildGoModule rec {
|
||||
pname = "files-cli";
|
||||
version = "2.13.107";
|
||||
version = "2.13.122";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
repo = "files-cli";
|
||||
owner = "files-com";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-fZp27mFnZi10kMHHNxvPL3E30jFCF6SOvuSo1whgmJ4=";
|
||||
hash = "sha256-5F1ETivnflf27nseSTQ4xv1LkJKKC3oa+Ao20jUW1BQ=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-Cz8QP95guBTOWr8Fr9fej/K3WiNCKx5BjPRuwiQWNzM=";
|
||||
vendorHash = "sha256-4uFUo47m1jdKIhPgDE5R4Hb+HQslsDu16QNb4IDTwMg=";
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
|
|
|
@ -9,13 +9,13 @@
|
|||
|
||||
buildGoModule rec {
|
||||
pname = "grype";
|
||||
version = "0.79.6";
|
||||
version = "0.80.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "anchore";
|
||||
repo = "grype";
|
||||
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
|
||||
# can delete .git afterwards and maintain better reproducibility of the src.
|
||||
leaveDotGit = true;
|
||||
|
@ -30,7 +30,7 @@ buildGoModule rec {
|
|||
|
||||
proxyVendor = true;
|
||||
|
||||
vendorHash = "sha256-mMZUE82NjZyy6haY9nkY1KCwrpqt81F+o7wdpaq5dxQ=";
|
||||
vendorHash = "sha256-F8r332smhjVRxAQ42CvJDmBl2rjxgwUZpoMDhFsBYSA=";
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
|
|
|
@ -6,14 +6,14 @@
|
|||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "neural-amp-modeler-lv2";
|
||||
version = "0.1.3";
|
||||
version = "0.1.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mikeoliphant";
|
||||
repo = "neural-amp-modeler-lv2";
|
||||
rev = finalAttrs.version;
|
||||
fetchSubmodules = true;
|
||||
hash = "sha256-sRZngmivNvSWcjkIqcqjjaIgXFH8aMq+/caNroXmzIk=";
|
||||
hash = "sha256-5BOZOocZWWSWawXJFMAgM0NR0s0CbkzDVr6fnvZMvd0=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
|
|
@ -1,44 +1,37 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, nix-update-script
|
||||
, meson
|
||||
, ninja
|
||||
, pkg-config
|
||||
, vala
|
||||
, libadwaita
|
||||
, libgee
|
||||
, libgtop
|
||||
, libgudev
|
||||
, libhandy
|
||||
, granite
|
||||
, gtk3
|
||||
, granite7
|
||||
, gtk4
|
||||
, packagekit
|
||||
, polkit
|
||||
, switchboard
|
||||
, udisks2
|
||||
, fwupd
|
||||
, appstream
|
||||
, elementary-settings-daemon
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "switchboard-plug-about";
|
||||
version = "6.2.0";
|
||||
version = "8.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "elementary";
|
||||
repo = pname;
|
||||
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 = [
|
||||
meson
|
||||
ninja
|
||||
|
@ -48,22 +41,20 @@ stdenv.mkDerivation rec {
|
|||
|
||||
buildInputs = [
|
||||
appstream
|
||||
elementary-settings-daemon # for gsettings schemas
|
||||
fwupd
|
||||
granite
|
||||
gtk3
|
||||
granite7
|
||||
gtk4
|
||||
libadwaita
|
||||
libgee
|
||||
libgtop
|
||||
libgudev
|
||||
libhandy
|
||||
packagekit
|
||||
polkit
|
||||
switchboard
|
||||
udisks2
|
||||
];
|
||||
|
||||
mesonFlags = [
|
||||
# Does not play nice with the nix-snowflake logo
|
||||
"-Dwallpaper=false"
|
||||
];
|
||||
|
||||
passthru = {
|
||||
updateScript = nix-update-script { };
|
||||
};
|
||||
|
|
|
@ -6,23 +6,23 @@
|
|||
, ninja
|
||||
, pkg-config
|
||||
, vala
|
||||
, libadwaita
|
||||
, libgee
|
||||
, libhandy
|
||||
, granite
|
||||
, gtk3
|
||||
, granite7
|
||||
, gtk4
|
||||
, switchboard
|
||||
, flatpak
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "switchboard-plug-applications";
|
||||
version = "7.0.1";
|
||||
version = "8.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "elementary";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-r2JKiTewsLQSZPriC0w72CFevRQXytrFcO2VfA9BKHA=";
|
||||
sha256 = "sha256-dExMuPZJl/l7lRIY8kkmuRcQaPS39VBfE0dRrINLWx8=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -34,10 +34,10 @@ stdenv.mkDerivation rec {
|
|||
|
||||
buildInputs = [
|
||||
flatpak
|
||||
granite
|
||||
gtk3
|
||||
granite7
|
||||
gtk4
|
||||
libadwaita
|
||||
libgee
|
||||
libhandy
|
||||
switchboard
|
||||
];
|
||||
|
||||
|
|
|
@ -1,15 +1,15 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, nix-update-script
|
||||
, meson
|
||||
, ninja
|
||||
, pkg-config
|
||||
, vala
|
||||
, libadwaita
|
||||
, libgee
|
||||
, granite
|
||||
, gtk3
|
||||
, granite7
|
||||
, gtk4
|
||||
, bluez
|
||||
, switchboard
|
||||
, wingpanel-indicator-bluetooth
|
||||
|
@ -17,24 +17,15 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "switchboard-plug-bluetooth";
|
||||
version = "2.3.6";
|
||||
version = "8.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "elementary";
|
||||
repo = pname;
|
||||
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 = [
|
||||
meson
|
||||
ninja
|
||||
|
@ -44,8 +35,9 @@ stdenv.mkDerivation rec {
|
|||
|
||||
buildInputs = [
|
||||
bluez
|
||||
granite
|
||||
gtk3
|
||||
granite7
|
||||
gtk4
|
||||
libadwaita
|
||||
libgee
|
||||
switchboard
|
||||
wingpanel-indicator-bluetooth # settings schema
|
||||
|
|
|
@ -1,16 +1,16 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, nix-update-script
|
||||
, meson
|
||||
, ninja
|
||||
, substituteAll
|
||||
, pkg-config
|
||||
, vala
|
||||
, libadwaita
|
||||
, libgee
|
||||
, granite
|
||||
, gtk3
|
||||
, granite7
|
||||
, gtk4
|
||||
, libxml2
|
||||
, switchboard
|
||||
, tzdata
|
||||
|
@ -18,13 +18,13 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "switchboard-plug-datetime";
|
||||
version = "2.2.0";
|
||||
version = "8.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "elementary";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "10rqhxsqbl1xnz5n84d7m39c3vb71k153989xvyc55djia1wjx96";
|
||||
sha256 = "sha256-PE1ig8p9H4MfipIpN3ubXAJNzLwGVW89adn+SF3rEuQ=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
@ -32,12 +32,6 @@ stdenv.mkDerivation rec {
|
|||
src = ./fix-paths.patch;
|
||||
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 = [
|
||||
|
@ -49,8 +43,9 @@ stdenv.mkDerivation rec {
|
|||
];
|
||||
|
||||
buildInputs = [
|
||||
granite
|
||||
gtk3
|
||||
granite7
|
||||
gtk4
|
||||
libadwaita
|
||||
libgee
|
||||
switchboard
|
||||
];
|
||||
|
|
|
@ -6,22 +6,22 @@
|
|||
, ninja
|
||||
, pkg-config
|
||||
, vala
|
||||
, libadwaita
|
||||
, libgee
|
||||
, libhandy
|
||||
, granite
|
||||
, gtk3
|
||||
, granite7
|
||||
, gtk4
|
||||
, switchboard
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "switchboard-plug-display";
|
||||
version = "7.0.0";
|
||||
version = "8.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "elementary";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-NgTpV/hbPttAsDY8Y9AsqdpjRlZqTy2rTu3v1jQZjBo=";
|
||||
sha256 = "sha256-XeBctwLCeDM4AoHbqk6olc6rosBQDQ4uFm1Vv0stFVA=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -32,10 +32,10 @@ stdenv.mkDerivation rec {
|
|||
];
|
||||
|
||||
buildInputs = [
|
||||
granite
|
||||
gtk3
|
||||
granite7
|
||||
gtk4
|
||||
libadwaita
|
||||
libgee
|
||||
libhandy
|
||||
switchboard
|
||||
];
|
||||
|
||||
|
|
|
@ -7,12 +7,12 @@
|
|||
, ninja
|
||||
, pkg-config
|
||||
, vala
|
||||
, libadwaita
|
||||
, libgee
|
||||
, gnome-settings-daemon
|
||||
, granite
|
||||
, granite7
|
||||
, gsettings-desktop-schemas
|
||||
, gtk3
|
||||
, libhandy
|
||||
, gtk4
|
||||
, libxml2
|
||||
, libgnomekbd
|
||||
, libxklavier
|
||||
|
@ -23,13 +23,13 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "switchboard-plug-keyboard";
|
||||
version = "3.2.1";
|
||||
version = "8.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "elementary";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-4LfS2F8pLbZw+HhnEVmZqbEaNCM96q+lqnf4sUBDVJI=";
|
||||
sha256 = "sha256-jOUrotgtSRmSVsxOXEbQfIi92BlpIPye7maCsa+ssT8=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
@ -39,7 +39,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
(substituteAll {
|
||||
src = ./fix-paths.patch;
|
||||
inherit ibus onboard libgnomekbd;
|
||||
inherit onboard libgnomekbd;
|
||||
})
|
||||
];
|
||||
|
||||
|
@ -53,12 +53,12 @@ stdenv.mkDerivation rec {
|
|||
|
||||
buildInputs = [
|
||||
gnome-settings-daemon # media-keys
|
||||
granite
|
||||
granite7
|
||||
gsettings-desktop-schemas
|
||||
gtk3
|
||||
gtk4
|
||||
ibus
|
||||
libadwaita
|
||||
libgee
|
||||
libhandy
|
||||
libxklavier
|
||||
switchboard
|
||||
];
|
||||
|
|
|
@ -1,21 +1,8 @@
|
|||
diff --git a/src/Views/InputMethod.vala b/src/Views/InputMethod.vala
|
||||
index ba12d6db..b9263c1d 100644
|
||||
--- a/src/Views/InputMethod.vala
|
||||
+++ b/src/Views/InputMethod.vala
|
||||
@@ -338,7 +338,7 @@ public class Keyboard.InputMethodPage.Page : Gtk.Grid {
|
||||
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 {
|
||||
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 {
|
||||
|
@ -24,11 +11,11 @@ index 8a89a0a4..a4f98668 100644
|
|||
appinfo.launch (null, null);
|
||||
} catch (Error e) {
|
||||
critical ("Unable to launch onboard-settings: %s", e.message);
|
||||
diff --git a/src/Dialogs/AddLayoutDialog.vala b/src/Dialogs/AddLayoutDialog.vala
|
||||
index aa084295..a486b52a 100644
|
||||
--- a/src/Dialogs/AddLayoutDialog.vala
|
||||
+++ b/src/Dialogs/AddLayoutDialog.vala
|
||||
@@ -197,7 +197,7 @@ public class Keyboard.LayoutPage.AddLayoutDialog : Granite.Dialog {
|
||||
diff --git a/src/Layout/Widgets/AddLayoutDialog.vala b/src/Layout/Widgets/AddLayoutDialog.vala
|
||||
index 25cc0fe9..b3e350bb 100644
|
||||
--- a/src/Layout/Widgets/AddLayoutDialog.vala
|
||||
+++ b/src/Layout/Widgets/AddLayoutDialog.vala
|
||||
@@ -206,7 +206,7 @@ public class Keyboard.LayoutPage.AddLayoutDialog : Granite.Dialog {
|
||||
});
|
||||
|
||||
keyboard_map_button.clicked.connect (() => {
|
||||
|
|
|
@ -1,78 +1,13 @@
|
|||
diff --git a/src/Widgets/InputMethod/AddEnginesPopover.vala b/src/Widgets/InputMethod/AddEnginesPopover.vala
|
||||
index 478e6b02..5b25f2e9 100644
|
||||
--- a/src/Widgets/InputMethod/AddEnginesPopover.vala
|
||||
+++ b/src/Widgets/InputMethod/AddEnginesPopover.vala
|
||||
@@ -43,7 +43,6 @@ public class Keyboard.InputMethodPage.AddEnginesPopover : Gtk.Popover {
|
||||
};
|
||||
scrolled.add (listbox);
|
||||
diff --git a/src/InputMethod/Widgets/AddEngineDialog.vala b/src/InputMethod/Widgets/AddEngineDialog.vala
|
||||
index 0a7f6013..a16904eb 100644
|
||||
--- a/src/InputMethod/Widgets/AddEngineDialog.vala
|
||||
+++ b/src/InputMethod/Widgets/AddEngineDialog.vala
|
||||
@@ -70,8 +70,6 @@ public class Keyboard.InputMethodPage.AddEngineDialog : Granite.Dialog {
|
||||
|
||||
- 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"));
|
||||
|
||||
@@ -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 install_button = add_button (_("Install Unlisted Engines…"), Gtk.ResponseType.OK);
|
||||
-
|
||||
- var installer = UbuntuInstaller.get_default ();
|
||||
- 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 ();
|
||||
- });
|
||||
var cancel_button = add_button (_("Cancel"), Gtk.ResponseType.CANCEL);
|
||||
|
||||
cancel_button.clicked.connect (() => {
|
||||
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'
|
||||
)
|
||||
var add_button = add_button (_("Add Engine"), Gtk.ResponseType.ACCEPT);
|
||||
|
|
|
@ -9,8 +9,8 @@
|
|||
, vala
|
||||
, libgee
|
||||
, libxml2
|
||||
, granite
|
||||
, gtk3
|
||||
, granite7
|
||||
, gtk4
|
||||
, switchboard
|
||||
, gnome-settings-daemon
|
||||
, glib
|
||||
|
@ -20,13 +20,13 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "switchboard-plug-mouse-touchpad";
|
||||
version = "7.0.0";
|
||||
version = "8.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "elementary";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-iXkNdUMHa0IF2FLn34/6G4w3m53GRZun8yzc8dxAg20=";
|
||||
sha256 = "sha256-OXaCftfPPAIxDGOBKM4S7Bv//j0sWy/CsbqvugxSZ70=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
@ -46,8 +46,8 @@ stdenv.mkDerivation rec {
|
|||
buildInputs = [
|
||||
gala
|
||||
glib
|
||||
granite
|
||||
gtk3
|
||||
granite7
|
||||
gtk4
|
||||
libgee
|
||||
libxml2
|
||||
gnome-settings-daemon
|
||||
|
|
|
@ -7,24 +7,25 @@
|
|||
, pkg-config
|
||||
, substituteAll
|
||||
, vala
|
||||
, libadwaita
|
||||
, libgee
|
||||
, granite
|
||||
, gtk3
|
||||
, granite7
|
||||
, gtk4
|
||||
, networkmanager
|
||||
, networkmanagerapplet
|
||||
, libnma
|
||||
, libnma-gtk4
|
||||
, switchboard
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "switchboard-plug-network";
|
||||
version = "2.5.0";
|
||||
version = "8.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "elementary";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-Dd7sZ66iyfuoHeQYrhlx9G9g4ylGq1IBlkTF5zFlVBQ=";
|
||||
hash = "sha256-N/S4oO7wwOMJZhQeqAeLBOMEsJtoKItxmGhsLHMuOoM=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
@ -42,11 +43,12 @@ stdenv.mkDerivation rec {
|
|||
];
|
||||
|
||||
buildInputs = [
|
||||
granite
|
||||
gtk3
|
||||
granite7
|
||||
gtk4
|
||||
libadwaita
|
||||
libgee
|
||||
networkmanager
|
||||
libnma
|
||||
libnma-gtk4
|
||||
switchboard
|
||||
];
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
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
|
||||
+++ 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) {
|
||||
try {
|
||||
var appinfo = AppInfo.create_from_commandline (
|
||||
|
@ -11,16 +11,38 @@ index ba9dc22..a12871a 100644
|
|||
null,
|
||||
GLib.AppInfoCreateFlags.NONE
|
||||
);
|
||||
diff --git a/src/Widgets/SettingsButton.vala b/src/Widgets/SettingsButton.vala
|
||||
index 5849b69..7bbd172 100644
|
||||
--- a/src/Widgets/SettingsButton.vala
|
||||
+++ b/src/Widgets/SettingsButton.vala
|
||||
@@ -55,7 +55,7 @@ public class Network.Widgets.SettingsButton : Gtk.Button {
|
||||
clicked.connect (() => {
|
||||
diff --git a/src/Widgets/Page.vala b/src/Widgets/Page.vala
|
||||
index cbcc8357..c6276d5a 100644
|
||||
--- a/src/Widgets/Page.vala
|
||||
+++ b/src/Widgets/Page.vala
|
||||
@@ -189,7 +189,7 @@ namespace Network.Widgets {
|
||||
protected void edit_connections () {
|
||||
try {
|
||||
var appinfo = AppInfo.create_from_commandline (
|
||||
- "nm-connection-editor %s".printf (args), null, AppInfoCreateFlags.NONE
|
||||
+ "@networkmanagerapplet@/bin/nm-connection-editor %s".printf (args), null, AppInfoCreateFlags.NONE
|
||||
- "nm-connection-editor", 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);
|
||||
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
|
||||
);
|
||||
|
|
|
@ -2,38 +2,29 @@
|
|||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, nix-update-script
|
||||
, fetchpatch
|
||||
, meson
|
||||
, ninja
|
||||
, pkg-config
|
||||
, vala
|
||||
, libadwaita
|
||||
, libgee
|
||||
, granite
|
||||
, gtk3
|
||||
, granite7
|
||||
, gtk4
|
||||
, switchboard
|
||||
, elementary-notifications
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "switchboard-plug-notifications";
|
||||
version = "2.2.0";
|
||||
version = "8.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "elementary";
|
||||
repo = pname;
|
||||
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 = [
|
||||
meson
|
||||
ninja
|
||||
|
@ -43,8 +34,9 @@ stdenv.mkDerivation rec {
|
|||
|
||||
buildInputs = [
|
||||
elementary-notifications
|
||||
granite
|
||||
gtk3
|
||||
granite7
|
||||
gtk4
|
||||
libadwaita
|
||||
libgee
|
||||
switchboard
|
||||
];
|
||||
|
|
|
@ -6,23 +6,23 @@
|
|||
, ninja
|
||||
, pkg-config
|
||||
, vala
|
||||
, evolution-data-server
|
||||
, evolution-data-server-gtk4
|
||||
, glib
|
||||
, granite
|
||||
, gtk3
|
||||
, libhandy
|
||||
, granite7
|
||||
, gtk4
|
||||
, libadwaita
|
||||
, switchboard
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "switchboard-plug-onlineaccounts";
|
||||
version = "6.5.3";
|
||||
version = "8.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "elementary";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-qERXF7aymI2xbyqrD6rwUBiFNRnIiVllavSPgW0F8yk=";
|
||||
sha256 = "sha256-OlivtKz3kE81CZ6KJgvVvqf0BSVJbh6C0F7O+/+4xZU=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -33,11 +33,11 @@ stdenv.mkDerivation rec {
|
|||
];
|
||||
|
||||
buildInputs = [
|
||||
evolution-data-server
|
||||
evolution-data-server-gtk4
|
||||
glib
|
||||
granite
|
||||
gtk3
|
||||
libhandy
|
||||
granite7
|
||||
gtk4
|
||||
libadwaita
|
||||
switchboard
|
||||
];
|
||||
|
||||
|
|
|
@ -7,31 +7,30 @@
|
|||
, pkg-config
|
||||
, vala
|
||||
, glib
|
||||
, libadwaita
|
||||
, libgee
|
||||
, libhandy
|
||||
, granite
|
||||
, granite7
|
||||
, gexiv2
|
||||
, gnome-settings-daemon
|
||||
, elementary-settings-daemon
|
||||
, gtk3
|
||||
, gnome-desktop
|
||||
, gtk4
|
||||
, gala
|
||||
, wingpanel
|
||||
, elementary-dock
|
||||
, wingpanel-indicator-keyboard
|
||||
, wingpanel-quick-settings
|
||||
, switchboard
|
||||
, gettext
|
||||
, bamf
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "switchboard-plug-pantheon-shell";
|
||||
version = "6.5.0";
|
||||
version = "8.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "elementary";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-iq1QXC6eQ2w5j9RCxhTc0dApMfiDGcVuj8nocEFLFNk=";
|
||||
sha256 = "sha256-Cv1Ldvk0+VzNsKnDFwDtLZ5ixUOGV+PWYAqN9KV9g/s=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -43,22 +42,28 @@ stdenv.mkDerivation rec {
|
|||
];
|
||||
|
||||
buildInputs = [
|
||||
bamf
|
||||
elementary-dock
|
||||
elementary-settings-daemon
|
||||
gnome-settings-daemon
|
||||
gala
|
||||
gexiv2
|
||||
glib
|
||||
gnome-desktop
|
||||
granite
|
||||
gtk3
|
||||
granite7
|
||||
gtk4
|
||||
libadwaita
|
||||
libgee
|
||||
libhandy
|
||||
switchboard
|
||||
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 = {
|
||||
updateScript = nix-update-script { };
|
||||
};
|
||||
|
|
|
@ -6,10 +6,11 @@
|
|||
, ninja
|
||||
, pkg-config
|
||||
, vala
|
||||
, libadwaita
|
||||
, libgee
|
||||
, gnome-settings-daemon
|
||||
, granite
|
||||
, gtk3
|
||||
, granite7
|
||||
, gtk4
|
||||
, glib
|
||||
, dbus
|
||||
, polkit
|
||||
|
@ -19,13 +20,13 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "switchboard-plug-power";
|
||||
version = "2.7.0";
|
||||
version = "8.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "elementary";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-8Hu2RIgA0gSc+tLNjDqGS+b/HpbsOdR4otpY4UqNzKs=";
|
||||
sha256 = "sha256-TNwq3APXXnKlYuJ8K/5KRREbGWTC25r1i+vqPJzf0v8=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -39,8 +40,9 @@ stdenv.mkDerivation rec {
|
|||
dbus
|
||||
gnome-settings-daemon
|
||||
glib
|
||||
granite
|
||||
gtk3
|
||||
granite7
|
||||
gtk4
|
||||
libadwaita
|
||||
libgee
|
||||
polkit
|
||||
switchboard
|
||||
|
|
|
@ -6,22 +6,23 @@
|
|||
, ninja
|
||||
, pkg-config
|
||||
, vala
|
||||
, libadwaita
|
||||
, libgee
|
||||
, granite
|
||||
, gtk3
|
||||
, granite7
|
||||
, gtk4
|
||||
, cups
|
||||
, switchboard
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "switchboard-plug-printers";
|
||||
version = "2.2.1";
|
||||
version = "8.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "elementary";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-RJYyCKTcTiHNhwZBrgyMacoKREg5+sfZ0oB4H+lL76Y=";
|
||||
sha256 = "sha256-cPoqpx9G/wwzr4LbCg7+Law4Z1od2+R+uyCT5Jsnqs4=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -33,8 +34,9 @@ stdenv.mkDerivation rec {
|
|||
|
||||
buildInputs = [
|
||||
cups
|
||||
granite
|
||||
gtk3
|
||||
granite7
|
||||
gtk4
|
||||
libadwaita
|
||||
libgee
|
||||
switchboard
|
||||
];
|
||||
|
|
|
@ -8,10 +8,10 @@
|
|||
, vala
|
||||
, elementary-settings-daemon
|
||||
, libgee
|
||||
, granite
|
||||
, granite7
|
||||
, gsettings-desktop-schemas
|
||||
, gala
|
||||
, gtk3
|
||||
, gtk4
|
||||
, glib
|
||||
, polkit
|
||||
, zeitgeist
|
||||
|
@ -20,13 +20,13 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "switchboard-plug-security-privacy";
|
||||
version = "7.1.0";
|
||||
version = "8.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "elementary";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-2eQ89FpEMF85UmqVu9FJUvSlaVGmsrRBnhAW7oUiUqg=";
|
||||
sha256 = "sha256-cL0kjG7IOlMOvqZj1Yx8E3xHWATnuDm08onpz091wmo=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -40,9 +40,9 @@ stdenv.mkDerivation rec {
|
|||
elementary-settings-daemon # settings schema
|
||||
gala
|
||||
glib
|
||||
granite
|
||||
granite7
|
||||
gsettings-desktop-schemas
|
||||
gtk3
|
||||
gtk4
|
||||
libgee
|
||||
polkit
|
||||
switchboard
|
||||
|
|
|
@ -6,21 +6,22 @@
|
|||
, ninja
|
||||
, pkg-config
|
||||
, vala
|
||||
, elementary-bluetooth-daemon
|
||||
, libgee
|
||||
, granite
|
||||
, gtk3
|
||||
, granite7
|
||||
, gtk4
|
||||
, switchboard
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "switchboard-plug-sharing";
|
||||
version = "2.1.6";
|
||||
version = "8.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "elementary";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-izo30JjPkZtR6A/bfvZNmIE4Hq5hofWmxdUwBJYoSm8=";
|
||||
sha256 = "sha256-0XfXxN1hI1Qak0J43lnNA/D0suqeKbYLjo+a+Peu6Us=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -31,8 +32,9 @@ stdenv.mkDerivation rec {
|
|||
];
|
||||
|
||||
buildInputs = [
|
||||
granite
|
||||
gtk3
|
||||
elementary-bluetooth-daemon
|
||||
granite7
|
||||
gtk4
|
||||
libgee
|
||||
switchboard
|
||||
];
|
||||
|
|
|
@ -6,24 +6,24 @@
|
|||
, ninja
|
||||
, pkg-config
|
||||
, vala
|
||||
, libadwaita
|
||||
, libcanberra
|
||||
, libgee
|
||||
, libhandy
|
||||
, granite
|
||||
, gtk3
|
||||
, granite7
|
||||
, gtk4
|
||||
, pulseaudio
|
||||
, libcanberra-gtk3
|
||||
, switchboard
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "switchboard-plug-sound";
|
||||
version = "2.3.3";
|
||||
version = "8.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "elementary";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-JXt/S+vNzuRaRC0DMX13Lxv+OoAPRQmSLv9fsvnkWY4=";
|
||||
sha256 = "sha256-e7XjiqOxa0UtqUOfbsUiF497sOPgQd+lc93ARearXTw=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -34,11 +34,11 @@ stdenv.mkDerivation rec {
|
|||
];
|
||||
|
||||
buildInputs = [
|
||||
granite
|
||||
gtk3
|
||||
libcanberra-gtk3
|
||||
granite7
|
||||
gtk4
|
||||
libadwaita
|
||||
libcanberra
|
||||
libgee
|
||||
libhandy
|
||||
pulseaudio
|
||||
switchboard
|
||||
];
|
||||
|
|
|
@ -7,8 +7,9 @@
|
|||
, pkg-config
|
||||
, vala
|
||||
, glib
|
||||
, granite
|
||||
, gtk3
|
||||
, granite7
|
||||
, gtk4
|
||||
, libadwaita
|
||||
, libgee
|
||||
, libgudev
|
||||
, libwacom
|
||||
|
@ -18,13 +19,13 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "switchboard-plug-wacom";
|
||||
version = "1.0.1";
|
||||
version = "8.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "elementary";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-+E+MTIi2Dvv7TvzYEzudeIqlDcP8VP61eBh/PQz9SWI=";
|
||||
sha256 = "sha256-Ct+1n/GmrS9xi8QIJDWKfwNL1kvNz3o+0tsxLZtwjmI=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -36,8 +37,9 @@ stdenv.mkDerivation rec {
|
|||
|
||||
buildInputs = [
|
||||
glib
|
||||
granite
|
||||
gtk3
|
||||
granite7
|
||||
gtk4
|
||||
libadwaita
|
||||
libgee
|
||||
libgudev
|
||||
libwacom
|
||||
|
|
|
@ -6,23 +6,25 @@
|
|||
, meson
|
||||
, python3
|
||||
, ninja
|
||||
, sassc
|
||||
, vala
|
||||
, gtk3
|
||||
, glib
|
||||
, gtk4
|
||||
, libadwaita
|
||||
, libgee
|
||||
, libhandy
|
||||
, granite
|
||||
, wrapGAppsHook3
|
||||
, granite7
|
||||
, wrapGAppsHook4
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "switchboard";
|
||||
version = "6.0.2";
|
||||
version = "8.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "elementary";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-2c+anQ17lrdFy+cbjoYY94EFxYUcS+4mZrwbrLohfUg=";
|
||||
sha256 = "sha256-qSqZQcE/g9oOHI8OAxMACSIFXrJMgSFLraAbTHjggLY=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -30,15 +32,18 @@ stdenv.mkDerivation rec {
|
|||
ninja
|
||||
pkg-config
|
||||
python3
|
||||
sassc
|
||||
vala
|
||||
wrapGAppsHook3
|
||||
wrapGAppsHook4
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
granite
|
||||
gtk3
|
||||
propagatedBuildInputs = [
|
||||
# Required by switchboard-3.pc.
|
||||
glib
|
||||
granite7
|
||||
gtk4
|
||||
libadwaita
|
||||
libgee
|
||||
libhandy
|
||||
];
|
||||
|
||||
patches = [
|
||||
|
@ -60,6 +65,6 @@ stdenv.mkDerivation rec {
|
|||
license = licenses.lgpl21Plus;
|
||||
platforms = platforms.linux;
|
||||
maintainers = teams.pantheon.members;
|
||||
mainProgram = "io.elementary.switchboard";
|
||||
mainProgram = "io.elementary.settings";
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ wrapGAppsHook3
|
||||
{ wrapGAppsHook4
|
||||
, glib
|
||||
, lib
|
||||
, stdenv
|
||||
|
@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
nativeBuildInputs = [
|
||||
glib
|
||||
wrapGAppsHook3
|
||||
wrapGAppsHook4
|
||||
];
|
||||
|
||||
buildInputs = lib.forEach selectedPlugs (x: x.buildInputs)
|
||||
|
@ -54,7 +54,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
preFixup = ''
|
||||
gappsWrapperArgs+=(
|
||||
--set SWITCHBOARD_PLUGS_PATH "$out/lib/switchboard"
|
||||
--set SWITCHBOARD_PLUGS_PATH "$out/lib/switchboard-3"
|
||||
)
|
||||
'';
|
||||
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
[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
|
|
@ -1,2 +1,2 @@
|
|||
[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']
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, nix-update-script
|
||||
, substituteAll
|
||||
, meson
|
||||
|
@ -40,6 +41,14 @@ stdenv.mkDerivation rec {
|
|||
src = ./fix-paths.patch;
|
||||
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 = [
|
||||
|
|
|
@ -53,7 +53,7 @@ stdenv.mkDerivation rec {
|
|||
preFixup = ''
|
||||
gappsWrapperArgs+=(
|
||||
--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"
|
||||
)
|
||||
'';
|
||||
|
||||
|
|
|
@ -260,6 +260,7 @@ let
|
|||
"openmp/fix-find-tool.patch" = [
|
||||
{
|
||||
after = "17";
|
||||
before = "19";
|
||||
path = ../17;
|
||||
}
|
||||
];
|
||||
|
@ -1059,9 +1060,9 @@ let
|
|||
|
||||
openmp = callPackage ./openmp {
|
||||
patches =
|
||||
lib.optional (lib.versionAtLeast metadata.release_version "15") (
|
||||
metadata.getVersionFile "openmp/fix-find-tool.patch"
|
||||
)
|
||||
lib.optional (
|
||||
lib.versionAtLeast metadata.release_version "15" && lib.versionOlder metadata.release_version "19"
|
||||
) (metadata.getVersionFile "openmp/fix-find-tool.patch")
|
||||
++ lib.optional (
|
||||
lib.versionAtLeast metadata.release_version "14" && lib.versionOlder metadata.release_version "18"
|
||||
) (metadata.getVersionFile "openmp/gnu-install-dirs.patch")
|
||||
|
|
|
@ -30,11 +30,14 @@
|
|||
let
|
||||
src' =
|
||||
if monorepoSrc != null then
|
||||
runCommand "lldb-src-${version}" { } ''
|
||||
runCommand "lldb-src-${version}" { } (''
|
||||
mkdir -p "$out"
|
||||
cp -r ${monorepoSrc}/cmake "$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 = {
|
||||
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";
|
||||
|
|
|
@ -23,7 +23,7 @@ let
|
|||
"16.0.6".officialRelease.sha256 = "sha256-fspqSReX+VD+Nl/Cfq+tDcdPtnQPV1IRopNDfd5VtUs=";
|
||||
"17.0.6".officialRelease.sha256 = "sha256-8MEDLLhocshmxoEBRSKlJ/GzJ8nfuzQ8qn0X/vLA+ag=";
|
||||
"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 = {
|
||||
rev = "4f5d866af7fed0de1671a68530d3023e9762b71e";
|
||||
rev-version = "20.0.0-unstable-2024-08-13";
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "aioopenexchangerates";
|
||||
version = "0.6.1";
|
||||
version = "0.6.2";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.11";
|
||||
|
@ -23,7 +23,7 @@ buildPythonPackage rec {
|
|||
owner = "MartinHjelmare";
|
||||
repo = "aioopenexchangerates";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-4MKx2wbveuT8YwQKo4HsFUaTpt2KInLtIvMWFxZCFmE=";
|
||||
hash = "sha256-XsNeIUgHFPatGAhxcwtfSXUi+0sCQf9E6GH5C8OrpJg=";
|
||||
};
|
||||
|
||||
pythonRelaxDeps = [ "pydantic" ];
|
||||
|
|
|
@ -12,21 +12,21 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "scikit-hep-testdata";
|
||||
version = "0.4.46";
|
||||
format = "pyproject";
|
||||
version = "0.4.47";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "scikit-hep";
|
||||
repo = pname;
|
||||
repo = "scikit-hep-testdata";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-lihStYseIthw74kMSDHYpYaLCJGIKlx4gb0VqQu8tc4=";
|
||||
hash = "sha256-YCzqAe+TVNbPrHPxD/OjxkjmYCb5pZO0+l68xUJp72w=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools-scm ];
|
||||
build-system = [ setuptools-scm ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
pyyaml
|
||||
requests
|
||||
] ++ lib.optionals (!pythonAtLeast "3.9") [ importlib-resources ];
|
||||
|
|
|
@ -1,15 +1,21 @@
|
|||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pythonOlder,
|
||||
awkward,
|
||||
cramjam,
|
||||
fetchFromGitHub,
|
||||
|
||||
# build-system
|
||||
hatch-vcs,
|
||||
hatchling,
|
||||
|
||||
# dependencies
|
||||
awkward,
|
||||
cramjam,
|
||||
numpy,
|
||||
fsspec,
|
||||
packaging,
|
||||
|
||||
# checks
|
||||
pandas,
|
||||
pytestCheckHook,
|
||||
pytest-timeout,
|
||||
|
@ -20,7 +26,7 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "uproot";
|
||||
version = "5.3.10";
|
||||
version = "5.3.11";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
@ -29,7 +35,7 @@ buildPythonPackage rec {
|
|||
owner = "scikit-hep";
|
||||
repo = "uproot5";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-2cTa6AaN4BMJuzLhU9G4e0yl1kqyxblLWsSaIOHYS+o=";
|
||||
hash = "sha256-MQdSUB9m1BNg+/ybdNrho0V+LlNKavmFdBdBKLhHt2w=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
|
@ -87,6 +93,7 @@ buildPythonPackage rec {
|
|||
# Cyclic dependency with dask-awkward
|
||||
"test_dask_duplicated_keys"
|
||||
"test_decompression_executor_for_dask"
|
||||
"test_decompression_threadpool_executor_for_dask"
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
|
|
|
@ -2,13 +2,13 @@
|
|||
|
||||
buildGoModule rec {
|
||||
pname = "go-mockery";
|
||||
version = "2.44.2";
|
||||
version = "2.45.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "vektra";
|
||||
repo = "mockery";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-zVzCAX52kzugj9LRqnrUZ881sE8EyhLM1QPnJK5O2ak=";
|
||||
sha256 = "sha256-k7mR5UJ9kk/jkjzqpS43/CrbNYPUCz4wJR2j/8HUd5c=";
|
||||
};
|
||||
|
||||
preCheck = ''
|
||||
|
|
|
@ -13,14 +13,14 @@
|
|||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "rust-analyzer-unwrapped";
|
||||
version = "2024-08-12";
|
||||
cargoHash = "sha256-F1DuuBjHCPY3NIwnS1jFMTxcMnc1TGv2KaKttF6FIKs=";
|
||||
version = "2024-08-19";
|
||||
cargoHash = "sha256-+zwjyTzcfUu5V6+j9r+tu7pcf40OzQ4mlE8VlZielVI=";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rust-lang";
|
||||
repo = "rust-analyzer";
|
||||
rev = version;
|
||||
sha256 = "sha256-xAxVDxuvCs8WWkrxVWjCiqxTkHhGj7sSppr1YMuEdT8=";
|
||||
hash = "sha256-x/RXN/ougJ1IEoBKrY0UijB530OfOfICK4KPa3Kj9Bk=";
|
||||
};
|
||||
|
||||
cargoBuildFlags = [ "--bin" "rust-analyzer" "--bin" "rust-analyzer-proc-macro-srv" ];
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
{ fetchFromGitHub }:
|
||||
|
||||
rec {
|
||||
version = "4.1.12";
|
||||
version = "4.1.13";
|
||||
src = fetchFromGitHub {
|
||||
owner = "NICMx";
|
||||
repo = "Jool";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-NJitXmWWEEglg4jag0mRZlmbf5+0sT08/pCssry5zD0=";
|
||||
hash = "sha256-Uls3S53jdoGyJ5xUEipQ0Ev5LAp5wzF2DsaLZCy+6Gc=";
|
||||
};
|
||||
}
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "grpc_cli";
|
||||
version = "1.65.5";
|
||||
version = "1.66.0";
|
||||
src = fetchFromGitHub {
|
||||
owner = "grpc";
|
||||
repo = "grpc";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-3dMLv4qhZ+X+Now++G8mvp/WIgAIDnMwcZ6rXdVhBjE=";
|
||||
hash = "sha256-KQKAkjLib0HAJEti8wrDOwtTzFV5Tir72P5RxwTmhNI=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
nativeBuildInputs = [ automake cmake autoconf ];
|
||||
|
|
|
@ -5,14 +5,14 @@
|
|||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "pulldown-cmark";
|
||||
version = "0.11.2";
|
||||
version = "0.12.0";
|
||||
|
||||
src = fetchCrate {
|
||||
inherit pname version;
|
||||
hash = "sha256-Ox/5xp46/RjfJkn74dPcQQSBMa5Mtx98wbVSnpbViks=";
|
||||
hash = "sha256-LBaWfcTA5qxhrEUG0FeusGZBgvRjuQS0/1pqeKQQWbk=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-+bbd/SjHM/hbxaOP2CbzZ7wI5ZzVTIHw9she8wm+M3w=";
|
||||
cargoHash = "sha256-UPv7F/itmISaUikR6jdAj3FvTF56VqwdMvD3L3WruA4=";
|
||||
|
||||
meta = {
|
||||
description = "Pull parser for CommonMark written in Rust";
|
||||
|
|
Loading…
Reference in a new issue