public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/gnome-initial-setup] rawhide: Update to 51.alpha
@ 2026-06-30 16:24 Milan Crha
0 siblings, 0 replies; only message in thread
From: Milan Crha @ 2026-06-30 16:24 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/gnome-initial-setup
Branch : rawhide
Commit : bc195d90760b3ebfdcbec8db5872156a866e0383
Author : Milan Crha <mcrha@redhat.com>
Date : 2026-06-30T18:23:15+02:00
Stats : +2/-181 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/gnome-initial-setup/c/bc195d90760b3ebfdcbec8db5872156a866e0383?branch=rawhide
Log:
Update to 51.alpha
---
diff --git a/gnome-initial-setup.spec b/gnome-initial-setup.spec
index 0a742b7..009dc76 100644
--- a/gnome-initial-setup.spec
+++ b/gnome-initial-setup.spec
@@ -12,7 +12,7 @@
%endif
Name: gnome-initial-setup
-Version: 50.0
+Version: 51~alpha
Release: %autorelease
Summary: Bootstrapping your OS
@@ -25,9 +25,6 @@ Source3: gnome-initial-setup.tmpfiles.conf
%gnome_check_version
-# https://gitlab.gnome.org/GNOME/gnome-initial-setup/-/issues/242
-Patch: no-run0.patch
-
BuildRequires: desktop-file-utils
BuildRequires: gcc
BuildRequires: meson
diff --git a/no-run0.patch b/no-run0.patch
deleted file mode 100644
index 0f6805b..0000000
--- a/no-run0.patch
+++ /dev/null
@@ -1,176 +0,0 @@
-From 1373aa3dbe2e3b0910e2fa4980ec5fcc201dc20f Mon Sep 17 00:00:00 2001
-From: Michael Catanzaro <mcatanzaro@gnome.org>
-Date: Mon, 30 Mar 2026 11:28:17 -0500
-Subject: [PATCH] Revert "Try run0 first if available instead of pkexec"
-
-This reverts commit 7b2ffa4d09fbc947178625ebc7152532afd07054
----
- .../{gis-elevate.c => gis-pkexec.c} | 48 +++++--------------
- .../{gis-elevate.h => gis-pkexec.h} | 14 +++---
- gnome-initial-setup/gnome-initial-setup.h | 2 +-
- gnome-initial-setup/meson.build | 4 +-
- .../pages/software/gis-software-page.c | 2 +-
- 5 files changed, 24 insertions(+), 46 deletions(-)
- rename gnome-initial-setup/{gis-elevate.c => gis-pkexec.c} (56%)
- rename gnome-initial-setup/{gis-elevate.h => gis-pkexec.h} (83%)
-
-diff --git a/gnome-initial-setup/gis-elevate.c b/gnome-initial-setup/gis-pkexec.c
-similarity index 56%
-rename from gnome-initial-setup/gis-elevate.c
-rename to gnome-initial-setup/gis-pkexec.c
-index de7a68c5..9e1bfa9a 100644
---- a/gnome-initial-setup/gis-elevate.c
-+++ b/gnome-initial-setup/gis-pkexec.c
-@@ -23,29 +23,26 @@
- * Will Thompson <wjt@endlessos.org>
- */
-
--#include "gis-elevate.h"
-+#include "gis-pkexec.h"
-
--static gboolean
--elevate (const char *tool,
-- const char *command,
-- const char *arg1,
-- const char *user,
-- GError **error)
-+gboolean
-+gis_pkexec (const gchar *command,
-+ const gchar *arg1,
-+ const gchar *user,
-+ GError **error)
- {
- g_autoptr(GSubprocessLauncher) launcher = NULL;
- g_autoptr(GSubprocess) process = NULL;
-- const char * const root_argv[] = { tool, command, arg1, NULL };
-- const char * const user_argv[] = { tool, "--user", user, command, arg1, NULL };
-- const char * const *argv = user == NULL ? root_argv : user_argv;
-+ const gchar * const root_argv[] = { "pkexec", command, arg1, NULL };
-+ const gchar * const user_argv[] = { "pkexec", "--user", user, command, arg1, NULL };
-+ const gchar * const *argv = user == NULL ? root_argv : user_argv;
-
- launcher = g_subprocess_launcher_new (G_SUBPROCESS_FLAGS_NONE);
-
-- if (g_strcmp0 (tool, "pkexec") == 0) {
-- /* pkexec won't let us run the program if $SHELL isn't in /etc/shells,
-- * so remove it from the environment.
-- */
-- g_subprocess_launcher_unsetenv (launcher, "SHELL");
-- }
-+ /* pkexec won't let us run the program if $SHELL isn't in /etc/shells,
-+ * so remove it from the environment.
-+ */
-+ g_subprocess_launcher_unsetenv (launcher, "SHELL");
- process = g_subprocess_launcher_spawnv (launcher, argv, error);
-
- if (!process) {
-@@ -60,22 +57,3 @@ elevate (const char *tool,
-
- return TRUE;
- }
--
--gboolean
--gis_elevate (const char *command,
-- const char *arg1,
-- const char *user,
-- GError **error)
--{
-- g_autoptr(GError) local_error = NULL;
--
-- if (!elevate ("run0", command, arg1, user, &local_error)) {
-- /* If run0 is not found, fall back to pkexec */
-- if (g_error_matches (local_error, G_SPAWN_ERROR, G_SPAWN_ERROR_NOENT)) {
-- return elevate ("pkexec", command, arg1, user, error);
-- }
-- g_propagate_error (error, g_steal_pointer (&local_error));
-- return FALSE;
-- }
-- return TRUE;
--}
-diff --git a/gnome-initial-setup/gis-elevate.h b/gnome-initial-setup/gis-pkexec.h
-similarity index 83%
-rename from gnome-initial-setup/gis-elevate.h
-rename to gnome-initial-setup/gis-pkexec.h
-index 0b466141..ff5a88cc 100644
---- a/gnome-initial-setup/gis-elevate.h
-+++ b/gnome-initial-setup/gis-pkexec.h
-@@ -23,19 +23,19 @@
- * Will Thompson <wjt@endlessos.org>
- */
-
--#ifndef __GIS_ELEVATE_H__
--#define __GIS_ELEVATE_H__
-+#ifndef __GIS_PKEXEC_H__
-+#define __GIS_PKEXEC_H__
-
- #include "gnome-initial-setup.h"
-
- G_BEGIN_DECLS
-
- gboolean
--gis_elevate (const char *command,
-- const char *arg1,
-- const char *user,
-- GError **error);
-+gis_pkexec (const gchar *command,
-+ const gchar *arg1,
-+ const gchar *user,
-+ GError **error);
-
- G_END_DECLS
-
--#endif /* __GIS_ELEVATE_H__ */
-+#endif /* __GIS_PKEXEC_H__ */
-diff --git a/gnome-initial-setup/gnome-initial-setup.h b/gnome-initial-setup/gnome-initial-setup.h
-index af8b161e..5a2359b1 100644
---- a/gnome-initial-setup/gnome-initial-setup.h
-+++ b/gnome-initial-setup/gnome-initial-setup.h
-@@ -33,7 +33,7 @@ typedef struct _GisPage GisPage;
- #include "gis-driver.h"
- #include "gis-assistant.h"
- #include "gis-page.h"
--#include "gis-elevate.h"
-+#include "gis-pkexec.h"
- #include "gis-util.h"
-
- void gis_ensure_stamp_files (GisDriver *driver);
-diff --git a/gnome-initial-setup/meson.build b/gnome-initial-setup/meson.build
-index e88acb58..0dc21690 100644
---- a/gnome-initial-setup/meson.build
-+++ b/gnome-initial-setup/meson.build
-@@ -11,17 +11,17 @@ sources += [
- 'cc-common-language.c',
- 'gnome-initial-setup.c',
- 'gis-assistant.c',
-- 'gis-elevate.c',
- 'gis-page.c',
- 'gis-page-header.c',
-+ 'gis-pkexec.c',
- 'gis-driver.c',
- 'gis-util.c',
- 'gis-webkit.c',
- 'gnome-initial-setup.h',
- 'gis-assistant.h',
-- 'gis-elevate.h',
- 'gis-page.h',
- 'gis-page-header.h',
-+ 'gis-pkexec.h',
- 'gis-driver.h',
- ]
-
-diff --git a/gnome-initial-setup/pages/software/gis-software-page.c b/gnome-initial-setup/pages/software/gis-software-page.c
-index 60afe386..0e2278fb 100644
---- a/gnome-initial-setup/pages/software/gis-software-page.c
-+++ b/gnome-initial-setup/pages/software/gis-software-page.c
-@@ -96,7 +96,7 @@ gis_software_page_apply (GisPage *gis_page,
- program = find_fedora_third_party ();
- if (program)
- {
-- gis_elevate (program, "enable", "root", &error);
-+ gis_pkexec (program, "enable", "root", &error);
- if (error && !g_error_matches (error, G_IO_ERROR, G_IO_ERROR_CANCELLED))
- g_warning ("%s failed: %s", program, error->message);
- }
---
-GitLab
-
diff --git a/sources b/sources
index aa73f4c..5c86eed 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (gnome-initial-setup-50.0.tar.xz) = b358b52bfee150df204365659c6cdff59220976f1ee5d78bca2a54bbe38b2bd8a1baeb61c0d7f8b4901b2a27579b38ea9fa5c108fcbd8cc6d6ddb5ea4e634c12
+SHA512 (gnome-initial-setup-51.alpha.tar.xz) = 0b60491b284f11c6ddab9b6a35a89f6a59824a6ff0c35e31371d71c43001b78c8c28411225aabc69264d4fd78fff0a1f3264872043f60ac2e1456fecc5936478
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-30 16:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-30 16:24 [rpms/gnome-initial-setup] rawhide: Update to 51.alpha Milan Crha
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox