From nobody Thu Nov 23 12:34:30 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Sbcxf5P9Sz52Bfl; Thu, 23 Nov 2023 12:34:30 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Sbcxf2K3vz3MYF; Thu, 23 Nov 2023 12:34:30 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700742870; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ogwHtki8frv3sIVCol8o9m/uEy1rsGdhGQchhAoQe3s=; b=DD+xbCu2Kq+PNzA951Jp3Ht2faVdqMsO+mGK4MlQRN2adv9N/v66EYSkSI8uhgxgRGOrVk 0N94+Dw+7/SrBM6TT18XJRnm/1LMTELMnaRFBw83TjhN4rSJh74gx+Xf+OD0rhkOhybkqU u31IUNt3wJxItygUdJX1TUvf1U/Wvv/J81MaYOGJepF1FQxNXgmUfLugt194VOy4LV6j4J g11OH1mpYauq9nwkbRBpCGHqx/PxYzrhV4cuRAFRH8vtgr/F7czTEscQxuJmk2f2NS19Np TVGcmKOlh3HdqruJCLne5ARZpEgwXXKk6lWEkR/6zdODmYXQYlnjHWcmwqGR1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700742870; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ogwHtki8frv3sIVCol8o9m/uEy1rsGdhGQchhAoQe3s=; b=HrvhTViRxVuKo6cQnBVfE+RBJ1eY6TUyOGAe8HsNGihcSfSmuyzo6oTCptjafqQ65TN+Br 8AWMwKxWj4dNs5kJ1T13IS4N4idCHTT7bfmd77p0aIu7cJvmPzKYOS8PYF7eKiG8T+qs1G s4tZRiBUH/BUgXAwhpZAF+Myx00MI8/a5i6pWd/gDvV5l8n3+Jq8oeg/FU227vuFpz+34G cTEO/WecSDU/eacUa+/gZN9U2Wepc4yZNvb4aqZLnd0gW9M+s9hqZEH2H5fe8owjBXa19Q PNr/fkqspV9icUOqlQ3RIvP+lJaBU/59HYYLvL5lx4LQgaWtViQdCkD7dHZOpg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1700742870; a=rsa-sha256; cv=none; b=mp9wmZvkXdO9OtV4t2m4CysuU1NsIU8W5WCirgeDfRoWJqUjQumIeCC2pk8aYD0eT/VGro YohZyezfvy+KZYR5oItyhVRZnHygG3jC/nBhQZECBWW1Q+Y3IXTeQANZiSzduhiVQmwKBC AXf8iNCvXrb8T3jWdXpGAhaHdzS5nhXUi8fyiq3Rok+uwntd9bWgU12xQb+cBV2XmluUCm Is3zqueA3msSfe8dwBD8oYT2YyxUABtVbLHRPl5DZmsYIfOK6jFPzlSlg69ty9KorqcVU7 LlniTzVXvrLC6679jdZEpFycSNolfd9oF08UJZx+I/CCZU1pHjdDOZKy2lP52w== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Sbcxf1Pymz121L; Thu, 23 Nov 2023 12:34:30 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3ANCYUbq055462; Thu, 23 Nov 2023 12:34:30 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3ANCYUZN055460; Thu, 23 Nov 2023 12:34:30 GMT (envelope-from git) Date: Thu, 23 Nov 2023 12:34:30 GMT Message-Id: <202311231234.3ANCYUZN055460@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Olivier Cochard Subject: git: 4181d64f6f21 - main - x11-wm/deforaos-panel: Add back latest version 0.4.5 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: olivier X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 4181d64f6f21215f5c1359a3e1f6019b1746a6a0 Auto-Submitted: auto-generated The branch main has been updated by olivier: URL: https://cgit.FreeBSD.org/ports/commit/?id=4181d64f6f21215f5c1359a3e1f6019b1746a6a0 commit 4181d64f6f21215f5c1359a3e1f6019b1746a6a0 Author: Pierre Pronchery AuthorDate: 2023-10-11 22:14:41 +0000 Commit: Olivier Cochard 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 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: <