git: 4181d64f6f21 - main - x11-wm/deforaos-panel: Add back latest version 0.4.5
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 23 Nov 2023 12:34:30 UTC
The branch main has been updated by olivier: URL: https://cgit.FreeBSD.org/ports/commit/?id=4181d64f6f21215f5c1359a3e1f6019b1746a6a0 commit 4181d64f6f21215f5c1359a3e1f6019b1746a6a0 Author: Pierre Pronchery <khorben@defora.org> AuthorDate: 2023-10-11 22:14:41 +0000 Commit: Olivier Cochard <olivier@FreeBSD.org> CommitDate: 2023-11-23 12:30:49 +0000 x11-wm/deforaos-panel: Add back latest version 0.4.5 DeforaOS desktop panel WWW: https://www.defora.org/ --- x11-wm/Makefile | 1 + x11-wm/deforaos-panel/Makefile | 83 ++++++++++++++++ x11-wm/deforaos-panel/distinfo | 3 + .../deforaos-panel/files/patch-src_applets_menu.c | 11 +++ x11-wm/deforaos-panel/pkg-descr | 1 + x11-wm/deforaos-panel/pkg-message | 9 ++ x11-wm/deforaos-panel/pkg-plist | 106 +++++++++++++++++++++ 7 files changed, 214 insertions(+) diff --git a/x11-wm/Makefile b/x11-wm/Makefile index f26097833e09..6952a9a5a95e 100644 --- a/x11-wm/Makefile +++ b/x11-wm/Makefile @@ -23,6 +23,7 @@ SUBDIR += compton SUBDIR += ctwm SUBDIR += cwm + SUBDIR += deforaos-panel SUBDIR += devilspie SUBDIR += devilspie2 SUBDIR += durden diff --git a/x11-wm/deforaos-panel/Makefile b/x11-wm/deforaos-panel/Makefile new file mode 100644 index 000000000000..0451d35c7220 --- /dev/null +++ b/x11-wm/deforaos-panel/Makefile @@ -0,0 +1,83 @@ +PORTNAME= deforaos-panel +PORTVERSION= 0.4.5 +CATEGORIES= x11-wm +MASTER_SITES= https://ftp.defora.org/pub/DeforaOS/Apps/Desktop/src/Panel/ +DISTNAME= Panel-${PORTVERSION} + +MAINTAINER= olivier@FreeBSD.org +COMMENT= DeforaOS desktop panel +WWW= https://www.defora.org/ + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/COPYING + +BUILD_DEPENDS= ${LOCALBASE}/include/Desktop/Browser.h:x11-fm/deforaos-browser +LIB_DEPENDS= libSystem.so:devel/deforaos-libsystem \ + libDesktop.so:x11/deforaos-libdesktop \ + libasound.so:audio/alsa-lib \ + libharfbuzz.so:print/harfbuzz \ + libxkbfile.so:x11/libxkbfile + +USES= gnome pkgconfig xorg desktop-file-utils + +OPTIONS_DEFINE= DOCS NLS +OPTIONS_SUB= yes +NLS_USES= gettext +DOCS_BUILD_DEPENDS= xsltproc:textproc/libxslt \ + ${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:textproc/docbook-xsl \ + gtkdoc-mkhtml:textproc/gtk-doc + +USE_GNOME= gtk30 cairo gdkpixbuf2 +USE_XORG= x11 +USE_LDCONFIG= yes +MAKE_ARGS+= PREFIX=${PREFIX} +MAKE_ENV+= MANDIR=${STAGEDIR}${MANPREFIX}/man + +post-patch: + ${REINPLACE_CMD} -e 's|/lib/|/libdata/|g' \ + ${WRKSRC}/data/pkgconfig.sh + +post-patch-DOCS-off: + ${REINPLACE_CMD} -e '/^SUBDIRS/ s|doc||' ${WRKSRC}/Makefile + +post-patch-NLS-off: + ${REINPLACE_CMD} 's|include po src|include src|' \ + ${WRKSRC}/Makefile + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/* \ + ${STAGEDIR}${PREFIX}/lib/Panel/applets/battery.so \ + ${STAGEDIR}${PREFIX}/lib/Panel/applets/bluetooth.so \ + ${STAGEDIR}${PREFIX}/lib/Panel/applets/brightness.so \ + ${STAGEDIR}${PREFIX}/lib/Panel/applets/clock.so \ + ${STAGEDIR}${PREFIX}/lib/Panel/applets/close.so \ + ${STAGEDIR}${PREFIX}/lib/Panel/applets/cpu.so \ + ${STAGEDIR}${PREFIX}/lib/Panel/applets/cpufreq.so \ + ${STAGEDIR}${PREFIX}/lib/Panel/applets/desktop.so \ + ${STAGEDIR}${PREFIX}/lib/Panel/applets/embed.so \ + ${STAGEDIR}${PREFIX}/lib/Panel/applets/gps.so \ + ${STAGEDIR}${PREFIX}/lib/Panel/applets/gsm.so \ + ${STAGEDIR}${PREFIX}/lib/Panel/applets/leds.so \ + ${STAGEDIR}${PREFIX}/lib/Panel/applets/lock.so \ + ${STAGEDIR}${PREFIX}/lib/Panel/applets/logout.so \ + ${STAGEDIR}${PREFIX}/lib/Panel/applets/memory.so \ + ${STAGEDIR}${PREFIX}/lib/Panel/applets/menu.so \ + ${STAGEDIR}${PREFIX}/lib/Panel/applets/mixer.so \ + ${STAGEDIR}${PREFIX}/lib/Panel/applets/network.so \ + ${STAGEDIR}${PREFIX}/lib/Panel/applets/pager.so \ + ${STAGEDIR}${PREFIX}/lib/Panel/applets/rotate.so \ + ${STAGEDIR}${PREFIX}/lib/Panel/applets/separator.so \ + ${STAGEDIR}${PREFIX}/lib/Panel/applets/shutdown.so \ + ${STAGEDIR}${PREFIX}/lib/Panel/applets/spacer.so \ + ${STAGEDIR}${PREFIX}/lib/Panel/applets/suspend.so \ + ${STAGEDIR}${PREFIX}/lib/Panel/applets/swap.so \ + ${STAGEDIR}${PREFIX}/lib/Panel/applets/systray.so \ + ${STAGEDIR}${PREFIX}/lib/Panel/applets/tasks.so \ + ${STAGEDIR}${PREFIX}/lib/Panel/applets/title.so \ + ${STAGEDIR}${PREFIX}/lib/Panel/applets/usb.so \ + ${STAGEDIR}${PREFIX}/lib/Panel/applets/user.so \ + ${STAGEDIR}${PREFIX}/lib/Panel/applets/volume.so \ + ${STAGEDIR}${PREFIX}/lib/Panel/applets/wpa_supplicant.so \ + ${STAGEDIR}${PREFIX}/lib/libPanel.so.0.0 + +.include <bsd.port.mk> diff --git a/x11-wm/deforaos-panel/distinfo b/x11-wm/deforaos-panel/distinfo new file mode 100644 index 000000000000..8c99365a3a56 --- /dev/null +++ b/x11-wm/deforaos-panel/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1696801985 +SHA256 (Panel-0.4.5.tar.gz) = fcb047c9697b0b52b2b410f7653cd3137551ba76185638bd084bac2f9c101c3c +SIZE (Panel-0.4.5.tar.gz) = 162245 diff --git a/x11-wm/deforaos-panel/files/patch-src_applets_menu.c b/x11-wm/deforaos-panel/files/patch-src_applets_menu.c new file mode 100644 index 000000000000..3e257ec7d052 --- /dev/null +++ b/x11-wm/deforaos-panel/files/patch-src_applets_menu.c @@ -0,0 +1,11 @@ +--- src/applets/menu.c.orig 2023-10-28 13:53:50 UTC ++++ src/applets/menu.c +@@ -422,6 +422,8 @@ static void _menu_xdg_dirs(Menu * menu, void (*callbac + #if defined(__NetBSD__) + /* XXX include the default path for pkgsrc */ + path = "/usr/pkg/share:" DATADIR ":/usr/share"; ++#elif defined(__FreeBSD__) ++ path = DATADIR ":/usr/share"; + #else + path = "/usr/local/share:" DATADIR ":/usr/share"; + #endif diff --git a/x11-wm/deforaos-panel/pkg-descr b/x11-wm/deforaos-panel/pkg-descr new file mode 100644 index 000000000000..d3671c59f26e --- /dev/null +++ b/x11-wm/deforaos-panel/pkg-descr @@ -0,0 +1 @@ +DeforaOS desktop panel diff --git a/x11-wm/deforaos-panel/pkg-message b/x11-wm/deforaos-panel/pkg-message new file mode 100644 index 000000000000..274dae92bbca --- /dev/null +++ b/x11-wm/deforaos-panel/pkg-message @@ -0,0 +1,9 @@ +[ +{ type: install + message: <<EOM +Note regarding the suspend feature : + +Your user need sudo right for executing /usr/sbin/zzz +EOM +} +] diff --git a/x11-wm/deforaos-panel/pkg-plist b/x11-wm/deforaos-panel/pkg-plist new file mode 100644 index 000000000000..635e0b4c7408 --- /dev/null +++ b/x11-wm/deforaos-panel/pkg-plist @@ -0,0 +1,106 @@ +bin/panel +bin/panel-embed +bin/panel-message +bin/panel-notify +bin/panelctl +bin/run +bin/settings +bin/wifibrowser +include/Desktop/Panel.h +include/Desktop/Panel/applet.h +include/Desktop/Panel/panel.h +include/Desktop/Panel/window.h +lib/Panel/applets/battery.so +lib/Panel/applets/bluetooth.so +lib/Panel/applets/brightness.so +lib/Panel/applets/clock.so +lib/Panel/applets/close.so +lib/Panel/applets/cpu.so +lib/Panel/applets/cpufreq.so +lib/Panel/applets/desktop.so +lib/Panel/applets/embed.so +lib/Panel/applets/gps.so +lib/Panel/applets/gsm.so +lib/Panel/applets/leds.so +lib/Panel/applets/lock.so +lib/Panel/applets/logout.so +lib/Panel/applets/memory.so +lib/Panel/applets/menu.so +lib/Panel/applets/mixer.so +lib/Panel/applets/network.so +lib/Panel/applets/pager.so +lib/Panel/applets/rotate.so +lib/Panel/applets/separator.so +lib/Panel/applets/shutdown.so +lib/Panel/applets/spacer.so +lib/Panel/applets/suspend.so +lib/Panel/applets/swap.so +lib/Panel/applets/systray.so +lib/Panel/applets/tasks.so +lib/Panel/applets/title.so +lib/Panel/applets/usb.so +lib/Panel/applets/user.so +lib/Panel/applets/volume.so +lib/Panel/applets/wpa_supplicant.so +lib/libPanel.a +lib/libPanel.so +lib/libPanel.so.0 +lib/libPanel.so.0.0 +libdata/pkgconfig/Panel.pc +%%PORTDOCS%%man/html1/panel-embed.html.gz +%%PORTDOCS%%man/html1/panel-message.html.gz +%%PORTDOCS%%man/html1/panel-notify.html.gz +%%PORTDOCS%%man/html1/panel.html.gz +%%PORTDOCS%%man/html1/panelctl.html.gz +%%PORTDOCS%%man/html1/settings.html.gz +%%PORTDOCS%%man/html1/wifibrowser.html.gz +%%PORTDOCS%%man/man1/panel-embed.1.gz +%%PORTDOCS%%man/man1/panel-message.1.gz +%%PORTDOCS%%man/man1/panel-notify.1.gz +%%PORTDOCS%%man/man1/panel.1.gz +%%PORTDOCS%%man/man1/panelctl.1.gz +%%PORTDOCS%%man/man1/settings.1.gz +%%PORTDOCS%%man/man1/wifibrowser.1.gz +share/applications/org.defora.panel-settings.desktop +share/applications/org.defora.settings.desktop +share/applications/org.defora.wifibrowser.desktop +share/doc/Panel/COPYING +share/doc/Panel/README.md +%%PORTDOCS%%share/doc/Panel/wpa_supplicant.conf +%%PORTDOCS%%share/gtk-doc/html/Panel/Panel-applet.html +%%PORTDOCS%%share/gtk-doc/html/Panel/Panel-panel.html +%%PORTDOCS%%share/gtk-doc/html/Panel/Panel-window.html +%%PORTDOCS%%share/gtk-doc/html/Panel/Panel.devhelp2 +%%PORTDOCS%%share/gtk-doc/html/Panel/api-index-full.html +%%PORTDOCS%%share/gtk-doc/html/Panel/ch01.html +%%PORTDOCS%%share/gtk-doc/html/Panel/deprecated-api-index.html +%%PORTDOCS%%share/gtk-doc/html/Panel/home.png +%%PORTDOCS%%share/gtk-doc/html/Panel/index.html +%%PORTDOCS%%share/gtk-doc/html/Panel/left-insensitive.png +%%PORTDOCS%%share/gtk-doc/html/Panel/left.png +%%PORTDOCS%%share/gtk-doc/html/Panel/right-insensitive.png +%%PORTDOCS%%share/gtk-doc/html/Panel/right.png +%%PORTDOCS%%share/gtk-doc/html/Panel/style.css +%%PORTDOCS%%share/gtk-doc/html/Panel/up-insensitive.png +%%PORTDOCS%%share/gtk-doc/html/Panel/up.png +share/icons/hicolor/16x16/apps/panel-applet-bluetooth.png +share/icons/hicolor/16x16/apps/panel-applet-desktop.png +share/icons/hicolor/16x16/apps/panel-applet-usb.png +share/icons/hicolor/16x16/apps/panel-settings.png +share/icons/hicolor/22x22/apps/panel-applet-bluetooth.png +share/icons/hicolor/22x22/apps/panel-applet-desktop.png +share/icons/hicolor/22x22/apps/panel-settings.png +share/icons/hicolor/24x24/apps/panel-applet-bluetooth.png +share/icons/hicolor/24x24/apps/panel-applet-desktop.png +share/icons/hicolor/24x24/apps/panel-applet-usb.png +share/icons/hicolor/24x24/apps/panel-settings.png +share/icons/hicolor/32x32/apps/panel-applet-bluetooth.png +share/icons/hicolor/32x32/apps/panel-applet-desktop.png +share/icons/hicolor/32x32/apps/panel-settings.png +share/icons/hicolor/48x48/apps/panel-applet-bluetooth.png +share/icons/hicolor/48x48/apps/panel-applet-desktop.png +share/icons/hicolor/48x48/apps/panel-settings.png +share/icons/hicolor/scalable/apps/panel-applet-bluetooth.svg +%%NLS%%share/locale/de/LC_MESSAGES/Panel.mo +%%NLS%%share/locale/es/LC_MESSAGES/Panel.mo +%%NLS%%share/locale/fr/LC_MESSAGES/Panel.mo