svn commit: r488272 - in head/x11/polybar: . files
Alexandre C. Guimarães
rigoletto at FreeBSD.org
Mon Dec 24 15:44:21 UTC 2018
Author: rigoletto
Date: Mon Dec 24 15:44:19 2018
New Revision: 488272
URL: https://svnweb.freebsd.org/changeset/ports/488272
Log:
x11/polybar: update to version 3.3.0.
- disable network support early since it needs Linux/libnl
- add CURSOR, PULSEAUDIO, and XKEYBORAD options
- remove unused EXAMPLES option
- rename CURL option to GITHUB
- rewrite some OPTIONS descriptions
Reviewed by: tcberner (mentor)
Approved by: mat (mentor)
Differential Revision: https://reviews.freebsd.org/
Deleted:
head/x11/polybar/files/patch-git_3b32f58
Modified:
head/x11/polybar/Makefile
head/x11/polybar/distinfo
head/x11/polybar/pkg-plist
Modified: head/x11/polybar/Makefile
==============================================================================
--- head/x11/polybar/Makefile Mon Dec 24 12:49:40 2018 (r488271)
+++ head/x11/polybar/Makefile Mon Dec 24 15:44:19 2018 (r488272)
@@ -1,8 +1,7 @@
# $FreeBSD$
PORTNAME= polybar
-DISTVERSION= 3.2.1
-PORTREVISION= 1
+DISTVERSION= 3.3.0
CATEGORIES= x11
MAINTAINER= rigoletto at FreeBSD.org
@@ -15,39 +14,47 @@ BUILD_DEPENDS= xcb-proto>=1.9:x11/xcb-proto
LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2 \
libinotify.so:devel/libinotify \
- libxcb-cursor.so:x11/xcb-util-cursor \
libxcb-ewmh.so:x11/xcb-util-wm \
libxcb-icccm.so:x11/xcb-util-wm \
libxcb-image.so:x11/xcb-util-image \
libxcb-util.so:x11/xcb-util \
libxcb-xrm.so:x11/xcb-util-xrm
-USES= cmake:outsource compiler:c++11-lang localbase:ldflags \
- pkgconfig python:2.7,build
+USES= cmake:outsource localbase:ldflags pkgconfig \
+ python:2.7,build
USE_GITHUB= yes
GH_ACCOUNT= jaagr
GH_TUPLE= jaagr:i3ipcpp:v0.7.1-4-gd4e4786:i3ipcpp/lib/i3ipcpp \
- jaagr:xpp:1.4.0-4-g00165e1:xpp/lib/xpp
+ jaagr:xpp:1.4.0-4-gbf6ff36:xpp/lib/xpp
USE_GNOME= cairo
USE_XORG= xcb
-OPTIONS_DEFINE= ALSA DEBUG CURL EXAMPLES I3 IPC MPD TESTS
-OPTIONS_DEFAULT= CURL I3 IPC MPD
-OPTIONS_SUB= yes
+# Needs libnl to work. Disabling completely.
+CMAKE_OFF= ENABLE_NETWORK
-ALSA_DESC= Volume control
-CURL_DESC= Github support
-I3_DESC= i3wm support
+OPTIONS_DEFINE= ALSA CURSOR DEBUG GITHUB I3 IPC MPD PULSEAUDIO \
+ TESTS XKEYBOARD
+OPTIONS_DEFAULT= CURSOR GITHUB I3 IPC MPD PULSEAUDIO XKEYBOARD
+OPTIONS_SUB= yes
+
+ALSA_DESC= Shows volume and mute state for Alsa
+CURSOR_DESC= Required for click and scroll settings
+GITHUB_DESC= Shows the unread notification count
+I3_DESC= Uses the i3 IPC to display information
IPC_DESC= Built-in IPC support
MPD_DESC= Support for controlling MPD
TESTS_DESC= Build testsuite
+XKEYBOARD_DESC= Shows the current layout and active indicators
ALSA_CMAKE_BOOL= ENABLE_ALSA
ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib
-CURL_CMAKE_BOOL= ENABLE_CURL
-CURL_LIB_DEPENDS= libcurl.so:ftp/curl
+CURSOR_CMAKE_BOOL= WITH_XCURSOR
+CURSOR_LIB_DEPENDS= libxcb-cursor.so:x11/xcb-util-cursor
+GITHUB_CMAKE_BOOL= ENABLE_CURL
+GITHUB_LIB_DEPENDS= libcurl.so:ftp/curl
+
DEBUG_CMAKE_BOOL= DEBUG_LOGGER
I3_BUILD_DEPENDS= ${LOCALBASE}/include/i3/ipc.h:x11-wm/i3
@@ -59,10 +66,16 @@ IPC_CMAKE_BOOL= BUILD_IPC_MSG
MPD_CMAKE_BOOL= ENABLE_MPD
MPD_LIB_DEPENDS= libmpdclient.so:audio/libmpdclient
-# fail while building on poudriere because it need network access
+PULSEAUDIO_CMAKE_BOOL= ENABLE_PULSEAUDIO
+PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio
+
+# fail while building on poudriere because it needs network access
# during the building process to download googletest on-the-fly.
TESTS_BUILD_DEPENDS= git>=0:devel/git
TESTS_CMAKE_BOOL= BUILD_TESTS
+
+XKEYBOARD_CMAKE_BOOL= ENABLE_XKEYBOARD
+XKEYBOARD_LIB_DEPENDS= libxcb-xkb.so:x11/libxcb
do-test-TESTS-on:
cd ${TEST_WRKSRC} && ${SETENV} BUILD_TESTS=ON \
Modified: head/x11/polybar/distinfo
==============================================================================
--- head/x11/polybar/distinfo Mon Dec 24 12:49:40 2018 (r488271)
+++ head/x11/polybar/distinfo Mon Dec 24 15:44:19 2018 (r488272)
@@ -1,7 +1,7 @@
-TIMESTAMP = 1533791330
-SHA256 (jaagr-polybar-3.2.1_GH0.tar.gz) = 604e3e8b4fd8c211df94cdd193f8c760c7c027e6822e5b2f598132decdf3edaf
-SIZE (jaagr-polybar-3.2.1_GH0.tar.gz) = 242327
+TIMESTAMP = 1545654715
+SHA256 (jaagr-polybar-3.3.0_GH0.tar.gz) = d64da066a90aa9ab026a22e05d634af0b3870ed6dd83787fae1506b7e9282be5
+SIZE (jaagr-polybar-3.3.0_GH0.tar.gz) = 247001
SHA256 (jaagr-i3ipcpp-v0.7.1-4-gd4e4786_GH0.tar.gz) = 2154bf1a0b0a211bddcf5904ba97f99eb86ef6faded5dd864858e2a1a2389cec
SIZE (jaagr-i3ipcpp-v0.7.1-4-gd4e4786_GH0.tar.gz) = 191511
-SHA256 (jaagr-xpp-1.4.0-4-g00165e1_GH0.tar.gz) = a0496281fbf52ce7e798426b56ba7c2130d08bbb8241ced7053b1941a4dcb90d
-SIZE (jaagr-xpp-1.4.0-4-g00165e1_GH0.tar.gz) = 84823
+SHA256 (jaagr-xpp-1.4.0-4-gbf6ff36_GH0.tar.gz) = 9d1f52ee19c925d5900dd49f135f495fbf3a573d80a93876679f08ff41ff2c71
+SIZE (jaagr-xpp-1.4.0-4-gbf6ff36_GH0.tar.gz) = 85073
Modified: head/x11/polybar/pkg-plist
==============================================================================
--- head/x11/polybar/pkg-plist Mon Dec 24 12:49:40 2018 (r488271)
+++ head/x11/polybar/pkg-plist Mon Dec 24 15:44:19 2018 (r488272)
@@ -2,6 +2,5 @@ bin/polybar
%%IPC%%bin/polybar-msg
man/man1/polybar.1.gz
share/bash-completion/completions/polybar
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/config
share/zsh/site-functions/_polybar
share/zsh/site-functions/_polybar_msg
More information about the svn-ports-all
mailing list