pantheon.elementary-settings-daemon: 3.34.1 -> 3.36.0
This commit is contained in:
parent
c15059e2b9
commit
acc66c83aa
@ -43,26 +43,30 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "elementary-settings-daemon";
|
pname = "elementary-settings-daemon";
|
||||||
version = "3.34.1";
|
version = "3.36.0";
|
||||||
|
|
||||||
repoName = "gnome-settings-daemon";
|
repoName = "gnome-settings-daemon";
|
||||||
|
|
||||||
src = fetchgit {
|
src = fetchurl {
|
||||||
|
url = "mirror://gnome/sources/gnome-settings-daemon/${stdenv.lib.versions.majorMinor version}/${repoName}-${version}.tar.xz";
|
||||||
|
sha256 = "0jddz8f2j4ps7csgq9b694h9hjxsyhlimik6rb2f8nbcxhrg0bzs";
|
||||||
|
};
|
||||||
|
|
||||||
|
ubuntuSrc = fetchgit {
|
||||||
url = "https://git.launchpad.net/~ubuntu-desktop/ubuntu/+source/${repoName}";
|
url = "https://git.launchpad.net/~ubuntu-desktop/ubuntu/+source/${repoName}";
|
||||||
rev = "refs/tags/ubuntu/${version}-1ubuntu2";
|
rev = "refs/tags/ubuntu/3.35.91-1ubuntu1";
|
||||||
sha256 = "0w0dsbzif7v0gk61rs9g20ldlimbdwb5yvlfdc568yyx5z643jbv";
|
sha256 = "1ifrq89pqarx74mkxykvw2kjyljd28i4ggw90l5bk4jjrwfr66f3";
|
||||||
};
|
};
|
||||||
|
|
||||||
# We've omitted the 53_sync_input_sources_to_accountsservice patch because it breaks the build.
|
# We've omitted the 53_sync_input_sources_to_accountsservice patch because it breaks the build.
|
||||||
# See: https://gist.github.com/worldofpeace/2f152a20b7c47895bb93239fce1c9f52
|
# See: https://gist.github.com/worldofpeace/2f152a20b7c47895bb93239fce1c9f52
|
||||||
#
|
#
|
||||||
# Also omit ubuntu_calculator_snap.patch as that's obviously not useful here.
|
# Also omit ubuntu_calculator_snap.patch as that's obviously not useful here.
|
||||||
patches = let patchPath = "${src}/debian/patches"; in [
|
patches = let patchPath = "${ubuntuSrc}/debian/patches"; in [
|
||||||
(substituteAll {
|
(substituteAll {
|
||||||
src = ./fix-paths.patch;
|
src = ./fix-paths.patch;
|
||||||
inherit tzdata;
|
inherit tzdata;
|
||||||
})
|
})
|
||||||
./global-backlight-helper.patch
|
|
||||||
"${patchPath}/45_suppress-printer-may-not-be-connected-notification.patch"
|
"${patchPath}/45_suppress-printer-may-not-be-connected-notification.patch"
|
||||||
#"${patchPath}/53_sync_input_sources_to_accountsservice.patch"
|
#"${patchPath}/53_sync_input_sources_to_accountsservice.patch"
|
||||||
"${patchPath}/64_restore_terminal_keyboard_shortcut_schema.patch"
|
"${patchPath}/64_restore_terminal_keyboard_shortcut_schema.patch"
|
||||||
@ -140,10 +144,6 @@ stdenv.mkDerivation rec {
|
|||||||
# This breaks lightlocker https://github.com/elementary/session-settings/commit/b0e7a2867608c3a3916f9e4e21a68264a20e44f8
|
# This breaks lightlocker https://github.com/elementary/session-settings/commit/b0e7a2867608c3a3916f9e4e21a68264a20e44f8
|
||||||
# TODO: shouldn't be neeed for the 5.1 greeter (awaiting release)
|
# TODO: shouldn't be neeed for the 5.1 greeter (awaiting release)
|
||||||
rm $out/etc/xdg/autostart/org.gnome.SettingsDaemon.ScreensaverProxy.desktop
|
rm $out/etc/xdg/autostart/org.gnome.SettingsDaemon.ScreensaverProxy.desktop
|
||||||
|
|
||||||
# So the polkit policy can reference /run/current-system/sw/bin/elementary-settings-daemon/gsd-backlight-helper
|
|
||||||
mkdir -p $out/bin/elementary-settings-daemon
|
|
||||||
ln -s $out/libexec/gsd-backlight-helper $out/bin/elementary-settings-daemon/gsd-backlight-helper
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
|
@ -1,15 +1,15 @@
|
|||||||
--- a/plugins/datetime/tz.h
|
--- a/plugins/datetime/tz.h
|
||||||
+++ b/plugins/datetime/tz.h
|
+++ b/plugins/datetime/tz.h
|
||||||
@@ -27,11 +27,7 @@
|
@@ -27,11 +27,7 @@
|
||||||
|
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
|
|
||||||
-#ifndef __sun
|
-#ifndef __sun
|
||||||
-# define TZ_DATA_FILE "/usr/share/zoneinfo/zone.tab"
|
-# define TZ_DATA_FILE "/usr/share/zoneinfo/zone.tab"
|
||||||
-#else
|
-#else
|
||||||
-# define TZ_DATA_FILE "/usr/share/lib/zoneinfo/tab/zone_sun.tab"
|
-# define TZ_DATA_FILE "/usr/share/lib/zoneinfo/tab/zone_sun.tab"
|
||||||
-#endif
|
-#endif
|
||||||
+#define TZ_DATA_FILE "@tzdata@/share/zoneinfo/zone.tab"
|
+#define TZ_DATA_FILE "@tzdata@/share/zoneinfo/zone.tab"
|
||||||
|
|
||||||
typedef struct _TzDB TzDB;
|
typedef struct _TzDB TzDB;
|
||||||
typedef struct _TzLocation TzLocation;
|
typedef struct _TzLocation TzLocation;
|
||||||
|
@ -1,26 +0,0 @@
|
|||||||
diff --git a/plugins/power/gsd-backlight.c b/plugins/power/gsd-backlight.c
|
|
||||||
index d7d10fd2..5619d6ad 100644
|
|
||||||
--- a/plugins/power/gsd-backlight.c
|
|
||||||
+++ b/plugins/power/gsd-backlight.c
|
|
||||||
@@ -358,7 +358,7 @@ gsd_backlight_run_set_helper (GsdBacklight *backlight, GTask *task)
|
|
||||||
proc = g_subprocess_new (G_SUBPROCESS_FLAGS_STDOUT_SILENCE,
|
|
||||||
&error,
|
|
||||||
"pkexec",
|
|
||||||
- LIBEXECDIR "/gsd-backlight-helper",
|
|
||||||
+ "/run/current-system/sw/bin/elementary-settings-daemon/gsd-backlight-helper",
|
|
||||||
g_udev_device_get_sysfs_path (backlight->udev_device),
|
|
||||||
data->value_str, NULL);
|
|
||||||
} else {
|
|
||||||
diff --git a/plugins/power/org.gnome.settings-daemon.plugins.power.policy.in.in b/plugins/power/org.gnome.settings-daemon.plugins.power.policy.in.in
|
|
||||||
index f16300f8..79d6bd17 100644
|
|
||||||
--- a/plugins/power/org.gnome.settings-daemon.plugins.power.policy.in.in
|
|
||||||
+++ b/plugins/power/org.gnome.settings-daemon.plugins.power.policy.in.in
|
|
||||||
@@ -25,7 +25,7 @@
|
|
||||||
<allow_inactive>no</allow_inactive>
|
|
||||||
<allow_active>yes</allow_active>
|
|
||||||
</defaults>
|
|
||||||
- <annotate key="org.freedesktop.policykit.exec.path">@libexecdir@/gsd-backlight-helper</annotate>
|
|
||||||
+ <annotate key="org.freedesktop.policykit.exec.path">/run/current-system/sw/bin/elementary-settings-daemon/gsd-backlight-helper</annotate>
|
|
||||||
</action>
|
|
||||||
|
|
||||||
</policyconfig>
|
|
Loading…
Reference in New Issue
Block a user