x11/gnome-applets: new port
GNOME Applets is part of the GNOME Flashback project and contains applets for use with GNOME Panel. This includes applets for various tasks such as viewing the battery status, a weather applet and many more. PR: 286697
This commit is contained in:
parent
07159fa774
commit
25af9e5084
@ -95,6 +95,7 @@
|
|||||||
SUBDIR += glcapsviewer
|
SUBDIR += glcapsviewer
|
||||||
SUBDIR += gmrun
|
SUBDIR += gmrun
|
||||||
SUBDIR += gnome
|
SUBDIR += gnome
|
||||||
|
SUBDIR += gnome-applets
|
||||||
SUBDIR += gnome-clipboard-daemon
|
SUBDIR += gnome-clipboard-daemon
|
||||||
SUBDIR += gnome-console
|
SUBDIR += gnome-console
|
||||||
SUBDIR += gnome-desktop
|
SUBDIR += gnome-desktop
|
||||||
|
|||||||
55
x11/gnome-applets/Makefile
Normal file
55
x11/gnome-applets/Makefile
Normal file
@ -0,0 +1,55 @@
|
|||||||
|
PORTNAME= gnome-applets
|
||||||
|
PORTVERSION= 3.56.0
|
||||||
|
CATEGORIES= x11 gnome
|
||||||
|
MASTER_SITES= GNOME
|
||||||
|
DIST_SUBDIR= gnome
|
||||||
|
|
||||||
|
MAINTAINER= gnome@FreeBSD.org
|
||||||
|
COMMENT= Small programs for the GNOME panel
|
||||||
|
WWW= https://gitlab.gnome.org/GNOME/gnome-applets
|
||||||
|
|
||||||
|
LICENSE= GPLv2
|
||||||
|
|
||||||
|
BUILD_DEPENDS= adwaita-icon-theme>=46.0:x11-themes/adwaita-icon-theme \
|
||||||
|
xorgproto>0:x11/xorgproto \
|
||||||
|
itstool>0:textproc/itstool
|
||||||
|
LIB_DEPENDS= libgnome-panel.so:x11/gnome-panel \
|
||||||
|
libgtop-2.0.so:devel/libgtop \
|
||||||
|
libnotify.so:devel/libnotify \
|
||||||
|
libupower-glib.so:sysutils/upower \
|
||||||
|
libgweather-4.so:net/libgweather4 \
|
||||||
|
libgucharmap_2_90.so:deskutils/gucharmap \
|
||||||
|
libpcre2-8.so:devel/pcre2 \
|
||||||
|
libpolkit-gobject-1.so:sysutils/polkit
|
||||||
|
RUN_DEPENDS= adwaita-icon-theme>=46.0:x11-themes/adwaita-icon-theme
|
||||||
|
|
||||||
|
USES= gettext gmake gnome iconv libtool pkgconfig tar:xz xorg
|
||||||
|
GNU_CONFIGURE= yes
|
||||||
|
USE_GNOME= cairo gdkpixbuf glib20 gtk30 libwnck3 libxml2 pango
|
||||||
|
USE_XORG= ice sm x11
|
||||||
|
INSTALL_TARGET= install-strip
|
||||||
|
|
||||||
|
CONFIGURE_ARGS= --disable-cpufreq \
|
||||||
|
--enable-frequency-selector=no
|
||||||
|
|
||||||
|
OPTIONS_DEFINE= TRACKER
|
||||||
|
OPTIONS_DEFAULT= TRACKER
|
||||||
|
|
||||||
|
TRACKER_DESC= Install search applet
|
||||||
|
TRACKER_LIB_DEPENDS= libtinysparql-3.0.so:devel/tinysparql
|
||||||
|
TRACKER_CONFIGURE_ENABLE= tracker-search-bar
|
||||||
|
|
||||||
|
GLIB_SCHEMAS= org.gnome.gnome-applets.battstat.gschema.xml \
|
||||||
|
org.gnome.gnome-applets.charpick.gschema.xml \
|
||||||
|
org.gnome.gnome-applets.command.gschema.xml \
|
||||||
|
org.gnome.gnome-applets.enums.xml \
|
||||||
|
org.gnome.gnome-applets.geyes.gschema.xml \
|
||||||
|
org.gnome.gnome-applets.gweather.gschema.xml \
|
||||||
|
org.gnome.gnome-applets.mini-commander.gschema.xml \
|
||||||
|
org.gnome.gnome-applets.stickynotes.gschema.xml \
|
||||||
|
org.gnome.gnome-applets.timer.gschema.xml \
|
||||||
|
org.gnome.gnome-applets.window-buttons.gschema.xml \
|
||||||
|
org.gnome.gnome-applets.window-picker-applet.gschema.xml \
|
||||||
|
org.gnome.gnome-applets.window-title.gschema.xml
|
||||||
|
|
||||||
|
.include <bsd.port.mk>
|
||||||
3
x11/gnome-applets/distinfo
Normal file
3
x11/gnome-applets/distinfo
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
TIMESTAMP = 1745753607
|
||||||
|
SHA256 (gnome/gnome-applets-3.56.0.tar.xz) = fa17aedc955add981aa2e43b4c071353f686bbd1eec1d717a890a735320ad171
|
||||||
|
SIZE (gnome/gnome-applets-3.56.0.tar.xz) = 9064320
|
||||||
11
x11/gnome-applets/files/patch-data_schemas_Makefile.in
Normal file
11
x11/gnome-applets/files/patch-data_schemas_Makefile.in
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- data/schemas/Makefile.in.orig 2023-09-23 06:39:16 UTC
|
||||||
|
+++ data/schemas/Makefile.in
|
||||||
|
@@ -352,8 +352,6 @@ gsettings_schemas_in = \
|
||||||
|
org.gnome.gnome-applets.geyes.gschema.xml.in \
|
||||||
|
org.gnome.gnome-applets.gweather.gschema.xml.in \
|
||||||
|
org.gnome.gnome-applets.mini-commander.gschema.xml.in \
|
||||||
|
- org.gnome.gnome-applets.multiload.gschema.xml.in \
|
||||||
|
- org.gnome.gnome-applets.netspeed.gschema.xml.in \
|
||||||
|
org.gnome.gnome-applets.stickynotes.gschema.xml.in \
|
||||||
|
org.gnome.gnome-applets.timer.gschema.xml.in \
|
||||||
|
org.gnome.gnome-applets.window-buttons.gschema.xml.in \
|
||||||
29
x11/gnome-applets/files/patch-gnome-applets_Makefile.in
Normal file
29
x11/gnome-applets/files/patch-gnome-applets_Makefile.in
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
--- gnome-applets/Makefile.in.orig 2023-09-23 06:39:16 UTC
|
||||||
|
+++ gnome-applets/Makefile.in
|
||||||
|
@@ -191,8 +191,6 @@ org_gnome_gnome_applets_la_DEPENDENCIES = $(top_buildd
|
||||||
|
$(top_builddir)/gnome-applets/gweather/libgweather-applet.la \
|
||||||
|
$(top_builddir)/gnome-applets/inhibit/libinhibit-applet.la \
|
||||||
|
$(top_builddir)/gnome-applets/mini-commander/libmini-commander-applet.la \
|
||||||
|
- $(top_builddir)/gnome-applets/multiload/libmultiload-applet.la \
|
||||||
|
- $(top_builddir)/gnome-applets/netspeed/libnet-speed-applet.la \
|
||||||
|
$(top_builddir)/gnome-applets/sticky-notes/libsticky-notes-applet.la \
|
||||||
|
$(top_builddir)/gnome-applets/timer/libtimer-applet.la \
|
||||||
|
$(top_builddir)/gnome-applets/trash/libtrash-applet.la \
|
||||||
|
@@ -533,8 +531,6 @@ SUBDIRS = \
|
||||||
|
gweather \
|
||||||
|
inhibit \
|
||||||
|
mini-commander \
|
||||||
|
- multiload \
|
||||||
|
- netspeed \
|
||||||
|
sticky-notes \
|
||||||
|
timer \
|
||||||
|
tracker-search-bar \
|
||||||
|
@@ -575,8 +571,6 @@ org_gnome_gnome_applets_la_LIBADD = $(top_builddir)/gn
|
||||||
|
$(top_builddir)/gnome-applets/gweather/libgweather-applet.la \
|
||||||
|
$(top_builddir)/gnome-applets/inhibit/libinhibit-applet.la \
|
||||||
|
$(top_builddir)/gnome-applets/mini-commander/libmini-commander-applet.la \
|
||||||
|
- $(top_builddir)/gnome-applets/multiload/libmultiload-applet.la \
|
||||||
|
- $(top_builddir)/gnome-applets/netspeed/libnet-speed-applet.la \
|
||||||
|
$(top_builddir)/gnome-applets/sticky-notes/libsticky-notes-applet.la \
|
||||||
|
$(top_builddir)/gnome-applets/timer/libtimer-applet.la \
|
||||||
|
$(top_builddir)/gnome-applets/trash/libtrash-applet.la \
|
||||||
58
x11/gnome-applets/files/patch-gnome-applets_ga-module.c
Normal file
58
x11/gnome-applets/files/patch-gnome-applets_ga-module.c
Normal file
@ -0,0 +1,58 @@
|
|||||||
|
--- gnome-applets/ga-module.c.orig 2023-09-23 06:38:26 UTC
|
||||||
|
+++ gnome-applets/ga-module.c
|
||||||
|
@@ -34,8 +34,6 @@
|
||||||
|
#include "gweather/gweather-applet.h"
|
||||||
|
#include "inhibit/inhibit-applet.h"
|
||||||
|
#include "mini-commander/mini-commander-applet.h"
|
||||||
|
-#include "multiload/multiload-applet.h"
|
||||||
|
-#include "netspeed/netspeed-applet.h"
|
||||||
|
#include "sticky-notes/sticky-notes-applet.h"
|
||||||
|
#include "timer/timer-applet.h"
|
||||||
|
#ifdef HAVE_TRACKER_SEARCH_BAR
|
||||||
|
@@ -169,26 +167,6 @@ ga_get_applet_info (const char *id)
|
||||||
|
about_func = mini_commander_applet_setup_about;
|
||||||
|
help_uri = "help:command-line";
|
||||||
|
}
|
||||||
|
- else if (g_strcmp0 (id, "multiload") == 0)
|
||||||
|
- {
|
||||||
|
- type_func = multiload_applet_get_type;
|
||||||
|
- name = _("System Monitor");
|
||||||
|
- description = _("A system load indicator");
|
||||||
|
- icon_name = "utilities-system-monitor";
|
||||||
|
-
|
||||||
|
- about_func = multiload_applet_setup_about;
|
||||||
|
- help_uri = "help:multiload";
|
||||||
|
- }
|
||||||
|
- else if (g_strcmp0 (id, "netspeed") == 0)
|
||||||
|
- {
|
||||||
|
- type_func = netspeed_applet_get_type;
|
||||||
|
- name = _("Network Monitor");
|
||||||
|
- description = _("Netspeed Applet");
|
||||||
|
- icon_name = "netspeed-applet";
|
||||||
|
-
|
||||||
|
- about_func = netspeed_applet_setup_about;
|
||||||
|
- help_uri = "help:netspeed_applet";
|
||||||
|
- }
|
||||||
|
else if (g_strcmp0 (id, "sticky-notes") == 0)
|
||||||
|
{
|
||||||
|
type_func = sticky_notes_applet_get_type;
|
||||||
|
@@ -300,10 +278,6 @@ ga_get_applet_id_from_iid (const char *iid)
|
||||||
|
return "inhibit";
|
||||||
|
else if (g_strcmp0 (iid, "MiniCommanderAppletFactory::MiniCommanderApplet") == 0)
|
||||||
|
return "mini-commander";
|
||||||
|
- else if (g_strcmp0 (iid, "MultiLoadAppletFactory::MultiLoadApplet") == 0)
|
||||||
|
- return "multiload";
|
||||||
|
- else if (g_strcmp0 (iid, "NetspeedAppletFactory::NetspeedApplet") == 0)
|
||||||
|
- return "netspeed";
|
||||||
|
else if (g_strcmp0 (iid, "StickyNotesAppletFactory::StickyNotesApplet") == 0)
|
||||||
|
return "sticky-notes";
|
||||||
|
else if (g_strcmp0 (iid, "TimerAppletFactory::TimerApplet") == 0)
|
||||||
|
@@ -351,8 +325,6 @@ gp_module_load (GpModule *module)
|
||||||
|
"gweather",
|
||||||
|
"inhibit",
|
||||||
|
"mini-commander",
|
||||||
|
- "multiload",
|
||||||
|
- "netspeed",
|
||||||
|
"sticky-notes",
|
||||||
|
"timer",
|
||||||
|
#ifdef HAVE_TRACKER_SEARCH_BAR
|
||||||
3
x11/gnome-applets/pkg-descr
Normal file
3
x11/gnome-applets/pkg-descr
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
GNOME Applets is part of the GNOME Flashback project and contains
|
||||||
|
applets for use with GNOME Panel. This includes applets for various
|
||||||
|
tasks such as viewing the battery status, a weather applet and many more.
|
||||||
2250
x11/gnome-applets/pkg-plist
Normal file
2250
x11/gnome-applets/pkg-plist
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user