From owner-svn-ports-all@freebsd.org Sat May 12 07:11:24 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E767EFC84EF; Sat, 12 May 2018 07:11:23 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 86E77716AE; Sat, 12 May 2018 07:11:23 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 677CD1B292; Sat, 12 May 2018 07:11:23 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w4C7BNKH073914; Sat, 12 May 2018 07:11:23 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w4C7BNNi073912; Sat, 12 May 2018 07:11:23 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <201805120711.w4C7BNNi073912@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tobik set sender to tobik@FreeBSD.org using -f From: Tobias Kortkamp Date: Sat, 12 May 2018 07:11:23 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r469708 - head/x11/polybar X-SVN-Group: ports-head X-SVN-Commit-Author: tobik X-SVN-Commit-Paths: head/x11/polybar X-SVN-Commit-Revision: 469708 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 May 2018 07:11:24 -0000 Author: tobik Date: Sat May 12 07:11:22 2018 New Revision: 469708 URL: https://svnweb.freebsd.org/changeset/ports/469708 Log: x11/polybar: Disable ALSA by default It's broken on FreeBSD. - More modules have been tested; update pkg-message accordingly - Add TESTS option to build and run the unit tests - Fix IPC_DESC. It's built-in IPC and not i3 related. - Sort LIB_DEPENDS PR: 226507 Submitted by: Alexandre C. GuimarĂ£es (based on) Approved by: capt_redbeard@protonmail.com (maintainer timeout, 2 months) Differential Revision: https://reviews.freebsd.org/D14644 Modified: head/x11/polybar/Makefile head/x11/polybar/pkg-message Modified: head/x11/polybar/Makefile ============================================================================== --- head/x11/polybar/Makefile Sat May 12 06:57:39 2018 (r469707) +++ head/x11/polybar/Makefile Sat May 12 07:11:22 2018 (r469708) @@ -2,7 +2,7 @@ PORTNAME= polybar DISTVERSION= 3.1.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= x11 MAINTAINER= capt_redbeard@protonmail.com @@ -14,13 +14,13 @@ LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= xcb-proto>=1.9:x11/xcb-proto LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ - libxcb-xrm.so:x11/xcb-util-xrm \ + 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-util.so:x11/xcb-util \ libxcb-image.so:x11/xcb-util-image \ - libinotify.so:devel/libinotify + libxcb-util.so:x11/xcb-util \ + libxcb-xrm.so:x11/xcb-util-xrm USES= cmake:outsource localbase:ldflags pkgconfig python:2.7,build USE_GITHUB= yes @@ -30,15 +30,16 @@ GH_TUPLE= jaagr:i3ipcpp:v0.7.1:i3ipcpp/lib/i3ipcpp \ USE_GNOME= cairo USE_XORG= xcb -OPTIONS_DEFINE= ALSA CURL EXAMPLES I3 IPC MPD -OPTIONS_DEFAULT= ALSA CURL I3 IPC MPD +OPTIONS_DEFINE= ALSA CURL EXAMPLES I3 IPC MPD TESTS +OPTIONS_DEFAULT= CURL I3 IPC MPD OPTIONS_SUB= yes ALSA_DESC= Volume control CURL_DESC= Github support I3_DESC= i3wm support +IPC_DESC= Built-in IPC support MPD_DESC= Support for controlling MPD -IPC_DESC= i3 IPC support +TESTS_DESC= Build testsuite ALSA_CMAKE_BOOL= ENABLE_ALSA ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib @@ -55,7 +56,13 @@ IPC_CMAKE_BOOL= BUILD_IPC_MSG MPD_CMAKE_BOOL= ENABLE_MPD MPD_LIB_DEPENDS= libmpdclient.so:audio/libmpdclient +TESTS_CMAKE_BOOL= BUILD_TESTS + post-patch: @${REINPLACE_CMD} -e 's|python2|${PYTHON_CMD}|g' ${WRKSRC_xpp}/CMakeLists.txt + +do-test-TESTS-on: + cd ${TEST_WRKSRC} && ${SETENV} BUILD_TESTS=ON \ + ${SH} ${WRKSRC}/common/travis/tests.sh .include Modified: head/x11/polybar/pkg-message ============================================================================== --- head/x11/polybar/pkg-message Sat May 12 06:57:39 2018 (r469707) +++ head/x11/polybar/pkg-message Sat May 12 07:11:22 2018 (r469708) @@ -3,27 +3,27 @@ not function in FreeBSD. Working modules: - bspwm -- cpu - date +- github - i3 -- memory +- ipc (polybar-msg method does not seem to work) +- menu +- mpd - script - text - xkeyboard - xwindow +- xworkspaces (not extensively tested) Broken modules: +- cpu - filesystem +- memory - network (requires wireless_tools) - temperature (requires /sys/class/thermal/* in sysfs) - volume (requires full alsa, not a wrapper) -- menu (does not show up) -- xbacklight -- xworkspaces -Not tested: +Unknown: - backlight - battery -- github -- ipc -- mpd +- xbacklight