aboutsummaryrefslogtreecommitdiff
path: root/x11-wm
diff options
context:
space:
mode:
authorOlivier Duchateau <olivierd@FreeBSD.org>2015-01-03 17:47:50 +0000
committerOlivier Duchateau <olivierd@FreeBSD.org>2015-01-03 17:47:50 +0000
commit05be12954c239a48dd4bc32b8040058812ce5e2a (patch)
treec77f49f73ed9e2e1cbcbb5f2972a70949d0e36d2 /x11-wm
parent298f63ec4546856f7d2873298d1359d1c5f0a033 (diff)
Notes
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/xfce4-panel/Makefile12
-rw-r--r--x11-wm/xfce4-panel/files/patch-plugins_actions_actions.c23
2 files changed, 31 insertions, 4 deletions
diff --git a/x11-wm/xfce4-panel/Makefile b/x11-wm/xfce4-panel/Makefile
index 7859b2d5e9cb..45b186244e70 100644
--- a/x11-wm/xfce4-panel/Makefile
+++ b/x11-wm/xfce4-panel/Makefile
@@ -3,7 +3,7 @@
PORTNAME= xfce4-panel
PORTVERSION= 4.10.1
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= x11-wm xfce
MASTER_SITES= ${MASTER_SITE_XFCE}
MASTER_SITE_SUBDIR= src/xfce/${PORTNAME}/${PORTVERSION:R}
@@ -12,15 +12,19 @@ DIST_SUBDIR= xfce4
MAINTAINER= xfce@FreeBSD.org
COMMENT= Xfce's panel
-LIB_DEPENDS= libwnck-1.so:${PORTSDIR}/x11-toolkits/libwnck \
- libcairo.so:${PORTSDIR}/graphics/cairo \
+LICENSE= GPLv2 LGPL21
+LICENSE_COMB= multi
+LICENSE_DISTFILES= ${WRKSRC}/COPYING \
+ ${WRKSRC}/COPYING.LIB
+
+LIB_DEPENDS= libcairo.so:${PORTSDIR}/graphics/cairo \
libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib
USES= desktop-file-utils gmake libtool:keepla pathfix perl5 \
pkgconfig tar:bzip2
GNU_CONFIGURE= yes
INSTALLS_ICONS= yes
-USE_GNOME= glib20 gtk20 intltool intlhack
+USE_GNOME= glib20 gtk20 intltool intlhack libwnck
USE_LDCONFIG= yes
USE_XFCE= configenv garcon libexo libmenu libutil xfconf
USE_XORG= x11 sm
diff --git a/x11-wm/xfce4-panel/files/patch-plugins_actions_actions.c b/x11-wm/xfce4-panel/files/patch-plugins_actions_actions.c
new file mode 100644
index 000000000000..58384b8c5593
--- /dev/null
+++ b/x11-wm/xfce4-panel/files/patch-plugins_actions_actions.c
@@ -0,0 +1,23 @@
+'system-hibernate' and 'system-suspend' icons don't exist when Gnome or
+Adwaita are default icons theme.
+
+--- plugins/actions/actions.c.orig 2013-05-05 15:47:07 UTC
++++ plugins/actions/actions.c
+@@ -181,7 +181,7 @@ static ActionEntry action_entries[] =
+ N_("_Hibernate"),
+ N_("Do you want to suspend to disk?"),
+ N_("Hibernating computer in %d seconds."),
+- "system-hibernate"
++ "xfsm-hibernate"
+ },
+ { ACTION_TYPE_SUSPEND,
+ "suspend",
+@@ -189,7 +189,7 @@ static ActionEntry action_entries[] =
+ N_("Sus_pend"),
+ N_("Do you want to suspend to RAM?"),
+ N_("Suspending computer in %d seconds."),
+- "system-suspend"
++ "xfsm-suspend"
+ },
+ { ACTION_TYPE_RESTART,
+ "restart",