From eb8f93fe3f71dccbaf6d1b79388d1d179ea9158c Mon Sep 17 00:00:00 2001 From: Alexey Lyubimov Date: Tue, 20 Feb 2024 14:53:08 +0300 Subject: [PATCH] initial build for MSVSphere 8.9 --- .gitignore | 2 +- .gnome-shell-extension-arc-menu.metadata | 1 + .gnome-shell-extension-arcmenu.metadata | 1 - SOURCES/0001-Customize-Arc-Menu.patch | 48 ++---- SOURCES/0002-Display-on-all-monitors.patch | 24 +-- ...et-a-hotkey-Super-X-to-open-Arc-Menu.patch | 25 +++ ...set-a-hotkey-Super-X-to-open-ArcMenu.patch | 25 --- .../0004-Added-MSVSphere-symbolic-icon.patch | 158 +++--------------- ...stem-name-from-MSVSPHERE_PRETTY_NAME.patch | 25 --- SOURCES/0006-Grow-Left-panel-size.patch | 26 +-- .../0007-Configuring-Mint-menu-layout.patch | 25 +++ ...ec => gnome-shell-extension-arc-menu.spec} | 28 ++-- 12 files changed, 128 insertions(+), 260 deletions(-) create mode 100644 .gnome-shell-extension-arc-menu.metadata delete mode 100644 .gnome-shell-extension-arcmenu.metadata create mode 100644 SOURCES/0003-set-a-hotkey-Super-X-to-open-Arc-Menu.patch delete mode 100644 SOURCES/0003-set-a-hotkey-Super-X-to-open-ArcMenu.patch delete mode 100644 SOURCES/0005-Read-system-name-from-MSVSPHERE_PRETTY_NAME.patch create mode 100644 SOURCES/0007-Configuring-Mint-menu-layout.patch rename SPECS/{gnome-shell-extension-arcmenu.spec => gnome-shell-extension-arc-menu.spec} (79%) diff --git a/.gitignore b/.gitignore index da78f57..d3c8646 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/ArcMenu-v27.tar.bz2 +SOURCES/Arc-Menu-v42-Stable.tar.bz2 diff --git a/.gnome-shell-extension-arc-menu.metadata b/.gnome-shell-extension-arc-menu.metadata new file mode 100644 index 0000000..e492828 --- /dev/null +++ b/.gnome-shell-extension-arc-menu.metadata @@ -0,0 +1 @@ +100a87071441f4c0643cbc39f695e008f1998d25 SOURCES/Arc-Menu-v42-Stable.tar.bz2 diff --git a/.gnome-shell-extension-arcmenu.metadata b/.gnome-shell-extension-arcmenu.metadata deleted file mode 100644 index ba0b000..0000000 --- a/.gnome-shell-extension-arcmenu.metadata +++ /dev/null @@ -1 +0,0 @@ -a9c7c62ff83550cc5036a2b0ea2a754d05d3e2ea SOURCES/ArcMenu-v27.tar.bz2 diff --git a/SOURCES/0001-Customize-Arc-Menu.patch b/SOURCES/0001-Customize-Arc-Menu.patch index 16dfbb1..3ee6f56 100644 --- a/SOURCES/0001-Customize-Arc-Menu.patch +++ b/SOURCES/0001-Customize-Arc-Menu.patch @@ -1,37 +1,34 @@ -From 54def8303329e0321e8b91b07585c4b204dc7580 Mon Sep 17 00:00:00 2001 -From: tigro -Date: Wed, 9 Aug 2023 18:03:33 +0300 -Subject: [PATCH 1/3] Customize Arc Menu +From a0142331f61d9714839bc1338ca6f63ab5c96e0c Mon Sep 17 00:00:00 2001 +From: Alexey Lyubimov +Date: Fri, 16 Feb 2024 12:22:35 +0300 +Subject: [PATCH] Customize-Arc-Menu --- - .../org.gnome.shell.extensions.arcmenu.gschema.xml | 12 ++++++------ - 1 file changed, 6 insertions(+), 6 deletions(-) + schemas/org.gnome.shell.extensions.arc-menu.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 ---- a/schemas/org.gnome.shell.extensions.arcmenu.gschema.xml -+++ b/schemas/org.gnome.shell.extensions.arcmenu.gschema.xml -@@ -124,7 +124,7 @@ +diff --git a/schemas/org.gnome.shell.extensions.arc-menu.gschema.xml b/schemas/org.gnome.shell.extensions.arc-menu.gschema.xml +index 5e65176..c775625 100644 +--- a/schemas/org.gnome.shell.extensions.arc-menu.gschema.xml ++++ b/schemas/org.gnome.shell.extensions.arc-menu.gschema.xml +@@ -80,7 +80,7 @@ Menu position alignment 0 = Left, 50 = Center, 100 = Right - + - 'Default' + 'Windows' menu layout Menu Layout -@@ -614,7 +614,7 @@ +@@ -340,17 +340,17 @@ Text of the menu button. - + - 'Arc_Menu_Icon' + 'Custom_Icon' Icon of the menu button. Icon of the menu button. -@@ -629,12 +629,12 @@ - Icon of the menu button. - - '' + '/usr/share/icons/hicolor/256x256/apps/fedora-logo-icon.png' @@ -44,21 +41,6 @@ index 9638cb6..450b222 100644 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.39.3 diff --git a/SOURCES/0002-Display-on-all-monitors.patch b/SOURCES/0002-Display-on-all-monitors.patch index 9ebab90..6b8653e 100644 --- a/SOURCES/0002-Display-on-all-monitors.patch +++ b/SOURCES/0002-Display-on-all-monitors.patch @@ -1,18 +1,18 @@ -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 +From 176d6fc79ef8ceae5092a16e2947a211838c7502 Mon Sep 17 00:00:00 2001 +From: Alexey Lyubimov +Date: Fri, 16 Feb 2024 12:25:11 +0300 +Subject: [PATCH] Display-on-all-monitors --- - schemas/org.gnome.shell.extensions.arcmenu.gschema.xml | 2 +- + schemas/org.gnome.shell.extensions.arc-menu.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 +diff --git a/schemas/org.gnome.shell.extensions.arc-menu.gschema.xml b/schemas/org.gnome.shell.extensions.arc-menu.gschema.xml +index c775625..01aa50f 100644 +--- a/schemas/org.gnome.shell.extensions.arc-menu.gschema.xml ++++ b/schemas/org.gnome.shell.extensions.arc-menu.gschema.xml +@@ -260,7 +260,7 @@ + Show power button. - false @@ -21,5 +21,5 @@ index 450b222..92b66ce 100644 Display the menu on all monitors when using Dash to Panel. -- -2.41.0 +2.39.3 diff --git a/SOURCES/0003-set-a-hotkey-Super-X-to-open-Arc-Menu.patch b/SOURCES/0003-set-a-hotkey-Super-X-to-open-Arc-Menu.patch new file mode 100644 index 0000000..7da7992 --- /dev/null +++ b/SOURCES/0003-set-a-hotkey-Super-X-to-open-Arc-Menu.patch @@ -0,0 +1,25 @@ +From 36e655c2bb60b3cbbc55d9dbf8f6a84b38705042 Mon Sep 17 00:00:00 2001 +From: Alexey Lyubimov +Date: Fri, 16 Feb 2024 12:27:56 +0300 +Subject: [PATCH] set-a-hotkey-Super-X-to-open-ArcMenu + +--- + schemas/org.gnome.shell.extensions.arc-menu.gschema.xml | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/schemas/org.gnome.shell.extensions.arc-menu.gschema.xml b/schemas/org.gnome.shell.extensions.arc-menu.gschema.xml +index 01aa50f..8dbe89f 100644 +--- a/schemas/org.gnome.shell.extensions.arc-menu.gschema.xml ++++ b/schemas/org.gnome.shell.extensions.arc-menu.gschema.xml +@@ -285,7 +285,7 @@ + Custom hot corner terminal command. + + +- 'Undefined' ++ 'Custom' + The menu hotkey to open the Arc Menu. + The menu hotkey to open the Arc Menu. + +-- +2.39.3 + 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 index 491d740..93c856c 100644 --- a/SOURCES/0004-Added-MSVSphere-symbolic-icon.patch +++ b/SOURCES/0004-Added-MSVSphere-symbolic-icon.patch @@ -1,151 +1,33 @@ -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 +From c4d65629fdf950332b5211364924212347f5a8d5 Mon Sep 17 00:00:00 2001 +From: Alexey Lyubimov +Date: Fri, 16 Feb 2024 20:24:41 +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 + constants.js | 3 +- + media/icons/msvsphere-logo-symbolic.svg | 112 ++++++++++++++++++++++++ + 2 files changed, 114 insertions(+), 1 deletion(-) + create mode 100644 media/icons/msvsphere-logo-symbolic.svg diff --git a/constants.js b/constants.js -index 082cb4b..43cd926 100644 +index 7775891..f0190f4 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'}, +@@ -172,7 +172,8 @@ var MENU_ICONS = [ + { name: _("Lins"), path: '/media/icons/lins-symbolic.svg'}, + { name: _("Diamond Square"), path: '/media/icons/diamond-square-symbolic.svg'}, + { name: _("Octo Maze"), path: '/media/icons/octo-maze-symbolic.svg'}, +- { name: _("Search"), path: '/media/icons/search-symbolic.svg'} ++ { name: _("Search"), path: '/media/icons/search-symbolic.svg'}, ++ { name: _("MSVSphere logo symbolic"), path: '/media/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 + var MENU_STYLE_CHOOSER = { +diff --git a/media/icons/msvsphere-logo-symbolic.svg b/media/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 ++++ b/media/icons/msvsphere-logo-symbolic.svg @@ -0,0 +1,112 @@ + + @@ -260,5 +142,5 @@ index 0000000..7b3cafc + id="path16" + style="fill:#cccccc;fill-opacity:1" /> -- -2.41.0 +2.39.3 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/SOURCES/0006-Grow-Left-panel-size.patch b/SOURCES/0006-Grow-Left-panel-size.patch index 2c3092a..c007839 100644 --- a/SOURCES/0006-Grow-Left-panel-size.patch +++ b/SOURCES/0006-Grow-Left-panel-size.patch @@ -1,25 +1,25 @@ -From ff2b78b14422577618cde828a87fef846de0fdb0 Mon Sep 17 00:00:00 2001 -From: tigro -Date: Fri, 27 Oct 2023 16:28:17 +0300 -Subject: [PATCH 6/6] Grow Left panel size +From fbc9d4a9aeecc4e6dcbdb5104f16c3e7952e9ef5 Mon Sep 17 00:00:00 2001 +From: Alexey Lyubimov +Date: Mon, 19 Feb 2024 13:14:22 +0300 +Subject: [PATCH] Grow Left panel size --- - schemas/org.gnome.shell.extensions.arcmenu.gschema.xml | 2 +- + schemas/org.gnome.shell.extensions.arc-menu.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 56a5682..ef867cf 100644 ---- a/schemas/org.gnome.shell.extensions.arcmenu.gschema.xml -+++ b/schemas/org.gnome.shell.extensions.arcmenu.gschema.xml -@@ -454,7 +454,7 @@ +diff --git a/schemas/org.gnome.shell.extensions.arc-menu.gschema.xml b/schemas/org.gnome.shell.extensions.arc-menu.gschema.xml +index f2c2355..cc10e72 100644 +--- a/schemas/org.gnome.shell.extensions.arc-menu.gschema.xml ++++ b/schemas/org.gnome.shell.extensions.arc-menu.gschema.xml +@@ -205,7 +205,7 @@ Menu Height. -- 290 -+ 390 +- 290 ++ 390 Menu width Menu width. -- -2.41.0 +2.43.2 diff --git a/SOURCES/0007-Configuring-Mint-menu-layout.patch b/SOURCES/0007-Configuring-Mint-menu-layout.patch new file mode 100644 index 0000000..1096048 --- /dev/null +++ b/SOURCES/0007-Configuring-Mint-menu-layout.patch @@ -0,0 +1,25 @@ +From add851b6c98cf40abf959a87995a9e7d435ede6a Mon Sep 17 00:00:00 2001 +From: Alexey Lyubimov +Date: Mon, 19 Feb 2024 13:08:55 +0300 +Subject: [PATCH] Configuring Mint menu layout + +--- + schemas/org.gnome.shell.extensions.arc-menu.gschema.xml | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/schemas/org.gnome.shell.extensions.arc-menu.gschema.xml b/schemas/org.gnome.shell.extensions.arc-menu.gschema.xml +index 8dbe89f..f2c2355 100644 +--- a/schemas/org.gnome.shell.extensions.arc-menu.gschema.xml ++++ b/schemas/org.gnome.shell.extensions.arc-menu.gschema.xml +@@ -80,7 +80,7 @@ + Menu position alignment 0 = Left, 50 = Center, 100 = Right + + +- 'Windows' ++ 'Mint' + menu layout + Menu Layout + +-- +2.43.2 + diff --git a/SPECS/gnome-shell-extension-arcmenu.spec b/SPECS/gnome-shell-extension-arc-menu.spec similarity index 79% rename from SPECS/gnome-shell-extension-arcmenu.spec rename to SPECS/gnome-shell-extension-arc-menu.spec index 7a756eb..fe988c6 100644 --- a/SPECS/gnome-shell-extension-arcmenu.spec +++ b/SPECS/gnome-shell-extension-arc-menu.spec @@ -1,21 +1,21 @@ -%global realname ArcMenu -%global uuid arcmenu@arcmenu.com -%global realnamel arcmenu +%global realname Arc-Menu +%global uuid arc-menu@linxgem33.com +%global realnamel arc-menu Summary: Gnome shell extension designed to replace the standard menu -Name: gnome-shell-extension-arcmenu -Version: 27 -Release: 11%{dist} +Name: gnome-shell-extension-arc-menu +Version: 42 +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 +URL: https://gitlab.com/LinxGem33/Arc-Menu +Source0: https://gitlab.com/LinxGem33/Arc-Menu/-/archive/v%{version}-Stable/Arc-Menu-v%{version}-Stable.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 +Patch2: 0003-set-a-hotkey-Super-X-to-open-Arc-Menu.patch Patch4: 0004-Added-MSVSphere-symbolic-icon.patch -Patch5: 0005-Read-system-name-from-MSVSPHERE_PRETTY_NAME.patch Patch6: 0006-Grow-Left-panel-size.patch +Patch7: 0007-Configuring-Mint-menu-layout.patch BuildArch: noarch @@ -37,7 +37,7 @@ system settings and other features which can be accessed from the settings menu. %prep -%autosetup -n %{realname}-v%{version} -p1 +%autosetup -n %{realname}-v%{version}-Stable -p1 %build %make_build @@ -64,9 +64,13 @@ mkdir -p %{buildroot}%{_datadir}/pixmaps/ %{_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}/gnome-shell/extensions/%{uuid}/AUTHORS +%{_datadir}/gnome-shell/extensions/%{uuid}/stylesheet.css %changelog +* Thu Feb 08 2024 Alexey Lyubimov - 42-1 +- initial build for MSVSphere 8.9 + * Fri Oct 27 2023 Arkady L. Shane - 27-11 - Grow Left panel size to 390