From owner-svn-ports-head@freebsd.org Sun Jan 13 22:00:12 2019 Return-Path: Delivered-To: svn-ports-head@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 B1C1B148A26B; Sun, 13 Jan 2019 22:00:12 +0000 (UTC) (envelope-from rigoletto@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 559F393841; Sun, 13 Jan 2019 22:00:12 +0000 (UTC) (envelope-from rigoletto@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 48AE321707; Sun, 13 Jan 2019 22:00:12 +0000 (UTC) (envelope-from rigoletto@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x0DM0C3u065072; Sun, 13 Jan 2019 22:00:12 GMT (envelope-from rigoletto@FreeBSD.org) Received: (from rigoletto@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x0DM0B8d065070; Sun, 13 Jan 2019 22:00:11 GMT (envelope-from rigoletto@FreeBSD.org) Message-Id: <201901132200.x0DM0B8d065070@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: rigoletto set sender to rigoletto@FreeBSD.org using -f From: =?UTF-8?Q?Alexandre_C=2e_Guimar=c3=a3es?= Date: Sun, 13 Jan 2019 22:00:11 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r490217 - in head/x11/polybar: . files X-SVN-Group: ports-head X-SVN-Commit-Author: rigoletto X-SVN-Commit-Paths: in head/x11/polybar: . files X-SVN-Commit-Revision: 490217 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 559F393841 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.97)[-0.966,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-0.999,0] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Jan 2019 22:00:13 -0000 Author: rigoletto Date: Sun Jan 13 22:00:11 2019 New Revision: 490217 URL: https://svnweb.freebsd.org/changeset/ports/490217 Log: x11/polybar: fix build with DEFAULT_VERSIONS=python=3.x PR: 234682 Reported by: antoine Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D18770 Added: head/x11/polybar/files/patch-lib_xpp_CMakeLists.txt (contents, props changed) Modified: head/x11/polybar/Makefile Modified: head/x11/polybar/Makefile ============================================================================== --- head/x11/polybar/Makefile Sun Jan 13 21:45:03 2019 (r490216) +++ head/x11/polybar/Makefile Sun Jan 13 22:00:11 2019 (r490217) @@ -20,7 +20,8 @@ LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libxcb-util.so:x11/xcb-util \ libxcb-xrm.so:x11/xcb-util-xrm -USES= cmake compiler:c++11-lang localbase:ldflags \ +# compiler:c++11-lang is needed for powerpc64 +USES= cmake compiler:c++11-lang gnome localbase:ldflags \ pkgconfig python:2.7,build USE_GITHUB= yes GH_ACCOUNT= jaagr Added: head/x11/polybar/files/patch-lib_xpp_CMakeLists.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11/polybar/files/patch-lib_xpp_CMakeLists.txt Sun Jan 13 22:00:11 2019 (r490217) @@ -0,0 +1,20 @@ +--- lib/xpp/CMakeLists.txt.orig 2019-01-12 15:06:55 UTC ++++ lib/xpp/CMakeLists.txt +@@ -48,7 +48,7 @@ set(XPP_LIBRARIES + # + # Loop through a hardcoded list of python executables to locate the python module "xcbgen" + # +-foreach(CURRENT_EXECUTABLE python2 python2.7 python3 python) ++foreach(CURRENT_EXECUTABLE python2 python2.7 python3 python3.5 python3.6 python3.7 python) + message(STATUS "Searching for xcbgen with " ${CURRENT_EXECUTABLE}) + + execute_process(COMMAND "${CURRENT_EXECUTABLE}" "-c" +@@ -161,7 +161,7 @@ foreach(PROTO ${PROTO_LIST}) + set(OUTPUT_FILE ${PROJECT_SOURCE_DIR}/include/xpp/proto/${PROTO_OUTPUT}.hpp) + add_custom_command( + OUTPUT ${OUTPUT_FILE} +- COMMAND ${PYTHON_EXECUTABLE} ${PROJECT_SOURCE_DIR}/generators/cpp_client.py -p "${PYTHON_XCBGEN}" ++ COMMAND ${PYTHON_EXECUTABLE} -B ${PROJECT_SOURCE_DIR}/generators/cpp_client.py -p "${PYTHON_XCBGEN}" + ${XCBPROTO_XCBINCLUDEDIR}/${PROTO}.xml > ${OUTPUT_FILE}) + list(APPEND PROTO_HEADER_FILES ${OUTPUT_FILE}) + endforeach(PROTO)