[packages/gnome-shell-extension-dash-to-panel] - new

baggins baggins at pld-linux.org
Sun Jun 22 00:07:35 CEST 2025


commit 985526da7b81fcf0946453f9b8a942d577970af1
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun Jun 22 02:07:14 2025 +0200

    - new

 gnome-shell-extension-dash-to-panel.spec | 45 ++++++++++++++++++++++++++++++++
 system-install-paths.patch               | 29 ++++++++++++++++++++
 2 files changed, 74 insertions(+)
---
diff --git a/gnome-shell-extension-dash-to-panel.spec b/gnome-shell-extension-dash-to-panel.spec
new file mode 100644
index 0000000..d9dae0f
--- /dev/null
+++ b/gnome-shell-extension-dash-to-panel.spec
@@ -0,0 +1,45 @@
+%define		extname	dash-to-panel
+Summary:	Integrated icon taskbar and status panel for Gnome Shell
+Name:		gnome-shell-extension-%{extname}
+Version:	68
+Release:	1
+License:	GPL-2.0-or-later
+Source0:	https://github.com/home-sweet-gnome/dash-to-panel/archive/v%{version}/%{name}-%{version}.tar.gz
+# Source0-md5:	a7ea7c04220c4f88085f8b8b24b01035
+# https://github.com/home-sweet-gnome/dash-to-panel/pull/1948
+Patch0:		system-install-paths.patch
+URL:		https://github.com/home-sweet-gnome/dash-to-panel
+BuildRequires:	%{_bindir}/glib-compile-schemas
+BuildRequires:	gettext
+Requires:	gnome-shell >= 45
+BuildArch:	noarch
+
+%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
+%setup -q -n %{extname}-%{version}
+%patch -P0 -p1
+
+%build
+%{__make} VERSION=%{version}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} install VERSION=%{version} \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%find_lang %{extname}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -f %{extname}.lang
+%defattr(644,root,root,755)
+%doc README.md
+%{_datadir}/gnome-shell/extensions/dash-to-panel at jderose9.github.com
+%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.%{extname}.gschema.xml
diff --git a/system-install-paths.patch b/system-install-paths.patch
new file mode 100644
index 0000000..038ec58
--- /dev/null
+++ b/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 = src/extension.js src/prefs.js src/appIcons.js src/taskbar.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 at 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
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gnome-shell-extension-dash-to-panel.git/commitdiff/985526da7b81fcf0946453f9b8a942d577970af1



More information about the pld-cvs-commit mailing list