Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F111874942
D18770.id52794.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D18770.id52794.diff
View Options
Index: x11/polybar/Makefile
===================================================================
--- x11/polybar/Makefile
+++ x11/polybar/Makefile
@@ -20,7 +20,8 @@
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
Index: x11/polybar/files/patch-lib_xpp_CMakeLists.txt
===================================================================
--- /dev/null
+++ x11/polybar/files/patch-lib_xpp_CMakeLists.txt
@@ -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)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Mar 10, 4:17 PM (16 h, 49 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17086423
Default Alt Text
D18770.id52794.diff (1 KB)
Attached To
Mode
D18770: x11/polybar: fix build when defaults to python3.6.
Attached
Detach File
Event Timeline
Log In to Comment