mirror of
https://git.freebsd.org/ports.git
synced 2026-06-02 11:08:52 +00:00
deskutils/gnome-shell-extension-dashtopanel: Update to 68
Update to 68 Adjust pkg-message and move to files/ PR: 289489
This commit is contained in:
committed by
Don Lewis
parent
ff55f235d3
commit
00b4398da4
@@ -1,27 +1,44 @@
|
||||
PORTNAME= gnome-shell-extension-dashtopanel
|
||||
PORTVERSION= v46
|
||||
CATEGORIES= deskutils
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 70
|
||||
CATEGORIES= deskutils gnome
|
||||
DIST_SUBDIR= gnome
|
||||
|
||||
MAINTAINER= Alexander88207@protonmail.com
|
||||
MAINTAINER= gnome@FreeBSD.org
|
||||
COMMENT= Icon taskbar for the Gnome Shell
|
||||
WWW= https://github.com/home-sweet-gnome/dash-to-panel
|
||||
|
||||
LICENSE= GPLv2
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
BUILD_DEPENDS= git:devel/git \
|
||||
gsed:textproc/gsed \
|
||||
gsettings-desktop-schemas>=0:devel/gsettings-desktop-schemas
|
||||
BUILD_DEPENDS= gsettings-desktop-schemas>0:devel/gsettings-desktop-schemas
|
||||
RUN_DEPENDS= gnome-shell>=47.0:x11/gnome-shell
|
||||
|
||||
USES= gettext gmake
|
||||
USES= gettext-tools gmake gnome
|
||||
USE_GNOME= glib20 intltool:build
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= home-sweet-gnome
|
||||
GH_PROJECT= dash-to-panel
|
||||
|
||||
BINARY_ALIAS= sed=gsed
|
||||
UUID_EXTENSION= dash-to-panel@jderose9.github.com
|
||||
|
||||
SUB_FILES= pkg-message
|
||||
SUB_LIST= UUID=${UUID_EXTENSION}
|
||||
|
||||
GLIB_SCHEMAS= org.gnome.shell.extensions.dash-to-panel.gschema.xml
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|/usr/share/|${PREFIX}/share/|g' ${WRKSRC}/Makefile
|
||||
${REINPLACE_CMD} -e 's|: 9999|: ${DISTVERSION}|' \
|
||||
${WRKSRC}/metadata.json
|
||||
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \
|
||||
${WRKSRC}/Makefile
|
||||
|
||||
pre-install:
|
||||
@${MKDIR} ${STAGEDIR}${PREFIX}/share/glib-2.0/schemas
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/schemas/*.xml \
|
||||
${STAGEDIR}${PREFIX}/share/glib-2.0/schemas
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1650105595
|
||||
SHA256 (home-sweet-gnome-dash-to-panel-v46_GH0.tar.gz) = 181f455b74889795e4896e0f92de7391ac5ce9b13ae24cbd2430644b921428d3
|
||||
SIZE (home-sweet-gnome-dash-to-panel-v46_GH0.tar.gz) = 21156093
|
||||
TIMESTAMP = 1757775023
|
||||
SHA256 (gnome/home-sweet-gnome-dash-to-panel-v70_GH0.tar.gz) = 60ce7025417655b6dbdeaaf26eb351cbd4341a961fc76d79b2810279e3a4b5a2
|
||||
SIZE (gnome/home-sweet-gnome-dash-to-panel-v70_GH0.tar.gz) = 21268362
|
||||
|
||||
@@ -0,0 +1,81 @@
|
||||
--- Makefile.orig 2025-09-05 17:23:15 UTC
|
||||
+++ Makefile
|
||||
@@ -7,39 +7,15 @@ MSGSRC = $(wildcard po/*.po)
|
||||
|
||||
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
|
||||
+INSTALLBASE = $(DESTDIR)%%LOCALBASE%%/share/gnome-shell/extensions
|
||||
INSTALLNAME = dash-to-panel@jderose9.github.com
|
||||
|
||||
-# The command line passed variable VERSION is used to set the version string
|
||||
-# in the metadata and in the generated zip-file. If no VERSION is passed, the
|
||||
-# version is pulled from the latest git tag and the current commit SHA1 is
|
||||
-# added to the metadata
|
||||
-ifdef VERSION
|
||||
- ifdef TARGET
|
||||
- FILESUFFIX = _v$(VERSION)_$(TARGET)
|
||||
- else
|
||||
- FILESUFFIX = _v$(VERSION)
|
||||
- endif
|
||||
-else
|
||||
- LATEST_TAG = $(shell git describe --match "v[0-9]*" --abbrev=0 --tags HEAD)
|
||||
- VERSION = $(LATEST_TAG:v%=%)
|
||||
- COMMIT = $(shell git rev-parse HEAD)
|
||||
- FILESUFFIX =
|
||||
-endif
|
||||
-
|
||||
all: extension
|
||||
|
||||
clean:
|
||||
rm -f ./schemas/gschemas.compiled
|
||||
|
||||
-extension: ./schemas/gschemas.compiled $(MSGSRC:.po=.mo)
|
||||
+extension: $(MSGSRC:.po=.mo)
|
||||
|
||||
./schemas/gschemas.compiled: ./schemas/org.gnome.shell.extensions.dash-to-panel.gschema.xml
|
||||
glib-compile-schemas ./schemas/
|
||||
@@ -69,7 +45,6 @@ install-local: _build
|
||||
install: install-local
|
||||
|
||||
install-local: _build
|
||||
- rm -rf $(INSTALLBASE)/$(INSTALLNAME)
|
||||
mkdir -p $(INSTALLBASE)/$(INSTALLNAME)
|
||||
cp -r ./_build/* $(INSTALLBASE)/$(INSTALLNAME)/
|
||||
ifeq ($(INSTALLTYPE),system)
|
||||
@@ -88,17 +63,13 @@ _build: all
|
||||
-rm -fR _build
|
||||
|
||||
_build: all
|
||||
- -rm -fR ./_build
|
||||
mkdir -p _build
|
||||
- cp $(MODULES) _build
|
||||
+ cp $(MODULES) _build/
|
||||
mkdir -p _build/ui
|
||||
- cp $(UI_MODULES) _build/ui
|
||||
+ cp $(UI_MODULES) _build/ui/
|
||||
|
||||
mkdir -p _build/img
|
||||
cd img ; cp $(IMAGES) ../_build/img/
|
||||
- mkdir -p _build/schemas
|
||||
- cp schemas/*.xml _build/schemas/
|
||||
- cp schemas/gschemas.compiled _build/schemas/
|
||||
mkdir -p _build/locale
|
||||
for l in $(MSGSRC:.po=.mo) ; do \
|
||||
lf=_build/locale/`basename $$l .mo`; \
|
||||
@@ -106,8 +77,3 @@ _build: all
|
||||
mkdir -p $$lf/LC_MESSAGES; \
|
||||
cp $$l $$lf/LC_MESSAGES/dash-to-panel.mo; \
|
||||
done;
|
||||
-ifneq ($(and $(COMMIT),$(VERSION)),)
|
||||
- sed -i 's/"version": [[:digit:]][[:digit:]]*/"version": $(VERSION),\n"commit": "$(COMMIT)"/' _build/metadata.json;
|
||||
-else ifneq ($(VERSION),)
|
||||
- sed -i 's/"version": [[:digit:]][[:digit:]]*/"version": $(VERSION)/' _build/metadata.json;
|
||||
-endif
|
||||
@@ -0,0 +1,18 @@
|
||||
[
|
||||
{ type: install
|
||||
message: <<EOM
|
||||
To enable this extension:
|
||||
gsettings set org.gnome.shell enabled-extensions "['%%UUID%%']"
|
||||
|
||||
The gnome-shell must be restarted, press Alt+F2 and type 'r'.
|
||||
|
||||
To configure or disable an extension, after restarting the shell,
|
||||
you have to launch 'gnome-extensions-app'.
|
||||
|
||||
To disable this extension (before remove):
|
||||
gdbus call --session --dest org.gnome.Shell.Extensions \
|
||||
--object-path /org/gnome/Shell/Extensions \
|
||||
--method org.gnome.Shell.Extensions.DisableExtension %%UUID%%
|
||||
EOM
|
||||
}
|
||||
]
|
||||
@@ -1,13 +0,0 @@
|
||||
[
|
||||
{
|
||||
message: <<EOM
|
||||
This gnome-shell extension won't be usable until the gnome-shell
|
||||
gets restarted. To do so, running the shell, press ALT+F2 and
|
||||
type 'r'. That will restart the shell.
|
||||
|
||||
To enable or configure an extension, after restarting the shell, you
|
||||
have to open a new gnome-tweak-tool instance. The new extension
|
||||
should appear in the extensions section.
|
||||
EOM
|
||||
}
|
||||
]
|
||||
@@ -1,12 +1,16 @@
|
||||
share/gnome-shell/extensions/dash-to-panel@jderose9.github.com/COPYING
|
||||
share/gnome-shell/extensions/dash-to-panel@jderose9.github.com/README.md
|
||||
share/gnome-shell/extensions/dash-to-panel@jderose9.github.com/Settings.ui
|
||||
share/gnome-shell/extensions/dash-to-panel@jderose9.github.com/appIcons.js
|
||||
share/gnome-shell/extensions/dash-to-panel@jderose9.github.com/convenience.js
|
||||
share/gnome-shell/extensions/dash-to-panel@jderose9.github.com/desktopIconsIntegration.js
|
||||
share/gnome-shell/extensions/dash-to-panel@jderose9.github.com/extension.js
|
||||
share/gnome-shell/extensions/dash-to-panel@jderose9.github.com/img/dash-to-panel-logo-light.svg
|
||||
share/gnome-shell/extensions/dash-to-panel@jderose9.github.com/img/highlight_stacked_bg.svg
|
||||
share/gnome-shell/extensions/dash-to-panel@jderose9.github.com/img/highlight_stacked_bg_2.svg
|
||||
share/gnome-shell/extensions/dash-to-panel@jderose9.github.com/img/highlight_stacked_bg_3.svg
|
||||
share/gnome-shell/extensions/dash-to-panel@jderose9.github.com/img/kofi.png
|
||||
share/gnome-shell/extensions/dash-to-panel@jderose9.github.com/img/paypal.png
|
||||
share/gnome-shell/extensions/dash-to-panel@jderose9.github.com/img/stripe.png
|
||||
share/gnome-shell/extensions/dash-to-panel@jderose9.github.com/img/zorin-os.svg
|
||||
share/gnome-shell/extensions/dash-to-panel@jderose9.github.com/intellihide.js
|
||||
share/gnome-shell/extensions/dash-to-panel@jderose9.github.com/locale/cs/LC_MESSAGES/dash-to-panel.mo
|
||||
share/gnome-shell/extensions/dash-to-panel@jderose9.github.com/locale/de/LC_MESSAGES/dash-to-panel.mo
|
||||
@@ -18,6 +22,7 @@ share/gnome-shell/extensions/dash-to-panel@jderose9.github.com/locale/hu/LC_MESS
|
||||
share/gnome-shell/extensions/dash-to-panel@jderose9.github.com/locale/it/LC_MESSAGES/dash-to-panel.mo
|
||||
share/gnome-shell/extensions/dash-to-panel@jderose9.github.com/locale/ja/LC_MESSAGES/dash-to-panel.mo
|
||||
share/gnome-shell/extensions/dash-to-panel@jderose9.github.com/locale/kk/LC_MESSAGES/dash-to-panel.mo
|
||||
share/gnome-shell/extensions/dash-to-panel@jderose9.github.com/locale/ko/LC_MESSAGES/dash-to-panel.mo
|
||||
share/gnome-shell/extensions/dash-to-panel@jderose9.github.com/locale/nl/LC_MESSAGES/dash-to-panel.mo
|
||||
share/gnome-shell/extensions/dash-to-panel@jderose9.github.com/locale/pl/LC_MESSAGES/dash-to-panel.mo
|
||||
share/gnome-shell/extensions/dash-to-panel@jderose9.github.com/locale/pt_BR/LC_MESSAGES/dash-to-panel.mo
|
||||
@@ -29,6 +34,7 @@ share/gnome-shell/extensions/dash-to-panel@jderose9.github.com/locale/uk/LC_MESS
|
||||
share/gnome-shell/extensions/dash-to-panel@jderose9.github.com/locale/zh_CN/LC_MESSAGES/dash-to-panel.mo
|
||||
share/gnome-shell/extensions/dash-to-panel@jderose9.github.com/locale/zh_TW/LC_MESSAGES/dash-to-panel.mo
|
||||
share/gnome-shell/extensions/dash-to-panel@jderose9.github.com/metadata.json
|
||||
share/gnome-shell/extensions/dash-to-panel@jderose9.github.com/notificationsMonitor.js
|
||||
share/gnome-shell/extensions/dash-to-panel@jderose9.github.com/overview.js
|
||||
share/gnome-shell/extensions/dash-to-panel@jderose9.github.com/panel.js
|
||||
share/gnome-shell/extensions/dash-to-panel@jderose9.github.com/panelManager.js
|
||||
@@ -36,12 +42,29 @@ share/gnome-shell/extensions/dash-to-panel@jderose9.github.com/panelPositions.js
|
||||
share/gnome-shell/extensions/dash-to-panel@jderose9.github.com/panelSettings.js
|
||||
share/gnome-shell/extensions/dash-to-panel@jderose9.github.com/panelStyle.js
|
||||
share/gnome-shell/extensions/dash-to-panel@jderose9.github.com/prefs.js
|
||||
share/gnome-shell/extensions/dash-to-panel@jderose9.github.com/progress.js
|
||||
share/gnome-shell/extensions/dash-to-panel@jderose9.github.com/proximity.js
|
||||
share/gnome-shell/extensions/dash-to-panel@jderose9.github.com/schemas/gschemas.compiled
|
||||
share/gnome-shell/extensions/dash-to-panel@jderose9.github.com/schemas/org.gnome.shell.extensions.dash-to-panel.gschema.xml
|
||||
share/gnome-shell/extensions/dash-to-panel@jderose9.github.com/stylesheet.css
|
||||
share/gnome-shell/extensions/dash-to-panel@jderose9.github.com/taskbar.js
|
||||
share/gnome-shell/extensions/dash-to-panel@jderose9.github.com/transparency.js
|
||||
share/gnome-shell/extensions/dash-to-panel@jderose9.github.com/ui/BoxAnimateAppIconHoverOptions.ui
|
||||
share/gnome-shell/extensions/dash-to-panel@jderose9.github.com/ui/BoxDotOptions.ui
|
||||
share/gnome-shell/extensions/dash-to-panel@jderose9.github.com/ui/BoxDynamicOpacityOptions.ui
|
||||
share/gnome-shell/extensions/dash-to-panel@jderose9.github.com/ui/BoxGroupAppsOptions.ui
|
||||
share/gnome-shell/extensions/dash-to-panel@jderose9.github.com/ui/BoxHighlightAppIconHoverOptions.ui
|
||||
share/gnome-shell/extensions/dash-to-panel@jderose9.github.com/ui/BoxIntellihideOptions.ui
|
||||
share/gnome-shell/extensions/dash-to-panel@jderose9.github.com/ui/BoxMiddleClickOptions.ui
|
||||
share/gnome-shell/extensions/dash-to-panel@jderose9.github.com/ui/BoxOverlayShortcut.ui
|
||||
share/gnome-shell/extensions/dash-to-panel@jderose9.github.com/ui/BoxScrollIconOptions.ui
|
||||
share/gnome-shell/extensions/dash-to-panel@jderose9.github.com/ui/BoxScrollPanelOptions.ui
|
||||
share/gnome-shell/extensions/dash-to-panel@jderose9.github.com/ui/BoxSecondaryMenuOptions.ui
|
||||
share/gnome-shell/extensions/dash-to-panel@jderose9.github.com/ui/BoxShowApplicationsOptions.ui
|
||||
share/gnome-shell/extensions/dash-to-panel@jderose9.github.com/ui/BoxShowDesktopOptions.ui
|
||||
share/gnome-shell/extensions/dash-to-panel@jderose9.github.com/ui/BoxWindowPreviewOptions.ui
|
||||
share/gnome-shell/extensions/dash-to-panel@jderose9.github.com/ui/SettingsAbout.ui
|
||||
share/gnome-shell/extensions/dash-to-panel@jderose9.github.com/ui/SettingsAction.ui
|
||||
share/gnome-shell/extensions/dash-to-panel@jderose9.github.com/ui/SettingsBehavior.ui
|
||||
share/gnome-shell/extensions/dash-to-panel@jderose9.github.com/ui/SettingsFineTune.ui
|
||||
share/gnome-shell/extensions/dash-to-panel@jderose9.github.com/ui/SettingsPosition.ui
|
||||
share/gnome-shell/extensions/dash-to-panel@jderose9.github.com/ui/SettingsStyle.ui
|
||||
share/gnome-shell/extensions/dash-to-panel@jderose9.github.com/utils.js
|
||||
share/gnome-shell/extensions/dash-to-panel@jderose9.github.com/windowPreview.js
|
||||
|
||||
Reference in New Issue
Block a user