mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
x11/mate-applet-appmenu: new port
This is an Application Menu applet providing Global Menu for the MATE panel.
This commit is contained in:
parent
dbe3ced23d
commit
f3ddc7f011
9 changed files with 74 additions and 1 deletions
|
@ -215,6 +215,7 @@
|
||||||
SUBDIR += ly
|
SUBDIR += ly
|
||||||
SUBDIR += mako
|
SUBDIR += mako
|
||||||
SUBDIR += mate
|
SUBDIR += mate
|
||||||
|
SUBDIR += mate-applet-appmenu
|
||||||
SUBDIR += mate-applets
|
SUBDIR += mate-applets
|
||||||
SUBDIR += mate-base
|
SUBDIR += mate-base
|
||||||
SUBDIR += mate-desktop
|
SUBDIR += mate-desktop
|
||||||
|
|
|
@ -22,7 +22,6 @@ MESON_ARGS= -Dvalapanel=disabled \
|
||||||
-Dappmenu-gtk-module=disabled
|
-Dappmenu-gtk-module=disabled
|
||||||
|
|
||||||
USE_GNOME= gtk30 glib20 gtk20 gdkpixbuf2
|
USE_GNOME= gtk30 glib20 gtk20 gdkpixbuf2
|
||||||
# GLIB_SCHEMAS= org.appmenu.gtk-module.gschema.xml
|
|
||||||
|
|
||||||
USE_GITLAB= yes
|
USE_GITLAB= yes
|
||||||
GL_ACCOUNT= vala-panel-project
|
GL_ACCOUNT= vala-panel-project
|
||||||
|
|
35
x11/mate-applet-appmenu/Makefile
Normal file
35
x11/mate-applet-appmenu/Makefile
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
PORTNAME= mate-applet-appmenu
|
||||||
|
DISTVERSION= 0.7.6
|
||||||
|
CATEGORIES= x11
|
||||||
|
|
||||||
|
MAINTAINER= ericbsd@FreeBSD.org
|
||||||
|
COMMENT= Application Menu plugin for mate-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 mate pkgconfig gettext
|
||||||
|
|
||||||
|
MESON_ARGS= -Dvalapanel=disabled \
|
||||||
|
-Dxfce=disabled \
|
||||||
|
-Dmate=enabled \
|
||||||
|
-Dbudgie=disabled \
|
||||||
|
-Djayatana=disabled \
|
||||||
|
-Dregistrar=disabled \
|
||||||
|
-Dappmenu-gtk-module=disabled
|
||||||
|
|
||||||
|
USE_MATE= panel
|
||||||
|
USE_GNOME= gtk30 glib20 gtk20 gdkpixbuf2
|
||||||
|
GLIB_SCHEMAS= org.valapanel.appmenu.gschema.xml
|
||||||
|
|
||||||
|
USE_GITLAB= yes
|
||||||
|
GL_ACCOUNT= vala-panel-project
|
||||||
|
GL_PROJECT= vala-panel-appmenu
|
||||||
|
GL_COMMIT= 4e362c22ab3a23c98f13fb379c782786ee057cf6
|
||||||
|
|
||||||
|
.include <bsd.port.mk>
|
3
x11/mate-applet-appmenu/distinfo
Normal file
3
x11/mate-applet-appmenu/distinfo
Normal file
|
@ -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
|
|
@ -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;
|
8
x11/mate-applet-appmenu/files/patch-meson.build
Normal file
8
x11/mate-applet-appmenu/files/patch-meson.build
Normal file
|
@ -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'))
|
|
@ -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;
|
3
x11/mate-applet-appmenu/pkg-descr
Normal file
3
x11/mate-applet-appmenu/pkg-descr
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
This is an Application Menu applet providing Global Menu for the MATE panel.
|
||||||
|
|
||||||
|
WWW: https://gitlab.com/vala-panel-project/vala-panel-appmenu
|
2
x11/mate-applet-appmenu/pkg-plist
Normal file
2
x11/mate-applet-appmenu/pkg-plist
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
lib/mate-panel/libappmenu-mate.so
|
||||||
|
share/mate-panel/applets/org.vala-panel.appmenu.mate-panel-applet
|
Loading…
Add table
Reference in a new issue