Index: head/x11-wm/chamfer/files/patch-src_main.cpp =================================================================== --- head/x11-wm/chamfer/files/patch-src_main.cpp (revision 523105) +++ head/x11-wm/chamfer/files/patch-src_main.cpp (nonexistent) @@ -1,18 +0,0 @@ -../src/main.cpp:162:47: error: 'RunCompositor' is an incomplete type - Compositor::CompositorInterface *pcompInt = dynamic_cast(pcomp); - ^ ~~~~~ -../src/main.cpp:109:27: note: forward declaration of 'RunCompositor' - void SetCompositor(class RunCompositor *pcomp){ - ^ - ---- src/main.cpp.orig 2020-01-11 22:22:06 UTC -+++ src/main.cpp -@@ -159,7 +159,7 @@ class RunBackend : public Config::BackendConfig{ (publ - Config::ContainerInterface &containerInt = SetupContainer(pcreateInfo); - containerInt.OnSetupContainer(); - -- Compositor::CompositorInterface *pcompInt = dynamic_cast(pcomp); -+ Compositor::CompositorInterface *pcompInt = reinterpret_cast(pcomp); - - WManager::Container::Setup setup; - if(containerInt.floatingMode == Config::ContainerInterface::FLOAT_ALWAYS || Property changes on: head/x11-wm/chamfer/files/patch-src_main.cpp ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/x11-wm/chamfer/files/patch-src_config.cpp =================================================================== --- head/x11-wm/chamfer/files/patch-src_config.cpp (revision 523105) +++ head/x11-wm/chamfer/files/patch-src_config.cpp (nonexistent) @@ -1,15 +0,0 @@ -../src/config.cpp:198:33: error: ordered comparison between pointer and zero ('const std::__1::basic_string, std::__1::allocator >::value_type *' (aka 'const char *') and 'int') - (*m)->fragmentShader.c_str() > 0?(*m)->fragmentShader.c_str():0 - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~ - ---- src/config.cpp.orig 2020-01-11 22:22:06 UTC -+++ src/config.cpp -@@ -195,7 +195,7 @@ void ContainerInterface::UpdateShaders(){ - const char *pshaderName[Compositor::Pipeline::SHADER_MODULE_COUNT] = { - (*m)->vertexShader.size() > 0?(*m)->vertexShader.c_str():0, - (*m)->geometryShader.size() > 0?(*m)->geometryShader.c_str():0, -- (*m)->fragmentShader.c_str() > 0?(*m)->fragmentShader.c_str():0 -+ (*m)->fragmentShader.size() > 0?(*m)->fragmentShader.c_str():0 - }; - pclientFrame->SetShaders(pshaderName); - Property changes on: head/x11-wm/chamfer/files/patch-src_config.cpp ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/x11-wm/chamfer/files/patch-main.cpp =================================================================== --- head/x11-wm/chamfer/files/patch-main.cpp (revision 523105) +++ head/x11-wm/chamfer/files/patch-main.cpp (nonexistent) @@ -1,13 +0,0 @@ -- Add default shader path - ---- src/main.cpp.orig 2020-01-11 22:22:06 UTC -+++ src/main.cpp -@@ -817,7 +817,7 @@ int main(sint argc, const char **pargv){ - args::Flag debugLayersOpt(group_comp,"debugLayers","Enable Vulkan debug layers.",{"debug-layers",'l'},false); - args::Flag noScissoringOpt(group_comp,"noScissoring","Disable scissoring optimization.",{"no-scissoring"},false); - args::Flag noHostMemoryImportOpt(group_comp,"noHostMemoryImport","Disable host shared memory import.",{"no-host-memory-import"},false); -- args::ValueFlagList shaderPaths(group_comp,"path","Shader lookup path. SPIR-V shader objects are identified by an '.spv' extension. Multiple paths may be specified.",{"shader-path"}); -+ args::ValueFlagList shaderPaths(group_comp,"path","Shader lookup path. SPIR-V shader objects are identified by an '.spv' extension. Multiple paths may be specified.",{"shader-path"},{"/usr/share/chamfer/shaders"}); - - try{ - parser.ParseCLI(argc,pargv); Property changes on: head/x11-wm/chamfer/files/patch-main.cpp ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/x11-wm/chamfer/files/patch-src_compositor.cpp =================================================================== --- head/x11-wm/chamfer/files/patch-src_compositor.cpp (revision 523105) +++ head/x11-wm/chamfer/files/patch-src_compositor.cpp (nonexistent) @@ -1,15 +0,0 @@ -../src/compositor.cpp:62:7: error: 'alignas' attribute cannot be applied to types - char alignas(16) pushConstantBuffer[128]; - ^ - ---- src/compositor.cpp.orig 2020-01-11 22:22:06 UTC -+++ src/compositor.cpp -@@ -59,7 +59,7 @@ bool Drawable::AssignPipeline(const Pipeline *prenderP - } - - void Drawable::BindShaderResources(const std::vector> *pVarAddrs, const VkCommandBuffer *pcommandBuffer){ -- char alignas(16) pushConstantBuffer[128]; -+ alignas(16) char pushConstantBuffer[128]; - for(uint i = 0, p = 0; i < Pipeline::SHADER_MODULE_COUNT; ++i){ - //bind descriptor sets - if(!passignedSet->p->pshaderModule[i]) Property changes on: head/x11-wm/chamfer/files/patch-src_compositor.cpp ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/x11-wm/chamfer/files/patch-src_compositor.h =================================================================== --- head/x11-wm/chamfer/files/patch-src_compositor.h (revision 523105) +++ head/x11-wm/chamfer/files/patch-src_compositor.h (nonexistent) @@ -1,19 +0,0 @@ -In file included from ../src/CompositorFont.cpp:5: -../src/compositor.h:75:14: error: implicit instantiation of undefined template 'std::__1::basic_string, std::__1::allocator >' - std::string title; - ^ -/usr/include/c++/v1/iosfwd:210:32: note: template is declared here - class _LIBCPP_TEMPLATE_VIS basic_string; - ^ - ---- src/compositor.h.orig 2020-01-11 22:22:06 UTC -+++ src/compositor.h -@@ -9,6 +9,8 @@ - #include - #include - -+#include -+ - //struct gbm_device; - - namespace Backend{ Property changes on: head/x11-wm/chamfer/files/patch-src_compositor.h ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/x11-wm/chamfer/Makefile =================================================================== --- head/x11-wm/chamfer/Makefile (revision 523105) +++ head/x11-wm/chamfer/Makefile (revision 523106) @@ -1,62 +1,61 @@ # $FreeBSD$ PORTNAME= chamfer -DISTVERSION= s20200112 +DISTVERSION= s20200115 CATEGORIES= x11-wm MAINTAINER= jbeich@FreeBSD.org COMMENT= Tiling X11 window manager with Vulkan compositor LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= spirv-opt:devel/spirv-tools \ vulkan-headers>0:devel/vulkan-headers \ glslc:graphics/shaderc \ glm>0:math/glm LIB_DEPENDS= libboost_filesystem.so:devel/boost-libs \ ${PY_BOOST} \ libvulkan.so:graphics/vulkan-loader \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libfontconfig.so:x11-fonts/fontconfig \ libxcb-cursor.so:x11/xcb-util-cursor \ libxcb-keysyms.so:x11/xcb-util-keysyms \ libxcb-icccm.so:x11/xcb-util-wm RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}psutil>0:sysutils/py-psutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}xlib>0:x11-toolkits/py-xlib@${PY_FLAVOR} USES= compiler:c++17-lang meson localbase pkgconfig python:3.3+ xorg USE_GITHUB= yes USE_XORG= xcb GH_ACCOUNT= jaelpark GH_PROJECT= ${PORTNAME}wm -GH_TAGNAME= 78168e0 -CXXFLAGS+= -Wno-narrowing +GH_TAGNAME= 99ed237 post-patch: @${REINPLACE_CMD} -e 's,/usr,${PREFIX},' \ ${WRKSRC}/src/config.cpp ${WRKSRC}/src/main.cpp # XXX import('python').find_installation().dependency() # XXX https://github.com/mesonbuild/meson/issues/4788 @${REINPLACE_CMD} -e '/boost/!s/python3/python-${PYTHON_VER}/' \ -e '/boost/s/python3/python${PYTHON_SUFFIX}/' \ `if [ ${PYTHON_REL} -lt 3800 ]; then \ printf "%s %s" -e '/python.*embed/d'; \ fi` \ ${WRKSRC}/meson.build do-install: ${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/${PORTNAME} \ ${STAGEDIR}${PREFIX}/bin ${MKDIR} ${STAGEDIR}${DATADIR}/shaders ${INSTALL_DATA} ${INSTALL_WRKSRC}/*.spv \ ${STAGEDIR}${DATADIR}/shaders ${MKDIR} ${STAGEDIR}${DATADIR}/config ${INSTALL_DATA} ${WRKSRC}/config/config.py \ ${STAGEDIR}${DATADIR}/config/config.py.sample ${MKDIR} ${STAGEDIR}${PREFIX}/share/xsessions/ ${INSTALL_DATA} ${WRKSRC}/share/${PORTNAME}.desktop \ ${STAGEDIR}${PREFIX}/share/xsessions/ .include Index: head/x11-wm/chamfer/distinfo =================================================================== --- head/x11-wm/chamfer/distinfo (revision 523105) +++ head/x11-wm/chamfer/distinfo (revision 523106) @@ -1,3 +1,3 @@ -TIMESTAMP = 1578781326 -SHA256 (jaelpark-chamferwm-s20200112-78168e0_GH0.tar.gz) = b493058ff022f3b31eaaf536c96cec5f8d5a73f5c8ed2b4097a654ee5b5bb7cc -SIZE (jaelpark-chamferwm-s20200112-78168e0_GH0.tar.gz) = 137316 +TIMESTAMP = 1579092641 +SHA256 (jaelpark-chamferwm-s20200115-99ed237_GH0.tar.gz) = 25b8995030428fcab572eeacce38899a2c06e64fb2915f6abc19626e1295eb13 +SIZE (jaelpark-chamferwm-s20200115-99ed237_GH0.tar.gz) = 137343