pantheon.wingpanel-applications-menu: 2.4.4 -> 2.5.0
https://github.com/elementary/applications-menu/releases/tag/2.5.0
This commit is contained in:
parent
5ddded73dc
commit
5f8ae4ab94
@ -26,7 +26,7 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "wingpanel-applications-menu";
|
pname = "wingpanel-applications-menu";
|
||||||
version = "2.4.4";
|
version = "2.5.0";
|
||||||
|
|
||||||
repoName = "applications-menu";
|
repoName = "applications-menu";
|
||||||
|
|
||||||
@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
|
|||||||
owner = "elementary";
|
owner = "elementary";
|
||||||
repo = repoName;
|
repo = repoName;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "09ssxn264v6nzrxgk529kpdxq5j3b14z8mbwq0gni1bgjcla773d";
|
sha256 = "1zry9xvcljsn5fnl8qs21x7q8rpwv0sxvp2dmnx3ddqnvj4q2m7d";
|
||||||
};
|
};
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
@ -73,13 +73,10 @@ stdenv.mkDerivation rec {
|
|||||||
"--sysconfdir=${placeholder "out"}/etc"
|
"--sysconfdir=${placeholder "out"}/etc"
|
||||||
];
|
];
|
||||||
|
|
||||||
PKG_CONFIG_WINGPANEL_2_0_INDICATORSDIR = "${placeholder "out"}/lib/wingpanel";
|
|
||||||
PKG_CONFIG_SWITCHBOARD_2_0_PLUGSDIR = "${placeholder "out"}/lib/switchboard";
|
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
(substituteAll {
|
(substituteAll {
|
||||||
src = ./bc.patch;
|
src = ./fix-paths.patch;
|
||||||
exec = "${bc}/bin/bc";
|
bc = "${bc}/bin/bc";
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -0,0 +1,24 @@
|
|||||||
|
diff --git a/src/synapse-plugins/calculator-plugin.vala b/src/synapse-plugins/calculator-plugin.vala
|
||||||
|
index 18ca3af..f5d1076 100644
|
||||||
|
--- a/src/synapse-plugins/calculator-plugin.vala
|
||||||
|
+++ b/src/synapse-plugins/calculator-plugin.vala
|
||||||
|
@@ -44,9 +44,7 @@ namespace Synapse {
|
||||||
|
_("Calculator"),
|
||||||
|
_("Calculate basic expressions."),
|
||||||
|
"accessories-calculator",
|
||||||
|
- register_plugin,
|
||||||
|
- Environment.find_program_in_path ("bc") != null,
|
||||||
|
- _("bc is not installed")
|
||||||
|
+ register_plugin
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
@@ -87,7 +85,7 @@ namespace Synapse {
|
||||||
|
if (matched) {
|
||||||
|
Pid pid;
|
||||||
|
int read_fd, write_fd;
|
||||||
|
- string[] argv = {"bc", "-l"};
|
||||||
|
+ string[] argv = {"@bc@", "-l"};
|
||||||
|
string? solution = null;
|
||||||
|
|
||||||
|
try {
|
Loading…
x
Reference in New Issue
Block a user