public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/phosh-mobile-settings] f44: Upstream release 0.55.0 (fedora#2468368)
Date: Sun, 31 May 2026 18:28:42 GMT [thread overview]
Message-ID: <178025212264.1.2596708528673067302.rpms-phosh-mobile-settings-ae96a35b78cc@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/phosh-mobile-settings
Branch : f44
Commit : ae96a35b78cc73dcc246eb30c67628d0e8eeae48
Author : Tomi Lähteenmäki <lihis@lihis.net>
Date : 2026-05-17T15:41:17+03:00
Stats : +88/-3 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/phosh-mobile-settings/c/ae96a35b78cc73dcc246eb30c67628d0e8eeae48?branch=f44
Log:
Upstream release 0.55.0 (fedora#2468368)
---
diff --git a/.gitignore b/.gitignore
index 5ea9e65..688ba5f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -29,3 +29,4 @@
/phosh-mobile-settings-v0.54_rc1.tar.gz
/libgnome-volume-control-d2442f455844e5292cb4a74ffc66ecc8d7595a9f.tar.gz
/phosh-mobile-settings-v0.54.0.tar.gz
+/phosh-mobile-settings-v0.55.0.tar.gz
diff --git a/0001-polkit-Allow-to-specify-group.patch b/0001-polkit-Allow-to-specify-group.patch
new file mode 100644
index 0000000..c98a38b
--- /dev/null
+++ b/0001-polkit-Allow-to-specify-group.patch
@@ -0,0 +1,76 @@
+From dfdc94b54e60cc7c028d3b53ddce9dec172d2d8a Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Tomi=20L=C3=A4hteenm=C3=A4ki?= <lihis@lihis.net>
+Date: Sun, 17 May 2026 12:39:32 +0300
+Subject: [PATCH] polkit: Allow to specify group
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Don't install the rules file if the group is empty.
+
+Signed-off-by: Tomi Lähteenmäki <lihis@lihis.net>
+---
+ data/meson.build | 18 +++++++++++++-----
+ ...gs.rules => phosh-mobile-settings.rules.in} | 2 +-
+ meson.options | 3 +++
+ 3 files changed, 17 insertions(+), 6 deletions(-)
+ rename data/{phosh-mobile-settings.rules => phosh-mobile-settings.rules.in} (85%)
+
+diff --git a/data/meson.build b/data/meson.build
+index dadb6d4..f407e6b 100644
+--- a/data/meson.build
++++ b/data/meson.build
+@@ -58,10 +58,18 @@ endif
+
+ install_data(schemas, install_dir: 'share/glib-2.0/schemas')
+
+-polkit = files('phosh-mobile-settings.rules')
+-install_data(
+- polkit,
+- install_dir: polkitdir,
+-)
++polkit_group = get_option('polkit-group')
++if polkit_group != ''
++ polkit_conf = configuration_data()
++ polkit_conf.set('polkit-group', polkit_group)
++ polkit_rules = 'phosh-mobile-settings.rules'
++ configure_file(
++ input: polkit_rules + '.in',
++ output: polkit_rules,
++ install: true,
++ install_dir: polkitdir,
++ configuration: polkit_conf,
++ )
++endif
+
+ subdir('icons')
+diff --git a/data/phosh-mobile-settings.rules b/data/phosh-mobile-settings.rules.in
+similarity index 85%
+rename from data/phosh-mobile-settings.rules
+rename to data/phosh-mobile-settings.rules.in
+index ec81bc0..dce4e7e 100644
+--- a/data/phosh-mobile-settings.rules
++++ b/data/phosh-mobile-settings.rules.in
+@@ -3,7 +3,7 @@ polkit.addRule(function(action, subject) {
+ action.id == "org.freedesktop.locale1.set-keyboard") &&
+ subject.active &&
+ subject.local &&
+- subject.isInGroup ("sudo")) {
++ subject.isInGroup ("@polkit-group@")) {
+ return polkit.Result.YES;
+ }
+ });
+diff --git a/meson.options b/meson.options
+index 48552c6..a8122a6 100644
+--- a/meson.options
++++ b/meson.options
+@@ -10,3 +10,6 @@ option('examples', type: 'boolean', value: false,
+
+ option('man', type: 'boolean', value: false,
+ description: 'Generate man pages (requires rst2man)')
++
++option('polkit-group', type: 'string', value: '',
++ description: 'Group name for sudo')
+--
+2.54.0
+
diff --git a/phosh-mobile-settings.spec b/phosh-mobile-settings.spec
index a34cdb4..425fd81 100644
--- a/phosh-mobile-settings.spec
+++ b/phosh-mobile-settings.spec
@@ -1,7 +1,7 @@
%global gvc_commit d2442f455844e5292cb4a74ffc66ecc8d7595a9f
Name: phosh-mobile-settings
-Version: 0.54.0
+Version: 0.55.0
Release: %autorelease
Summary: Mobile Settings App for phosh and related components
License: GPL-3.0-or-later
@@ -10,6 +10,8 @@ Source0: https://gitlab.gnome.org/World/Phosh/phosh-mobile-settings/-/archive/v%
# This library doesn't compile into a DSO nor has any tagged releases.
# Other projects such as gnome-shell use it this way.
Source1: https://gitlab.gnome.org/guidog/libgnome-volume-control/-/archive/%{gvc_commit}/libgnome-volume-control-%{gvc_commit}.tar.gz
+# https://gitlab.gnome.org/World/Phosh/phosh-mobile-settings/-/merge_requests/355
+Patch0: 0001-polkit-Allow-to-specify-group.patch
ExcludeArch: %{ix86}
# https://bugzilla.redhat.com/show_bug.cgi?id=2415478
@@ -21,6 +23,8 @@ BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: meson >= 1.7.0
+BuildRequires: pkgconfig(accountsservice) >= 23.13
+BuildRequires: pkgconfig(fontconfig)
BuildRequires: pkgconfig(glib-2.0) >= 2.84
BuildRequires: pkgconfig(gio-2.0) >= 2.84
BuildRequires: pkgconfig(gio-unix-2.0) >= 2.84
@@ -40,6 +44,7 @@ BuildRequires: pkgconfig(libportal-gtk4) >= 0.9.1
BuildRequires: pkgconfig(libfeedback-0.0) >= 0.8.0
BuildRequires: pkgconfig(libcellbroadcast-0.0) >= 0.0.2
BuildRequires: pkgconfig(yaml-0.1)
+BuildRequires: pkgconfig(polkit-gobject-1) >= 126
BuildRequires: /usr/bin/rst2man
BuildRequires: gobject-introspection
BuildRequires: appstream-devel
@@ -63,6 +68,7 @@ Mobile Settings App for phosh and related components
%package -n libphosh-mobile-settings
License: LGPL-2.1-or-later
Summary: Allows to configure advanced settings
+Requires: polkit
%description -n libphosh-mobile-settings
Allows to configure some advanced settings of Phosh
@@ -81,7 +87,7 @@ mkdir -p /tmp/runtime-dir
chmod 0700 /tmp/runtime-dir
%conf
-%meson -Dtweaks-data-dir=%{_datadir}/phosh-tweaks -Dman=true
+%meson -Dtweaks-data-dir=%{_datadir}/phosh-tweaks -Dman=true -Dpolkit-group=wheel
%build
%meson_build
@@ -106,11 +112,13 @@ dbus-launch phoc --no-xwayland -E "%meson_test"
%dir %{_libdir}/phosh-mobile-settings
%{_libdir}/phosh-mobile-settings/plugins/libms-plugin-librem5.so
%{_datadir}/applications/mobi.phosh.MobileSettings.desktop
+%{_datadir}/applications/mobi.phosh.MobileSettings.nobuiltins.desktop
%{_datadir}/dbus-1/services/mobi.phosh.MobileSettings.service
%{_datadir}/glib-2.0/schemas/mobi.phosh.MobileSettings.gschema.xml
%{_datadir}/icons/hicolor/scalable/apps/mobi.phosh.MobileSettings.svg
%{_datadir}/icons/hicolor/symbolic/apps/mobi.phosh.MobileSettings-symbolic.svg
%{_datadir}/metainfo/mobi.phosh.MobileSettings.metainfo.xml
+%{_datadir}/polkit-1/rules.d/phosh-mobile-settings.rules
%dir %{_datadir}/phosh-tweaks
%{_mandir}/man1/phosh-mobile-settings.1*
diff --git a/sources b/sources
index 32db0c8..5aaf928 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-SHA512 (phosh-mobile-settings-v0.54.0.tar.gz) = 4614842c347dbe66b0dff505793e243b59db33e098d30407ba0379acc7f05f778d4ddd84cd73de9c21dda76b1d07795fdef66e8e42f5d5369338039ca269036f
+SHA512 (phosh-mobile-settings-v0.55.0.tar.gz) = 98f6769858e61d11c92b6d7b1f648a2d9f8fde9683d5b84bcf6dcf76b4f25baecf50ec4a062a0b527684394c4e1cc8fb4c137e2aa376780a0b294161fd03c861
SHA512 (libgnome-volume-control-d2442f455844e5292cb4a74ffc66ecc8d7595a9f.tar.gz) = 6214f4c17f85b76b04f9f60c8fc4fd993bca8d7c61df40e4aa96cb921831b666719d6666474a8f2eda9fcd483dbd4d53cfc55773981fa1e6b1c214bdb698d1e0
reply other threads:[~2026-05-31 18:28 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178025212264.1.2596708528673067302.rpms-phosh-mobile-settings-ae96a35b78cc@fedoraproject.org \
--to=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox