From owner-dev-commits-ports-main@freebsd.org Wed Aug 4 11:10:19 2021 Return-Path: Delivered-To: dev-commits-ports-main@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0524E65BC67; Wed, 4 Aug 2021 11:10:19 +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 4Gfptf6JtVz3j2c; Wed, 4 Aug 2021 11:10:18 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 BC97025A91; Wed, 4 Aug 2021 11:10:18 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 174BAIhW018379; Wed, 4 Aug 2021 11:10:18 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 174BAI0q018369; Wed, 4 Aug 2021 11:10:18 GMT (envelope-from git) Date: Wed, 4 Aug 2021 11:10:18 GMT Message-Id: <202108041110.174BAI0q018369@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Eric Turgeon Subject: git: 6e8b0bf4a52a - main - x11/xfce4-appmenu-plugin: new port MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: ericbsd X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 6e8b0bf4a52a2a12471533bb9b7ffd448d5d8d84 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-main@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commits to the main branch of the FreeBSD ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Aug 2021 11:10:19 -0000 The branch main has been updated by ericbsd: URL: https://cgit.FreeBSD.org/ports/commit/?id=6e8b0bf4a52a2a12471533bb9b7ffd448d5d8d84 commit 6e8b0bf4a52a2a12471533bb9b7ffd448d5d8d84 Author: Eric Turgeon AuthorDate: 2021-08-04 11:06:01 +0000 Commit: Eric Turgeon CommitDate: 2021-08-04 11:09:31 +0000 x11/xfce4-appmenu-plugin: new port This is an Application Menu applet providing Global Menu for the XFCE panel --- x11/Makefile | 1 + x11/xfce4-appmenu-plugin/Makefile | 34 ++++++++++++++++++++++ x11/xfce4-appmenu-plugin/distinfo | 3 ++ .../files/patch-lib_dbusmenu-importer_importer.c | 11 +++++++ x11/xfce4-appmenu-plugin/files/patch-meson.build | 8 +++++ ...ts_appmenu-gtk-module_src_datastructs-private.h | 11 +++++++ x11/xfce4-appmenu-plugin/pkg-descr | 3 ++ x11/xfce4-appmenu-plugin/pkg-message | 18 ++++++++++++ x11/xfce4-appmenu-plugin/pkg-plist | 2 ++ 9 files changed, 91 insertions(+) diff --git a/x11/Makefile b/x11/Makefile index f5713972a776..880559ceb7c6 100644 --- a/x11/Makefile +++ b/x11/Makefile @@ -450,6 +450,7 @@ SUBDIR += xev SUBDIR += xeyes SUBDIR += xf86dga + SUBDIR += xfce4-appmenu-plugin SUBDIR += xfce4-clipman-plugin SUBDIR += xfce4-conf SUBDIR += xfce4-dashboard diff --git a/x11/xfce4-appmenu-plugin/Makefile b/x11/xfce4-appmenu-plugin/Makefile new file mode 100644 index 000000000000..531ae3c6ac72 --- /dev/null +++ b/x11/xfce4-appmenu-plugin/Makefile @@ -0,0 +1,34 @@ +PORTNAME= xfce4-appmenu-plugin +DISTVERSION= 0.7.6 +CATEGORIES= x11 + +MAINTAINER= ericbsd@FreeBSD.org +COMMENT= Application Menu plugin for XFCE panel + +LICENSE= LGPL3 +LICENSE_FILE= ${WRKSRC}/LICENSE + +LIB_DEPENDS= libbamf3.so:sysutils/bamf +BUILD_DEPENDS= valac:lang/vala +RUN_DEPENDS= appmenu-registrar>=0:x11/appmenu-registrar \ + appmenu-gtk-module>=0:x11/gtk-app-menu + +USES= meson gnome xfce pkgconfig gettext + +MESON_ARGS= -Dvalapanel=disabled \ + -Dxfce=enabled \ + -Dmate=disabled \ + -Dbudgie=disabled \ + -Djayatana=disabled \ + -Dregistrar=disabled \ + -Dappmenu-gtk-module=disabled + +USE_XFCE= panel +USE_GNOME= gtk30 glib20 gtk20 gdkpixbuf2 + +USE_GITLAB= yes +GL_ACCOUNT= vala-panel-project +GL_PROJECT= vala-panel-appmenu +GL_COMMIT= 4e362c22ab3a23c98f13fb379c782786ee057cf6 + +.include diff --git a/x11/xfce4-appmenu-plugin/distinfo b/x11/xfce4-appmenu-plugin/distinfo new file mode 100644 index 000000000000..063974a98247 --- /dev/null +++ b/x11/xfce4-appmenu-plugin/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1617892721 +SHA256 (vala-panel-project-vala-panel-appmenu-4e362c22ab3a23c98f13fb379c782786ee057cf6_GL0.tar.gz) = 374ee0bd840ae1e78891ca1dd97ea25ebabec929e5eaec8dc16ae8f8e7680b67 +SIZE (vala-panel-project-vala-panel-appmenu-4e362c22ab3a23c98f13fb379c782786ee057cf6_GL0.tar.gz) = 149765 diff --git a/x11/xfce4-appmenu-plugin/files/patch-lib_dbusmenu-importer_importer.c b/x11/xfce4-appmenu-plugin/files/patch-lib_dbusmenu-importer_importer.c new file mode 100644 index 000000000000..c36a53d3b3e3 --- /dev/null +++ b/x11/xfce4-appmenu-plugin/files/patch-lib_dbusmenu-importer_importer.c @@ -0,0 +1,11 @@ +--- lib/dbusmenu-importer/importer.c.orig 2021-01-01 20:18:10 UTC ++++ lib/dbusmenu-importer/importer.c +@@ -25,7 +25,7 @@ struct _DBusMenuImporter + GObject parent_instance; + char *bus_name; + char *object_path; +- ulong name_id; ++ gulong name_id; + GCancellable *cancellable; + DBusMenuXml *proxy; + DBusMenuModel *top_model; diff --git a/x11/xfce4-appmenu-plugin/files/patch-meson.build b/x11/xfce4-appmenu-plugin/files/patch-meson.build new file mode 100644 index 000000000000..4ff6b1ce2cbd --- /dev/null +++ b/x11/xfce4-appmenu-plugin/files/patch-meson.build @@ -0,0 +1,8 @@ +--- meson.build.orig 2021-01-02 21:06:31 UTC ++++ meson.build +@@ -117,4 +117,4 @@ readmes = [ + 'README.md', + 'LICENSE', + ] +-install_data(readmes, install_dir : join_paths(get_option('datadir'), meson.project_name(), 'doc')) ++# install_data(readmes, install_dir : join_paths(get_option('datadir'), meson.project_name(), 'doc')) diff --git a/x11/xfce4-appmenu-plugin/files/patch-subprojects_appmenu-gtk-module_src_datastructs-private.h b/x11/xfce4-appmenu-plugin/files/patch-subprojects_appmenu-gtk-module_src_datastructs-private.h new file mode 100644 index 000000000000..5e5f620d955c --- /dev/null +++ b/x11/xfce4-appmenu-plugin/files/patch-subprojects_appmenu-gtk-module_src_datastructs-private.h @@ -0,0 +1,11 @@ +--- subprojects/appmenu-gtk-module/src/datastructs-private.h.orig 2019-03-02 16:23:40 UTC ++++ subprojects/appmenu-gtk-module/src/datastructs-private.h +@@ -31,7 +31,7 @@ + struct _WindowData + { + uint window_id; +- ulong wayland_window_id; ++ gulong wayland_window_id; + GMenu *menu_model; + guint menu_model_export_id; + GSList *menus; diff --git a/x11/xfce4-appmenu-plugin/pkg-descr b/x11/xfce4-appmenu-plugin/pkg-descr new file mode 100644 index 000000000000..5a3005ccdcd3 --- /dev/null +++ b/x11/xfce4-appmenu-plugin/pkg-descr @@ -0,0 +1,3 @@ +This is an Application Menu applet providing Global Menu for the XFCE panel. + +WWW: https://gitlab.com/vala-panel-project/vala-panel-appmenu diff --git a/x11/xfce4-appmenu-plugin/pkg-message b/x11/xfce4-appmenu-plugin/pkg-message new file mode 100644 index 000000000000..6fbe5c88d3d9 --- /dev/null +++ b/x11/xfce4-appmenu-plugin/pkg-message @@ -0,0 +1,18 @@ +[ +{ + message: <