From 8900f304a900b0c7408ed452241a09cd9021d153 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Tue, 26 Nov 2024 16:09:40 +0300 Subject: [PATCH] import gnome-shell-extension-dash-to-panel-62-4.el10 --- .gitignore | 1 + .gnome-shell-extension-dash-to-panel.metadata | 1 + ...001-Mark-as-compatible-with-GNOME-47.patch | 25 ++++++ ...n-dash-to-panel-system-install-paths.patch | 29 ++++++ .../gnome-shell-extension-dash-to-panel.spec | 90 +++++++++++++++++++ 5 files changed, 146 insertions(+) create mode 100644 .gitignore create mode 100644 .gnome-shell-extension-dash-to-panel.metadata create mode 100644 SOURCES/0001-Mark-as-compatible-with-GNOME-47.patch create mode 100644 SOURCES/gnome-shell-extension-dash-to-panel-system-install-paths.patch create mode 100644 SPECS/gnome-shell-extension-dash-to-panel.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7001a5d --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/gnome-shell-extension-dash-to-panel-62.tar.gz diff --git a/.gnome-shell-extension-dash-to-panel.metadata b/.gnome-shell-extension-dash-to-panel.metadata new file mode 100644 index 0000000..67cd360 --- /dev/null +++ b/.gnome-shell-extension-dash-to-panel.metadata @@ -0,0 +1 @@ +af8fb28d4a7f4684ab247479ac5acbc1ebd7fbf5 SOURCES/gnome-shell-extension-dash-to-panel-62.tar.gz diff --git a/SOURCES/0001-Mark-as-compatible-with-GNOME-47.patch b/SOURCES/0001-Mark-as-compatible-with-GNOME-47.patch new file mode 100644 index 0000000..a406b28 --- /dev/null +++ b/SOURCES/0001-Mark-as-compatible-with-GNOME-47.patch @@ -0,0 +1,25 @@ +From 64c679efc298bdcee920bc57c58228c61767706c Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Florian=20M=C3=BCllner?= +Date: Tue, 23 Jul 2024 15:51:59 -0600 +Subject: [PATCH] Mark as compatible with GNOME 47 + +--- + metadata.json | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/metadata.json b/metadata.json +index cbe0821..e2c7056 100644 +--- a/metadata.json ++++ b/metadata.json +@@ -3,7 +3,7 @@ + "uuid": "dash-to-panel@jderose9.github.com", + "name": "Dash to Panel", + "description": "An icon taskbar for the Gnome Shell. This extension moves the dash into the gnome main panel so that the application launchers and system tray are combined into a single panel, similar to that found in KDE Plasma and Windows 7+. A separate dock is no longer needed for easy access to running and favorited applications.\n\nFor a more traditional experience, you may also want to use Tweak Tool to enable Windows > Titlebar Buttons > Minimize & Maximize.\n\nFor the best support, please report any issues on Github. Dash-to-panel is developed and maintained by @jderose9 and @charlesg99.", +- "shell-version": [ "46" ], ++ "shell-version": [ "46", "47" ], + "url": "https://github.com/home-sweet-gnome/dash-to-panel", + "gettext-domain": "dash-to-panel", + "version": 9999, +-- +2.45.2 + diff --git a/SOURCES/gnome-shell-extension-dash-to-panel-system-install-paths.patch b/SOURCES/gnome-shell-extension-dash-to-panel-system-install-paths.patch new file mode 100644 index 0000000..c2a414f --- /dev/null +++ b/SOURCES/gnome-shell-extension-dash-to-panel-system-install-paths.patch @@ -0,0 +1,29 @@ +diff -up dash-to-panel-55/Makefile.orig dash-to-panel-55/Makefile +--- dash-to-panel-55/Makefile.orig 2023-03-09 16:32:54.000000000 +0100 ++++ dash-to-panel-55/Makefile 2023-03-15 13:42:54.227368912 +0100 +@@ -10,9 +10,12 @@ EXTRA_IMAGES = highlight_stacked_bg.svg + TOLOCALIZE = prefs.js appIcons.js + MSGSRC = $(wildcard po/*.po) + ifeq ($(strip $(DESTDIR)),) ++ INSTALLTYPE = local + INSTALLBASE = $(HOME)/.local/share/gnome-shell/extensions + else ++ INSTALLTYPE = system + INSTALLBASE = $(DESTDIR)/usr/share/gnome-shell/extensions ++ SHARE_PREFIX = $(DESTDIR)/usr/share + endif + INSTALLNAME = dash-to-panel@jderose9.github.com + +@@ -71,6 +74,12 @@ install-local: _build + rm -rf $(INSTALLBASE)/$(INSTALLNAME) + mkdir -p $(INSTALLBASE)/$(INSTALLNAME) + cp -r ./_build/* $(INSTALLBASE)/$(INSTALLNAME)/ ++ifeq ($(INSTALLTYPE),system) ++ rm -r $(INSTALLBASE)/$(INSTALLNAME)/schemas $(INSTALLBASE)/$(INSTALLNAME)/locale ++ mkdir -p $(SHARE_PREFIX)/glib-2.0/schemas $(SHARE_PREFIX)/locale ++ cp -r ./schemas/*gschema.* $(SHARE_PREFIX)/glib-2.0/schemas ++ cp -r ./_build/locale/* $(SHARE_PREFIX)/locale ++endif + -rm -fR _build + echo done + diff --git a/SPECS/gnome-shell-extension-dash-to-panel.spec b/SPECS/gnome-shell-extension-dash-to-panel.spec new file mode 100644 index 0000000..8c71072 --- /dev/null +++ b/SPECS/gnome-shell-extension-dash-to-panel.spec @@ -0,0 +1,90 @@ +%global ename dash-to-panel +%global extdir %{_datadir}/gnome-shell/extensions/dash-to-panel@jderose9.github.com + +Name: gnome-shell-extension-%{ename} +Version: 62 +Release: 4%{?dist} +Summary: Integrated icon taskbar and status panel for Gnome Shell +License: GPL-2.0-or-later +URL: https://github.com/home-sweet-gnome/dash-to-panel +Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz +# https://github.com/home-sweet-gnome/dash-to-panel/pull/1948 +Patch0: %{name}-system-install-paths.patch +Patch1: 0001-Mark-as-compatible-with-GNOME-47.patch +BuildArch: noarch +BuildRequires: gettext +BuildRequires: make +BuildRequires: %{_bindir}/glib-compile-schemas +Requires: gnome-shell >= 47~alpha + +%description +Dash to Panel is an icon taskbar for Gnome Shell. This extension moves the dash +into the gnome main panel so that the application launchers and system tray are +combined into a single panel, similar to that found in KDE Plasma and Windows +7+. A separate dock is no longer needed for easy access to running and favorited +applications. + +%prep +%autosetup -n %{ename}-%{version} -p1 + +%build +%make_build VERSION=%{version} + +%install +%make_install VERSION=%{version} +rm -v %{buildroot}%{extdir}/{COPYING,README.md} + +%find_lang %{ename} + +%files -f %{ename}.lang +%license COPYING +%doc README.md +%{extdir}/ +%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.%{ename}.gschema.xml + +%changelog +* Tue Nov 26 2024 MSVSphere Packaging Team - 62-4 +- Rebuilt for MSVSphere 10 + +* Mon Jun 24 2024 Troy Dawson - 62-3 +- Bump release for June 2024 mass rebuild + +* Thu May 23 2024 Dominik Mierzejewski - 62-2 +- rebuild without unused clutter dependency + +* Fri Apr 05 2024 Dominik Mierzejewski - 62-1 +- update to 62 (#2272810) + +* Sun Mar 24 2024 Dominik Mierzejewski - 61-1 +- update to 61 (#2271317) + +* Thu Mar 07 2024 Dominik Mierzejewski - 60-2 +- apply upstream PR for GNOME Shell 46 support (#2267061) + +* Sun Feb 04 2024 Dominik Mierzejewski - 60-1 +- update to 60 (#2257860) + +* Wed Jan 24 2024 Fedora Release Engineering - 59-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Jan 19 2024 Fedora Release Engineering - 59-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Mon Sep 25 2023 Dominik Mierzejewski - 59-1 +- update to 59 (resolves rhbz#2240510) +- drop obsolete patches + +* Thu Sep 07 2023 Dominik Mierzejewski - 56-1 +- update to 56 +- apply upstream patch and PR for GNOME Shell 45 support + +* Wed Jul 19 2023 Fedora Release Engineering - 55-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Wed Mar 15 2023 Dominik Mierzejewski - 55-2 +- correct run-time dependencies +- add explicit slash to extdir +- add missing comment + +* Wed Mar 15 2023 Dominik Mierzejewski - 55-1 +- intial package