2021-09-22 21:40:04 +00:00
|
|
|
From 4c467035e7f541cbe5d523497488caffecb61663 Mon Sep 17 00:00:00 2001
|
2021-06-01 11:07:53 +00:00
|
|
|
From: =?UTF-8?q?Pablo=20Correa=20G=C3=B3mez?= <ablocorrea@hotmail.com>
|
|
|
|
Date: Sun, 18 Jul 2021 20:53:01 +0200
|
2021-09-22 21:40:04 +00:00
|
|
|
Subject: [PATCH 1/8] Hide and disable building printer panel
|
2021-06-01 11:07:53 +00:00
|
|
|
|
|
|
|
The printer panel requires `libcups`, which is known to crash
|
|
|
|
in Alpine: https://gitlab.alpinelinux.org/alpine/aports/-/issues/11937
|
|
|
|
Opening the printer panel crashes g-c-c and prevents it from
|
|
|
|
opening again. Hide and do not build the panel until the upstream
|
|
|
|
issue is fixed
|
|
|
|
---
|
2021-09-22 21:40:04 +00:00
|
|
|
panels/meson.build | 1 -
|
|
|
|
shell/cc-panel-loader.c | 2 --
|
|
|
|
tests/meson.build | 1 -
|
|
|
|
3 files changed, 4 deletions(-)
|
2021-06-01 11:07:53 +00:00
|
|
|
|
|
|
|
diff --git a/panels/meson.build b/panels/meson.build
|
2021-09-22 21:40:04 +00:00
|
|
|
index f603db919..9df1ec2a3 100644
|
2021-06-01 11:07:53 +00:00
|
|
|
--- a/panels/meson.build
|
|
|
|
+++ b/panels/meson.build
|
2021-09-22 21:40:04 +00:00
|
|
|
@@ -19,7 +19,6 @@ panels = [
|
2021-06-01 11:07:53 +00:00
|
|
|
'notifications',
|
|
|
|
'online-accounts',
|
|
|
|
'power',
|
|
|
|
- 'printers',
|
|
|
|
'region',
|
|
|
|
'removable-media',
|
|
|
|
'search',
|
|
|
|
diff --git a/shell/cc-panel-loader.c b/shell/cc-panel-loader.c
|
2021-09-22 21:40:04 +00:00
|
|
|
index 67f3f1b46..48c587066 100644
|
2021-06-01 11:07:53 +00:00
|
|
|
--- a/shell/cc-panel-loader.c
|
|
|
|
+++ b/shell/cc-panel-loader.c
|
2021-09-22 21:40:04 +00:00
|
|
|
@@ -51,7 +51,6 @@ extern GType cc_wifi_panel_get_type (void);
|
2021-06-01 11:07:53 +00:00
|
|
|
extern GType cc_notifications_panel_get_type (void);
|
|
|
|
extern GType cc_goa_panel_get_type (void);
|
|
|
|
extern GType cc_power_panel_get_type (void);
|
|
|
|
-extern GType cc_printers_panel_get_type (void);
|
|
|
|
extern GType cc_region_panel_get_type (void);
|
|
|
|
extern GType cc_removable_media_panel_get_type (void);
|
|
|
|
extern GType cc_search_panel_get_type (void);
|
2021-09-22 21:40:04 +00:00
|
|
|
@@ -122,7 +121,6 @@ static CcPanelLoaderVtable default_panels[] =
|
2021-06-01 11:07:53 +00:00
|
|
|
PANEL_TYPE("notifications", cc_notifications_panel_get_type, NULL),
|
|
|
|
PANEL_TYPE("online-accounts", cc_goa_panel_get_type, NULL),
|
|
|
|
PANEL_TYPE("power", cc_power_panel_get_type, NULL),
|
|
|
|
- PANEL_TYPE("printers", cc_printers_panel_get_type, NULL),
|
|
|
|
PANEL_TYPE("region", cc_region_panel_get_type, NULL),
|
|
|
|
PANEL_TYPE("removable-media", cc_removable_media_panel_get_type, NULL),
|
|
|
|
PANEL_TYPE("search", cc_search_panel_get_type, NULL),
|
|
|
|
diff --git a/tests/meson.build b/tests/meson.build
|
|
|
|
index d4fe361ef..01f7c923c 100644
|
|
|
|
--- a/tests/meson.build
|
|
|
|
+++ b/tests/meson.build
|
|
|
|
@@ -6,5 +6,4 @@ endif
|
|
|
|
|
|
|
|
subdir('interactive-panels')
|
|
|
|
|
|
|
|
-subdir('printers')
|
|
|
|
subdir('info')
|
|
|
|
--
|
2021-09-22 21:40:04 +00:00
|
|
|
2.25.1
|
2021-06-01 11:07:53 +00:00
|
|
|
|