From 3e1f4da8c0e536c09ffaf3b43fe2eb5dc17cc23e Mon Sep 17 00:00:00 2001 From: Georges Basile Stavracas Neto Date: Thu, 18 Nov 2021 19:46:13 -0300 Subject: [PATCH] flatpak: Adjust to libportal changes --- build-aux/flatpak/org.gnome.Todo.json | 3 +++ src/plugins/background/gtd-plugin-background.c | 2 +- src/plugins/background/meson.build | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/build-aux/flatpak/org.gnome.Todo.json b/build-aux/flatpak/org.gnome.Todo.json index 034e200c..44b83d66 100644 --- a/build-aux/flatpak/org.gnome.Todo.json +++ b/build-aux/flatpak/org.gnome.Todo.json @@ -143,6 +143,9 @@ { "name" : "libportal", "buildsystem" : "meson", + "config-opts" : [ + "-Dbackends=gtk4" + ], "sources" : [ { "type" : "git", diff --git a/src/plugins/background/gtd-plugin-background.c b/src/plugins/background/gtd-plugin-background.c index cf48786c..f64d07aa 100644 --- a/src/plugins/background/gtd-plugin-background.c +++ b/src/plugins/background/gtd-plugin-background.c @@ -28,7 +28,7 @@ #include #include -#include +#include #define AUTOSTART_NOTIFICATION_ID "Gtd::BackgroundPlugin::autostart_notification" #define AUTOSTART_NOTIFICATION_TIMEOUT 3 /* seconds */ diff --git a/src/plugins/background/meson.build b/src/plugins/background/meson.build index a671a4f3..59d3635f 100644 --- a/src/plugins/background/meson.build +++ b/src/plugins/background/meson.build @@ -1,7 +1,7 @@ plugins_ldflags += ['-Wl,--undefined=gtd_plugin_background_register_types'] plugins_deps += [ - dependency('libportal'), + dependency('libportal-gtk4'), ] plugins_sources += files( -- GitLab 'txt' type='search' size='10' name='q' value=''/>
AgeCommit message (Expand)Author
2021-03-10services: Prevent following symlinks during activation....This addresses a potential security issue, where a compromised service could trick the activation code in changing the permissions, owner and group of arbitrary files. However, this patch is currently only a partial fix, due to a TOCTTOU (time-of-check to time-of-use) race, which can be fixed once guile has bindings to openat and friends. Fixes: <https://lists.gnu.org/archive/html/guix-devel/2021-01/msg00388.html> * gnu/build/activation.scm: new procedure 'mkdir-p/perms'. * gnu/services/authentication.scm (%nslcd-activation, nslcd-service-type): use new procedure. * gnu/services/cups.scm (%cups-activation): likewise. * gnu/services/dbus.scm (dbus-activation): likewise. * gnu/services/dns.scm (knot-activation): likewise. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Maxime Devos
2020-05-08services: Add descriptions....* gnu/services/dbus.scm (polkit-service-type)[description]: New field. * gnu/services/dict.scm (dicod-service-type)[description]: New field. * gnu/services/dns.scm (knot-service-type)[description]: New field. * gnu/services/networking.scm (dhcpd-service-type)[description]: New field. * gnu/services/shepherd.scm (shepherd-root-service-type)[description]: New field. * gnu/services/xorg.scm (slim-service-type)[description]: New field. (screen-locker-service-type)[description]: New field. * gnu/system/pam.scm (pam-root-service-type)[description]: New field. * gnu/system/shadow.scm (account-service-type)[description]: New field. Ludovic Courtès
2019-11-13services: dbus: Simplify 'dbus-uuidgen' invocation....* gnu/services/dbus.scm (dbus-activation): Use the "--ensure" option of 'dbus-uuidgen' instead of forking and redirecting ports. Ludovic Courtès
2019-11-13services: dbus: Log to syslog....* gnu/services/dbus.scm (dbus-shepherd-service): Add 'syslogd' to 'requirement'. Pass the "--syslog-only" command-line option. Ludovic Courtès
2019-11-13services: dbus: Add description....* gnu/services/dbus.scm (dbus-root-service-type)[description]: New field. Ludovic Courtès
2019-11-02services: dbus: Remove non-existent directories from 'system-local.conf'....This typically halves the number of entries in /etc/dbus-1/system-local.conf. * gnu/services/dbus.scm (dbus-configuration-directory)[build](directives): New macro. (services->sxml): Use it. Ludovic Courtès
2019-11-02services: dbus: Include each service's "share/dbus-1/system.d"....Fixes <https://bugs.gnu.org/37911>. Reported by Jack Hill <jackhill@jackhill.us>. Sometime between 1.1.8 and 1.4.3, 'colord' moved had its 'org.freedesktop.ColorManager.conf' file moved from "etc/dbus-1/system.d" to "share/dbus-1/system.d". Adjust to this change. * gnu/services/dbus.scm (dbus-configuration-directory): Add an 'includedir' directive for DIR/share/dbus-1/system.d. Ludovic Courtès