From aa01977dd7f24db842f8df018f9cbc13c5f3876d Mon Sep 17 00:00:00 2001 From: Tomas Popela Date: Mon, 27 May 2024 13:23:58 +0200 Subject: [PATCH] Initial import from Fedora 40 Resolves: RHEL-36288 --- .gitignore | 1 + ...n-dash-to-panel-system-install-paths.patch | 29 +++++++ gnome-shell-extension-dash-to-panel.spec | 83 +++++++++++++++++++ sources | 1 + 4 files changed, 114 insertions(+) create mode 100644 gnome-shell-extension-dash-to-panel-system-install-paths.patch create mode 100644 gnome-shell-extension-dash-to-panel.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..14eaa7c 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/gnome-shell-extension-dash-to-panel-62.tar.gz diff --git a/gnome-shell-extension-dash-to-panel-system-install-paths.patch b/gnome-shell-extension-dash-to-panel-system-install-paths.patch new file mode 100644 index 0000000..c2a414f --- /dev/null +++ b/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/gnome-shell-extension-dash-to-panel.spec b/gnome-shell-extension-dash-to-panel.spec new file mode 100644 index 0000000..1ed5d2b --- /dev/null +++ b/gnome-shell-extension-dash-to-panel.spec @@ -0,0 +1,83 @@ +%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: 2%{?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 +BuildArch: noarch +BuildRequires: gettext +BuildRequires: make +BuildRequires: %{_bindir}/glib-compile-schemas +Requires: gnome-shell >= 45~rc + +%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 +* 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 diff --git a/sources b/sources new file mode 100644 index 0000000..ad35aeb --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (gnome-shell-extension-dash-to-panel-62.tar.gz) = b3c9255b999bf5761245836666f1d95201ed484cb272875de5abccdf3fffd22eb7e5bca27eec75006d774d7f0567624619a53e3778afc0c53e07fa129f141ca6