From 6f076df277c9e8e036ae3344cfab053c022eb438 Mon Sep 17 00:00:00 2001 From: releng bot Date: Thu, 16 Mar 2023 08:00:25 +0000 Subject: [PATCH 1/4] Added the README --- README.md | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..62a56f3 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# gnome-shell-extension-dash-to-panel + +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. \ No newline at end of file From 644b0301f66cb75f0d4d45a1e256e94bc049b8da Mon Sep 17 00:00:00 2001 From: Dominik 'Rathann' Mierzejewski Date: Thu, 16 Mar 2023 11:35:41 +0100 Subject: [PATCH 2/4] initial package (rhbz#2178635) --- .gitignore | 1 + ...n-dash-to-panel-system-install-paths.patch | 29 +++++++++++ gnome-shell-extension-dash-to-panel.spec | 52 +++++++++++++++++++ sources | 1 + 4 files changed, 83 insertions(+) create mode 100644 .gitignore 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 new file mode 100644 index 0000000..4e93533 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/gnome-shell-extension-dash-to-panel-*.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..2b80cfc --- /dev/null +++ b/gnome-shell-extension-dash-to-panel.spec @@ -0,0 +1,52 @@ +%global ename dash-to-panel +%global extdir %{_datadir}/gnome-shell/extensions/dash-to-panel@jderose9.github.com + +Name: gnome-shell-extension-%{ename} +Version: 55 +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 +# correct install paths +Patch0: %{name}-system-install-paths.patch +BuildArch: noarch +BuildRequires: gettext +BuildRequires: make +BuildRequires: %{_bindir}/glib-compile-schemas +Requires: clutter +Requires: gnome-shell >= 42 + +%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 +* 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..e8e5226 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (gnome-shell-extension-dash-to-panel-55.tar.gz) = a3aa47c6c881a2adc1498a84b1592e0d4b0782bfbc59e9d1a08916ccc75304625d875c3ba59908a2bcacd386941ec3ffe9d0c4f842d77b85b4073e327b6803c0 From f1785205749eab5c98bbd9f3386467c250bc0171 Mon Sep 17 00:00:00 2001 From: Dominik 'Rathann' Mierzejewski Date: Thu, 7 Sep 2023 15:08:01 +0200 Subject: [PATCH 3/4] update to 56 --- gnome-shell-extension-dash-to-panel.spec | 7 +++++-- sources | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/gnome-shell-extension-dash-to-panel.spec b/gnome-shell-extension-dash-to-panel.spec index 2b80cfc..e439156 100644 --- a/gnome-shell-extension-dash-to-panel.spec +++ b/gnome-shell-extension-dash-to-panel.spec @@ -2,8 +2,8 @@ %global extdir %{_datadir}/gnome-shell/extensions/dash-to-panel@jderose9.github.com Name: gnome-shell-extension-%{ename} -Version: 55 -Release: 2%{?dist} +Version: 56 +Release: 1%{?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 @@ -43,6 +43,9 @@ rm -v %{buildroot}%{extdir}/{COPYING,README.md} %{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.%{ename}.gschema.xml %changelog +* Thu Sep 07 2023 Dominik Mierzejewski - 56-1 +- update to 56 + * Wed Mar 15 2023 Dominik Mierzejewski - 55-2 - correct run-time dependencies - add explicit slash to extdir diff --git a/sources b/sources index e8e5226..46af22f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (gnome-shell-extension-dash-to-panel-55.tar.gz) = a3aa47c6c881a2adc1498a84b1592e0d4b0782bfbc59e9d1a08916ccc75304625d875c3ba59908a2bcacd386941ec3ffe9d0c4f842d77b85b4073e327b6803c0 +SHA512 (gnome-shell-extension-dash-to-panel-56.tar.gz) = f11da73e72bb5199e55067dc581c019624db301947460861e56b50488b8da0151a71e82676f03f9283d2931dc15e23b0e7c0a149310951757d21983b216db2e5 From 914c84ebd7849c0de241484e486b872bdf1c4c99 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Mon, 30 Oct 2023 22:17:33 +0300 Subject: [PATCH 4/4] Remove unnecessary files --- README.md | 3 --- sources | 1 - 2 files changed, 4 deletions(-) delete mode 100644 README.md delete mode 100644 sources diff --git a/README.md b/README.md deleted file mode 100644 index 62a56f3..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# gnome-shell-extension-dash-to-panel - -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. \ No newline at end of file diff --git a/sources b/sources deleted file mode 100644 index 46af22f..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (gnome-shell-extension-dash-to-panel-56.tar.gz) = f11da73e72bb5199e55067dc581c019624db301947460861e56b50488b8da0151a71e82676f03f9283d2931dc15e23b0e7c0a149310951757d21983b216db2e5