Index: head/x11-wm/Makefile =================================================================== --- head/x11-wm/Makefile (revision 517212) +++ head/x11-wm/Makefile (revision 517213) @@ -1,145 +1,146 @@ # $FreeBSD$ # COMMENT = X11 window managers SUBDIR += aewm SUBDIR += afterstep SUBDIR += afterstep-stable SUBDIR += amiwm SUBDIR += antiwm SUBDIR += aphelia SUBDIR += awesome SUBDIR += awesome-vicious SUBDIR += bbkeys SUBDIR += bbpager SUBDIR += blackbox SUBDIR += bspwm SUBDIR += cage SUBDIR += ccsm + SUBDIR += chamfer SUBDIR += clementine-wm SUBDIR += compiz SUBDIR += compiz-fusion SUBDIR += compiz-plugins-extra SUBDIR += compiz-plugins-main SUBDIR += compiz-plugins-unsupported SUBDIR += compizconfig-backend-gconf SUBDIR += compizconfig-python SUBDIR += compton SUBDIR += compton-yshui SUBDIR += ctwm SUBDIR += cwm SUBDIR += devilspie SUBDIR += dwm SUBDIR += e-module-alarm SUBDIR += e-module-cpu SUBDIR += e-module-deskshow SUBDIR += e-module-everything-places SUBDIR += e-module-mem SUBDIR += e-module-rmb SUBDIR += e-module-wlan SUBDIR += e-modules SUBDIR += e16 SUBDIR += e16-docs SUBDIR += echinus SUBDIR += ede SUBDIR += emerald SUBDIR += enlightenment SUBDIR += epplets SUBDIR += euclid-wm SUBDIR += evilwm SUBDIR += fbcmd SUBDIR += fluxbox SUBDIR += fluxconf SUBDIR += fluxter SUBDIR += flwm SUBDIR += fvwm-crystal SUBDIR += fvwm2 SUBDIR += gcompmgr SUBDIR += herbstluftwm SUBDIR += hikari SUBDIR += hs-xmonad SUBDIR += hs-xmonad-contrib SUBDIR += i3 SUBDIR += i3-gaps SUBDIR += icewm SUBDIR += ion SUBDIR += jewel SUBDIR += jwm SUBDIR += larswm SUBDIR += libcompizconfig SUBDIR += libdockapp SUBDIR += libwraster SUBDIR += lwm SUBDIR += lxappearance-obconf SUBDIR += lxmed SUBDIR += lxqt SUBDIR += lxqt-panel SUBDIR += lxqt-session SUBDIR += lxsession SUBDIR += marco SUBDIR += matwm2 SUBDIR += mcwm SUBDIR += metacity SUBDIR += muffin SUBDIR += mutter SUBDIR += nickleby SUBDIR += obapps SUBDIR += obconf SUBDIR += obconf-qt SUBDIR += obkey SUBDIR += obmenu SUBDIR += obpager SUBDIR += olvwm SUBDIR += openbox SUBDIR += oroborus SUBDIR += pager SUBDIR += peksystray SUBDIR += pekwm SUBDIR += phluid SUBDIR += piewm SUBDIR += plasma5-kdecoration SUBDIR += plasma5-kwin SUBDIR += plwm SUBDIR += pwm SUBDIR += qtile SUBDIR += ratmen SUBDIR += ratmenu SUBDIR += ratpoison SUBDIR += rubygem-uh-layout SUBDIR += rubygem-uh-wm SUBDIR += sawfish SUBDIR += selectwm SUBDIR += simple-ccsm SUBDIR += skippy-xd SUBDIR += spectrwm SUBDIR += stumpwm SUBDIR += subtle SUBDIR += sway SUBDIR += tinywm SUBDIR += transset SUBDIR += treewm SUBDIR += tvtwm SUBDIR += twm SUBDIR += vtwm SUBDIR += w9wm SUBDIR += wayfire SUBDIR += windowmaker SUBDIR += wm2 SUBDIR += wmakerconf SUBDIR += wmanager SUBDIR += wmanager-addons SUBDIR += wmconfig SUBDIR += wmii SUBDIR += wmii-devel SUBDIR += wmname SUBDIR += wmx SUBDIR += xcompmgr SUBDIR += xfce4 SUBDIR += xfce4-desktop SUBDIR += xfce4-panel SUBDIR += xfce4-panel-profiles SUBDIR += xfce4-session SUBDIR += xfce4-wm .include Index: head/x11-wm/chamfer/Makefile =================================================================== --- head/x11-wm/chamfer/Makefile (nonexistent) +++ head/x11-wm/chamfer/Makefile (revision 517213) @@ -0,0 +1,55 @@ +# $FreeBSD$ + +PORTNAME= chamfer +DISTVERSION= s20191106 +CATEGORIES= x11-wm + +MAINTAINER= jbeich@FreeBSD.org +COMMENT= Tiling X11 window manager with Vulkan compositor + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${LOCALBASE}/include/vulkan/vulkan.h: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 \ + 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= 176bb1d +CXXFLAGS+= -Wno-narrowing + +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}/' \ + ${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 Property changes on: head/x11-wm/chamfer/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/x11-wm/chamfer/distinfo =================================================================== --- head/x11-wm/chamfer/distinfo (nonexistent) +++ head/x11-wm/chamfer/distinfo (revision 517213) @@ -0,0 +1,3 @@ +TIMESTAMP = 1573053413 +SHA256 (jaelpark-chamferwm-s20191106-176bb1d_GH0.tar.gz) = 9821401d30cfb7c3babdd63322d37318314a430f8dfba82b067559597146102e +SIZE (jaelpark-chamferwm-s20191106-176bb1d_GH0.tar.gz) = 119191 Property changes on: head/x11-wm/chamfer/distinfo ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +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 (nonexistent) +++ head/x11-wm/chamfer/files/patch-main.cpp (revision 517213) @@ -0,0 +1,13 @@ +- Add default shader path + +--- src/main.cpp.orig 2019-08-02 19:10:02 UTC ++++ src/main.cpp +@@ -806,7 +806,7 @@ int main(sint argc, const char **pargv){ + args::ValueFlag deviceIndexOpt(group_comp,"id","GPU to use by its index. By default the first device in the list of enumerated GPUs will be used.",{"device-index"}); + 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::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 ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/x11-wm/chamfer/pkg-descr =================================================================== --- head/x11-wm/chamfer/pkg-descr (nonexistent) +++ head/x11-wm/chamfer/pkg-descr (revision 517213) @@ -0,0 +1,27 @@ +Chamferwm is a dynamic tiling window manager with a built-in Vulkan +based compositor. Besides aiming to be a fully featured and highly +configurable window manager, significant effort is put to provide a +complete control over the appearance of the desktop. With its shader +based customization system, Chamferwm enables rendering of arbitrary +window decorations, borders and effects, maximizing the potential for +visual personalization. + +Window manager: +- Dynamic horizontal and vertical tiling with gaps and stacking +- Specify container size restrictions, overlap when necessary +- Resize and translate individual containers in their place while + keeping the surrounding layout +- Floating containers and automatic dialog, dock, widget etc. handling +- Yank and paste containers to move them within the tree hierarchy + along with typical move operations +- Configuration with python, scriptable behaviour with client and + container specific callbacks +- Fully keyboard controllable + +Compositor: +- Vulkan renderer +- Arbitrary window decorations and borders with user supplied shaders +- Per-client materials +- Optional, alternatively use any other external compositor + +WWW: https://jaelpark.github.io/chamferwm-docs/ Property changes on: head/x11-wm/chamfer/pkg-descr ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/x11-wm/chamfer/pkg-plist =================================================================== --- head/x11-wm/chamfer/pkg-plist (nonexistent) +++ head/x11-wm/chamfer/pkg-plist (revision 517213) @@ -0,0 +1,10 @@ +bin/chamfer +@sample %%DATADIR%%/config/config.py.sample +%%DATADIR%%/shaders/default_fragment.spv +%%DATADIR%%/shaders/default_geometry.spv +%%DATADIR%%/shaders/default_vertex.spv +%%DATADIR%%/shaders/frame_fragment.spv +%%DATADIR%%/shaders/frame_geometry.spv +%%DATADIR%%/shaders/frame_vertex.spv +%%DATADIR%%/shaders/solid_fragment.spv +share/xsessions/chamfer.desktop Property changes on: head/x11-wm/chamfer/pkg-plist ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property