mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-07 12:44:20 +00:00
Merge pull request #201420 from bobby285271/pantheon
Pantheon 7 updates 2022-11-15
This commit is contained in:
commit
74f6413e44
@ -24,13 +24,13 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "elementary-calendar";
|
pname = "elementary-calendar";
|
||||||
version = "6.1.1";
|
version = "6.1.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "elementary";
|
owner = "elementary";
|
||||||
repo = "calendar";
|
repo = "calendar";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-c2c8QNifBDzb0CelB72AIL4G694l6KCSXBjWIHrzZJo=";
|
sha256 = "sha256-psUVgl/7pmmf+8dP8ghBx5C1u4UT9ncXuVYvDJOYeOI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
@ -40,13 +40,6 @@ stdenv.mkDerivation rec {
|
|||||||
url = "https://github.com/elementary/calendar/commit/62c20e5786accd68b96c423b04e32c043e726cac.patch";
|
url = "https://github.com/elementary/calendar/commit/62c20e5786accd68b96c423b04e32c043e726cac.patch";
|
||||||
sha256 = "sha256-xatxoSwAIHiUA03vvBdM8HSW27vhPLvAxEuGK0gLiio=";
|
sha256 = "sha256-xatxoSwAIHiUA03vvBdM8HSW27vhPLvAxEuGK0gLiio=";
|
||||||
})
|
})
|
||||||
|
|
||||||
# GridDay: Fix day in month in grid with GLib 2.73.1+
|
|
||||||
# https://github.com/elementary/calendar/pull/763
|
|
||||||
(fetchpatch {
|
|
||||||
url = "https://github.com/elementary/calendar/commit/20b0983c85935bedef065b786ec8bbca55ba7d9e.patch";
|
|
||||||
sha256 = "sha256-Tw9uNqqRAC+vOp7EWzZVeDmZxt3hTGl9UIP21FcunqA=";
|
|
||||||
})
|
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "elementary-files";
|
pname = "elementary-files";
|
||||||
version = "6.2.0";
|
version = "6.2.1";
|
||||||
|
|
||||||
outputs = [ "out" "dev" ];
|
outputs = [ "out" "dev" ];
|
||||||
|
|
||||||
@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
|
|||||||
owner = "elementary";
|
owner = "elementary";
|
||||||
repo = "files";
|
repo = "files";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-V1otkc1Og7J/A68j+4MrJzOtAH6PHSfj5fSpjKhhwo4=";
|
sha256 = "sha256-pJFeMG2aGaMkS00fSoRlMR2YSg5YzwqwaQT8G7Gk5S4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -31,13 +31,13 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "elementary-photos";
|
pname = "elementary-photos";
|
||||||
version = "2.7.5";
|
version = "2.8.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "elementary";
|
owner = "elementary";
|
||||||
repo = "photos";
|
repo = "photos";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-zM32+bva+QD1Z/0vUD7K0/tnSzo+7GGLjJ1ytr64c0I=";
|
sha256 = "sha256-VhJggQMy1vk21zNA5pR4uAPGCwnIxLUHVO58AZs+h6s=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -30,13 +30,13 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "elementary-greeter";
|
pname = "elementary-greeter";
|
||||||
version = "6.1.0";
|
version = "6.1.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "elementary";
|
owner = "elementary";
|
||||||
repo = "greeter";
|
repo = "greeter";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-CY+dPSyQ/ovSdI80uEipDdnWy1KjbZnwpn9sd8HrbPQ=";
|
sha256 = "sha256-6rjZOX9JOTjZwqWVWTtKjGNy8KgWllE9VQZzwhuBAwE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
|
@ -26,13 +26,13 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "wingpanel-applications-menu";
|
pname = "wingpanel-applications-menu";
|
||||||
version = "2.10.2";
|
version = "2.11.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "elementary";
|
owner = "elementary";
|
||||||
repo = "applications-menu";
|
repo = "applications-menu";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-xBuMJzIFOueSvNwvXc85AI9NHuMW3bOblNsyuDkIzyk=";
|
sha256 = "sha256-pEBvFN+zYsF8CbB29rTNclwAYhw/Hb0HhLzXtijfI4M=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
@ -80,6 +80,8 @@ stdenv.mkDerivation rec {
|
|||||||
patchShebangs meson/post_install.py
|
patchShebangs meson/post_install.py
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
doCheck = true;
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
updateScript = nix-update-script {
|
updateScript = nix-update-script {
|
||||||
attrPath = "pantheon.${pname}";
|
attrPath = "pantheon.${pname}";
|
||||||
|
@ -1,8 +1,21 @@
|
|||||||
diff --git a/src/synapse-plugins/calculator-plugin.vala b/src/synapse-plugins/calculator-plugin.vala
|
diff --git a/src/synapse-plugins/calculator-plugin/calculator-plugin-backend.vala b/src/synapse-plugins/calculator-plugin/calculator-plugin-backend.vala
|
||||||
index 886a44cd..a4601da6 100644
|
index 542e7aa..228c6d7 100644
|
||||||
--- a/src/synapse-plugins/calculator-plugin.vala
|
--- a/src/synapse-plugins/calculator-plugin/calculator-plugin-backend.vala
|
||||||
+++ b/src/synapse-plugins/calculator-plugin.vala
|
+++ b/src/synapse-plugins/calculator-plugin/calculator-plugin-backend.vala
|
||||||
@@ -50,9 +50,7 @@ namespace Synapse {
|
@@ -83,7 +83,7 @@ namespace Synapse {
|
||||||
|
Pid pid;
|
||||||
|
int read_fd, write_fd;
|
||||||
|
/* Must include math library to get non-integer results and to access standard math functions */
|
||||||
|
- string[] argv = {"bc", "-l"};
|
||||||
|
+ string[] argv = {"@bc@", "-l"};
|
||||||
|
|
||||||
|
Process.spawn_async_with_pipes (
|
||||||
|
null, argv, null,
|
||||||
|
diff --git a/src/synapse-plugins/calculator-plugin/calculator-plugin.vala b/src/synapse-plugins/calculator-plugin/calculator-plugin.vala
|
||||||
|
index d14f1de..35c8621 100644
|
||||||
|
--- a/src/synapse-plugins/calculator-plugin/calculator-plugin.vala
|
||||||
|
+++ b/src/synapse-plugins/calculator-plugin/calculator-plugin.vala
|
||||||
|
@@ -49,9 +49,7 @@ namespace Synapse {
|
||||||
_("Calculator"),
|
_("Calculator"),
|
||||||
_("Calculate basic expressions."),
|
_("Calculate basic expressions."),
|
||||||
"accessories-calculator",
|
"accessories-calculator",
|
||||||
@ -13,12 +26,17 @@ index 886a44cd..a4601da6 100644
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -94,7 +92,7 @@ namespace Synapse {
|
diff --git a/src/synapse-plugins/converter-plugin/converter-plugin.vala b/src/synapse-plugins/converter-plugin/converter-plugin.vala
|
||||||
Pid pid;
|
index 8d230cc..ed31927 100644
|
||||||
int read_fd, write_fd;
|
--- a/src/synapse-plugins/converter-plugin/converter-plugin.vala
|
||||||
/* Must include math library to get non-integer results and to access standard math functions */
|
+++ b/src/synapse-plugins/converter-plugin/converter-plugin.vala
|
||||||
- string[] argv = {"bc", "-l"};
|
@@ -46,9 +46,7 @@ namespace Synapse {
|
||||||
+ string[] argv = {"@bc@", "-l"};
|
_("Converter"),
|
||||||
string? solution = null;
|
_("Convert between units."),
|
||||||
|
"accessories-converter",
|
||||||
try {
|
- register_plugin,
|
||||||
|
- Environment.find_program_in_path ("bc") != null,
|
||||||
|
- _("bc is not installed")
|
||||||
|
+ register_plugin
|
||||||
|
);
|
||||||
|
}
|
||||||
|
@ -18,16 +18,23 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "touchegg";
|
pname = "touchegg";
|
||||||
version = "2.0.14";
|
version = "2.0.15";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "JoseExposito";
|
owner = "JoseExposito";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-2ZuFZ2PHhbxNTmGdlZONgPfEJC7lI5Rc6dgiBj7VG2o=";
|
sha256 = "sha256-oz3+hNNjQ/5vXWPMuhA2N2KK8W8S42WeSeDbhV4oJ9M=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = lib.optionals withPantheon [
|
patches = lib.optionals withPantheon [
|
||||||
|
# Required for the next patch to apply
|
||||||
|
# Reverts https://github.com/JoseExposito/touchegg/pull/603
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://github.com/JoseExposito/touchegg/commit/34e947181d84620021601e7f28deb1983a154da8.patch";
|
||||||
|
sha256 = "sha256-qbWwmEzVXvDAhhrGvMkKN4YNtnFfRW+Yra+i6VEQX4g=";
|
||||||
|
revert = true;
|
||||||
|
})
|
||||||
# Disable per-application gesture by default to make sure the default
|
# Disable per-application gesture by default to make sure the default
|
||||||
# config does not conflict with Pantheon switchboard settings.
|
# config does not conflict with Pantheon switchboard settings.
|
||||||
(fetchpatch {
|
(fetchpatch {
|
||||||
|
Loading…
Reference in New Issue
Block a user