[gnome-build-meta/alatiera/meson-conf: 2/3] freedesktop-sdk.bst: add patch to fix polkit systemd unit




commit 268f4e4e7ef95ed2fbf9cc0c35c5cc20508e22e8
Author: Jordan Petridis <jordan centricular com>
Date:   Thu Jul 7 17:19:55 2022 +0300

    freedesktop-sdk.bst: add patch to fix polkit systemd unit
    
    See https://gitlab.com/freedesktop-sdk/freedesktop-sdk/-/merge_requests/9070
    
    Part-of: <https://gitlab.gnome.org/GNOME/gnome-build-meta/-/merge_requests/1645>

 elements/freedesktop-sdk.bst     |  2 ++
 files/freedesktop-sdk/9070.patch | 32 ++++++++++++++++++++++++++++++++
 2 files changed, 34 insertions(+)
---
diff --git a/elements/freedesktop-sdk.bst b/elements/freedesktop-sdk.bst
index 0d30a27f1..256713c0b 100644
--- a/elements/freedesktop-sdk.bst
+++ b/elements/freedesktop-sdk.bst
@@ -4,6 +4,8 @@ sources:
   url: gitlab:freedesktop-sdk/freedesktop-sdk.git
   track: master
   track-tags: true
+- kind: patch
+  path: files/freedesktop-sdk/9070.patch
 config:
   options:
     target_arch: '%{arch}'
diff --git a/files/freedesktop-sdk/9070.patch b/files/freedesktop-sdk/9070.patch
new file mode 100644
index 000000000..bc4db9142
--- /dev/null
+++ b/files/freedesktop-sdk/9070.patch
@@ -0,0 +1,32 @@
+From 9cde0a1303ea805421179b8c30c4837b0bb38a35 Mon Sep 17 00:00:00 2001
+From: Jordan Petridis <jordan centricular com>
+Date: Thu, 7 Jul 2022 16:09:21 +0300
+Subject: [PATCH] components/polkit: Use the proper meson-local variable for
+ kind:meson
+
+This is a leftover from when the element was switched to meson,
+and as such the extra arguments we wanted to pass were ignored.
+
+Close #1445
+---
+ elements/components/polkit.bst | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/elements/components/polkit.bst b/elements/components/polkit.bst
+index ff576efd57..79ee6490f1 100644
+--- a/elements/components/polkit.bst
++++ b/elements/components/polkit.bst
+@@ -13,8 +13,8 @@ depends:
+ - components/systemd.bst
+ 
+ variables:
+-  conf-local: >-
+-    -Dsession-tracking=libsystemd-login
++  meson-local: >-
++    -Dsession_tracking=libsystemd-login
+     -Djs_engine=duktape
+   local_flags: -std=gnu++17
+ 
+-- 
+GitLab
+


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]