* [bug#65879] [gnome-team 0/1] Update gnome-control-center @ 2023-09-11 21:31 Vivien Kraus via Guix-patches via 2023-09-11 21:26 ` [bug#65879] [gnome-team 1/1] gnu: gnome-control-center: Update to 44.3 Vivien Kraus via Guix-patches via 2023-10-08 12:04 ` [bug#65879] [gnome-team 0/1] Update gnome-control-center Vivien Kraus via Guix-patches via 0 siblings, 2 replies; 20+ messages in thread From: Vivien Kraus via Guix-patches via @ 2023-09-11 21:31 UTC (permalink / raw) To: 65879; +Cc: rg, liliana.prikler, maxim.cournoyer [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1: Type: text/plain, Size: 573 bytes --] Dear guix, Let’s update gnome-control-center, shall we? However, there are weird errors. I had to disable the network test, because from what I understand, it tries to connect to a system bus that is not available. However, running the new gnome-control-center crashes, and I don’t really understand why. Do you have any clues? Vivien Kraus (1): gnu: gnome-control-center: Update to 44.3. gnu/packages/gnome.scm | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) base-commit: 20e3f3e1151b2f22ae7fb5aa8764148654f35090 -- 2.41.0 ^ permalink raw reply [flat|nested] 20+ messages in thread
* [bug#65879] [gnome-team 1/1] gnu: gnome-control-center: Update to 44.3. 2023-09-11 21:31 [bug#65879] [gnome-team 0/1] Update gnome-control-center Vivien Kraus via Guix-patches via @ 2023-09-11 21:26 ` Vivien Kraus via Guix-patches via 2023-09-12 4:15 ` Liliana Marie Prikler 2023-10-08 12:04 ` [bug#65879] [gnome-team 0/1] Update gnome-control-center Vivien Kraus via Guix-patches via 1 sibling, 1 reply; 20+ messages in thread From: Vivien Kraus via Guix-patches via @ 2023-09-11 21:26 UTC (permalink / raw) To: 65879; +Cc: rg, liliana.prikler, maxim.cournoyer * gnu/packages/gnome.scm (gnome-control-center): Update to 44.3. [phase patch-paths]: Upstream already uses /run/setuid-programs/passwd. Querying the GNOME version is done through dbus now. Disable the network panel test, because it wants to connect to the system session. [phase skip-gtk-update-icon-cache]: The icon cache update should be disabled differently. [native-inputs]: Add setxkbmap. --- gnu/packages/gnome.scm | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index ad118090eb..81ce9207f4 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -9003,7 +9003,7 @@ (define-public gnome-bluetooth (define-public gnome-control-center (package (name "gnome-control-center") - (version "42.4") + (version "44.3") (source (origin (method url-fetch) (uri (string-append "mirror://gnome/sources/" name "/" @@ -9011,7 +9011,7 @@ (define-public gnome-control-center name "-" version ".tar.xz")) (sha256 (base32 - "1ln5rch6zbfh3vl2nnnmw39bylgg38rin6xp7ra0ra4ay3wv3gvs")))) + "0yhcm0c0ghkfqswqlkwcln3jpaz6jzvqaph2c3lgmv635w2nash6")))) (build-system meson-build-system) (arguments (list @@ -9036,18 +9036,17 @@ (define-public gnome-control-center (("\"nm-connection-editor") (string-append "\"" (search-input-file inputs "bin/nm-connection-editor")))) - (substitute* "panels/user-accounts/run-passwd.c" - (("/usr/bin/passwd") - "/run/setuid-programs/passwd")) - (substitute* "panels/info-overview/cc-info-overview-panel.c" - (("DATADIR \"/gnome/gnome-version.xml\"") - (format #f "~s" (search-input-file - inputs "share/gnome/gnome-version.xml")))))) + + ;; This test wants to connect to the system dbus session + (substitute* "tests/meson.build" + (("subdir\\('network'\\)") + "# subdir('network')")))) (add-after 'unpack 'skip-gtk-update-icon-cache ;; Don't create 'icon-theme.cache'. (lambda _ - (substitute* "build-aux/meson/meson_post_install.py" - (("gtk-update-icon-cache") (which "true")))))))) + (substitute* "meson.build" + (("gtk_update_icon_cache: true") + "gtk_update_icon_cache: false"))))))) (native-inputs (list docbook-xsl gettext-minimal @@ -9056,7 +9055,8 @@ (define-public gnome-control-center pkg-config python python-dbusmock - xorg-server-for-tests)) + xorg-server-for-tests + setxkbmap)) (inputs (list accountsservice colord-gtk -- 2.41.0 ^ permalink raw reply related [flat|nested] 20+ messages in thread
* [bug#65879] [gnome-team 1/1] gnu: gnome-control-center: Update to 44.3. 2023-09-11 21:26 ` [bug#65879] [gnome-team 1/1] gnu: gnome-control-center: Update to 44.3 Vivien Kraus via Guix-patches via @ 2023-09-12 4:15 ` Liliana Marie Prikler 2023-09-12 10:03 ` Vivien Kraus via Guix-patches via 0 siblings, 1 reply; 20+ messages in thread From: Liliana Marie Prikler @ 2023-09-12 4:15 UTC (permalink / raw) To: Vivien Kraus, 65879; +Cc: rg, maxim.cournoyer Am Montag, dem 11.09.2023 um 23:26 +0200 schrieb Vivien Kraus: > * gnu/packages/gnome.scm (gnome-control-center): Update to 44.3. > [phase patch-paths]: Upstream already uses > /run/setuid-programs/passwd. Querying the GNOME version is done > through dbus now. Disable the network panel test, because it wants to > connect to the system session. > [phase skip-gtk-update-icon-cache]: The icon cache update should be > disabled differently. That'd be [#:phases]<patch-paths>: Adjust accordingly. <skip-gtk-update-icon-cache>: Likewise. > [native-inputs]: Add setxkbmap. > --- Content-wise LGTM, will rewrite the commit as noted above and wait for CI. Cheers ^ permalink raw reply [flat|nested] 20+ messages in thread
* [bug#65879] [gnome-team 1/1] gnu: gnome-control-center: Update to 44.3. 2023-09-12 4:15 ` Liliana Marie Prikler @ 2023-09-12 10:03 ` Vivien Kraus via Guix-patches via 2023-09-12 18:25 ` Liliana Marie Prikler 0 siblings, 1 reply; 20+ messages in thread From: Vivien Kraus via Guix-patches via @ 2023-09-12 10:03 UTC (permalink / raw) To: Liliana Marie Prikler, 65879; +Cc: rg, maxim.cournoyer Hello! Le mardi 12 septembre 2023 à 06:15 +0200, Liliana Marie Prikler a écrit : > Content-wise LGTM, will rewrite the commit as noted above and wait > for > CI. Did you manage to run it? If I do: ./pre-inst-env guix shell gnome-control-center -- gnome-control-center then it immediately crashes, with output: 10:54:39.2952 cc-firmware-security-panel[31903]: WARNING: system bus not available: Could not connect: No such file or directory ** cc-object-storage:ERROR:../gnome-control-center-44.3/shell/cc-object- storage.c:167:cc_object_storage_add_object: assertion failed: (G_IS_OBJECT (object)) Bail out! cc-object-storage:ERROR:../gnome-control-center- 44.3/shell/cc-object-storage.c:167:cc_object_storage_add_object: assertion failed: (G_IS_OBJECT (object)) Abandon Interestingly, it does not crash on a foreign distro (debian stable). I found this, maybe relevant: https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/342 Vivien ^ permalink raw reply [flat|nested] 20+ messages in thread
* [bug#65879] [gnome-team 1/1] gnu: gnome-control-center: Update to 44.3. 2023-09-12 10:03 ` Vivien Kraus via Guix-patches via @ 2023-09-12 18:25 ` Liliana Marie Prikler 2023-09-12 19:00 ` [bug#65879] [gnome-team v2 0/1] Still failing: Updage gnome-control-center and disable the firmware security panel Vivien Kraus via Guix-patches via 0 siblings, 1 reply; 20+ messages in thread From: Liliana Marie Prikler @ 2023-09-12 18:25 UTC (permalink / raw) To: Vivien Kraus, 65879; +Cc: rg, maxim.cournoyer Am Dienstag, dem 12.09.2023 um 12:03 +0200 schrieb Vivien Kraus: > Hello! > > Le mardi 12 septembre 2023 à 06:15 +0200, Liliana Marie Prikler a > écrit : > > Content-wise LGTM, will rewrite the commit as noted above and wait > > for > > CI. > > Did you manage to run it? > > If I do: > > ./pre-inst-env guix shell gnome-control-center -- gnome-control- > center > > then it immediately crashes, with output: > > 10:54:39.2952 cc-firmware-security-panel[31903]: WARNING: system bus > not available: Could not connect: No such file or directory > ** > cc-object-storage:ERROR:../gnome-control-center-44.3/shell/cc-object- > storage.c:167:cc_object_storage_add_object: assertion failed: > (G_IS_OBJECT (object)) > Bail out! cc-object-storage:ERROR:../gnome-control-center- > 44.3/shell/cc-object-storage.c:167:cc_object_storage_add_object: > assertion failed: (G_IS_OBJECT (object)) > Abandon > > Interestingly, it does not crash on a foreign distro (debian stable). > > I found this, maybe relevant: > https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/342 Indeed, I get the same issue. Perhaps you can comment out the firmware-security panel in panels/meson.build and see what happens? I don't think it's useful to us anyway. Cheers ^ permalink raw reply [flat|nested] 20+ messages in thread
* [bug#65879] [gnome-team v2 0/1] Still failing: Updage gnome-control-center and disable the firmware security panel 2023-09-12 18:25 ` Liliana Marie Prikler @ 2023-09-12 19:00 ` Vivien Kraus via Guix-patches via 2023-09-11 21:26 ` [bug#65879] [gnome-team v2 1/1] gnu: gnome-control-center: Update to 44.3 Vivien Kraus via Guix-patches via 2023-09-12 20:41 ` [bug#65879] [gnome-team v2 0/1] Still failing: Updage gnome-control-center and disable the firmware security panel Liliana Marie Prikler 0 siblings, 2 replies; 20+ messages in thread From: Vivien Kraus via Guix-patches via @ 2023-09-12 19:00 UTC (permalink / raw) To: 65879; +Cc: rg, liliana.prikler, maxim.cournoyer [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1: Type: text/plain, Size: 832 bytes --] Hi! Le mardi 12 septembre 2023 à 20:25 +0200, Liliana Marie Prikler a écrit : > Perhaps you can comment out the firmware-security panel in > panels/meson.build and see what happens? I don't think it's useful to us > anyway. It’s not that simple. However, debian does a similar job with a patch, so I applied it. And it does not fix the issue, unfortunately. Vivien Kraus (1): gnu: gnome-control-center: Update to 44.3. gnu/local.mk | 1 + gnu/packages/gnome.scm | 27 ++++++++------- ...ome-control-center-firmware-security.patch | 33 +++++++++++++++++++ 3 files changed, 49 insertions(+), 12 deletions(-) create mode 100644 gnu/packages/patches/gnome-control-center-firmware-security.patch base-commit: 20e3f3e1151b2f22ae7fb5aa8764148654f35090 -- 2.41.0 ^ permalink raw reply [flat|nested] 20+ messages in thread
* [bug#65879] [gnome-team v2 1/1] gnu: gnome-control-center: Update to 44.3. 2023-09-12 19:00 ` [bug#65879] [gnome-team v2 0/1] Still failing: Updage gnome-control-center and disable the firmware security panel Vivien Kraus via Guix-patches via @ 2023-09-11 21:26 ` Vivien Kraus via Guix-patches via 2023-09-12 20:41 ` [bug#65879] [gnome-team v2 0/1] Still failing: Updage gnome-control-center and disable the firmware security panel Liliana Marie Prikler 1 sibling, 0 replies; 20+ messages in thread From: Vivien Kraus via Guix-patches via @ 2023-09-11 21:26 UTC (permalink / raw) To: 65879; +Cc: rg, liliana.prikler, maxim.cournoyer * gnu/packages/gnome.scm (gnome-control-center): Update to 44.3. [#:phases]<patch-paths>: Upstream already uses /run/setuid-programs/passwd. Querying the GNOME version is done through dbus now. Disable the network panel test, because it wants to connect to the system session. [#:phase] <skip-gtk-update-icon-cache>: The icon cache update should be disabled differently. [native-inputs]: Add setxkbmap. * gnu/packages/patches/gnome-control-center-firmware-security.patch: Disable the firmware security panel. * gnu/packages/gnome.scm (gnome-control-center): Apply the patch to disable the firmware security panel. * gnu/local.mk (dist_patch_DATA): Distribute the patch to disable the firmware security panel. --- gnu/local.mk | 1 + gnu/packages/gnome.scm | 27 ++++++++------- ...ome-control-center-firmware-security.patch | 33 +++++++++++++++++++ 3 files changed, 49 insertions(+), 12 deletions(-) create mode 100644 gnu/packages/patches/gnome-control-center-firmware-security.patch diff --git a/gnu/local.mk b/gnu/local.mk index 69be1a07c7..da573addc9 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -1299,6 +1299,7 @@ dist_patch_DATA = \ %D%/packages/patches/gmp-faulty-test.patch \ %D%/packages/patches/gnash-fix-giflib-version.patch \ %D%/packages/patches/gnome-2048-fix-positional-argument.patch \ + %D%/packages/patches/gnome-control-center-firmware-security.patch \ %D%/packages/patches/gnome-control-center-libexecdir.patch \ %D%/packages/patches/gnome-online-miners-tracker-3.patch \ %D%/packages/patches/gnome-settings-daemon-gc.patch \ diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index ad118090eb..acc30db425 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -9003,7 +9003,7 @@ (define-public gnome-bluetooth (define-public gnome-control-center (package (name "gnome-control-center") - (version "42.4") + (version "44.3") (source (origin (method url-fetch) (uri (string-append "mirror://gnome/sources/" name "/" @@ -9011,7 +9011,10 @@ (define-public gnome-control-center name "-" version ".tar.xz")) (sha256 (base32 - "1ln5rch6zbfh3vl2nnnmw39bylgg38rin6xp7ra0ra4ay3wv3gvs")))) + "0yhcm0c0ghkfqswqlkwcln3jpaz6jzvqaph2c3lgmv635w2nash6")) + (patches + (search-patches + "gnome-control-center-firmware-security.patch")))) (build-system meson-build-system) (arguments (list @@ -9036,18 +9039,17 @@ (define-public gnome-control-center (("\"nm-connection-editor") (string-append "\"" (search-input-file inputs "bin/nm-connection-editor")))) - (substitute* "panels/user-accounts/run-passwd.c" - (("/usr/bin/passwd") - "/run/setuid-programs/passwd")) - (substitute* "panels/info-overview/cc-info-overview-panel.c" - (("DATADIR \"/gnome/gnome-version.xml\"") - (format #f "~s" (search-input-file - inputs "share/gnome/gnome-version.xml")))))) + + ;; This test wants to connect to the system dbus session + (substitute* "tests/meson.build" + (("subdir\\('network'\\)") + "# subdir('network')")))) (add-after 'unpack 'skip-gtk-update-icon-cache ;; Don't create 'icon-theme.cache'. (lambda _ - (substitute* "build-aux/meson/meson_post_install.py" - (("gtk-update-icon-cache") (which "true")))))))) + (substitute* "meson.build" + (("gtk_update_icon_cache: true") + "gtk_update_icon_cache: false"))))))) (native-inputs (list docbook-xsl gettext-minimal @@ -9056,7 +9058,8 @@ (define-public gnome-control-center pkg-config python python-dbusmock - xorg-server-for-tests)) + xorg-server-for-tests + setxkbmap)) (inputs (list accountsservice colord-gtk diff --git a/gnu/packages/patches/gnome-control-center-firmware-security.patch b/gnu/packages/patches/gnome-control-center-firmware-security.patch new file mode 100644 index 0000000000..fd9d7b8ff4 --- /dev/null +++ b/gnu/packages/patches/gnome-control-center-firmware-security.patch @@ -0,0 +1,33 @@ +From: Jeremy Bicha <jeremy.bicha@canonical.com> +Date: Mon, 22 Aug 2022 08:31:15 -0400 +Subject: firmware-security: Disable + +Not yet useful enough to justify its inclusion by default here + +You can get the same info by running +fwupdmgr security + +If you drop this patch, add a Depends: fwupd [linux-any] + +https://launchpad.net/bugs/1987162 + +https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/1938 + +[Stolen from the debian package] +--- + shell/cc-panel-loader.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/shell/cc-panel-loader.c b/shell/cc-panel-loader.c +index 17f9601..1b819a5 100644 +--- a/shell/cc-panel-loader.c ++++ b/shell/cc-panel-loader.c +@@ -113,7 +113,7 @@ static CcPanelLoaderVtable default_panels[] = + PANEL_TYPE("info-overview", cc_info_overview_panel_get_type, NULL), + PANEL_TYPE("keyboard", cc_keyboard_panel_get_type, NULL), + PANEL_TYPE("location", cc_location_panel_get_type, NULL), +- PANEL_TYPE("firmware-security",cc_firmware_security_panel_get_type, cc_firmware_security_panel_static_init_func), ++ // PANEL_TYPE("firmware-security",cc_firmware_security_panel_get_type, cc_firmware_security_panel_static_init_func), + PANEL_TYPE("microphone", cc_microphone_panel_get_type, NULL), + PANEL_TYPE("mouse", cc_mouse_panel_get_type, NULL), + PANEL_TYPE("multitasking", cc_multitasking_panel_get_type, NULL), -- 2.41.0 ^ permalink raw reply related [flat|nested] 20+ messages in thread
* [bug#65879] [gnome-team v2 0/1] Still failing: Updage gnome-control-center and disable the firmware security panel 2023-09-12 19:00 ` [bug#65879] [gnome-team v2 0/1] Still failing: Updage gnome-control-center and disable the firmware security panel Vivien Kraus via Guix-patches via 2023-09-11 21:26 ` [bug#65879] [gnome-team v2 1/1] gnu: gnome-control-center: Update to 44.3 Vivien Kraus via Guix-patches via @ 2023-09-12 20:41 ` Liliana Marie Prikler 2023-09-12 22:31 ` Vivien Kraus via Guix-patches via 2023-09-15 22:13 ` Vivien Kraus via Guix-patches via 1 sibling, 2 replies; 20+ messages in thread From: Liliana Marie Prikler @ 2023-09-12 20:41 UTC (permalink / raw) To: Vivien Kraus, 65879; +Cc: rg, maxim.cournoyer Am Dienstag, dem 12.09.2023 um 21:00 +0200 schrieb Vivien Kraus: > Hi! > > Le mardi 12 septembre 2023 à 20:25 +0200, Liliana Marie Prikler a > écrit : > > Perhaps you can comment out the firmware-security panel in > > panels/meson.build and see what happens? I don't think it's useful > > to us anyway. > > It’s not that simple. However, debian does a similar job with a > patch, so I applied it. And it does not fix the issue, unfortunately. GDB spits out the following: Thread 1 ".gnome-control-" received signal SIGABRT, Aborted. 0x00007ffff60a3fec in __pthread_kill_implementation () from /gnu/store/gsjczqir1wbz8p770zndrpw4rnppmxi3-glibc-2.35/lib/libc.so.6 (gdb) up #1 0x00007ffff605a202 in raise () from /gnu/store/gsjczqir1wbz8p770zndrpw4rnppmxi3-glibc-2.35/lib/libc.so.6 (gdb) #2 0x00007ffff604545b in abort () from /gnu/store/gsjczqir1wbz8p770zndrpw4rnppmxi3-glibc-2.35/lib/libc.so.6 (gdb) #3 0x00007ffff7c3fe62 in ?? () from /gnu/store/ckysqidiiw88bw1kdyndjcrsakrysxkn-glib-2.76.1/lib/libglib- 2.0.so.0 (gdb) #4 0x00007ffff7ca413b in g_assertion_message_expr () from /gnu/store/ckysqidiiw88bw1kdyndjcrsakrysxkn-glib-2.76.1/lib/libglib- 2.0.so.0 (gdb) #5 0x000000000045daaf in cc_object_storage_add_object () (gdb) #6 0x00000000005212d7 in cc_wifi_panel_static_init_func () (gdb) Have you tried updating network-manager by chance? :P Maybe with that you also don't have to drop the test that tests it. Though just bumping it to 1.44.0 didn't resolve things locally, perhaps there's another dependency in the chain that I did not consider yet. Cheers ^ permalink raw reply [flat|nested] 20+ messages in thread
* [bug#65879] [gnome-team v2 0/1] Still failing: Updage gnome-control-center and disable the firmware security panel 2023-09-12 20:41 ` [bug#65879] [gnome-team v2 0/1] Still failing: Updage gnome-control-center and disable the firmware security panel Liliana Marie Prikler @ 2023-09-12 22:31 ` Vivien Kraus via Guix-patches via 2023-09-15 22:13 ` Vivien Kraus via Guix-patches via 1 sibling, 0 replies; 20+ messages in thread From: Vivien Kraus via Guix-patches via @ 2023-09-12 22:31 UTC (permalink / raw) To: Liliana Marie Prikler, 65879; +Cc: rg, maxim.cournoyer Le mardi 12 septembre 2023 à 22:41 +0200, Liliana Marie Prikler a écrit : > Though just bumping it to 1.44.0 didn't resolve things locally, > perhaps > there's another dependency in the chain that I did not consider yet. I can configure the package by disabling the "snap" feature ("- Dsnap=false") but it does not make a difference either. ^ permalink raw reply [flat|nested] 20+ messages in thread
* [bug#65879] [gnome-team v2 0/1] Still failing: Updage gnome-control-center and disable the firmware security panel 2023-09-12 20:41 ` [bug#65879] [gnome-team v2 0/1] Still failing: Updage gnome-control-center and disable the firmware security panel Liliana Marie Prikler 2023-09-12 22:31 ` Vivien Kraus via Guix-patches via @ 2023-09-15 22:13 ` Vivien Kraus via Guix-patches via 2023-09-16 4:02 ` Liliana Marie Prikler 1 sibling, 1 reply; 20+ messages in thread From: Vivien Kraus via Guix-patches via @ 2023-09-15 22:13 UTC (permalink / raw) To: Liliana Marie Prikler, 65879; +Cc: rg, maxim.cournoyer Le mardi 12 septembre 2023 à 22:41 +0200, Liliana Marie Prikler a écrit : > GDB spits out the following: > > Thread 1 ".gnome-control-" received signal SIGABRT, Aborted. > 0x00007ffff60a3fec in __pthread_kill_implementation () from > /gnu/store/gsjczqir1wbz8p770zndrpw4rnppmxi3-glibc-2.35/lib/libc.so.6 > (gdb) up > #1 0x00007ffff605a202 in raise () from > /gnu/store/gsjczqir1wbz8p770zndrpw4rnppmxi3-glibc-2.35/lib/libc.so.6 > (gdb) > #2 0x00007ffff604545b in abort () from > /gnu/store/gsjczqir1wbz8p770zndrpw4rnppmxi3-glibc-2.35/lib/libc.so.6 > (gdb) > #3 0x00007ffff7c3fe62 in ?? () from > /gnu/store/ckysqidiiw88bw1kdyndjcrsakrysxkn-glib-2.76.1/lib/libglib- > 2.0.so.0 > (gdb) > #4 0x00007ffff7ca413b in g_assertion_message_expr () from > /gnu/store/ckysqidiiw88bw1kdyndjcrsakrysxkn-glib-2.76.1/lib/libglib- > 2.0.so.0 > (gdb) > #5 0x000000000045daaf in cc_object_storage_add_object () > (gdb) > #6 0x00000000005212d7 in cc_wifi_panel_static_init_func () > (gdb) Since it runs on a foreign distro, I would like to make sure that it’s not just a compatibility problem between the system network-manager service and the client library used by gnome-control-center. However, I cannot run guix system vm, because qemu is broken at the moment, and I did not find a way to run a guix system image. Vivien ^ permalink raw reply [flat|nested] 20+ messages in thread
* [bug#65879] [gnome-team v2 0/1] Still failing: Updage gnome-control-center and disable the firmware security panel 2023-09-15 22:13 ` Vivien Kraus via Guix-patches via @ 2023-09-16 4:02 ` Liliana Marie Prikler 2023-09-17 12:56 ` [bug#65879] [PATCH gnome-team v3 0/1] Gnome-control-center passes all tests, but still crashes Vivien Kraus via Guix-patches via 0 siblings, 1 reply; 20+ messages in thread From: Liliana Marie Prikler @ 2023-09-16 4:02 UTC (permalink / raw) To: Vivien Kraus, 65879; +Cc: rg, maxim.cournoyer Am Samstag, dem 16.09.2023 um 00:13 +0200 schrieb Vivien Kraus: > Le mardi 12 septembre 2023 à 22:41 +0200, Liliana Marie Prikler a > écrit : > > GDB spits out the following: > > > > Thread 1 ".gnome-control-" received signal SIGABRT, Aborted. > > 0x00007ffff60a3fec in __pthread_kill_implementation () from > > /gnu/store/gsjczqir1wbz8p770zndrpw4rnppmxi3-glibc- > > 2.35/lib/libc.so.6 > > (gdb) up > > #1 0x00007ffff605a202 in raise () from > > /gnu/store/gsjczqir1wbz8p770zndrpw4rnppmxi3-glibc- > > 2.35/lib/libc.so.6 > > (gdb) > > #2 0x00007ffff604545b in abort () from > > /gnu/store/gsjczqir1wbz8p770zndrpw4rnppmxi3-glibc- > > 2.35/lib/libc.so.6 > > (gdb) > > #3 0x00007ffff7c3fe62 in ?? () from > > /gnu/store/ckysqidiiw88bw1kdyndjcrsakrysxkn-glib- > > 2.76.1/lib/libglib- > > 2.0.so.0 > > (gdb) > > #4 0x00007ffff7ca413b in g_assertion_message_expr () from > > /gnu/store/ckysqidiiw88bw1kdyndjcrsakrysxkn-glib- > > 2.76.1/lib/libglib- > > 2.0.so.0 > > (gdb) > > #5 0x000000000045daaf in cc_object_storage_add_object () > > (gdb) > > #6 0x00000000005212d7 in cc_wifi_panel_static_init_func () > > (gdb) > > Since it runs on a foreign distro, I would like to make sure that > it’s not just a compatibility problem between the system network- > manager service and the client library used by gnome-control-center. > However, I cannot run guix system vm, because qemu is broken at the > moment, and I did not find a way to run a guix system image. You can probably fake that using dbus-run-session, but again note the disabled test; I'm not sure you will get a good result. As for the qemu thing, maybe that takes priority then? :) Cheers ^ permalink raw reply [flat|nested] 20+ messages in thread
* [bug#65879] [PATCH gnome-team v3 0/1] Gnome-control-center passes all tests, but still crashes 2023-09-16 4:02 ` Liliana Marie Prikler @ 2023-09-17 12:56 ` Vivien Kraus via Guix-patches via 2023-09-11 21:26 ` [bug#65879] [PATCH gnome-team v3 1/1] gnu: gnome-control-center: Update to 44.3 Vivien Kraus via Guix-patches via 0 siblings, 1 reply; 20+ messages in thread From: Vivien Kraus via Guix-patches via @ 2023-09-17 12:56 UTC (permalink / raw) To: Liliana Marie Prikler, 65879; +Cc: rg, maxim.cournoyer Hi! I copied the test setup environment from gnome-shell to gnome-control-center, and now all the tests pass. Debian has a patch to disable the network panel tests, because it could be slow. I could build it on emulated i686 with no problem, though. gnome-control-center still crashes, even if I set up the environment as in tests. My hypothesis is now that there is an incompatibility between the networkmanager d-bus service already running and the libnma used to compile gnome-control-center. It may be possible that a fully upgraded system works without problem, but I need qemu to test that with guix system vm. Best regards, Vivien Vivien Kraus (1): gnu: gnome-control-center: Update to 44.3. gnu/local.mk | 1 + gnu/packages/gnome.scm | 43 +++++++++++++------ ...ome-control-center-firmware-security.patch | 33 ++++++++++++++ 3 files changed, 64 insertions(+), 13 deletions(-) create mode 100644 gnu/packages/patches/gnome-control-center-firmware-security.patch base-commit: e9ff5d51e3297089e66c124195e1f1b42dbded65 -- 2.41.0 ^ permalink raw reply [flat|nested] 20+ messages in thread
* [bug#65879] [PATCH gnome-team v3 1/1] gnu: gnome-control-center: Update to 44.3. 2023-09-17 12:56 ` [bug#65879] [PATCH gnome-team v3 0/1] Gnome-control-center passes all tests, but still crashes Vivien Kraus via Guix-patches via @ 2023-09-11 21:26 ` Vivien Kraus via Guix-patches via 2023-09-17 13:37 ` Liliana Marie Prikler 0 siblings, 1 reply; 20+ messages in thread From: Vivien Kraus via Guix-patches via @ 2023-09-11 21:26 UTC (permalink / raw) To: Liliana Marie Prikler, 65879; +Cc: rg, maxim.cournoyer * gnu/packages/gnome.scm (gnome-control-center): Update to 44.3. [#:phases]<patch-paths>: Upstream already uses /run/setuid-programs/passwd. Querying the GNOME version is done through dbus now. Set up the test environment as gnome-shell, and run tests under dbus-run-session. [#:phases] <skip-gtk-update-icon-cache>: The icon cache update should be disabled differently. [#:phases] <check>: Override the check phase to run under dbus. [native-inputs]: Add setxkbmap. * gnu/packages/patches/gnome-control-center-firmware-security.patch: Disable the firmware security panel. * gnu/packages/gnome.scm (gnome-control-center): Apply the patch to disable the firmware security panel. * gnu/local.mk (dist_patch_DATA): Distribute the patch to disable the firmware security panel. --- gnu/local.mk | 1 + gnu/packages/gnome.scm | 43 +++++++++++++------ ...ome-control-center-firmware-security.patch | 33 ++++++++++++++ 3 files changed, 64 insertions(+), 13 deletions(-) create mode 100644 gnu/packages/patches/gnome-control-center-firmware-security.patch diff --git a/gnu/local.mk b/gnu/local.mk index db21feb507..96560d72e7 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -1309,6 +1309,7 @@ dist_patch_DATA = \ %D%/packages/patches/gmp-faulty-test.patch \ %D%/packages/patches/gnash-fix-giflib-version.patch \ %D%/packages/patches/gnome-2048-fix-positional-argument.patch \ + %D%/packages/patches/gnome-control-center-firmware-security.patch \ %D%/packages/patches/gnome-control-center-libexecdir.patch \ %D%/packages/patches/gnome-online-miners-tracker-3.patch \ %D%/packages/patches/gnome-settings-daemon-gc.patch \ diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 2077478ff2..ff36967194 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -9016,7 +9016,7 @@ (define-public gnome-bluetooth (define-public gnome-control-center (package (name "gnome-control-center") - (version "42.4") + (version "44.3") (source (origin (method url-fetch) (uri (string-append "mirror://gnome/sources/" name "/" @@ -9024,7 +9024,10 @@ (define-public gnome-control-center name "-" version ".tar.xz")) (sha256 (base32 - "1ln5rch6zbfh3vl2nnnmw39bylgg38rin6xp7ra0ra4ay3wv3gvs")))) + "0yhcm0c0ghkfqswqlkwcln3jpaz6jzvqaph2c3lgmv635w2nash6")) + (patches + (search-patches + "gnome-control-center-firmware-security.patch")))) (build-system meson-build-system) (arguments (list @@ -9048,19 +9051,32 @@ (define-public gnome-control-center "panels/network/connection-editor/net-connection-editor.c") (("\"nm-connection-editor") (string-append "\"" (search-input-file - inputs "bin/nm-connection-editor")))) - (substitute* "panels/user-accounts/run-passwd.c" - (("/usr/bin/passwd") - "/run/setuid-programs/passwd")) - (substitute* "panels/info-overview/cc-info-overview-panel.c" - (("DATADIR \"/gnome/gnome-version.xml\"") - (format #f "~s" (search-input-file - inputs "share/gnome/gnome-version.xml")))))) + inputs "bin/nm-connection-editor")))))) (add-after 'unpack 'skip-gtk-update-icon-cache ;; Don't create 'icon-theme.cache'. (lambda _ - (substitute* "build-aux/meson/meson_post_install.py" - (("gtk-update-icon-cache") (which "true")))))))) + (substitute* "meson.build" + (("gtk_update_icon_cache: true") + "gtk_update_icon_cache: false")))) + (replace 'check + (lambda* (#:key parallel-tests? tests? #:allow-other-keys) + (when tests? + ;; Tests require a running X server. + (system "Xvfb :1 &") + (setenv "DISPLAY" ":1") + ;; For the missing /var/lib/dbus/machine-id + (setenv "DBUS_FATAL_WARNINGS" "0") + (setenv "NO_AT_BRIDGE" "1") + (setenv "HOME" "/tmp") + (setenv "XDG_RUNTIME_DIR" (string-append (getcwd) "/runtime-dir")) + (mkdir (getenv "XDG_RUNTIME_DIR")) + (chmod (getenv "XDG_RUNTIME_DIR") #o700) + (setenv "MESON_TESTTHREADS" + (if parallel-tests? + (number->string (parallel-job-count)) + "1")) + (invoke "dbus-run-session" "--" + "meson" "test" "-t" "0"))))))) (native-inputs (list docbook-xsl gettext-minimal @@ -9069,7 +9085,8 @@ (define-public gnome-control-center pkg-config python python-dbusmock - xorg-server-for-tests)) + xorg-server-for-tests + setxkbmap)) (inputs (list accountsservice colord-gtk diff --git a/gnu/packages/patches/gnome-control-center-firmware-security.patch b/gnu/packages/patches/gnome-control-center-firmware-security.patch new file mode 100644 index 0000000000..fd9d7b8ff4 --- /dev/null +++ b/gnu/packages/patches/gnome-control-center-firmware-security.patch @@ -0,0 +1,33 @@ +From: Jeremy Bicha <jeremy.bicha@canonical.com> +Date: Mon, 22 Aug 2022 08:31:15 -0400 +Subject: firmware-security: Disable + +Not yet useful enough to justify its inclusion by default here + +You can get the same info by running +fwupdmgr security + +If you drop this patch, add a Depends: fwupd [linux-any] + +https://launchpad.net/bugs/1987162 + +https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/1938 + +[Stolen from the debian package] +--- + shell/cc-panel-loader.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/shell/cc-panel-loader.c b/shell/cc-panel-loader.c +index 17f9601..1b819a5 100644 +--- a/shell/cc-panel-loader.c ++++ b/shell/cc-panel-loader.c +@@ -113,7 +113,7 @@ static CcPanelLoaderVtable default_panels[] = + PANEL_TYPE("info-overview", cc_info_overview_panel_get_type, NULL), + PANEL_TYPE("keyboard", cc_keyboard_panel_get_type, NULL), + PANEL_TYPE("location", cc_location_panel_get_type, NULL), +- PANEL_TYPE("firmware-security",cc_firmware_security_panel_get_type, cc_firmware_security_panel_static_init_func), ++ // PANEL_TYPE("firmware-security",cc_firmware_security_panel_get_type, cc_firmware_security_panel_static_init_func), + PANEL_TYPE("microphone", cc_microphone_panel_get_type, NULL), + PANEL_TYPE("mouse", cc_mouse_panel_get_type, NULL), + PANEL_TYPE("multitasking", cc_multitasking_panel_get_type, NULL), -- 2.41.0 ^ permalink raw reply related [flat|nested] 20+ messages in thread
* [bug#65879] [PATCH gnome-team v3 1/1] gnu: gnome-control-center: Update to 44.3. 2023-09-11 21:26 ` [bug#65879] [PATCH gnome-team v3 1/1] gnu: gnome-control-center: Update to 44.3 Vivien Kraus via Guix-patches via @ 2023-09-17 13:37 ` Liliana Marie Prikler 2023-09-17 14:12 ` [bug#65879] [PATCH gnome-team v4 0/2] Commit style update − still failing Vivien Kraus via Guix-patches via 0 siblings, 1 reply; 20+ messages in thread From: Liliana Marie Prikler @ 2023-09-17 13:37 UTC (permalink / raw) To: Vivien Kraus, 65879; +Cc: rg, maxim.cournoyer Am Montag, dem 11.09.2023 um 23:26 +0200 schrieb Vivien Kraus: > * gnu/packages/gnome.scm (gnome-control-center): Update to 44.3. > [#:phases]<patch-paths>: Upstream already uses > /run/setuid-programs/passwd. Querying the GNOME version is done > through dbus > now. Set up the test environment as gnome-shell, and run tests under > dbus-run-session. This can be "[#:phases]<patch-paths>: Adjust accordingly." imho. For a lengthier discussion, you can use the pre-ChangeLog blurb, should you need it. > [#:phases] <skip-gtk-update-icon-cache>: The icon cache update should > be disabled differently. You can drop the [#:phases] prefix. Also, adjust accordingly – this pattern is already well known throughout the rest of gnome and should probably be put into meson-build-system itself at some point. > [#:phases] <check>: Override the check phase to run under dbus. Here, just drop the [#:phases] prefix. > [native-inputs]: Add setxkbmap. > * gnu/packages/patches/gnome-control-center-firmware-security.patch: > Disable > the firmware security panel. > * gnu/packages/gnome.scm (gnome-control-center): Apply the patch to > disable > the firmware security panel. > * gnu/local.mk (dist_patch_DATA): Distribute the patch to disable > the firmware security panel. I wonder what's this about the firmware security panel :) The trio is usually patch: New file. packages/module.scm (package): Use it here. gnu/local.mk (dist_patch_DATA): Register it here. Note that you have two blocks for gnome-control-center now. I think you should the patch and gnu/local.mk first so that you can have the rest of the ChangeLog for the "important" changes :) > --- > gnu/local.mk | 1 + > gnu/packages/gnome.scm | 43 +++++++++++++---- > -- > ...ome-control-center-firmware-security.patch | 33 ++++++++++++++ > 3 files changed, 64 insertions(+), 13 deletions(-) > [...] By the way, there's no need to send a cover letter for a single patch. Just add your comments below the "---" line. The biggest issue that keeps me from pushing this is the reported crash; we should be able to at least somehow get a working gnome-control-center even if it means spawning an extra dbus session from a pure shell or something. If you can resolve this by testing in qemu, then fine, but until you do, let's keep this on the wait list :) Cheers ^ permalink raw reply [flat|nested] 20+ messages in thread
* [bug#65879] [PATCH gnome-team v4 0/2] Commit style update − still failing 2023-09-17 13:37 ` Liliana Marie Prikler @ 2023-09-17 14:12 ` Vivien Kraus via Guix-patches via 2023-09-11 21:26 ` [bug#65879] [PATCH gnome-team v4 2/2] gnu: gnome-control-center: Update to 44.3 Vivien Kraus via Guix-patches via ` (2 more replies) 0 siblings, 3 replies; 20+ messages in thread From: Vivien Kraus via Guix-patches via @ 2023-09-17 14:12 UTC (permalink / raw) To: Liliana Marie Prikler, 65879; +Cc: rg, maxim.cournoyer [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1: Type: text/plain, Size: 1346 bytes --] Hi! I split the patch in 2, first to add the patch, and then to do the update. Is it better that way? > I wonder what's this about the firmware security panel :) I’m sorry for messing up the commit style. You made the charitable assumption that there was something more than my negligence here, but unfortunately I’m just to blame. > The biggest issue that keeps me from pushing this is the reported crash; we > should be able to at least somehow get a working gnome-control-center even > if it means spawning an extra dbus session from a pure shell or something. > If you can resolve this by testing in qemu, then fine, but until you do, > let's keep this on the wait list :) I keep the gnome-shell idea in mind too. Anyway, I’ll wait for CI to rebuild qemu once it is merged. Vivien Vivien Kraus (2): gnu: gnome-control-center: Add gnome-control-center-firmware-security.patch. gnu: gnome-control-center: Update to 44.3. gnu/local.mk | 1 + gnu/packages/gnome.scm | 43 +++++++++++++------ ...ome-control-center-firmware-security.patch | 33 ++++++++++++++ 3 files changed, 64 insertions(+), 13 deletions(-) create mode 100644 gnu/packages/patches/gnome-control-center-firmware-security.patch base-commit: e9ff5d51e3297089e66c124195e1f1b42dbded65 -- 2.41.0 ^ permalink raw reply [flat|nested] 20+ messages in thread
* [bug#65879] [PATCH gnome-team v4 2/2] gnu: gnome-control-center: Update to 44.3. 2023-09-17 14:12 ` [bug#65879] [PATCH gnome-team v4 0/2] Commit style update − still failing Vivien Kraus via Guix-patches via @ 2023-09-11 21:26 ` Vivien Kraus via Guix-patches via 2023-10-09 20:38 ` bug#65879: " Liliana Marie Prikler 2023-09-17 14:08 ` [bug#65879] [PATCH gnome-team v4 1/2] gnu: gnome-control-center: Add gnome-control-center-firmware-security.patch Vivien Kraus via Guix-patches via 2023-09-17 16:23 ` [bug#65879] [PATCH gnome-team v4 0/2] Commit style update − still failing Liliana Marie Prikler 2 siblings, 1 reply; 20+ messages in thread From: Vivien Kraus via Guix-patches via @ 2023-09-11 21:26 UTC (permalink / raw) To: Liliana Marie Prikler, 65879; +Cc: rg, maxim.cournoyer Some previous fixes have been merged upstream. The gnome version is now read from a dbus service, and passwd is already searched in /run/setuid-programs. In order to let the tests run, we use the same tests environment as gnome-shell. * gnu/packages/gnome.scm (gnome-control-center): Update to 44.3. Apply gnome-control-center-firmware-security.patch. [#:phases]<patch-paths>: Adjust accordingly. <skip-gtk-update-icon-cache>: Adjust accordingly. <check>: Override the check phase to run under dbus. [native-inputs]: Add setxkbmap. --- gnu/packages/gnome.scm | 43 +++++++++++++++++++++++++++++------------- 1 file changed, 30 insertions(+), 13 deletions(-) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 2077478ff2..ff36967194 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -9016,7 +9016,7 @@ (define-public gnome-bluetooth (define-public gnome-control-center (package (name "gnome-control-center") - (version "42.4") + (version "44.3") (source (origin (method url-fetch) (uri (string-append "mirror://gnome/sources/" name "/" @@ -9024,7 +9024,10 @@ (define-public gnome-control-center name "-" version ".tar.xz")) (sha256 (base32 - "1ln5rch6zbfh3vl2nnnmw39bylgg38rin6xp7ra0ra4ay3wv3gvs")))) + "0yhcm0c0ghkfqswqlkwcln3jpaz6jzvqaph2c3lgmv635w2nash6")) + (patches + (search-patches + "gnome-control-center-firmware-security.patch")))) (build-system meson-build-system) (arguments (list @@ -9048,19 +9051,32 @@ (define-public gnome-control-center "panels/network/connection-editor/net-connection-editor.c") (("\"nm-connection-editor") (string-append "\"" (search-input-file - inputs "bin/nm-connection-editor")))) - (substitute* "panels/user-accounts/run-passwd.c" - (("/usr/bin/passwd") - "/run/setuid-programs/passwd")) - (substitute* "panels/info-overview/cc-info-overview-panel.c" - (("DATADIR \"/gnome/gnome-version.xml\"") - (format #f "~s" (search-input-file - inputs "share/gnome/gnome-version.xml")))))) + inputs "bin/nm-connection-editor")))))) (add-after 'unpack 'skip-gtk-update-icon-cache ;; Don't create 'icon-theme.cache'. (lambda _ - (substitute* "build-aux/meson/meson_post_install.py" - (("gtk-update-icon-cache") (which "true")))))))) + (substitute* "meson.build" + (("gtk_update_icon_cache: true") + "gtk_update_icon_cache: false")))) + (replace 'check + (lambda* (#:key parallel-tests? tests? #:allow-other-keys) + (when tests? + ;; Tests require a running X server. + (system "Xvfb :1 &") + (setenv "DISPLAY" ":1") + ;; For the missing /var/lib/dbus/machine-id + (setenv "DBUS_FATAL_WARNINGS" "0") + (setenv "NO_AT_BRIDGE" "1") + (setenv "HOME" "/tmp") + (setenv "XDG_RUNTIME_DIR" (string-append (getcwd) "/runtime-dir")) + (mkdir (getenv "XDG_RUNTIME_DIR")) + (chmod (getenv "XDG_RUNTIME_DIR") #o700) + (setenv "MESON_TESTTHREADS" + (if parallel-tests? + (number->string (parallel-job-count)) + "1")) + (invoke "dbus-run-session" "--" + "meson" "test" "-t" "0"))))))) (native-inputs (list docbook-xsl gettext-minimal @@ -9069,7 +9085,8 @@ (define-public gnome-control-center pkg-config python python-dbusmock - xorg-server-for-tests)) + xorg-server-for-tests + setxkbmap)) (inputs (list accountsservice colord-gtk -- 2.41.0 ^ permalink raw reply related [flat|nested] 20+ messages in thread
* bug#65879: [PATCH gnome-team v4 2/2] gnu: gnome-control-center: Update to 44.3. 2023-09-11 21:26 ` [bug#65879] [PATCH gnome-team v4 2/2] gnu: gnome-control-center: Update to 44.3 Vivien Kraus via Guix-patches via @ 2023-10-09 20:38 ` Liliana Marie Prikler 0 siblings, 0 replies; 20+ messages in thread From: Liliana Marie Prikler @ 2023-10-09 20:38 UTC (permalink / raw) To: Vivien Kraus, 65879-done; +Cc: rg, maxim.cournoyer Am Montag, dem 11.09.2023 um 23:26 +0200 schrieb Vivien Kraus: > Some previous fixes have been merged upstream. The gnome version is > now read from a dbus service, and passwd is already searched in > /run/setuid-programs. > > In order to let the tests run, we use the same tests environment as > gnome-shell. > > * gnu/packages/gnome.scm (gnome-control-center): Update to 44.3. > Apply gnome-control-center-firmware-security.patch. > [#:phases]<patch-paths>: Adjust accordingly. > <skip-gtk-update-icon-cache>: Adjust accordingly. > <check>: Override the check phase to run under dbus. > [native-inputs]: Add setxkbmap. > --- Pushed now together with the dbus change. Thanks ^ permalink raw reply [flat|nested] 20+ messages in thread
* [bug#65879] [PATCH gnome-team v4 1/2] gnu: gnome-control-center: Add gnome-control-center-firmware-security.patch. 2023-09-17 14:12 ` [bug#65879] [PATCH gnome-team v4 0/2] Commit style update − still failing Vivien Kraus via Guix-patches via 2023-09-11 21:26 ` [bug#65879] [PATCH gnome-team v4 2/2] gnu: gnome-control-center: Update to 44.3 Vivien Kraus via Guix-patches via @ 2023-09-17 14:08 ` Vivien Kraus via Guix-patches via 2023-09-17 16:23 ` [bug#65879] [PATCH gnome-team v4 0/2] Commit style update − still failing Liliana Marie Prikler 2 siblings, 0 replies; 20+ messages in thread From: Vivien Kraus via Guix-patches via @ 2023-09-17 14:08 UTC (permalink / raw) To: Liliana Marie Prikler, 65879; +Cc: rg, maxim.cournoyer This patch disables the firmware panel for future gnome-control-center versions. * gnu/packages/patches/gnome-control-center-firmware-security.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it here. --- gnu/local.mk | 1 + ...ome-control-center-firmware-security.patch | 33 +++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 gnu/packages/patches/gnome-control-center-firmware-security.patch diff --git a/gnu/local.mk b/gnu/local.mk index db21feb507..96560d72e7 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -1309,6 +1309,7 @@ dist_patch_DATA = \ %D%/packages/patches/gmp-faulty-test.patch \ %D%/packages/patches/gnash-fix-giflib-version.patch \ %D%/packages/patches/gnome-2048-fix-positional-argument.patch \ + %D%/packages/patches/gnome-control-center-firmware-security.patch \ %D%/packages/patches/gnome-control-center-libexecdir.patch \ %D%/packages/patches/gnome-online-miners-tracker-3.patch \ %D%/packages/patches/gnome-settings-daemon-gc.patch \ diff --git a/gnu/packages/patches/gnome-control-center-firmware-security.patch b/gnu/packages/patches/gnome-control-center-firmware-security.patch new file mode 100644 index 0000000000..fd9d7b8ff4 --- /dev/null +++ b/gnu/packages/patches/gnome-control-center-firmware-security.patch @@ -0,0 +1,33 @@ +From: Jeremy Bicha <jeremy.bicha@canonical.com> +Date: Mon, 22 Aug 2022 08:31:15 -0400 +Subject: firmware-security: Disable + +Not yet useful enough to justify its inclusion by default here + +You can get the same info by running +fwupdmgr security + +If you drop this patch, add a Depends: fwupd [linux-any] + +https://launchpad.net/bugs/1987162 + +https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/1938 + +[Stolen from the debian package] +--- + shell/cc-panel-loader.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/shell/cc-panel-loader.c b/shell/cc-panel-loader.c +index 17f9601..1b819a5 100644 +--- a/shell/cc-panel-loader.c ++++ b/shell/cc-panel-loader.c +@@ -113,7 +113,7 @@ static CcPanelLoaderVtable default_panels[] = + PANEL_TYPE("info-overview", cc_info_overview_panel_get_type, NULL), + PANEL_TYPE("keyboard", cc_keyboard_panel_get_type, NULL), + PANEL_TYPE("location", cc_location_panel_get_type, NULL), +- PANEL_TYPE("firmware-security",cc_firmware_security_panel_get_type, cc_firmware_security_panel_static_init_func), ++ // PANEL_TYPE("firmware-security",cc_firmware_security_panel_get_type, cc_firmware_security_panel_static_init_func), + PANEL_TYPE("microphone", cc_microphone_panel_get_type, NULL), + PANEL_TYPE("mouse", cc_mouse_panel_get_type, NULL), + PANEL_TYPE("multitasking", cc_multitasking_panel_get_type, NULL), -- 2.41.0 ^ permalink raw reply related [flat|nested] 20+ messages in thread
* [bug#65879] [PATCH gnome-team v4 0/2] Commit style update − still failing 2023-09-17 14:12 ` [bug#65879] [PATCH gnome-team v4 0/2] Commit style update − still failing Vivien Kraus via Guix-patches via 2023-09-11 21:26 ` [bug#65879] [PATCH gnome-team v4 2/2] gnu: gnome-control-center: Update to 44.3 Vivien Kraus via Guix-patches via 2023-09-17 14:08 ` [bug#65879] [PATCH gnome-team v4 1/2] gnu: gnome-control-center: Add gnome-control-center-firmware-security.patch Vivien Kraus via Guix-patches via @ 2023-09-17 16:23 ` Liliana Marie Prikler 2 siblings, 0 replies; 20+ messages in thread From: Liliana Marie Prikler @ 2023-09-17 16:23 UTC (permalink / raw) To: Vivien Kraus, 65879; +Cc: rg, maxim.cournoyer Am Sonntag, dem 17.09.2023 um 16:12 +0200 schrieb Vivien Kraus: > Hi! > > I split the patch in 2, first to add the patch, and then to do the > update. Is it better that way? > > > I wonder what's this about the firmware security panel :) > > I’m sorry for messing up the commit style. You made the charitable > assumption that there was something more than my negligence here, but > unfortunately I’m just to blame. It's fine – two patches or one both work. Sorry for being a little cheeky in my review. > > The biggest issue that keeps me from pushing this is the reported > > crash; we should be able to at least somehow get a working > > gnome-control-center even if it means spawning an extra dbus > > session from a pure shell or something. > > If you can resolve this by testing in qemu, then fine, but until > > you do, let's keep this on the wait list :) > > I keep the gnome-shell idea in mind too. Anyway, I’ll wait for CI to > rebuild qemu once it is merged. Note, qemu builds locally even with the first patch removed, so I'll push that next weekend. Happy hacking in the meantime! ^ permalink raw reply [flat|nested] 20+ messages in thread
* [bug#65879] [gnome-team 0/1] Update gnome-control-center 2023-09-11 21:31 [bug#65879] [gnome-team 0/1] Update gnome-control-center Vivien Kraus via Guix-patches via 2023-09-11 21:26 ` [bug#65879] [gnome-team 1/1] gnu: gnome-control-center: Update to 44.3 Vivien Kraus via Guix-patches via @ 2023-10-08 12:04 ` Vivien Kraus via Guix-patches via 1 sibling, 0 replies; 20+ messages in thread From: Vivien Kraus via Guix-patches via @ 2023-10-08 12:04 UTC (permalink / raw) To: 65879 Dear guix, When I symlink /var/run/dbus to /run/dbus, gnome-control-center starts (it is beautiful). Best regards, Vivien ^ permalink raw reply [flat|nested] 20+ messages in thread
end of thread, other threads:[~2023-10-09 20:39 UTC | newest] Thread overview: 20+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2023-09-11 21:31 [bug#65879] [gnome-team 0/1] Update gnome-control-center Vivien Kraus via Guix-patches via 2023-09-11 21:26 ` [bug#65879] [gnome-team 1/1] gnu: gnome-control-center: Update to 44.3 Vivien Kraus via Guix-patches via 2023-09-12 4:15 ` Liliana Marie Prikler 2023-09-12 10:03 ` Vivien Kraus via Guix-patches via 2023-09-12 18:25 ` Liliana Marie Prikler 2023-09-12 19:00 ` [bug#65879] [gnome-team v2 0/1] Still failing: Updage gnome-control-center and disable the firmware security panel Vivien Kraus via Guix-patches via 2023-09-11 21:26 ` [bug#65879] [gnome-team v2 1/1] gnu: gnome-control-center: Update to 44.3 Vivien Kraus via Guix-patches via 2023-09-12 20:41 ` [bug#65879] [gnome-team v2 0/1] Still failing: Updage gnome-control-center and disable the firmware security panel Liliana Marie Prikler 2023-09-12 22:31 ` Vivien Kraus via Guix-patches via 2023-09-15 22:13 ` Vivien Kraus via Guix-patches via 2023-09-16 4:02 ` Liliana Marie Prikler 2023-09-17 12:56 ` [bug#65879] [PATCH gnome-team v3 0/1] Gnome-control-center passes all tests, but still crashes Vivien Kraus via Guix-patches via 2023-09-11 21:26 ` [bug#65879] [PATCH gnome-team v3 1/1] gnu: gnome-control-center: Update to 44.3 Vivien Kraus via Guix-patches via 2023-09-17 13:37 ` Liliana Marie Prikler 2023-09-17 14:12 ` [bug#65879] [PATCH gnome-team v4 0/2] Commit style update − still failing Vivien Kraus via Guix-patches via 2023-09-11 21:26 ` [bug#65879] [PATCH gnome-team v4 2/2] gnu: gnome-control-center: Update to 44.3 Vivien Kraus via Guix-patches via 2023-10-09 20:38 ` bug#65879: " Liliana Marie Prikler 2023-09-17 14:08 ` [bug#65879] [PATCH gnome-team v4 1/2] gnu: gnome-control-center: Add gnome-control-center-firmware-security.patch Vivien Kraus via Guix-patches via 2023-09-17 16:23 ` [bug#65879] [PATCH gnome-team v4 0/2] Commit style update − still failing Liliana Marie Prikler 2023-10-08 12:04 ` [bug#65879] [gnome-team 0/1] Update gnome-control-center Vivien Kraus via Guix-patches via
Code repositories for project(s) associated with this public inbox https://git.savannah.gnu.org/cgit/guix.git This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).