aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2014-02-26 22:20:05 +0800
committerdanfe <danfe@FreeBSD.org>2014-02-26 22:20:05 +0800
commitb2480cb5c21dd2345da9d31f8d12d3a898a5311b (patch)
tree37afa73a60b885d1bdce97aeb35be7c06a1615ff /x11
parent8ed6eef13b3a74699346a1654c533c51149476f4 (diff)
downloadfreebsd-ports-gnome-b2480cb5c21dd2345da9d31f8d12d3a898a5311b.tar.gz
freebsd-ports-gnome-b2480cb5c21dd2345da9d31f8d12d3a898a5311b.tar.zst
freebsd-ports-gnome-b2480cb5c21dd2345da9d31f8d12d3a898a5311b.zip
- Add an optional patch to allow setting panel opacity in theme config file
- Update port description to mention features brought by unofficial patches - Fix spelling of NETWM -> NetWM and utilize options helpers while I'm here
Diffstat (limited to 'x11')
-rw-r--r--x11/bmpanel2/Makefile17
-rw-r--r--x11/bmpanel2/distinfo2
-rw-r--r--x11/bmpanel2/pkg-descr6
3 files changed, 13 insertions, 12 deletions
diff --git a/x11/bmpanel2/Makefile b/x11/bmpanel2/Makefile
index efd3e6c9aca5..d42325fce662 100644
--- a/x11/bmpanel2/Makefile
+++ b/x11/bmpanel2/Makefile
@@ -3,11 +3,14 @@
PORTNAME= bmpanel2
DISTVERSION= 2.1pre1
+PORTREVISION= 1
CATEGORIES= x11
MASTER_SITES= GOOGLE_CODE
+PATCH_SITES= ${MASTER_SITE_LOCAL}
+PATCH_SITE_SUBDIR= danfe
MAINTAINER= ports@FreeBSD.org
-COMMENT= Nice, lightweight NETWM compliant panel for X11
+COMMENT= Lightweight NetWM-compliant panel (taskbar) for X11
LICENSE= MIT
@@ -17,16 +20,12 @@ USE_XORG= x11 xext
LDFLAGS+= -L${LOCALBASE}/lib # XXX should not be needed
-OPTIONS_DEFINE= TEMPERATURE
+OPTIONS_DEFINE= OPACITY TEMPERATURE
+OPACITY_DESC= Opacity setting with compositing window managers
TEMPERATURE_DESC= Build with temperature widget (for CPU, etc.)
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MTEMPERATURE}
-PATCH_SITES= ${MASTER_SITE_LOCAL}
-PATCH_SITE_SUBDIR= danfe
-PATCHFILES= ${PORTNAME}-temperature-widget.diff
-.endif
+OPACITY_PATCHFILES= ${PORTNAME}-opacity-setting.diff
+TEMPERATURE_PATCHFILES= ${PORTNAME}-temperature-widget.diff
post-patch:
@${REINPLACE_CMD} -e 's,/usr/local,${PREFIX},' ${WRKSRC}/xdg.c
diff --git a/x11/bmpanel2/distinfo b/x11/bmpanel2/distinfo
index bd19571638ed..9ff71217b831 100644
--- a/x11/bmpanel2/distinfo
+++ b/x11/bmpanel2/distinfo
@@ -1,4 +1,6 @@
SHA256 (bmpanel2-2.1pre1.tar.gz) = 56c316ea3cd35ae033610d073b7d532c6a12070f9c349ec3c09e85c60591564c
SIZE (bmpanel2-2.1pre1.tar.gz) = 386297
+SHA256 (bmpanel2-opacity-setting.diff) = c2737077d7b0834511e0a792677f8cde819bdc017045175a916b8aceca478896
+SIZE (bmpanel2-opacity-setting.diff) = 2006
SHA256 (bmpanel2-temperature-widget.diff) = 47d980108a7385c0f1e2b221fafa0e53c3384ec74cb921779580cb8aa6988972
SIZE (bmpanel2-temperature-widget.diff) = 7636
diff --git a/x11/bmpanel2/pkg-descr b/x11/bmpanel2/pkg-descr
index f8b14f47083d..8bf91156fe7e 100644
--- a/x11/bmpanel2/pkg-descr
+++ b/x11/bmpanel2/pkg-descr
@@ -1,10 +1,10 @@
-BMPanel (bitmap panel) is nice, lightweight, NETWM-compatible panel for your
+BMPanel (bitmap panel) is nice, lightweight, NetWM-compatible panel for your
X11 desktop. It currently features:
- Look'n'feel customization via themes (20 of them included)
- A bunch of widgets: desktop switcher, taskbar, launchbar, systray,
- clock, decor, empty
- - Pseudo-transparency support
+ clock, decor, empty (unofficial temperature widget also available)
+ - Pseudo (default) and compositing (optional) transparency support
- Written in C with speed and clarity in mind
- Small number of dependencies, briefly: glib2, cairo, pango, libX11
- Small memory footprint (about 2-4 megabytes)