From b28a603d1053feaaa1c43f68db9e873bbe37c535 Mon Sep 17 00:00:00 2001 From: tigro Date: Mon, 23 Dec 2024 14:24:52 +0300 Subject: [PATCH] Update to v63 --- .gitignore | 2 +- .gnome-shell-extension-arcmenu.metadata | 2 +- SOURCES/0001-Customize-Arc-Menu.patch | 64 ++--- .../0002-Added-MSVSphere-symbolic-icon.patch | 144 ++++++++++ SOURCES/0002-Display-on-all-monitors.patch | 25 -- ...stem-name-from-MSVSPHERE_PRETTY_NAME.patch | 25 ++ ...set-a-hotkey-Super-X-to-open-ArcMenu.patch | 25 -- .../0004-Added-MSVSphere-symbolic-icon.patch | 264 ------------------ ...stem-name-from-MSVSPHERE_PRETTY_NAME.patch | 25 -- SPECS/gnome-shell-extension-arcmenu.spec | 21 +- 10 files changed, 206 insertions(+), 391 deletions(-) create mode 100644 SOURCES/0002-Added-MSVSphere-symbolic-icon.patch delete mode 100644 SOURCES/0002-Display-on-all-monitors.patch create mode 100644 SOURCES/0003-Read-system-name-from-MSVSPHERE_PRETTY_NAME.patch delete mode 100644 SOURCES/0003-set-a-hotkey-Super-X-to-open-ArcMenu.patch delete mode 100644 SOURCES/0004-Added-MSVSphere-symbolic-icon.patch delete mode 100644 SOURCES/0005-Read-system-name-from-MSVSPHERE_PRETTY_NAME.patch diff --git a/.gitignore b/.gitignore index da78f57..7486931 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/ArcMenu-v27.tar.bz2 +SOURCES/ArcMenu-v63.tar.bz2 diff --git a/.gnome-shell-extension-arcmenu.metadata b/.gnome-shell-extension-arcmenu.metadata index ba0b000..51a83eb 100644 --- a/.gnome-shell-extension-arcmenu.metadata +++ b/.gnome-shell-extension-arcmenu.metadata @@ -1 +1 @@ -a9c7c62ff83550cc5036a2b0ea2a754d05d3e2ea SOURCES/ArcMenu-v27.tar.bz2 +3c3770b59819031a196a4375c5ac536de635ab4e SOURCES/ArcMenu-v63.tar.bz2 diff --git a/SOURCES/0001-Customize-Arc-Menu.patch b/SOURCES/0001-Customize-Arc-Menu.patch index 16dfbb1..997a452 100644 --- a/SOURCES/0001-Customize-Arc-Menu.patch +++ b/SOURCES/0001-Customize-Arc-Menu.patch @@ -1,64 +1,52 @@ -From 54def8303329e0321e8b91b07585c4b204dc7580 Mon Sep 17 00:00:00 2001 -From: tigro -Date: Wed, 9 Aug 2023 18:03:33 +0300 +From 74341cb42604f014f11362cb4ee428ee12f010ac Mon Sep 17 00:00:00 2001 +From: tigro +Date: Mon, 23 Dec 2024 14:06:21 +0300 Subject: [PATCH 1/3] Customize Arc Menu --- - .../org.gnome.shell.extensions.arcmenu.gschema.xml | 12 ++++++------ - 1 file changed, 6 insertions(+), 6 deletions(-) + schemas/org.gnome.shell.extensions.arcmenu.gschema.xml | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/schemas/org.gnome.shell.extensions.arcmenu.gschema.xml b/schemas/org.gnome.shell.extensions.arcmenu.gschema.xml -index 9638cb6..450b222 100644 +index 4311e18..dc1c467 100644 --- a/schemas/org.gnome.shell.extensions.arcmenu.gschema.xml +++ b/schemas/org.gnome.shell.extensions.arcmenu.gschema.xml -@@ -124,7 +124,7 @@ - Menu position alignment 0 = Left, 50 = Center, 100 = Right +@@ -134,7 +134,7 @@ + Menu position alignment - 'Default' + 'Windows' menu layout - Menu Layout -@@ -614,7 +614,7 @@ - Text of the menu button. + +@@ -468,7 +468,7 @@ + Display type for power options + + +- false ++ true + Display on all monitors + + +@@ -552,7 +552,7 @@ + Text of the menu button. -- 'Arc_Menu_Icon' +- 'Menu_Icon' + 'Custom_Icon' - Icon of the menu button. - Icon of the menu button. + Icon type for the menu button. -@@ -629,12 +629,12 @@ - Icon of the menu button. + +@@ -564,7 +564,7 @@ + Distro icon integer value for the menu button. - '' + '/usr/share/icons/hicolor/256x256/apps/fedora-logo-icon.png' File path of the custom icon for the menu button. - File path of the custom icon for the menu button. -- 20 -+ 44 - Size of the icon in percentage. - Size of the icon in percentage. - -@@ -649,12 +649,12 @@ - Menu button position offset for main panel - - -- false -+ true - Override border radius styling of the menu button - Override border radius of the menu button. - - -- 0 -+ 10 - The border radius size of the menu button - The border radius size of the menu button. - -- -2.41.0 +2.47.1 diff --git a/SOURCES/0002-Added-MSVSphere-symbolic-icon.patch b/SOURCES/0002-Added-MSVSphere-symbolic-icon.patch new file mode 100644 index 0000000..a03e902 --- /dev/null +++ b/SOURCES/0002-Added-MSVSphere-symbolic-icon.patch @@ -0,0 +1,144 @@ +From 04b0521f14b082f89f6612b02934af37e50576cd Mon Sep 17 00:00:00 2001 +From: tigro +Date: Mon, 23 Dec 2024 14:13:35 +0300 +Subject: [PATCH 2/3] Added MSVSphere symbolic icon + +--- + constants.js | 1 + + .../actions/distro-msvsphere-symbolic.svg | 112 ++++++++++++++++++ + 2 files changed, 113 insertions(+) + create mode 100644 icons/hicolor/16x16/actions/distro-msvsphere-symbolic.svg + +diff --git a/constants.js b/constants.js +index 626a5f8..05c9c16 100644 +--- a/constants.js ++++ b/constants.js +@@ -370,6 +370,7 @@ export const DistroIcons = [ + {PATH: 'distro-cachyos-symbolic', NAME: 'CachyOS'}, + {PATH: 'distro-nixos-symbolic', NAME: 'NixOS'}, + {PATH: 'distro-oreon-symbolic', NAME: 'Oreon OS'}, ++ {PATH: 'distro-msvsphere-symbolic', NAME: 'MSVSphere OS'}, + ]; + + export const MenuLayout = { +diff --git a/icons/hicolor/16x16/actions/distro-msvsphere-symbolic.svg b/icons/hicolor/16x16/actions/distro-msvsphere-symbolic.svg +new file mode 100644 +index 0000000..7b3cafc +--- /dev/null ++++ b/icons/hicolor/16x16/actions/distro-msvsphere-symbolic.svg +@@ -0,0 +1,112 @@ ++ ++ ++ ++ +-- +2.47.1 + diff --git a/SOURCES/0002-Display-on-all-monitors.patch b/SOURCES/0002-Display-on-all-monitors.patch deleted file mode 100644 index 9ebab90..0000000 --- a/SOURCES/0002-Display-on-all-monitors.patch +++ /dev/null @@ -1,25 +0,0 @@ -From b43a4e3bba422a38e55716133d7da8f2bbad3b45 Mon Sep 17 00:00:00 2001 -From: tigro -Date: Mon, 4 Sep 2023 19:25:29 +0300 -Subject: [PATCH 2/3] Display on all monitors - ---- - schemas/org.gnome.shell.extensions.arcmenu.gschema.xml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/schemas/org.gnome.shell.extensions.arcmenu.gschema.xml b/schemas/org.gnome.shell.extensions.arcmenu.gschema.xml -index 450b222..92b66ce 100644 ---- a/schemas/org.gnome.shell.extensions.arcmenu.gschema.xml -+++ b/schemas/org.gnome.shell.extensions.arcmenu.gschema.xml -@@ -509,7 +509,7 @@ - See Constants.js PowerOptions - - -- false -+ true - Display on all monitors - Display the menu on all monitors when using Dash to Panel. - --- -2.41.0 - diff --git a/SOURCES/0003-Read-system-name-from-MSVSPHERE_PRETTY_NAME.patch b/SOURCES/0003-Read-system-name-from-MSVSPHERE_PRETTY_NAME.patch new file mode 100644 index 0000000..65adb26 --- /dev/null +++ b/SOURCES/0003-Read-system-name-from-MSVSPHERE_PRETTY_NAME.patch @@ -0,0 +1,25 @@ +From 04ebf78369c0b0be24f7572a9574d01d3908092d Mon Sep 17 00:00:00 2001 +From: tigro +Date: Mon, 23 Dec 2024 14:15:23 +0300 +Subject: [PATCH 3/3] Read system name from MSVSPHERE_PRETTY_NAME + +--- + settings/AboutPage.js | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/settings/AboutPage.js b/settings/AboutPage.js +index f82c44f..3bff65e 100644 +--- a/settings/AboutPage.js ++++ b/settings/AboutPage.js +@@ -95,7 +95,7 @@ class ArcMenuAboutPage extends Adw.PreferencesPage { + }); + + const name = GLib.get_os_info('NAME'); +- const prettyName = GLib.get_os_info('PRETTY_NAME'); ++ const prettyName = GLib.get_os_info('MSVSPHERE_PRETTY_NAME'); + + osRow.add_suffix(new Gtk.Label({ + label: prettyName ? prettyName : name, +-- +2.47.1 + diff --git a/SOURCES/0003-set-a-hotkey-Super-X-to-open-ArcMenu.patch b/SOURCES/0003-set-a-hotkey-Super-X-to-open-ArcMenu.patch deleted file mode 100644 index 15b289b..0000000 --- a/SOURCES/0003-set-a-hotkey-Super-X-to-open-ArcMenu.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 717f755e03fd2e51edee587d8ff2e8e9df466131 Mon Sep 17 00:00:00 2001 -From: tigro -Date: Mon, 4 Sep 2023 19:26:29 +0300 -Subject: [PATCH 3/3] set a hotkey (Super-X) to open ArcMenu - ---- - schemas/org.gnome.shell.extensions.arcmenu.gschema.xml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/schemas/org.gnome.shell.extensions.arcmenu.gschema.xml b/schemas/org.gnome.shell.extensions.arcmenu.gschema.xml -index 92b66ce..ace9cc9 100644 ---- a/schemas/org.gnome.shell.extensions.arcmenu.gschema.xml -+++ b/schemas/org.gnome.shell.extensions.arcmenu.gschema.xml -@@ -534,7 +534,7 @@ - Custom hot corner terminal command. - - -- 'Undefined' -+ 'Custom' - Set a hotkey to open ArcMenu - Set a hotkey to open ArcMenu. - --- -2.41.0 - diff --git a/SOURCES/0004-Added-MSVSphere-symbolic-icon.patch b/SOURCES/0004-Added-MSVSphere-symbolic-icon.patch deleted file mode 100644 index 491d740..0000000 --- a/SOURCES/0004-Added-MSVSphere-symbolic-icon.patch +++ /dev/null @@ -1,264 +0,0 @@ -From 7140b1a3bfe857a4ec6b810d7f82d535b0a034f5 Mon Sep 17 00:00:00 2001 -From: tigro -Date: Thu, 7 Sep 2023 15:02:38 +0300 -Subject: [PATCH] Added MSVSphere symbolic icon - ---- - constants.js | 1 + - .../distro_icons/msvsphere-logo-symbolic.svg | 112 ++++++++++++++++++ - .../16x16/actions/msvsphere-logo-symbolic.svg | 112 ++++++++++++++++++ - 3 files changed, 225 insertions(+) - create mode 100644 media/icons/menu_button_icons/distro_icons/msvsphere-logo-symbolic.svg - create mode 100644 media/icons/prefs_icons/hicolor/16x16/actions/msvsphere-logo-symbolic.svg - -diff --git a/constants.js b/constants.js -index 082cb4b..43cd926 100644 ---- a/constants.js -+++ b/constants.js -@@ -348,6 +348,7 @@ var DistroIcons = [ - { PATH: '/media/icons/menu_button_icons/distro_icons/voyager-logo-symbolic.svg'}, - { PATH: '/media/icons/menu_button_icons/distro_icons/zorin-logo-symbolic.svg'}, - { PATH: '/media/icons/menu_button_icons/distro_icons/endeavour-logo-symbolic.svg'}, -+ { PATH: '/media/icons/menu_button_icons/distro_icons/msvsphere-logo-symbolic.svg'}, - ] - - var MenuLayout = { -diff --git a/media/icons/menu_button_icons/distro_icons/msvsphere-logo-symbolic.svg b/media/icons/menu_button_icons/distro_icons/msvsphere-logo-symbolic.svg -new file mode 100644 -index 0000000..7b3cafc ---- /dev/null -+++ b/media/icons/menu_button_icons/distro_icons/msvsphere-logo-symbolic.svg -@@ -0,0 +1,112 @@ -+ -+ -+ -+ -diff --git a/media/icons/prefs_icons/hicolor/16x16/actions/msvsphere-logo-symbolic.svg b/media/icons/prefs_icons/hicolor/16x16/actions/msvsphere-logo-symbolic.svg -new file mode 100644 -index 0000000..7b3cafc ---- /dev/null -+++ b/media/icons/prefs_icons/hicolor/16x16/actions/msvsphere-logo-symbolic.svg -@@ -0,0 +1,112 @@ -+ -+ -+ -+ --- -2.41.0 - diff --git a/SOURCES/0005-Read-system-name-from-MSVSPHERE_PRETTY_NAME.patch b/SOURCES/0005-Read-system-name-from-MSVSPHERE_PRETTY_NAME.patch deleted file mode 100644 index 82b73f9..0000000 --- a/SOURCES/0005-Read-system-name-from-MSVSPHERE_PRETTY_NAME.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 5e5077142a0cfd7a18621275010c0682b02e20cf Mon Sep 17 00:00:00 2001 -From: tigro -Date: Fri, 27 Oct 2023 11:55:33 +0300 -Subject: [PATCH 5/5] Read system name from MSVSPHERE_PRETTY_NAME - ---- - prefs.js | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/prefs.js b/prefs.js -index 916491b..07de5ea 100644 ---- a/prefs.js -+++ b/prefs.js -@@ -6364,7 +6364,7 @@ var AboutPage = GObject.registerClass( - }); - let osInfoText; - let name = GLib.get_os_info("NAME"); -- let prettyName = GLib.get_os_info("PRETTY_NAME"); -+ let prettyName = GLib.get_os_info("MSVSPHERE_PRETTY_NAME"); - if(prettyName) - osInfoText = prettyName; - else --- -2.41.0 - diff --git a/SPECS/gnome-shell-extension-arcmenu.spec b/SPECS/gnome-shell-extension-arcmenu.spec index 6376150..e9a978f 100644 --- a/SPECS/gnome-shell-extension-arcmenu.spec +++ b/SPECS/gnome-shell-extension-arcmenu.spec @@ -4,17 +4,15 @@ Summary: Gnome shell extension designed to replace the standard menu Name: gnome-shell-extension-arcmenu -Version: 27 -Release: 9%{dist} +Version: 63 +Release: 1%{dist} License: GPLv2 URL: https://gitlab.com/arcmenu/ArcMenu/ Source0: https://gitlab.com/arcmenu/ArcMenu/-/archive/v%{version}/ArcMenu-v%{version}.tar.bz2 Patch0: 0001-Customize-Arc-Menu.patch -Patch1: 0002-Display-on-all-monitors.patch -Patch2: 0003-set-a-hotkey-Super-X-to-open-ArcMenu.patch -Patch4: 0004-Added-MSVSphere-symbolic-icon.patch -Patch5: 0005-Read-system-name-from-MSVSPHERE_PRETTY_NAME.patch +Patch1: 0002-Added-MSVSphere-symbolic-icon.patch +Patch2: 0003-Read-system-name-from-MSVSPHERE_PRETTY_NAME.patch BuildArch: noarch @@ -58,14 +56,13 @@ mkdir -p %{buildroot}%{_datadir}/pixmaps/ %files -f %{realnamel}.lang %doc README.md -%{_datadir}/gnome-shell/extensions/%{uuid}/*.js -%{_datadir}/gnome-shell/extensions/%{uuid}/*.json -%{_datadir}/gnome-shell/extensions/%{uuid}/media -%{_datadir}/gnome-shell/extensions/%{uuid}/menulayouts -%{_datadir}/gnome-shell/extensions/%{uuid}/schemas -%{_datadir}/gnome-shell/extensions/%{uuid}/searchProviders +%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.arcmenu.gschema.xml +%{_datadir}/gnome-shell/extensions/%{uuid} %changelog +* Mon Dec 23 2024 Arkady L. Shane - 63-1 +- Update to v63 + * Fri Oct 27 2023 Arkady L. Shane - 27-9 - Read system name from MSVSPHERE_PRETTY_NAME